/* Poblete & Torres Abogados · hoja de estilos del sitio
   Concepto: la línea vertical del logo, que separa el monograma PT del nombre,
   es el recurso estructural del sitio: separa rótulo y contenido en cada sección.
   Paleta en blanco y negro, como el logo y la fotografía del estudio; sin modo oscuro. */

:root {
  /* Color */
  --paper: #ffffff;
  --mist: #f4f4f3;
  --mist-2: #e9e9e7;
  --ink: #121212;
  --ink-2: #3d3d3d;
  --ink-3: #5f5f5f;
  --rule: #dcdcda;
  --accent: #121212;
  --dark: #111111;
  --black: #000000;
  --line-on-dark: #9c9c9c;
  --on-dark: #ffffff;
  --on-dark-2: #c9c9c9;
  --live: #ffffff;
  --error: #a3262a;
  --ok: #121212;

  /* Tipografía: Libre Baskerville y Montserrat, las mismas familias del logo */
  --serif: "Libre Baskerville", Baskerville, "Baskerville Old Face", "Hoefler Text", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.1875rem, 1.1rem + 0.45vw, 1.375rem);
  --fs-h3: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-h2: clamp(1.5rem, 1.18rem + 1.35vw, 2.25rem);
  --fs-h1: clamp(2rem, 1.3rem + 3vw, 3.5rem);

  /* Espacio */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --section: clamp(56px, 8vw, 112px);
  --rail: clamp(20px, 3.4vw, 52px);
  --radius: 2px;
  --header-h: 84px;

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--fs-base);
  line-height: 1.8;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--ink-3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.12; letter-spacing: -0.012em; }
h2 { font-size: var(--fs-h2); line-height: 1.2; letter-spacing: -0.006em; }
h3 { font-size: var(--fs-h3); line-height: 1.38; font-weight: 700; }
p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; }
address { font-style: normal; }
strong { font-weight: 700; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-dark); padding: 10px 16px; font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--on-dark); }

/* ---------- Rótulos ---------- */
.eyebrow, .mini {
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--fs-xs);
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.mini { color: var(--ink-3); letter-spacing: 0.16em; }
.cite {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 0.6875rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.cite::before { content: ""; width: 18px; height: 1.5px; background: var(--accent); flex: none; }
.lead { font-size: var(--fs-lg); line-height: 1.7; color: var(--ink-2); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--sans); font-weight: 600; font-size: 0.78rem; line-height: 1.2;
  letter-spacing: 0.13em; text-transform: uppercase; text-decoration: none; text-align: center;
  border: 1.5px solid var(--accent); border-radius: var(--radius);
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn__label { display: inline; }
.btn--primary { background: var(--accent); color: var(--on-dark); }
.btn--primary:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--on-dark); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: var(--on-dark); }
.btn--light { background: var(--paper); color: var(--dark); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.btn--line-light { background: transparent; color: var(--on-dark); border-color: var(--line-on-dark); }
.btn--line-light:hover { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nowrap { white-space: nowrap; }
@media (max-width: 420px) { .btn { letter-spacing: 0.08em; padding-inline: 16px; } }
.link-more {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--accent);
}
.link-more::after { content: "→"; font-family: var(--sans); transition: transform .15s ease; }
.link-more:hover { color: var(--ink-3); }
.link-more:hover::after { transform: translateX(4px); }

/* ---------- Barra de urgencias ---------- */
.topbar { background: var(--dark); color: var(--on-dark); font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; padding-block: 9px; }
.topbar p { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; }
.topbar a { color: var(--on-dark); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--on-dark); text-decoration: underline; }
.topbar__sep { color: var(--line-on-dark); }
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); margin-right: 4px; animation: live 2.4s ease-out infinite; flex: none; }
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
@media (max-width: 560px) { .topbar__wa { display: none; } }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--rule);
}
@supports (backdrop-filter: blur(6px)) { .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(150%) blur(8px); } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); position: relative; }
.brand { flex: none; display: block; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px clamp(16px, 2vw, 28px); }
.nav ul a {
  display: block; padding-block: 6px;
  font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none; border-bottom: 1.5px solid transparent;
}
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.nav__cta { min-height: 44px; padding-inline: 18px; }
.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
  background: transparent; border: 1.5px solid var(--rule); border-radius: var(--radius);
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); cursor: pointer;
}
.nav-toggle__bars { width: 16px; height: 10px; position: relative; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid var(--ink); transform: translateY(-50%); }
@media (max-width: 1020px) {
  :root { --header-h: 70px; }
  .brand img { height: 44px; }
  .nav-toggle { display: inline-flex; }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 4px var(--gutter) 24px; box-shadow: 0 18px 30px -24px rgba(0, 0, 0, 0.3);
  }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding-block: 15px; border-bottom: 1px solid var(--rule); font-size: 0.8rem; }
  .nav ul a[aria-current="page"] { border-bottom-color: var(--rule); box-shadow: inset 3px 0 0 var(--accent); padding-left: 14px; }
  .nav__cta { width: 100%; }
}
@media (max-width: 1020px) { .no-js .nav { position: static; display: flex; box-shadow: none; } }

/* ---------- Cabecera de sección (la línea del logo) ---------- */
.sec-head { display: grid; grid-template-columns: minmax(140px, 210px) minmax(0, 1fr); column-gap: var(--rail); margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head > .eyebrow { text-align: right; padding-top: 0.55em; }
.sec-head__body { border-left: 2px solid var(--accent); padding-left: var(--rail); display: grid; gap: 16px; max-width: 62rem; }
.sec-head__body > p { color: var(--ink-2); max-width: 42em; }
.sec-head--page { margin-bottom: 0; }
.sec-head--page .sec-head__body { gap: 20px; padding-block: 4px; }
@media (max-width: 760px) {
  .sec-head { grid-template-columns: 1fr; row-gap: 14px; }
  .sec-head > .eyebrow { text-align: left; padding-top: 0; }
  .sec-head__body { padding-left: 20px; }
}

/* ---------- Portada ---------- */
.hero { padding-block: clamp(44px, 6.5vw, 96px) clamp(56px, 7vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero__text { border-left: 2px solid var(--accent); padding-left: var(--rail); }
.hero__text .eyebrow { margin-bottom: 22px; }
.hero__text h1 { max-width: 15em; }
.hero__text .lead { margin-top: 26px; max-width: 34em; }
.hero__text .actions { margin-top: 34px; }
.hero__note { margin-top: 18px; font-family: var(--sans); font-size: 0.78rem; color: var(--ink-3); letter-spacing: 0.02em; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 760px) { .hero__text { padding-left: 20px; } }

/* Ficha del estudio, a la manera de una carátula */
.ficha { background: var(--mist); border-top: 3px solid var(--accent); padding: 26px clamp(20px, 2.4vw, 32px) 10px; }
.ficha__title { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.ficha__title span:last-child { color: var(--ink-3); letter-spacing: 0.12em; }
.ficha dl > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 4px 16px; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.ficha dl > div:last-child { border-bottom: 0; }
.ficha dt { font-family: var(--sans); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); padding-top: 0.3em; }
.ficha dd { font-size: 0.95rem; line-height: 1.55; color: var(--ink); }
.ficha dd strong { font-variant-numeric: tabular-nums lining-nums; }
@media (max-width: 420px) { .ficha dl > div { grid-template-columns: 1fr; } }

/* ---------- Etapas del proceso ---------- */
.stages__tabs {
  list-style: none; margin: 0 0 34px; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  position: relative;
}
.stages__tabs::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--rule); }
.stage-tab {
  position: relative; display: grid; justify-items: start; gap: 12px; width: 100%;
  padding: 14px 10px 14px 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--ink-2);
}
.stage-tab__dot {
  width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink-3);
  display: grid; place-items: center; font-family: var(--sans); font-size: 0.6rem; font-weight: 600; color: var(--ink-3);
  position: relative; z-index: 1; transition: background-color .15s, border-color .15s, color .15s;
}
.stage-tab__label { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.35; min-height: 2.7em; }
.stage-tab__time { font-family: var(--sans); font-size: 0.7rem; color: var(--ink-3); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.stage-tab:hover .stage-tab__dot { border-color: var(--accent); color: var(--accent); }
.stage-tab[aria-selected="true"] { color: var(--accent); }
.stage-tab[aria-selected="true"] .stage-tab__dot { background: var(--accent); border-color: var(--accent); color: var(--on-dark); }
.stage-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 12px; bottom: 0; height: 2px; background: var(--accent); }
.stage-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
.js .stage-panel { display: none; }
.js .stage-panel.is-active { display: grid; }
.stage-panel__head { display: none; }
.stage-panel h3 { margin: 10px 0 12px; font-size: var(--fs-lg); font-weight: 400; }
.stage-panel p + p { margin-top: 12px; }
.stage-panel .cite { margin-top: 16px; }
.stage-panel__us { border-left: 2px solid var(--accent); padding-left: var(--rail); }
.stage-panel__us > p:not(.eyebrow) { margin-top: 12px; }
.stage-panel__us .link-more { margin-top: 18px; }
@media (max-width: 860px) {
  .stages__tabs {
    display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); margin-bottom: 26px;
    scrollbar-width: none;
  }
  .stages__tabs::-webkit-scrollbar { display: none; }
  .stages__tabs::before { left: var(--gutter); right: auto; width: calc(7 * 132px); }
  .stage-tab { flex: 0 0 132px; scroll-snap-align: start; }
  .stage-tab__label { min-height: 2.7em; }
  .stage-panel { grid-template-columns: 1fr; gap: 22px; }
  .js .stage-panel.is-active { display: grid; }
  .stage-panel__us { padding-left: 20px; }
}

/* ---------- Áreas ---------- */
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px); }
.areas li { border-top: 1px solid var(--rule); }
.areas li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.areas a { display: grid; gap: 8px; padding-block: 26px 28px; text-decoration: none; color: inherit; }
.areas h3 { font-size: var(--fs-lg); font-weight: 400; transition: color .15s; }
.areas p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.7; max-width: 34em; }
.areas .link-more { margin-top: 6px; }
.areas a:hover h3 { color: var(--accent); }
.areas a:hover .link-more::after { transform: translateX(4px); }
@media (max-width: 720px) { .areas { grid-template-columns: 1fr; } }

/* ---------- Método ---------- */
.method { background: var(--dark); color: var(--on-dark); }
.method .sec-head > .eyebrow { color: var(--line-on-dark); }
.method .sec-head__body { border-left-color: var(--line-on-dark); }
.method h2 { color: var(--on-dark); font-size: clamp(1.75rem, 1.2rem + 2.3vw, 3rem); line-height: 1.15; }
.method .sec-head__body > p { color: var(--on-dark-2); font-size: var(--fs-md); line-height: 1.75; }
.method__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 56px); }
.method__steps li { border-top: 1px solid rgba(255, 255, 255, 0.22); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.method__steps .mini { color: var(--line-on-dark); }
.method__steps h3 { color: var(--on-dark); font-weight: 400; font-size: var(--fs-lg); }
.method__steps p { color: var(--on-dark-2); font-size: 0.95rem; line-height: 1.75; }
@media (max-width: 860px) { .method__steps { grid-template-columns: 1fr; } }

/* ---------- Resultados ---------- */
.results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 48px); }
.result { border-top: 2px solid var(--accent); padding-top: 22px; display: grid; gap: 12px; align-content: start; }
.result__court { font-family: var(--sans); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
@media (min-width: 961px) { .results .result__court { min-height: 3em; } }
.result h3 { font-weight: 400; font-size: var(--fs-lg); line-height: 1.35; }
.result p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.7; }
.result__tag { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.results-note { margin-top: clamp(32px, 4vw, 48px); padding-top: 18px; border-top: 1px solid var(--rule); font-size: 0.875rem; color: var(--ink-3); max-width: 60em; }
.results-foot { margin-top: 28px; }
@media (max-width: 960px) { .results { grid-template-columns: 1fr; } }

/* Resultados en detalle */
.result-row { display: grid; grid-template-columns: minmax(140px, 210px) minmax(0, 1fr); column-gap: var(--rail); padding-block: clamp(28px, 4vw, 44px); border-top: 1px solid var(--rule); }
.result-row:last-child { border-bottom: 1px solid var(--rule); }
.result-row__meta { text-align: right; display: grid; gap: 6px; align-content: start; padding-top: 0.4em; }
.result-row__body { border-left: 2px solid var(--accent); padding-left: var(--rail); display: grid; gap: 14px; max-width: 48rem; }
.result-row__body h2 { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem); }
.result-row__body p { color: var(--ink-2); }
@media (max-width: 760px) {
  .result-row { grid-template-columns: 1fr; row-gap: 14px; }
  .result-row__meta { text-align: left; padding-top: 0; }
  .result-row__body { padding-left: 20px; }
}

/* Cifras de trayectoria */
.figures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.figures li { display: grid; gap: 8px; align-content: start; padding-top: 20px; border-top: 1px solid var(--rule); }
.figures strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.1; color: var(--accent); font-variant-numeric: lining-nums tabular-nums; }
.figures span { color: var(--ink-2); font-size: 0.95rem; line-height: 1.6; }
@media (max-width: 760px) { .figures { grid-template-columns: 1fr; } }

/* ---------- Socios ---------- */
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.partner { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 26px; align-items: start; }
.portrait { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--mist); border-left: 2px solid var(--accent); }
.profile__side .portrait { max-width: 270px; }
.photo { margin: 0; display: grid; gap: 12px; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-left: 2px solid var(--accent); background: var(--mist); }
.photo figcaption { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--ink-3); }
.estudio-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.estudio-intro__text { display: grid; gap: clamp(36px, 4vw, 56px); }
@media (max-width: 860px) { .estudio-intro { grid-template-columns: 1fr; } .estudio-intro .photo { max-width: 460px; } }
.partner h3 { font-size: var(--fs-lg); font-weight: 400; }
.partner__role { margin-top: 4px; }
.partner p.partner__text { margin-top: 14px; color: var(--ink-2); font-size: 0.95rem; line-height: 1.75; }
.partner .link-more { margin-top: 16px; }
@media (max-width: 860px) { .partners { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .partner { grid-template-columns: 1fr; } .partner .portrait { max-width: 220px; } }

/* Monograma de iniciales, al modo del PT del logo */
.mono { position: relative; width: 112px; aspect-ratio: 1; max-width: 100%; background: var(--mist); border-left: 2px solid var(--accent); font-family: var(--serif); color: var(--ink); overflow: hidden; }
.mono span { position: absolute; font-size: 3.4rem; line-height: 1; }
.mono span:first-child { left: 16%; top: 12%; }
.mono span:last-child { left: 42%; top: 38%; }
.mono--lg { width: 168px; }
.mono--lg span { font-size: 5rem; }

/* ---------- Cobertura ---------- */
.coverage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.coverage > div { display: grid; gap: 12px; align-content: start; border-top: 1px solid var(--rule); padding-top: 20px; }
.places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); gap: 6px 24px; font-size: 1rem; line-height: 1.6; }
.places--wide { grid-template-columns: 1fr; }
.places li { padding-left: 16px; position: relative; }
.places li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 6px; height: 1.5px; background: var(--accent); }
@media (max-width: 760px) { .coverage { grid-template-columns: 1fr; } }

/* ---------- Cierre: «Por tanto» ---------- */
.por-tanto { background: var(--dark); color: var(--on-dark); padding-block: clamp(56px, 8vw, 104px); }
.por-tanto__inner { display: grid; grid-template-columns: minmax(140px, 210px) minmax(0, 1fr); column-gap: var(--rail); }
.por-tanto__label { text-align: right; padding-top: 0.75em; font-family: var(--sans); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.24em; text-transform: uppercase; color: var(--line-on-dark); }
.por-tanto__body { border-left: 2px solid var(--line-on-dark); padding-left: var(--rail); display: grid; gap: 30px; }
.por-tanto__text { font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.4rem); line-height: 1.3; max-width: 22em; text-wrap: balance; }
.por-tanto__small { font-family: var(--sans); font-size: 0.8rem; color: var(--on-dark-2); letter-spacing: 0.02em; }
.por-tanto__small a { color: var(--on-dark); }
@media (max-width: 760px) {
  .por-tanto__inner { grid-template-columns: 1fr; row-gap: 14px; }
  .por-tanto__label { text-align: left; padding-top: 0; }
  .por-tanto__body { padding-left: 20px; }
}

/* ---------- Páginas interiores ---------- */
.page-head { padding-block: clamp(36px, 5vw, 72px) clamp(40px, 5.5vw, 80px); border-bottom: 1px solid var(--rule); }
.crumbs { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: clamp(24px, 3.5vw, 44px); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li:not(:last-child)::after { content: "/"; padding-inline: 0.7em; color: var(--rule); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.page-head h1 { max-width: 18em; }
.page-head .lead { max-width: 36em; }

.area-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(36px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .area-layout { grid-template-columns: 1fr; } }

.prose { max-width: 44rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.2em; }
.prose ul:not([class]) li + li, .prose ol:not([class]) li + li { margin-top: 0.5em; }
.prose > h2 + ul, .prose > h2 + div { margin-top: 1.4em; }
.prose .callout h3 { margin-top: 0; }

.items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.items li { padding-block: 18px; border-bottom: 1px solid var(--rule); display: grid; gap: 6px; }
.items strong { color: var(--ink); font-weight: 700; }
.items span { color: var(--ink-2); }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.facts li { background: var(--mist); padding: 20px 22px 18px; border-left: 2px solid var(--accent); display: grid; gap: 10px; }
.facts li p { color: var(--ink); }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-family: var(--sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.02em; padding: 7px 12px; border: 1px solid var(--rule); color: var(--ink-2); background: var(--paper); }

/* Tarjeta de ayuda lateral */
.help-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--mist); border-top: 3px solid var(--accent); padding: 26px 24px; display: grid; gap: 14px; }
.help-card .help-card__phone { font-size: 1.5rem; line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; }
.help-card__phone a { color: var(--ink); text-decoration: none; }
.help-card__phone a:hover { color: var(--accent); }
.help-card p { font-size: 0.92rem; line-height: 1.6; color: var(--ink-2); }
.help-card .btn { width: 100%; }
.help-card hr { border: 0; border-top: 1px solid var(--rule); margin: 8px 0 2px; width: 100%; }
.help-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.help-card ul a { display: block; padding-block: 6px; font-size: 0.92rem; text-decoration: none; color: var(--ink-2); }
.help-card ul a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 960px) { .help-card { position: static; } }

/* Destacado en página de área */
.callout { display: grid; gap: 10px; padding: 24px 26px; border: 1px solid var(--rule); border-top: 2px solid var(--accent); }
.callout h3 { font-weight: 400; font-size: var(--fs-lg); }
.callout p { color: var(--ink-2); }

/* ---------- Equipo ---------- */
.profile { display: grid; grid-template-columns: minmax(200px, 270px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding-block: clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--header-h) + 16px); }
.profile:first-of-type { padding-top: 0; }
.profile__side { display: grid; gap: 18px; align-content: start; }
.profile__contact { display: grid; gap: 4px; font-family: var(--sans); font-size: 0.76rem; overflow-wrap: anywhere; }
.profile__net { margin-top: 12px; }
.profile__body { display: grid; gap: 22px; max-width: 46rem; }
.profile__body h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.profile__name { margin-top: 10px; }
.cv-title { margin-bottom: 12px; }
.profile__body .lead { font-size: var(--fs-md); }
.profile__body > p:not(.lead) { color: var(--ink-2); }
.cv { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.cv li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 4px 18px; padding-block: 12px; border-bottom: 1px solid var(--rule); font-size: 0.95rem; line-height: 1.6; color: var(--ink-2); }
.cv time, .cv .cv__when { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; color: var(--accent); padding-top: 0.25em; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .cv li { grid-template-columns: 1fr; } }

/* ---------- Principios ---------- */
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 64px); }
.principles li { border-top: 1px solid var(--rule); padding-block: 24px 26px; display: grid; gap: 8px; align-content: start; }
.principles h3 { font-weight: 400; font-size: var(--fs-lg); }
.principles p { color: var(--ink-2); font-size: 0.97rem; line-height: 1.75; }
.principles li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Urgencias ---------- */
.urgent-head { background: var(--dark); color: var(--on-dark); padding-block: clamp(40px, 6vw, 88px); }
.urgent-head .crumbs a, .urgent-head .crumbs { color: var(--on-dark-2); }
.urgent-head .crumbs li:not(:last-child)::after { color: var(--line-on-dark); }
.urgent-head .sec-head > .eyebrow { color: var(--line-on-dark); }
.urgent-head .sec-head__body { border-left-color: var(--line-on-dark); }
.urgent-head h1 { color: var(--on-dark); }
.urgent-head .lead { color: var(--on-dark-2); }
.call { display: grid; gap: 14px; margin-top: 10px; }
.call__number { font-size: clamp(2rem, 1.4rem + 3vw, 3.6rem); line-height: 1.1; letter-spacing: 0.01em; font-variant-numeric: lining-nums tabular-nums; }
.call__number a { color: var(--on-dark); text-decoration: none; }
.call__number a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.copy-btn { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; background: transparent; border: 1px solid currentColor; color: inherit; padding: 8px 12px; border-radius: var(--radius); cursor: pointer; min-height: 40px; }
.copy-btn[data-done="1"] { border-color: var(--live); }
.urgent-head .copy-btn { color: var(--on-dark-2); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.checklist li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.checklist li::before { content: ""; width: 18px; height: 18px; margin-top: 0.3em; border: 1.5px solid var(--accent); border-radius: var(--radius); }

.timeline { list-style: none; margin: 0; padding: 0; counter-reset: paso; display: grid; gap: 0; }
.timeline li { counter-increment: paso; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; position: relative; padding-bottom: 28px; }
.timeline li::before { content: counter(paso); width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-dark); display: grid; place-items: center; font-family: var(--sans); font-size: 0.85rem; font-weight: 600; position: relative; z-index: 1; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--rule); }
.timeline h3 { font-size: var(--fs-md); margin-top: 4px; }
.timeline p { color: var(--ink-2); margin-top: 6px; }
.timeline .cite { margin-top: 10px; }

.block-title { font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem); margin: 10px 0 22px; }
.checklist--x li::before { border-color: var(--ink-3); background: linear-gradient(45deg, transparent 45%, var(--ink-3) 45%, var(--ink-3) 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--ink-3) 45%, var(--ink-3) 55%, transparent 55%); border-radius: 50%; }
.timeline--from-4 { counter-reset: paso 3; }
.facts--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .facts--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .facts--grid { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.field .opt { color: var(--ink-3); font-weight: 500; letter-spacing: 0.08em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font-family: var(--serif); font-size: 1rem; line-height: 1.5; color: var(--ink);
  background: var(--paper); border: 1px solid #bdbdbd; border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12); }
.field[data-invalid="1"] input, .field[data-invalid="1"] select, .field[data-invalid="1"] textarea { border-color: var(--error); }
.field__help { font-size: 0.85rem; color: var(--ink-3); line-height: 1.5; }
.field__error { font-family: var(--sans); font-size: 0.78rem; color: var(--error); font-weight: 500; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.9rem; line-height: 1.6; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 0.15em 0 0; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--mist); display: grid; gap: 12px; }
.form__status[data-kind="ok"] { border-left-color: var(--ok); }
.form__status[data-kind="error"] { border-left-color: var(--error); }
.form__status p { font-size: 0.95rem; color: var(--ink); }

.channels { display: grid; gap: 0; border-top: 2px solid var(--accent); }
.channel { padding-block: 20px; border-bottom: 1px solid var(--rule); display: grid; gap: 6px; }
.channel__value { font-size: 1.15rem; line-height: 1.45; overflow-wrap: anywhere; }
.channel__value a { color: var(--ink); text-decoration: none; }
.channel__value a:hover { color: var(--accent); text-decoration: underline; }
.channel p:not(.mini):not(.channel__value) { font-size: 0.92rem; color: var(--ink-2); }
.channel .actions { margin-top: 6px; }

/* ---------- Pie ---------- */
.site-footer { background: var(--black); border-top: 1px solid rgba(255, 255, 255, 0.08); color: var(--on-dark-2); padding-block: clamp(48px, 6vw, 80px) 0; font-size: 0.92rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 36px clamp(24px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 64px); }
.footer__brand img { width: 220px; max-width: 100%; }
.footer__brand p { margin-top: 18px; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--line-on-dark); }
.site-footer .mini { color: var(--line-on-dark); margin-bottom: 12px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer address, .site-footer p { line-height: 1.7; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer__legal { padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.03em; color: var(--on-dark-2); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 60;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px;
  background: var(--accent); color: var(--on-dark); border-radius: 999px; text-decoration: none;
  font-family: var(--sans); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  transition: background-color .15s, transform .15s;
}
.wa-float svg { width: 22px; height: 22px; flex: none; }
.wa-float:hover { background: var(--ink-2); color: var(--on-dark); transform: translateY(-1px); }
@media (max-width: 560px) { .wa-float { padding: 0; width: 56px; justify-content: center; } .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ---------- Página 404 ---------- */
.notfound { padding-block: clamp(72px, 12vw, 160px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
