/* ==========================================================================
   Despacho Integral Meneses Jaime — estilos base
   Valores con [TL] provienen de Taste Library (ruta indicada).
   Valores con [P] son propuesta ISNOM / adaptación propia.
   ========================================================================== */

@font-face {
  font-family: "Klein";
  src: url("assets/fonts/KleinWeb-45Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Klein";
  src: url("assets/fonts/KleinWeb-55Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color — monocromo */
  --ink: #171717;            /* [TL] vercel/colors baseline "Ink Black" */
  --ink-2: #4D4D4D;          /* [TL] vercel/colors secondary "Secondary Gray" (8.4:1 sobre blanco) */
  --ink-3: #666666;          /* [TL] vercel/colors secondary shade (5.7:1 sobre blanco) */
  --paper: #FFFFFF;          /* [TL] vercel/surfaces "Card Background" */
  --paper-nav: #FAFAFA;      /* [TL] vercel/navigation top_nav.background */
  --paper-alt: #F5F5F5;      /* [TL] teenage-engineering/layout section_separation */
  /* Acento corporativo
     [TL] teenage-engineering/colors "Signal Blue" #0071BB: único acento, reservado para acciones.
     Aquí se amplía a etiquetas y numeración [P]. 5.15:1 sobre blanco, 4.72:1 sobre #F5F5F5. */
  --accent: #0071BB;
  --accent-hover: #005E9C;   /* [P] 6.8:1 con texto blanco */
  --night: #0B2540;          /* [P] azul marino para secciones oscuras (sustituye #0F0E12 de TE) */
  --night-ink: #E5E5E5;      /* [TL] teenage-engineering/colors "Paper" (12.3:1 sobre --night) */
  --night-ink-2: #A9C6E3;    /* [P] azul claro secundario (8.8:1 sobre --night) */
  --line: #EBEBEB;           /* [TL] vercel/colors "Subtle 1px button and card borders" */
  --line-strong: #DBDBDB;    /* [TL] vercel/colors Paper shade */
  --line-night: #23405F;     /* [P] divisor sobre azul marino */
  --hover: #F2F2F2;          /* [TL] vercel/actions secondary hover background */
  --ink-hover: hsl(0, 0%, 22%); /* [TL] vercel/actions primary hover background */

  /* Tipografía — una sola familia, pesos ligeros */
  --font: "Klein", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --track-caps: 0.06em;      /* [P] mayúsculas abiertas, nunca tracking negativo */
  --track-label: 0.12em;     /* [P] etiquetas */

  /* Retícula */
  --container: 980px;        /* [TL] teenage-engineering/layout grid.max_width */
  --gutter: 20px;            /* [TL] vercel/layout grid.gutter (desktop/tablet) */
  --side: 24px;              /* [TL] vercel/layout breakpoints mobile 24px gutter */

  /* Ritmo vertical: 48px móvil → 160px escritorio
     [TL] vercel/layout section_separation (40-64px móvil, 128-176px escritorio) */
  --section: clamp(48px, 11vw, 160px);

  --nav-h: 64px;             /* [TL] vercel/navigation top_nav.height */
  --radius: 0;               /* [TL] a24/actions + teenage-engineering/actions "rounded-none" */
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px;            /* [TL] vercel/typography "Copy 18" 18/28 */
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 300; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Foco visible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.is-night :focus-visible { outline-color: var(--paper); }

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Contenedor y retícula de 12 columnas
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--side) * 2);
  margin: 0 auto;
  padding: 0 var(--side);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 40px;
}
.grid > * { grid-column: 1 / -1; }

@media (min-width: 961px) {
  .col-l { grid-column: 1 / span 5; }
  .col-r { grid-column: 7 / span 6; }
  .col-half-l { grid-column: 1 / span 6; }
  .col-half-r { grid-column: 7 / span 6; }
}

.section { padding: var(--section) 0; }
.section + .section.is-white { border-top: 1px solid var(--line); }
.is-alt { background: var(--paper-alt); }
.is-night { background: var(--night); color: var(--night-ink); }

/* --------------------------------------------------------------------------
   Tipografía
   -------------------------------------------------------------------------- */
.caps {
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
}

.label {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--accent);
}
.is-night .label { color: var(--night-ink-2); }

/* Escala de títulos: vercel/typography Heading 64 / 48 / 32 / 24 [TL],
   peso 300 y mayúsculas abiertas [P, por marca] */
.h-display {
  font-size: clamp(30px, 6.4vw, 64px);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
}
.h-1 {
  font-size: clamp(28px, 3.8vw, 40px); /* [TL] vercel/typography Heading 40 */
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
}
.h-2 {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
}
.h-3 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
}

.lead {
  font-size: clamp(18px, 1.8vw, 20px);  /* [TL] vercel/typography "Copy 20" 20/36 */
  line-height: 1.75;
  color: var(--ink-2);
}
.is-night .lead { color: var(--night-ink-2); }

.muted { color: var(--ink-2); }
.small { font-size: 15px; line-height: 24px; }

/* --------------------------------------------------------------------------
   Placeholders (contenido pendiente del despacho) — deliberadamente visibles
   -------------------------------------------------------------------------- */
.ph {
  display: inline-block;
  padding: 0 6px;
  border: 1px dashed var(--ink-3);
  background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(0,0,0,.035) 6px 7px);
  color: var(--ink-2);
  font-size: 0.85em;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.is-night .ph {
  border-color: var(--night-ink-2);
  background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(255,255,255,.05) 6px 7px);
  color: var(--night-ink-2);
}
.ph-block {
  display: block;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 24px;
}
.ph-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Acciones
   Botones: [TL] vercel/actions (sólido #171717 / contorno 1px #EBEBEB, hover);
   radio: [TL] a24 + teenage-engineering "rounded-none" (sin píldoras).
   Links con flecha: [TL] a24/layout "[→] minimal link with arrow".
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn-solid { background: var(--accent); color: var(--paper); }
.btn-solid:hover { background: var(--accent-hover); }
.btn-line { background: var(--paper); color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { background: var(--hover); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 12px; }

.is-night .btn-solid { background: var(--paper); color: var(--night); }
.is-night .btn-solid:hover { background: var(--night-ink); }
.is-night .btn-line { background: transparent; color: var(--paper); border-color: #4A6787; }
.is-night .btn-line:hover { background: #12304F; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions-center { justify-content: center; }

.arrow-link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  /* subrayado fino: [TL] a24/typography highlights (subrayado con linear-gradient) */
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 4px;
}
.arrow-link .arr { transition: transform .2s ease; }
.arrow-link:hover .arr { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Navegación — sticky 64 px [TL] vercel/navigation; acciones a la derecha [TL] stripe/layout
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--paper-nav);
  border-bottom: 1px solid var(--line);
}
.nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark { width: auto; height: 28px; }
.brand-name {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 28px; margin-left: 8px; }
.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-actions { margin-left: auto; display: flex; gap: 8px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1px;
  background: var(--ink);
  content: "";
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle .bars { top: 22px; }
.nav-toggle .bars::before { left: 0; top: -6px; }
.nav-toggle .bars::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open .nav-menu {
    display: flex;
  }
}
.nav-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  flex-direction: column;
  gap: 4px;
  padding: 24px var(--side) 40px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow-y: auto;
}
.nav-menu a.m-link {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  text-decoration: none;
}
.nav-menu .actions { margin-top: 24px; }
.nav-menu .btn { flex: 1 1 100%; }
@media (min-width: 861px) { .nav-menu { display: none !important; } }

/* --------------------------------------------------------------------------
   Hero — centrado con el monograma como ancla [TL] vercel/layout insights
   -------------------------------------------------------------------------- */
.hero {
  padding: clamp(56px, 10vw, 136px) 0 var(--section);
  text-align: center;
}
.monogram {
  width: clamp(140px, 17vw, 208px);
  height: auto;
  margin: 0 auto clamp(40px, 6vw, 64px);
}
.hero .label { margin-bottom: 28px; }
.hero h1 { max-width: 23ch; margin: 0 auto; }
.hero .lead { max-width: 560px; margin: 28px auto 40px; }

.hero-meta {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  text-align: left;
}
.hero-meta li {
  padding: 20px 20px 0 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-2);
}
.hero-meta li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-meta strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
@media (max-width: 640px) {
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta li { padding: 16px 0; }
  .hero-meta li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* --------------------------------------------------------------------------
   Bloques 50/50
   -------------------------------------------------------------------------- */
.split-head .label { margin-bottom: 20px; }
.split-body > * + * { margin-top: 24px; }

@media (min-width: 961px) {
  #nosotras .split-head, .sticky-head { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
}
.story > * + * { margin-top: 20px; }
.story p:not(.lead) { color: var(--ink-2); }
.story strong { color: var(--ink); font-weight: 400; }
.story + .team { margin-top: 56px; }

.principles {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.principles li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.principles .num {
  font-size: 12px;
  letter-spacing: var(--track-label);
  color: var(--ink-3);
  padding-top: 3px;
}
.principles p { color: var(--ink-2); font-size: 16px; line-height: 26px; grid-column: 2; }

/* --------------------------------------------------------------------------
   Servicios — grilla 3×2, divisores 1 px
   -------------------------------------------------------------------------- */
.services-head { margin-bottom: clamp(40px, 6vw, 72px); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 961px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
  padding: 28px 24px 32px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper-alt);
  transition: background-color .2s ease;
}
.service:hover { background: var(--paper); }
@media (max-width: 699px) { .service { min-height: 0; } .service h3 { margin-top: 24px; } }
.service .num {
  font-size: 12px;
  letter-spacing: var(--track-label);
  color: var(--ink-3);
}
.service h3 { margin-top: auto; }
.service p { font-size: 15px; line-height: 24px; color: var(--ink-2); }

.services-note {
  margin-top: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  max-width: 720px;
}
.services-note .dot {
  width: 8px; height: 8px; margin-top: 9px; background: var(--ink);
}
.services-foot { margin-top: 40px; }

/* --------------------------------------------------------------------------
   Nosotras — equipo
   -------------------------------------------------------------------------- */
.team { display: grid; gap: var(--gutter); grid-template-columns: 1fr; }
@media (min-width: 560px) { .team { grid-template-columns: 1fr 1fr; } }
.person { border-top: 1px solid var(--ink); padding-top: 20px; }
.person-photo {
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--ink-3);
  background: repeating-linear-gradient(135deg, var(--paper-alt) 0 8px, #EFEFEF 8px 9px);
  font-size: 11px;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  padding: 16px;
}
.person h3 { margin-bottom: 6px; }
.person .role { font-size: 15px; line-height: 24px; color: var(--ink-2); }
.person .ced { margin-top: 10px; font-size: 14px; }

/* --------------------------------------------------------------------------
   Confianza — cómo trabajamos (fondo negro) [TL] teenage-engineering/layout
   -------------------------------------------------------------------------- */
.steps {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-night);
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 961px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 24px 24px 8px 0; }
@media (min-width: 700px) {
  .step + .step { padding-left: 24px; border-left: 1px solid var(--line-night); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (min-width: 961px) {
  .step:nth-child(3) { border-left: 1px solid var(--line-night); padding-left: 24px; }
}
@media (max-width: 699px) {
  .step { border-bottom: 1px solid var(--line-night); padding: 24px 0; }
}
.step .num { font-size: 12px; letter-spacing: var(--track-label); color: var(--night-ink-2); }
.step h3 { margin: 28px 0 10px; color: var(--paper); }
.step p { font-size: 15px; line-height: 24px; color: var(--night-ink-2); }

/* --------------------------------------------------------------------------
   Cierre de contacto
   -------------------------------------------------------------------------- */
.closing { text-align: center; }
.closing .label { margin-bottom: 28px; }
.closing h2 { max-width: 18ch; margin: 0 auto 40px; }

.contact-grid {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  text-align: left;
}
@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 961px) { .contact-grid { grid-template-columns: repeat(5, 1fr); } }
.contact-item {
  padding: 20px 16px 20px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 961px) {
  .contact-item { border-bottom: 0; }
  .contact-item + .contact-item { padding-left: 16px; border-left: 1px solid var(--line); }
}
.contact-item .label { margin-bottom: 10px; }
.contact-item .ph { font-size: 14px; line-height: 22px; }

/* --------------------------------------------------------------------------
   Pie
   -------------------------------------------------------------------------- */
.footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-2);
}
.footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: space-between;
  align-items: baseline;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.footer-brand { display: flex; flex-direction: column; gap: 20px; }

/* Logo del pie: monograma + texto en Klein (el lockup SVG resultaba ilegible a este tamaño) [P] */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  text-decoration: none;
}
.footer .footer-logo:hover { color: var(--ink); text-decoration: none; }
.footer-logo img { width: auto; height: 48px; }
.fl-rule { width: 1px; align-self: stretch; background: var(--ink); }
.fl-text { display: flex; flex-direction: column; gap: 4px; }
.fl-kicker,
.fl-tag {
  font-size: 11px;
  line-height: 14px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.fl-name {
  font-size: 22px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Aviso de borrador — retirar al publicar */
.draft-bar {
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 16px;
}

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

/* --------------------------------------------------------------------------
   Páginas interiores
   -------------------------------------------------------------------------- */
.page-hero {
  padding: clamp(56px, 9vw, 128px) 0 clamp(48px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.page-hero .label { margin-bottom: 24px; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 600px; margin-top: 28px; }

/* Cifras (solo datos que da el propio despacho) */
.figures {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-strong);
}
@media (min-width: 700px) { .figures { grid-template-columns: repeat(3, 1fr); } }
.figure { padding: 28px 24px 8px 0; }
@media (min-width: 700px) { .figure + .figure { padding-left: 24px; border-left: 1px solid var(--line-strong); } }
@media (max-width: 699px) { .figure { border-bottom: 1px solid var(--line-strong); padding: 24px 0; } }
.figure .big {
  display: block;
  font-size: clamp(48px, 7vw, 72px);  /* [TL] vercel/typography Heading 72 */
  line-height: 1;
  font-weight: 300;
}
.figure p { margin-top: 12px; font-size: 15px; line-height: 24px; color: var(--ink-2); }

/* Valores */
.values {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-night);
  margin-top: clamp(40px, 6vw, 72px);
}
@media (min-width: 700px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values li {
  padding: 28px 24px 28px 0;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  color: var(--paper);
}
@media (min-width: 700px) { .values li + li { padding-left: 24px; border-left: 1px solid var(--line-night); } }
@media (max-width: 699px) { .values li { border-bottom: 1px solid var(--line-night); } }
.quote {
  margin: clamp(40px, 6vw, 64px) 0 0;
  max-width: 30ch;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
  color: var(--night-ink);
}

/* Cierre compacto */
.closing-compact h2 { margin-bottom: 40px; }

/* Equipo a ancho completo */
.team-wide { grid-template-columns: 1fr; }
@media (min-width: 560px) { .team-wide { grid-template-columns: 1fr 1fr; } }
@media (min-width: 961px) { .team-wide { grid-column: 1 / -1; } .team-wide .person-photo { aspect-ratio: 3 / 2; } }

/* --------------------------------------------------------------------------
   Formulario
   -------------------------------------------------------------------------- */
@media (min-width: 961px) {
  .col-form { grid-column: 1 / span 7; }
  .col-aside { grid-column: 9 / span 4; }
}
.form { display: grid; gap: 24px; }
.form-row { display: grid; gap: 24px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label,
.field .flabel {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}
.field .req { color: var(--ink-2); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 24px;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 0;
  border-color: var(--ink);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B00020; }
.field .hint { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  line-height: 24px;
  color: var(--ink-2);
}
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.form-status {
  padding: 16px 18px;
  border: 1px solid var(--ink);
  font-size: 15px;
  line-height: 24px;
}
.form-status[hidden] { display: none; }

.details { border-top: 1px solid var(--ink); }
.details li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.details .label { margin-bottom: 8px; }
.map-slot {
  margin-top: 32px;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border: 1px dashed var(--ink-3);
  background: repeating-linear-gradient(135deg, var(--paper-alt) 0 8px, #EFEFEF 8px 9px);
  font-size: 11px;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  padding: 16px;
}

/* --------------------------------------------------------------------------
   Acento azul [P]
   -------------------------------------------------------------------------- */
.is-night .arrow-link { color: var(--paper); }
.service .num,
.principles .num,
.figure .big { color: var(--accent); }
.services-note .dot { background: var(--accent); }
.person { border-top-color: var(--accent); }
.details { border-top-color: var(--accent); }
.nav-links a[aria-current="page"] { color: var(--accent); }
.form-status { border-color: var(--accent); }
.check input { accent-color: var(--accent); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-color: var(--accent); border-color: var(--accent); }
.footer a:hover { color: var(--accent); }
.draft-bar { background: var(--night); }
.fl-kicker, .fl-tag, .fl-name { white-space: nowrap; }
@media (max-width: 420px) {
  .footer-logo { gap: 12px; }
  .footer-logo img { height: 40px; }
  .fl-kicker, .fl-tag { font-size: 10px; letter-spacing: 0.1em; }
  .fl-name { font-size: 20px; letter-spacing: 0.06em; }
}
.credit a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
