/* =========================================================
   GSI Asesorías — v6 (dirección "tech corporativo luminoso")
   Inspiración de estructura: sitios enterprise tipo Perforce.
   Colores, formas e ilustraciones propias de GSI.
   ========================================================= */

:root {
  /* TIPOGRAFÍA — razón 1.25 */
  --font: "Figtree", "Segoe UI", Helvetica, Arial, sans-serif;
  --step--1: 0.8rem;
  --step-0:  1rem;
  --step-1:  1.25rem;
  --step-2:  1.563rem;
  --step-3:  1.953rem;
  --step-4:  2.441rem;
  --step-5:  3.052rem;
  --step-6:  3.815rem;

  /* ESPACIO */
  --space-3xs: 0.25rem; --space-2xs: 0.5rem; --space-xs: 0.75rem;
  --space-s:   1rem;    --space-m:   1.5rem; --space-l:  2rem;
  --space-xl:  3rem;    --space-2xl: 4.5rem; --space-3xl: 7rem;

  /* COLOR */
  --white:   #ffffff;
  --tint:    #f3f7fc;   /* fondo de tarjetas */
  --tint-2:  #e8f0fa;
  --ink:     #0a1a3a;   /* azul noche */
  --ink-2:   #34405a;
  --ink-3:   #5b6680;
  --line:    #dfe7f1;
  --brand:   #0057b8;   /* azul GSI */
  --brand-2: #00418c;
  --cyan:    #1fb8ea;   /* cian del isotipo */
  --pill:    #d4f2fc;
  --pill-soft: #eaf8fe;   /* cuerpo de tarjetas de servicios */
  --grad:      linear-gradient(100deg, #0047a3 0%, #0a7fd0 50%, #1fb8ea 100%);
  --grad-deep: linear-gradient(135deg, #0057b8 0%, #003a80 55%, #061b45 100%);
  --grad-text: linear-gradient(90deg, #0057b8, #0a8ccc);

  /* FORMA — dos radios: controles y superficies */
  --radius-s: 6px;
  --radius-l: 18px;
  --shadow-near: 0 1px 2px rgb(10 26 58 / 0.06), 0 2px 8px rgb(10 26 58 / 0.06);
  --shadow-far:  0 4px 12px rgb(10 26 58 / 0.06), 0 24px 48px rgb(10 26 58 / 0.12);

  /* MOVIMIENTO */
  --dur-fast: 120ms; --dur: 220ms; --dur-slow: 420ms;
  --ease:     cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* LAYOUT */
  --wrap: 74rem;
  --header-h: 4.75rem;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
a { color: var(--brand); text-underline-offset: 0.2em; }
a:hover { color: var(--brand-2); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

.wrap { position: relative; width: min(100% - 2 * var(--space-m), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--space-s); top: calc(-1 * var(--space-3xl)); z-index: 100; padding: var(--space-2xs) var(--space-s); background: var(--ink); color: var(--white); border-radius: var(--radius-s); }
.skip:focus { top: var(--space-s); color: var(--white); }

.section { padding-block: var(--space-3xl); position: relative; }
.center { text-align: center; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); }

/* texto resaltado en degradado */
.hl {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: var(--brand);
  -webkit-text-fill-color: transparent;
}

/* píldora */
.pill {
  display: inline-block;
  padding: var(--space-3xs) var(--space-xs);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
  background: var(--pill);
  border-radius: 999px;
}
.pill--on-dark { background: var(--cyan); color: var(--ink); }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  min-height: 2.875rem;
  padding: var(--space-xs) var(--space-m);
  font: 500 var(--step-0)/1.2 var(--font);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; transform: none; }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-2); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--tint-2); color: var(--ink); }
.btn-light:focus-visible { outline-color: var(--white); }
.btn-soft { background: var(--pill); color: var(--brand-2); }
.btn-soft:hover { background: var(--pill); color: var(--brand-2); border-color: var(--brand); }
.btn-soft.btn-arrow::after { border-left-color: var(--brand); }
.btn-block { width: 100%; }

/* flecha ▶ */
.btn-arrow::after, .link-arrow::after {
  content: "";
  width: 0; height: 0;
  border-block: 0.3em solid transparent;
  border-left: 0.45em solid var(--cyan);
  transition: transform var(--dur) var(--ease);
}
.btn-light.btn-arrow::after { border-left-color: var(--brand); }
.btn-arrow:hover::after, .link-arrow:hover::after { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  font-weight: 500; color: var(--brand); text-decoration: none;
}
.link-arrow::after { border-left-color: var(--brand); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-near); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--space-l); }
.brand img { width: 10rem; }

.nav { display: flex; align-items: center; gap: var(--space-l); }
.nav-list { display: flex; gap: var(--space-l); }
.nav-list a {
  color: var(--ink-2); text-decoration: none; font-size: var(--step-1);
  padding-block: var(--space-2xs);
  transition: color var(--dur) var(--ease);
}
.nav-list a:hover { color: var(--brand); }
.nav-toggle { display: none; }

@media (max-width: 62rem) {
  .nav-toggle {
    display: grid; place-items: center;
    width: 3rem; height: 3rem;
    background: transparent; border: 1px solid var(--line); border-radius: var(--radius-s); cursor: pointer;
  }
  .nav-toggle:hover { border-color: var(--ink-3); }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 1.25rem; height: 2px; background: var(--ink); position: relative;
    transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after  { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: absolute; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: var(--space-m);
    padding: var(--space-m);
    background: var(--white);
    box-shadow: var(--shadow-far);
    visibility: hidden; opacity: 0; transform: translateY(calc(-1 * var(--space-2xs)));
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding-block: var(--space-xs); border-bottom: 1px solid var(--line); }
  .nav-cta { min-height: 3rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-block: var(--space-2xl) var(--space-3xl); overflow: hidden; }
.hero-lines {
  position: absolute; inset: 10% 45% 0 -10%;
  background: url("../img/lines-light.svg") center / 100% 100% no-repeat;
  opacity: 0.8;
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: var(--space-xl); }
.hero-copy { position: relative; }
.hero .pill { margin-bottom: var(--space-m); }
.hero h1 { font-size: clamp(var(--step-4), 5.2vw, var(--step-6)); line-height: 1.08; margin-bottom: var(--space-m); }
.hero .lead { max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-s); margin-top: var(--space-xl); }

.hero-visual { position: relative; aspect-ratio: 1 / 0.92; }
.tri { position: absolute; }
.tri-a { width: 78%; left: 4%; top: 2%; transform: rotate(-8deg); }
.tri-b { width: 62%; right: 0; bottom: 0; transform: rotate(10deg); mix-blend-mode: multiply; }
.chip {
  position: absolute;
  display: flex; align-items: center; gap: var(--space-xs);
  padding: var(--space-xs) var(--space-s);
  background: var(--white);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-far);
  font-size: var(--step--1);
  color: var(--ink-3);
  line-height: 1.35;
  animation: float 6s var(--ease) infinite alternate;
}
.chip strong { display: block; font-size: var(--step-0); font-weight: 600; color: var(--ink); }
.chip svg { width: 2.25rem; height: 2.25rem; padding: var(--space-2xs); flex: none; border-radius: 50%; background: var(--pill); fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip-1 { left: 0; top: 18%; }
.chip-2 { right: 0; top: 46%; animation-delay: -2s; }
.chip-3 { left: 14%; bottom: 6%; animation-delay: -4s; }
@media (max-width: 30rem) { .chip-1 { top: 4%; } .chip-2 { top: 40%; } .chip-3 { left: 6%; bottom: -2%; } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

@media (max-width: 56rem) {
  .hero { padding-block: var(--space-xl) var(--space-2xl); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-lines { inset: 0 -20% 40% -20%; }
  .hero-visual { max-width: 28rem; width: 100%; justify-self: center; }
}

/* ---------- destacado ---------- */
.feature { padding-block: var(--space-xl); }
.feature-grid { display: grid; grid-template-columns: 7fr 5fr; align-items: center; }
.feature-panel {
  position: relative; overflow: hidden;
  grid-column: 1 / 2; grid-row: 1;
  padding: var(--space-2xl) 38% var(--space-2xl) var(--space-2xl);
  margin-right: -30%;
  color: var(--white);
  background: var(--grad-deep);
  border-radius: var(--radius-l);
}
.feature-lines { position: absolute; inset: 0; background: url("../img/lines-dark.svg") center / cover no-repeat; pointer-events: none; }
.feature-panel > *:not(.feature-lines) { position: relative; }
.feature-panel h2 { font-size: var(--step-4); margin-block: var(--space-m) var(--space-s); }
.feature-panel p { color: rgb(255 255 255 / 0.86); margin-bottom: var(--space-l); max-width: 30rem; }
.feature-media { grid-column: 2 / 3; grid-row: 1; margin: 0; position: relative; z-index: 1; justify-self: center; max-width: 24rem; }

@media (max-width: 56rem) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-panel { margin-right: 0; padding: var(--space-xl) var(--space-m) calc(var(--space-3xl) * 1.6); }
  .feature-media { grid-column: 1; grid-row: 2; margin-top: calc(var(--space-3xl) * -1.4); max-width: 17rem; }
}

/* ---------- encabezados de sección ---------- */
.section-head { max-width: 46rem; margin-bottom: var(--space-2xl); }
.section-head.center { margin-inline: auto; }
.section-head h2, .stats h2, .about h2 { font-size: var(--step-5); margin-bottom: var(--space-s); }
@media (max-width: 56rem) {
  .section { padding-block: var(--space-2xl); }
  .section-head { margin-bottom: var(--space-xl); }
  .section-head h2, .stats h2, .about h2 { font-size: var(--step-4); }
}

/* ---------- servicios: tarjetas ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-m); }
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 0 var(--space-m) var(--space-l);
  background: var(--pill-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-near);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { box-shadow: var(--shadow-far); transform: translateY(-3px); }
.card-band {
  height: 6.5rem;
  margin-inline: calc(-1 * var(--space-m));
  background: url("../img/lines-dark.svg") center / cover no-repeat, var(--grad-deep); /* mismo fondo que .feature-panel */
}
.card-icon {
  display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem;
  margin-top: calc(-1 * var(--space-l));
  margin-bottom: var(--space-s);
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-near);
}
.card-icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: var(--step-2); color: var(--brand); margin-bottom: var(--space-2xs); }
.card p { color: var(--ink-2); }
@media (max-width: 62rem) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 38rem) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- clientes: encabezado dividido + franja de logos ---------- */
.clients { padding-block: var(--space-2xl); }
.clients-head {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-xl);
  align-items: end; margin-bottom: var(--space-xl);
}
.clients-head .pill { margin-bottom: var(--space-s); }
.clients-head h2 { font-size: var(--step-5); }
.clients-intro { padding-left: var(--space-l); border-left: 3px solid var(--cyan); }
.clients-intro p { color: var(--ink-2); margin-bottom: var(--space-s); }
.wall-logos {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-m);
}
.wall-logos li {
  display: grid; place-items: center;
  min-height: 8rem; padding: var(--space-m);
}
.wall-logos a { display: grid; place-items: center; border-radius: var(--radius-s); }
.wall-logos img {
  max-height: 3rem; width: auto; max-width: 100%;
  filter: grayscale(1); opacity: 0.55;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.wall-logos a:hover img, .wall-logos a:focus-visible img { filter: none; opacity: 1; }

@media (max-width: 56rem) {
  .clients-head { grid-template-columns: 1fr; gap: var(--space-m); }
  .clients-head h2 { font-size: var(--step-4); }
  .wall-logos { grid-template-columns: repeat(2, 1fr); }
  .wall-logos li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .wall-logos li { min-height: 6.5rem; }
}

/* ---------- nosotros ---------- */
.about { background: var(--tint); overflow: hidden; }
.about-lines { position: absolute; inset: 0 -10% 0 50%; background: url("../img/lines-light.svg") center / 100% 100% no-repeat; opacity: 0.6; transform: scaleX(-1); pointer-events: none; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.about .pill { margin-bottom: var(--space-m); background: var(--white); }
.about-cards { display: grid; gap: var(--space-m); }
.about-card { padding: var(--space-l); background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow-near); }
.about-card h3 { font-size: var(--step-2); color: var(--brand); margin-bottom: var(--space-xs); }
.about-card p { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.tags li { padding: var(--space-3xs) var(--space-s); border-radius: 999px; background: var(--pill); font-weight: 500; }
@media (max-width: 56rem) { .about-grid { grid-template-columns: 1fr; gap: var(--space-xl); } }

/* ---------- cifras ---------- */
.stats h2 { margin-bottom: var(--space-2xl); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-m); }
.stat {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 15rem;
  padding: var(--space-l);
  color: var(--white);
  border-radius: var(--radius-l);
  background: var(--grad-deep);
}
.stat::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/lines-dark.svg") center / cover no-repeat;
}
.stat::after {
  /* triángulo GSI */
  content: ""; position: absolute; right: -18%; top: -22%;
  width: 70%; aspect-ratio: 1;
  background: rgb(255 255 255 / 0.10);
  clip-path: polygon(50% 0, 100% 86%, 0 86%);
  transform: rotate(18deg);
}
.stat--2 { background: var(--grad); }
.stat--3 { background: linear-gradient(135deg, #0a7fd0, #003a80); }
.stat--4 { background: linear-gradient(135deg, #1fb8ea, #0057b8); }
.stat dd, .stat dt { position: relative; z-index: 1; }
.stat dd { font-size: var(--step-6); font-weight: 400; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat dt { font-size: var(--step-1); margin-top: var(--space-2xs); color: rgb(255 255 255 / 0.92); }
@media (max-width: 62rem) { .stat-grid { grid-template-columns: repeat(2, 1fr); } .stat { min-height: 11rem; } }
@media (max-width: 30rem) { .stat dd { font-size: var(--step-5); } .stat { padding: var(--space-m); } }

/* ---------- banner CTA ---------- */
.banner-wrap { padding-block: var(--space-l); }
.banner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-l); flex-wrap: wrap;
  padding: var(--space-2xl) var(--space-xl);
  color: var(--white);
  background: var(--grad);
  border-radius: var(--radius-l);
}
.banner-lines { position: absolute; inset: 0 0 0 55%; background: url("../img/lines-dark.svg") center / cover no-repeat; pointer-events: none; }
.banner > *:not(.banner-lines) { position: relative; }
.banner h2 { font-size: var(--step-3); max-width: 36rem; margin-bottom: var(--space-2xs); }
.banner p { color: rgb(255 255 255 / 0.9); font-size: var(--step-1); }
@media (max-width: 38rem) { .banner { padding: var(--space-xl) var(--space-m); } .banner h2 { font-size: var(--step-2); } }

/* ---------- contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-xl); align-items: start; }
.contact-list { display: grid; gap: var(--space-s); }
.contact-list li {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-s); align-items: center;
  padding: var(--space-s);
  background: var(--tint);
  border-radius: var(--radius-l);
}
.contact-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--white); }
.contact-icon svg { width: 1.375rem; height: 1.375rem; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-label { display: block; font-size: var(--step--1); color: var(--ink-3); }
.contact-list a { font-weight: 500; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--brand); text-decoration: underline; }
.social { display: flex; gap: var(--space-s); margin-top: var(--space-m); }
.social a { display: inline-flex; align-items: center; gap: var(--space-2xs); padding: var(--space-2xs) var(--space-m); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.social a:hover { border-color: var(--brand); color: var(--brand); }
.social svg { width: 1.125rem; height: 1.125rem; flex: none; }
.social .ico-fill { fill: currentColor; }
.social .ico-line { fill: none; stroke: currentColor; stroke-width: 1.8; }

.form {
  display: grid; gap: var(--space-m);
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-far);
}
.form-title { font-size: var(--step-2); }
.field { display: grid; gap: var(--space-3xs); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-m); }
.field label { font-weight: 500; }
.optional { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%;
  padding: var(--space-xs) var(--space-s);
  font: inherit; color: var(--ink);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); background: var(--white); }
.field [aria-invalid="true"] { border-color: #b42318; background: #fff6f5; }
.field-error { color: #b42318; font-size: var(--step--1); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; font-weight: 500; }
.form-status.is-ok { color: #1a7f37; }
.form-status.is-error { color: #b42318; }
@media (max-width: 56rem) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 36rem) { .form { padding: var(--space-m); } .field-pair { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--tint); border-top: 1px solid var(--line); padding-block: var(--space-2xl) var(--space-l); margin-top: var(--space-xl); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.6fr 0.8fr 1.2fr; gap: var(--space-xl); }
.footer-brand img { width: 10rem; margin-bottom: var(--space-s); }
.footer-brand p { color: var(--ink-3); }
.footer-title { font-size: var(--step-0); font-weight: 600; margin-bottom: var(--space-s); }
.footer-links { display: grid; gap: var(--space-2xs); }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--brand); text-decoration: underline; }
.legal { margin-top: var(--space-2xl); padding-top: var(--space-m); border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--ink-3); }
@media (max-width: 56rem) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-l); } .footer-brand { grid-column: 1 / -1; } }

/* ---------- whatsapp ---------- */
.whatsapp {
  position: fixed; right: var(--space-m); bottom: var(--space-m); z-index: 40;
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem;
  background: #1f9e55; color: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-far);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease);
}
.whatsapp svg { width: 1.75rem; height: 1.75rem; fill: currentColor; }
.whatsapp:hover { transform: scale(1.06); background: #178a49; color: var(--white); }
.whatsapp:active { transform: scale(0.97); }
.whatsapp:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- 404 / respuesta del formulario ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: var(--space-3xl); }
.notfound-code { font-size: var(--step-6); line-height: 1; margin-bottom: var(--space-m); }
.notfound h1 { font-size: var(--step-4); margin-bottom: var(--space-s); }
.notfound p { color: var(--ink-2); margin-bottom: var(--space-xl); }
