/* ===== VARÐA - SHARED STYLESHEET ===== */
/* vardaoryggi.is | Brand: Navy, Amber, Glacier */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --navy: #0B1A2E;
    --navy-mid: #132B4A;
    --navy-light: #1A3A5C;
    --amber: #D4953A;
    --amber-light: #E8B56A;
    --amber-glow: rgba(212, 149, 58, 0.15);
    --glacier: #7EB8D4;
    --glacier-light: #A8D4E8;
    --ice: #E8F0F5;
    --white: #FAFBFC;
    --stone: #8A9BAD;
    --text: #C8D6E0;
    --text-dim: #6B7F92;

    --font-heading: 'DM Serif Display', serif;
    --font-body: 'Outfit', sans-serif;

    --max-width: 1280px;
    --nav-height: 72px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--white);
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

/* ===== UTILITIES ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--stone);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(11, 26, 46, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(126, 184, 212, 0.08);
    transition: background 0.3s;
}

nav.scrolled {
    background: rgba(11, 26, 46, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.logo span { color: var(--amber); }

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--stone);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--amber-light); }

.nav-cta {
    background: var(--amber);
    color: var(--navy) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--amber-light) !important;
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--amber);
    color: var(--navy);
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--amber-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 149, 58, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--glacier);
    padding: 0.9rem 2rem;
    border: 1px solid rgba(126, 184, 212, 0.3);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--glacier);
    background: rgba(126, 184, 212, 0.08);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--glacier);
    padding: 0.9rem 2rem;
    border: 1px solid rgba(126, 184, 212, 0.3);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    width: 100%;
    text-align: center;
}

.btn-outline:hover {
    border-color: var(--glacier);
    background: rgba(126, 184, 212, 0.06);
}

.btn-full {
    width: 100%;
    text-align: center;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%; right: -20%;
    width: 80vw; height: 80vw;
    background: radial-gradient(circle, rgba(212, 149, 58, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%; left: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(126, 184, 212, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
}

.hero-content {
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(212, 149, 58, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--amber);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--amber);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--amber);
}

.hero-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--stone);
    max-width: 540px;
    margin-bottom: 2.5rem;
}

/* Page hero (for interior pages) */
.page-hero {
    padding: calc(var(--nav-height) + 4rem) 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -20%; right: -15%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(212, 149, 58, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero .section-subtitle { margin-bottom: 0; }

/* Cairn illustration */
.hero-visual {
    flex-shrink: 0;
}

.cairn {
    width: 300px;
    height: 400px;
    position: relative;
}

.cairn-stone {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
    border: 1px solid rgba(126, 184, 212, 0.12);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
}

.cairn-stone:nth-child(2) { width: 180px; height: 80px; bottom: 0; left: 50%; transform: translateX(-50%); }
.cairn-stone:nth-child(3) { width: 150px; height: 70px; bottom: 70px; left: 50%; transform: translateX(-50%); }
.cairn-stone:nth-child(4) { width: 120px; height: 65px; bottom: 130px; left: 50%; transform: translateX(-50%); }
.cairn-stone:nth-child(5) { width: 90px; height: 55px; bottom: 185px; left: 50%; transform: translateX(-50%); }
.cairn-stone:nth-child(6) { width: 60px; height: 45px; bottom: 232px; left: 50%; transform: translateX(-50%); }

.cairn-glow {
    position: absolute;
    top: 20%; left: 50%; transform: translateX(-50%);
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(212, 149, 58, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: breathe 4s ease-in-out infinite;
}

/* ===== SECTIONS ===== */
section {
    padding: 6rem 0;
}

.section-alt {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
    border-top: 1px solid rgba(126, 184, 212, 0.06);
}

.section-mid {
    background: var(--navy-mid);
}

.section-dark {
    background: var(--navy);
    border-top: 1px solid rgba(126, 184, 212, 0.06);
}

/* ===== CARDS ===== */
.card {
    padding: 2.5rem;
    background: rgba(19, 43, 74, 0.5);
    border: 1px solid rgba(126, 184, 212, 0.08);
    border-radius: 16px;
    transition: all 0.4s;
}

.card:hover {
    border-color: rgba(212, 149, 58, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.card-icon {
    width: 48px; height: 48px;
    background: var(--amber-glow);
    border: 1px solid rgba(212, 149, 58, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.card h3 { margin-bottom: 0.8rem; }

.card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--stone);
}

/* ===== GRID LAYOUTS ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    background: rgba(11, 26, 46, 0.6);
    border: 1px solid rgba(126, 184, 212, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--amber), var(--glacier));
    opacity: 0;
    transition: opacity 0.4s;
}

.product-card:hover::before { opacity: 1; }

.product-card:hover {
    border-color: rgba(126, 184, 212, 0.15);
    transform: translateY(-4px);
}

.product-card.featured {
    border-color: rgba(212, 149, 58, 0.3);
    background: rgba(212, 149, 58, 0.04);
}

.product-card.featured::before { opacity: 1; }

.product-tier {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 0.5rem;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--stone);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.product-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--stone);
}

.product-features {
    margin: 1.5rem 0;
    flex-grow: 1;
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text);
    border-bottom: 1px solid rgba(126, 184, 212, 0.05);
}

.product-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--amber);
    font-weight: 600;
}

.product-features li.not-included {
    color: var(--text-dim);
    opacity: 0.5;
}

.product-features li.not-included::before {
    content: '\2014';
    color: var(--text-dim);
}

/* ===== CONSULTING CARDS ===== */
.consult-card {
    padding: 2.5rem;
    background: rgba(19, 43, 74, 0.4);
    border: 1px solid rgba(126, 184, 212, 0.08);
    border-radius: 16px;
    transition: all 0.4s;
}

.consult-card:hover {
    border-color: rgba(212, 149, 58, 0.2);
    transform: translateY(-4px);
}

.consult-duration {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    background: rgba(126, 184, 212, 0.1);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--glacier);
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.consult-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.consult-card > p {
    font-size: 0.9rem;
    color: var(--stone);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.consult-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--amber);
    margin-bottom: 1.5rem;
}

.consult-price span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--stone);
}

/* ===== TRUST / STATS ===== */
.trust-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
}

.stat { text-align: center; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--amber);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--stone);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===== TESTIMONIALS ===== */
.testimonial {
    padding: 2rem;
    background: rgba(19, 43, 74, 0.5);
    border: 1px solid rgba(126, 184, 212, 0.08);
    border-radius: 16px;
}

.testimonial p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1.2rem;
}

.testimonial-author {
    font-size: 0.85rem;
    color: var(--amber);
    font-weight: 600;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ===== BLOG CARDS ===== */
.blog-card {
    background: rgba(19, 43, 74, 0.4);
    border: 1px solid rgba(126, 184, 212, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s;
    cursor: pointer;
}

.blog-card:hover {
    border-color: rgba(212, 149, 58, 0.2);
    transform: translateY(-4px);
}

.blog-img {
    height: 180px;
    background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-body { padding: 1.5rem; }

.blog-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--glacier);
    background: rgba(126, 184, 212, 0.1);
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    margin-bottom: 0.8rem;
}

.blog-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.blog-card p {
    font-size: 0.85rem;
    color: var(--stone);
    line-height: 1.6;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.8rem;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--stone);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(11, 26, 46, 0.6);
    border: 1px solid rgba(126, 184, 212, 0.12);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(212, 149, 58, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select option {
    background: var(--navy);
}

.form-error {
    font-size: 0.8rem;
    color: #E85D5D;
    margin-top: 0.3rem;
    display: none;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #E85D5D;
}

.form-group.error .form-error {
    display: block;
}

.form-success {
    padding: 1.5rem;
    background: rgba(212, 149, 58, 0.1);
    border: 1px solid rgba(212, 149, 58, 0.3);
    border-radius: 12px;
    color: var(--amber-light);
    text-align: center;
    display: none;
}

.form-success.visible {
    display: block;
}

/* ===== FAQ ACCORDION ===== */
.faq-section-group {
    margin-bottom: 3rem;
}

.faq-section-group h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(126, 184, 212, 0.1);
}

.faq-item {
    border-bottom: 1px solid rgba(126, 184, 212, 0.06);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    cursor: pointer;
    gap: 1rem;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.faq-question:hover { color: var(--amber-light); }

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--amber);
    flex-shrink: 0;
    transition: transform 0.3s;
    line-height: 1;
}

.faq-item.active .faq-question::after {
    content: '\2212';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding-bottom: 1.2rem;
    font-size: 0.95rem;
    color: var(--stone);
    line-height: 1.7;
}

/* ===== PROCESS / STEPS ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 56px; height: 56px;
    background: var(--amber-glow);
    border: 1px solid rgba(212, 149, 58, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--amber);
    margin: 0 auto 1.2rem;
}

.step h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--stone);
    line-height: 1.6;
}

/* ===== PROCESS VERTICAL (for consulting) ===== */
.process-steps {
    max-width: 700px;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 56px;
    bottom: 0;
    width: 2px;
    background: rgba(212, 149, 58, 0.15);
}

.process-step-num {
    width: 48px; height: 48px;
    background: var(--amber-glow);
    border: 1px solid rgba(212, 149, 58, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--amber);
    flex-shrink: 0;
}

.process-step h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--stone);
    line-height: 1.6;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(126, 184, 212, 0.06);
}

.comparison-table thead th {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(126, 184, 212, 0.1);
}

.comparison-table thead th:first-child { color: var(--stone); font-family: var(--font-body); font-weight: 500; font-size: 0.9rem; }
.comparison-table thead th.featured { color: var(--amber); }

.comparison-table tbody td:first-child {
    font-weight: 500;
    color: var(--text);
}

.comparison-table tbody td {
    color: var(--stone);
    font-size: 0.9rem;
}

.comparison-table .check { color: var(--amber); font-weight: 600; }
.comparison-table .dash { color: var(--text-dim); opacity: 0.4; }

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy) 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212, 149, 58, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section .container { position: relative; z-index: 2; }

/* ===== CONTACT INFO ===== */
.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 0.95rem;
    color: var(--stone);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(126, 184, 212, 0.06);
}

.contact-detail-icon {
    width: 40px; height: 40px;
    background: var(--amber-glow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-detail span {
    color: var(--text);
    font-size: 0.95rem;
}

/* ===== VALUES GRID ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.value-card {
    padding: 2rem;
    background: rgba(19, 43, 74, 0.4);
    border: 1px solid rgba(126, 184, 212, 0.08);
    border-radius: 16px;
    transition: all 0.4s;
}

.value-card:hover {
    border-color: rgba(212, 149, 58, 0.2);
    transform: translateY(-2px);
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--amber);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--stone);
    line-height: 1.6;
}

/* ===== NEWSLETTER ===== */
.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.85rem 1rem;
    background: rgba(11, 26, 46, 0.6);
    border: 1px solid rgba(126, 184, 212, 0.12);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--amber);
}

.newsletter-form input::placeholder { color: var(--text-dim); }

/* ===== FOOTER ===== */
footer {
    padding: 3rem 0;
    background: var(--navy);
    border-top: 1px solid rgba(126, 184, 212, 0.06);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--white);
}

.footer-logo span { color: var(--amber); }

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--stone);
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--amber); }

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ===== PRIVACY / LEGAL TEXT ===== */
.legal-text h2 {
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-text h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.legal-text p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.8;
}

.legal-text ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.legal-text ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
}

.legal-text a {
    color: var(--glacier);
    text-decoration: underline;
    transition: color 0.3s;
}

.legal-text a:hover { color: var(--amber); }

/* ===== ARTICLE PAGE ===== */
.article-header {
    padding: calc(var(--nav-height) + 4rem) 0 3rem;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: -20%; right: -15%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(212, 149, 58, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--glacier);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
    margin-bottom: 1.5rem;
}

.article-back:hover { color: var(--amber); }

.article-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 800px;
}

.article-header .section-subtitle {
    max-width: 700px;
    margin-bottom: 0;
}

.article-content {
    max-width: 760px;
    padding: 0 0 4rem;
}

.article-content h2 {
    font-size: 1.6rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.article-content h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.article-content p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.85;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li {
    margin-bottom: 0.6rem;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
}

.article-content a {
    color: var(--glacier);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s;
}

.article-content a:hover { color: var(--amber); }

.article-content strong {
    color: var(--white);
    font-weight: 600;
}

.article-content em {
    color: var(--amber-light);
    font-style: italic;
}

/* Tip / info boxes in articles */
.article-tip {
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    background: rgba(212, 149, 58, 0.06);
    border-left: 3px solid var(--amber);
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

.article-tip p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text);
}

.article-tip strong {
    color: var(--amber);
}

.article-warning {
    padding: 1.5rem;
    background: rgba(232, 93, 93, 0.06);
    border-left: 3px solid #E85D5D;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

.article-warning p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text);
}

.article-warning strong {
    color: #E85D5D;
}

/* Step boxes in articles */
.article-step {
    display: flex;
    gap: 1.2rem;
    padding: 1.5rem;
    background: rgba(19, 43, 74, 0.4);
    border: 1px solid rgba(126, 184, 212, 0.08);
    border-radius: 12px;
    margin: 1rem 0;
}

.article-step-num {
    width: 40px; height: 40px;
    background: var(--amber-glow);
    border: 1px solid rgba(212, 149, 58, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--amber);
    flex-shrink: 0;
}

.article-step div p { margin-bottom: 0; }

.article-step h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 0.3rem;
}

/* Checklist in articles */
.article-checklist {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.article-checklist li {
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    border-bottom: 1px solid rgba(126, 184, 212, 0.05);
}

.article-checklist li::before {
    content: '\2610';
    position: absolute;
    left: 0;
    color: var(--amber);
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Related articles at bottom */
.related-articles {
    margin-top: 2rem;
}

.related-articles h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

/* Blog card as link */
a.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes breathe {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    50% { transform: translateX(-50%) scale(1.15); opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }

    .hero .container { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-text { margin-left: auto; margin-right: auto; }
    .hero-visual { display: none; }
    .button-group { justify-content: center; }

    .trust-stats { flex-direction: column; gap: 2rem; }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links { justify-content: center; }

    .nav-links {
        position: fixed;
        top: 0; right: 0;
        width: 300px;
        height: 100vh;
        background: var(--navy-mid);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        border-left: 1px solid rgba(126, 184, 212, 0.08);
        z-index: 999;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-toggle { display: flex; }

    .comparison-table { font-size: 0.85rem; }
    .comparison-table th,
    .comparison-table td { padding: 0.75rem 0.5rem; }
}

@media (max-width: 768px) {
    section { padding: 4rem 0; }
    .page-hero { padding: calc(var(--nav-height) + 2rem) 0 2rem; }
    .container { padding: 0 1.25rem; }

    .product-card { padding: 1.5rem; }
    .consult-card { padding: 1.5rem; }

    .newsletter-form { flex-direction: column; }

    .process-step:not(:last-child)::after { left: 23px; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .hero-badge { font-size: 0.7rem; }
    .button-group { flex-direction: column; }
    .button-group .btn-primary,
    .button-group .btn-secondary { width: 100%; }
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .fade-in { opacity: 1; transform: none; }
}
