/* =========================================================
   Derecho e IA - Sistema de diseno legal-tech premium
   ========================================================= */

:root {
  --navy-900: #0b121c;
  --navy-800: #0e1622;
  --navy-700: #121a27;
  --navy-600: #1a2433;
  --navy-500: #24314a;
  --gold: #dca953;
  --gold-soft: #e8c988;
  --gold-deep: #b98a3c;
  --white: #ffffff;
  --ivory: #f4f1ea;
  --gray-cool: #a8b2c1;
  --gray-dim: #7d8798;
  --steel: #3d5a80;
  --line: rgba(220, 169, 83, 0.18);
  --line-soft: rgba(168, 178, 193, 0.14);
  --ok: #2f9e7a;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.75);
  --shadow-gold: 0 18px 50px -24px rgba(220, 169, 83, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-cool);
  background-color: var(--navy-900);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(61, 90, 128, 0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(220, 169, 83, 0.06), transparent 55%);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--white);
  line-height: 1.12;
  font-weight: 600;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

p { margin: 0 0 1.1em; }

a {
  color: var(--gold-soft);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ivory);
  max-width: 60ch;
}

.text-muted { color: var(--gray-dim); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(120deg, var(--gold), var(--gold-deep));
  color: #201603;
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover {
  color: #201603;
  transform: translateY(-2px);
  box-shadow: 0 22px 60px -20px rgba(220, 169, 83, 0.6);
}
.btn--ghost {
  border-color: rgba(220, 169, 83, 0.4);
  color: var(--gold-soft);
  background: rgba(220, 169, 83, 0.04);
}
.btn--ghost:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 18, 28, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}
.brand:hover { color: var(--white); }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.05;
}
.brand__name span { display: block; font-family: var(--font-sans); font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: 3px; }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  color: var(--gray-cool);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--white); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

.header-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--gold-soft); transition: 0.3s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 84px;
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 40%, transparent, var(--navy-900) 92%);
  z-index: 1;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; max-width: 900px; }
.hero h1 { margin-bottom: 0.3em; }
.hero h1 .gold { color: var(--gold); font-style: italic; font-weight: 500; }
.hero__contact {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 0.9rem;
  color: var(--gray-dim);
}
.hero__contact span { display: inline-flex; align-items: center; gap: 8px; }
.hero__contact svg { width: 16px; height: 16px; color: var(--gold); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 40px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollpulse 2s var(--ease) infinite;
}
@keyframes scrollpulse { 0%,100%{opacity:.3;transform:scaleY(.6)} 50%{opacity:1;transform:scaleY(1)} }

/* ---------- Section head ---------- */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Capacidades / cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.card:hover::after { width: 100%; }
.card__icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(220, 169, 83, 0.1);
  border: 1px solid var(--line);
  margin-bottom: 22px;
  color: var(--gold);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.97rem; margin-bottom: 0; }

/* ---------- Selector de necesidad ---------- */
.selector {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
}
.selector__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.chip {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.02);
  color: var(--gray-cool);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.chip:hover { border-color: var(--line); color: var(--white); }
.chip.is-active {
  background: linear-gradient(120deg, var(--gold), var(--gold-deep));
  color: #201603;
  border-color: transparent;
}
.selector__panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.selector__result h3 { color: var(--gold-soft); }
.selector__services { list-style: none; padding: 0; margin: 0 0 18px; }
.selector__services li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--ivory);
  border-bottom: 1px dashed var(--line-soft);
}
.selector__services li::before {
  content: "";
  position: absolute; left: 0; top: 16px;
  width: 12px; height: 12px;
  border: 2px solid var(--gold);
  border-radius: 3px;
  transform: rotate(45deg);
}
.selector__paper {
  background: rgba(220, 169, 83, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.selector__paper .tag { font-size: 0.72rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.16em; }
.selector__paper h4 { font-family: var(--font-serif); color: var(--white); font-size: 1.02rem; margin: 8px 0 14px; }
.selector__note { margin-top: 20px; font-size: 0.82rem; color: var(--gray-dim); font-style: italic; }

/* ---------- Servicios: familias / acordeon ---------- */
.family { margin-bottom: 22px; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: var(--navy-800); }
.family__head {
  display: flex; align-items: center; gap: 18px;
  padding: 26px 28px;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.family__head:hover { background: rgba(220,169,83,0.04); }
.family__num { font-family: var(--font-serif); font-size: 1.4rem; color: var(--gold); min-width: 44px; }
.family__head h3 { margin: 0; flex: 1; }
.family__toggle {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--gold);
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
}
.family.is-open .family__toggle { transform: rotate(45deg); }
.family__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.family.is-open .family__body { max-height: 900px; }
.family__list { padding: 0 28px 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 30px; }
.service-item {
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}
.service-item h4 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--white); margin: 0 0 6px; }
.service-item p { font-size: 0.9rem; color: var(--gray-dim); margin: 0; }

/* ---------- Metodologia timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.timeline::before {
  content: "";
  position: absolute; top: 27px; left: 6%; right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--line), var(--gold), var(--line));
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step__dot {
  width: 56px; height: 56px; margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--navy-700);
  border: 2px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold);
  position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--navy-900);
}
.step h4 { font-family: var(--font-sans); font-size: 1.02rem; color: var(--white); margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--gray-dim); }

/* ---------- Papers ---------- */
.paper-card {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  height: 100%;
}
.paper-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow); }
.paper-card__eje {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--gold); margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.paper-card__eje::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.paper-card h3 { font-size: 1.18rem; line-height: 1.25; margin-bottom: 14px; }
.paper-card__date { font-size: 0.82rem; color: var(--gray-dim); margin-bottom: 14px; }
.paper-card p { font-size: 0.92rem; flex: 1; }
.paper-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.paper-card__tags span { font-size: 0.72rem; padding: 4px 12px; border-radius: 999px; background: rgba(61,90,128,0.18); color: var(--gray-cool); border: 1px solid var(--line-soft); }
.paper-card__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.paper-card__actions .btn { padding: 10px 20px; font-size: 0.85rem; }

.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; justify-content: center; }

/* ---------- Cultura / editorial ---------- */
.culture { position: relative; }
.culture__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  color: var(--white);
  line-height: 1.25;
  font-style: italic;
  font-weight: 500;
  max-width: 20ch;
}
.culture__quote .gold { color: var(--gold); }
.pillars { list-style: none; padding: 0; margin: 26px 0 0; }
.pillars li { padding: 14px 0 14px 34px; position: relative; border-top: 1px solid var(--line-soft); color: var(--ivory); }
.pillars li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 16px; height: 16px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(220,169,83,0.14), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(44px, 6vw, 80px);
  text-align: center;
}
.cta-band h2 { max-width: 20ch; margin: 0 auto 28px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding: calc(84px + clamp(60px, 9vw, 120px)) 0 clamp(48px, 6vw, 80px);
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(61,90,128,0.2), transparent 60%);
}
.page-hero__inner { max-width: 820px; }

/* ---------- Formulario ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.info-block { margin-bottom: 26px; }
.info-block .label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); margin-bottom: 6px; }
.info-block .value { color: var(--ivory); font-size: 1.02rem; }
.info-block a { color: var(--ivory); }
.info-block a:hover { color: var(--gold); }

.form { background: linear-gradient(180deg, var(--navy-700), var(--navy-800)); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; color: var(--gray-cool); margin-bottom: 8px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(11,18,28,0.6);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(220,169,83,0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--gray-dim); }
.field-check input { width: auto; margin-top: 4px; }
.form__note { font-size: 0.8rem; color: var(--gray-dim); margin-top: 14px; }
.form__success { display: none; padding: 16px; border-radius: var(--radius-sm); background: rgba(47,158,122,0.12); border: 1px solid rgba(47,158,122,0.4); color: #8fe3c6; margin-bottom: 20px; }
.form__success.is-visible { display: block; }

/* ---------- Modal visor PDF ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 8, 14, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal__box {
  width: min(1000px, 100%);
  height: min(86vh, 900px);
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line-soft); }
.modal__head h4 { margin: 0; font-size: 1rem; color: var(--white); }
.modal__close { background: none; border: 1px solid var(--line-soft); color: var(--gold-soft); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.modal__close:hover { border-color: var(--gold); }
.modal__box iframe { flex: 1; width: 100%; border: 0; background: #333; }

/* ---------- Escenarios (stepper) ---------- */
.scenario { border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: var(--navy-800); margin-bottom: 20px; }
.scenario__head { padding: 24px 28px; display: flex; align-items: center; gap: 16px; }
.scenario__head h3 { margin: 0; font-size: 1.2rem; }
.scenario__steps { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 28px 28px; }
.scenario__step {
  flex: 1; min-width: 140px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(11,18,28,0.5);
  border: 1px solid var(--line-soft);
  font-size: 0.86rem;
  color: var(--ivory);
  position: relative;
}
.scenario__step b { display: block; color: var(--gold); font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-800);
  border-top: 1px solid var(--line-soft);
  padding: 72px 0 32px;
  margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand img { width: 50px; height: 50px; object-fit: contain; }
.footer-col h5 { color: var(--gold-soft); font-family: var(--font-sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--gray-cool); font-size: 0.94rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding-top: 26px; border-top: 1px solid var(--line-soft);
  font-size: 0.82rem; color: var(--gray-dim);
}
.footer-principle { color: var(--gold-soft); font-style: italic; font-family: var(--font-serif); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .selector__panel { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 84px; left: 0; right: 0;
    background: rgba(11,18,28,0.97);
    padding: 24px; gap: 18px;
    border-bottom: 1px solid var(--line);
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .family__list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* Accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
