/* ==========================================================================
   Estudio Jurídico Gliemmo, Irisarri & Asociados — sistema de diseño
   Concepto: EL EXPEDIENTE (carátulas, fojas, sellos, mesa de entradas)
   Dirección: editorial con serif · tinta azul + papel + UN acento (rojo sello)
   ========================================================================== */

@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #0E1A2B;          /* tinta: fondo oscuro y texto principal */
  --ink-2: #172840;        /* superficie sobre tinta */
  --ink-3: #22364F;
  --paper: #F2F4F6;        /* papel: fondo claro */
  --paper-2: #E4E8EC;      /* papel sombreado */
  --white: #FFFFFF;
  --muted: #4E5967;        /* texto secundario sobre papel */
  --muted-d: #AEB8C5;      /* texto secundario sobre tinta */
  --line: rgb(14 26 43 / .14);
  --line-d: rgb(255 255 255 / .14);
  --accent: #B8321F;       /* rojo sello: CTA, palabra clave, sellos */
  --accent-d: #E8644C;     /* el mismo acento, legible sobre tinta */
  --brand: #2A4A6B;        /* azul del logotipo */
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1360px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 8vw, 116px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.dark { background: var(--ink); color: var(--white); }
.shade { background: var(--paper-2); }

/* ---------- Tipografía ---------- */
.display, h1, h2 { font-family: var(--serif); font-weight: 380; letter-spacing: -.028em; line-height: .98; font-optical-sizing: auto; text-wrap: balance; }
h1, .h1 { font-size: clamp(2.9rem, 7.4vw, 7.4rem); }
h2, .h2 { font-size: clamp(2.3rem, 5vw, 4.6rem); }
h3, .h3 { font-family: var(--serif); font-weight: 420; font-size: clamp(1.45rem, 2.2vw, 2rem); letter-spacing: -.018em; line-height: 1.1; }
em, .it { font-style: italic; font-weight: 340; }
.accent { color: var(--accent); }
.dark .accent { color: var(--accent-d); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 58ch; }
.dark .lead { color: var(--muted-d); }
.label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.dark .label { color: var(--muted-d); }
.label::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.label--plain::before { display: none; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; box-shadow: 0 0 0 4px rgb(184 50 31 / .18); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; height: 54px; padding: 0 8px 0 24px; border-radius: 999px; font-weight: 500; font-size: 15.5px; background: var(--accent); color: #fff; border: 1px solid var(--accent); cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); white-space: nowrap; }
.btn .arr { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; overflow: hidden; flex: none; }
.btn .arr svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover .arr svg { transform: translateX(4px); }
.btn:hover { background: #9E2817; border-color: #9E2817; }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; padding: 0 24px; }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.dark .btn--ghost { border-color: rgb(255 255 255 / .5); }
.dark .btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--sm { height: 44px; font-size: 14.5px; padding-left: 20px; }
.btn--sm .arr { width: 30px; height: 30px; }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.link:hover svg { transform: translate(3px, -3px); }

/* ---------- Barra utilitaria + cabecera ---------- */
.util { background: var(--ink); color: var(--muted-d); font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--line-d); position: relative; z-index: 60; }
.util .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 38px; }
.util a:hover { color: #fff; }
.util-r { display: flex; gap: 26px; align-items: center; }
.util .clock b { color: #fff; font-weight: 500; }

.site-header { position: sticky; top: 0; z-index: 50; padding: 14px var(--pad); pointer-events: none; }
.hdr { pointer-events: auto; max-width: var(--wrap); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; padding: 0 10px 0 4px; border-radius: 999px; border: 1px solid transparent; transition: max-width .6s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease), padding .6s var(--ease), border-color .4s; }
.hdr .logo img { height: 46px; width: auto; }
.hdr .logo .l-dark { display: none; }
.on-dark .hdr { color: #fff; }
.on-light .hdr .logo .l-light, .is-scrolled .hdr .logo .l-light { display: none; }
.on-light .hdr .logo .l-dark, .is-scrolled .hdr .logo .l-dark { display: block; }
.is-scrolled .hdr { max-width: 1080px; background: rgb(255 255 255 / .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 10px 40px rgb(14 26 43 / .12); border-color: var(--line); padding: 0 10px 0 22px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li > a, .nav > li > button { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 15px; border-radius: 999px; font-size: 15px; font-weight: 500; background: none; border: 0; cursor: pointer; transition: background .3s; }
.nav > li > a:hover, .nav > li > button:hover, .nav > li > button[aria-expanded="true"] { background: rgb(128 140 160 / .18); }
.nav sup { font-family: var(--mono); font-size: 10px; opacity: .7; margin-left: 2px; }
.nav .chev { width: 10px; height: 10px; transition: transform .3s; }
.nav button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.hdr-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; background: none; cursor: pointer; place-items: center; }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; box-shadow: 0 6px 0 currentColor; transform: translateY(-3px); }

/* Megamenú */
.mega { position: fixed; left: 0; right: 0; top: 0; z-index: 45; background: var(--white); color: var(--ink); padding: 150px 0 44px; border-bottom: 1px solid var(--line); box-shadow: 0 40px 80px rgb(14 26 43 / .18); opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s; }
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-open .hdr, .mega-open.on-dark .hdr { color: var(--ink); }
.mega-open .hdr .logo .l-light { display: none; } .mega-open .hdr .logo .l-dark { display: block; }
.mega-open .util { visibility: hidden; }
.mega-grid { display: grid; grid-template-columns: 1.55fr 1fr .9fr; gap: clamp(28px, 4vw, 64px); }
.mega h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.mega-areas { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.mega-areas a, .mega-cases a { display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 6px; padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.32rem; letter-spacing: -.015em; transition: padding .35s var(--ease), color .3s; }
.mega-areas a span:first-child, .mega-cases a span:first-child { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mega-areas a svg, .mega-cases a svg { width: 14px; height: 14px; opacity: 0; transform: translateX(-6px); transition: .35s var(--ease); }
.mega-areas a:hover, .mega-cases a:hover { padding-left: 10px; color: var(--accent); }
.mega-areas a:hover svg, .mega-cases a:hover svg { opacity: 1; transform: none; }
.mega-card { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 100%; position: relative; overflow: hidden; }
.mega-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(1); }
.mega-card > * { position: relative; }
.mega-card p { font-family: var(--serif); font-size: 1.6rem; line-height: 1.08; letter-spacing: -.02em; }
.scrim { position: fixed; inset: 0; background: rgb(14 26 43 / .45); z-index: 40; opacity: 0; visibility: hidden; transition: .35s; }
.scrim.open { opacity: 1; visibility: visible; }

/* Menú móvil */
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--white); padding: 24px var(--pad) 32px; display: flex; flex-direction: column; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease), visibility .7s; overflow-y: auto; }
.mnav.open { clip-path: inset(0); visibility: visible; }
.mnav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mnav-top img { height: 40px; width: auto; }
.mnav-close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-d); background: none; color: #fff; font-size: 22px; cursor: pointer; }
.mnav ol.big > li > a { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.4rem); letter-spacing: -.03em; line-height: 1.15; padding: 10px 0; border-bottom: 1px solid var(--line-d); }
.mnav ol.big > li > a span { font-family: var(--mono); font-size: 11px; color: var(--muted-d); letter-spacing: .08em; }
.mnav .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 12px 0 16px; border-bottom: 1px solid var(--line-d); }
.mnav .sub a { font-size: 14.5px; color: var(--muted-d); padding: 6px 0; }
.mnav-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }

/* ---------- Folio (contador de fojas fijo) ---------- */
.folio { position: fixed; left: 14px; bottom: 26px; writing-mode: vertical-rl; transform: rotate(180deg); z-index: 30; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); mix-blend-mode: difference; filter: invert(1); display: flex; align-items: center; gap: 10px; pointer-events: none; }
.folio i { display: block; height: 46px; width: 1px; background: currentColor; position: relative; opacity: .5; }
.folio i::after { content: ""; position: absolute; top: 0; left: -1px; width: 3px; height: calc(var(--prog, 0) * 100%); background: currentColor; }

/* ---------- Hero (inicio) ---------- */
.hero { background: var(--ink); color: var(--white); margin-top: -96px; padding-top: 96px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 6vw, 84px) clamp(40px, 5vw, 72px); min-height: min(840px, calc(100svh - 38px)); }
.hero h1 { font-size: clamp(3.2rem, 8.6vw, 8.8rem); line-height: .92; margin: 26px 0 30px; }
.hero h1 em { display: block; color: var(--accent-d); }
.hero .lead { margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-media { position: relative; align-self: stretch; min-height: 440px; }
.hero-media .frame { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; }
.hero-media img { width: 100%; height: 118%; object-fit: cover; }
.crop { position: absolute; inset: -12px; pointer-events: none; }
.crop::before, .crop::after, .crop i::before, .crop i::after { content: ""; position: absolute; width: 18px; height: 18px; border: 1px solid var(--muted-d); }
.crop::before { left: 0; top: 0; border-right: 0; border-bottom: 0; } .crop::after { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.crop i::before { left: 0; bottom: 0; border-right: 0; border-top: 0; } .crop i::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.chip { position: absolute; left: 14px; bottom: 14px; background: rgb(255 255 255 / .95); color: var(--ink); border-radius: 10px; padding: 10px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.stamp { position: absolute; right: -34px; top: -44px; width: 148px; height: 148px; color: var(--accent-d); z-index: 2; }
.stamp { transform: rotate(-9deg); }
.stamp svg { width: 100%; height: 100%; }
.stamp b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 2rem; font-weight: 500; letter-spacing: -.02em; }
@keyframes spin { to { transform: rotate(360deg); } }

.ticker { border-top: 1px solid var(--line-d); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; gap: 56px; width: max-content; animation: tick 46s linear infinite; font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-d); }
.ticker-track span { display: inline-flex; gap: 56px; align-items: center; white-space: nowrap; }
.ticker-track span::after { content: "§"; color: var(--accent-d); font-family: var(--serif); font-size: 18px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Cifras foliadas ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 52px) clamp(18px, 3vw, 44px); border-left: 1px solid var(--line); display: grid; gap: 10px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .n { font-family: var(--serif); font-size: clamp(3.4rem, 7.5vw, 7rem); line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.dark .stat .n sup { color: var(--accent-d); }
.stat .n sup { font-size: .45em; color: var(--accent); vertical-align: top; margin-left: 2px; }
.dark .stats, .dark .stat { border-color: var(--line-d); }

/* ---------- Manifiesto ---------- */
.manifesto { font-family: var(--serif); font-size: clamp(1.8rem, 3.9vw, 3.7rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 370; max-width: 22ch; max-width: min(100%, 1180px); }
.split-head { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }

/* ---------- Lista de áreas (índice) ---------- */
.areas-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.sticky { position: sticky; top: 120px; }
.hover-list { position: relative; border-top: 1px solid var(--line); }
.hover-img { position: absolute; top: 0; left: 0; width: 300px; aspect-ratio: 4/3; object-fit: cover; pointer-events: none; z-index: 5; border-radius: 12px; opacity: 0; visibility: hidden; filter: grayscale(1) contrast(1.05); box-shadow: 0 30px 60px rgb(14 26 43 / .3); }
.row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 46px; gap: 16px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); transition: padding .45s var(--ease), color .3s; position: relative; }
.row .num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.row h3 { font-size: clamp(1.5rem, 2.7vw, 2.4rem); }
.row p { font-size: 15px; color: var(--muted); margin-top: 4px; max-width: 52ch; }
.row .go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .35s var(--ease); }
.row .go svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.row:hover { padding-left: 14px; }
.row:hover .go { background: var(--accent); border-color: var(--accent); color: #fff; }
.row:hover .go svg { transform: rotate(-45deg); }

/* ---------- Bento "por qué elegirnos" ---------- */
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 14px; min-height: 340px; position: relative; overflow: hidden; }
.card .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; color: var(--muted); text-transform: uppercase; }
.card p { color: var(--muted); font-size: 16px; }
.card h3 { margin-top: auto; }
.card--img { color: #fff; border: 0; }
.card--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(14 26 43 / .62) 0%, rgb(14 26 43 / .92) 70%); }
.card--img > *:not(img) { position: relative; z-index: 1; }
.card--img p, .card--img .k { color: rgb(255 255 255 / .9); }
.card--ink { background: var(--ink); color: var(--white); border: 0; }
.card--ink p, .card--ink .k { color: var(--muted-d); }
.duo { filter: grayscale(1) contrast(1.05); }

/* ---------- Carpetas de casos (momento firma) ---------- */
.folders { display: grid; gap: 0; }
.folder { position: sticky; top: calc(104px + var(--i) * 46px); padding-top: 34px; }
.folder-in { background: var(--paper); color: var(--ink); border-radius: 0 var(--radius) var(--radius) var(--radius); padding: clamp(24px, 3.4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 64px); min-height: 380px; position: relative; box-shadow: 0 -18px 50px rgb(0 0 0 / .32); transform-origin: 50% 0; }
.folder:nth-child(even) .folder-in, .folder:nth-child(even) .tab { background: var(--paper-2); }
.tab { position: absolute; left: 0; top: 0; height: 35px; padding: 0 22px 0 18px; background: var(--paper); color: var(--ink); border-radius: 12px 12px 0 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.tab::after { content: ""; position: absolute; right: -18px; bottom: 0; width: 18px; height: 18px; background: radial-gradient(circle at 100% 0, transparent 18px, currentColor 18.5px); color: inherit; }
.folder .tab::after { background: radial-gradient(circle at 100% 0, transparent 17.5px, var(--paper) 18px); }
.folder:nth-child(even) .tab::after { background: radial-gradient(circle at 100% 0, transparent 17.5px, var(--paper-2) 18px); }
.folder h3 { font-size: clamp(1.9rem, 3.6vw, 3.3rem); line-height: 1; letter-spacing: -.028em; margin-bottom: 18px; }
.folder p { color: var(--muted); max-width: 54ch; }
.folder .link { margin-top: 26px; }
.meta { border-top: 1px solid var(--line); align-self: start; }
.meta div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.meta dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.meta dd { margin: 0; }
.seal { position: absolute; right: clamp(20px, 3vw, 44px); bottom: clamp(18px, 2.6vw, 36px); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); border: 1.5px solid var(--accent); padding: 7px 12px; border-radius: 4px; transform: rotate(-6deg); opacity: .85; }

/* ---------- Historia / línea de tiempo ---------- */
.history { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.history-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; position: relative; }
.history-media img { width: 100%; height: 116%; object-fit: cover; }
.timeline { border-top: 1px solid var(--line); margin-top: 40px; }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline .when { font-family: var(--serif); font-size: 1.9rem; letter-spacing: -.02em; line-height: 1; }
.timeline .when small { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: block; }
.timeline p { color: var(--muted); }
.timeline p b { color: var(--ink); font-weight: 500; }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.member { display: block; position: relative; }
.member figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--ink-2); position: relative; }
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.member:hover img { transform: scale(1.05); }
.member .tag { position: absolute; left: 10px; top: 10px; background: rgb(255 255 255 / .95); color: var(--ink); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 6px; }
.member .see { position: absolute; right: 10px; bottom: 10px; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .45s var(--ease); }
.member .see svg { width: 15px; height: 15px; }
.member:hover .see, .member:focus-visible .see { transform: scale(1); }
.member h3 { font-size: 1.35rem; margin-top: 14px; }
.member p { font-size: 14.5px; color: var(--muted); }
.dark .member p { color: var(--muted-d); }
.team--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Noticias ---------- */
.news-list { border-top: 1px solid var(--line); }
.news { display: grid; grid-template-columns: 150px minmax(0, 1fr) 46px; gap: clamp(16px, 3vw, 44px); padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; transition: padding .45s var(--ease); }
.news:hover { padding-left: 12px; }
.news time { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 8px; }
.news h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); margin-bottom: 8px; }
.news p { color: var(--muted); font-size: 15.5px; max-width: 70ch; }
.news .go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .35s var(--ease); }
.news .go svg { width: 16px; height: 16px; }
.news:hover .go { background: var(--accent); border-color: var(--accent); color: #fff; }
.news-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ncard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; min-height: 330px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ncard:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgb(14 26 43 / .12); }
.ncard .top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ncard h3 { font-size: 1.55rem; }
.ncard p { color: var(--muted); font-size: 15px; }
.ncard .link { margin-top: auto; align-self: flex-start; font-size: 14.5px; }
.ncard--lead { grid-column: span 2; background: var(--ink); color: var(--white); border: 0; }
.ncard--lead h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); max-width: 22ch; }
.ncard--lead p, .ncard--lead .top { color: var(--muted-d); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 44px; gap: 16px; align-items: center; padding: 26px 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.9rem); letter-spacing: -.018em; line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.faq summary .pm { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: .35s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm { background: var(--ink); color: #fff; border-color: var(--ink); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 60px 28px 72px; color: var(--muted); max-width: 78ch; }

/* ---------- Mesa de entradas (formulario) ---------- */
.desk { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3.2vw, 44px); position: relative; border: 1px solid var(--line); }
.form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding-bottom: 18px; border-bottom: 1px dashed var(--line); margin-bottom: 26px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgb(14 26 43 / .55); padding: 10px 0 12px; font-size: 17px; border-radius: 0; outline: none; transition: border-color .3s; min-height: 46px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.field ::placeholder { color: #66707C; opacity: 1; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.seg label { position: relative; cursor: pointer; font-family: var(--sans); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; min-height: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; height: 46px; padding: 0 18px; border: 1px solid rgb(14 26 43 / .55); border-radius: 999px; transition: .25s; }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 34ch; }
.received { position: absolute; inset: 0; background: var(--white); border-radius: var(--radius); display: none; place-items: center; text-align: center; padding: 30px; }
.received.show { display: grid; }
.received .big-seal { font-family: var(--mono); font-size: clamp(1.2rem, 2.6vw, 2rem); letter-spacing: .14em; color: var(--accent); border: 3px solid var(--accent); padding: 16px 28px; border-radius: 8px; transform: rotate(-7deg); display: inline-block; margin-bottom: 26px; }
.info { display: grid; gap: 0; border-top: 1px solid var(--line-d); margin-top: 36px; }
.info div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-d); }
.info dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); padding-top: 4px; }
.info dd { margin: 0; }
.info a:hover { color: var(--accent-d); }
.light .info, .light .info div { border-color: var(--line); } .light .info dt { color: var(--muted); } .light .info a:hover { color: var(--accent); }

/* ---------- Cabeceras de páginas interiores ---------- */
.phead { padding-block: clamp(40px, 6vw, 84px) clamp(40px, 5vw, 72px); }
.crumbs { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 56px); }
.dark .crumbs { color: var(--muted-d); }
.crumbs a:hover { color: var(--accent); } .dark .crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: var(--ink); } .dark .crumbs span[aria-current] { color: #fff; }
.phead h1 { font-size: clamp(2.7rem, 6.6vw, 6.4rem); max-width: 16ch; }
.phead-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.dark-top { margin-top: -96px; padding-top: 96px; }
.banner { border-radius: var(--radius); overflow: hidden; aspect-ratio: 21/9; position: relative; background: var(--ink-2); }
.banner img { width: 100%; height: 124%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: var(--brand); mix-blend-mode: soft-light; opacity: .55; }

/* Detalle (área / caso / noticia) */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 100px); align-items: start; }
.detail--toc { grid-template-columns: 260px minmax(0, 1fr); }
.steps { counter-reset: s; border-top: 1px solid var(--line); margin-top: 34px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; line-height: 1.5; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .06em; padding-top: 5px; }
.steps b { font-weight: 500; font-family: var(--serif); font-size: 1.3em; letter-spacing: -.015em; display: block; margin-bottom: 4px; line-height: 1.15; }
.side { display: grid; gap: 16px; }
.side-nav { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--white); }
.side-nav h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.side-nav a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15.5px; transition: color .3s, padding .35s var(--ease); }
.side-nav a:hover { color: var(--accent); padding-left: 6px; }
.side-nav a[aria-current] { color: var(--accent); font-weight: 500; }
.side-nav a span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.side-cta { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 26px; display: grid; gap: 18px; }
.side-cta p { font-family: var(--serif); font-size: 1.7rem; line-height: 1.05; letter-spacing: -.02em; }
.prose { max-width: 70ch; }
.prose > p:first-child { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.3; letter-spacing: -.012em; color: var(--ink); }
.prose p { margin-bottom: 1.15em; color: #263242; }
.prose h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); margin: 1.7em 0 .6em; scroll-margin-top: 120px; }
.prose h2 .n { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .06em; display: block; margin-bottom: 10px; }
.prose h3 { font-size: 1.45rem; margin: 1.3em 0 .4em; }
.prose ul { margin: 0 0 1.2em; border-top: 1px solid var(--line); }
.prose ul li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; color: #2B3848; }
.prose ul li::before { content: "§"; position: absolute; left: 0; top: 10px; font-family: var(--serif); color: var(--accent); }
.prose ul ul { border: 0; margin: 6px 0 0; } .prose ul ul li { border: 0; padding-block: 4px; }
.toc { font-size: 14.5px; }
.toc h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.toc a { display: block; padding: 12px 0 12px 14px; border-left: 1px solid var(--line); color: var(--muted); transition: .3s; }
.toc a:hover, .toc a.on { color: var(--ink); border-left-color: var(--accent); }
.caratula { background: var(--white); border: 1px solid var(--line); border-radius: 0 var(--radius) var(--radius) var(--radius); padding: 24px; position: relative; margin-top: 35px; }
.caratula .tab { background: var(--white); border: 1px solid var(--line); border-bottom: 0; top: -35px; left: -1px; }
.caratula .tab::after { display: none; }
.caratula .meta { border-top: 0; } .caratula .meta div:last-child { border-bottom: 0; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager a { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; background: var(--white); transition: .4s var(--ease); }
.pager a:hover { background: var(--ink); color: var(--white); }
.pager a:hover .label { color: var(--muted-d); }
.pager a:last-child { text-align: right; justify-items: end; }
.pager h3 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); }

/* Tarjetas de área (índice de áreas) */
.area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.acard { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 400px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(22px, 2.6vw, 34px); background: var(--ink); isolation: isolate; }
.acard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.05); transition: transform 1.2s var(--ease); }
.acard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(14 26 43 / .55), rgb(14 26 43 / .9)); transition: opacity .6s; }
.acard:hover img { transform: scale(1.06); }
.acard .top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; }
.acard .go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .4); display: grid; place-items: center; transition: .35s var(--ease); }
.acard .go svg { width: 16px; height: 16px; }
.acard:hover .go { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }
.acard h3 { font-size: clamp(1.9rem, 3.2vw, 3rem); margin-bottom: 10px; }
.acard p { color: rgb(255 255 255 / .8); max-width: 46ch; font-size: 15.5px; }

/* Perfil profesional */
.profile { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.profile figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; position: relative; }
.profile figure img { width: 100%; height: 100%; object-fit: cover; }

/* Cita */
.quote { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 3rem); line-height: 1.12; letter-spacing: -.022em; font-weight: 370; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21/8; min-height: 300px; width: 100%; filter: grayscale(1) contrast(1.05); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Pie ---------- */
.footer { background: var(--ink); color: var(--white); padding-top: clamp(72px, 9vw, 130px); overflow: hidden; position: relative; }
.f-cta { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 32px; align-items: end; padding-bottom: clamp(48px, 6vw, 84px); border-bottom: 1px solid var(--line-d); }
.f-cta h2 { font-size: clamp(2.8rem, 7.6vw, 7.6rem); line-height: .92; }
.f-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: clamp(24px, 4vw, 64px); padding-block: clamp(40px, 5vw, 72px); }
.f-cols h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-d); font-weight: 500; margin-bottom: 16px; }
.f-cols li { margin-bottom: 9px; }
.f-cols a { color: rgb(255 255 255 / .86); font-size: 15.5px; transition: color .3s; }
.f-cols a:hover { color: var(--accent-d); }
.f-cols img { height: 52px; width: auto; margin-bottom: 18px; }
.f-cols p { color: var(--muted-d); font-size: 15px; max-width: 34ch; }
.wordmark { font-family: var(--serif); font-size: clamp(3rem, 12.6vw, 13.6rem); line-height: .76; letter-spacing: -.05em; white-space: nowrap; text-align: center; color: var(--ink-3); margin-bottom: -.08em; user-select: none; font-weight: 360; }
.wordmark em { color: var(--ink-3); }
.f-legal { border-top: 1px solid var(--line-d); padding: 18px 0 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-d); position: relative; background: var(--ink); }
.mbar { display: none; }

/* ---------- Preloader (solo primera visita, lo activa el JS) ---------- */
.preloader { position: fixed; inset: 0; z-index: 300; background: var(--ink); color: var(--white); display: none; align-items: flex-end; justify-content: space-between; padding: var(--pad); font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.preloader.on { display: flex; }
.preloader-num { font-family: var(--serif); font-size: clamp(5rem, 18vw, 15rem); line-height: .8; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }

/* 404 */
.nf { min-height: calc(100svh - 38px); display: grid; align-items: center; margin-top: -96px; padding-top: 96px; }
.nf h1 { font-size: clamp(6rem, 26vw, 24rem); line-height: .8; letter-spacing: -.06em; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .hdr-cta .btn, .folio { display: none; }
  .burger { display: grid; }
  .team, .team--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .f-cols { grid-template-columns: 1fr 1fr; }
  .detail, .detail--toc { grid-template-columns: 1fr; }
  .detail--toc .toc { display: none; }
  .bento { grid-template-columns: 1fr 1fr; } .bento .card:first-child { grid-column: 1 / -1; }
  .news-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .util .hide-m { display: none; }
  .hero-grid, .split-head, .areas-layout, .history, .desk, .phead-grid, .profile, .f-cta, .folder-in { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; align-items: start; }
  .hero-media { min-height: 0; aspect-ratio: 4/5; }
  .stamp { width: 104px; height: 104px; right: -6px; top: -36px; } .stamp b { font-size: 1.4rem; }
  .sticky { position: static; }
  .stats { grid-template-columns: 1fr; } .stat { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; } .stat:first-child { border-top: 0; }
  .bento, .area-grid, .news-cards, .pager, .fields { grid-template-columns: 1fr; }
  .ncard--lead { grid-column: auto; }
  .team, .team--4 { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 10px; } .row .go { width: 40px; height: 40px; }
  .news { grid-template-columns: 1fr 40px; } .news time { grid-column: 1 / -1; padding: 0; }
  .faq summary { grid-template-columns: 30px 1fr 40px; gap: 10px; } .faq .ans { padding: 0 0 24px 40px; }
  .folder { top: calc(92px + var(--i) * 40px); }
  .folder-in { min-height: 0; padding-bottom: 70px; }
  .timeline li { grid-template-columns: 92px 1fr; }
  .f-cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .folio, .hover-img { display: none; }
  .banner { aspect-ratio: 4/3; }
  .map { aspect-ratio: 4/5; }
  .mbar { display: grid; grid-template-columns: 1fr auto; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 35; }
  .mbar a { height: 52px; border-radius: 999px; display: grid; place-items: center; font-weight: 500; font-size: 15.5px; box-shadow: 0 10px 30px rgb(14 26 43 / .3); }
  .mbar a:first-child { background: var(--accent); color: #fff; }
  .mbar a:last-child { background: var(--white); color: var(--ink); width: 52px; border: 1px solid var(--line); }
  .mbar svg { width: 20px; height: 20px; }
  .meta div, .info div { grid-template-columns: 100px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
}

/* ---------- Ajustes de robustez ---------- */
html { background: var(--ink); }
.desk > *, .history > *, .areas-layout > *, .detail > *, .profile > *, .hero-grid > *, .f-cols > * { min-width: 0; }
.info dd, .f-cols a, .util a { overflow-wrap: anywhere; }
.profile figure { max-width: 520px; }
@media (max-width: 820px) {
  .f-cols > div:first-child, .f-cols > div:last-child { grid-column: 1 / -1; }
  .form-head span:last-child { display: none; }
  .hero-media { margin-right: 14px; }
}
.nav > li > a, .nav > li > button { white-space: nowrap; }
.is-scrolled .hdr { max-width: 1200px; }
main { overflow-x: clip; }

/* ---------- Revisión: detalle y accesibilidad ---------- */
.link { padding-block: 10px 5px; }
.f-cols li { margin-bottom: 0; } .f-cols li a { display: inline-block; padding-block: 7px; }
.side-nav a { padding: 13px 0; }
.crumbs a { padding-block: 6px; }
.member p { margin-top: 2px; }
.founders { border-top: 1px solid var(--line); margin-top: 36px; }
.founders li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.founders .when { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.founders p { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -.015em; }
@media (max-width: 820px) { .founders li { grid-template-columns: 1fr; gap: 6px; } .f-cols li a { padding-block: 11px; } .split-head { gap: 16px; } }
.info a { display: inline-block; padding-block: 9px; } .info div { align-items: center; }
.crumbs { align-items: center; }
.f-cols { grid-template-columns: 1.2fr 1fr .8fr 1.45fr; }
@media (max-width: 1100px) { .f-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .card { min-height: 0; gap: 12px; } .card h3 { margin-top: 28px; } .card--img { min-height: 300px; } }

/* ---------- Inicio compacto + pie completo ---------- */
.section { padding-block: clamp(56px, 7vw, 100px); }
.hero h1 { font-size: clamp(2.7rem, 6.3vw, 6.4rem); line-height: .95; }
.rows-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 56px); border-top: 0; border-bottom: 1px solid var(--line); }
.rows-2 .row { border-bottom: 0; border-top: 1px solid var(--line); padding: 20px 0; }
.rows-2 .row h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.card { min-height: 290px; }
.footer.no-cta { padding-top: 0; } .footer.no-cta .f-cta { display: none; }
.footer.no-cta .f-cols { border-top: 1px solid var(--line-d); }
.wordmark { font-size: clamp(2.6rem, 11.6vw, 12.4rem); line-height: 1; margin-bottom: 0; padding-bottom: .12em; overflow: visible; }
.footer { overflow: visible; }
@media (max-width: 820px) { .rows-2 { grid-template-columns: 1fr; } }

/* ==========================================================================
   WordPress: contenido editable, paginación, formulario y barra de administración
   ========================================================================== */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.prose a:not(.link) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose ol li { padding: 6px 0; color: #2B3848; }
.prose img, .prose figure, .prose iframe, .prose video { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1.6em 0; }
.prose figure img { margin: 0; }
.prose figcaption { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); margin-top: 10px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; color: var(--ink); }
.prose .alignleft { float: left; margin: .4em 1.6em 1em 0; } .prose .alignright { float: right; margin: .4em 0 1em 1.6em; } .prose .aligncenter { margin-inline: auto; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(40px, 5vw, 64px); font-family: var(--mono); font-size: 13px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; }
.pagination .current, .pagination a.page-numbers:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.form-error { display: none; margin-top: 16px; color: var(--accent); font-size: 14px; }
.form-error.show { display: block; }
.form [aria-busy="true"] .btn[type="submit"] { opacity: .6; pointer-events: none; }
.prof-areas { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.f-legal .credit a { color: var(--white); border-bottom: 1px solid var(--line-d); transition: color .3s var(--ease), border-color .3s var(--ease); }
.f-legal .credit a:hover { color: var(--accent-d); border-color: var(--accent-d); }
.f-legal .heart { color: var(--accent-d); display: inline-block; animation: gl-beat 1.6s var(--ease) infinite; }
@keyframes gl-beat { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .f-legal .heart { animation: none; } }
