/* Inter · auto-hospedada (variable, subsets latin + latin-ext) */
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/inter-latin-var.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/inter-latin-ext-var.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}

/* ═══════════════════════════════════════════════════════════════════
   ESTUDIO ERRÁZURIZ · v2 «Sanhattan editorial» · páginas interiores
   Mismo lenguaje que la home v2: oscuro, Inter única, liquid glass,
   numeración editorial, oro como hilo de marca.
   ═══════════════════════════════════════════════════════════════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Marfil & Conchovino · contexto claro (base) */
    --bg:        #FAF6EF;
    --panel:     #F3EBE1;
    --white:     #2D161D;                 /* tinta ciruela */
    --g300:      #5C3B43;
    --mut:       rgba(45,22,29,0.72);
    --mut2:      rgba(45,22,29,0.62);
    --line:      rgba(107,31,46,0.15);
    --line2:     rgba(107,31,46,0.28);
    --gold:      #8A671F;                 /* oro profundo sobre marfil */
    --gold-dim:  rgba(138,103,31,0.50);
    --accent:    #7E2233;                 /* conchovino de énfasis */
    --wine:      #6B1F2E;
    --wa:        #25D366;
}

/* Contextos vino profundo: tokens claros */
.sec.alt, .page-hero, .article-hero, .footer {
    --white:     #FFFFFF;
    --g300:      #ECD9DE;
    --mut:       rgba(255,243,246,0.70);
    --mut2:      rgba(255,243,246,0.54);
    --line:      rgba(255,240,243,0.13);
    --line2:     rgba(255,240,243,0.25);
    --gold:      #D9A85C;                 /* oro cálido sobre vino */
    --gold-dim:  rgba(217,168,92,0.55);
    --accent:    #D9A85C;
    color: var(--white);
}
.sec.alt { background: linear-gradient(180deg, #381220 0%, #270C14 100%); position: relative; }
.sec.alt::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(120% 90% at 85% 0%, rgba(217,168,92,0.08), transparent 60%);
    pointer-events: none;
}
.sec.alt > * { position: relative; z-index: 1; }
::selection { background: rgba(126,34,51,0.22); }

/* Bloque cuero claro (biblioteca) */
.sec-cuero {
    background: linear-gradient(180deg, #E8D6BC 0%, #DDC8A8 100%);
    --white:     #3A2414;
    --g300:      #5C4630;
    --mut:       rgba(58,36,20,0.74);
    --mut2:      rgba(58,36,20,0.72);
    --line:      rgba(112,72,37,0.20);
    --line2:     rgba(112,72,37,0.32);
    --gold:      #754B21;
    --gold-dim:  rgba(117,75,33,0.50);
    color: var(--white);
}
.sec-cuero .liquid-glass {
    background: #FBF4E6;
    box-shadow: 0 18px 44px rgba(90,58,28,0.20), inset 0 1px 0 #fff;
}
.sec-cuero .liquid-glass::before {
    background: linear-gradient(180deg,
        rgba(126,82,38,0.45) 0%, rgba(126,82,38,0.12) 26%,
        rgba(126,34,51,0) 55%, rgba(126,34,51,0.22) 100%);
}

html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 88px; }
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: clip;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ── Liquid glass ── */
.liquid-glass {
    background: #FFFEFB;                  /* papel cálido (contexto claro) */
    border: none;
    box-shadow: 0 18px 44px rgba(107,31,46,0.09), inset 0 1px 0 #fff;
    position: relative;
    overflow: hidden;
}
.liquid-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(180deg,
        rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 20%,
        rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
        rgba(255,255,255,0.1) 80%, rgba(255,255,255,0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.liquid-glass::before {
    background: linear-gradient(180deg,
        rgba(154,116,38,0.40) 0%, rgba(154,116,38,0.10) 26%,
        rgba(126,34,51,0) 55%, rgba(126,34,51,0.20) 100%);
}
/* vidrio vinoso dentro de bloques vino */
.sec.alt .liquid-glass, .page-hero .liquid-glass, .article-hero .liquid-glass {
    background: rgba(22,6,12,0.42);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.09);
}
.sec.alt .liquid-glass::before, .page-hero .liquid-glass::before {
    background: linear-gradient(180deg,
        rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 20%,
        rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
        rgba(255,255,255,0.1) 80%, rgba(255,255,255,0.3) 100%);
}
/* vidrio oscuro flotante (nav, menú, barra, burbuja, toast).
   Alfa 0.78: flota sobre marfil — más translúcido deja el texto bajo AA. */
.topbar .liquid-glass, .nav-menu.liquid-glass, .mobile-cta.liquid-glass, .wa-float.liquid-glass {
    background: rgba(30,9,16,0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.10);
}
.topbar .liquid-glass::before, .nav-menu.liquid-glass::before, .mobile-cta.liquid-glass::before {
    background: linear-gradient(180deg,
        rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 20%,
        rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
        rgba(255,255,255,0.1) 80%, rgba(255,255,255,0.3) 100%);
}


/* ── Skip link (visible solo con foco de teclado) ── */
.skip-link {
    position: fixed; top: -100px; left: 16px; z-index: 1000;
    background: #2A0D15; color: #fff; padding: 10px 18px; border-radius: 8px;
    font-size: 14px; font-weight: 500; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }
#main:focus { outline: none; }

/* ── Wrapper de página ── */
.px { padding-left: 24px; padding-right: 24px; }
@media (min-width: 768px)  { .px { padding-left: 48px; padding-right: 48px; } }
@media (min-width: 1024px) { .px { padding-left: 64px; padding-right: 64px; } }

/* ── Nav ── */
.topbar { padding-top: 24px; position: fixed; top: 0; left: 0; right: 0; z-index: 400; transition: padding-top 0.3s ease; }
.topbar .nav { transition: background 0.3s ease; }
.topbar.scrolled { padding-top: 10px; }
.topbar.scrolled .nav.liquid-glass { background: rgba(38,11,19,0.92); }
body { padding-top: 92px; }
@media (max-width: 560px) { body { padding-top: 80px; } }
.nav-menu { position: absolute; top: 100%; left: 24px; right: 24px; }
@media (min-width: 768px) { .nav-menu { left: 48px; right: 48px; } }
.nav {
    border-radius: 12px;
    padding: 8px 16px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; white-space: nowrap; color: #fff; }
.nav-logo small { display: block; font-size: 9px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase; color: #D9A85C; }
.nav-links { display: none; align-items: center; gap: 28px; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a { font-size: 13.5px; color: #fff; transition: color 0.25s; white-space: nowrap; }
.nav-links a:hover { color: #E8D5C9; }
.nav-links a[aria-current="page"] { color: #E8BD6F; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta {
    background: linear-gradient(135deg, #823041 0%, #5E1B29 100%);
    color: #fff;
    padding: 8px 22px; border-radius: 8px;
    font-size: 13.5px; font-weight: 500;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
    transition: filter 0.25s;
    white-space: nowrap;
}
.nav-cta:hover { filter: brightness(1.12); }
.nav-lang {
    font-size: 12px; font-weight: 600; letter-spacing: 1px;
    color: rgba(255,255,255,0.72); border: 1px solid rgba(255,255,255,0.25); border-radius: 100px;
    padding: 5px 12px; transition: color 0.25s, border-color 0.25s; white-space: nowrap;
}
.nav-lang:hover { color: #E8BD6F; border-color: rgba(232,189,111,0.6); }
@media (max-width: 560px) { .nav-lang { padding: 4px 9px; font-size: 11px; } }
.nav-burger {
    display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
    width: 38px; height: 38px; align-items: center;
    background: none; border: none; cursor: pointer; border-radius: 8px;
}
@media (min-width: 1024px) { .nav-burger { display: none; } }
.nav-burger span { width: 18px; height: 1.6px; background: #fff; transition: transform 0.3s, opacity 0.3s; }
@media (max-width: 560px) {
    .nav { padding: 8px 12px; }
    .nav-logo { font-size: 16px; }
    .nav-logo small { font-size: 7.5px; letter-spacing: 1.8px; }
    .nav-right { gap: 4px; }
    .nav-cta { padding: 7px 12px; font-size: 12px; }
    .nav-burger { width: 32px; }
}
.nav.open + .nav-menu { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
.nav-menu {
    margin-top: 10px; border-radius: 12px; padding: 10px 18px;
    display: flex; flex-direction: column;
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.nav-menu a { padding: 12px 2px; font-size: 15px; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.12); }
.nav-menu a:last-child { border-bottom: none; }
.nav-menu a[aria-current="page"] { color: #E8BD6F; }
@media (min-width: 1024px) { .nav-menu { display: none; } }

/* ── Hero de página ── */
.page-hero {
    padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(56px, 8vw, 104px);
    background: linear-gradient(180deg, #3B1322 0%, #2A0D15 100%);
    position: relative; overflow: hidden;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero::before {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(110% 100% at 88% 0%, rgba(217,168,92,0.10), transparent 55%);
    pointer-events: none;
}
.page-hero::after {
    content: 'E';
    font-family: Georgia, 'Times New Roman', serif;
    position: absolute; right: -30px; bottom: -130px;
    font-size: 360px; font-weight: 500; line-height: 1;
    color: var(--gold); opacity: 0.05; pointer-events: none;
}
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--mut2); margin-bottom: 26px; position: relative; z-index: 1; }
.breadcrumb a { color: var(--mut); transition: color 0.25s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold-dim); }
.page-eyebrow { display: block; font-size: 12px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; position: relative; z-index: 1; }
.page-hero h1 {
    font-size: clamp(32px, 5.2vw, 62px);
    font-weight: 300; line-height: 1.08; letter-spacing: -0.04em;
    max-width: 900px; position: relative; z-index: 1;
}
.page-hero h1 em { font-style: normal; color: var(--gold); font-weight: 400; }
.page-hero-sub { margin-top: 22px; font-size: 16px; color: var(--mut); max-width: 660px; position: relative; z-index: 1; }
@media (min-width: 768px) { .page-hero-sub { font-size: 17.5px; } }
.page-hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px; position: relative; z-index: 1; }

/* ── Botones ── */
.btn-solid {
    display: inline-block;
    background: linear-gradient(135deg, #823041 0%, #5E1B29 100%);
    color: #fff;
    padding: 12px 32px; border-radius: 8px; font-weight: 500; font-size: 15px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 10px 26px rgba(94,27,41,0.35);
    transition: filter 0.25s, box-shadow 0.25s;
}
.btn-solid:hover { filter: brightness(1.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 14px 32px rgba(94,27,41,0.45); }
.btn-glass {
    display: inline-block;
    border-radius: 8px;
    padding: 12px 32px; font-weight: 500; font-size: 15px;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    transition: background 0.3s, color 0.3s;
}
.btn-glass:hover { background: #fff; color: #2D161D; }

/* ── Secciones editoriales ── */
.sec { padding-top: clamp(80px, 10vw, 130px); padding-bottom: clamp(80px, 10vw, 130px); }
.sec-head { display: flex; align-items: baseline; gap: 18px; border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-num { font-size: 13px; font-weight: 500; color: var(--gold); letter-spacing: 1px; min-width: 34px; }
.sec-label { font-size: 12px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--mut2); }
.sec-title {
    font-size: clamp(26px, 3.8vw, 44px);
    font-weight: 300; line-height: 1.12; letter-spacing: -0.035em;
    max-width: 820px;
}
.sec-title b { font-weight: 500; color: var(--accent); }
.lead { margin-top: 20px; font-size: 16.5px; color: var(--mut); max-width: 760px; line-height: 1.75; }

/* ── Lista de verificación ── */
.check-list { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; max-width: 860px; }
.check-list li { display: flex; gap: 16px; padding: 18px 6px; border-top: 1px solid var(--line); font-size: 15px; color: var(--mut); }
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list svg { width: 18px; height: 18px; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; margin-top: 4px; }
.check-list strong { color: var(--white); font-weight: 500; }

/* ── Pasos numerados (guía) ── */
.steps-list { display: flex; flex-direction: column; max-width: 900px; }
.step-row { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 28px 6px; border-top: 1px solid var(--line); }
.step-row:last-child { border-bottom: 1px solid var(--line); }
.step-row .n { font-size: 14px; color: var(--gold); font-weight: 500; letter-spacing: 1px; padding-top: 3px; }
.step-row h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.step-row p { font-size: 14.5px; color: var(--mut); max-width: 640px; }

/* ── Tarjetas de servicios (glass) ── */
.cards { display: grid; gap: 18px; }
@media (min-width: 768px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { border-radius: 12px; padding: 32px 28px; }
.card-icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold-dim); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card-icon svg { width: 20px; height: 20px; stroke: var(--gold); }
.card h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 9px; }
.card p { font-size: 14.5px; color: var(--mut); }

/* ── Declaración (por qué nosotros) ── */
.statement { font-size: clamp(19px, 2.6vw, 27px); font-weight: 300; line-height: 1.55; letter-spacing: -0.02em; color: var(--g300); max-width: 920px; }
.statement b { color: var(--accent); font-weight: 400; }

/* ── Publicación destacada ── */
.pub-card { display: block; border-radius: 14px; padding: clamp(28px, 4.5vw, 48px); transition: background 0.35s; }
.pub-kicker { font-size: 11px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.pub-title { margin-top: 14px; font-size: clamp(21px, 3vw, 32px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.18; max-width: 820px; color: var(--white); }
.pub-meta { margin-top: 10px; font-size: 13.5px; color: var(--mut2); }
.pub-excerpt { margin-top: 14px; font-size: 14.5px; color: var(--mut); max-width: 760px; }
.pub-more { margin-top: 20px; display: inline-flex; gap: 8px; font-size: 14px; font-weight: 500; color: var(--gold); transition: gap 0.25s; }
.pub-card:hover .pub-more { gap: 13px; }
.pub-all { margin-top: 22px; }
.pub-all a { font-size: 13.5px; color: var(--mut); border-bottom: 1px solid var(--line2); padding-bottom: 2px; transition: color 0.25s, border-color 0.25s; }
.pub-all a:hover { color: var(--gold); border-color: var(--gold-dim); }

/* ── FAQ ── */
.faq-list { max-width: 860px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
    padding: 22px 6px;
    font-size: clamp(15.5px, 2vw, 18px); font-weight: 400; letter-spacing: -0.015em;
    transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-mark { font-size: 20px; font-weight: 300; color: var(--accent); flex: none; transition: transform 0.3s; }
.faq-item[open] .faq-mark { transform: rotate(45deg); }
.faq-a { padding: 0 6px 24px; font-size: 14.5px; color: var(--mut); max-width: 720px; }

/* ── Panel CTA ── */
.cta-panel { border-radius: 16px; padding: clamp(36px, 6vw, 72px); text-align: center; }
.cta-panel h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.15; }
.cta-panel h2 b { font-weight: 500; color: var(--gold); }
.cta-panel > p { margin: 16px auto 0; font-size: 15.5px; color: var(--mut); max-width: 560px; }
.cta-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta-urgency {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
    padding: 10px 20px; border: 1px solid rgba(217,168,92,0.34); border-radius: 100px;
    background: rgba(217,168,92,0.08);
    color: var(--mut); font-size: 13px; line-height: 1.45; text-align: left;
}
.cta-urgency svg { flex: none; width: 17px; height: 17px; stroke: var(--gold); }
@media (max-width: 560px) { .cta-urgency { border-radius: 14px; } }

/* ── Otras áreas (filas) ── */
.rel-row {
    display: grid; grid-template-columns: 56px 1fr 40px;
    gap: 8px 20px; align-items: baseline;
    padding: 26px 6px;
    border-top: 1px solid var(--line);
    transition: background 0.35s, padding-left 0.35s;
}
.rel-row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .rel-row { grid-template-columns: 70px 1fr 1.5fr 60px; } }
.rel-num { font-size: 13px; color: var(--gold); font-weight: 500; }
.rel-name { font-size: clamp(19px, 2.4vw, 26px); font-weight: 400; letter-spacing: -0.025em; }
.rel-desc { font-size: 14px; color: var(--mut); grid-column: 2; }
@media (min-width: 900px) { .rel-desc { grid-column: auto; } }
.rel-arrow { font-size: 20px; font-weight: 300; color: var(--mut2); justify-self: end; transition: transform 0.35s, color 0.35s; }
.rel-row:hover { background: rgba(107,31,46,0.05); padding-left: 16px; }
.rel-row:hover .rel-arrow { transform: translateX(6px); color: var(--accent); }

/* ── Footer ── */
.footer { background: linear-gradient(180deg, #2A0D15 0%, #1C060C 100%); border-top: none; padding-top: 64px; padding-bottom: 110px; position: relative; overflow: hidden; }
.footer::after {
    content: 'E';
    font-family: Georgia, 'Times New Roman', serif;
    position: absolute; right: -30px; bottom: -120px;
    font-size: 340px; font-weight: 500; line-height: 1;
    color: var(--gold); opacity: 0.05; pointer-events: none;
}
.footer-grid { display: grid; gap: 36px; position: relative; z-index: 1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-mark { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.footer-mark small { display: block; font-size: 9px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.footer p, .footer li { font-size: 13.5px; color: var(--mut); }
.footer h3 { font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--mut2); font-weight: 600; margin-bottom: 14px; }
.footer li { margin-bottom: 9px; }
.footer li a:hover { color: var(--gold); }
.footer-bottom { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: 12px; color: var(--mut2); position: relative; z-index: 1; }

/* ── Reveal ── */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.rv.in { opacity: 1; transform: none; }

/* ── WhatsApp float (escritorio) ── */
.wa-float {
    background: rgba(34,10,17,0.6);
    position: fixed; right: 26px; bottom: 26px; z-index: 240;
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.25s;
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 27px; height: 27px; fill: var(--wa); }
@media (max-width: 900px) { .wa-float { display: none; } }

/* ── Barra CTA móvil ── */
.mobile-cta { display: none; }
@media (max-width: 900px) {
    .mobile-cta {
        display: grid; grid-template-columns: repeat(3, 1fr);
        position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 300;
        border-radius: 14px;
        transform: translateY(140%); transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
    }
    .mobile-cta.show { transform: none; }
    .mobile-cta a {
        display: flex; flex-direction: column; align-items: center; gap: 4px;
        padding: 11px 4px 12px; font-size: 10px; font-weight: 600;
        letter-spacing: 0.6px; text-transform: uppercase; color: rgba(255,255,255,0.88);
    }
    .mobile-cta a + a { border-left: 1px solid var(--line); }
    .mobile-cta svg { width: 19px; height: 19px; }
    .mobile-cta .mc-book { color: #D9A85C; }
    body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
    .mobile-cta { transition: none; }
}

/* ═══════════════ BLOG · LISTADO ═══════════════ */
.post-item { display: block; border-radius: 14px; padding: clamp(28px, 4.5vw, 48px); max-width: 900px; transition: transform 0.35s; }
.post-kicker { font-size: 11px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.post-item h2 { margin-top: 14px; font-size: clamp(22px, 3.2vw, 34px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.18; }
.post-item h2 a { transition: color 0.25s; }
.post-item h2 a:hover { color: var(--accent); }
.post-sub { margin-top: 8px; font-size: 13.5px; color: var(--mut2); }
.post-excerpt { margin-top: 16px; font-size: 14.5px; color: var(--mut); line-height: 1.75; max-width: 760px; }
.post-foot { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--mut2); }
.post-foot .more { color: var(--gold); font-weight: 500; display: inline-flex; gap: 7px; transition: gap 0.25s; }
.post-foot .more:hover { gap: 12px; }

/* ═══════════════ ARTÍCULO ═══════════════ */
.article-hero {
    padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(48px, 7vw, 88px);
    background: linear-gradient(180deg, #3B1322 0%, #2A0D15 100%);
    position: relative; overflow: hidden;
}
.article-hero::before {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(110% 100% at 88% 0%, rgba(217,168,92,0.10), transparent 55%);
    pointer-events: none;
}
.article-hero::after {
    content: 'E';
    font-family: Georgia, 'Times New Roman', serif;
    position: absolute; right: -30px; bottom: -130px;
    font-size: 360px; font-weight: 500; line-height: 1;
    color: var(--gold); opacity: 0.05; pointer-events: none;
}
.article-hero > * { position: relative; z-index: 1; }
.article-kicker { display: block; font-size: 11px; font-weight: 600; letter-spacing: 2.8px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.article-hero h1 {
    font-size: clamp(30px, 4.6vw, 56px);
    font-weight: 300; line-height: 1.1; letter-spacing: -0.04em;
    max-width: 920px;
}
.article-sub { margin-top: 16px; font-size: 16px; color: var(--mut); letter-spacing: 0.2px; }
.article-meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 44px; }
.article-meta div { display: flex; flex-direction: column; gap: 3px; }
.article-meta dt { font-size: 10px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase; color: var(--mut2); }
.article-meta dd { font-size: 13.5px; color: var(--g300); }
.article-tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.article-tag { font-size: 11px; letter-spacing: 0.6px; padding: 5px 13px; border: 1px solid var(--line2); border-radius: 100px; color: var(--mut); }

.article-body { max-width: 760px; margin: 0 auto; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(40px, 5vw, 64px); }
.article-body p { font-size: 16px; color: var(--mut); line-height: 1.85; margin-bottom: 22px; }
.article-body h2.sec-h {
    margin: clamp(40px, 5vw, 56px) 0 20px;
    padding-top: 26px; border-top: 1px solid var(--line);
    font-size: clamp(20px, 2.6vw, 26px); font-weight: 400; letter-spacing: -0.025em; color: var(--white);
}

.case-file { border-radius: 14px; padding: 30px 32px; margin-bottom: clamp(32px, 4vw, 44px); }
.case-file h2 { font-size: 12px; font-weight: 600; letter-spacing: 2.6px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.case-file dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 18px; }
.case-file dt { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--mut2); padding-top: 2px; }
.case-file dd { font-size: 14.5px; color: var(--g300); }
@media (max-width: 560px) { .case-file dl { grid-template-columns: 1fr; gap: 2px; } .case-file dd { margin-bottom: 10px; } }

.pullquote { margin: clamp(30px, 4vw, 40px) 0; padding: 6px 0 6px 26px; border-left: 2px solid var(--accent); }
.pullquote p { font-size: 18.5px; font-weight: 300; line-height: 1.65; letter-spacing: -0.01em; color: var(--g300); margin-bottom: 12px; }
.pullquote cite { font-style: normal; font-size: 13px; color: var(--mut2); }

.eval-box { border-radius: 14px; padding: clamp(26px, 4vw, 38px); }
.eval-box p:last-child { margin-bottom: 0; }

.biblio { max-width: 760px; margin: 0 auto; padding-bottom: clamp(40px, 5vw, 56px); }
.biblio h2 { font-size: 12px; font-weight: 600; letter-spacing: 2.6px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; padding-top: 26px; border-top: 1px solid var(--line); }
.biblio ol { list-style: none; counter-reset: bib; }
.biblio li { counter-increment: bib; position: relative; padding: 10px 0 10px 38px; font-size: 14px; color: var(--mut); line-height: 1.7; }
.biblio li::before { content: counter(bib, decimal-leading-zero); position: absolute; left: 0; top: 12px; font-size: 12px; color: var(--gold); font-weight: 500; letter-spacing: 1px; }
.biblio em { color: var(--g300); }

.author-card { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 40px); border-radius: 14px; padding: 30px 32px; display: flex; gap: 24px; align-items: flex-start; }
.author-card .ac-avatar { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: none; border: 1px solid var(--gold-dim); }
.author-card .ac-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1) brightness(0.95); }
.author-card .ac-label { font-size: 10px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.author-card h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.author-card p { font-size: 13.5px; color: var(--mut); line-height: 1.7; margin-bottom: 12px; }
.author-card a { font-size: 13.5px; font-weight: 500; color: var(--gold); }
@media (max-width: 560px) { .author-card { flex-direction: column; } }

.license-box { max-width: 760px; margin: 0 auto clamp(56px, 7vw, 88px); border-radius: 14px; padding: 26px 32px; display: flex; gap: 22px; align-items: flex-start; }
.license-badges { display: flex; gap: 8px; flex: none; color: var(--gold); padding-top: 4px; }
.license-badges svg { width: 30px; height: 30px; }
.license-text p { font-size: 13px; color: var(--mut); line-height: 1.7; margin-bottom: 10px; }
.license-text p:last-child { margin-bottom: 0; }
.license-text a { color: var(--gold); border-bottom: 1px solid var(--gold-dim); }
.license-attr { font-size: 12px !important; color: var(--mut2) !important; }
@media (max-width: 560px) { .license-box { flex-direction: column; gap: 14px; } }

/* ── Impresión: tinta sobre blanco (los navegadores no imprimen fondos;
   sin esto, los bloques vino saldrían texto blanco sobre papel blanco) ── */
@media print {
    .topbar, .nav-menu, .mobile-cta, .wa-float, .skip-link,
    .btn-solid, .btn-glass, .f-submit, .cta-panel, .interlude { display: none !important; }
    body { padding-top: 0 !important; padding-bottom: 0 !important; background: #fff; }
    .sec.alt, .page-hero, .article-hero, .footer, .sec-cuero {
        background: #fff !important;
        --white: #2D161D; --g300: #5C3B43;
        --mut: rgba(45,22,29,0.82); --mut2: rgba(45,22,29,0.64);
        --line: rgba(0,0,0,0.25); --line2: rgba(0,0,0,0.4);
        --gold: #8A671F; --gold-dim: rgba(138,103,31,0.5); --accent: #7E2233;
        color: #2D161D !important;
    }
    .sec.alt::before, .page-hero::after, .article-hero::after, .footer::after,
    .liquid-glass::before { display: none !important; }
    .liquid-glass {
        background: #fff !important; box-shadow: none !important;
        backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
        border: 1px solid rgba(0,0,0,0.2);
    }
    .article-body a[href^="http"]::after {
        content: " (" attr(href) ")"; font-size: 11px; color: rgba(45,22,29,0.6);
    }
    /* el reveal-on-scroll nunca dispara al imprimir: forzar visible */
    .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
}
