/* Einert Solano & Asociados — v3.1 (escenas, rejas, logo espada, tipografía Bodoni Moda + Jost) · basado en v2 "Dama de la Justicia" (diseño aprobado en Claude Design, 24-oct-2026) */

:root {
  --ink: #060606;
  --ink-2: #0d0d0d;
  --ink-3: #121212;
  --line: #1d1d1d;
  --line-2: #2c2c2c;
  --ivory: #f2ece0;
  --silver: #bfc4ca;
  --text: #cfd2d6;
  --muted: #8f9399;
  --gold: #d6b260;
  --gold-hi: #e9cf8f;
  --bronze: #c08250;
  --wine: #a32a34;
  --wine-deep: #8b1e26;

  --disp: "Bodoni Moda", Didot, "Bodoni 72", serif;
  --serif: "Bodoni Moda", Didot, "Bodoni 72", serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 3.4vw, 48px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--silver); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); }
a:hover { color: #fff1c9; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--wine-deep); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico:has(use[href="#i-wa"]) { fill: currentColor; stroke: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1440px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { width: min(820px, 100%); }

/* ---------- tipografía ---------- */
.disp { font-family: var(--disp); font-weight: 500; letter-spacing: -0.01em; line-height: 0.95; color: var(--ivory); text-wrap: balance; }
.caps { text-transform: uppercase; letter-spacing: 0.02em; font-weight: 600; }
.disp em, .serif em { font-style: italic; font-weight: 400; }
.serif { font-family: var(--serif); font-weight: 400; }
.metal {
  background: linear-gradient(100deg, #8a6a2f 0%, var(--gold) 18%, #fff2c4 32%, var(--gold) 46%, #9c7531 64%, #f6e2a6 82%, #8a6a2f 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: sheen 7s linear infinite;
}
@keyframes sheen { to { background-position: -220% 0; } }
.outline { color: var(--ivory); font-style: italic; font-weight: 400; }
.kicker { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-hi); }
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--wine); flex: none; }
.kicker--wine { color: var(--wine); }
.kicker--plain::before { display: none; }

/* ---------- botones ---------- */
.btn-gold, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 0 28px; border-radius: 2px;
  font: 500 13px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-gold { background: var(--gold); color: #120d04; }
.btn-gold:hover { background: #f3dc9f; color: #120d04; transform: translateY(-2px); }
.btn-line { color: var(--ivory); border: 1px solid rgba(242, 236, 224, 0.35); font-weight: 400; padding: 0 26px; background: transparent; }
.btn-line:hover { border-color: var(--gold); color: #fff; }
.btn-line .ico { transition: transform 0.3s var(--ease); }
.btn-line:hover .ico { transform: translateX(4px); }
.btn-ink { background: #120d04; color: #f6e2a6; }
.btn-ink:hover { background: #000; color: #fff1c9; }

/* ---------- navegación ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background 0.35s, border-color 0.35s; border-bottom: 1px solid transparent; }
.nav.is-scrolled, .nav.is-open { background: rgba(6, 6, 6, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 54px; height: auto; flex: none; display: block; }
.brand__words { display: inline-flex; align-items: baseline; gap: 10px; }
.brand__name { font-family: var(--disp); font-weight: 600; text-transform: uppercase; font-size: 20px; line-height: 1; letter-spacing: 0.16em; color: var(--ivory); }
.brand__tag { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1; color: var(--gold-hi); }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: 12px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; }
.nav__links a { color: var(--silver); text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; transition: color 0.25s, border-color 0.25s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ivory); border-bottom-color: var(--gold); }
.nav__phone { color: var(--ivory); text-decoration: none; font-weight: 500; font-size: 14px; letter-spacing: 0.06em; border-bottom: 1px solid var(--wine); padding: 10px 0; white-space: nowrap; }
.nav__phone:hover { color: var(--gold-hi); }
.nav__toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 2px; background: transparent; color: var(--ivory); align-items: center; justify-content: center; cursor: pointer; }

/* ---------- portada ---------- */
.hero { position: relative; height: clamp(720px, 100svh, 980px); overflow: hidden; isolation: isolate; background: #050505; }
.hero__stage { position: absolute; inset: 0; transform-origin: 72% 45%; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate3d(-1.6%, -1%, 0); } }
.hero__layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 30%; }
.hero__giant { position: absolute; left: -1.5%; bottom: -4%; margin: 0; font-size: min(21vw, 30svh, 340px); white-space: nowrap; opacity: 0.92; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)); }
.hero__sweep {
  position: absolute; inset: -20%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 226, 160, 0.16) 49%, rgba(255, 240, 205, 0.28) 50%, rgba(255, 226, 160, 0.16) 51%, transparent 58%);
  animation: sweep 9s ease-in-out infinite;
}
@keyframes sweep { 0% { transform: translateX(-60%); } 55%, 100% { transform: translateX(60%); } }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 6, 6, 0.92) 0%, rgba(6, 6, 6, 0.7) 34%, rgba(6, 6, 6, 0) 62%), linear-gradient(0deg, rgba(6, 6, 6, 0.85) 0%, rgba(6, 6, 6, 0) 30%);
}
.dust {
  position: absolute; bottom: -10px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, #fff3cf 0%, var(--gold) 45%, transparent 70%);
  animation: rise linear infinite;
}
@keyframes rise { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12% { opacity: 0.9; } 80% { opacity: 0.5; } 100% { transform: translate3d(30px, -900px, 0); opacity: 0; } }
.hero__copy { position: relative; z-index: 4; padding-top: clamp(116px, 15svh, 176px); max-width: 820px; }
.hero__copy .kicker { margin-bottom: 22px; }
.hero__title { font-size: clamp(52px, min(7.6vw, 11svh), 112px); max-width: 9.5em; }
.hero__lead { margin-top: 28px; max-width: 480px; font-size: 19px; font-weight: 300; line-height: 1.65; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__scroll { display: none; position: absolute; z-index: 4; left: var(--gutter); bottom: 40px; display: flex; gap: 14px; align-items: center; font-size: 12px; letter-spacing: 0.2em; color: var(--muted); }
.hero__scroll::before { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--gold-hi), transparent); }

/* ---------- franja de datos ---------- */
.facts { background: var(--ink-2); border-block: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fact { padding: 30px 0; display: flex; gap: 18px; align-items: baseline; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--line); }
.fact__n { font-size: 50px; white-space: nowrap; }
.fact__n--sm { font-size: 28px; }
.fact__t { font-size: 15px; color: var(--text); }

/* ---------- secciones ---------- */
.section { padding-block: clamp(80px, 9vw, 130px); }
.section--line { border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 56px; }
.big-outline { font-size: clamp(96px, 10.5vw, 150px); }
.lede { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; color: var(--ivory); }
.lede em { color: var(--gold-hi); }

/* áreas en filas */
.rows { border-bottom: 1px solid var(--line); }
.area {
  position: relative; display: grid; grid-template-columns: 110px minmax(0, 1.3fr) minmax(0, 1fr) 220px 60px; gap: 28px; align-items: center;
  padding: 34px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--silver);
}
.area::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s var(--ease); z-index: 0; }
.area > * { position: relative; z-index: 1; transition: color 0.3s; }
.area:hover::before, .area:focus-visible::before { transform: scaleY(1); }
.area:hover > *, .area:focus-visible > * { color: #120d04; }
.area__n { font-size: 34px; font-style: italic; color: var(--bronze); }
.area__t { font-size: clamp(30px, 3.2vw, 46px); }
.area__d { font-size: 15px; line-height: 1.6; }
.area__tag { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-hi); }
.area__go { font-size: 30px; color: var(--gold-hi); text-align: right; }

/* manifiesto */
.mani { min-height: 780px; display: flex; align-items: center; }
.mani__t { margin-top: 26px; max-width: 820px; font-size: clamp(48px, 5.6vw, 84px); line-height: 1; color: var(--ivory); }
.mani__p { margin-top: 30px; max-width: 520px; font-size: 18px; line-height: 1.7; color: var(--text); }

/* pasos + bloque dorado */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.step__n { font-size: 110px; color: var(--gold); }
.step h3 { margin: 10px 0 12px; font-size: 34px; }
.step p { font-size: 16px; }
.slab { margin-top: 90px; background: var(--gold); color: #120d04; padding: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.slab p { margin-bottom: 24px; font-size: 17px; line-height: 1.65; color: #2a1f0a; }
.slab .slab__t { margin: 0; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: #120d04; }

/* el abogado */
.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.emblem {
  position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(60% 50% at 50% 40%, rgba(214, 178, 94, 0.12), transparent 70%), var(--ink-3);
  border: 1px solid var(--line-2);
}
.emblem__mono { font-size: clamp(160px, 17vw, 260px); line-height: 0.8; }
.emblem__seal { position: absolute; right: 22px; bottom: 22px; width: 104px; height: 104px; animation: spin 30s linear infinite; }
.emblem__cap { position: absolute; left: 22px; bottom: 22px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }
.about__name { font-size: clamp(60px, 6.2vw, 92px); }
.about__quote { margin-top: 26px; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; color: var(--ivory); }
.about__list { margin-top: 30px; display: grid; gap: 12px; font-size: 15px; }
.about__list li { display: flex; gap: 12px; }
.about__list li::before { content: "—"; color: var(--bronze); }

/* preguntas */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap h2 { margin-top: 20px; font-size: clamp(48px, 5vw, 72px); }
.faq-wrap .lede-sm { margin-top: 18px; font-size: 17px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 0; min-height: 64px; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); color: var(--ivory); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--gold); transition: transform 0.4s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); color: var(--wine); }
.faq details p { padding: 0 0 26px; font-size: 16px; max-width: 46em; }
.faq details::details-content { height: 0; overflow: clip; transition: height 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
.faq details[open]::details-content { height: auto; }

/* llamado final y pie */
.final { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); padding: clamp(110px, 11vw, 150px) 0 clamp(90px, 9vw, 120px); text-align: center; }
.final__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 40%, rgba(214, 178, 96, 0.13), transparent 70%), radial-gradient(40% 50% at 50% 110%, rgba(139, 30, 38, 0.28), transparent 70%); }
.final .wrap { position: relative; z-index: 1; }
.final .kicker { justify-content: center; margin-bottom: 18px; }
.final .kicker::before { display: none; }
.final__t { font-size: clamp(56px, 9.4vw, 148px); }
.final__p { margin: 26px auto 0; max-width: 560px; font-size: 18px; line-height: 1.65; color: var(--text); }
.final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.footer { padding: 34px 0 110px; align-items: center; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 13px; color: var(--muted); text-align: left; }
.footer a { color: var(--silver); text-decoration: none; }
.footer a:hover { color: var(--gold-hi); }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal { flex-basis: 100%; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 55;
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 18px;
  border-radius: 2px; background: var(--gold); color: #120d04; font-weight: 500; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.85);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.wa-float:hover { background: #f3dc9f; color: #120d04; transform: translateY(-2px); }
.wa-float .ico { width: 24px; height: 24px; }

/* ---------- blog ---------- */
.page-hero { position: relative; padding: calc(84px + clamp(56px, 7vw, 110px)) 0 clamp(40px, 5vw, 64px); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; left: 40%; background: url("../img/abogado-portatil-1000.webp") 50% 30% / cover no-repeat; opacity: 0.45; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); animation: drift 28s ease-in-out infinite alternate; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 30%, rgba(6, 6, 6, 0.6) 70%, rgba(6, 6, 6, 0.3)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin-top: 20px; font-size: clamp(60px, 8vw, 128px); }
.page-hero .lede-sm { margin-top: 22px; max-width: 40em; font-size: 18px; color: var(--text); }
.page-hero--post { border-bottom: 0; }
.page-hero--post::before, .page-hero--post::after { display: none; }
.page-hero--post h1 { font-family: var(--serif); font-weight: 400; text-transform: none; font-size: clamp(42px, 5vw, 68px); line-height: 1.04; color: var(--ivory); }
.page-hero--404 { min-height: 80vh; display: grid; align-items: center; }

.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cat-chips a { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--line-2); color: var(--silver); text-decoration: none; }
.cat-chips a:hover, .cat-chips a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: #120d04; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--ink); border: 1px solid var(--line); transition: background 0.4s, border-color 0.4s; }
.post-card:hover { background: var(--ink-3); border-color: var(--line-2); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__ph { height: 100%; display: grid; place-items: center; background: url("../img/abogado-documentos-600.webp") 50% 25% / cover no-repeat; }
.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 26px 28px 24px; flex: 1; }
.post-card h3 { font-family: var(--disp); font-weight: 500; font-size: 28px; line-height: 1.1; }
.post-card h3 a { color: var(--ivory); text-decoration: none; }
.post-card h3 a:hover { color: var(--gold-hi); }
.post-card p { font-size: 15px; }
.post-meta { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }
.post-meta a { color: inherit; text-decoration: none; }
.post-card__go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi); text-decoration: none; }
.post-card__go .ico { transition: transform 0.3s var(--ease); }
.post-card__go:hover .ico { transform: translateX(5px); }

.pager { margin-top: 48px; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pager .page-numbers { min-width: 48px; min-height: 48px; padding: 0 14px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); font-size: 14px; color: var(--silver); text-decoration: none; }
.pager .page-numbers.current, .pager a.page-numbers:hover { background: var(--gold); border-color: var(--gold); color: #120d04; }

.empty { display: grid; justify-items: start; gap: 18px; padding: clamp(36px, 5vw, 64px); border: 1px solid var(--line); background: var(--ink-2); }
.empty h2 { font-size: clamp(44px, 5vw, 72px); }
.empty p { max-width: 36em; font-size: 17px; }

.back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--silver); text-decoration: none; min-height: 44px; margin-bottom: 18px; }
.back:hover { color: var(--gold-hi); }
.post-lead { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); color: var(--text); max-width: 40em; }
.post-author { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.post-author__mono { width: 48px; height: 48px; display: grid; place-items: center; background: var(--gold); color: #120d04; font: 600 20px/1 var(--disp); }
.post-author strong { display: block; color: var(--ivory); font-weight: 500; font-size: 15px; }
.post-author span { font-size: 13px; color: var(--muted); }
.post-cover { margin: 0 auto clamp(40px, 5vw, 64px); width: min(1200px, 100%); padding-inline: var(--gutter); }
.post-cover img { width: 100%; max-height: 640px; object-fit: cover; }

.prose { font-size: 17px; line-height: 1.85; color: var(--text); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-family: var(--disp); font-weight: 500; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; color: var(--ivory); margin-top: 1.6em; }
.prose h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; color: var(--ivory); margin-top: 1.5em; }
.prose h4 { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); margin-top: 1.6em; }
.prose strong { color: var(--ivory); }
.prose a { color: var(--gold-hi); text-decoration: underline; text-decoration-color: rgba(214, 178, 94, 0.5); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 1.8em 0; padding: 0; font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.2; color: var(--ivory); }
.prose blockquote::before { content: "“"; display: block; font-size: 2em; line-height: 0.6; color: var(--gold); }
.prose blockquote p { margin: 0; }
.prose img { height: auto; }
.prose figure { margin-inline: 0; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.prose hr { border: 0; height: 1px; background: var(--line-2); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: left; }
.prose th { color: var(--ivory); }
.prose iframe { max-width: 100%; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.share > span { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 1px solid var(--line-2); background: transparent; font: 400 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { background: var(--gold); border-color: var(--gold); color: #120d04; }
.share .ico { width: 18px; height: 18px; }
.post-slab { margin-top: 48px; margin-bottom: clamp(70px, 8vw, 110px); background: var(--gold); color: #120d04; padding: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.post-slab p { font: 500 clamp(28px, 3vw, 40px)/1.05 var(--disp); color: #120d04; max-width: 15em; }


/* ---------- v3: escenas con imagen en movimiento ---------- */
.scene { position: relative; overflow: hidden; isolation: isolate; }
.scene > .wrap { position: relative; z-index: 1; }
.scene__img { position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; object-position: 78% 40%; z-index: -2; animation: drift 28s ease-in-out infinite alternate; }
.scene__img--b { animation-name: driftb; animation-duration: 32s; }
@keyframes driftb { from { transform: scale(1.1) translate3d(-1.5%, 0, 0); } to { transform: scale(1.02) translate3d(0, -1.2%, 0); } }
.veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 6, 6, 0.95) 0%, rgba(6, 6, 6, 0.82) 48%, rgba(6, 6, 6, 0.35) 100%), linear-gradient(0deg, rgba(6, 6, 6, 0.6) 0%, rgba(6, 6, 6, 0) 25%, rgba(6, 6, 6, 0) 75%, rgba(6, 6, 6, 0.6) 100%); }
.veil--soft { background: linear-gradient(90deg, rgba(6, 6, 6, 0.9) 0%, rgba(6, 6, 6, 0.55) 45%, rgba(6, 6, 6, 0) 72%), linear-gradient(0deg, rgba(6, 6, 6, 0.7) 0%, rgba(6, 6, 6, 0) 30%, rgba(6, 6, 6, 0) 70%, rgba(6, 6, 6, 0.7) 100%); }
.scene .dust, .final .dust { z-index: 0; }
.area { border-top-color: rgba(255, 255, 255, 0.09); }

/* ---------- v3: rejas que se cierran y se abren con el scroll ---------- */
.jail {
  position: relative; height: calc(min(100svh, 900px) * 3.2);
  --p: 0;
  --c: clamp(0, calc((var(--p) - 0.06) / 0.2), 1);
  --o: clamp(0, calc((var(--p) - 0.58) / 0.22), 1);
  --off: calc(1 - var(--c) + var(--o));
}
.jail__stage {
  position: sticky; top: 0; height: min(100svh, 900px); min-height: 600px; overflow: hidden;
  background: radial-gradient(45% 60% at 50% 8%, rgba(242, 236, 224, 0.1), transparent 70%), radial-gradient(60% 50% at 50% 100%, rgba(139, 30, 38, 0.22), transparent 70%), #050505;
}
.jail__rays { position: absolute; inset: -30%; opacity: var(--o); animation: spin 40s linear infinite; background: conic-gradient(from 0deg at 50% 50%, transparent 0 6deg, rgba(233, 207, 143, 0.1) 8deg 12deg, transparent 14deg 26deg, rgba(233, 207, 143, 0.08) 28deg 31deg, transparent 33deg 45deg); }
.libertad { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; opacity: var(--o); transform: scale(calc(0.82 + 0.18 * var(--o))); }
.libertad__k { justify-content: center; margin-bottom: 18px; letter-spacing: 0.3em; }
.libertad__w { font-size: min(18vw, 280px); font-weight: 600; filter: drop-shadow(0 0 40px rgba(233, 207, 143, 0.35)); }
.bars { position: absolute; top: 0; bottom: 0; width: 50%; display: flex; justify-content: space-around; z-index: 2; will-change: transform; }
.bars--l { left: 0; transform: translateX(calc(var(--off) * -52vw)); }
.bars--r { right: 0; transform: translateX(calc(var(--off) * 52vw)); }
.bar { width: clamp(10px, 1.6vw, 24px); height: 100%; background: linear-gradient(90deg, #141414 0%, #5c5f63 22%, #d9dde1 46%, #f4f6f8 50%, #8a8e93 62%, #2a2b2d 85%, #0d0d0d 100%); box-shadow: 6px 0 16px rgba(0, 0, 0, 0.6); }
.cross { position: absolute; left: 0; right: 0; height: clamp(14px, 1.6vw, 22px); background: linear-gradient(180deg, #141414 0%, #6d7075 30%, #e7eaed 50%, #7b7f84 70%, #111 100%); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7); }
.msg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(860px, 88vw); text-align: center; z-index: 3; padding: 28px 34px; background: rgba(6, 6, 6, 0.8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); pointer-events: none; }
.msg p { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; color: var(--ivory); }
.msg em { color: var(--gold-hi); }
.m1 { opacity: calc(1 - var(--c)); }
.m2 { opacity: calc(clamp(0, calc((var(--p) - 0.28) / 0.07), 1) * (1 - clamp(0, calc((var(--p) - 0.44) / 0.05), 1))); }
.m3 { opacity: calc(clamp(0, calc((var(--p) - 0.46) / 0.05), 1) * (1 - clamp(0, calc((var(--p) - 0.58) / 0.07), 1))); }
.jail__foot { position: absolute; left: 0; right: 0; bottom: 7%; z-index: 3; text-align: center; opacity: var(--o); pointer-events: none; }
.jail.is-free .jail__foot { pointer-events: auto; }
.jail__foot p { margin-top: 14px; font-size: 13px; color: var(--muted); }
.jail__foot p a { color: var(--gold-hi); }

/* ---------- v3: fotos del abogado en tono dorado ---------- */
.duo { position: relative; margin: 0; overflow: hidden; background: var(--ink-3); }
.duo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s var(--ease); }
.duo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(242, 236, 224, 0.08); pointer-events: none; }
.duo:hover img { transform: scale(1.03); }
.faq__photo { margin-top: 40px; max-width: 360px; aspect-ratio: 4 / 5; }
.post-author__img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(214, 178, 94, 0.6); }
.duo figcaption { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory); }
.how { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 64px; align-items: center; }
.how .steps { gap: 40px; }
.how__photo { aspect-ratio: 4 / 5; }
.about__media { position: relative; padding-bottom: 70px; }
.about__main { width: 82%; aspect-ratio: 4 / 5; }
.about__inset { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 5; border: 6px solid var(--ink); }
.about__seal { position: absolute; left: -26px; bottom: 40px; width: 110px; height: 110px; animation: spin 30s linear infinite; }
.footer__brand .logo-mark { width: 46px; }
.footer__brand .brand__name { font-size: 17px; }
.footer__brand .brand__tag { font-size: 16px; }

@media (max-width: 900px) {
  .how { grid-template-columns: minmax(0, 1fr); }
  .how__photo { max-width: 420px; }
  .about__media { max-width: 460px; }
  .about__seal { left: -6px; }
}
@media (max-width: 640px) {
  .logo-mark { width: 44px; }
  .scene__img { object-position: 84% 40%; }
  .msg { padding: 22px 20px; }
  .bar { width: 12px; }
  .about__inset { display: none; }
  .about__main { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .jail { height: auto; --p: 1; }
  .jail__stage { position: relative; height: 640px; }
  .jail .msg { display: none; }
  .jail__foot { pointer-events: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .area { grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr) 40px; }
  .area__tag { display: none; }
  .nav__links { gap: 22px; }
}

@media (max-width: 900px) {
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 18px;
    background: rgba(6, 6, 6, 0.98); border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.25s, transform 0.25s var(--ease);
  }
  .nav__links a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__toggle { display: inline-flex; }
  .nav__phone { display: none; }

  .facts__grid, .steps, .split, .slab, .about, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .area { grid-template-columns: 48px minmax(0, 1fr); gap: 8px 16px; padding: 26px 0; }
  .area__d, .area__go { grid-column: 2; }
  .area__go { text-align: left; font-size: 24px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about .emblem { max-width: 460px; }
}

@media (max-width: 640px) {
  .brand__name { font-size: 15px; letter-spacing: 0.12em; }
  .brand__tag { font-size: 15px; }
  .hero { height: 860px; }
  .hero__layer { object-position: 84% 30%; }
  .hero__giant { font-size: 31vw; bottom: -1%; }
  .hero__actions .btn-gold, .hero__actions .btn-line, .final__actions a { width: 100%; }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .mani { min-height: 620px; }
  .step__n { font-size: 96px; }
  .prose { font-size: 16px; }
  .wa-float { width: 58px; padding: 0; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .dust { display: none; }
}
