/* ============================================
   PARAGUAY ROAD MAP — STYLES v3
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #09090b;
    --bg-elevated: #111113;
    --bg-card: #16161a;
    --bg-card-hover: #1c1c21;
    --gold: #E5C483;
    --gold-light: #f0d9a8;
    --gold-dark: #c4a060;
    --gold-soft: rgba(229, 196, 131, 0.08);
    --gold-border: rgba(229, 196, 131, 0.18);
    --gold-glow: rgba(229, 196, 131, 0.25);
    --red: #dc2626;
    --red-soft: rgba(220, 38, 38, 0.08);
    --red-border: rgba(220, 38, 38, 0.2);
    --py-red: #d52b1e;
    --py-white: #ffffff;
    --py-blue: #0038a8;
    --text: #f4f4f5;
    --text-secondary: rgba(244, 244, 245, 0.6);
    --text-muted: rgba(244, 244, 245, 0.32);
    --border: rgba(244, 244, 245, 0.06);
    --radius: 20px;
    --radius-sm: 14px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============================================
   GLOBAL GRAIN TEXTURE OVERLAY
   ============================================ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='5' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    mix-blend-mode: overlay;
}

/* ============================================
   AMBIENT
   ============================================ */
.ambient {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 50% -5%, rgba(229, 196, 131, 0.07), transparent 70%),
        radial-gradient(ellipse 50% 40% at 85% 100%, rgba(229, 196, 131, 0.04), transparent 60%),
        radial-gradient(ellipse 40% 30% at 10% 60%, rgba(229, 196, 131, 0.03), transparent 50%);
}

/* ============================================
   FLAG STRIPE — Paraguay colors
   ============================================ */
.flag-stripe {
    position: fixed; top: 0; left: 0; right: 0; z-index: 120;
    height: 1px; display: flex;
    opacity: 0.6;
}
.flag-red { flex: 1; background: var(--py-red); }
.flag-white { flex: 1; background: var(--py-white); }
.flag-blue { flex: 1; background: var(--py-blue); }

/* ============================================
   HEADER (single bar with lang switcher)
   ============================================ */
header {
    position: fixed; top: 1px; left: 0; right: 0; z-index: 100;
    padding: 0 40px; height: 64px;
    display: flex; align-items: center;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
header.scrolled { background: rgba(9, 9, 11, 0.95); }

nav {
    max-width: 1200px; width: 100%; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}

.logo {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none;
    transition: opacity var(--transition);
}
.logo:hover { opacity: 0.8; }
.logo-mark { flex-shrink: 0; }
.logo-text {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.85rem; font-weight: 500;
    color: var(--text);
    letter-spacing: 0.02em;
}

.nav-links { display: flex; gap: 28px; align-items: center; }

.nav-link {
    color: var(--text-secondary); text-decoration: none;
    font-size: 0.82rem; font-weight: 500;
    transition: color var(--transition); position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--gold);
    transition: width var(--transition);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.nav-divider {
    width: 1px; height: 16px;
    background: var(--border);
    margin-left: -14px; margin-right: -14px;
    opacity: 0.5;
}

/* Language dropdown */
.lang-dropdown { position: relative; opacity: 0.45; transition: opacity var(--transition); }
.lang-dropdown:hover, .lang-dropdown.open { opacity: 0.85; }

.lang-toggle {
    background: none; border: 1px solid transparent;
    color: var(--text-muted);
    padding: 3px 5px; border-radius: 6px;
    cursor: pointer; transition: all var(--transition);
    display: inline-flex; align-items: center; gap: 4px;
    line-height: 1;
}
.lang-toggle:hover { border-color: transparent; }
.lang-current-flag {
    width: 16px; height: 16px;
    display: flex; align-items: center; justify-content: center;
}
.lang-current-flag svg { width: 16px; height: 16px; display: block; }
.lang-chevron {
    transition: transform var(--transition);
    opacity: 0.4; width: 8px; height: 8px;
}
.lang-dropdown.open .lang-chevron { transform: rotate(180deg); }

.lang-menu {
    position: absolute; top: calc(100% + 8px); right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 6px;
    min-width: 140px;
    opacity: 0; visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    z-index: 200;
}
.lang-dropdown.open .lang-menu {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex; align-items: center; gap: 10px;
    width: 100%; padding: 8px 12px;
    background: none; border: none;
    color: var(--text-secondary);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.78rem; font-weight: 500;
    border-radius: 8px; cursor: pointer;
    transition: all var(--transition);
}
.lang-option:hover {
    background: var(--gold-soft); color: var(--text);
}
.lang-option.active {
    color: var(--gold);
}
.lang-flag-wrap {
    width: 20px; height: 20px;
    flex-shrink: 0; display: block;
}
.lang-flag-wrap svg {
    width: 20px; height: 20px; display: block;
}

/* Mobile lang */
.mobile-lang {
    display: flex; gap: 8px;
}
.mobile-lang .lang-option {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 10px; font-size: 0.85rem;
}
.mobile-lang .lang-option.active {
    border-color: var(--gold-border);
    background: var(--gold-soft);
}

.nav-cta {
    padding: 9px 22px; background: transparent;
    border: 1px solid var(--gold-border);
    color: var(--gold); font-size: 0.75rem;
    font-weight: 600; border-radius: 100px;
    text-decoration: none; transition: all var(--transition);
}
.nav-cta:hover {
    background: linear-gradient(180deg, var(--gold-light), var(--gold) 50%, var(--gold-dark));
    color: var(--bg);
    border-color: rgba(180, 150, 80, 0.5);
    border-top-color: rgba(255, 240, 200, 0.3);
    box-shadow:
        0 1px 0 0 rgba(255, 255, 240, 0.2) inset,
        0 -1px 0 0 rgba(120, 80, 20, 0.2) inset,
        0 2px 12px rgba(229, 196, 131, 0.12);
    text-shadow: 0 1px 0 rgba(255, 255, 240, 0.15);
}

/* Mobile */
.menu-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 32px; height: 24px; position: relative; z-index: 101;
}
.menu-toggle span {
    display: block; width: 100%; height: 1.5px; background: var(--text);
    position: absolute; left: 0; transition: all 0.3s ease;
}
.menu-toggle span:nth-child(1) { top: 4px; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 18px; }
.menu-toggle.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

.mobile-menu {
    display: none; position: fixed; inset: 0; z-index: 99;
    background: rgba(9, 9, 11, 0.97); backdrop-filter: blur(24px);
    flex-direction: column; justify-content: center; align-items: center; gap: 28px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { color: var(--text); text-decoration: none; font-size: 1.1rem; font-weight: 500; }
.mobile-lang { display: flex; gap: 8px; }

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    padding: 140px 40px 80px; position: relative; overflow: hidden;
}

/* Hero background image — rooftop pool Asunción */
.hero::before {
    content: '';
    position: absolute; inset: 0; z-index: -2;
    background:
        /* Grain noise overlay */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.12'/%3E%3C/svg%3E"),
        /* Bottom fade — smooth dissolve into bg */
        linear-gradient(to bottom,
            transparent 0%,
            transparent 50%,
            rgba(9, 9, 11, 0.5) 65%,
            rgba(9, 9, 11, 0.85) 80%,
            var(--bg) 92%
        ),
        /* Top fade — subtle header blend */
        linear-gradient(to bottom, rgba(9, 9, 11, 0.35) 0%, transparent 15%),
        /* The actual image — full width, natural color */
        url('img/hero-bg.jpg');
    background-size: 256px 256px, 100% 100%, 100% 100%, cover;
    background-position: center, center, center, center 40%;
    background-repeat: repeat, no-repeat, no-repeat, no-repeat;
    opacity: 0.25;
    filter: saturate(0.8) contrast(1.05) blur(2px);
    pointer-events: none;
}

/* Soft watercolor edge mask */
.hero::after {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background:
        /* Side fades — watercolor feel */
        linear-gradient(to right, var(--bg) 0%, transparent 15%, transparent 85%, var(--bg) 100%),
        /* Strong bottom dissolve */
        linear-gradient(to bottom, transparent 50%, var(--bg) 95%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px;
    background: var(--gold-soft); border: 1px solid var(--gold-border);
    border-radius: 100px; font-size: 0.72rem; font-weight: 500;
    color: var(--gold); margin-bottom: 40px;
    animation: fadeIn 0.8s ease-out;
}
.hero-badge svg { width: 14px; height: 14px; fill: var(--gold); }

.hero h1 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    font-weight: 400; line-height: 1.12;
    margin-bottom: 24px; max-width: 960px;
    animation: fadeIn 0.8s ease-out 0.15s both;
}
.hero h1 em {
    font-style: italic;
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='em'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23em)' opacity='0.08'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #b08940, var(--gold-dark) 20%, var(--gold) 40%, var(--gold-light) 55%, var(--gold) 70%, var(--gold-dark));
    background-size: 160px 160px, 100% 100%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 16px rgba(229, 196, 131, 0.15));
    display: inline-block;
}

.hero-sub {
    font-size: 1.05rem; color: var(--text-secondary);
    max-width: 540px; margin-bottom: 48px; line-height: 1.75;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.hero-actions {
    display: flex; gap: 14px; align-items: center;
    flex-wrap: wrap; justify-content: center;
    animation: fadeIn 0.8s ease-out 0.45s both;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    background: var(--gold);
    color: var(--bg); text-decoration: none;
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 100px; transition: all var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(229, 196, 131, 0.08);
    border: 1px solid rgba(229, 196, 131, 0.4);
    cursor: pointer; font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
/* Subtle top highlight */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35) 50%, transparent);
    pointer-events: none;
}
.btn-primary:hover {
    transform: translateY(-1px);
    background: var(--gold-light);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(229, 196, 131, 0.15);
}
.btn-primary svg {
    width: 14px; height: 14px;
    stroke-width: 2;
    transition: transform var(--transition);
}
.btn-primary:hover svg {
    transform: translateX(2px);
}

.btn-secondary {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 14px 28px; background: transparent;
    border: 1px solid var(--border); color: var(--text-secondary);
    text-decoration: none; font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 100px; transition: all var(--transition);
    font-family: 'Inter', sans-serif;
}
.btn-secondary svg {
    width: 12px; height: 12px;
    opacity: 0.5;
    transition: all var(--transition);
}
.btn-secondary:hover {
    border-color: var(--gold-border); color: var(--text);
    transform: translateY(-1px);
}
.btn-secondary:hover svg {
    opacity: 0.8;
    transform: translateY(2px);
}

/* Video — scroll-linked zoom */
.video-container {
    margin-top: 72px; width: 100%; max-width: 920px;
    animation: fadeIn 0.8s ease-out 0.6s both;
    position: relative;
    transform: scale(0.92);
    transition: transform 0.1s linear;
    will-change: transform;
}

/* Tooltip — handwritten style */
.video-tooltip {
    position: absolute; top: -56px; right: -20px; z-index: 10;
    display: flex; flex-direction: column; align-items: flex-end;
    pointer-events: none;
    transform: rotate(-3deg);
}
.tooltip-text {
    font-family: 'Caveat', cursive;
    font-size: 1.15rem; font-weight: 500;
    color: var(--gold-light);
    white-space: nowrap;
    opacity: 0.85;
    text-shadow: 0 0 20px rgba(229, 196, 131, 0.15);
}
.tooltip-arrow-hand {
    color: var(--gold-light);
    opacity: 0.7;
    margin-top: -2px;
    margin-right: 10px;
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    animation: drawArrow 1.2s ease-out 1.5s forwards;
}

@keyframes drawArrow {
    to { stroke-dashoffset: 0; }
}

.video-wrapper {
    position: relative; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--gold-border);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(229, 196, 131, 0.08);
    padding-bottom: 56.25%; height: 0;
}
.video-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}

/* ============================================
   TRUST ROW — Apple-style minimal, under video
   ============================================ */
.trust-row {
    display: flex; align-items: center; justify-content: center;
    gap: 0; flex-wrap: wrap;
    margin-top: 48px;
    animation: fadeIn 0.8s ease-out 0.8s both;
}

.trust-item {
    display: flex; align-items: baseline; gap: 6px;
    padding: 0 28px;
}

.trust-sep {
    width: 1px; height: 14px;
    background: var(--text-muted);
    opacity: 0.3;
    flex-shrink: 0;
}

.trust-value {
    font-size: 0.85rem; font-weight: 600;
    color: var(--text);
    line-height: 1;
}

.trust-label {
    font-size: 0.75rem; color: var(--text-muted); font-weight: 400;
    line-height: 1;
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 120px 40px; }

.section-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--gold); font-weight: 600; margin-bottom: 16px;
}
.section-label-icon {
    opacity: 0.6; flex-shrink: 0;
}

.section-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400; margin-bottom: 16px; line-height: 1.2;
}

.section-desc {
    color: var(--text-secondary); font-size: 1rem;
    max-width: 520px; line-height: 1.7;
}

.section-header {
    text-align: center; margin-bottom: 72px;
    display: flex; flex-direction: column; align-items: center;
}

/* ============================================
   BENEFITS — EDITORIAL LAYOUT
   ============================================ */
.benefits-editorial {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.benefit-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    min-height: 400px;
}

.benefit-row-reverse {
    direction: rtl;
}
.benefit-row-reverse > * {
    direction: ltr;
}

/* — Content side — */
.benefit-content {
    padding: 64px 56px;
    position: relative;
}

.benefit-number {
    font-family: 'Instrument Serif', serif;
    font-size: 0.72rem;
    color: var(--gold);
    opacity: 0.4;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 6px;
    transition: opacity 0.5s ease;
}

.benefit-line {
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0.25;
    margin-bottom: 20px;
    transition: width 0.5s ease, opacity 0.5s ease;
}

.benefit-content h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.benefit-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 380px;
}

.highlight {
    font-weight: 600;
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 128 128' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='h'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23h)' opacity='0.15'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #b08940, #c4a060 20%, #E5C483 40%, #f5e6c8 52%, #E5C483 65%, #c4a060 80%, #b08940);
    background-size: 100px 100px, 100% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(229, 196, 131, 0.2));
}

/* — Illustration side — */
.benefit-visual {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.benefit-illu {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.benefit-illu svg {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0, 0.25, 1), opacity 0.6s ease;
    opacity: 0.85;
}

.benefit-row:hover .benefit-illu svg {
    transform: scale(1.03);
    opacity: 1;
}

/* Subtle separator between rows — fine dotted line */
.benefit-row + .benefit-row {
    border-top: 1px solid rgba(244, 244, 245, 0.04);
}

/* Reveal animation — subtle upward drift */
.benefits-editorial .benefit-row.reveal {
    transform: translateY(20px);
}
.benefits-editorial .benefit-row.reveal.visible {
    transform: translateY(0);
}

/* ============================================
   COMPARISON + TAX CALCULATOR
   ============================================ */
.comparison { background: var(--bg-elevated); }

/* Static comparison */
.comp-static {
    max-width: 720px; margin: 0 auto 36px;
    display: flex; align-items: center; gap: 0;
}
.comp-side {
    flex: 1; text-align: center; padding: 36px 24px;
}
.comp-side-label {
    display: block; font-size: 0.7rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500;
    margin-bottom: 12px;
}
.comp-side-rate {
    display: block;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.8rem, 5vw, 3.8rem); font-weight: 400;
    line-height: 1; margin-bottom: 10px;
}
.comp-side-rate-old { color: var(--red); }
.comp-side-rate-py {
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 128 128' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23r)' opacity='0.1'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #b08940, var(--gold-dark) 20%, var(--gold) 40%, var(--gold-light) 55%, var(--gold) 70%, var(--gold-dark));
    background-size: 120px 120px, 100% 100%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(229, 196, 131, 0.18));
}
.comp-side-sub {
    display: block; font-size: 0.75rem; color: var(--text-muted);
    line-height: 1.5; max-width: 220px; margin: 0 auto;
}
.comp-vs {
    font-size: 0.7rem; color: var(--text-muted); font-weight: 400;
    flex-shrink: 0; padding: 0 8px;
    opacity: 0.4;
}

/* Calculator trigger */
.calc-trigger {
    display: flex; align-items: center; gap: 8px;
    margin: 0 auto 0;
    background: none; border: 1px solid var(--border);
    color: var(--text-secondary); padding: 10px 24px;
    border-radius: 100px; cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem; font-weight: 500;
    transition: all var(--transition);
}
.calc-trigger:hover {
    border-color: var(--gold-border); color: var(--gold);
}
.calc-trigger-chevron {
    transition: transform 0.3s ease;
}
.calc-trigger.open .calc-trigger-chevron {
    transform: rotate(180deg);
}

/* Expandable calculator */
.calc-wrap {
    max-width: 600px; margin: 0 auto;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                margin-top 0.5s ease, opacity 0.4s ease;
    margin-top: 0;
    opacity: 0;
}
.calc-wrap.open {
    grid-template-rows: 1fr;
    margin-top: 32px;
    opacity: 1;
}
.calc-wrap > .calc-inner { overflow: hidden; }
.calc-inner {
    padding: 36px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

/* Geometric grid background */
.calc-grid-bg {
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none; opacity: 1;
}
.calc-grid-svg { position: absolute; inset: 0; }
.calc-inner > *:not(.calc-grid-bg) { position: relative; z-index: 1; }

.calc-header {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 16px;
}
.calc-label {
    font-size: 0.68rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500;
}
.calc-amount {
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem; font-weight: 400; color: var(--text);
    line-height: 1;
    transition: all 0.2s ease;
}

/* Slider */
.calc-slider {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 2px;
    background: var(--border); border-radius: 2px;
    outline: none; cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--gold);
    border: 2px solid var(--bg-card);
    box-shadow: 0 0 12px rgba(229, 196, 131, 0.3);
    cursor: pointer; transition: transform 0.15s ease;
}
.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}
.calc-slider::-moz-range-thumb {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--gold); border: 2px solid var(--bg-card);
    box-shadow: 0 0 12px rgba(229, 196, 131, 0.3);
    cursor: pointer;
}
.calc-range {
    display: flex; justify-content: space-between;
    font-size: 0.6rem; color: var(--text-muted); margin-top: 6px;
    margin-bottom: 20px;
}

/* Toggle */
.calc-toggle {
    display: flex; gap: 2px; margin-bottom: 28px;
    background: var(--bg); border-radius: 10px; padding: 3px;
    border: 1px solid var(--border);
}
.calc-toggle-btn {
    flex: 1; padding: 8px 16px;
    background: none; border: none; border-radius: 8px;
    color: var(--text-muted); font-size: 0.75rem; font-weight: 500;
    cursor: pointer; transition: all 0.2s ease;
    font-family: 'Inter', system-ui, sans-serif;
}
.calc-toggle-btn.active {
    background: var(--bg-card); color: var(--text);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Results — proportional income bars */
.calc-vis {
    display: flex; flex-direction: column; gap: 24px;
    margin-bottom: 28px;
    position: relative;
}
.calc-vis-row {}
.calc-vis-label {
    display: block; font-size: 0.62rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1.2px; font-weight: 500;
    margin-bottom: 8px;
}
.calc-vis-label-py { color: rgba(229, 196, 131, 0.5); }
.calc-bar-track {
    position: relative; height: 32px;
    background: rgba(244, 244, 245, 0.03);
    border-radius: 4px; overflow: visible;
    border: 1px solid rgba(244, 244, 245, 0.04);
}
.calc-bar-income {
    height: 100%; border-radius: 3px;
    position: relative;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.calc-bar-income-old {
    background: rgba(244, 244, 245, 0.04);
    width: 100%;
}
.calc-bar-income-py {
    background: rgba(244, 244, 245, 0.04);
    width: 100%;
}

/* Tax overlay — starts hidden, reveals with interaction */
.calc-bar-tax {
    position: absolute; top: 0; right: 0;
    height: 100%; border-radius: 0 3px 3px 0;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease;
    opacity: 0;
}
.calc-vis.active .calc-bar-tax {
    opacity: 1;
}
.calc-bar-tax-old {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.22));
    border-left: 1px solid rgba(239, 68, 68, 0.2);
}
.calc-bar-tax-py {
    background: linear-gradient(90deg, rgba(229, 196, 131, 0.1), rgba(229, 196, 131, 0.22));
    border-left: 1px solid rgba(229, 196, 131, 0.3);
}

/* Percentage label inside bar */
.calc-bar-pct {
    position: absolute; top: 50%; transform: translateY(-50%);
    right: 10px; font-size: 0.55rem; font-weight: 600;
    transition: all 0.4s ease; pointer-events: none;
    opacity: 0;
    letter-spacing: 0.3px;
}
.calc-vis.active .calc-bar-pct { opacity: 1; }
.calc-bar-pct-old { color: rgba(239, 68, 68, 0.6); }
.calc-bar-pct-py { color: rgba(229, 196, 131, 0.6); }

/* Numbers below bars */
.calc-vis-nums {
    display: flex; justify-content: space-between;
    margin-top: 6px;
    opacity: 0;
    transition: opacity 0.4s ease 0.15s;
}
.calc-vis.active .calc-vis-nums { opacity: 1; }
.calc-vis-keep, .calc-vis-lost {
    font-size: 0.72rem; font-weight: 500;
}
.calc-vis-keep { color: var(--text-secondary); }
.calc-vis-keep-py { color: var(--gold); }
.calc-vis-lost { color: rgba(239, 68, 68, 0.5); }
.calc-vis-dim {
    font-weight: 400; opacity: 0.5; font-size: 0.6rem;
    text-transform: lowercase;
}

/* Geometric accent line */
.calc-accent-line {
    position: absolute; left: 0; right: 0;
    top: 50%; transform: translateY(-50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
}
.calc-vis.active .calc-accent-line { opacity: 1; }

/* Savings — highlighted, hidden until interaction */
.calc-savings {
    text-align: center;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(229, 196, 131, 0.04), rgba(229, 196, 131, 0.01));
    border: 1px solid rgba(229, 196, 131, 0.1);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}
.calc-savings.visible {
    opacity: 1;
    transform: translateY(0);
    border-color: var(--gold-border);
    background: linear-gradient(135deg, rgba(229, 196, 131, 0.06), rgba(229, 196, 131, 0.02));
}
.calc-savings-inner {
    display: flex; align-items: baseline; justify-content: center; gap: 8px;
}
.calc-savings-label {
    font-size: 0.7rem; color: var(--text-muted); font-weight: 400;
}
.calc-savings-amount {
    font-family: 'Instrument Serif', serif;
    font-size: 1.8rem; font-weight: 400;
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 128 128' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)' opacity='0.1'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #b08940, var(--gold-dark) 20%, var(--gold) 40%, var(--gold-light) 55%, var(--gold));
    background-size: 100px 100px, 100% 100%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(229, 196, 131, 0.15));
    transition: all 0.3s ease;
}
.calc-savings-amount.pulse {
    animation: numPulse 0.35s ease-out;
}
.calc-savings-sub {
    font-size: 0.7rem; color: var(--text-muted); font-weight: 400;
}
@keyframes numPulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

/* ============================================
   PROCESS — STICKY SCROLL-PINNED
   ============================================ */
.process-section {
    overflow: visible;
    padding: 0;
}
.process-sticky-wrap {
    height: 300vh;
    position: relative;
}
.process-sticky-inner {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
}

.process-track-wrap {
    max-width: 1100px; margin: 0 auto; position: relative; width: 100%;
}

.process-progress-bar {
    width: 100%; height: 1px;
    background: var(--border); border-radius: 2px;
    margin-bottom: 48px; overflow: hidden;
}
.process-progress-fill {
    width: 25%; height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-track {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}

.process-slide {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 24px 24px;
    text-align: left;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.3;
    transform: scale(0.97);
    position: relative;
    display: flex; flex-direction: column;
}

.process-slide.active {
    opacity: 1;
    transform: scale(1);
    border-color: var(--gold-border);
    background: linear-gradient(160deg, var(--bg-card), rgba(229, 196, 131, 0.03));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.slide-icon-wrap {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(229, 196, 131, 0.06);
    border: 1px solid rgba(229, 196, 131, 0.1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    transition: all 0.6s ease;
}
.process-slide.active .slide-icon-wrap {
    background: rgba(229, 196, 131, 0.1);
    border-color: rgba(229, 196, 131, 0.2);
}

.slide-icon {
    color: var(--gold); opacity: 0.5;
    transition: all 0.6s ease;
    flex-shrink: 0;
}
.process-slide.active .slide-icon {
    opacity: 1;
}

.slide-number {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.6rem; font-weight: 500; line-height: 1;
    color: var(--gold);
    opacity: 0.4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
    transition: opacity 0.6s ease;
}
.process-slide.active .slide-number { opacity: 0.7; }

.process-slide h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.88rem; font-weight: 600; margin-bottom: 8px;
}

.process-slide p {
    font-size: 0.78rem; color: var(--text-secondary); line-height: 1.65;
    flex: 1;
}

.slide-time {
    display: block; margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 0.6rem; color: var(--text-muted);
    font-weight: 400; letter-spacing: 0.3px;
}
.process-slide.active .slide-time { color: var(--gold); opacity: 0.6; }

.process-section .section-title {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
}

/* ============================================
   FAQ
   ============================================ */
.faq-container { max-width: 720px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
    background: var(--bg-card); border-radius: var(--radius-sm);
    border: 1px solid var(--border); overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item:hover, .faq-item.active { border-color: var(--gold-border); }

.faq-question {
    width: 100%; padding: 22px 28px; background: none; border: none;
    color: var(--text); font-family: 'Inter', sans-serif;
    font-size: 0.92rem; font-weight: 500; text-align: left;
    cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; gap: 16px; transition: color var(--transition);
}
.faq-question:hover { color: var(--gold); }

.faq-icon {
    width: 28px; height: 28px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--gold-soft);
    border: 1px solid var(--gold-border); transition: all var(--transition);
}
.faq-icon svg {
    width: 12px; height: 12px; stroke: var(--gold);
    stroke-width: 2; fill: none; transition: transform var(--transition);
}
.faq-item.active .faq-icon { background: var(--gold); border-color: var(--gold); }
.faq-item.active .faq-icon svg { stroke: var(--bg); transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-item.active .faq-answer { max-height: 600px; }
.faq-answer-content {
    padding: 0 28px 24px; color: var(--text-secondary);
    font-size: 0.88rem; line-height: 1.75;
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
    padding: 140px 40px; text-align: center;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(229, 196, 131, 0.1), transparent 70%);
    pointer-events: none;
}
.cta-section .section-title { margin-bottom: 16px; }
.cta-section .section-desc { margin: 0 auto 48px; max-width: 480px; }

.cta-guarantee {
    margin-top: 24px; font-size: 0.78rem; color: var(--text-muted);
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cta-guarantee svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; }

/* ============================================
   FOOTER
   ============================================ */
footer {
    max-width: 640px; margin: 0 auto;
    padding: 48px 40px 32px;
    text-align: center;
}

.footer-top { margin-bottom: 20px; }
.footer-logo {
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none; color: var(--text);
    font-size: 0.8rem; font-weight: 500;
    opacity: 0.6; transition: opacity var(--transition);
}
.footer-logo:hover { opacity: 0.9; }

.footer-mid {
    display: flex; gap: 24px; justify-content: center;
    margin-bottom: 24px; padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.footer-mid a {
    color: var(--text-muted); text-decoration: none;
    font-size: 0.72rem; transition: color var(--transition);
}
.footer-mid a:hover { color: var(--text); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
    font-size: 0.65rem; color: var(--text-muted);
}
.footer-legal { display: flex; gap: 16px; }
.footer-legal a {
    color: var(--text-muted); text-decoration: none;
    font-size: 0.65rem; transition: color var(--transition);
}
.footer-legal a:hover { color: var(--text); }

/* ============================================
   LEGAL MODALS
   ============================================ */
.modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    padding: 24px;
}
.modal-overlay.open {
    opacity: 1; visibility: visible;
}
.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 640px; width: 100%;
    max-height: 80vh; overflow-y: auto;
    padding: 48px;
    position: relative;
    transform: translateY(16px);
    transition: transform 0.3s ease;
}
.modal-overlay.open .modal {
    transform: translateY(0);
}
.modal-close {
    position: absolute; top: 16px; right: 16px;
    background: none; border: none; color: var(--text-muted);
    cursor: pointer; padding: 8px;
    transition: color var(--transition);
}
.modal-close:hover { color: var(--text); }
.modal-body h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.4rem; font-weight: 400;
    margin-bottom: 24px;
}
.modal-body h3 {
    font-size: 0.85rem; font-weight: 600;
    margin: 20px 0 8px; color: var(--text);
}
.modal-body p {
    font-size: 0.8rem; color: var(--text-secondary);
    line-height: 1.7; margin-bottom: 12px;
}

/* ============================================
   HERO PHONE MOCKUPS — subtle background
   ============================================ */
.hero-phones {
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none; overflow: hidden;
}
.hero { position: relative; z-index: 1; }
.hero > *:not(.hero-phones) { position: relative; z-index: 2; }

.hero-phone {
    position: absolute;
    opacity: 0.04;
    transition: opacity 1s ease;
}
.hero-phone-1 {
    top: 15%; left: 4%;
    transform: rotate(-8deg);
    animation: floatPhone1 12s ease-in-out infinite;
}
.hero-phone-2 {
    top: 25%; right: 3%;
    transform: rotate(6deg);
    animation: floatPhone2 14s ease-in-out infinite;
}
.hero-phone-3 {
    bottom: 12%; left: 12%;
    transform: rotate(-4deg);
    animation: floatPhone3 16s ease-in-out infinite;
}

@keyframes floatPhone1 {
    0%, 100% { transform: rotate(-8deg) translateY(0); }
    50% { transform: rotate(-8deg) translateY(-12px); }
}
@keyframes floatPhone2 {
    0%, 100% { transform: rotate(6deg) translateY(0); }
    50% { transform: rotate(6deg) translateY(-10px); }
}
@keyframes floatPhone3 {
    0%, 100% { transform: rotate(-4deg) translateY(0); }
    50% { transform: rotate(-4deg) translateY(-14px); }
}

.phone-frame {
    width: 160px; height: 320px;
    border: 1px solid rgba(229, 196, 131, 0.2);
    border-radius: 24px;
    padding: 16px 12px;
    background: rgba(229, 196, 131, 0.03);
    box-shadow: 0 0 60px rgba(229, 196, 131, 0.06);
}
.phone-screen {
    display: flex; flex-direction: column; gap: 10px;
}
.phone-bar {
    height: 6px; width: 40%; border-radius: 3px;
    background: rgba(229, 196, 131, 0.15);
    margin-bottom: 8px;
}
.phone-line {
    height: 4px; border-radius: 2px;
    background: rgba(244, 244, 245, 0.06);
}
.phone-line.w80 { width: 80%; }
.phone-line.w70 { width: 70%; }
.phone-line.w60 { width: 60%; }
.phone-line.w50 { width: 50%; }
.phone-block {
    height: 60px; border-radius: 8px;
    background: rgba(244, 244, 245, 0.03);
    border: 1px solid rgba(244, 244, 245, 0.04);
}
.phone-block.tall { height: 80px; }
.phone-block.wide { height: 48px; }

/* ============================================
   ABOUT / GALLERY
   ============================================ */
.about-section {
    background: var(--bg-elevated);
}

.about-wrap {
    max-width: 960px; margin: 0 auto;
    display: flex; flex-direction: column;
    gap: 48px;
}

/* Text block — slides in from left */
.about-text {
    display: flex; flex-direction: column; gap: 0;
    max-width: 640px;
    transform: translateX(-30px);
}
.about-text.reveal.visible {
    transform: translateX(0);
}
.about-text .section-label {
    margin-bottom: 18px;
}
.about-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    font-weight: 400; color: var(--text);
    line-height: 1.22;
    margin-bottom: 18px;
}
.about-body {
    font-size: 0.86rem; color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 24px;
}
.about-sign {
    font-size: 0.78rem; color: var(--gold);
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    opacity: 0.7;
}

/* Image row — four equal cards with gradient fade */
.about-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.about-img-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3/4;
}
.about-img-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.about-img-card:hover img {
    transform: scale(1.04);
}
/* Gradient fade overlay */
.about-img-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(17, 17, 19, 0.15) 0%,
        rgba(17, 17, 19, 0) 35%,
        rgba(17, 17, 19, 0) 55%,
        rgba(17, 17, 19, 0.55) 100%
    );
    pointer-events: none;
}
.about-img-label {
    position: absolute;
    bottom: 10px; left: 12px;
    font-size: 0.52rem; color: rgba(244,244,245,0.45);
    letter-spacing: 0.8px; text-transform: uppercase;
    font-weight: 500;
    z-index: 1;
}

/* Reveal stagger */
.about-text.reveal { transition-delay: 0s; }
.about-images.reveal { transition-delay: 0.15s; }

/* ============================================
   ICON ANIMATIONS — contextual hover only
   ============================================ */

/* Section label icons — static, no auto-animation */
.section-label-icon {
    transition: all 0.4s ease;
}

/* Benefit editorial — hover effects on content */
.benefit-content {
    transition: all 0.5s ease;
}
.benefit-row:hover .benefit-number {
    opacity: 0.7;
}
.benefit-row:hover .benefit-line {
    width: 48px;
    opacity: 0.4;
    transition: all 0.5s ease;
}

/* Process slide icons — subtle lift on active, no auto-loop */
.slide-icon {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.process-slide.active .slide-icon {
    transform: translateY(-2px);
    opacity: 0.85;
}

/* FAQ plus icon — rotate on active */
.faq-icon svg {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item:hover .faq-icon {
    transform: scale(1.05);
}
.faq-item.active .faq-icon svg {
    transform: rotate(45deg);
}

/* CTA guarantee shield — static, subtle glow on hover */
.cta-guarantee svg {
    transition: all 0.4s ease;
}
.cta-section:hover .cta-guarantee svg {
    filter: drop-shadow(0 0 6px rgba(229, 196, 131, 0.2));
    transform: scale(1.05);
}

/* Footer logo mark — subtle gold glow on hover */
.footer-logo svg {
    transition: all 0.5s ease;
}
.footer-logo:hover svg {
    filter: drop-shadow(0 0 8px rgba(229, 196, 131, 0.25));
}

/* (btn-primary svg rules now in button block above) */

/* Hero badge star — subtle glow, no spin */
.hero-badge svg {
    transition: all 0.4s ease;
}
.hero-badge:hover svg {
    filter: drop-shadow(0 0 6px rgba(229, 196, 131, 0.3));
    transform: scale(1.1);
}

/* Calculator trigger icon — gentle spin on open */
.calc-trigger svg:first-child {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.calc-trigger.open svg:first-child {
    transform: rotate(180deg);
}

/* Trust row values — counter-style pop on load */
.trust-value {
    animation: trustPop 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.trust-item:nth-child(1) .trust-value { animation-delay: 0.9s; }
.trust-item:nth-child(3) .trust-value { animation-delay: 1.05s; }
.trust-item:nth-child(5) .trust-value { animation-delay: 1.2s; }
.trust-item:nth-child(7) .trust-value { animation-delay: 1.35s; }
@keyframes trustPop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reveal {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible { opacity: 1; }

/* ============================================
   BENEFIT SVG ILLUSTRATION ANIMATIONS
   ============================================ */

/* --- Benefit 1: Tax Bars grow upward (JS sets SVG attrs, CSS transitions) --- */
.illu-bar { transition: none; }
.illu-bars.animated .illu-bar { transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.illu-bars.animated .illu-bar-label-1 { animation: fadeIn 0.4s ease 0.6s forwards; }
.illu-bars.animated .illu-bar-label-2 { animation: fadeIn 0.4s ease 0.8s forwards; }
.illu-bars.animated .illu-bar-label-3 { animation: fadeIn 0.4s ease 1.0s forwards; }
.illu-bars.animated .illu-bar-label-py { animation: fadeIn 0.5s ease 1.3s forwards; }
.illu-bars.animated .illu-dashed { animation: fadeIn 0.6s ease 1.5s forwards; }

/* --- Benefit 2: Growth curve draws + dots pop --- */
.illu-growth.animated .illu-growth-line { animation: drawLine 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards; }
.illu-growth.animated .illu-growth-fill { animation: fadeIn 0.8s ease 0.6s forwards; }
.illu-growth.animated .illu-dot-1 { animation: dotPop 0.3s ease 0.3s forwards; }
.illu-growth.animated .illu-dot-2 { animation: dotPop 0.3s ease 0.6s forwards; }
.illu-growth.animated .illu-dot-3 { animation: dotPop 0.3s ease 0.9s forwards; }
.illu-growth.animated .illu-dot-4 { animation: dotPop 0.3s ease 1.2s forwards; }
.illu-growth.animated .illu-shield-icon { animation: fadeIn 0.4s ease 1.4s forwards; }
.illu-growth.animated .illu-year-label { animation: fadeIn 0.3s ease 0.8s forwards; }
.illu-growth.animated .illu-protected { animation: fadeIn 0.5s ease 1.5s forwards; }

@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes dotPop { 0% { opacity: 0; r: 0; } 50% { r: 4; } 100% { opacity: 1; r: 2.5; } }

/* --- Benefit 3: Globe draws in, pin pulses --- */
.illu-globe.animated .illu-globe-ring { animation: drawLine 1s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards; }
.illu-globe.animated .illu-globe-eq { animation: drawLine 0.8s ease 0.4s forwards; }
.illu-globe.animated .illu-globe-mer { animation: drawLine 0.8s ease 0.5s forwards; }
.illu-globe.animated .illu-globe-detail { animation: fadeIn 0.5s ease 0.6s forwards; }
.illu-globe.animated .illu-globe-city { animation: fadeIn 0.3s ease 0.8s forwards; }
.illu-globe.animated .illu-globe-pin { animation: pinDrop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.0s forwards; }
.illu-globe.animated .illu-globe-pin-glow { animation: pinPulse 2s ease-in-out 1.5s infinite; }
.illu-globe.animated .illu-globe-route { animation: fadeIn 0.4s ease 1.3s forwards; }
.illu-globe.animated .illu-globe-badge { animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) 1.5s forwards; }

@keyframes pinDrop { 0% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes pinPulse { 0%, 100% { fill: rgba(229,196,131,0); r: 8; } 50% { fill: rgba(229,196,131,0.08); r: 14; } }
@keyframes slideInRight { to { opacity: 1; transform: translate(0, 0); } }

/* --- Benefit 4: Shield draws, bitcoin fades up, glow --- */
.illu-shield.animated .illu-shield-outer { animation: drawLine 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards; }
.illu-shield.animated .illu-shield-inner { animation: drawLine 0.8s ease 0.6s forwards; }
.illu-shield.animated .illu-shield-btc { animation: fadeUp 0.6s ease 1.0s forwards; }
.illu-shield.animated .illu-shield-crypto-1 { animation: fadeIn 0.4s ease 1.2s forwards; }
.illu-shield.animated .illu-shield-crypto-2 { animation: fadeIn 0.4s ease 1.4s forwards; }
.illu-shield.animated .illu-shield-crypto-3 { animation: fadeIn 0.4s ease 1.6s forwards; }
.illu-shield.animated .illu-shield-badge { animation: badgePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.6s forwards; }
.illu-shield.animated .illu-shield-deco { animation: fadeIn 0.4s ease 0.8s forwards; }

@keyframes fadeUp { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 0.4; transform: translateY(0); } }
@keyframes badgePop { to { opacity: 1; transform: scale(1); } }

/* --- Benefit 5: Vault closes, dial spins, NO CRS glows --- */
.illu-vault.animated .illu-vault-door { animation: fadeIn 0.6s ease 0.2s forwards; }
.illu-vault.animated .illu-vault-dial { animation: dialAppear 0.8s ease 0.5s forwards; }
.illu-vault.animated .illu-vault-handle { animation: fadeIn 0.4s ease 0.9s forwards; }
.illu-vault.animated .illu-vault-data { animation: fadeIn 0.3s ease 1.0s forwards; }
.illu-vault.animated .illu-vault-crs { animation: crsGlowIn 0.6s ease 1.3s forwards; }
.illu-vault.animated .illu-vault-crs-line { animation: drawLine 0.5s ease 1.5s forwards; }

@keyframes dialAppear {
    0% { opacity: 0; transform: rotate(-180deg); transform-origin: 200px 155px; }
    100% { opacity: 1; transform: rotate(0deg); transform-origin: 200px 155px; }
}
@keyframes crsGlowIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* --- Benefit 6: South America draws, connections animate --- */
.illu-sa.animated .illu-sa-outline { animation: drawLine 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards; }
.illu-sa.animated .illu-sa-city { animation: dotPop 0.3s ease 1.2s forwards; }
.illu-sa.animated .illu-sa-pin { animation: pinDrop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s forwards; }
.illu-sa.animated .illu-sa-pin-glow { animation: pinPulse 2s ease-in-out 2.0s infinite; }
.illu-sa.animated .illu-sa-route { animation: drawLine 0.6s ease 1.8s forwards; }
.illu-sa.animated .illu-sa-card { animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) 2.2s forwards; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .process-track { grid-template-columns: repeat(2, 1fr); }
    .process-sticky-wrap { height: auto; }
    .process-sticky-inner { position: relative; height: auto; padding: 0; }
    .process-section { padding-bottom: 80px; }
    .process-slide { opacity: 1; transform: scale(1); }

    .about-content { gap: 36px; }
    .about-gallery { gap: 8px; }
}

@media (max-width: 900px) {
    .benefit-row { min-height: 340px; }
    .benefit-content { padding: 48px 40px; }
    .benefit-content h3 { font-size: 1.3rem; }
    .benefit-illu { max-width: 360px; }
    .trust-item { padding: 0 16px; }
    .hero-phones { display: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }

    header { padding: 0 20px; }
    .hero { padding: 110px 20px 48px; }
    .hero::before { opacity: 0.2; }
    .section { padding: 72px 20px; }
    .cta-section { padding: 80px 20px; }
    .comparison { padding: 72px 20px; }

    .hero h1 { font-size: clamp(2rem, 7.5vw, 2.9rem); }
    .hero-sub { font-size: 0.92rem; margin-bottom: 36px; }
    .hero-badge { font-size: 0.65rem; padding: 8px 16px; margin-bottom: 28px; }

    .video-container { margin-top: 48px; }
    .video-tooltip { display: none; }

    .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
    .section-header { margin-bottom: 48px; }

    .benefit-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .benefit-row-reverse { direction: ltr; }
    .benefit-content { padding: 40px 24px 24px; }
    .benefit-content h3 { font-size: 1.2rem; }
    .benefit-visual { padding: 0 24px 16px; }
    .benefit-illu { max-width: 320px; margin: 0 auto; }
    .benefit-row + .benefit-row { border-top: none; margin-top: 16px; }

    .calc-inner { padding: 24px 18px; }
    .calc-wrap { max-width: 100%; }
    .comp-static { flex-direction: column; gap: 0; }
    .comp-vs { transform: rotate(90deg); padding: 4px 0; }
    .comp-side { padding: 24px 16px; }
    .comp-side-rate { font-size: clamp(2.2rem, 8vw, 3rem); }
    .calc-savings-amount { font-size: 1.4rem; }

    .process-track { grid-template-columns: 1fr; }
    .process-sticky-wrap { height: auto; }
    .process-sticky-inner { position: relative; height: auto; padding: 0 20px; }
    .process-progress-bar { margin-bottom: 28px; }

    .faq-question { padding: 18px 20px; font-size: 0.85rem; }
    .faq-answer-content { padding: 0 20px 20px; font-size: 0.82rem; }

    .about-images { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .about-img-card { aspect-ratio: 4/3; }

    .footer-bottom { flex-direction: column; gap: 12px; }
    .footer-mid { flex-wrap: wrap; gap: 16px; }
    footer { padding: 40px 20px 24px; }

    .modal { padding: 32px 24px; max-height: 85vh; }
    .modal-body h2 { font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .hero { padding: 100px 16px 40px; }
    .hero::before { opacity: 0.24; }
    .hero h1 { font-size: 1.85rem; line-height: 1.18; }
    .hero-sub { font-size: 0.85rem; line-height: 1.65; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions a { width: 100%; justify-content: center; }
    .btn-primary { padding: 13px 24px; font-size: 0.78rem; }
    .btn-secondary { padding: 13px 24px; font-size: 0.78rem; }

    .trust-row { flex-direction: column; gap: 8px; margin-top: 32px; }
    .trust-item { padding: 4px 0; justify-content: center; }
    .trust-sep { display: none; }
    .trust-value { font-size: 0.8rem; }
    .trust-label { font-size: 0.68rem; display: inline; }

    .section { padding: 56px 16px; }
    .section-title { font-size: 1.4rem; }
    .section-desc { font-size: 0.88rem; }
    .section-label { font-size: 0.62rem; }

    .comp-side-rate { font-size: 2rem; }
    .comp-side-label { font-size: 0.6rem; }

    .calc-amount { font-size: 1.3rem; }
    .calc-label { font-size: 0.6rem; }
    .calc-toggle-btn { padding: 7px 10px; font-size: 0.7rem; }
    .calc-vis-label { font-size: 0.58rem; }
    .calc-bar-track { height: 24px; }
    .calc-savings-inner { flex-direction: column; gap: 4px; }
    .calc-savings-amount { font-size: 1.3rem; }

    .process-slide { padding: 22px 18px 18px; }
    .process-slide h3 { font-size: 0.82rem; }
    .process-slide p { font-size: 0.74rem; }

    .cta-section { padding: 64px 16px; }
    .cta-guarantee { font-size: 0.68rem; flex-direction: column; gap: 4px; }

    .about-title { font-size: 1.3rem; }
    .about-body { font-size: 0.82rem; }
    .about-images { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .about-img-card { aspect-ratio: 1/1; }
}
