/* ==========================================================================
   Morvalda Xentrix — "Esmeralda Dorada" premium fintech theme
   Deep emerald surfaces, champagne-gold accents, serif display (Fraunces),
   metallic hairlines, CDMX skyline hero scene. Dark theme.
   ========================================================================== */

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/fraunces-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/fraunces-700.woff2') format('woff2');
}

:root {
    --bg: #081511;
    --surface: #0E211A;
    --surface-2: #14291F;
    --border: #22402F;
    --text: #F4F8F2;
    --muted: #A7BCAC;
    --accent: #D9AE45;
    --accent-hover: #E9C568;
    --accent-tint: rgba(217, 174, 69, .12);
    --emerald: #1EB585;
    --emerald-soft: rgba(30, 181, 133, .16);
    --red: #CE6B5A;
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
    --radius-sm: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(2, 10, 6, .5);
    --shadow-md: 0 2px 8px rgba(2, 10, 6, .45), 0 12px 30px rgba(2, 10, 6, .5);
    --shadow-lg: 0 6px 16px rgba(2, 10, 6, .5), 0 28px 64px rgba(2, 10, 6, .65);
    --container: 1200px;
    --hairline-gold: linear-gradient(90deg, transparent, rgba(217, 174, 69, .55), transparent);
}

/* ---- reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video, canvas { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.16; margin: 0 0 .55em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
strong { color: var(--text); font-weight: 600; }
code { font-family: ui-monospace, Consolas, monospace; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: .1em .4em; font-size: .9em; }
hr { border: 0; height: 1px; background: var(--hairline-gold); margin: 2.2em 0; }
.icon { width: 22px; height: 22px; flex: none; }
.icon--xs { width: 15px; height: 15px; vertical-align: -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; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding-block: clamp(56px, 8vw, 96px); position: relative; }
.section--tint { background: linear-gradient(180deg, rgba(217, 174, 69, .05), transparent 70%); }
.section--surface { background: var(--surface); border-block: 1px solid var(--border); }
.lead { color: var(--muted); font-size: 1.06rem; max-width: 62ch; }
.section-head { max-width: 70ch; margin-bottom: clamp(24px, 4vw, 44px); }
.text-muted { color: var(--muted); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-body);
    font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }

/* ---- buttons: gold metallic ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--font-body); font-weight: 700; font-size: .95rem;
    padding: 12px 26px; border-radius: 999px; border: 1px solid transparent;
    cursor: pointer; white-space: nowrap; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.btn-primary {
    background: linear-gradient(180deg, #E9C568, #C89B32);
    color: #1C1503; box-shadow: 0 2px 0 rgba(0,0,0,.35), 0 8px 22px rgba(217, 174, 69, .25);
}
.btn-primary:hover { background: linear-gradient(180deg, #F2D182, #D3A83E); color: #1C1503; transform: translateY(-2px); box-shadow: 0 4px 0 rgba(0,0,0,.35), 0 12px 28px rgba(217, 174, 69, .35); }
.btn-outline { border-color: var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-hover); transform: translateY(-2px); }
.btn-lg { padding: 15px 32px; font-size: 1.02rem; }

/* ---- skip link / focus ---- */
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 300;
    background: var(--accent); color: #1C1503; padding: 10px 18px; border-radius: 0 0 var(--radius-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---- header: dark emerald bar with gold hairline ---- */
.site-header {
    position: sticky; top: 0; z-index: 120;
    background: rgba(8, 21, 17, .94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    border-image: var(--hairline-gold) 1;
    transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { background: rgba(8, 21, 17, .98); box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: .01em; }
.logo:hover { color: var(--text); }
.logo svg { display: block; }
.logo .logo-word { font-size: 1.04rem; white-space: nowrap; }
.nav-toggle .icon-close { display: none; }

.main-nav { margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav__group { position: relative; }
.main-nav__trigger {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: 0; color: var(--text); font: 600 .92rem var(--font-body);
    padding: 10px 14px; border-radius: 999px; cursor: pointer;
}
.main-nav__trigger:hover, .main-nav__trigger[aria-expanded="true"] { background: var(--surface-2); color: var(--accent-hover); }
.main-nav__trigger .icon { width: 14px; height: 14px; transition: transform .16s ease; }
.main-nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }

.dropdown {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 262px; z-index: 130;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg); padding: 8px; margin: 0; list-style: none;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav__group--right .dropdown { left: auto; right: 0; }
.dropdown a {
    display: flex; align-items: center; gap: 9px;
    color: var(--text); font-size: .9rem; padding: 9px 12px; border-radius: 8px;
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--accent-tint); color: var(--accent-hover); }
.header-cta { flex: none; }

.nav-toggle {
    display: none; background: none; border: 1px solid var(--border); border-radius: 10px;
    color: var(--text); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* mobile nav */
.mobile-nav { display: none; border-bottom: 1px solid var(--border); background: var(--bg); }
.mobile-nav__group { border-bottom: 1px solid var(--border); }
.mobile-nav__group:last-child { border-bottom: 0; }
.mobile-nav__btn {
    display: flex; width: 100%; align-items: center; justify-content: space-between;
    background: none; border: 0; color: var(--text); font: 600 .98rem var(--font-body);
    padding: 15px clamp(16px, 4vw, 40px); cursor: pointer;
}
.mobile-nav__btn .icon { width: 16px; height: 16px; transition: transform .16s ease; }
.mobile-nav__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-nav__sub { display: none; padding: 4px 0 12px; margin: 0; list-style: none; padding-left: clamp(16px, 4vw, 40px); }
.mobile-nav__sub.is-open { display: block; }
.mobile-nav__sub a { display: block; color: var(--muted); padding: 8px 12px; border-radius: 8px; font-size: .93rem; }
.mobile-nav__sub a:hover { color: var(--accent-hover); background: var(--surface-2); }
.mobile-nav.is-open { display: block; }

/* header CTA: gold pill with two-line copy */
.site-header .header-cta {
    display: inline-flex; align-items: center; gap: 12px;
    background: linear-gradient(180deg, #E9C568, #C89B32);
    color: #1C1503; border: 1px solid rgba(255, 235, 180, .6);
    border-radius: 999px; padding: 8px 12px 8px 20px; min-height: 48px;
    font-weight: 700; box-shadow: 0 6px 18px rgba(217, 174, 69, .22);
    transition: transform .18s ease, box-shadow .18s ease; white-space: nowrap; text-align: left;
}
.site-header .header-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(217, 174, 69, .32); color: #1C1503; }
.header-cta__copy { display: grid; gap: 2px; }
.header-cta__label { font: 700 13px/1.2 var(--font-body); }
.header-cta__hint { font: 500 10px/1.2 var(--font-body); opacity: .82; }
.header-cta .header-cta__arrow {
    flex: 0 0 30px; width: 30px; height: 30px; padding: 6px;
    background: #1C1503; color: #E9C568; border: 0; border-radius: 50%;
    transition: transform .18s ease;
}
.header-cta:hover .header-cta__arrow { transform: translateX(2px); }
.site-header .header-cta:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* ---- ticker ---- */
.beacon-ticker {
    background: var(--surface); border-bottom: 1px solid var(--border);
    overflow: hidden; font-size: .84rem;
}
.beacon-ticker__inner {
    display: flex; gap: 34px; padding: 9px clamp(16px, 4vw, 40px);
    max-width: var(--container); margin-inline: auto; overflow-x: auto;
    scrollbar-width: thin;
}
.beacon-ticker__sym { color: var(--muted); white-space: nowrap; }
.beacon-ticker__sym b { color: var(--text); font-weight: 600; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* ---- breadcrumbs ---- */
.breadcrumbs { border-bottom: 1px solid var(--border); background: var(--surface); }
.breadcrumbs .container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 11px; font-size: .85rem; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-hover); }
.breadcrumbs span { color: var(--muted); }
.breadcrumbs span[aria-hidden] { color: var(--border); }
.breadcrumbs > .container > span:last-child { color: var(--text); }

/* ---- generic page hero ---- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 88px) clamp(52px, 7vw, 92px); }
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(52rem 30rem at 82% 12%, rgba(217, 174, 69, .08), transparent 62%),
        radial-gradient(40rem 26rem at 8% 90%, rgba(30, 181, 133, .07), transparent 60%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero__title { max-width: 15ch; }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__copy { color: var(--muted); font-size: 1.05rem; max-width: 54ch; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 22px; }

.flag-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.flag-links__label { color: var(--muted); font-size: .88rem; }
.flag-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 5px 13px 5px 6px; font-size: .85rem; color: var(--text); }
.flag-chip:hover { border-color: var(--accent); }
.flag-chip svg { display: block; border-radius: 3px; }

.hero__icons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.icon-link {
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid var(--border); background: var(--surface); border-radius: 999px;
    padding: 10px 18px; color: var(--text); font-size: .9rem; font-weight: 600;
    transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.icon-link .icon { color: var(--accent); }
.icon-link:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--text); }

.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 22px 44px rgba(2, 10, 6, .5)); }

/* page hero (two-col: heading + form) */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(44px, 6vw, 76px); }
.page-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(46rem 26rem at 88% 6%, rgba(217, 174, 69, .08), transparent 60%);
}
.page-hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { max-width: 58ch; }
.page-hero__art { margin-top: 26px; color: var(--border); }
.page-hero__art svg { width: min(340px, 100%); height: auto; opacity: .85; }

/* ---- forms (formFactory markup) ---- */
.form-block { position: relative; }
.form-block__heading { font-size: 1.22rem; margin-bottom: 6px; }
.form-block__intro { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.form-block__card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    border-top: 3px solid var(--accent);
    box-shadow: var(--shadow-lg); padding: clamp(18px, 2.6vw, 28px);
}
.beacon-form { display: block; }
.beacon-form__row { margin-bottom: 13px; }
.beacon-form__label { display: block; font-size: .84rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.beacon-form__input {
    width: 100%; box-sizing: border-box;
    background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
    color: var(--text); font: inherit; padding: 11px 13px;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.beacon-form__input::placeholder { color: #6d8175; }
.beacon-form__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217, 174, 69, .2); }
.beacon-form__submit {
    width: 100%; margin-top: 4px;
    background: var(--beacon-accent, var(--accent)); color: var(--beacon-on-accent, #1C1503);
    border: 0; border-radius: 999px; cursor: pointer;
    font-family: var(--font-body); font-weight: 700; font-size: .98rem;
    padding: 13px 20px; white-space: normal;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.beacon-form__submit:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.form-legal { font-size: .78rem; color: var(--muted); margin: 12px 0 4px; }
.form-legal a { text-decoration: underline; text-underline-offset: 2px; }
.form-manager { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--accent); margin: 0; }
.form-manager .icon { color: var(--accent); }
.form-block--extra { max-width: 560px; }

/* ---- cards: emerald panels with gold hover hairline ---- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

.card {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); padding: clamp(20px, 2.6vw, 28px);
    position: relative; overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card::after {
    content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(217, 174, 69, 0), transparent);
    transition: background .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(217, 174, 69, .45); }
.card h3 { display: flex; align-items: center; gap: 12px; }
.card > p:last-child, .card > ul:last-child { margin-bottom: 0; }
.card--link { display: block; color: var(--text); }
.card--link:hover { color: var(--text); }
.card--link .card__go { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-weight: 600; font-size: .9rem; margin-top: 14px; }
.card--link:hover .card__go { color: var(--accent-hover); }

.icon-badge {
    flex: none; width: 48px; height: 48px; border-radius: 50%;
    background: var(--accent-tint); border: 1px solid rgba(217, 174, 69, .35);
    display: inline-flex; align-items: center; justify-content: center; color: var(--accent);
}
.icon-badge .icon { width: 23px; height: 23px; }
.icon-badge--sage { background: var(--emerald-soft); border-color: rgba(30, 181, 133, .35); color: var(--emerald); }

/* numbered steps: gold medallions */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 22px 22px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(180deg, #E9C568, #C89B32); color: #1C1503;
    font-family: var(--font-display); font-weight: 700; font-size: .95rem;
    margin-bottom: 14px; box-shadow: 0 3px 10px rgba(217, 174, 69, .3);
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }
.step-list { counter-reset: steplist; list-style: none; padding: 0; }
.step-list li { counter-increment: steplist; position: relative; padding-left: 48px; margin-bottom: 14px; }
.step-list li::before {
    content: counter(steplist); position: absolute; left: 0; top: 1px;
    width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(180deg, #E9C568, #C89B32); color: #1C1503;
    font: 700 .85rem/32px var(--font-display); text-align: center;
}

/* ---- tables ---- */
.table-wrap { overflow-x: auto; contain: layout; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin: 0 0 1.4em; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
caption { caption-side: top; text-align: left; font-family: var(--font-display); font-weight: 600; padding: 16px 18px 4px; color: var(--text); font-size: 1.02rem; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-2); color: var(--text); font-weight: 600; font-size: .87rem; white-space: nowrap; }
td { color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: rgba(20, 41, 31, .4); }
td:first-child { color: var(--text); }

/* comparison table */
.compare td, .compare th { text-align: center; }
.compare td:first-child, .compare th:first-child { text-align: left; }
.compare .yes { color: var(--emerald); }
.compare .no { color: var(--red); }
.compare .yes svg, .compare .no svg { width: 19px; height: 19px; }
.compare .col-us { background: rgba(217, 174, 69, .07); }

/* ---- exchange chips ---- */
.exchanges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.exchange-chip {
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid var(--border); background: var(--surface);
    border-radius: 12px; padding: 12px 26px;
    font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--text);
    box-shadow: var(--shadow-sm); transition: border-color .16s ease, transform .16s ease;
}
.exchange-chip:hover { border-color: var(--accent); transform: translateY(-2px); }
.exchange-chip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 3px var(--emerald-soft); }

/* ---- reviews: portrait cards with gold ring ---- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.review {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); padding: 24px; display: flex; flex-direction: column; gap: 14px;
    border-left: 3px solid rgba(217, 174, 69, .5);
    transition: transform .18s ease, box-shadow .18s ease;
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review__head { display: flex; align-items: center; gap: 14px; }
.review__photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); flex: none; background: var(--surface-2); }
.review__name { font-family: var(--font-display); font-weight: 600; font-size: .99rem; margin: 0; }
.review__role { color: var(--muted); font-size: .83rem; margin: 0; }
.review__text { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.review__stats { display: flex; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid var(--border); padding-top: 13px; font-size: .85rem; margin: 0; }
.review__stats dt { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.review__stats dd { margin: 2px 0 0; color: var(--text); font-weight: 600; font-family: var(--font-display); }
.review__stats div { min-width: 86px; }
.reviews-note { text-align: center; color: var(--muted); font-size: .83rem; max-width: 64ch; margin: 26px auto 0; }

/* ---- motif bands ---- */
.band-grid { position: relative; }
.band-grid::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
    background-image: radial-gradient(rgba(217, 174, 69, .16) 1.3px, transparent 1.3px);
    background-size: 26px 26px;
    mask-image: radial-gradient(68% 82% at 50% 42%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(68% 82% at 50% 42%, #000 30%, transparent 100%);
}
.band-coins { position: relative; }
.band-coins::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .32;
    background-image:
        radial-gradient(circle at center, transparent 55%, rgba(217, 174, 69, .15) 56%, rgba(217, 174, 69, .15) 68%, transparent 69%),
        radial-gradient(circle at center, transparent 55%, rgba(30, 181, 133, .1) 56%, rgba(30, 181, 133, .1) 68%, transparent 69%);
    background-size: 130px 130px, 190px 190px;
    background-position: 0 0, 65px 90px;
    mask-image: linear-gradient(180deg, #000, transparent 78%);
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%);
}
.band-skyline { position: relative; }
.band-skyline::before {
    content: ""; position: absolute; inset: auto 0 0; height: 120px; pointer-events: none; opacity: .3;
    background-image: repeating-linear-gradient(90deg,
        transparent 0 22px, rgba(34, 64, 47, .9) 22px 34px, transparent 34px 46px, rgba(34, 64, 47, .55) 46px 52px, transparent 52px 84px);
    mask-image: linear-gradient(180deg, transparent, #000 80%);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 80%);
}
.section > .container { position: relative; }

/* section image feature (geo-adapted illustrations) */
.feature-figure { margin: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-md); }
.feature-figure img, .feature-figure svg { display: block; width: 100%; height: auto; }
.feature-figure figcaption { padding: 12px 18px; color: var(--muted); font-size: .8rem; border-top: 1px solid var(--border); }

/* ---- FAQ accordion ---- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item__btn {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
    background: none; border: 0; color: var(--text); cursor: pointer; text-align: left;
    font: 600 .97rem var(--font-body); padding: 16px 20px;
}
.faq-item__btn:hover { color: var(--accent-hover); }
.faq-item__btn .icon { color: var(--accent); transition: transform .18s ease; }
.faq-item__btn[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq-item__panel { display: none; padding: 0 20px 18px; color: var(--muted); font-size: .93rem; }
.faq-item__panel.is-open { display: block; }
.faq-item__panel p:last-child { margin-bottom: 0; }

/* ---- company block ---- */
.company-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.fact-list { display: grid; gap: 14px; list-style: none; padding: 0; margin: 22px 0 0; }
.fact-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: var(--muted); font-size: .93rem; }
.fact-list .icon { color: var(--accent); margin-top: 3px; }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- calculator section ---- */
.calc-section .container > h2, .calc-section .container > .lead { position: relative; }
.calc-note { color: var(--muted); font-size: .82rem; max-width: 66ch; margin-top: 18px; }

/* ---- notices ---- */
.notice { border: 1px solid rgba(217, 174, 69, .4); background: var(--accent-tint); border-radius: var(--radius-sm); padding: 16px 18px; font-size: .92rem; color: var(--text); display: flex; gap: 12px; align-items: flex-start; }
.notice .icon { color: var(--accent); margin-top: 2px; }
.notice p { margin: 0; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(120deg, #12281E, #0E211A 55%, rgba(217, 174, 69, .08)); border-block: 1px solid var(--border); padding-block: clamp(40px, 6vw, 64px); position: relative; overflow: hidden; }
.cta-band::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4;
    background-image: linear-gradient(rgba(217, 174, 69, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 174, 69, .07) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(60% 100% at 50% 50%, #000, transparent);
    -webkit-mask-image: radial-gradient(60% 100% at 50% 50%, #000, transparent);
}
.cta-band .container { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--muted); }

/* ---- footer: emerald with gold top rule ---- */
.site-footer { background: #061009; border-top: 3px double rgba(217, 174, 69, .4); position: relative; overflow: hidden; }
.site-footer::before {
    content: ""; position: absolute; inset: auto 0 0; height: 90px; pointer-events: none; opacity: .25;
    background-image: repeating-linear-gradient(90deg,
        transparent 0 30px, rgba(34, 64, 47, .9) 30px 44px, transparent 44px 58px, rgba(34, 64, 47, .5) 58px 64px, transparent 64px 110px);
    mask-image: linear-gradient(180deg, transparent, #000 85%);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 85%);
}
.footer-cols { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: clamp(20px, 3vw, 40px); padding-block: clamp(40px, 5vw, 60px); }
.footer-brand p { color: var(--muted); font-size: .88rem; max-width: 34ch; }
.footer-col h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-family: var(--font-body); font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a { color: var(--muted); font-size: .88rem; display: inline-block; padding: 3.5px 0; }
.footer-col a:hover { color: var(--accent-hover); }
.footer-disclaimer { position: relative; border-top: 1px solid var(--border); padding-block: 26px; }
.footer-disclaimer h2 { font-size: .95rem; font-family: var(--font-body); font-weight: 700; }
.footer-disclaimer p { color: var(--muted); font-size: .8rem; line-height: 1.6; max-width: 100ch; margin: 0; }
.footer-bottom { position: relative; border-top: 1px solid var(--border); padding-block: 18px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; color: var(--muted); font-size: .82rem; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent-hover); }

/* ---- prose pages ---- */
.prose { max-width: 78ch; }
.prose h2 { margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose-note { color: var(--muted); font-size: .88rem; }

/* ---- contact / map ---- */
.map-embed { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); max-width: 860px; aspect-ratio: 16 / 9; min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- vacancies ---- */
.vacancy { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.vacancy h3 { margin-bottom: 4px; }
.vacancy__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
.vacancy__meta span { display: inline-flex; align-items: center; gap: 6px; }
.vacancy__meta .icon { width: 14px; height: 14px; color: var(--accent); }
.vacancy p { margin: 0; color: var(--muted); font-size: .92rem; max-width: 60ch; }

/* ---- article cards ---- */
.article-card { display: flex; flex-direction: column; gap: 10px; }
.article-card h3 { display: block; }
.article-card time { color: var(--accent); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-family: var(--font-body); }
.article-card p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }

/* ---- special offer ---- */
.urgency-strip { background: linear-gradient(90deg, #12281E, #1A3427 50%, #12281E); border-bottom: 1px solid var(--accent); }
.urgency-strip__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding-block: 10px; font-size: .85rem; font-weight: 600; }
.urgency-strip__inner span { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.urgency-strip__inner .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(217, 174, 69, .8); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.so-countdown { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 18px 0 6px; }
.so-countdown__seg { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.so-countdown__digits { display: flex; gap: 4px; }
.so-countdown__digit {
    background: var(--surface); border: 1px solid var(--accent); border-radius: 9px;
    font: 700 1.7rem/1 var(--font-display); color: var(--accent);
    min-width: 46px; padding: 12px 6px; text-align: center; box-shadow: var(--shadow-sm);
    font-variant-numeric: tabular-nums;
}
.so-countdown__label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.so-countdown__sep { color: var(--accent); font: 700 1.6rem/1 var(--font-display); padding-bottom: 20px; }

.so-hero { position: relative; overflow: hidden; padding-block: clamp(44px, 6vw, 76px); }
.so-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(50rem 26rem at 50% -10%, rgba(217, 174, 69, .14), transparent 65%),
        linear-gradient(rgba(217, 174, 69, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 174, 69, .04) 1px, transparent 1px);
    background-size: auto, 40px 40px, 40px 40px;
}
.so-hero__inner { position: relative; max-width: 66ch; margin-inline: auto; text-align: center; }
.so-hero__badge {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
    border: 1px solid var(--accent); background: var(--accent-tint); color: var(--accent-hover);
    border-radius: 999px; padding: 7px 16px; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
}
.so-hero .lead { margin-inline: auto; }
.so-hero .form-block { max-width: 520px; margin: 34px auto 0; text-align: left; }

.so-modal { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 20px; }
.so-modal.is-open { display: flex; }
.so-modal__overlay { position: absolute; inset: 0; background: rgba(3, 8, 5, .78); backdrop-filter: blur(4px); }
.so-modal__card {
    position: relative; width: min(480px, 100%); text-align: center;
    background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 36px);
    animation: so-pop .22s cubic-bezier(.2, .6, .2, 1);
}
@keyframes so-pop { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.so-modal__close {
    position: absolute; top: 12px; right: 12px; width: 36px; height: 36px;
    background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
    color: var(--text); font-size: 1.15rem; line-height: 1; cursor: pointer;
}
.so-modal__close:hover { border-color: var(--accent); color: var(--accent); }
.so-modal__title { font-size: 1.5rem; color: var(--accent); margin-bottom: 8px; }
.so-modal__card p { color: var(--muted); font-size: .93rem; }
.so-modal__art { margin: 6px auto 14px; width: 150px; }

/* ---- scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- 404 ---- */
.error-page { text-align: center; padding-block: clamp(70px, 10vw, 130px); }
.error-page__code { font: 700 clamp(4.5rem, 12vw, 7.5rem)/1 var(--font-display); color: var(--accent); letter-spacing: -.03em; margin-bottom: 10px; }

/* ==========================================================================
   HOME HERO — "Esmeralda Dorada" composition
   Full-bleed inline SVG scene (CDMX skyline + gold chart), heading LEFT,
   glass form card RIGHT, trust strip along the bottom.
   ========================================================================== */
.home-hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding: 0 0 clamp(28px, 4vw, 44px);
    background:
        radial-gradient(60rem 34rem at 78% -6%, rgba(30, 181, 133, .13), transparent 64%),
        radial-gradient(46rem 30rem at 12% 110%, rgba(217, 174, 69, .09), transparent 60%),
        var(--bg);
    border-bottom: 1px solid var(--border);
}
.home-hero__scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.home-hero__scene svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-hero .home-hero__grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
    gap: clamp(26px, 4vw, 56px); align-items: center;
    padding-top: clamp(40px, 6vw, 78px);
}
.home-hero__heading { min-width: 0; }
.home-hero__eyebrow {
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
    margin: 0 0 20px; font: 700 11px/1.5 var(--font-body);
    letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.home-hero__eyebrow::before { content: ''; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 5px rgba(217, 174, 69, .14); margin-right: 4px; }
.home-hero__eyebrow b { color: var(--text); font-weight: 700; }
.home-hero__eyebrow span { border-left: 1px solid var(--border); padding-left: 10px; color: var(--muted); }
.home-hero__heading h1 {
    margin: 0; font-family: var(--font-display);
    font-size: clamp(34px, 4.2vw, 60px); font-weight: 700; line-height: 1.08;
    letter-spacing: -.015em; text-wrap: balance;
}
.home-hero__heading h1 em { color: var(--accent); font-style: italic; }
.home-hero__summary { margin: 20px 0 0; max-width: 54ch; font-size: 15px; line-height: 1.8; color: var(--muted); }

.home-hero__form { min-width: 0; position: relative; }
.home-hero__form .form-block {
    width: 100%; margin: 0; padding: clamp(22px, 2.8vw, 32px);
    background: linear-gradient(180deg, rgba(20, 41, 31, .88), rgba(14, 33, 26, .92));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(217, 174, 69, .35); border-radius: 22px;
    border-top: 3px solid var(--accent);
    box-shadow: var(--shadow-lg);
}
.home-hero__form .form-block__heading { font-size: 1.16rem; margin: 0 0 4px; }
.home-hero__form .form-block__card { padding: 0; margin: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.home-hero__form .beacon-form { padding: 0; margin: 0; border: 0; background: transparent; box-shadow: none; border-radius: 0; }
.home-hero__form .beacon-form__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.home-hero__form .beacon-form__row { margin: 0; min-width: 0; }
.home-hero__form .beacon-form__label { display: block; margin: 0 0 6px; font: 600 12px/1.4 var(--font-body); color: var(--muted); }
.home-hero__form .beacon-form__input {
    width: 100%; height: 48px; min-width: 0; padding: 10px 12px;
    border: 1px solid var(--border); background: rgba(8, 21, 17, .8); border-radius: 10px;
    color: var(--text); font: 15px var(--font-body);
}
.home-hero__form .beacon-form__input:focus { outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: none; }
.home-hero__form .beacon-form__submit {
    grid-column: 1 / -1; width: 100%; min-height: 50px; margin: 4px 0 0;
    border: 0; border-radius: 999px; padding: 12px 18px;
    font: 700 14px/1.4 var(--font-body); white-space: normal; box-shadow: none;
    background: linear-gradient(180deg, #E9C568, #C89B32); color: #1C1503;
}
.home-hero__form .beacon-form__submit:hover { filter: brightness(1.08); }
.home-hero__form .form-legal { margin: 14px 0 0; font: 11px/1.7 var(--font-body); color: var(--muted); }
.home-hero__form .form-manager {
    display: flex; align-items: flex-start; gap: 9px; margin: 16px 0 0; padding: 15px 0 0;
    border-top: 1px solid var(--border); background: transparent; color: var(--muted); font: 12px/1.65 var(--font-body);
}
.home-hero__form .form-manager .icon { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }

.home-hero__trust {
    position: relative; z-index: 1;
    margin-top: clamp(20px, 3vw, 34px); padding: 22px 0 0;
    border-top: 1px solid var(--border);
    font: 12px/1.5 var(--font-body); color: var(--muted);
}
.home-hero__trust .hero__meta, .home-hero__trust .hero-meta { margin: 0; }
.home-hero__trust .hero__icons, .home-hero__trust .icon-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 12px 0 0; }
.home-hero__trust a.icon-link { display: inline-flex; align-items: center; min-height: 28px; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; border-radius: 0; font-size: 12px; }
.home-hero__trust .icon, .home-hero__trust .icon-badge { width: 18px; height: 18px; margin-right: 6px; }
.home-hero__trust .flag-chip { font-size: 11px; }
.home-hero__trust .reveal { opacity: 1; transform: none; }

/* hide the old art-panel hooks (kept for hero.js compatibility, unused here) */
.home-hero__art, .home-hero__visual-caption { display: none; }

#mobile-menu { max-height: calc(100dvh - 88px); overflow-y: auto; overscroll-behavior: contain; }
#mobile-menu[hidden] { display: none !important; }
.nav-toggle { min-width: 44px; min-height: 44px; flex-shrink: 0; }

.tv-ticker-wrapper { padding-top: 0 !important; height: 58px !important; }
.iti__selected-country { color: #0F1A14 !important; }

/* ---- responsive ---- */
@media (max-width: 1023px) {
    .footer-cols { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .main-nav { display: none; }
    .header-cta { margin-left: auto; }
    .nav-toggle { display: inline-flex; margin-left: 8px; }
    .hero__grid, .page-hero__grid, .company-grid { grid-template-columns: 1fr; }
    .hero__art { max-width: 560px; }
    .mobile-nav { display: none; }
    .mobile-nav.is-open { display: block; }
    .pre-form { grid-template-columns: 1fr !important; gap: 24px; }
    .split-figure { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
    .home-hero .home-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 34px; }
    .home-hero__form .form-block { padding: 22px 18px; }
    .home-hero__heading h1 { font-size: clamp(30px, 8.6vw, 44px); }
    .home-hero__scene { opacity: .55; }
}
@media (max-width: 480px) {
    .mini-cards { grid-template-columns: 1fr; }
    .btn { font-size: .9rem; }
    .header-cta { padding: 8px 12px; }
    .header-cta__hint { display: none; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .so-countdown__digit { min-width: 38px; font-size: 1.35rem; }
    .header-cta .header-cta__arrow { width: 24px; height: 24px; flex-basis: 24px; padding: 4px; }
    .header-inner { gap: 8px; }
    .header-inner .logo-word { font-size: 12px; white-space: normal; }
    .header-inner .logo svg { flex-shrink: 0; }
    .header-inner .nav-toggle { margin-left: 0; flex-shrink: 0; }
}
@media (max-width: 380px) {
    .header-inner .logo-word { display: none; }
    .site-header .header-cta { display: none; }
}
@media (max-width: 340px) {
    .logo .logo-word { display: none; }
}

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

/* Hero and header refresh — emerald. Existing content and form behavior retained. */
.tv-ticker-wrapper {
  padding-top: 0 !important;
  height: 58px !important;
}
.hero-refresh {
  --refresh-radius: 18px;
  display: block;
  min-height: 0;
  padding: clamp(36px, 5vw, 72px) 0 0;
  background: var(--bg) !important;
  border-bottom: 1px solid var(--border);
}
.home-hero.hero-refresh::before, .home-hero.hero-refresh::after {
  content: none !important;
}
.hero-refresh > .home-hero__bg,
.hero-refresh > .home-hero__scene,
.hero-refresh > .home-hero__sky {
  display: block;
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 65%;
  max-height: 520px;
  opacity: .2;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, transparent, #000 45%);
}
.hero-refresh > .home-hero__bg svg,
.hero-refresh > .home-hero__scene svg,
.hero-refresh > .home-hero__sky svg { display: block; width: 100%; height: 100%; }
.home-hero.hero-refresh .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  grid-template-areas: 'heading form' 'details form' 'art form' 'trust trust';
  align-items: start;
  gap: 24px clamp(28px, 5vw, 72px);
  position: relative;
  z-index: 2;
  padding-top: 0;
  padding-bottom: 0;
}
.hero-refresh .home-hero__heading {
  grid-area: heading;
  min-width: 0;
  padding: 14px 0 0;
  text-align: left;
  align-self: start;
}
.hero-refresh .home-hero__heading::before { content: none; }
.home-hero.hero-refresh .home-hero__eyebrow {
  display: inline-flex;
  width: fit-content;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 24px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  font: 600 11px/1.5 var(--font-body);
  letter-spacing: .07em;
  color: var(--muted) !important;
}
.hero-refresh .home-hero__eyebrow::after { content: none; }
.hero-refresh .home-hero__eyebrow b { color: var(--text); }
.hero-refresh .home-hero__eyebrow span { padding-left: 10px; border-left: 1px solid var(--border); }
.home-hero.hero-refresh .home-hero__heading h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(34px, 3.9vw, 56px);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 600;
  text-align: left;
  text-wrap: balance;
  overflow-wrap: anywhere;
  color: var(--text) !important;
}
.home-hero.hero-refresh .home-hero__heading h1 em { color: #D9AE45 !important; }
.home-hero.hero-refresh .home-hero__summary {
  margin: 24px 0 0;
  max-width: 52ch;
  text-align: left;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
.hero-refresh .home-hero__details { display: block !important; grid-area: details; }
.hero-refresh .home-hero__details .home-hero__summary { margin: 0; }
.hero-refresh .home-hero__form { grid-area: form; align-self: start; width: 100%; min-width: 0; margin: 0; padding: 0; }
.home-hero.hero-refresh .home-hero__form .form-block {
  position: relative;
  margin: 0;
  padding: clamp(22px, 2.6vw, 34px) !important;
  border: 1px solid var(--border) !important;
  border-top: 3px solid #D9AE45 !important;
  border-radius: var(--refresh-radius) !important;
  background: var(--surface) !important;
  box-shadow: 0 20px 55px color-mix(in srgb, #D9AE45 10%, transparent) !important;
  color: var(--text);
}
.hero-refresh .home-hero__form .form-block::before,
.hero-refresh .home-hero__form .form-block::after { content: none; }
.hero-refresh .home-hero__form .form-block__heading { margin-bottom: 22px; font: 600 22px/1.3 var(--font-display); color: var(--text); }
.hero-refresh .home-hero__form .form-block__card { padding: 0; border: 0; background: transparent; box-shadow: none; }
.hero-refresh .home-hero__form .beacon-form__form { gap: 16px; }
.home-hero.hero-refresh .home-hero__form .beacon-form__input {
  min-height: 50px;
  font-size: 16px;
  border-radius: 8px !important;
  border: 1px solid var(--border) !important;
  background: var(--bg) !important;
  color: var(--text);
}
.home-hero.hero-refresh .home-hero__form .beacon-form__input:focus {
  outline: 2px solid #D9AE45; outline-offset: 2px;
}
.home-hero.hero-refresh .home-hero__form .beacon-form__submit {
  min-height: 52px;
  border-radius: 8px !important;
  background: #D9AE45 !important;
  color: #081511 !important;
  font: 700 14px/1.4 var(--font-body);
  box-shadow: none !important;
}
.hero-refresh .home-hero__art {
  grid-area: art;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(150px, .8fr);
  position: relative;
  width: 100%;
  min-height: 180px;
  margin: 0;
  padding: 0;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--refresh-radius);
  overflow: hidden;
}
.home-hero.hero-refresh .home-hero__visual-caption {
  display: block !important;
  position: static;
  inset: auto;
  max-width: none;
  padding: 22px;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}
.hero-refresh .home-hero__visual-caption > strong { color: var(--text); font-size: 20px; }
.hero-refresh .home-hero__visual-caption > span { color: var(--muted); }
.hero-refresh .home-hero__visual-caption > p { color: #D9AE45; }
.home-hero.hero-refresh .home-hero__art > div:not(.home-hero__visual-caption) {
  position: relative; display: block; width: 100%; height: 200px; margin: 0; padding: 0; min-height: 0;
}
.home-hero.hero-refresh .home-hero__art svg { display: block; width: 100%; height: 200px; max-width: 100%; object-fit: contain; }
.home-hero.hero-refresh .home-hero__trust {
  grid-area: trust;
  grid-column: 1 / -1;
  padding: 24px 0;
  margin: 8px 0 0;
  border-top: 1px solid var(--border);
}
.hero-refresh > .hero-band { position: relative; z-index: 2; margin-top: 28px; padding-block: 22px; }
.header-refresh.site-header .header-cta {
  min-height: 48px;
  padding: 7px 8px 7px 18px;
  gap: 18px;
  border: 1px solid #D9AE45 !important;
  border-radius: 18px !important;
  background: var(--surface) !important;
  color: var(--text) !important;
  box-shadow: none !important;
  text-align: left;
  text-transform: none;
  transition: background .18s ease, transform .18s ease;
}
.header-refresh .header-cta__label { font: 700 13px/1.3 var(--font-body); letter-spacing: 0; }
.header-refresh .header-cta__hint { font: 400 10px/1.3 var(--font-body); opacity: 1; color: var(--muted); }
.header-refresh .header-cta .header-cta__arrow {
  width: 32px; height: 32px; flex: 0 0 32px;
  padding: 7px; border: 0; border-radius: 6px;
  background: #D9AE45; color: #081511;
}
.header-refresh.site-header .header-cta:hover {
  background: color-mix(in srgb, #D9AE45 10%, var(--surface)) !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}
.header-refresh.site-header .header-cta:focus-visible { outline: 2px solid #D9AE45; outline-offset: 4px; }
@media (max-width: 900px) {
  .home-hero.hero-refresh .home-hero__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding-block: 0;
  }
  /* Expose heading children so the form comes immediately after the title. */
  .hero-refresh .home-hero__heading { display: contents; }
  .home-hero.hero-refresh .home-hero__heading > .home-hero__eyebrow { order: 0; margin: 0; }
  .home-hero.hero-refresh .home-hero__heading > h1 { order: 1; }
  .hero-refresh .home-hero__form { order: 2; align-self: center; }
  .home-hero.hero-refresh .home-hero__heading > .home-hero__summary,
  .hero-refresh .home-hero__details { order: 3; margin: 0; }
  .hero-refresh .home-hero__heading > .home-hero__trust-inline,
  .hero-refresh .home-hero__heading > .hero__trust { order: 4; margin: 0; }
  .hero-refresh .home-hero__art { order: 5; }
  .hero-refresh .home-hero__trust { order: 6; }
  .home-hero.hero-refresh .home-hero__heading h1 { font-size: clamp(32px, 6.5vw, 52px); max-width: 22ch; }
  .hero-refresh .home-hero__form { max-width: 600px; justify-self: center; }
  .home-hero.hero-refresh .home-hero__art { max-width: 660px; }
  .hero-refresh > .home-hero__bg, .hero-refresh > .home-hero__scene, .hero-refresh > .home-hero__sky { height: 45%; opacity: .12; }
}
@media (max-width: 480px) {
  .hero-refresh { padding-top: 28px; }
  .home-hero.hero-refresh .home-hero__eyebrow { margin-bottom: 20px; font-size: 10px; letter-spacing: .03em; }
  .home-hero.hero-refresh .home-hero__summary { margin-top: 18px; font-size: 14px; line-height: 1.75; }
  .home-hero.hero-refresh .home-hero__details .home-hero__summary { margin-top: 0; }
  .home-hero.hero-refresh .home-hero__form .form-block { padding: 22px 18px !important; }
  .home-hero.hero-refresh .home-hero__art { grid-template-columns: minmax(0, 1fr) 125px; min-height: 150px; }
  .home-hero.hero-refresh .home-hero__visual-caption { padding: 16px; }
  .home-hero.hero-refresh .home-hero__art > div:not(.home-hero__visual-caption),
  .home-hero.hero-refresh .home-hero__art svg { height: 150px; }
  .header-refresh.site-header .header-cta { min-height: 44px; padding: 6px 7px 6px 12px; gap: 10px; }
  .header-refresh .header-cta__hint { display: none; }
  .header-refresh .header-cta__label { font-size: 12px; }
  .header-refresh .header-cta .header-cta__arrow { width: 28px; height: 28px; flex-basis: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .header-refresh.site-header .header-cta, .header-refresh .header-cta__arrow { transition: none; transform: none; }
}

/* Home page: readable type, consistent spacing and responsive media. */
.home-page > .section { padding-block: clamp(44px, 6vw, 80px) !important; }
.home-page > .exchange-row { padding-block: 36px; }
.home-page .section-head, .home-page .section__head { margin-bottom: clamp(24px, 3vw, 36px); }
.home-page :is(.section-head, .section__head) h2 { line-height: 1.25; text-wrap: balance; }
.home-page :is(.lead, .section-lead) { max-width: 65ch; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; }
.home-page :is(.card, .cell, .step, .step-card, .steps__item) { min-width: 0; }
.home-page :is(.card, .cell) h3 { align-items: flex-start; line-height: 1.4; overflow-wrap: anywhere; }
.home-page :is(.card, .cell, .step, .step-card, .steps__item) p { font-size: 16px; line-height: 1.75; }
.home-page :is(.grid, .card-grid, .adv-grid, .mini-cards, .company-cards) { gap: 20px; }
.home-page .compartment { gap: 20px; background: transparent; border: 0; }
.home-page .compartment > .cell { border: 1px solid var(--border); }
.home-page .reviews__grid { background: transparent; border: 0; }
.home-page .feature-figure { margin-inline: 0; }
.home-page .feature-figure img { display: block; width: 100%; height: auto; }
.home-page > section > .feature-figure { width: calc(100% - 32px); max-width: 1120px; margin-inline: auto; }
.home-page .feature-figure figcaption {
  padding: 14px 18px !important;
  font-size: 14px !important;
  line-height: 1.65;
  letter-spacing: 0;
  text-transform: none;
}
.home-page :is(.reviews-grid, .reviews__grid, .reviews) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}
.home-page :is(.review__head, .review-card__head) { align-items: flex-start; }
.home-page :is(.review__head, .review-card__head) > div { min-width: 0; }
.home-page :is(.review__name, .review-card__name) { font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.home-page :is(.review__role, .review-card__role) { margin-top: 5px; font-size: 14px; line-height: 1.5; letter-spacing: .01em; text-transform: none; }
.home-page :is(.review__body, .review__text, .review-card blockquote) { font-size: 16px; line-height: 1.75; }
.home-page :is(.review__stats dt, .review__stat span, .review-stat) { font-size: 13px; line-height: 1.5; letter-spacing: .01em; text-transform: none; }
.home-page :is(.review__stats dd, .review__stat b, .review-stat strong) { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.home-page .review__stat { min-width: 0; padding: 10px 8px; }
.home-page :is(.reviews-note, .reviews__note, .exchanges__note) { font-size: 14px; line-height: 1.75; }
.home-page .btn { min-height: 48px; max-width: 100%; white-space: normal; text-align: center; line-height: 1.5; }
.home-page .hero-refresh .home-hero__form .beacon-form__label, .home-page .beacon-form__label { font-size: 14px; line-height: 1.45; }
.home-page .form-legal { font-size: 13px !important; line-height: 1.7 !important; }
.home-page .form-block > .form-block__heading { margin-bottom: 16px; }
.home-page .form-manager { font-size: 14px !important; line-height: 1.65 !important; color: var(--muted) !important; align-items: flex-start; }
.home-page .hero-refresh .home-hero__eyebrow { font-size: 12px; letter-spacing: .03em; }
.home-page .hero-refresh .home-hero__summary { font-size: 16px; line-height: 1.75; }
.home-page .home-hero__visual-caption > span, .home-page .home-hero__visual-caption > p { font-size: 12px; line-height: 1.5; }
.home-page .hero__scanlines { display: none; }
.home-page :is(.faq-q, .faq-item__btn) { min-height: 56px; padding: 18px 20px; font-size: 16px; line-height: 1.55; }
.home-page :is(.faq-a, .faq-item__panel) { font-size: 16px; line-height: 1.75; }
.home-page .pre-form {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px) !important;
  gap: clamp(24px, 4vw, 48px) !important;
}
.home-page .pre-form > * { min-width: 0; }
.home-page .calc-widget__subtitle { font-size: 16px; line-height: 1.75; margin-bottom: 32px; }
.home-page .calc-widget__wrapper { gap: clamp(24px, 4vw, 56px); margin-bottom: 32px; }
.home-page .calc-widget__controls { gap: 32px; }
.home-page .calc-widget__cta { min-height: 48px; padding: 12px 24px; max-width: 100%; font-size: 16px; line-height: 1.5; }
@media (min-width: 641px) {
  .home-page :is(.grid--2, .grid--3, .card-grid--3, .adv-grid):has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .home-page .compartment--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .home-page .pre-form { grid-template-columns: minmax(0, 1fr) !important; }
  .home-page .pre-form > .form-block { width: 100%; max-width: 600px; justify-self: center; }
}
@media (max-width: 640px) {
  .home-page :is(.compartment--2, .compartment--3, .compartment--4) { grid-template-columns: minmax(0, 1fr); }
  .home-page :is(.card, .cell, .step, .step-card, .review) { padding: 22px 20px; }
  .home-page :is(.company-grid, .pre-form) { gap: 28px !important; }
  .home-page .calc-widget__wrapper { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 360px) and (max-width: 480px) {
  .home-page .review__stats:has(> .review__stat) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
