/* ==========================================================================
   Ortopedia Maxilar — hoja de estilos base
   Fondo negro puro, acentos con el gradiente del logo (coral → magenta → violeta → celeste)
   ========================================================================== */

:root {
  /* Color */
  --black: #000;
  --ink: #e8e8ec;          /* texto principal: blanco suavizado para evitar halo sobre negro */
  --ink-2: #a8a8b2;        /* texto secundario */
  --ink-3: #80808c;        /* notas y metadatos */
  --line: #25252d;         /* filetes */
  --line-2: #3b3b46;       /* bordes de controles */
  --coral: #fe5f65;
  --coral-text: #ec6f79;   /* "ORTOPEDIA" del logo */
  --magenta: #e80c88;
  --violet: #a177c6;
  --cyan: #6cc4c4;
  --navy: #164364;         /* "MAXILAR" del logo (solo sobre fondos claros) */
  --navy-light: #5b8fc9;   /* variante legible de "MAXILAR" sobre negro */
  --error: #ff8a8f;
  --grad: linear-gradient(90deg, #fe5f65 0%, #e80c88 38%, #a177c6 68%, #6cc4c4 100%);
  --grad-v: linear-gradient(180deg, #fe5f65 0%, #e80c88 38%, #a177c6 68%, #6cc4c4 100%);

  /* Tipografía */
  --f-display: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --radius: 14px;

  /* Grilla técnica de fondo para ilustraciones */
  --blueprint:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--black);
  color-scheme: dark;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--magenta); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 16px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  font: 700 .9375rem/1 var(--f-display); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-position .4s ease, border-color .2s ease, color .2s ease;
}
.btn--primary { background: var(--grad); background-size: 140% 100%; background-position: 0 0; color: #000; }
.btn--primary:hover { background-position: 100% 0; color: #000; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-2); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 1.125rem; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header[data-scrolled] { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand__icon { height: 48px; width: auto; }
.brand__word { display: grid; font: 800 1rem/1.02 var(--f-display); letter-spacing: .02em; }
.brand__a { color: var(--coral-text); }
.brand__b { color: var(--navy-light); font-size: 1.16em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; display: flex; gap: 26px; }
.nav__list a {
  position: relative; display: inline-block; padding: 8px 0;
  color: var(--ink-2); text-decoration: none; font: 600 .9375rem/1.2 var(--f-body);
}
.nav__list a:hover, .nav__list a[aria-current] { color: var(--ink); }
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__list a[aria-current]::after { transform: scaleX(1); }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; margin-inline: auto; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 12px var(--gutter) 28px;
    background: #000; border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav .btn { min-height: 48px; }
}
@media (max-width: 420px) {
  .brand__icon { height: 40px; }
  .brand__word { font-size: .875rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-size: clamp(2.125rem, 4.6vw, 3.5rem);
  line-height: 1.08; font-weight: 700; letter-spacing: -.022em;
  max-width: 17ch;
}
.lead { margin-top: 24px; max-width: 54ch; font-size: 1.25rem; line-height: 1.55; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__drawing { margin: 0; }
.hero__sheet {
  border: 1px solid var(--line); border-radius: var(--radius);
  background-image: var(--blueprint); background-size: 24px 24px; background-position: -1px -1px;
  padding: clamp(8px, 2vw, 20px);
}
.hero-fig { width: 100%; height: auto; overflow: visible; }
.hero-fig text { font-family: var(--f-body); }
.hero-fig text[font-weight] { font-family: var(--f-display); }
.hero__drawing figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-top: 16px; }
.hero__caption { font: 600 .9375rem/1.4 var(--f-display); color: var(--ink); }
.parts { list-style: none; counter-reset: part; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9375rem; color: var(--ink-2); }
.parts li { counter-increment: part; display: inline-flex; align-items: center; gap: 8px; }
.parts li::before {
  content: counter(part); display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%; border: 1px solid #6e6e7a;
  font: 600 .6875rem/1 var(--f-display); color: var(--ink);
}

.facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: clamp(48px, 7vw, 88px); }
.facts li { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 4px; align-content: start; }
.facts strong { font: 600 1rem/1.35 var(--f-display); color: var(--ink); }
.facts span { color: var(--ink-2); font-size: 1rem; }

/* Animación de entrada del plano: el aparato se revela desde el tornillo */
@media (prefers-reduced-motion: no-preference) {
  .hero-teeth { animation: om-fade .7s ease-out both; }
  .hero-app { animation: om-reveal 1.3s cubic-bezier(.3, .7, .2, 1) .35s both; }
  .hero-ann { animation: om-fade .6s ease-out 1.45s both; }
}
@keyframes om-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes om-reveal { from { clip-path: circle(0% at 50% 48%); } to { clip-path: circle(80% at 50% 48%); } }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); border-top: 1px solid var(--line); }
.section__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 48px; align-items: end; margin-bottom: 40px; }
.section__head--stack { grid-template-columns: 1fr; align-items: start; }
.section h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); line-height: 1.12; font-weight: 700; letter-spacing: -.018em; }
.section__head p { color: var(--ink-2); max-width: 62ch; }

/* ---------- Catálogo ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  font: 600 .9375rem/1 var(--f-body); color: var(--ink-2); cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.chip span { color: var(--ink-3); font-weight: 400; }
.chip:hover { color: var(--ink); border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #000; }
.chip[aria-pressed="true"] span { color: #4a4a55; }

.grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.item { border: 1px solid var(--line); margin: 0 -1px -1px 0; position: relative; }
.item[hidden] { display: none; }
.item:hover, .item:has(.item__open:focus-visible) { z-index: 1; outline: 1px solid var(--ink-3); outline-offset: -1px; }
.item:has(.item__open:focus-visible) { outline: 2px solid #fff; }
.item__card { height: 100%; display: flex; flex-direction: column; }
.item__fig {
  aspect-ratio: 7 / 5; padding: 6px;
  background-image: var(--blueprint); background-size: 16px 16px; background-position: center;
  border-bottom: 1px solid var(--line);
}
.item__fig svg { width: 100%; height: 100%; }
.item__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.item__group { font-size: .875rem; color: var(--ink-3); }
.item__name { font-size: 1.1875rem; line-height: 1.25; font-weight: 700; }
.item__sum { color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.item__open {
  margin-top: auto; padding: 14px 0 0; align-self: flex-start;
  border: 0; background: none; cursor: pointer;
  font: 600 .9375rem/1.2 var(--f-body); color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--magenta); text-underline-offset: .3em; text-decoration-thickness: 1px;
}
.item__open::after { content: ""; position: absolute; inset: 0; }
.item__open:focus-visible { outline: none; }
.item:hover .item__open { text-decoration-thickness: 2px; }

/* ---------- Ficha técnica (dialog) ---------- */
.sheet {
  width: min(1000px, calc(100% - 32px)); max-height: min(88vh, 860px);
  padding: 0; border: 1px solid var(--line-2); border-radius: 18px;
  background: #000; color: var(--ink); overflow: hidden;
}
.sheet::backdrop { background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[open] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .sheet[open] { animation: om-sheet .22s cubic-bezier(.2, .8, .2, 1); }
}
@keyframes om-sheet { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.sheet__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); max-height: inherit; }
.sheet__fig {
  display: grid; place-items: center; padding: 28px;
  background-image: var(--blueprint); background-size: 20px 20px; border-right: 1px solid var(--line);
}
.sheet__fig svg { width: 100%; height: auto; }
.sheet__body { padding: 40px 40px 32px; overflow-y: auto; max-height: min(88vh, 860px); }
.sheet__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: 50%; background: #000; color: var(--ink); cursor: pointer;
}
.sheet__close:hover { border-color: var(--ink-2); }
.sheet__cat { font-size: .9375rem; color: var(--ink-3); padding-right: 48px; }
.sheet__title { margin-top: 6px; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; font-weight: 700; letter-spacing: -.015em; padding-right: 48px; }
.sheet__sum { margin-top: 12px; color: var(--ink-2); }
.sheet__data h3 { margin-top: 28px; font-size: .9375rem; font-weight: 600; letter-spacing: .01em; color: var(--ink); }
.sheet__data ul { list-style: none; margin-top: 10px; display: grid; gap: 8px; }
.sheet__data li { position: relative; padding-left: 22px; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.sheet__data li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; border-radius: 2px; background: var(--grad); }
.sheet__data .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet__data .tags li { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .9375rem; color: var(--ink); }
.sheet__data .tags li::before { display: none; }
.sheet__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }

@media (max-width: 760px) {
  .sheet { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; margin: 0; }
  .sheet__inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: 100%; }
  .sheet__fig { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 56px 16px 16px; }
  .sheet__fig svg { max-height: 30vh; }
  .sheet__body { max-height: none; padding: 24px var(--gutter) 32px; }
}

/* ---------- Proceso ---------- */
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.process__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.process__intro > p { margin-top: 20px; color: var(--ink-2); max-width: 44ch; }

.mascot { margin: 0; position: relative; display: flex; align-items: flex-start; gap: 4px; }
.mascot__img { width: 100%; height: auto; }
.mascot picture { flex: none; }
.mascot--guide { margin-top: 40px; }
.mascot--guide picture { width: 190px; }
.mascot--contact picture { width: 132px; }
.bubble {
  position: relative; margin-top: 18px; padding: 14px 18px;
  border: 1px solid var(--line-2); border-radius: 16px 16px 16px 4px;
  font: 600 1rem/1.4 var(--f-display); color: var(--ink); max-width: 24ch;
}
.bubble::before {
  content: ""; position: absolute; left: -7px; top: 22px; width: 12px; height: 12px;
  background: #000; border-left: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transform: rotate(45deg);
}

.steps { list-style: none; counter-reset: step; position: relative; display: grid; gap: 40px; }
.steps::before {
  content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; background: var(--grad-v);
}
.step { counter-increment: step; position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 24px; }
.step::before {
  content: counter(step, decimal-leading-zero);
  grid-row: 1 / span 2; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: #000; border: 1px solid var(--line-2);
  font: 700 .875rem/1 var(--f-display); color: var(--ink); position: relative; z-index: 1;
}
.step h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 700; padding-top: 9px; }
.step p { margin-top: 6px; color: var(--ink-2); max-width: 54ch; }

/* ---------- Sobre nosotros ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about__statement { margin: 28px 0 24px; font: 700 clamp(1.5rem, 2.8vw, 2.25rem)/1.22 var(--f-display); letter-spacing: -.015em; color: var(--ink); max-width: 24ch; }
.about__text p + p { margin-top: 16px; }
.about__text p:not(.about__statement) { color: var(--ink-2); max-width: 58ch; }
.pillars { list-style: none; display: grid; }
.pillars li { padding: 24px 0; border-top: 1px solid var(--line); }
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillars h3 { font-size: 1.125rem; font-weight: 700; }
.pillars p { margin-top: 6px; color: var(--ink-2); font-size: 1rem; }

/* ---------- Preguntas frecuentes ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__grid .section__head { margin-bottom: 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: 1.0625rem; line-height: 1.4; font-weight: 600; }
.faq__item summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--ink-2), var(--ink-2)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink-2), var(--ink-2)) center / 2px 14px no-repeat;
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover h3 { color: #fff; }
.faq__item p { padding: 0 40px 24px 0; color: var(--ink-2); max-width: 64ch; }

/* ---------- Contacto ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__intro > p { margin-top: 20px; color: var(--ink-2); max-width: 44ch; }
.channels { margin: 32px 0 0; display: grid; }
.channels div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.channels div:last-child { border-bottom: 1px solid var(--line); }
.channels dt { color: var(--ink-3); font-size: 1rem; }
.channels dd { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.channels a { text-decoration-color: var(--line-2); }
.channels a:hover { text-decoration-color: var(--ink); }
.download {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
  font: 600 1rem/1.3 var(--f-body); text-decoration: underline; text-decoration-color: var(--magenta); text-underline-offset: .3em;
}
.mascot--contact { margin-top: 40px; }

.form { border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 20px; }
.form__note { font-size: .9375rem; color: var(--ink-3); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font: 600 .9375rem/1.3 var(--f-body); color: var(--ink); }
.field__hint { font-size: .875rem; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: 10px; background: #000;
  font-size: 1.0625rem; line-height: 1.4; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 132px; }
.field select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a8a8b2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field select option, .field select optgroup { background: #000; color: var(--ink); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(161, 119, 198, .35); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { font-size: .9375rem; color: var(--error); }
.field--check { grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; padding: 0; accent-color: var(--magenta); cursor: pointer; }
.field--check label { font-weight: 400; color: var(--ink-2); line-height: 1.5; }
.field--check .field__error { grid-column: 2; }
.form__status { font-size: 1rem; min-height: 1.5em; }
.form__status[data-state="ok"] { color: var(--cyan); }
.form__status[data-state="error"] { color: var(--error); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 64px 96px; font-size: 1rem; }
.nowrap { white-space: nowrap; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, .9fr); gap: 40px; }
.footer__logo { width: 240px; }
.footer__brand p { margin-top: 16px; color: var(--ink-2); max-width: 34ch; }
.footer__h { font: 600 .9375rem/1.3 var(--f-display); margin-bottom: 14px; color: var(--ink); }
.site-footer ul { list-style: none; display: grid; gap: 10px; color: var(--ink-2); }
.site-footer ul a { text-decoration: none; overflow-wrap: anywhere; }
.site-footer ul a:hover { text-decoration: underline; }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; margin-top: 56px; padding-top: 24px;
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - var(--gutter) * 2) 1px no-repeat;
  font-size: .875rem; color: var(--ink-3);
}
.footer__base p:first-child { max-width: 70ch; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px;
  border-radius: 999px; background: #000; color: var(--ink); text-decoration: none;
  font: 600 .9375rem/1 var(--f-display);
  border: 1px solid transparent;
  background: linear-gradient(#000, #000) padding-box, var(--grad) border-box;
}
.wa-float:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 20ch; }
  .section__head, .process__grid, .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .process__intro { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .lead { font-size: 1.125rem; }
  .facts { grid-template-columns: 1fr; gap: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }
  .mascot--guide picture { width: 140px; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { padding: 0 16px; }
  /* Catálogo compacto: ilustración a la izquierda, texto a la derecha */
  .item__card { display: grid; grid-template-columns: 116px minmax(0, 1fr); }
  .item__fig { aspect-ratio: auto; height: 100%; padding: 8px 4px; border-bottom: 0; border-right: 1px solid var(--line); display: grid; align-items: center; }
  .item__fig svg { height: auto; }
  .item__body { padding: 16px 16px 18px; gap: 4px; }
  .item__name { font-size: 1.0625rem; }
  .item__sum { font-size: .9375rem; }
  .item__open { padding-top: 10px; font-size: .875rem; }
  .channels div { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .channels dd { font-size: .9375rem; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .wa-float, .chips, .item__open, .form { display: none; }
  body { background: #fff; color: #000; }
}
