/* ═══════════════════════════════════════════════════════════════════════
   AÑAÑOS CAPITAL — rojo profundo / marfil / bronce. Premium clásico.
   Tipografía: Cormorant Garamond (display) + Work Sans (texto).
   Secciones amplias, doble filete bronce, tarjetas serenas.
   ═══════════════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/latin-cormorantgaramond-600.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/latin-cormorantgaramond-700.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/latin-worksans-400.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/latin-worksans-600.woff2') format('woff2'); }

:root {
    --bg: #faf6ef;
    --surface: #fffdf8;
    --surface-2: #f3ecdf;
    --border: #e5dac6;
    --text: #33221e;
    --text-muted: #7d6a5c;
    --accent: #9c1f2e;
    --accent-hover: #7c181f;
    --accent-tint: #f7e7e4;
    --bronze: #a97b3f;
    --bronze-soft: #c9a05c;
    --on-accent: #fdf8ee;
    --radius-s: 6px;
    --radius-m: 10px;
    --radius-l: 14px;
    --shadow-s: 0 1px 3px rgba(87, 63, 38, .10);
    --shadow-m: 0 3px 8px rgba(87, 63, 38, .08), 0 20px 44px rgba(87, 63, 38, .13);
    --shadow-l: 0 26px 70px rgba(70, 48, 26, .2);
    --font-body: 'Work Sans', system-ui, sans-serif;
    --font-head: 'Cormorant Garamond', 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.68; color: var(--text); background: 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: 600; line-height: 1.2; margin: 0 0 .6em; color: #2a1a15; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
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: #2a1a15; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--accent); color: var(--on-accent); padding: 10px 18px; font-weight: 600; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }

/* layout: secciones amplias, bandas dobles */
.container { width: 100%; max-width: 1150px; margin-inline: auto; padding-inline: clamp(18px, 4.5vw, 44px); }
.section { padding: clamp(52px, 7vw, 104px) 0; position: relative; }
.section--tint { background: var(--surface); border-block: 3px double var(--border); }
.section--alt { background: var(--surface-2); border-block: 1px solid var(--border); }
.section--tight { padding: clamp(30px, 4vw, 56px) 0; }
.section__head { max-width: 740px; margin: 0 auto clamp(28px, 4vw, 52px); text-align: center; }
.section__head h2::after { content: ""; display: flex; width: 90px; height: 5px; margin: 16px auto 0; background: var(--bronze-soft); border-top: 1px solid var(--bronze); border-bottom: 1px solid var(--bronze); }
.section__head p { color: var(--text-muted); font-size: 1.06rem; margin-top: 16px; }
main { min-height: 40vh; }

/* header: marfil con filete bronce */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250, 246, 239, .96); backdrop-filter: blur(10px); border-bottom: 2px solid var(--bronze); 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: 80px; }
.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: 25px; color: #2a1a15; }
.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: 17px; font-weight: 600; color: #4c352c; padding: 10px 13px; border-radius: var(--radius-s); }
.site-nav__trigger:hover { color: var(--accent); background: var(--accent-tint); }
.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(--bronze); 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: #4c352c; 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: 18px; font-weight: 600; 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: #4c352c; font-size: 15.5px; }
.mobile-menu__group a:hover { background: var(--accent-tint); text-decoration: none; }
.mobile-menu .btn { margin-top: 14px; }

/* buttons: rojo sólido con filete bronce */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 32px; min-height: 52px; font: inherit; font-family: var(--font-head); font-weight: 700; font-size: 17px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); border: 1px solid var(--bronze-soft); box-shadow: 0 10px 26px rgba(156, 31, 46, .28); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 14px 34px rgba(156, 31, 46, .36); }
.btn-secondary { border-color: var(--bronze); color: #7c5a2c; background: transparent; }
.btn-secondary:hover { background: rgba(169, 123, 63, .09); border-color: var(--bronze-soft); }
.btn-block { width: 100%; }
.btn-header { flex: 0 0 auto; }

/* hero: split clásico con arco bronce sobre el formulario */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.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(104deg, rgba(250, 246, 239, .97) 32%, rgba(250, 246, 239, .82) 52%, rgba(250, 246, 239, .14) 92%); }
.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.08fr .92fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(54px, 7vw, 106px) 0 clamp(58px, 7vw, 112px); }
.hero__kicker { font-family: var(--font-head); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: #7c5a2c; margin: 0 0 20px; padding: 0 0 10px; position: relative; }
.hero__kicker::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 2px; background: var(--bronze); }
.hero__title { margin-bottom: .5em; }
.hero__lead { font-size: 1.11rem; color: #63513f; max-width: 34em; }
.hero__meta { margin-top: 24px; }
.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: #4c352c; 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: 16px; }
.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: #4c352c; font-weight: 600; font-size: 14px; }
.trust-link .icon { color: var(--accent); }
.trust-link:hover { border-color: var(--bronze); box-shadow: 0 12px 30px rgba(169, 123, 63, .22); text-decoration: none; }

/* form: marco bronce doble */
.form-block { position: relative; background: var(--surface); border: 1px solid var(--bronze); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-m); max-width: 520px; }
.form-block::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(169, 123, 63, .45); border-radius: calc(var(--radius-l) - 5px); pointer-events: none; }
.form-block--additional { max-width: 560px; margin-inline: auto; }
.form-block__headline { font-family: var(--font-head); font-size: 19px; margin: 0 0 6px; color: #2a1a15; }
.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: #4c352c; font-weight: 600; margin: 10px 0 0; }
.form-manager .icon { color: var(--accent); flex: 0 0 auto; }
.beacon-form { --bf-text:#33221e; --bf-muted:#7d6a5c; --bf-line:#e5dac6; --bf-bg:#fbf6ec; --bf-radius:6px; }

/* cards: marfil calmado */
.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: 28px 26px; box-shadow: var(--shadow-s); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--text-muted); margin: 0; font-size: .96rem; }
.card--link { display: block; color: inherit; }
.card--link:hover { text-decoration: none; }
.icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); border: 1px solid rgba(156, 31, 46, .2); margin-bottom: 16px; }
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge--sm { width: 42px; height: 42px; }
.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 */
.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: 26px; box-shadow: var(--shadow-s); }
.step::after { content: ""; position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-top: 1px solid var(--bronze-soft); border-right: 1px solid var(--bronze-soft); border-top-right-radius: 6px; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--font-head); font-weight: 700; font-size: 17px; margin-bottom: 14px; box-shadow: 0 6px 16px rgba(156, 31, 46, .3); }
.step h3 { font-size: 1.2rem; }
.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: #8c1a27; text-align: left; padding: 15px 16px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .04em; color: #f7e3d8; }
tbody td, tbody th { padding: 14px 16px; border-top: 1px solid var(--border); vertical-align: top; }
tbody th { text-align: left; font-weight: 600; color: #2a1a15; }
tbody tr:nth-child(even) { background: rgba(243, 236, 223, .55); }
.compare-table col.own { background: rgba(169, 123, 63, .12); }
.compare-table td.yes { color: #1f7a45; font-weight: 700; }
.compare-table td.no { color: #a33a34; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 26px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 12px; transition: transform .18s ease, box-shadow .18s ease; }
.review-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.review-card__head { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.review-card__img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bronze-soft); flex: 0 0 auto; }
.review-card__avatar { width: 58px; height: 58px; border-radius: 50%; flex: 0 0 auto; border: 1px solid var(--bronze-soft); }
.review-card__name { font-weight: 600; margin: 0; font-family: var(--font-head); font-size: 1.1rem; color: #2a1a15; }
.review-card__role { margin: 2px 0 0; font-size: 13px; color: var(--text-muted); }
.review-card__text { margin: 0; font-size: .97rem; color: #5c4a3d; }
.review-card__stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.stat-chip { background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 5px 13px; font-size: 12.5px; font-weight: 600; color: #5c4a3d; }
.stat-chip strong { color: var(--accent); }
.reviews-note { margin-top: 18px; font-size: 13px; color: var(--text-muted); text-align: center; }

/* faq */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.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.15rem; font-weight: 600; 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(--bronze); 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: 14px; letter-spacing: .16em; text-transform: uppercase; color: #7c5a2c; 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: 16px; font-weight: 600; color: #4c352c; box-shadow: var(--shadow-s); }
.exchange-chip svg { width: 18px; height: 18px; color: var(--accent); }
.exchange-chip:hover { border-color: var(--bronze); }

/* calculator */
.calc-frame { max-width: 880px; margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-top: 3px double var(--bronze); border-radius: var(--radius-l); padding: clamp(16px, 3vw, 36px); 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: #5c4a3d; }
.company-facts .icon { color: var(--bronze); 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: 22px; text-align: center; }
.company-cards .card h3 { font-size: 1.05rem; margin: 0; }

/* inner hero */
.page-hero { position: relative; background: linear-gradient(180deg, var(--surface-2), var(--bg)); border-bottom: 1px solid var(--border); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.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(250, 246, 239, .96) 40%, rgba(250, 246, 239, .55)); }
.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(42px, 5vw, 82px) 0; }
.page-hero__lead { color: #63513f; font-size: 1.06rem; }
.page-hero__form { position: relative; z-index: 1; }

/* page content */
.page-content { padding: clamp(38px, 5vw, 72px) 0; }
.page-content h2 { margin-top: 1.8em; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { margin-top: 1.4em; }
.page-content p, .page-content li { color: #5c4a3d; }
.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); 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(--bronze-soft); }
.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; filter: sepia(.18) saturate(1.02); }

/* alerts */
.alert { display: flex; gap: 12px; padding: 16px 20px; border-radius: var(--radius-m); background: var(--accent-tint); border: 1px solid rgba(156, 31, 46, .25); margin: 0 0 20px; }
.alert .icon { color: var(--accent); flex: 0 0 auto; margin-top: 2px; }
.alert p { margin: 0; font-size: .96rem; color: #5c4a3d; }

/* plans */
.plan-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 30px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; }
.plan-card--featured { border-color: var(--bronze); box-shadow: var(--shadow-m), 0 0 0 4px rgba(169, 123, 63, .12); }
.plan-card__name { font-family: var(--font-head); font-size: 14.5px; letter-spacing: .18em; text-transform: uppercase; color: #7c5a2c; }
.plan-card__price { font-family: var(--font-head); font-size: 1.95rem; font-weight: 700; margin: 8px 0 12px; color: #2a1a15; }
.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: #5c4a3d; }
.plan-card ul .icon { color: var(--bronze); flex: 0 0 auto; margin-top: 3px; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 30px; display: grid; gap: 14px; border-left: 1px solid var(--bronze-soft); }
.timeline li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 18px 22px; box-shadow: var(--shadow-s); }
.timeline li::before { content: ""; position: absolute; left: -37px; top: 24px; width: 13px; height: 13px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.timeline strong { display: block; font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 4px; color: var(--accent); }
.timeline p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* article / vacancy */
.article-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 34px; box-shadow: var(--shadow-s); }
.article-card h2 { font-size: 1.65rem; }
.article-card p { color: #5c4a3d; }
.vacancy { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 28px; 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; border: 1px solid var(--border); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }

/* footer */
.site-footer { background: #2c0f14; color: #e5d3c8; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding: clamp(42px, 5vw, 76px) 0 36px; }
.site-footer__brand .brand svg { height: 42px; }
.site-footer__tagline { color: #b39384; font-size: .93rem; margin: 14px 0 10px; max-width: 30em; font-family: var(--font-head); font-size: 1.02rem; }
.site-footer__mail { font-size: .93rem; margin: 0; }
.site-footer__mail a { color: #e5d3c8; text-decoration: underline; text-decoration-color: var(--bronze-soft); }
.site-footer__col h3 { color: var(--bronze-soft); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__col a { color: #cbb5a6; font-size: .92rem; }
.site-footer__col a:hover { color: #fff; }
.site-footer__disclaimer { border-top: 1px solid rgba(169, 123, 63, .3); padding: 26px 0; }
.site-footer__disclaimer h3 { color: var(--bronze-soft); font-size: 1.05rem; margin-bottom: 8px; }
.site-footer__disclaimer p { color: #b39384; font-size: .88rem; margin: 0; }
.site-footer__bottom { border-top: 1px solid rgba(169, 123, 63, .3); padding: 18px 0 26px; }
.site-footer__bottom p { margin: 0; color: #97705f; font-size: .85rem; }

/* special offer */
.urgency-strip { background: #2c0f14; color: #f0dfd4; border-bottom: 2px solid var(--bronze); }
.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(--bronze-soft); }
.so-eyebrow { display: inline-block; font-family: var(--font-head); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: #7c5a2c; border-bottom: 1px solid var(--bronze); padding-bottom: 5px; 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(--bronze); border-radius: var(--radius-m); 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.55rem; color: var(--accent); }
.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(38, 15, 18, .66); }
.so-modal__content { position: relative; z-index: 1; max-width: 520px; margin: 12vh auto 0; background: var(--surface); border: 1px solid var(--bronze); 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: linear-gradient(115deg, #6e1520, #9c1f2e); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(640px 240px at 82% 50%, rgba(201, 160, 92, .25), transparent 60%); }
.cta-band__inner { position: relative; padding: clamp(36px, 5vw, 60px) 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.3rem; max-width: 30em; color: #fdf3e4; }

/* 404 */
.error-page { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.error-page b { display: block; font-family: var(--font-head); font-size: 5rem; color: var(--bronze); }

/* 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: 42px; }
    .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: 26px; }
    .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%; }
}

/* 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 hero: warm paper, architectural burgundy arch and fine bronze lines. */
.hero--an { background: #f8f0e3; border-bottom: 1px solid #e5d6be; isolation: isolate; }
.hero--an .hero__art img { object-position: center; }
.hero--an .hero__art::after { background: linear-gradient(90deg, rgba(255,252,245,.28), transparent 62%); }
.hero--an .hero__form { position: relative; }
.hero--an .hero__form .form-block { box-shadow: 0 24px 70px rgba(70,27,33,.16), 0 3px 12px rgba(70,27,33,.06); }
@media (max-width: 960px) {
    .hero--an .hero__art img { object-position: 65% center; opacity: .35; }
    .hero--an .hero__art::after { background: linear-gradient(180deg, #fffcf5 0%, rgba(255,252,245,.92) 26%, rgba(248,240,227,.7) 70%, #f8f0e3 100%); }
}

/* Home market redesign: LIMA · PERÚ. */
.hero--market { --hero-bg:#faf5ec; --hero-panel:#fffdf8; --hero-ink:#34221e; --hero-muted:#786554; --hero-accent:#9c1f2e; 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; } }

/* Añaños: open ivory canvas with a market illustration and invitation card. */
.hero--signature { background:#f9f6f0; --hero-ink:#302524; --hero-muted:#766b64; --hero-accent:#912c40; }
.hero--signature .hero__art { background:radial-gradient(ellipse at 85% 30%,#e8d8c5aa,transparent 55%),linear-gradient(125deg,#faf8f3,#f4ede3); }
.hero--signature .hero__art img { display:none; }
.hero--signature .hero__art::after { background:none; }
.hero--signature .hero__art::before { content:""; position:absolute; width:1200px; height:1200px; border:1px solid #bca38822; border-radius:50%; left:20%; top:-650px; box-shadow:0 0 0 65px #bca38808,0 0 0 130px #bca38808; }
.hero--signature .hero__inner { grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:clamp(40px,6vw,90px); padding-block:62px 64px; align-items:center; }
.hero--signature .hero__kicker { border:0; padding:0; font-size:10px; letter-spacing:.17em; color:#92694c; margin-bottom:25px; }
.hero--signature .hero__title { font-size:clamp(42px,4.3vw,64px); line-height:1.04; font-weight:400; letter-spacing:-.045em; margin-bottom:24px; }
.hero--signature .hero__title em { font-style:italic; color:#912c40; }
.hero--signature .hero__lead { max-width:490px; font-size:15px; line-height:1.8; margin-bottom:24px; }
.capital-market { position:relative; border-top:1px solid #d9cbbc; padding-top:16px; margin-top:26px; }
.capital-market__heading,.capital-market__footer { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.capital-market__heading { font:600 8px/1.4 var(--font-body); letter-spacing:.13em; color:#8b7666; }
.capital-market__scene { height:150px; position:relative; }
.capital-market__scene svg { position:absolute; width:100%; height:130px; bottom:0; left:0; }
.capital-coin { position:absolute; z-index:1; display:grid; place-items:center; border-radius:50%; font:46px Georgia; }
.capital-coin--btc { left:28px; top:15px; width:80px; height:80px; color:#9b6f35; background:linear-gradient(145deg,#fff9e5,#e6c78f); border:5px double #b78d4d; transform:rotate(-17deg); box-shadow:6px 9px 0 #c7a26c,12px 16px 25px #80634122; }
.capital-coin--eth { left:120px; top:3px; width:55px; height:55px; color:#914255; background:linear-gradient(145deg,#fff7f6,#e7cad0); border:3px double #b88a91; font-size:31px; transform:rotate(14deg); box-shadow:4px 6px 0 #b68c96; }
.capital-market__footer { color:#766b64; font-size:10px; }
.capital-market__footer i { font-style:normal; margin-inline:6px; color:#ac8a63; }
.capital-market__footer small { font-size:8px; }
.hero--signature .hero__risk { font-size:9px; margin-top:16px; }
.hero--signature .hero__meta { margin-top:12px; }
.hero--signature .trust-link { padding-left:0; font-size:10px; }
.hero--signature .hero__form { padding:0; border-radius:16px; background:#fffdf9; border:1px solid #e0d3c3; box-shadow:0 24px 70px #72533b15,0 4px 12px #72533b08; overflow:hidden; }
.capital-form-label { display:flex; justify-content:space-between; align-items:center; padding:15px 28px; background:#79283b; color:#faf1e4; font:600 9px var(--font-body); letter-spacing:.15em; }
.capital-form-label span:last-child { font:24px/1 Arial; }
.hero--signature .hero__form .form-block { padding:28px; border:0; border-radius:0; background:transparent; outline:none; box-shadow:none; }
.hero--signature .form-block__headline { font:400 31px/1.15 var(--font-head); letter-spacing:-.025em; max-width:300px; margin-bottom:12px; }
.hero--signature .form-block__intro { font-size:12px; line-height:1.7; margin-bottom:24px; }
.hero--signature .bf-input { min-height:48px; border-radius:6px; background:#faf8f4; border-color:#ded7ce; }
.hero--signature .bf-label { color:#5d4d42; font-size:11px; }
.hero--signature .bf-submit { border-radius:6px!important; min-height:52px; background:#8c2d40!important; box-shadow:0 6px 18px #79283b22!important; font-weight:600; }
.hero--signature .bf-submit:hover { background:#702235!important; }
.hero--signature .form-manager { color:#786655; font-size:11px; }
@media(max-width:960px) {
 .hero--signature .hero__inner { grid-template-columns:minmax(0,1fr); gap:30px; padding-block:36px 46px; }
 .hero--signature .hero__copy { max-width:600px; margin-inline:auto; }
 .hero--signature .hero__form { max-width:520px; margin-inline:auto; }
 .hero--signature .hero__title { font-size:clamp(38px,6vw,54px); }
}
@media(max-width:640px) {
 .hero--signature .hero__kicker { font-size:8px; letter-spacing:.11em; margin-bottom:20px; }
 .hero--signature .hero__title { font-size:clamp(34px,9.1vw,44px); }
 .hero--signature .hero__lead { font-size:13px; line-height:1.75; }
 .capital-market { margin-top:20px; }
 .capital-market__heading { font-size:7px; letter-spacing:.07em; }
 .capital-market__scene { height:123px; }
 .capital-market__scene svg { height:100px; }
 .capital-coin--btc { width:60px;height:60px;font-size:35px;left:20px; }
 .capital-coin--eth { width:43px;height:43px;font-size:26px;left:90px; }
 .capital-market__footer { font-size:8px; gap:6px; }
 .capital-market__footer i { margin-inline:3px; }
 .capital-form-label { padding:13px 22px; }
 .hero--signature .hero__form .form-block { padding:24px 22px; }
 .hero--signature .form-block__headline { font-size:28px; }
}
