/* =============================================================
   Accionar Media — hoja de estilos única
   Arquetipo: Editorial Light Cream, paleta de marca
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #F6F4EE;
  --bg-2:      #EAE7DB;
  --paper:     #FFFFFF;
  --ink:       #17201A;
  --ink-soft:  #2C3A2F;
  --ink-mute:  #6E7A6F;
  --accent:    #597840;
  --accent-d:  #435D30;
  --lima:      #D3DA54;
  --graphite:  #646464;
  --line:      rgba(23, 32, 26, 0.14);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1320px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); }
::selection { background: var(--lima); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* View transitions entre páginas */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =============================================================
   3. Utilidades
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--accent); color: #fff;
  z-index: 9999; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; }

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

section { padding-block: clamp(4rem, 9vw, 8.5rem); }

/* =============================================================
   4. Tipografía editorial
   ============================================================= */
.kicker {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.kicker::after {
  content: ""; flex: 1; height: 1px; max-width: 90px;
  background: var(--line);
}

h1, .h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 7.5vw, 5.4rem);
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
h2, .h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}
h3 {
  font-family: var(--sans);
  font-size: 1.06rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
em, .it { font-style: italic; color: var(--accent); }

.lead {
  font-size: clamp(1.06rem, 1.8vw, 1.32rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}
.body-copy p { margin-bottom: 1.15rem; max-width: 68ch; }
.body-copy p:last-child { margin-bottom: 0; }

/* =============================================================
   5. Componentes
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .95rem 1.7rem;
  background: var(--accent); color: #fff;
  border-radius: 2px;
  font-size: .88rem; font-weight: 600; letter-spacing: .02em;
  transition: background .4s var(--ease-out), transform .4s var(--ease-out);
}
.btn:hover { background: var(--accent-d); transform: translateY(-2px); }
.btn svg { transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.link-ul {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .88rem; font-weight: 600; color: var(--accent);
  padding-bottom: 2px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px; background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size .45s var(--ease-out);
}
.link-ul:hover { background-size: 100% 1px; }

/* ---- Barra de navegación ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-block: 1.15rem;
  transition: background .45s var(--ease-out), box-shadow .45s var(--ease-out), padding .45s var(--ease-out);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: .55rem; }
.nav-logo img { width: 34px; }
.nav-logo .wordmark {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 400;
  letter-spacing: -.01em; color: var(--ink); line-height: 1;
}
.nav-logo .wordmark em { font-style: italic; color: var(--accent); font-weight: 300; }
.nav.on-dark:not(.is-stuck) .nav-logo .wordmark { color: #fff; }
.nav.on-dark:not(.is-stuck) .nav-logo .wordmark em { color: var(--lima); }
.nav-links { display: none; gap: 2.1rem; align-items: center; }
.nav-links a {
  font-size: .84rem; font-weight: 500; letter-spacing: .01em;
  color: var(--ink); opacity: .78;
  transition: opacity .3s var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; color: var(--accent); }
.nav.is-stuck {
  background: rgba(246, 244, 238, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: .8rem;
}
/* En páginas con hero oscuro, la nav arranca en blanco */
.nav.on-dark:not(.is-stuck) .nav-links a { color: #fff; opacity: .85; }
.nav.on-dark:not(.is-stuck) .nav-logo img { filter: brightness(0) invert(1); opacity: .95; }
.nav.on-dark:not(.is-stuck) .nav-burger span { background: #fff; }

.nav-burger {
  display: flex; flex-direction: column; gap: 5px;
  padding: .5rem; margin-right: -.5rem;
}
.nav-burger span {
  display: block; width: 24px; height: 1.5px; background: var(--ink);
  transition: transform .4s var(--ease-out), opacity .3s;
}
.nav.is-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  gap: 1rem;
  transform: translateY(-100%);
  transition: transform .6s var(--ease-out);
  visibility: hidden;
}
.nav-drawer.is-open { transform: translateY(0); visibility: visible; }
.nav-drawer a {
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 300; color: var(--ink);
  padding-block: .35rem;
  border-bottom: 1px solid var(--line);
}
.nav-drawer a:hover { color: var(--accent); }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .nav-drawer { display: none; }
}

/* ---- Cifras ---- */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem 1.5rem;
}
.stat { border-top: 2px solid var(--accent); padding-top: 1rem; }
.stat-n {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  color: var(--accent); line-height: 1;
}
.stat-l {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: .55rem; line-height: 1.45;
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats-3 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 720px) { .stats-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---- Tarjetas de proyecto ---- */
.proyectos-grid { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .proyectos-grid { grid-template-columns: repeat(2, 1fr); } }

.proyecto-card {
  position: relative; display: block; overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.proyecto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px -24px rgba(23, 32, 26, .38);
}
.proyecto-card figure { overflow: hidden; aspect-ratio: 4 / 3; }
.proyecto-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .8s var(--ease-out);
}
.proyecto-card:hover img { transform: scale(1.055); filter: saturate(1.1); }
.proyecto-body { padding: 1.6rem 1.7rem 1.8rem; }
.proyecto-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.1rem;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: .8rem;
}
.proyecto-meta span { position: relative; }
.proyecto-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin-bottom: .6rem;
}
.proyecto-card p { font-size: .93rem; color: var(--ink-mute); margin-bottom: 1.1rem; }

/* ---- Servicios ---- */
.servicios-grid { border-top: 1px solid var(--line); }
.servicio {
  /* Móvil: bloque apilado. La grilla de 3 columnas solo aplica desde 860px;
     forzarla antes con 3 hijos en 2 columnas hacía que el párrafo (que cae
     a la fila 2, columna 1) empujara esa columna a casi todo el ancho,
     dejando el título angosto en la columna restante. */
  padding-block: 1.9rem;
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease-out);
}
.servicio:hover { background: rgba(255,255,255,.55); }
.servicio-n {
  display: block;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  color: var(--lima); margin-bottom: .6rem;
}
.servicio h3 { margin-bottom: .35rem; }
.servicio p { font-size: .93rem; color: var(--ink-mute); max-width: 62ch; }
@media (min-width: 860px) {
  .servicio {
    display: grid; gap: .5rem 2.5rem;
    grid-template-columns: auto 320px 1fr;
    align-items: start;
  }
  .servicio-n { margin-bottom: 0; padding-top: .32rem; }
  .servicio h3 { margin-bottom: 0; }
}

/* ---- Ticker de clientes ---- */
.ticker {
  border-block: 1px solid var(--line);
  padding-block: 1.4rem;
  overflow: hidden;
  background: var(--bg-2);
}
.ticker-track {
  display: flex; gap: 3.5rem; width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker-track span {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 300;
  color: var(--ink-mute); white-space: nowrap;
  display: flex; align-items: center; gap: 3.5rem;
}
.ticker-track span::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--lima); display: inline-block;
}
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---- Galería ---- */
.galeria { display: grid; gap: 1rem; }
@media (min-width: 720px) { .galeria { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .galeria-3 { grid-template-columns: repeat(3, 1fr); } }
.galeria figure { margin: 0; }
.galeria img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.galeria figcaption {
  font-size: .78rem; color: var(--ink-mute); margin-top: .6rem;
  font-style: italic;
}
.galeria .wide { grid-column: 1 / -1; }
.galeria .wide img { aspect-ratio: 16 / 8; }

/* =============================================================
   6. Secciones
   ============================================================= */

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  background: #0F1A12;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .88;
  will-change: transform;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(11,20,13,.62) 0%,
    rgba(11,20,13,.12) 34%,
    rgba(11,20,13,.55) 68%,
    rgba(11,20,13,.92) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-content .kicker { color: var(--lima); }
.hero-content .kicker::after { background: rgba(255,255,255,.3); }
.hero h1 { color: #fff; text-shadow: 0 2px 26px rgba(0,0,0,.4); }
.hero h1 em { color: var(--lima); }
.hero-sub {
  margin-top: 1.6rem; max-width: 46ch;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
/* Franja de datos duros del hero */
.hero-datos {
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.28);
  max-width: 44rem;
}
.hero-datos-fila {
  display: flex; flex-wrap: wrap;
  gap: .9rem 1.4rem;
}
.hero-datos-fila > div { line-height: 1.2; flex: 0 1 auto; }
.hero-datos .n {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 4.6vw, 2.1rem);
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.hero-datos .l {
  font-size: .6rem; letter-spacing: .09em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-top: .2rem;
}
@media (min-width: 540px) {
  .hero-datos-fila { gap: 1.1rem 2.8rem; }
  .hero-datos .l { font-size: .7rem; letter-spacing: .13em; }
}
.hero-credito {
  margin-top: 1.3rem;
  font-size: .78rem; letter-spacing: .04em;
  color: rgba(255,255,255,.66);
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}

.hero-cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); }

.hero-scroll {
  position: absolute; bottom: 1.6rem; right: var(--gutter); z-index: 2;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  display: none; align-items: center; gap: .7rem;
}
@media (min-width: 960px) { .hero-scroll { display: flex; } }
.hero-scroll::after {
  content: ""; width: 1px; height: 34px;
  background: linear-gradient(rgba(255,255,255,.5), transparent);
}

/* ---- Hero interior (páginas de proyecto) ---- */
.hero-proyecto { min-height: 78svh; }
.hero-proyecto h1 { font-size: clamp(2.2rem, 5.6vw, 4.2rem); }

/* ---- Manifiesto (dos columnas asimétricas) ---- */
.manifiesto { display: grid; gap: 2.5rem; }
@media (min-width: 960px) {
  .manifiesto { grid-template-columns: 1fr 1.35fr; gap: 5rem; align-items: start; }
}

/* ---- Bloque de imagen + texto ---- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .split.rev > figure { order: 2; }
}
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---- Ficha de datos ---- */
.ficha-datos {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 1.5rem;
  padding-block: 2rem;
  border-block: 1px solid var(--line);
}
@media (min-width: 860px) { .ficha-datos { grid-template-columns: repeat(4, 1fr); } }
.ficha-datos .k {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: .45rem;
}
.ficha-datos .v {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 400;
  color: var(--accent); line-height: 1.25;
}

/* ---- Listado de especies ---- */
.especies { columns: 1; column-gap: 2.5rem; font-size: .9rem; }
@media (min-width: 720px) { .especies { columns: 2; } }
@media (min-width: 1100px) { .especies { columns: 3; } }
.especies li {
  break-inside: avoid; list-style: none;
  padding-block: .42rem;
  border-bottom: 1px solid var(--line);
}
.especies i { color: var(--ink-mute); font-size: .82rem; }

/* ---- Cita ---- */
.cita {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  line-height: 1.32; color: var(--ink);
  max-width: 22ch;
}

/* ---- Sección oscura ---- */
.dark { background: var(--ink); color: rgba(255,255,255,.82); }
.dark h2, .dark h3 { color: #fff; }
.dark .kicker { color: var(--lima); }
.dark .kicker::after { background: rgba(255,255,255,.22); }
.dark .stat { border-color: var(--lima); }
.dark .stat-n { color: var(--lima); }
.dark .stat-l { color: rgba(255,255,255,.6); }
.dark .lead { color: rgba(255,255,255,.82); }

/* ---- CTA final ---- */
.cta-final { background: var(--accent); color: #fff; }
.cta-final h2 { color: #fff; }
.cta-final h2 em { color: var(--lima); }
.cta-final p { color: rgba(255,255,255,.85); }
.cta-final .btn { background: #fff; color: var(--accent); }
.cta-final .btn:hover { background: var(--lima); color: var(--ink); }
.cta-datos { display: grid; gap: 1.6rem; margin-top: 3rem; }
@media (min-width: 720px) { .cta-datos { grid-template-columns: repeat(3, 1fr); } }
.cta-datos .k {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--lima); margin-bottom: .4rem;
}
.cta-datos .v { font-size: 1.02rem; font-weight: 600; color: #fff; }

/* ---- Footer ---- */
.footer {
  background: var(--ink); color: rgba(255,255,255,.6);
  padding-block: 3.5rem 2.5rem;
  font-size: .85rem;
}
.footer-top {
  display: grid; gap: 2.5rem;
  padding-bottom: 2.5rem; margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer img { width: 140px; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 1.2rem; }
.footer h4 {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--lima); margin-bottom: 1rem;
}
.footer a { color: rgba(255,255,255,.72); transition: color .3s; }
.footer a:hover { color: var(--lima); }
.footer ul { list-style: none; display: grid; gap: .55rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .76rem; color: rgba(255,255,255,.42);
}

/* =============================================================
   7. Efectos
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .95s var(--ease-out), transform .95s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }
/* Red de seguridad: si JS falla, el contenido se ve igual */
.no-js .reveal, html.is-ready-fallback .reveal { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: .09s; }
.reveal-d2 { transition-delay: .18s; }
.reveal-d3 { transition-delay: .27s; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 960px) {
  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* =============================================================
   9. Reduced motion — solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .hero-bg { transform: none !important; }
}

/* =============================================================
   10. Banner de consentimiento de cookies
   ============================================================= */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 200;
  background: var(--ink);
  color: rgba(255,255,255,.82);
  border-radius: 4px;
  box-shadow: 0 20px 60px -18px rgba(0,0,0,.55);
  padding: 1.5rem 1.4rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.cookie-banner.is-in { opacity: 1; transform: none; }

.cookie-inner {
  display: grid; gap: 1.3rem;
  max-width: var(--maxw); margin-inline: auto;
}
.cookie-text h3 {
  color: #fff; font-size: .95rem; margin-bottom: .5rem;
}
.cookie-text p {
  font-size: .84rem; line-height: 1.6;
  color: rgba(255,255,255,.72); margin: 0; max-width: 78ch;
}
.cookie-text a {
  color: var(--lima);
  background-image: linear-gradient(var(--lima), var(--lima));
  background-size: 100% 1px; background-repeat: no-repeat;
  background-position: left bottom;
}
.cookie-actions {
  display: flex; flex-wrap: wrap; gap: .7rem;
}
.cookie-actions .btn { flex: 1 1 auto; justify-content: center; padding: .8rem 1.4rem; }
.cookie-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.32); }
.cookie-actions .btn-ghost:hover { background: #fff; color: var(--ink); }

@media (min-width: 860px) {
  .cookie-banner { left: 2rem; right: 2rem; bottom: 2rem; padding: 1.7rem 2rem; }
  .cookie-inner {
    grid-template-columns: 1fr auto;
    align-items: center; gap: 2.5rem;
  }
  .cookie-actions .btn { flex: 0 0 auto; }
}

/* Página de privacidad */
.legal { padding-top: clamp(7rem, 12vw, 10rem); }
.legal h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 2.5rem 0 1rem; }
.legal h2:first-of-type { margin-top: 1.5rem; }
.legal p, .legal li { font-size: .95rem; max-width: 70ch; }
.legal ul { margin: 0 0 1rem 1.1rem; }
.legal li { margin-bottom: .5rem; }
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1rem;
  border-bottom: 1px solid var(--line);
}
.table-hint {
  display: none;
  font-size: .78rem; color: var(--ink-mute);
  margin: .5rem 0 1.5rem;
}
@media (max-width: 640px) {
  .table-hint { display: block; }
}
@media (min-width: 641px) {
  .table-scroll { margin-bottom: 1.5rem; }
}
.legal table {
  width: 100%; min-width: 540px; border-collapse: collapse;
  font-size: .86rem;
}
.legal th, .legal td {
  text-align: left; padding: .7rem .6rem;
  border-bottom: 1px solid var(--line); vertical-align: top;
  white-space: normal;
}
.legal th { color: var(--accent); font-weight: 650; }
.legal .pendiente {
  background: #FFF6D6; border-left: 3px solid #E0A100;
  color: #6B4E00; padding: .15rem .45rem; font-weight: 600;
}
