/* ═══════════════════════════════════════════════════════════════════════
   NEXORA CALVARIX — esmeralda profunda / oro cálido / marfil.
   Tipografía: Marcellus (display serif) + Source Sans 3 (texto).
   Estética: plataforma de inversión premium, tarjetas en capas, filos dorados.
   ═══════════════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/latin-marcellus-400.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/latin-sourcesans3-400.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/latin-sourcesans3-600.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/latin-sourcesans3-700.woff2') format('woff2'); }

:root {
    --bg: #f9f6ec;
    --surface: #fffdf6;
    --surface-2: #f1ecdd;
    --border: #e3dcc6;
    --text: #20342a;
    --text-muted: #5d7267;
    --accent: #0c6b4f;
    --accent-hover: #0a5a42;
    --accent-tint: #e7f0e9;
    --gold: #c9a24b;
    --gold-soft: #e3c273;
    --on-accent: #f7f3e6;
    --radius-s: 8px;
    --radius-m: 12px;
    --radius-l: 18px;
    --shadow-s: 0 1px 2px rgba(70, 60, 30, .08);
    --shadow-m: 0 2px 6px rgba(70, 60, 30, .07), 0 16px 36px rgba(70, 60, 30, .12);
    --shadow-l: 0 22px 64px rgba(60, 50, 25, .18);
    --font-body: 'Source Sans 3', system-ui, sans-serif;
    --font-head: 'Marcellus', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0; font-family: var(--font-body); font-size: 16.5px; line-height: 1.66;
    color: var(--text);
    background:
        radial-gradient(1000px 420px at 90% -4%, rgba(201, 162, 75, .12), transparent 60%),
        var(--bg);
    -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video, canvas { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.22; margin: 0 0 .55em; color: #143127; letter-spacing: .005em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { color: #143127; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--accent); color: var(--on-accent); padding: 10px 18px; border-radius: 0 0 var(--radius-s) 0; font-weight: 700; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* layout */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding: clamp(46px, 6vw, 90px) 0; position: relative; }
.section--tint { background: linear-gradient(180deg, #f2eee0, #efe9d7); border-block: 1px solid var(--border); }
.section--alt { background: var(--surface-2); border-block: 1px solid var(--border); }
.section--tight { padding: clamp(28px, 4vw, 52px) 0; }
.section__head { max-width: 780px; margin-bottom: clamp(24px, 4vw, 46px); }
.section__head p { color: var(--text-muted); font-size: 1.07rem; }
main { min-height: 40vh; }

/* header: ivory bar with gold rule */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(249, 246, 236, .94); backdrop-filter: blur(10px); border-bottom: 2px solid var(--gold); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: var(--shadow-m); }
.site-header__inner { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand svg { height: 44px; width: auto; display: block; }
.brand__fallback { font-family: var(--font-head); font-size: 23px; color: #143127; }

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav__trigger {
    display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer;
    font: inherit; font-family: var(--font-head); font-size: 15.5px; color: #2c443a;
    padding: 10px 13px; border-radius: var(--radius-s); letter-spacing: .02em;
}
.site-nav__trigger:hover { background: var(--accent-tint); color: var(--accent); }
.site-nav__trigger .icon { transition: transform .15s ease; }
.site-nav__item { position: relative; }
.site-nav__item.is-open .site-nav__trigger .icon { transform: rotate(180deg); }

.dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; z-index: 120; min-width: 280px; padding: 8px;
    background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--gold);
    border-radius: var(--radius-m); box-shadow: var(--shadow-m);
    opacity: 0; transform: translateY(5px); visibility: hidden;
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.site-nav__item.is-open .dropdown { opacity: 1; transform: translateY(0); visibility: visible; }
.dropdown--right { left: auto; right: 0; }
.dropdown__list { list-style: none; margin: 0; padding: 0; }
.dropdown__link { display: block; padding: 10px 12px; border-radius: var(--radius-s); color: #2c443a; font-size: 15px; }
.dropdown__link:hover, .dropdown__link:focus-visible { background: var(--accent-tint); color: var(--accent); text-decoration: none; }

.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius-s); padding: 9px; cursor: pointer; color: var(--text); }
.nav-toggle .icon { display: block; }
.mobile-menu { border-top: 1px solid var(--border); background: var(--surface); }
.mobile-menu__inner { padding: 14px 0 24px; }
.mobile-menu__group summary { display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; font-family: var(--font-head); font-size: 17px; cursor: pointer; list-style: none; border-bottom: 1px solid var(--border); }
.mobile-menu__group summary::-webkit-details-marker { display: none; }
.mobile-menu__group ul { list-style: none; margin: 0; padding: 6px 4px 12px; }
.mobile-menu__group a { display: block; padding: 9px 10px; border-radius: var(--radius-s); color: #2c443a; font-size: 15.5px; }
.mobile-menu__group a:hover { background: var(--accent-tint); text-decoration: none; }
.mobile-menu .btn { margin-top: 14px; }

/* buttons: emerald solid + gold outline */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; min-height: 50px; font: inherit; font-weight: 700; font-size: 16px;
    border-radius: 999px; border: 1.6px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 22px rgba(12, 107, 79, .28); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 12px 30px rgba(12, 107, 79, .36); }
.btn-secondary { border-color: var(--gold); color: #8a6d3b; background: rgba(201, 162, 75, .07); }
.btn-secondary:hover { background: rgba(201, 162, 75, .15); border-color: var(--gold-soft); }
.btn-block { width: 100%; }
.btn-header { flex: 0 0 auto; }

/* hero: split with serif headline + gold-ringed form card */
.hero { position: relative; overflow: hidden; }
.hero__art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(249, 246, 236, .96) 30%, rgba(249, 246, 236, .72) 55%, rgba(249, 246, 236, .12) 100%); }
.hero__canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 4vw, 60px); align-items: center; padding: clamp(50px, 6.5vw, 100px) 0 clamp(56px, 7vw, 104px); }
.hero__kicker {
    display: inline-block; font-family: var(--font-head); font-size: 13.5px; letter-spacing: .22em; text-transform: uppercase;
    color: #8a6d3b; margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--gold);
}
.hero__title { margin-bottom: .5em; max-width: 13em; }
.hero__lead { font-size: 1.12rem; color: #47604f; max-width: 34em; }
.hero__meta { margin-top: 22px; }
.hero__flags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 6px; }
.hero__flags .label { font-size: 13.5px; color: var(--text-muted); font-weight: 600; }
.flag-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 7px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #2c443a; box-shadow: var(--shadow-s); }
.flag-chip svg { width: 22px; height: 15px; border-radius: 3px; display: block; }
.hero__trust { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.trust-link {
    display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-s);
    color: #2c443a; font-weight: 700; font-size: 14px;
}
.trust-link .icon { color: var(--accent); }
.trust-link:hover { border-color: var(--gold); box-shadow: 0 10px 26px rgba(201, 162, 75, .25); text-decoration: none; }

/* form: ivory card, gold ring */
.form-block {
    position: relative;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l);
    padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-m), 0 0 0 6px rgba(201, 162, 75, .12);
    max-width: 520px;
}
.form-block::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201, 162, 75, .35); border-radius: calc(var(--radius-l) - 6px); pointer-events: none; }
.form-block--additional { max-width: 560px; margin-inline: auto; }
.form-block__headline { font-family: var(--font-head); font-size: 17.5px; margin: 0 0 6px; color: #143127; }
.form-block__intro { color: var(--text-muted); font-size: 14.5px; margin: 0 0 12px; }
.form-legal { font-size: 12.5px; color: var(--text-muted); margin: 12px 0 0; }
.form-legal a { text-decoration: underline; }
.form-manager { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #2c443a; font-weight: 600; margin: 10px 0 0; }
.form-manager .icon { color: var(--accent); flex: 0 0 auto; }
.beacon-form { --bf-text:#20342a; --bf-muted:#5d7267; --bf-line:#e3dcc6; --bf-bg:#faf7ee; --bf-radius:8px; }

/* cards: layered, gold hairline */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
    padding: 26px; box-shadow: var(--shadow-s);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card::after { content: ""; display: block; height: 2px; width: 44px; background: var(--gold); margin-top: 16px; border-radius: 2px; opacity: 0; transition: opacity .18s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow-m); }
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--text-muted); margin: 0; font-size: .97rem; }
.card--link { display: block; color: inherit; }
.card--link:hover { text-decoration: none; }
.card--link::after { opacity: 1; }

.icon-badge {
    display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px;
    border-radius: 50%; background: var(--accent-tint); color: var(--accent);
    border: 1px solid rgba(12, 107, 79, .25); margin-bottom: 16px;
}
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge--sm { width: 40px; height: 40px; }
.icon-badge--sm .icon { width: 20px; height: 20px; }
.icon { display: inline-block; width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 14px; height: 14px; }

/* steps: gold diamond numbers */
.steps { display: grid; gap: 18px; }
.steps:not(.steps--stack) { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 24px 22px 22px; box-shadow: var(--shadow-s); transition: border-color .18s ease, transform .18s ease; }
.step:hover { border-color: var(--gold); transform: translateY(-2px); }
.step__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; margin-bottom: 14px;
    background: linear-gradient(140deg, var(--gold-soft), var(--gold)); color: #241a04; font-weight: 800; font-size: 15px;
    border-radius: 50%; box-shadow: 0 4px 12px rgba(201, 162, 75, .35);
}
.step__num > span { display: block; }
.step h3 { font-size: 1.14rem; }
.step p { color: var(--text-muted); margin: 0; font-size: .96rem; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-m); box-shadow: var(--shadow-s); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
thead th { background: #0a3d2e; text-align: left; padding: 14px 16px; font-family: var(--font-head); font-weight: 400; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; color: #e9dfc2; }
tbody td, tbody th { padding: 14px 16px; border-top: 1px solid var(--border); vertical-align: top; }
tbody th { text-align: left; font-weight: 700; color: #143127; }
tbody tr:nth-child(even) { background: rgba(241, 236, 221, .55); }
.compare-table col.own { background: rgba(201, 162, 75, .12); }
.compare-table td.yes { color: #0a7d43; font-weight: 700; }
.compare-table td.no { color: #b3372f; }

/* reviews: gold rule cards */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review-card { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--radius-m); padding: 24px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 12px; transition: box-shadow .18s ease, transform .18s ease; }
.review-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.review-card__head { display: flex; align-items: center; gap: 14px; }
.review-card__img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-soft); flex: 0 0 auto; }
.review-card__avatar { width: 58px; height: 58px; border-radius: 50%; flex: 0 0 auto; }
.review-card__name { font-weight: 700; margin: 0; color: #143127; }
.review-card__role { margin: 2px 0 0; font-size: 13px; color: var(--text-muted); }
.review-card__text { margin: 0; font-size: .97rem; color: #3a4f44; }
.review-card__stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.stat-chip { background: #f2eee0; border: 1px solid var(--border); border-radius: 999px; padding: 5px 13px; font-size: 12.5px; font-weight: 700; color: #3a4f44; }
.stat-chip strong { color: var(--accent); }
.reviews-note { margin-top: 18px; font-size: 13px; color: var(--text-muted); }

/* faq */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 4px 20px; box-shadow: var(--shadow-s); }
.faq-item summary { cursor: pointer; font-family: var(--font-head); font-size: 1.06rem; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3em; color: var(--gold); flex: 0 0 auto; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--text-muted); margin: 0 0 16px; }

/* exchanges */
.exchanges { text-align: center; }
.exchanges__label { font-family: var(--font-head); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: #8a6d3b; margin-bottom: 20px; }
.exchanges__row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.exchange-chip {
    display: inline-flex; align-items: center; gap: 9px; padding: 11px 22px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
    font-family: var(--font-head); font-size: 15px; color: #2c443a; letter-spacing: .03em; box-shadow: var(--shadow-s);
    transition: border-color .16s ease;
}
.exchange-chip svg { width: 18px; height: 18px; color: var(--accent); }
.exchange-chip:hover { border-color: var(--gold); }

/* calculator */
.calc-frame { max-width: 880px; margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: clamp(16px, 3vw, 34px); box-shadow: var(--shadow-m); }
.calc-note { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 16px; }

/* company */
.company-block { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.company-facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.company-facts li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; color: #3a4f44; }
.company-facts .icon { color: var(--gold); flex: 0 0 auto; margin-top: 3px; }
.company-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.company-cards .card { padding: 20px; }
.company-cards .card h3 { font-size: 1.02rem; margin: 0; }
.company-cards .card::after { display: none; }

/* inner hero */
.page-hero { position: relative; background: linear-gradient(180deg, #f2eee0, var(--bg)); border-bottom: 1px solid var(--border); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; opacity: .55; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(249, 246, 236, .95) 40%, rgba(249, 246, 236, .5)); }
.page-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 52px); align-items: center; padding: clamp(40px, 5vw, 78px) 0; }
.page-hero__lead { color: #47604f; font-size: 1.06rem; }
.page-hero__form { position: relative; z-index: 1; }

/* page content */
.page-content { padding: clamp(36px, 5vw, 68px) 0; }
.page-content h2 { margin-top: 1.7em; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { margin-top: 1.4em; }
.page-content p, .page-content li { color: #3a4f44; }
.page-content .lead { font-size: 1.1rem; color: var(--text-muted); }
.prose { max-width: 820px; }
.prose-wide { max-width: 980px; }

/* breadcrumbs */
.breadcrumbs { background: var(--surface-2); border-bottom: 1px solid var(--border); }
.breadcrumbs__list { display: flex; gap: 8px; list-style: none; margin: 0; padding: 12px 0; font-size: 13.5px; color: var(--text-muted); }
.breadcrumbs__list li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* map */
.map-embed { border: 1px solid var(--border); border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-m); max-width: 880px; }
.map-embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 320px; border: 0; }

/* alerts */
.alert { display: flex; gap: 12px; padding: 16px 20px; border-radius: var(--radius-m); background: rgba(201, 162, 75, .10); border: 1px solid rgba(201, 162, 75, .4); margin: 0 0 20px; }
.alert .icon { color: var(--gold); flex: 0 0 auto; margin-top: 2px; }
.alert p { margin: 0; font-size: .97rem; color: #4a4534; }

/* plans */
.plan-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 28px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.plan-card:hover { transform: translateY(-3px); }
.plan-card--featured { border-color: var(--gold); box-shadow: var(--shadow-m), 0 0 0 5px rgba(201, 162, 75, .14); }
.plan-card__name { font-family: var(--font-head); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: #8a6d3b; }
.plan-card__price { font-family: var(--font-head); font-size: 1.8rem; margin: 8px 0 12px; color: #143127; }
.plan-card ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; font-size: .96rem; }
.plan-card ul li { display: flex; gap: 9px; align-items: flex-start; color: #3a4f44; }
.plan-card ul .icon { color: var(--gold); flex: 0 0 auto; margin-top: 3px; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.timeline li { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--radius-s); padding: 18px 22px; box-shadow: var(--shadow-s); }
.timeline strong { display: block; font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 4px; color: #8a6d3b; }
.timeline p { margin: 0; color: var(--text-muted); font-size: .96rem; }

/* article / vacancy */
.article-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 30px; box-shadow: var(--shadow-s); }
.article-card h2 { font-size: 1.6rem; }
.article-card p { color: #3a4f44; }
.vacancy { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 26px; box-shadow: var(--shadow-s); }
.vacancy__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.vacancy__meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 0; }

/* side visuals */
.side-visual { position: relative; }
.side-visual img, .side-visual svg { width: 100%; height: auto; border-radius: var(--radius-l); box-shadow: var(--shadow-m); display: block; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }

/* footer: deep emerald with gold type */
.site-footer { background: #0a3d2e; color: #d9e3d9; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding: clamp(40px, 5vw, 74px) 0 36px; }
.site-footer__brand .brand svg { height: 40px; }
.site-footer__tagline { color: #9db8a7; font-size: .93rem; margin: 14px 0 10px; max-width: 30em; }
.site-footer__mail { font-size: .93rem; margin: 0; }
.site-footer__mail a { color: #d9e3d9; text-decoration: underline; text-decoration-color: var(--gold); }
.site-footer__col h3 { color: var(--gold-soft); font-family: var(--font-head); font-weight: 400; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__col a { color: #b9cdbc; font-size: .92rem; }
.site-footer__col a:hover { color: #fff; }
.site-footer__disclaimer { border-top: 1px solid rgba(201, 162, 75, .3); padding: 26px 0; }
.site-footer__disclaimer h3 { color: var(--gold-soft); font-size: 1.02rem; margin-bottom: 8px; font-weight: 400; }
.site-footer__disclaimer p { color: #9db8a7; font-size: .88rem; margin: 0; }
.site-footer__bottom { border-top: 1px solid rgba(201, 162, 75, .3); padding: 18px 0 26px; }
.site-footer__bottom p { margin: 0; color: #7fa189; font-size: .85rem; }

/* special offer */
.urgency-strip { background: #0a3d2e; color: #e9dfc2; border-bottom: 2px solid var(--gold); }
.urgency-strip__inner { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; padding: 12px 0; font-size: 13.5px; font-weight: 600; }
.urgency-strip strong { color: var(--gold-soft); }
.so-eyebrow { display: inline-block; font-family: var(--font-head); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: #8a6d3b; border: 1px solid var(--gold); border-radius: 999px; padding: 7px 16px; margin: 0 0 16px; }
.so-reinforce { font-size: 13.5px; color: var(--text-muted); margin: 12px 0 0; }
.countdown { display: flex; gap: 8px; justify-content: center; margin: 18px 0; }
.countdown__seg { background: var(--surface); border: 1px solid var(--gold); border-radius: var(--radius-s); padding: 8px 12px; min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; }
.countdown__seg b { display: block; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.1; color: #143127; }
.countdown__seg span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.so-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.so-modal.is-open { display: block; }
.so-modal__overlay { position: absolute; inset: 0; background: rgba(20, 30, 25, .6); }
.so-modal__content { position: relative; z-index: 1; max-width: 520px; margin: 12vh auto 0; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--radius-l); padding: 30px; box-shadow: var(--shadow-l); }
.so-modal__close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--text-muted); }
.cta-band { background: #0a3d2e; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 220px at 20% 50%, rgba(201, 162, 75, .18), transparent 60%); }
.cta-band__inner { position: relative; padding: clamp(34px, 5vw, 58px) 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band p { margin: 0; font-family: var(--font-head); font-size: 1.22rem; max-width: 30em; color: #f2ecdc; }

/* 404 */
.error-page { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.error-page b { display: block; font-family: var(--font-head); font-size: 4.6rem; color: var(--gold); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* responsive */
@media (max-width: 1080px) {
    .site-nav { display: none; }
    .nav-toggle { display: inline-flex; margin-left: auto; }
    .btn-header { display: none; }
}
@media (min-width: 1081px) { .mobile-menu { display: none; } }
@media (max-width: 960px) {
    .hero__inner { display: flex; flex-direction: column; padding-top: 40px; }
    .hero__copy { display: contents; }
    .hero__kicker { order: -4; }
    .hero__title { order: -3; }
    .hero__form { order: -2; }
    .hero__lead { order: -1; }
    .hero__meta { order: 0; margin-top: 24px; }
    .split, .page-hero__inner, .company-block { grid-template-columns: 1fr; }
    .side-visual { order: 2; }
}
@media (max-width: 640px) {
    .btn { width: 100%; }
    .btn-header { width: auto; }
    .form-block { max-width: 100%; }
    .hero__lead { font-size: 1.02rem; }
}

/* footer responsive (appended fix) */
.site-footer__col { min-width: 0; }
.site-footer__col a { overflow-wrap: anywhere; }
@media (max-width: 1020px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* grid min-content guards (appended fix) */
.split > *, .company-block > *, .page-hero__inner > *, .grid > *, .hero__inner > * { min-width: 0; }
.side-visual { min-width: 0; }
.side-visual img, .side-visual svg { max-width: 100%; }

/* Preserve container gutters after section-specific padding shorthands. */
.container.hero__inner, .container.page-hero__inner, .container.cta-band__inner, .container.mobile-menu__inner {
    padding-inline: clamp(18px, 4.5vw, 44px);
}
.nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
[hidden] { display: none !important; }

/* Form bundle defaults must stay readable on each site's surface. */
.form-block .bf-label, .form-block .bf-legend { color: var(--text-muted); }
.calc-modal__content .bf-label, .calc-modal__content .bf-legend { color: var(--calc-modal-text); }

/* Narrow phones: keep navigation and cards inside the available gutters. */
@media (max-width: 640px) {
    .site-header__inner { gap: 12px; }
    .site-header__inner .brand { flex: 0 1 auto; min-width: 0; }
    .site-header__inner .brand svg { max-width: 100%; }
    .nav-toggle { flex: 0 0 44px; }
    .hero__inner { align-items: stretch; }
    .hero__kicker { align-self: flex-start; max-width: 100%; }
    .hero__trust > a { white-space: normal; }
    .calc-widget__stats { flex-wrap: wrap; gap: 16px; }
    .calc-widget__stat { min-width: 0; max-width: 100%; }
    .calc-widget__stat-value, .calc-widget__total { overflow-wrap: anywhere; }
}
@media (max-width: 400px) {
    .grid-2, .grid-3, .grid-4, .reviews { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) { .btn { white-space: normal; text-align: center; } .hero__title { overflow-wrap: anywhere; } }

/* Ticker dimensions shared by all site designs. */
.tv-ticker-wrapper, [data-bct-root] {
    padding-top: 0 !important;
    height: 58px !important;
}
.review-card__avatar, .review-card__img { object-fit: cover; object-position: center; }

[data-bct-root] > .bct-inner { min-height: 100%; }

/* Home market redesign: CIUDAD DE MÉXICO · MÉXICO. */
.hero--market { --hero-bg:#f7f5e9; --hero-panel:#fffdf5; --hero-ink:#163e32; --hero-muted:#5d7162; --hero-accent:#0c6954; background:var(--hero-bg); isolation:isolate; border-bottom:1px solid var(--border); }
.hero--market .hero__art img { object-fit:cover; object-position:center; opacity:1; }
.hero--market .hero__art::after { background:none; }
.hero--market .hero__inner { grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); padding-top:64px; padding-bottom:78px; gap:clamp(32px,5vw,80px); align-items:center; }
.hero--market .hero__copy { min-width:0; }
.hero--market .hero__kicker { display:block; width:fit-content; padding:0; margin:0 0 22px; border:0; border-radius:0; background:none; color:var(--hero-accent); font:600 11px/1.6 var(--font-body); letter-spacing:.14em; text-transform:uppercase; }
.hero--market .hero__kicker::after, .hero--market .hero__kicker::before { display:none; }
.hero--market .hero__title { color:var(--hero-ink); font-size:clamp(36px,3.6vw,54px); line-height:1.1; letter-spacing:-.025em; max-width:15em; margin:0 0 22px; }
.hero--market .hero__title em { color:var(--hero-accent); font-style:normal; }
.hero--market .hero__lead { color:var(--hero-muted); font-size:16px; line-height:1.75; max-width:35em; margin:0 0 24px; border:0; padding:0; }
.hero__action { display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin:0 0 28px; }
.hero__action > span { font-size:12px; color:var(--hero-muted); }
.hero--market .hero__cta { font:600 14px/1.3 var(--font-body); text-transform:none; letter-spacing:0; min-height:50px; border-radius:10px; clip-path:none; padding:13px 20px; gap:16px; }
.hero__cta svg, .btn-header svg, .mobile-menu .btn svg { width:18px; height:18px; flex:0 0 18px; transition:transform .2s ease; }
.hero__cta:hover svg, .btn-header:hover svg { transform:translateX(3px); }
.market-preview { max-width:390px; padding:16px 20px 12px; border:1px solid var(--border); border-radius:14px; background:var(--hero-panel); box-shadow:0 8px 30px rgba(65,45,20,.04); }
.market-preview__top { display:flex; justify-content:space-between; gap:12px; font:600 12px/1.4 var(--font-body); color:var(--hero-ink); }
.market-preview__top > span { display:flex; gap:7px; align-items:center; }
.market-preview__top i { color:var(--hero-muted); font-size:10px; font-style:normal; font-weight:400; }
.market-token { width:25px; height:25px; border-radius:50%; background:#f5a623; color:#20170a; display:inline-flex; align-items:center; justify-content:center; font:700 19px Arial,sans-serif; }
.market-token--eth { background:var(--accent-tint); color:var(--hero-accent); }
.market-preview__chart { display:block; width:100%; height:56px; margin:8px 0; color:var(--hero-accent); }
.market-preview__bottom { display:flex; justify-content:space-between; gap:10px; font:500 10px/1.5 var(--font-body); color:var(--hero-muted); }
.hero--market .hero__risk { color:var(--hero-muted); font-size:11px; line-height:1.6; margin:12px 0 0; }
.hero--market .hero__meta { margin:18px 0 0; }
.hero--market .hero__trust { margin:0; gap:10px; }
.hero--market .trust-link { padding:7px 10px; font:500 11px/1.4 var(--font-body); text-transform:none; letter-spacing:0; background:transparent; box-shadow:none; border:0; clip-path:none; color:var(--hero-muted); }
.hero--market .trust-link svg { width:17px; height:17px; }
.hero--market .hero__form { width:100%; scroll-margin-top:110px; }
.hero--market .hero__form::before, .hero--market .hero__form::after { display:none; }
.hero--market .hero__form .form-block { max-width:100%; padding:30px; background:var(--hero-panel); border:1px solid var(--border); border-top:3px solid var(--hero-accent); border-radius:18px; clip-path:none; box-shadow:0 24px 70px rgba(65,38,24,.13); }
.hero--market .form-block::before, .hero--market .form-block::after { display:none; }
.hero--market .form-block__headline { color:var(--hero-ink); font:700 24px/1.2 var(--font-head); letter-spacing:-.015em; margin:0 0 10px; }
.hero--market .form-block__intro { color:var(--hero-muted); font:400 13px/1.65 var(--font-body); margin:0 0 20px; }
.hero--market .bf-legend { display:none; }
.hero--market .bf-input { min-height:48px; border-radius:8px; }
.hero--market .bf-label { color:var(--hero-muted); font-size:12px; }
.hero--market .form-legal { font-size:11px; line-height:1.6; margin-top:14px; }
.hero--market .form-manager { font-size:12px; font-weight:400; line-height:1.6; padding-top:12px; border-top:1px solid var(--border); }
.site-header .btn-header { display:inline-flex; gap:15px; min-height:46px; padding:12px 20px; font:600 13px/1.3 var(--font-body); letter-spacing:0; text-transform:none; clip-path:none; border-radius:10px; box-shadow:0 5px 18px color-mix(in srgb,var(--accent) 23%,transparent); transition:transform .2s ease,box-shadow .2s ease; }
.site-header .btn-header:hover { transform:translateY(-2px); box-shadow:0 8px 24px color-mix(in srgb,var(--accent) 35%,transparent); text-decoration:none; }
.header-cta__short { display:none; }
@media(max-width:1080px) { .site-header .btn-header { margin-left:auto; } .site-header .nav-toggle { margin-left:0; } }
@media(max-width:960px) {
 .hero--market .hero__inner { display:grid; grid-template-columns:minmax(0,1fr); padding-top:40px; padding-bottom:48px; gap:30px; }
 .hero--market .hero__copy { display:block; max-width:640px; width:100%; margin-inline:auto; }
 .hero--market .hero__form { order:initial; max-width:520px; margin-inline:auto; }
 .hero--market .hero__art img { object-position:70% center; opacity:.4; }
 .hero--market .hero__art::after { background:linear-gradient(180deg,var(--hero-bg) 0%,transparent 45%,var(--hero-bg) 100%); }
 .hero--market .hero__title { font-size:clamp(32px,5.4vw,46px); }
 .market-preview { max-width:100%; }
}
@media(max-width:640px) {
 .site-header__inner { gap:8px; }
 .site-header .brand { max-width:calc(100% - 145px); }
 .site-header .btn-header { min-height:40px; padding:10px 12px; gap:0; font-size:12px; width:auto; border-radius:8px; }
 .btn-header .header-cta__full, .btn-header svg { display:none; }
 .btn-header .header-cta__short { display:inline; }
 .hero--market .hero__inner { padding-top:32px; }
 .hero--market .hero__kicker { font-size:10px; margin-bottom:18px; }
 .hero--market .hero__lead { font-size:14px; line-height:1.7; }
 .hero--market .hero__cta { width:100%; justify-content:space-between; }
 .hero__action { gap:9px; margin-bottom:22px; }
 .hero__action > span { width:100%; text-align:center; }
 .hero--market .hero__form .form-block { padding:24px 20px; }
 .hero--market .form-block__headline { font-size:23px; }
 .market-preview { padding:14px; }
 .market-preview__top i { display:none; }
}
@media(prefers-reduced-motion:reduce) { .site-header .btn-header, .hero__cta svg, .btn-header svg { transition:none; } }

/* Individual home design. */
.hero--signature .hero__art img{display:none}.hero--signature .hero__art:after{background:none}
.hero--signature .hero__inner{gap:70px;padding-block:68px}.hero--signature .hero__title{font-size:clamp(40px,4.5vw,66px);line-height:1.05;letter-spacing:-.045em}
.hero--signature .hero__lead{font-size:15px;line-height:1.75}.hero--signature .hero__risk{font-size:10px;margin-top:18px}
.hero--signature .signature-visual{margin-top:26px;max-width:100%}.signature-visual small{font-size:9px;line-height:1.6;letter-spacing:.08em}.signature-visual strong{display:block;margin:8px 0 12px}
.hero--signature .form-block__headline{font-size:25px}.hero--signature .bf-submit{min-height:52px;font-weight:700;transition:filter .2s,transform .2s}.hero--signature .bf-submit:hover{filter:brightness(1.08);transform:translateY(-1px)}

.hero--signature{background:#0b493b;--hero-ink:#fff9e9;--hero-muted:#c1d8c9;--hero-accent:#dfc583}.hero--signature .hero__art{background:radial-gradient(ellipse at 5% 0,#2d7455,transparent 65%)}
.hero--signature .hero__art:before{content:"";position:absolute;width:700px;height:950px;left:-300px;top:-160px;border:1px solid #d6ba7155;border-radius:50%;transform:rotate(35deg);box-shadow:0 0 0 45px #d6ba7109,0 0 0 90px #d6ba7109}
.hero--signature .hero__title{font-weight:400;line-height:1.01}.hero--signature .hero__title em{color:#e4cb8d;font-style:italic}
.hero--signature .hero__form{--hero-ink:#163e32;--hero-muted:#5d7162;--hero-accent:#0c6954}.hero--signature .hero__form .form-block{border:0;border-radius:80px 8px 8px 8px;padding:42px 32px 30px;background:#fbf7eb;box-shadow:0 24px 70px #00271f66}.hero--signature .bf-input,.hero--signature .bf-submit{border-radius:7px!important}
.journey{padding-block:20px;border-block:1px solid #b5d2b83b}.journey>small{color:#dfc583}.journey>div{display:flex;justify-content:space-between;align-items:center;margin-top:16px}.journey b{font:30px Georgia;color:#e4cb8d}.journey span{display:block;font:11px var(--font-body);margin-top:6px;color:#e1ebdb}.journey i{color:#8aac91;font-style:normal}

@media(max-width:960px){.hero--signature .hero__inner{grid-template-columns:minmax(0,1fr);gap:32px;padding-block:36px 48px}.hero--signature .hero__copy{order:0;width:100%;max-width:620px;margin-inline:auto}.hero--signature .hero__form,.hero--signature .hero__appwrap{order:1;width:100%;max-width:520px;margin-inline:auto}.hero--signature .hero__title{font-size:clamp(34px,6vw,52px)}.hero--signature .hero__form .form-block{padding:28px}}
@media(max-width:640px){.hero--signature .hero__inner{gap:28px}.hero--signature .hero__kicker{font-size:9px;letter-spacing:.1em}.hero--signature .hero__title{font-size:clamp(32px,8.6vw,45px);line-height:1.08}.hero--signature .hero__lead{font-size:14px}.hero--signature .hero__form .form-block{padding:26px 20px}.hero--signature .form-block__headline{font-size:23px}.hero--signature .signature-visual{margin-top:20px}.network{gap:14px}.core{flex-basis:120px;height:120px}.network strong{font-size:16px}.network small{font-size:8px}.ledger{gap:18px}.ledger strong,.journal strong{font-size:21px}.hero--signature .hero__appwrap{padding:6px;border-radius:30px;box-shadow:5px 8px 0 #b8eb551a}.modules strong{font-size:20px}.modules b{font-size:35px}}

.hero--signature .hero__trust .icon { color:#c1d8c9; }
@media(max-width:640px){ .hero--signature .hero__form .form-block { border-radius:40px 8px 8px 8px; padding-top:32px; } }
