/* ════════════════════════════════════════════════════════════════════════
   TAVORA BRUNESIA — hoja de estilos del sitio
   Perfil: geo-adapted · editorial cálido · borgoña #7C2D3E / crema #F7F2E9 /
   cobre #B4763B · Playfair Display (títulos) + Inter (texto)
   ════════════════════════════════════════════════════════════════════════ */

/* ── Fuentes locales (subconjunto latin, woff2) ─────────────────────────── */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/playfair-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/playfair-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
}

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
    --bg: #F7F2E9;
    --surface: #FCF9F3;
    --surface-2: #F1E2DC;
    --border: #E2D6C3;
    --text: #2B2320;
    --text-muted: #6B5F57;
    --accent: #7C2D3E;
    --accent-hover: #6A2436;
    --accent-tint: #F3E3DC;
    --accent-deep: #5A1F2C;
    --copper: #B4763B;
    --copper-ink: #8F5A22;
    --copper-tint: #F0E4D2;
    --gold: #C89B3C;
    --cream-text: #FCF9F3;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(43, 35, 32, .07), 0 2px 8px rgba(43, 35, 32, .05);
    --shadow-md: 0 2px 4px rgba(43, 35, 32, .06), 0 10px 28px rgba(43, 35, 32, .09);
    --shadow-lg: 0 4px 10px rgba(43, 35, 32, .07), 0 22px 48px rgba(43, 35, 32, .13);

    --container-w: 1200px;
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img, svg, iframe, video, canvas { max-width: 100%; }

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.18;
    color: var(--text);
    margin: 0 0 .5em;
    overflow-wrap: break-word;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-family: var(--font-body); font-weight: 650; letter-spacing: .02em; }
h3 { font-size: 1.18rem; font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--copper-ink); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

:focus-visible {
    outline: 3px solid var(--copper);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: var(--container-w);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 40px);
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -52px;
    z-index: 400;
    background: var(--accent);
    color: var(--cream-text);
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: top .16s ease;
}
.skip-link:focus { top: 12px; color: var(--cream-text); text-decoration: none; }

.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 14px; height: 14px; }

.text-muted { color: var(--text-muted); }

/* ── Encabezado fijo ────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(247, 242, 233, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .18s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 74px;
}

.brand { display: inline-flex; align-items: center; color: var(--accent); }
.brand svg { height: 40px; width: auto; display: block; }
.brand__fallback { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--accent); }

/* ── Navegación con menús desplegables ──────────────────────────────────── */
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__item { position: relative; }

.site-nav__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: var(--text);
    font: 600 .92rem/1 var(--font-sans);
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.site-nav__trigger:hover { background: var(--accent-tint); color: var(--accent); }

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 262px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    z-index: 210;
}
.dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 26px;
    width: 12px;
    height: 12px;
    background: var(--surface);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: rotate(45deg);
}
.dropdown--right { left: auto; right: 0; }
.dropdown--right::before { left: auto; right: 26px; }

.site-nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown__title {
    margin: 4px 10px 8px;
    font: 700 .78rem/1 var(--font-sans);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--copper-ink);
}
.dropdown__list { list-style: none; margin: 0; padding: 0; }
.dropdown__link {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--text);
    font-size: .93rem;
    transition: background .13s ease, color .13s ease;
}
.dropdown__link:hover, .dropdown__link:focus-visible { background: var(--accent-tint); color: var(--accent); text-decoration: none; }

/* ── Botones ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    font: 600 .95rem/1.2 var(--font-sans);
    cursor: pointer;
    white-space: nowrap;
    transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.btn-primary {
    background: var(--accent);
    color: var(--cream-text);
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover, .btn-primary:focus-visible {
    background: var(--accent-hover);
    color: var(--cream-text);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}
.btn-outline {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
}
.btn-outline:hover, .btn-outline:focus-visible {
    background: var(--accent);
    color: var(--cream-text);
    text-decoration: none;
}
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-header { flex: none; }

/* ── Hero editorial de Buenos Aires ─────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(180, 118, 59, .12), transparent 70%),
        linear-gradient(180deg, #F3E7D2 0%, var(--bg) 62%);
}
.hero__art { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.hero__art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}
.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: minmax(0, 1fr) minmax(0, 420px);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
    padding-block: clamp(48px, 7vw, 88px) clamp(64px, 8vw, 104px);
}
.hero__copy { max-width: 620px; }

.hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font: 600 .8rem/1 var(--font-sans);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--copper-ink);
}
.hero__kicker::before { content: ""; width: 34px; height: 2px; background: var(--copper); border-radius: 2px; }

.hero__title { margin-bottom: .4em; }
.hero__title .accent {
    font-style: italic;
    font-weight: 500;
    color: var(--copper-ink);
}
.hero__lead { font-size: 1.08rem; color: var(--text-muted); max-width: 54ch; }

.hero__market {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 14px;
    font-weight: 600;
    color: var(--text);
}
.hero__market .icon { color: var(--copper-ink); }

.hero__meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }
.trust-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-pill);
    color: var(--accent);
    font: 600 .88rem/1 var(--font-sans);
    transition: background .15s ease, color .15s ease;
}
.trust-link:hover { background: var(--accent); color: var(--cream-text); text-decoration: none; }

.hero__risk { font-size: .85rem; color: var(--text-muted); margin: 0; }

.hero__form { position: relative; z-index: 3; }
@media (min-width: 960px) {
    .hero__form { margin-bottom: -64px; }   /* la tarjeta flota sobre el borde inferior de la banda */
    .hero__inner { padding-bottom: clamp(88px, 10vw, 128px); }
    .exchanges { padding-top: 92px; }
}

@media (max-width: 959px) {
    .hero__inner { grid-template-columns: 1fr; padding-bottom: 56px; }
    .hero__form { max-width: 560px; }
}

/* ── Bloque de formulario (formFactory) ─────────────────────────────────── */
.form-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: clamp(20px, 3vw, 30px);
}
.form-block__headline {
    font-family: var(--font-serif);
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 6px;
}
.form-block__intro { font-size: .92rem; color: var(--text-muted); margin: 0 0 12px; }
.form-legal { font-size: .8rem; color: var(--text-muted); margin: 12px 0 0; }
.form-manager {
    font-size: .8rem;
    color: var(--copper-ink);
    border-left: 3px solid var(--copper);
    padding-left: 10px;
    margin: 10px 0 0;
}

/* ── Secciones ──────────────────────────────────────────────────────────── */
.section { padding-block: clamp(52px, 7vw, 84px); }
.section--surface {
    background:
        linear-gradient(180deg, rgba(226, 214, 195, .35), rgba(226, 214, 195, .12)),
        var(--surface-2);
    border-block: 1px solid var(--border);
}
.section--band {
    background:
        radial-gradient(800px 340px at 12% 0%, rgba(180, 118, 59, .18), transparent 70%),
        linear-gradient(168deg, #5A1F2C 0%, #6B2635 100%);
    color: #F7F2E9;
}
.section--band h2 { color: #F7F2E9; }
.section--band p { color: #E4D2C8; }
.section--band .card { background: rgba(247, 242, 233, .06); border-color: rgba(247, 242, 233, .25); box-shadow: none; }
.section--band .card h3 { color: #F7F2E9; }
.section--band .card p { color: #E4D2C8; }
.section--band .card__num { background: #B4763B; color: #2B2320; }
.section--decor {
    background:
        radial-gradient(700px 320px at 8% 0%, rgba(124, 45, 62, .06), transparent 65%),
        radial-gradient(600px 300px at 95% 100%, rgba(180, 118, 59, .09), transparent 65%),
        var(--bg);
}
.section--calc {
    background:
        radial-gradient(900px 420px at 92% 12%, rgba(180, 118, 59, .07), transparent 68%),
        repeating-linear-gradient(90deg, transparent 0 calc(100% / 3 - 1px), rgba(226, 214, 195, .6) calc(100% / 3 - 1px) calc(100% / 3)),
        var(--surface);
    border-block: 1px solid var(--border);
}

.section__head { max-width: 720px; margin-bottom: clamp(24px, 4vw, 44px); }
.section__head .lead { font-size: 1.04rem; color: var(--text-muted); }
.section__head h2::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    margin-top: 14px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--copper), var(--gold));
}

.tag {
    display: inline-block;
    margin: 0 0 12px;
    padding: 5px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface);
    font: 600 .76rem/1 var(--font-sans);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--copper-ink);
}
.tag--accent { border-color: var(--accent); color: var(--accent); background: var(--accent-tint); }

/* ── Grillas y tarjetas ─────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 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);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover, .card:focus-within {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}
a.card { text-decoration: none; }
a.card:hover h3 { color: var(--accent); }
.card h3 { margin: 4px 0 2px; }
.card p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.card > p:last-child { margin-top: auto; }

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 13px;
    background: var(--accent-tint);
    color: var(--accent);
    flex: none;
}
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge--copper { background: var(--copper-tint); color: var(--copper-ink); }

.stagger > *:nth-child(even) { transform: translateY(14px); }
.stagger > *:nth-child(even):hover { transform: translateY(11px); }

/* ── Pasos numerados ────────────────────────────────────────────────────── */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}
.step { position: relative; padding-top: 6px; }
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--cream-text);
    font: 600 .88rem/1 var(--font-sans);
    margin-bottom: 12px;
}
.step h3 { font-size: 1.08rem; }
.step p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* ── Tablas ─────────────────────────────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
thead th {
    background: var(--surface-2);
    color: var(--text);
    font: 600 .82rem/1.3 var(--font-sans);
    letter-spacing: .05em;
    text-transform: uppercase;
    text-align: left;
    padding: 14px 16px;
    border-bottom: 2px solid var(--border);
}
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(239, 231, 218, .45); }
td.yes { color: var(--accent); font-weight: 600; }
td.no { color: var(--text-muted); }

/* ── Chips de exchanges ─────────────────────────────────────────────────── */
.exchanges { padding-block: clamp(30px, 4vw, 44px); border-bottom: 1px solid var(--border); }
.exchanges__label {
    text-align: center;
    font: 600 .78rem/1.4 var(--font-sans);
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 16px;
}
.exchanges__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip {
    display: inline-flex;
    align-items: center;
    padding: 9px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.02rem;
    color: var(--text-muted);
}

/* ── Reseñas ────────────────────────────────────────────────────────────── */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 22px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.review:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.review__photo { display:block; width:64px; height:64px; object-fit:cover; border-radius:50%; flex:0 0 64px; border:1px solid var(--border); }
.avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-tint);
    border: 1.5px solid var(--copper);
    color: var(--accent);
    flex: none;
}
.avatar-fallback .icon { width: 30px; height: 30px; }
.review__name { font-weight: 600; margin: 0; }
.review__meta { font-size: .82rem; color: var(--text-muted); margin: 2px 0 8px; }
.review p:last-child { margin-bottom: 0; }
.reviews-note {
    margin-top: 20px;
    font-size: .84rem;
    color: var(--text-muted);
    text-align: center;
}

/* ── FAQ en tarjetas con borde ──────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 4px 20px;
}
.faq details[open] { border-color: var(--copper); }
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--copper-ink); transition: transform .16s ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { color: var(--text-muted); margin: 0 0 16px; }

/* ── Notas y cajas ──────────────────────────────────────────────────────── */
.note-box {
    background: var(--copper-tint);
    border: 1px solid var(--border);
    border-left: 4px solid var(--copper);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    font-size: .95rem;
}
.note-box p { margin: 0; }
.note-box p + p { margin-top: 8px; }

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

/* ── Héroes de páginas internas ─────────────────────────────────────────── */
.page-hero {
    background:
        radial-gradient(800px 300px at 90% -20%, rgba(124, 45, 62, .07), transparent 70%),
        var(--bg);
    border-bottom: 1px solid var(--border);
}
.page-hero .lead { font-size: 1.06rem; color: var(--text-muted); max-width: 62ch; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(28px, 4vw, 52px); align-items: start; }
@media (max-width: 959px) { .split { grid-template-columns: 1fr; } }

/* ── Breadcrumbs ────────────────────────────────────────────────────────── */
.breadcrumbs { border-bottom: 1px solid var(--border); background: var(--surface); }
.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 12px 0;
    font-size: .84rem;
    color: var(--text-muted);
}
.breadcrumbs__list a { color: var(--copper-ink); }
.breadcrumbs__list li + li::before { content: "/"; margin-right: 6px; color: var(--border); }

/* ── Ilustración de empresa ─────────────────────────────────────────────── */
.company-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.company-fig { margin: 0; }
.company-fig img, .company-fig svg { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.company-fig figcaption { font-size: .82rem; color: var(--text-muted); margin-top: 10px; }
@media (max-width: 900px) { .company-grid { grid-template-columns: 1fr; } }

/* ── Documentación legal ────────────────────────────────────────────────── */
.legal h2 { margin-top: 1.6em; }
.legal h3 { margin-top: 1.3em; font-size: 1.05rem; }
.legal p, .legal li { color: var(--text); max-width: 78ch; }
.legal ul { padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }

/* ── Pie de página ──────────────────────────────────────────────────────── */
.site-footer {
    background:
        radial-gradient(900px 400px at 100% 0%, rgba(180, 118, 59, .18), transparent 60%),
        var(--accent-deep);
    color: var(--cream-text);
    padding: clamp(44px, 6vw, 72px) 0 26px;
    margin-top: 0;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.3fr) repeat(4, minmax(150px, 1fr));
    gap: 30px 24px;
}
@media (max-width: 980px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

.brand-footer svg { height: 44px; width: auto; }
.site-footer__tagline { font-size: .92rem; color: #E4D3C4; margin: 16px 0 14px; max-width: 34ch; }
.site-footer__mail, .site-footer__office { font-size: .88rem; color: #E4D3C4; display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.site-footer a { color: #F0D3B2; }
.site-footer a:hover { color: var(--cream-text); }
.site-footer__col h3 {
    font-family: var(--font-sans);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #E8C39A;
    margin-bottom: 14px;
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: 9px; }
.site-footer__col a { font-size: .9rem; text-decoration: none; }
.site-footer__col a:hover { text-decoration: underline; }

.site-footer__disclaimer {
    margin-top: 40px;
    padding: 20px 22px;
    border: 1px solid rgba(247, 242, 233, .25);
    border-radius: var(--radius);
    background: rgba(247, 242, 233, .06);
}
.site-footer__disclaimer h3 { font-size: 1rem; margin-bottom: 6px; color: #F0D3B2; }
.site-footer__disclaimer p { margin: 0; font-size: .88rem; color: #E4D3C4; }

.site-footer__bottom { margin-top: 26px; border-top: 1px solid rgba(247, 242, 233, .2); padding-top: 18px; }
.site-footer__bottom p { margin: 0; font-size: .82rem; color: #D9C2B0; }

/* ── Menú móvil ─────────────────────────────────────────────────────────── */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--accent);
    cursor: pointer;
}
.mobile-menu { border-top: 1px solid var(--border); background: var(--surface); }
.mobile-menu__inner { padding: 16px clamp(16px, 4vw, 40px) 26px; }
.mobile-menu__group { border-bottom: 1px solid var(--border); }
.mobile-menu__group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 2px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.mobile-menu__group summary::-webkit-details-marker { display: none; }
.mobile-menu__group ul { list-style: none; margin: 0 0 12px; padding: 0 10px; }
.mobile-menu__group a { display: block; padding: 8px 4px; font-size: .94rem; }
.mobile-menu .btn { margin-top: 18px; }

@media (max-width: 1080px) {
    .site-nav { display: none; }
    .nav-toggle { display: inline-flex; margin-left: auto; }
    .btn-header { display: none; }
}

/* ── Scroll 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; }
    html { scroll-behavior: auto; }
}

/* ── Canvas decorativo ──────────────────────────────────────────────────── */
.decor-canvas {
    display: block;
    width: 100%;
    height: 170px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
}

/* ── Calculadora ────────────────────────────────────────────────────────── */
.calc-note { text-align: center; font-size: .84rem; color: var(--text-muted); margin-top: 16px; }

/* ── Oferta especial ────────────────────────────────────────────────────── */
.so-strip {
    background: var(--accent-deep);
    color: var(--cream-text);
    font: 600 .8rem/1.4 var(--font-sans);
    letter-spacing: .04em;
    border-bottom: 3px solid var(--copper);
}
.so-strip__inner { display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: center; padding-block: 10px; }
.so-strip__item::before { content: "◆"; color: var(--gold); margin-right: 9px; font-size: .7rem; }

.so-hero {
    background:
        radial-gradient(900px 420px at 100% 0%, rgba(180, 118, 59, .16), transparent 62%),
        repeating-linear-gradient(90deg, transparent 0 119px, rgba(226, 214, 195, .5) 119px 120px),
        var(--bg);
    border-bottom: 1px solid var(--border);
}
.so-hero__grid { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: clamp(28px, 4vw, 52px); align-items: start; }
@media (max-width: 959px) { .so-hero__grid { grid-template-columns: 1fr; } }
.so-reinforce {
    font-size: .88rem;
    color: var(--text-muted);
    border-left: 4px solid var(--copper);
    padding-left: 12px;
    margin-top: 16px;
}

.so-band { background: linear-gradient(120deg, var(--accent-deep), var(--accent)); color: var(--cream-text); }
.so-band__inner { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; }
.so-band h2 { color: var(--cream-text); }
.so-band p { color: #F0DCCB; margin: 0; max-width: 54ch; }

.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(43, 35, 32, .6); }
.so-modal__card {
    position: relative;
    max-width: 470px;
    margin: 7vh auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 28px;
    text-align: center;
}
.so-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    font-size: 24px;
    line-height: 1;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
}
.so-modal__close:hover { background: var(--accent-tint); color: var(--accent); }
.so-modal__card img { width: 100%; max-width: 380px; height: auto; border-radius: 12px; }
.so-modal__card h3 { font-size: 1.6rem; margin: 12px 0 6px; }
.so-modal__card > p { color: var(--text-muted); }

.so-count { display: inline-flex; gap: 7px; align-items: center; margin: 14px 0 18px; }
.so-count__seg {
    display: inline-flex;
    min-width: 56px;
    justify-content: center;
    padding: 9px 6px;
    background: var(--accent-deep);
    color: var(--cream-text);
    border-radius: 10px;
    font: 600 1.45rem/1 var(--font-sans);
    font-variant-numeric: tabular-nums;
}
.so-count__sep { font: 600 1.45rem/1 var(--font-sans); color: var(--accent); }

/* ── Página 404 ─────────────────────────────────────────────────────────── */
.error-page { text-align: center; padding-block: clamp(60px, 9vw, 120px); }
.error-page .code {
    font-family: var(--font-serif);
    font-size: clamp(4.5rem, 12vw, 8rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin: 0 0 8px;
}
.error-page .btn { margin-top: 18px; }

.tv-ticker-wrapper {
    padding-top: 0 !important;
    height: 58px !important;
}

.iti__selected-country, .iti__selected-dial-code {
    color: #18212f !important;
}
