/* ==========================================================================
   DELSA PINTURAS — Design System v2
   Blanco dominante · Celeste de marca #00ACAF · Navy #173B63
   Rejilla de 8 px · Geist Sans · WCAG AA verificado
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Superficies */
  --white: #ffffff;
  --paper: #f4f8f9;
  --surface: #eef5f7;

  /* Texto */
  --ink: #0c1b23;          /* titulares / texto principal — 15.8:1 */
  --body: #33474f;         /* párrafos — 9.1:1 */
  --muted: #55686f;        /* secundario — 5.6:1 */

  /* Navy (estructura) */
  --navy: #173b63;         /* 11.4:1 sobre blanco */
  --navy-700: #102b49;
  --navy-900: #0a1c2e;

  /* Celeste de marca */
  --teal: #00acaf;         /* tono puro: gráficos, fills, acentos */
  --teal-600: #008285;     /* interactivo con texto blanco — 4.63:1 AA */
  --teal-800: #016063;     /* teal como texto sobre blanco — 7.36:1 AA */
  --aqua: #abe1ec;         /* tint claro */
  --aqua-soft: #e8f6fa;

  /* Acentos */
  --gold: #c8a25a;
  --yellow: #f5c400;
  --yellow-ink: #1a1400;

  --line: #dde7ea;
  --line-strong: #c5d4d9;

  /* Tipografía */
  --font: "Geist", "Inter", "Noto Sans", system-ui, -apple-system, sans-serif;
  --font-display: var(--font);
  --font-body: var(--font);

  /* Escala tipográfica */
  --fs-hero: clamp(2.375rem, 5.6vw, 3.75rem);
  --fs-h1: clamp(2rem, 5.5vw, 3.25rem);
  --fs-h2: clamp(1.75rem, 4vw, 2.5rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.375rem);
  --fs-lead: clamp(1.0625rem, 1.6vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Espaciado — rejilla de 8 px */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;  --sp-9: 6rem;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(10,28,46,.06);
  --shadow: 0 6px 24px -8px rgba(10,28,46,.16);
  --shadow-lg: 0 24px 56px -16px rgba(10,28,46,.26);

  --container: 1200px;
  --container-narrow: 780px;
  --measure: 62ch;
  --control-h: 52px;       /* altura única de todos los controles */
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 2px; border-radius: 4px; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.021em;
  text-wrap: balance;              /* evita líneas huérfanas feas */
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.028em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.026em; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.014em; font-weight: 700; }
p { max-width: var(--measure); text-wrap: pretty; }
strong { font-weight: 600; color: var(--ink); }

.display {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--muted);
  max-width: var(--measure);
  text-wrap: pretty;
}
.muted { color: var(--muted); }

/* Eyebrow con marca de color (detalle de marca, no genérico) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--teal-800);
}
.eyebrow::before {
  content: ""; width: 18px; height: 3px; border-radius: 2px;
  background: var(--teal); flex: none;
}
.eyebrow--blue { color: var(--navy); }
.eyebrow--blue::before { background: var(--navy); }
.section--blue .eyebrow, .cta-band .eyebrow { color: var(--aqua); }
.section--blue .eyebrow::before, .cta-band .eyebrow::before { background: var(--teal); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section--paper { background: var(--paper); }
.section--aqua { background: var(--aqua-soft); }
.section--blue { background: var(--navy); color: #c3d5e0; }
.section--blue h1, .section--blue h2, .section--blue h3 { color: #fff; }
.section--blue .lead { color: #a9c2d1; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head .eyebrow { margin-bottom: var(--sp-4); }
.section-head p { margin-top: var(--sp-4); }
.section-head--center p { margin-inline: auto; }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.stack > * + * { margin-top: var(--sp-4); }

/* ---------- Botones — altura y ritmo idénticos ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: var(--control-h);
  padding: 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: -0.006em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  text-align: center;
  white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .08s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); background: var(--aqua-soft); }
.btn--teal { background: var(--teal-600); color: #fff; }
.btn--teal:hover { background: var(--teal-800); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }
.btn--onblue { background: var(--white); color: var(--navy); }
.btn--onblue:hover { background: var(--aqua-soft); }
.btn--wa { background: #25d366; color: #06331c; }
.btn--wa:hover { background: #1fbf5a; }
.btn--yellow { background: var(--yellow); color: var(--yellow-ink); }
.btn--yellow:hover { background: #ffd426; }
.btn--lg { min-height: 58px; padding: 0 1.875rem; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }

/* Filas de acciones: mismo ancho, sin escalones raros */
.hero__actions, .btn-row {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.hero__actions .btn { flex: 1 1 auto; min-width: 13.5rem; }
@media (max-width: 560px) {
  .hero__actions .btn, .btn-row .btn { flex: 1 1 100%; width: 100%; min-width: 0; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: var(--sp-5); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__mark { width: 34px; height: 34px; }
.brand__logo { height: 30px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: var(--sp-1); margin-left: auto; }
.nav__links a {
  position: relative;
  font-family: var(--font-display);
  font-weight: 500; font-size: 0.9375rem;
  color: var(--ink);
  padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
}
.nav__links a:hover { color: var(--teal-800); background: var(--aqua-soft); }
.nav__links a.is-active { color: var(--teal-800); font-weight: 600; }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--teal);
}
.nav__cta { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.nav__cta .btn { min-height: 42px; padding: 0 1.125rem; font-size: 0.9375rem; }
.nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px;          /* área táctil mínima */
  margin-right: -10px;                 /* alinea el icono con el borde óptico */
  background: none; border: 0; color: var(--ink); border-radius: var(--radius-sm);
}
.nav__toggle:hover { background: var(--aqua-soft); }
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 940px) {
  /* FIX: al volverse fixed, .nav__links pierde su margin-left:auto,
     así que el grupo de la derecha necesita el suyo propio. */
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: inline-flex; }
  .nav__cta .btn--desktop { display: none; }

  .nav__links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: var(--sp-2) var(--sp-5) var(--sp-5);
    box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .2s ease, opacity .18s ease, visibility .18s ease;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__links a {
    padding: 1rem 0; font-size: 1.0625rem; font-weight: 600;
    border-radius: 0; border-bottom: 1px solid var(--line);
  }
  .nav__links a:hover { background: transparent; }
  .nav__links li:last-child a { border-bottom: 0; }
  .nav__links a.is-active::after { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.hero__grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(2rem, 4.5vw, 4rem); align-items: center; }
.hero__title { margin-bottom: var(--sp-5); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-7); }
.hero__meta-item { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); font-weight: 500; color: var(--muted); }
.hero__meta-item svg { width: 18px; height: 18px; color: var(--teal-600); flex: none; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } }

/* ---------- Placeholder de foto documental ---------- */
.photo {
  position: relative; overflow: hidden;
  background: var(--aqua-soft);
  border-radius: var(--radius-lg);
}
.photo--ratio { aspect-ratio: 4/3; }
.photo--square { aspect-ratio: 1/1; }
.photo--wide { aspect-ratio: 16/10; }
.photo--tall { aspect-ratio: 3/4; }
.photo__ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sp-3); text-align: center; padding: var(--sp-5);
  border: 1.5px dashed rgba(0,172,175,.42); border-radius: var(--radius-lg);
  color: var(--teal-800);
}
.photo__ph svg { width: 32px; height: 32px; color: var(--teal); opacity: .9; }
.photo__ph span { font-size: var(--fs-sm); font-weight: 500; max-width: 30ch; line-height: 1.45; }
.photo__tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-family: var(--font-display); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--navy); color: #fff; padding: 0.3rem 0.6rem; border-radius: 6px;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
/* Foto de producto: se muestra completa sobre blanco, sin recortes */
.photo--product { background: var(--white); border: 1px solid var(--line); }
.photo--product img { object-fit: contain; padding: 5%; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--sp-6);
  transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.card--hover:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card__icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--aqua-soft); color: var(--teal-800);
  border-radius: 10px; margin-bottom: var(--sp-5);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--muted); font-size: var(--fs-sm); }

/* Pilares */
.pillar__num {
  font-family: var(--font-display); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.12em; color: var(--teal); margin-bottom: var(--sp-2);
}
.pillar h3 { font-size: 1.3rem; margin-bottom: var(--sp-2); }
.pillar__sub { font-weight: 600; color: var(--ink); font-size: var(--fs-sm); margin-bottom: var(--sp-2); }

/* ---------- Tarjeta de producto ---------- */
.product-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.product-card .photo { border-radius: 0; }
.product-card__body { padding: var(--sp-6); display: flex; flex-direction: column; flex: 1; }
.product-card__tier {
  align-self: flex-start; font-family: var(--font-display); font-weight: 600;
  font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 100px; margin-bottom: var(--sp-3);
}
.tier--basica { background: var(--aqua-soft); color: var(--teal-800); }
.tier--plus { background: var(--navy); color: #fff; }
.product-card h3 { font-size: 1.5rem; margin-bottom: var(--sp-3); }
.product-card__specs { margin: var(--sp-5) 0; border-top: 1px solid var(--line); }
.spec-row { display: flex; justify-content: space-between; gap: var(--sp-4); padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.spec-row dt { color: var(--muted); }
.spec-row dd { font-weight: 600; color: var(--ink); text-align: right; }
.product-card__foot { margin-top: auto; padding-top: var(--sp-4); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.02em; padding: 0.4rem 0.75rem; border-radius: 100px;
}
.badge--yellow { background: var(--yellow); color: var(--yellow-ink); }
.badge--aqua { background: var(--aqua-soft); color: var(--teal-800); }
.badge--blue { background: var(--navy); color: #fff; }
.seal {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--yellow); color: var(--yellow-ink);
  font-family: var(--font-display); font-weight: 800; line-height: 1; text-align: center;
  box-shadow: var(--shadow);
}
.seal span:first-child { font-size: 1.4rem; }
.seal span:last-child { font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }

/* ---------- Chips ---------- */
.chips { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--sp-3); }
.chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-3);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-4); min-height: 128px;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--ink);
  transition: border-color .16s, background .16s, transform .12s;
}
.chip:hover { border-color: var(--teal); background: var(--aqua-soft); transform: translateY(-2px); }
.chip svg { width: 28px; height: 28px; color: var(--teal-800); }
@media (max-width: 720px) { .chips { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ---------- Proceso ---------- */
.process { display: grid; }
.process-step {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-5); align-items: start;
  padding: var(--sp-5) 0; border-bottom: 1px solid var(--line);
}
.process-step__num {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; flex: none;
}
.process-step h3 { margin-bottom: var(--sp-2); }
.process-step p { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Evidencia / pruebas ---------- */
.test-card { padding: 0; overflow: hidden; }
.test-card .photo { border-radius: 0; }
.test-card__body { padding: var(--sp-5); }
.test-card h3 { font-size: 1.0625rem; margin-bottom: var(--sp-2); }
.test-card p { font-size: var(--fs-sm); color: var(--muted); }

.stat { display: flex; flex-direction: column; gap: var(--sp-2); }
.stat__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem); color: var(--navy);
  line-height: 1; letter-spacing: -0.035em;
}
.stat__label { font-size: var(--fs-sm); color: var(--muted); font-weight: 500; max-width: 26ch; }
.section--blue .stat__num { color: var(--teal); }
.section--blue .stat__label { color: #a9c2d1; }

/* ---------- FAQ ---------- */
.faq { max-width: var(--container-narrow); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  text-align: left; background: none; border: 0; padding: var(--sp-5) 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--ink);
}
.faq-item__q:hover { color: var(--teal-800); }
.faq-item__q svg { width: 20px; height: 20px; color: var(--teal-600); flex: none; transition: transform .2s; }
.faq-item[open] .faq-item__q svg { transform: rotate(45deg); }
.faq-item__a { padding: 0 0 var(--sp-5); color: var(--muted); }
.faq-item__a a { color: var(--teal-800); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
details.faq-item summary { list-style: none; cursor: pointer; }
details.faq-item summary::-webkit-details-marker { display: none; }

/* ---------- Recursos / descargas ---------- */
.res-list { display: grid; gap: var(--sp-3); }
.res-item {
  display: flex; align-items: center; gap: var(--sp-4);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5); min-height: 76px;
  transition: border-color .16s, box-shadow .16s;
}
.res-item:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.res-item__ico { width: 40px; height: 40px; border-radius: 8px; background: var(--aqua-soft); color: var(--teal-800); display: grid; place-items: center; flex: none; }
.res-item__ico svg { width: 20px; height: 20px; }
.res-item__meta { flex: 1; min-width: 0; }
.res-item__meta strong { display: block; font-family: var(--font-display); color: var(--ink); font-weight: 600; }
.res-item__meta span { font-size: var(--fs-xs); color: var(--muted); }
.res-item__dl { color: var(--teal-800); font-weight: 600; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 0.3rem; flex: none; }

/* ---------- Formularios ---------- */
.field { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: var(--sp-4); }
.field label { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; min-height: var(--control-h); padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  background: var(--white); color: var(--ink); width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #93a5ac; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(0,172,175,.18);
}
.field textarea { resize: vertical; min-height: 128px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-note { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- CTA / avisos ---------- */
.cta-band {
  background: var(--navy); color: #c3d5e0;
  border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem);
}
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #a9c2d1; }

.notice {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  background: #fffaeb; border: 1px solid #f6e2a8; border-left: 3px solid var(--yellow);
  border-radius: var(--radius); padding: var(--sp-4) var(--sp-5);
}
.notice svg { width: 20px; height: 20px; color: #9a7b0a; flex: none; margin-top: 2px; }
.notice p { font-size: var(--fs-sm); color: #6b5a12; }

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-size: var(--fs-sm); color: var(--muted); padding-block: var(--sp-4); }
.crumbs a:hover { color: var(--teal-800); }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 3.5rem); }
.page-hero .eyebrow { margin-bottom: var(--sp-4); }
.page-hero h1 { margin-bottom: var(--sp-4); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #93aebe; padding-block: var(--sp-8) var(--sp-6); }
.site-footer a { color: #cfe0e9; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: var(--sp-6); }
.footer__brand p { font-size: var(--fs-sm); color: #7f9aab; margin-top: var(--sp-4); max-width: 32ch; }
.site-footer h4 { color: #fff; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.site-footer ul { display: grid; gap: var(--sp-3); font-size: var(--fs-sm); }
.footer__contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 2px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: var(--sp-7); padding-top: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); justify-content: space-between;
  font-size: var(--fs-xs); color: #6f8a9b;
}
.footer__social { display: flex; gap: var(--sp-3); }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; }
.footer__social a:hover { background: var(--teal-600); }
.footer__social svg { width: 20px; height: 20px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #06331c;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transition: transform .14s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.text-center p, .text-center .lead { margin-inline: auto; }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; } .gap-3 { gap: var(--sp-3); } .gap-4 { gap: var(--sp-4); }
.wrap { flex-wrap: wrap; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.hidden { display: none; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.check-list { display: grid; gap: var(--sp-3); }
.check-list li { display: flex; gap: 0.625rem; align-items: flex-start; font-size: var(--fs-body); color: var(--body); }
.check-list svg { width: 20px; height: 20px; color: var(--teal-600); flex: none; margin-top: 3px; }

/* Tablas técnicas responsivas */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); }
th, td { text-align: left; padding: 0.875rem 1rem; border-bottom: 1px solid var(--line); }
th { font-family: var(--font-display); font-weight: 600; color: var(--ink); white-space: nowrap; }
td { color: var(--body); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  :root { --fs-body: 1rem; }
  .grid-4 { grid-template-columns: 1fr; }
  /* La tabla comparativa debe caber sin scroll horizontal */
  /* Comparativa: columnas de ancho fijo para que quepa sin scroll,
     pero SIN partir palabras a la mitad. */
  table { table-layout: fixed; width: 100%; }
  th, td { padding: 0.625rem 0.375rem; font-size: 0.8125rem; word-break: normal; overflow-wrap: normal; hyphens: none; }
  th { white-space: normal; }
  th:first-child, td:first-child { width: 38%; }
  th:not(:first-child), td:not(:first-child) { width: 31%; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .card { padding: var(--sp-5); }
  .container { padding-inline: var(--sp-4); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
