/* ==========================================================================
   Airwrapgt — Landing Page
   Hoja de estilos única (mobile first). Sin dependencias externas.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens de diseño
   -------------------------------------------------------------------------- */
:root {
  /* Paleta de marca */
  --brand-rose: #f2c4ce;
  --brand-navy: #062145;
  --brand-light: #fffefe;
  --brand-gray: #545454;

  /* Escalas derivadas (mantienen la identidad y aseguran contraste AA) */
  --rose-50: #fdf8f9;
  --rose-100: #faedf0;
  --rose-200: #f2c4ce;
  --rose-300: #e5a3b3;
  --rose-ink: #a2506a;           /* 5.4:1 sobre blanco -> texto de apoyo */
  --navy-800: #0a2f5e;
  --navy-900: #041730;
  --line: #ece3e5;

  /* Tipografía: stacks del sistema, cero descargas y cero FOUT */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", "Noto Serif", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Escala fluida */
  --step--1: clamp(0.83rem, 0.81rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.06rem);
  --step-1: clamp(1.1rem, 1.03rem + 0.35vw, 1.3rem);
  --step-2: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  --step-3: clamp(1.7rem, 1.4rem + 1.5vw, 2.6rem);
  --step-4: clamp(2.15rem, 1.6rem + 2.8vw, 3.9rem);

  /* Ritmo */
  --space-section: clamp(4rem, 3rem + 5vw, 7rem);
  --gutter: clamp(1.25rem, 0.9rem + 1.8vw, 2.5rem);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(6, 33, 69, 0.05), 0 4px 14px rgba(6, 33, 69, 0.05);
  --shadow-md: 0 10px 30px rgba(6, 33, 69, 0.09);
  --shadow-lg: 0 24px 60px rgba(6, 33, 69, 0.16);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   2. Reset ligero
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Compensa el header fijo al navegar por anclas */
  scroll-padding-top: 5.5rem;
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--brand-gray);
  background-color: var(--brand-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select { font: inherit; color: inherit; }

button { cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brand-navy);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: inherit; }

ul[class] { list-style: none; padding: 0; }

/* --------------------------------------------------------------------------
   3. Utilidades
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-section); }

.section--tint { background-color: var(--rose-50); }

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

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -110%);
  z-index: 200;
  background: var(--brand-navy);
  color: var(--brand-light);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* Foco visible y consistente en toda la página */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--rose-ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-navy :where(a, button, input, textarea, select):focus-visible {
  outline-color: var(--brand-rose);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-ink);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--rose-300);
  border-radius: 2px;
}
.on-navy .eyebrow { color: var(--brand-rose); }
.on-navy .eyebrow::before { background: var(--brand-rose); }

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
.section-head h2 { font-size: var(--step-3); }
.section-head p {
  margin-top: 1rem;
  font-size: var(--step-1);
  line-height: 1.65;
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* --------------------------------------------------------------------------
   4. Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;              /* objetivo táctil cómodo */
  padding: 0.85rem 1.65rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background-color: var(--brand-navy);
  color: var(--brand-light);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background-color: var(--navy-800); }

.btn--secondary {
  background-color: transparent;
  color: var(--brand-navy);
  border-color: var(--brand-navy);
}
.btn--secondary:hover { background-color: var(--brand-navy); color: var(--brand-light); }

.btn--rose {
  background-color: var(--brand-rose);
  color: var(--brand-navy);
  box-shadow: 0 12px 30px rgba(242, 196, 206, 0.28);
}
.btn--rose:hover { background-color: var(--brand-light); }

.btn--ghost-light {
  background-color: transparent;
  color: var(--brand-light);
  border-color: rgba(255, 254, 254, 0.55);
}
.btn--ghost-light:hover {
  background-color: var(--brand-light);
  color: var(--brand-navy);
  border-color: var(--brand-light);
}

.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   5. Header y navegación
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background-color: rgba(255, 254, 254, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(6, 33, 69, 0.06);
}

/* Estado transparente sobre el video: lo activa el JS mientras el header está
   arriba del todo, así que sin JS el header siempre es legible */
.site-header--over {
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
.site-header--over :is(.brand, .nav-toggle) { color: var(--brand-light); }
.site-header--over .brand__name span { color: var(--brand-rose); }
.site-header--over .nav-toggle { border-color: rgba(255, 254, 254, 0.45); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--brand-navy);
  padding-block: 0.35rem;
}
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name b { font-weight: 600; }
.brand__name span { color: var(--rose-ink); }

/* Enlace único de vuelta a la landing (páginas sin menú) */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-navy);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.2s var(--ease), color 0.2s var(--ease);
}
.back-link:hover { background-color: var(--rose-50); border-color: var(--rose-200); transform: translateX(-3px); }
.back-link svg { flex: none; }

.site-header--over .back-link {
  color: var(--brand-light);
  border-color: rgba(255, 254, 254, 0.45);
  background-color: rgba(4, 23, 48, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header--over .back-link:hover { background-color: rgba(4, 23, 48, 0.7); }

@media (prefers-reduced-motion: reduce) {
  .back-link:hover { transform: none; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--brand-navy);
}
.nav-toggle__box { position: relative; width: 20px; height: 14px; }
.nav-toggle__box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__box span:nth-child(1) { top: 0; }
.nav-toggle__box span:nth-child(2) { top: 6px; }
.nav-toggle__box span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.primary-nav {
  position: fixed;
  inset: 72px 0 auto 0;
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  background-color: var(--brand-light);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 1rem var(--gutter) 1.75rem;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
}
.primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.primary-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0;
}
.primary-nav__list a {
  display: block;
  padding: 0.85rem 0.5rem;
  text-decoration: none;
  color: var(--brand-navy);
  font-weight: 500;
  border-radius: 10px;
  border-bottom: 1px solid var(--line);
}
.primary-nav__list a:hover { background-color: var(--rose-50); }
.primary-nav__list a[aria-current="true"] { color: var(--rose-ink); }

@media (min-width: 62em) {
  .site-header--over .primary-nav__list a { color: var(--brand-light); }
  .site-header--over .primary-nav__list a:hover { background-color: transparent; }
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-height: none;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .primary-nav__list { flex-direction: row; gap: 0.35rem; align-items: center; }
  .primary-nav__list a {
    position: relative;
    padding: 0.5rem 0.85rem;
    border-bottom: 0;
    font-size: 0.97rem;
  }
  .primary-nav__list a::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.15rem;
    height: 2px;
    background: var(--rose-300);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .primary-nav__list a:hover::after,
  .primary-nav__list a[aria-current="true"]::after { transform: scaleX(1); }
}

/* --------------------------------------------------------------------------
   6. Hero con video de fondo
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: 600px;
  min-height: min(92svh, 780px);
  padding-top: calc(72px + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  background-color: var(--navy-900);
  color: rgba(255, 254, 254, 0.9);
}

.hero__grid { position: relative; z-index: 1; }
.hero__content { max-width: 62ch; }

.hero h1 {
  font-size: var(--step-4);
  color: var(--brand-light);
  margin-bottom: 1.15rem;
  text-shadow: 0 2px 24px rgba(2, 12, 26, 0.45);
}
.hero h1 em { font-style: normal; color: var(--brand-rose); }

.hero__lead {
  font-size: var(--step-1);
  max-width: 52ch;
  margin-bottom: 2.25rem;
  color: rgba(255, 254, 254, 0.92);
  text-shadow: 0 1px 16px rgba(2, 12, 26, 0.4);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* --------------------------------------------------------------------------
   6b. Video de fondo compartido (hero y página de originalidad)
   -------------------------------------------------------------------------- */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  /* A 720p ya no hace falta desenfoque para disimular el reescalado */
  filter: saturate(1.06);
}

.bg-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(4, 23, 48, 0.74) 0%,
    rgba(4, 23, 48, 0.45) 42%,
    rgba(4, 23, 48, 0.8) 100%
  );
}

/* En el hero el texto ocupa la izquierda: se oscurece más ese lado */
.bg-scrim--hero {
  background:
    linear-gradient(180deg, rgba(4, 23, 48, 0.55) 0%, rgba(4, 23, 48, 0.35) 45%, rgba(4, 23, 48, 0.75) 100%),
    linear-gradient(100deg, rgba(4, 23, 48, 0.88) 0%, rgba(4, 23, 48, 0.66) 46%, rgba(4, 23, 48, 0.32) 100%);
}

/* --------------------------------------------------------------------------
   7. Accesorios incluidos
   -------------------------------------------------------------------------- */
.kit-grid {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.kit-card {
  display: flex;
  flex-direction: column;
  background-color: var(--brand-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.kit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--rose-200);
}
.kit-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--rose-50), var(--rose-100));
  border-bottom: 1px solid var(--line);
}
.kit-card__media img { width: 100%; height: 100%; object-fit: contain; }
.kit-card__index {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding-inline: 0.4rem;
  border-radius: 999px;
  background-color: var(--brand-navy);
  color: var(--brand-light);
  font-size: 0.8rem;
  font-weight: 600;
}
.kit-card__body { padding: 1.35rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; }
.kit-card__body h3 { font-size: var(--step-1); }
.kit-card__body p { font-size: 0.96rem; line-height: 1.6; }

/* --------------------------------------------------------------------------
   8. Verificación de originalidad (sección con video de fondo)
   -------------------------------------------------------------------------- */
.authenticity {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--navy-900);
  color: var(--brand-light);
  /* Es lo primero de la página: deja aire bajo el header fijo */
  padding-top: calc(72px + clamp(2rem, 5vw, 3.5rem));
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.authenticity h2 { color: var(--brand-light); font-size: var(--step-3); }
.authenticity__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  justify-items: start;
  max-width: 780px;
}

.glass-card {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--radius-lg);
  background-color: rgba(6, 33, 69, 0.58);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(242, 196, 206, 0.38);
  box-shadow: 0 30px 70px rgba(2, 12, 26, 0.45);
}
/* Sin backdrop-filter el fondo se opaca para conservar el contraste */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-card { background-color: rgba(4, 23, 48, 0.88); }
}

.glass-card .glass-card__seal {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem 0.45rem 0.6rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background-color: var(--brand-rose);
  color: var(--brand-navy);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.glass-card h1,
.glass-card h2 { color: var(--brand-light); font-size: var(--step-3); margin-bottom: 0.9rem; }
.glass-card p { color: rgba(255, 254, 254, 0.92); }
.glass-card p + p { margin-top: 0.9rem; }

.check-list { display: grid; gap: 0.85rem; margin: 1.6rem 0 1.9rem; padding: 0; }
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: rgba(255, 254, 254, 0.94);
  font-size: 0.98rem;
  line-height: 1.55;
}
.check-list svg { flex: none; color: var(--brand-rose); margin-top: 3px; }



/* --------------------------------------------------------------------------
   9. Métodos de pago
   -------------------------------------------------------------------------- */
.pay-grid {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.pay-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.75rem 1.6rem 1.85rem;
  background-color: var(--brand-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pay-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pay-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background-color: var(--rose-100);
  color: var(--brand-navy);
  margin-bottom: 0.4rem;
}
.pay-card h3 { font-size: var(--step-2); }
.pay-card p { font-size: 0.97rem; }

/* Tarjeta destacada: el recargo se comunica con texto, icono y color */
.pay-card--highlight { border-color: var(--rose-200); background-color: var(--rose-50); }
.pay-card--highlight .pay-card__icon { background-color: var(--brand-rose); }

/* --------------------------------------------------------------------------
   10. Garantía
   -------------------------------------------------------------------------- */
.warranty__intro {
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
}

.warranty__intro .shield {
  margin-inline: auto;
  width: 72px;
  height: 72px;
  color: var(--rose-ink);
  margin-bottom: 1.25rem;
}
.warranty__intro h2 { font-size: var(--step-3); margin-bottom: 1rem; }
.warranty__intro p { font-size: var(--step-1); }
.warranty__intro .eyebrow { justify-content: center; }

/* --------------------------------------------------------------------------
   11. Contacto
   -------------------------------------------------------------------------- */
.contact {
  background:
    radial-gradient(90% 70% at 12% 0%, var(--rose-100) 0%, transparent 60%),
    var(--rose-50);
}
.contact__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 60em) { .contact__grid { grid-template-columns: 0.95fr 1.05fr; } }

.contact__intro h2 { font-size: var(--step-3); margin-bottom: 1rem; }
.contact__intro p { font-size: var(--step-1); }

.contact__channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}
.contact__channels li { display: flex; }
@media (min-width: 30em) {
  .contact__channels { grid-template-columns: repeat(3, 1fr); }
}
.channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1.5rem 1.1rem 1.6rem;
  background-color: var(--brand-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.channel:hover { transform: translateY(-4px); border-color: var(--rose-200); box-shadow: var(--shadow-sm); }
.channel .channel__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 16px;
  background-color: var(--rose-100);
  color: var(--brand-navy);
}
.channel strong { display: block; color: var(--brand-navy); font-size: 1rem; margin-bottom: 0.2rem; }
.channel span { font-size: var(--step--1); display: block; line-height: 1.45; }

.contact-form {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background-color: var(--brand-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-form > p:first-child { font-size: 0.95rem; margin-bottom: 1.5rem; }

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 0.4rem;
}
.field .optional { font-weight: 400; color: var(--brand-gray); }
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.95rem;
  background-color: var(--brand-light);
  border: 1.5px solid #ddd2d5;
  border-radius: var(--radius-sm);
  color: var(--brand-navy);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
.field input::placeholder,
.field textarea::placeholder { color: #78706f;   /* 4.9:1 sobre blanco */ }
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: var(--rose-300); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 4px rgba(242, 196, 206, 0.45);
  outline: none;
}
.field .error {
  display: none;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  font-size: 0.87rem;
  font-weight: 600;
  color: #a3182f;              /* 7.2:1 sobre blanco */
}
.field .error svg { flex: none; }
.field.is-invalid input,
.field.is-invalid textarea { border-color: #a3182f; }
.field.is-invalid .error { display: flex; }

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 600;
  background-color: var(--rose-100);
  color: var(--brand-navy);
}
.form-status:empty { display: none; }

.form-legal { margin-top: 1rem; font-size: 0.85rem; line-height: 1.5; }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--brand-navy);
  color: rgba(255, 254, 254, 0.8);
  /* El extra inferior evita que el botón flotante tape el texto */
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(5.5rem, 7vw, 6rem);
}
.site-footer h2, .site-footer h3 { color: var(--brand-light); }
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 254, 254, 0.14);
}
@media (min-width: 48em) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
}
.site-footer .brand { color: var(--brand-light); margin-bottom: 1rem; }
.site-footer .brand__name span { color: var(--brand-rose); }
.site-footer__about p { max-width: 42ch; font-size: 0.95rem; }

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--brand-rose);
}
.footer-col ul { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 254, 254, 0.85);
  text-decoration: none;
  padding-block: 0.2rem;
  border-bottom: 1px solid transparent;
}
.footer-col a:hover { color: var(--brand-light); border-bottom-color: var(--brand-rose); }
.footer-col svg { flex: none; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.75rem;
  font-size: 0.87rem;
}
.site-footer__bottom p { color: rgba(255, 254, 254, 0.7); }

/* --------------------------------------------------------------------------
   13. Botón flotante de WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background-color: var(--brand-navy);
  color: var(--brand-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); background-color: var(--navy-800); }
.wa-float svg { flex: none; color: var(--brand-rose); }
@media (max-width: 30em) {
  .wa-float__text { display: none; }
  .wa-float { padding: 0.9rem; }
}

/* --------------------------------------------------------------------------
   14. Animaciones sutiles (solo transform/opacity, sin coste de layout)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; will-change: auto; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* Sin JS todo el contenido permanece visible */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .kit-card:hover, .pay-card:hover, .channel:hover, .wa-float:hover { transform: none; }
}

@media print {
  .site-header, .wa-float, .bg-video { display: none !important; }
  body { color: #000; }
}
