/* ==========================================================================
   EQUILIBRA LEGAL — Firma de abogados
   Paleta: negro, grises y dorado (líneas del logo) · acento vino del monograma
   ========================================================================== */
:root {
  --black: #0f1012;
  --char: #17181b;
  --char-2: #222428;
  --char-3: #2e3035;
  --gray-50: #f7f6f3;
  --gray-100: #eeece7;
  --gray-200: #dedbd3;
  --gray-500: #6c6d72;
  --gray-700: #3b3d42;
  --ink: #18191c;
  --gold: #bc9b5d;
  --gold-light: #dcc391;
  --gold-dark: #8a6a32;
  --wine: #4a1d21;
  --white: #ffffff;
  --wa: #1fa855;
  --line: rgba(15, 16, 18, 0.1);
  --line-dark: rgba(255, 255, 255, 0.1);
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 24px -14px rgba(0, 0, 0, 0.3);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-underline-offset: 3px; }
a:hover { color: var(--black); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.55em; color: var(--black); letter-spacing: -0.005em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(68px, 9vw, 116px) 0; position: relative; }
.section--gray { background: var(--gray-50); }
.section--dark { background: var(--char); color: #c9c9cc; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--black); color: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 10px; top: 10px; }

.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-family: var(--sans); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--gold-dark); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-light); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-head p { color: var(--gray-500); font-size: 1.125rem; }
.section--dark .section-head p { color: #a9a9ad; }
.gold-rule { width: 64px; height: 2px; background: var(--gold); border: 0; margin: 0 0 24px; }

/* ---------- Botones ---------- */
.btn { --bg: var(--gold); --fg: var(--black); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: var(--radius); border: 1px solid transparent; background: var(--bg); color: var(--fg); font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); background: var(--gold-light); color: var(--black); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--wa { --bg: var(--wa); --fg: #fff; }
.btn--wa:hover { background: #179247; color: #fff; }
.btn--outline { --bg: transparent; --fg: var(--black); border-color: var(--black); }
.btn--outline:hover { background: var(--black); color: #fff; }
.btn--outline-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { background: #fff; color: var(--black); }
.btn--dark { --bg: var(--black); --fg: #fff; }
.btn--dark:hover { background: var(--char-3); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.93rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Topbar + Header ---------- */
.topbar { background: var(--black); color: #b4b4b8; font-size: 0.84rem; border-bottom: 1px solid var(--line-dark); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #e8e8ea; text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }
.topbar__group { display: flex; gap: 24px; align-items: center; }
.topbar__group span, .topbar__group a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; color: var(--gold); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(0,0,0,.5); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); }
.brand__e { font-family: var(--serif); font-size: 2.6rem; line-height: 1; font-weight: 700; color: var(--wine); width: 44px; text-align: center; }
.brand__name { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name strong { font-family: var(--sans); font-weight: 500; letter-spacing: 0.32em; font-size: 1.05rem; color: #1f3a4d; }
.brand__name small { font-size: 0.62rem; letter-spacing: 0.34em; color: var(--gold-dark); font-weight: 600; text-transform: uppercase; margin-top: 3px; }
.brand--light .brand__e { color: var(--gold); }
.brand--light .brand__name strong { color: #fff; }
.brand--light .brand__name small { color: var(--gold-light); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { text-decoration: none; color: var(--gray-700); font-weight: 500; font-size: 0.95rem; padding: 10px 12px; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.nav a:not(.btn):hover { color: var(--black); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { margin-left: 12px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--black); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--black); color: #c7c7cb; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 15% 0%, rgba(188,155,93,.14), transparent 60%), linear-gradient(180deg, #121316, #0c0d0f); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 96px) 20px clamp(56px, 8vw, 110px); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 500; }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: #b9b9bd; max-width: 610px; margin-bottom: 32px; }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px 40px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line-dark); }
.stat strong { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--gold-light); line-height: 1; font-weight: 600; }
.stat span { font-size: 0.88rem; color: #a3a3a8; line-height: 1.35; display: block; margin-top: 6px; }
.hero__media { position: relative; max-width: 470px; justify-self: end; width: 100%; }
.hero__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.hero__frame { position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--gold); border-radius: var(--radius); pointer-events: none; }
.hero__badge { position: absolute; left: -36px; bottom: 36px; background: var(--white); color: var(--ink); padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; max-width: 280px; }
.hero__badge strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--black); line-height: 1.2; }
.hero__badge span { font-size: 0.85rem; color: var(--gray-500); line-height: 1.35; }
.icon-box { width: 48px; height: 48px; border-radius: var(--radius); display: grid; place-items: center; background: var(--black); color: var(--gold); flex: none; }
.icon-box svg { width: 24px; height: 24px; }

/* ---------- Franja de confianza ---------- */
.trust { background: var(--char); border-top: 1px solid var(--line-dark); }
.trust__list { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust__list li { display: flex; gap: 12px; align-items: center; color: #b4b4b8; font-size: 0.92rem; line-height: 1.35; }
.trust__list strong { display: block; color: #fff; font-weight: 600; }
.trust__list svg { width: 28px; height: 28px; color: var(--gold); flex: none; }

/* ---------- ¿Qué le está pasando? ---------- */
.problems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.problem { display: flex; flex-direction: column; gap: 12px; padding: 30px 26px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); text-decoration: none; color: var(--gray-500); transition: transform .25s, box-shadow .25s; }
.problem:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--gray-500); }
.problem h3 { font-size: 1.22rem; margin: 4px 0 0; }
.problem p { font-size: 0.97rem; line-height: 1.55; margin: 0; flex: 1; }
.problem .icon-box { background: var(--gray-50); color: var(--gold-dark); border: 1px solid var(--line); }
.link-more { display: inline-flex; align-items: center; gap: 8px; color: var(--black); font-weight: 600; font-size: 0.93rem; margin-top: 6px; }
.link-more svg { width: 16px; height: 16px; color: var(--gold-dark); transition: transform .2s; }
.problem:hover .link-more svg, .area:hover .link-more svg { transform: translateX(4px); }

/* ---------- Áreas de práctica ---------- */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.area { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 36px; background: var(--char-2); border: 1px solid var(--line-dark); border-radius: var(--radius); text-decoration: none; color: #b9b9bd; transition: border-color .25s, transform .25s; }
.area:hover { border-color: rgba(188,155,93,.6); transform: translateY(-3px); color: #b9b9bd; }
.area .icon-box { width: 58px; height: 58px; background: transparent; border: 1px solid var(--gold); }
.area h3 { color: #fff; font-size: 1.45rem; margin-bottom: 8px; }
.area p { margin: 0 0 14px; font-size: 0.98rem; }
.area ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; }
.area li { display: flex; gap: 10px; font-size: 0.94rem; line-height: 1.45; }
.area li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; background: var(--gold); transform: rotate(45deg); flex: none; }
.area .link-more { color: var(--gold-light); }
.area .link-more svg { color: var(--gold); }
.area__num { position: absolute; right: 28px; top: 22px; font-family: var(--serif); font-size: 3rem; color: rgba(255,255,255,.06); line-height: 1; }

/* ---------- Banda de cifras ---------- */
.numbers { background: var(--gold); color: var(--black); padding: 46px 0; }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.numbers strong { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.05; font-weight: 600; }
.numbers span { font-size: 0.95rem; font-weight: 500; }

/* ---------- Por qué nosotros / firma ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.photo-stack { position: relative; padding: 0 0 60px 0; }
.photo-stack__main { width: 78%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-stack__second { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--white); box-shadow: var(--shadow); }
.section--gray .photo-stack__second { border-color: var(--gray-50); }
.photo-stack__tag { position: absolute; left: 22px; top: 22px; background: var(--black); color: var(--gold-light); font-size: 0.78rem; letter-spacing: .2em; text-transform: uppercase; padding: 10px 14px; border-radius: 4px; font-weight: 600; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin: 34px 0; }
.feature { display: flex; gap: 14px; }
.feature .icon-box { width: 44px; height: 44px; }
.feature .icon-box svg { width: 22px; height: 22px; }
.feature h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; margin: 0 0 4px; }
.feature p { margin: 0; font-size: 0.94rem; line-height: 1.5; color: var(--gray-500); }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.45; color: var(--black); border-left: 2px solid var(--gold); padding-left: 22px; margin: 0 0 28px; }

/* ---------- Pasos ---------- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.step { padding: 34px 28px 10px 0; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 16px; }
.step::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.step h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; }
.step p { font-size: 0.96rem; line-height: 1.55; color: #a9a9ad; margin: 0; }
.steps-cta { margin-top: 46px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Alerta de plazos ---------- */
.alert { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 30px 34px; box-shadow: var(--shadow-sm); }
.alert h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 6px; }
.alert p { margin: 0; color: var(--gray-500); }
.alert .icon-box { width: 60px; height: 60px; }

/* ---------- Ciudades ---------- */
.cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0; }
.cities li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.92rem; color: var(--gray-700); background: var(--white); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 50px 22px 0; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--black); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.8rem; color: var(--gold-dark); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { padding: 0 0 24px; color: var(--gray-500); }
.faq__a p:last-child { margin: 0; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 28px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--char-2); text-decoration: none; color: #b9b9bd; transition: border-color .2s, transform .2s; }
.contact-card:hover { border-color: var(--gold); transform: translateX(4px); color: #b9b9bd; }
.contact-card strong { display: block; color: #fff; font-size: 1.05rem; font-weight: 600; }
.contact-card span { font-size: 0.88rem; }
.contact-card .icon-box { background: transparent; border: 1px solid var(--gold); }
.contact-card--wa .icon-box { background: var(--wa); border-color: var(--wa); color: #fff; }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.form h3, .section--dark .form h3 { font-size: 1.6rem; margin-bottom: 6px; color: var(--black); }
.form > p { color: var(--gray-500); font-size: 0.97rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 18px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--gray-700); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--gray-50); color: var(--ink); transition: border-color .2s, background .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.chips-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-choice label { cursor: pointer; position: relative; }
.chips-choice input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chips-choice span { display: inline-block; padding: 9px 14px; border: 1px solid var(--gray-200); border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--gray-700); transition: all .2s; }
.chips-choice input:checked + span { background: var(--black); color: var(--gold-light); border-color: var(--black); }
.chips-choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form__note { font-size: 0.82rem; color: var(--gray-500); margin: 12px 0 0; }

/* ---------- CTA final ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--black); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 70px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; color: #b9b9bd; }
.cta-band::before { content: "E"; position: absolute; right: 26%; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 26rem; line-height: 1; color: rgba(188,155,93,.07); pointer-events: none; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { margin: 0; position: relative; font-size: 1.08rem; }
.cta-band .btn-row { position: relative; justify-content: flex-end; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #8e8e93; padding: 70px 0 30px; font-size: 0.94rem; }
.footer a { color: #d4d4d7; text-decoration: none; }
.footer a:hover { color: var(--gold-light); }
.footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 46px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: .2em; font-weight: 600; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__brand p { margin-top: 18px; max-width: 340px; }
.footer__tagline { font-family: var(--serif); font-style: italic; color: var(--gold-light); }
.footer__legal { border-top: 1px solid var(--line-dark); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.84rem; }
.disclaimer { font-size: 0.8rem; color: #6f6f74; margin-top: 16px; max-width: 920px; }

/* ---------- WhatsApp flotante con 2 líneas ---------- */
.wa-widget { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-widget__menu { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 16px; width: 270px; display: none; }
.wa-widget.is-open .wa-widget__menu { display: block; }
.wa-widget__menu p { margin: 0 0 10px; font-size: 0.9rem; color: var(--gray-500); line-height: 1.4; }
.wa-widget__menu a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.wa-widget__menu a:hover { background: var(--gray-50); }
.wa-widget__menu a span.ic { width: 38px; height: 38px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; flex: none; }
.wa-widget__menu a span.ic svg { width: 20px; height: 20px; }
.wa-widget__menu strong { display: block; font-size: 0.95rem; }
.wa-widget__menu small { color: var(--gray-500); }
.wa-widget__btn { width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); transition: transform .2s; }
.wa-widget__btn:hover { transform: scale(1.06); }
.wa-widget__btn svg { width: 30px; height: 30px; }
.mobile-cta { display: none; }

/* ---------- Páginas de servicio ---------- */
.page-hero { position: relative; background: var(--black); color: #bdbdc1; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 10% 0%, rgba(188,155,93,.16), transparent 60%); }
.page-hero__bg { position: absolute; inset: 0 0 0 auto; width: 42%; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 0%, rgba(15,16,18,.55) 45%, rgba(15,16,18,.2) 100%); }
.page-hero .container { position: relative; padding-top: 34px; padding-bottom: clamp(56px, 7vw, 92px); }
.page-hero h1 { color: #fff; max-width: 780px; font-size: clamp(2.05rem, 4.2vw, 3.25rem); }
.page-hero__lead { max-width: 680px; font-size: clamp(1.06rem, 1.5vw, 1.2rem); margin-bottom: 30px; color: #c3c3c7; }
.page-hero__checks { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.page-hero__checks li { display: flex; gap: 8px; align-items: center; color: #e2e2e4; font-size: 0.95rem; }
.page-hero__checks svg { width: 18px; height: 18px; color: var(--gold); }
.crumbs { font-size: 0.85rem; margin-bottom: 34px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.crumbs a { color: #bdbdc1; text-decoration: none; }
.crumbs [aria-current] { color: #fff; }

.article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(32px, 5vw, 70px); align-items: start; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose p, .prose li { color: #3e4045; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.prose ol { padding-left: 1.3em; margin: 0 0 1.4em; display: grid; gap: 8px; }
.prose ol li::marker { color: var(--gold-dark); font-weight: 700; }
.prose strong { color: var(--black); }
.callout { background: var(--gray-50); border-left: 3px solid var(--gold); padding: 22px 26px; margin: 28px 0; border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin: 0; }
.callout--dark { background: var(--black); color: #d5d5d8; }
.callout--dark strong { color: var(--gold-light); }
.table-wrap { overflow-x: auto; margin: 0 0 1.6em; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--black); color: var(--gold-light); font-weight: 600; font-size: 0.85rem; letter-spacing: .04em; }
.prose tr:last-child td { border-bottom: 0; }
.legal-basis { font-size: 0.92rem; color: var(--gray-500); border-top: 1px solid var(--line); padding-top: 22px; margin-top: 36px; }
.legal-basis strong { color: var(--gray-700); }
.sidebar { position: sticky; top: 100px; display: grid; gap: 16px; }
.side-card { background: var(--black); color: #bdbdc1; border-radius: var(--radius-lg); padding: 28px; }
.side-card h3 { color: #fff; font-size: 1.35rem; }
.side-card p { font-size: 0.95rem; }
.side-card .btn { margin-top: 10px; }
.side-card--light { background: var(--gray-50); color: var(--ink); border: 1px solid var(--line); }
.side-card--light h3 { color: var(--black); font-size: 1.1rem; }
.side-card--light ul { list-style: none; padding: 0; margin: 0; }
.side-card--light a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.side-card--light a:hover { color: var(--gold-dark); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.legal { max-width: 820px; }

/* ---------- Animación ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.js-off .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { transition: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .problems { grid-template-columns: 1fr 1fr; }
  .trust__list, .numbers__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav a:not(.btn) { padding: 10px 8px; font-size: 0.9rem; }
}
@media (max-width: 960px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 80px); overflow-y: auto; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(0,0,0,.4); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 16px 0 0; }
  .menu-toggle { display: inline-flex; }
  .hero__grid, .split, .contact, .article__grid, .areas { grid-template-columns: 1fr; }
  .hero__media { justify-self: center; max-width: 430px; margin: 10px auto 0; }
  .hero__badge { left: -10px; }
  .cta-band, .alert { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .sidebar { position: static; }
  .related { grid-template-columns: 1fr 1fr; }
  .page-hero__bg { width: 100%; }
  .page-hero__bg img { opacity: .22; }
  .topbar .hide-md { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 78px; }
  .topbar .container { justify-content: center; }
  .topbar__group--right { display: none; }
  .header .container { min-height: 68px; }
  .brand__e { font-size: 2.2rem; width: 36px; }
  .brand__name strong { font-size: 0.95rem; letter-spacing: .26em; }
  .problems, .features, .related, .footer__grid, .form__grid, .steps { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .stat strong { font-size: 1.7rem; }
  .stat span { font-size: 0.78rem; }
  .area { grid-template-columns: 1fr; padding: 28px 24px; }
  .btn-row .btn { width: 100%; }
  .hero__frame { inset: -10px 10px 10px -10px; }
  .hero__badge { left: 0; bottom: 18px; max-width: 250px; padding: 14px 16px; }
  .photo-stack__main { width: 84%; }
  .wa-widget { display: none; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
  .mobile-cta .btn { min-height: 50px; padding: 0 10px; font-size: 0.95rem; }
  .cta-band::before { font-size: 16rem; right: -10%; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
