/* ==========================================================================
   Whazzer Access — hoja de estilos del sitio

   Traducción a CSS de los componentes del design system, que en el kit viven
   como estilos inline dentro de JSX (design-system/ui_kits/website/*.jsx).
   Los valores salen de tokens.css; aquí no se inventan colores ni medidas.

   Dos cosas que el kit no tiene y aquí sí:
   · hover/foco resueltos en CSS en vez de onMouseEnter/onMouseLeave
   · responsive — el kit usa grids fijos sin una sola media query
   ========================================================================== */

/* --------------------------------------------------------------- 1. Base */

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--wz-text);
  background: var(--wz-surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--wz-ink); margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; }
a { color: inherit; }

::selection { background: var(--wz-selection-bg); }

/* El indicador de foco vive al final del archivo (sección 15): aquí empataba
   en especificidad con las clases de componente y perdía por orden. */

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

.wz-skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--wz-green); color: #fff;
  padding: 12px 20px; border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  text-decoration: none; transition: top .2s ease-out;
}
.wz-skip-link:focus { top: 12px; }

/* ---------------------------------------------------------- 2. Estructura */

.wz-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wz-container--narrow { max-width: 960px; }
.wz-container--tight  { max-width: 900px; }

.wz-section { padding: 104px 0; }
.wz-section--alt  { background: var(--wz-surface-alt); }
.wz-section--dark { background: var(--wz-graphite); color: #fff; position: relative; overflow: hidden; }

/* Rejilla de dos columnas: texto + imagen */
.wz-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.wz-split--even    { grid-template-columns: 1fr 1fr; }
.wz-split--reverse { grid-template-columns: 1fr 1.05fr; }

.wz-grid { display: grid; gap: 28px; }
.wz-grid--2 { grid-template-columns: repeat(2, 1fr); }
.wz-grid--3 { grid-template-columns: repeat(3, 1fr); }
.wz-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --------------------------------------------------------- 3. Tipografía */

.wz-heading {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 42px;
  line-height: 55px;
  color: var(--wz-ink);
  text-wrap: balance;
  margin: 0;
}
.wz-heading--sm { font-size: 28px; line-height: 38px; }
.wz-heading--on-dark { color: #fff; }

.wz-hl { color: var(--wz-green); }

.wz-lead {
  font-size: 16.5px;
  line-height: 27px;
  color: var(--wz-text);
}
.wz-lead--on-dark { color: var(--wz-text-on-dark-soft); }

.wz-prose { font-size: 16px; line-height: 27px; color: var(--wz-text); }
.wz-prose p + p { margin-top: 16px; }
.wz-prose strong { color: var(--wz-ink); font-weight: var(--fw-medium); }

.wz-emphasis { color: var(--wz-ink); font-weight: var(--fw-medium); }

/* --------------------------------------------------------- 4. Encabezados */

.wz-section-head { margin-bottom: 44px; }
.wz-section-head--center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.wz-section-head--compact { margin-bottom: 24px; }
.wz-section-head .wz-heading { margin-top: 18px; }

/* Eyebrow — variante "pill": chip tintado con un guión verde al costado */
.wz-eyebrow {
  position: relative;
  display: inline-block;
  margin-left: 22px;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 16px;
  line-height: 25px;
  color: var(--wz-green);
  background: var(--wz-green-tint);
  border: 1px solid var(--wz-border);
  border-radius: var(--radius-xl);
  padding: 6px 22px;
}
.wz-eyebrow::before {
  content: "";
  position: absolute;
  left: -22px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 7px;
  border-radius: var(--radius-2xl);
  background: var(--wz-green);
}
.wz-eyebrow--on-dark {
  background: var(--wz-graphite);
  border: 2px solid var(--wz-border-dark);
}

/* Eyebrow — variante "lines": etiqueta entre dos reglas degradadas */
.wz-eyebrow--lines {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: 0;
  padding: 0;
  background: none;
  border: 0;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
}
.wz-eyebrow--lines::before,
.wz-eyebrow--lines::after {
  content: "";
  position: static;
  transform: none;
  width: 60px; height: 2px;
  border-radius: 0;
}
.wz-eyebrow--lines::before { background: var(--wz-gradient-line-l); }
.wz-eyebrow--lines::after  { background: var(--wz-gradient-line-r); }

/* ------------------------------------------------------------ 5. Botones */

.wz-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--wz-green);
  background: var(--wz-green);
  color: #fff;
  cursor: pointer;
  transition: var(--transition-base);
  background-size: 200% auto;
}
.wz-btn--sm { padding: 12px 24px; font-size: 13px; }
.wz-btn--lg { padding: 18px 40px; font-size: 16px; }

.wz-btn:hover,
.wz-btn:focus-visible {
  background-image: var(--wz-gradient-btn);
  animation: wzSlideBg 5s linear infinite;
  transform: translateY(-2px);
}

.wz-btn--dark {
  background: var(--wz-ink);
  border-color: var(--wz-ink);
}
.wz-btn--dark:hover { background-image: var(--wz-gradient-btn); }

/* Enlace de texto con flecha */
.wz-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 15px;
  color: var(--wz-green);
  text-decoration: none;
  transition: var(--transition-fast);
}
.wz-text-link:hover { gap: 14px; color: var(--wz-green-700); }
.wz-text-link .wz-i { transition: var(--transition-fast); }

.wz-center { text-align: center; }
.wz-mt-40 { margin-top: 40px; }

/* Botón de video: play circular con doble anillo que se expande.
   El gap es mayor que los 16px del kit porque el anillo del ripple crece
   hasta 2.2× y con 16px se comía el aire contra el botón y la etiqueta. */
.wz-video-btn { display: inline-flex; align-items: center; gap: 26px; }
.wz-video-btn__play {
  position: relative;
  width: 70px; height: 70px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-circle);
  background: #fff;
  color: var(--wz-green);
  text-decoration: none;
  flex-shrink: 0;
}
.wz-video-btn__play::before,
.wz-video-btn__play::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius-circle);
  border: 2px solid #fff;
  animation: wzRipple 1.8s ease-out infinite;
}
.wz-video-btn__play::after { animation-delay: .6s; }
.wz-video-btn__label {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 16px;
  color: #fff;
}

/* ------------------------------------------------------- 6. Icon badges */

.wz-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: var(--radius-leaf);
  background: var(--wz-green);
  color: #fff;
  flex-shrink: 0;
}
.wz-icon-badge .wz-i { width: 27px; height: 27px; }

.wz-icon-badge--rounded { border-radius: var(--radius-lg); }
.wz-icon-badge--sm { width: 56px; height: 56px; }
.wz-icon-badge--sm .wz-i { width: 23px; height: 23px; }
.wz-icon-badge--tint { background: var(--wz-green-050); color: var(--wz-green); }

/* Icono SVG inline — sustituye a Bootstrap Icons del kit */
.wz-i {
  display: inline-block;
  width: 1em; height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

/* ------------------------------------------------------------- 7. Cards */

.wz-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
}
.wz-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }

.wz-card--flat {
  background: var(--wz-surface-alt);
  box-shadow: none;
  padding: 34px 30px;
}
.wz-card--flat:hover { box-shadow: none; transform: none; }

.wz-card--tight { padding: 32px 26px; }

.wz-card__title {
  margin: 22px 0 10px;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 21px;
  color: var(--wz-ink);
}
.wz-card__title--sm { font-size: 19px; margin-top: 18px; }

.wz-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 26px;
  color: var(--wz-text);
}
.wz-card__text--sm { font-size: 14.5px; line-height: 23px; }

/* Card sobre fondo oscuro */
.wz-card--on-dark {
  background: rgba(255, 255, 255, .04);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: none;
}
.wz-card--on-dark:hover { background: rgba(255, 255, 255, .07); transform: none; box-shadow: none; }
.wz-card--on-dark .wz-card__title { color: #fff; margin-top: 16px; }
.wz-card--on-dark .wz-card__text  { color: var(--wz-text-on-dark-soft); line-height: 25px; }
.wz-card--on-dark .wz-i--lead { width: 32px; height: 32px; color: var(--wz-green); }

/* Lista con palomitas */
.wz-checklist { display: grid; gap: 12px; }
.wz-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--wz-ink);
}
.wz-checklist .wz-i { width: 19px; height: 19px; color: var(--wz-green); }

/* -------------------------------------------------- 8. Huecos de imagen */

/* Placeholder de foto pendiente. Reemplazar el <div> por un <img> con el
   mismo class="wz-photo" cuando exista la imagen definitiva. */
.wz-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-leaf);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.wz-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wz-photo--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
  background: var(--wz-green-050);
  border: 2px dashed var(--wz-green);
  color: var(--wz-green-800);
  box-shadow: none;
}
.wz-photo--empty .wz-i { width: 34px; height: 34px; opacity: .7; }
.wz-photo__hint {
  font-size: 14px;
  line-height: 21px;
  max-width: 26ch;
}

/* ------------------------------------------------------ 9. Barra superior */

.wz-topbar {
  background: var(--wz-graphite-900);
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
}
.wz-topbar__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.wz-topbar__facts { display: flex; gap: 22px; flex-wrap: wrap; }
.wz-topbar__facts span { display: inline-flex; align-items: center; gap: 6px; }
.wz-topbar .wz-i { color: var(--wz-green); }

.wz-social { display: flex; gap: 16px; align-items: center; }
.wz-social a { color: inherit; transition: var(--transition-fast); }
.wz-social a:hover { color: var(--wz-green); }
.wz-social .wz-i { width: 17px; height: 17px; color: inherit; }

/* ------------------------------------------------------- 10. Navegación */

.wz-header { position: sticky; top: 0; z-index: 50; }

.wz-nav {
  background: #fff;
  box-shadow: var(--shadow-header);
  transition: var(--transition-fast);
}
/* La clase la pone el script del pie de página al pasar de 40px de scroll.
   Sin JavaScript la barra simplemente se queda blanca — nada se rompe. */
.wz-header.is-scrolled .wz-nav { background: var(--wz-graphite); }

.wz-nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.wz-nav__logo { display: inline-flex; flex-shrink: 0; }
.wz-nav__logo img { height: 36px; width: auto; transition: var(--transition-fast); }
.wz-header.is-scrolled .wz-nav__logo img { filter: brightness(0) invert(1); }

.wz-nav__links {
  display: flex;
  gap: 16px;
  margin-left: 8px;
}
.wz-nav__links a {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: 14.5px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--wz-ink);
  transition: color .3s ease-out;
}
.wz-header.is-scrolled .wz-nav__links a { color: #fff; }
.wz-nav__links a:hover,
.wz-nav__links a[aria-current="page"],
.wz-header.is-scrolled .wz-nav__links a:hover,
.wz-header.is-scrolled .wz-nav__links a[aria-current="page"] { color: var(--wz-green); }

.wz-nav__cta { margin-left: auto; flex-shrink: 0; }
.wz-nav__cta a { text-decoration: none; }

/* Menú móvil sin JavaScript: checkbox oculto + label */
.wz-nav__toggle { display: none; }
.wz-nav__burger {
  display: none;
  margin-left: auto;
  padding: 10px;
  cursor: pointer;
  color: var(--wz-ink);
  border-radius: var(--radius-sm);
}
.wz-header.is-scrolled .wz-nav__burger { color: #fff; }
.wz-nav__burger .wz-i { width: 26px; height: 26px; }
/* Longhands a propósito: el shorthand con var() no se expande (ver sección 15) */
.wz-nav__toggle:focus-visible + .wz-nav__burger {
  outline-width: 3px;
  outline-style: solid;
  outline-color: var(--wz-green);
  outline-offset: 2px;
}

/* ------------------------------------------------------------- 11. Hero */

.wz-hero {
  position: relative;
  overflow: hidden;
  background: var(--wz-gradient-dark);
  color: #fff;
}
.wz-hero__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 84px 24px 80px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.wz-hero__title {
  margin: 22px 0 20px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 52px;
  line-height: 62px;
  color: #fff;
  text-wrap: balance;
}
.wz-hero__sub {
  font-size: 19px;
  line-height: 30px;
  color: var(--wz-text-on-dark-soft);
  max-width: 540px;
  margin-bottom: 14px;
}
.wz-hero__sub2 {
  font-size: 18px;
  line-height: 28px;
  color: #fff;
  font-weight: var(--fw-medium);
  max-width: 540px;
  margin-bottom: 32px;
}
.wz-hero__actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }

/* Decoraciones flotantes.
   El imagotipo (burbuja + candado) es un PNG de marca, no un icono del
   sprite: no sustituirlo por un pictograma genérico. El master a tamaño
   completo está en design-system/assets/. */
.wz-deco { position: absolute; z-index: 0; pointer-events: none; }
.wz-deco--lock-hero,
.wz-deco--lock-cta { object-fit: contain; }
.wz-deco--lock-hero { top: 70px; right: 8%; width: 120px; height: 120px; opacity: .9; }
.wz-deco--lock-cta  { bottom: 20px; left: 10%; width: 80px; height: 80px; opacity: .85; }
.wz-deco--ring-hero {
  bottom: 60px; left: 4%;
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 3px dashed rgba(148, 193, 31, .4);
}
.wz-deco--ring-dark {
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .07);
}

/* Teléfono del hero */
.wz-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.wz-phone-blob {
  position: absolute;
  inset: 4% 14%;
  background: var(--wz-green);
  border-radius: 48% 52% 55% 45% / 55% 48% 52% 45%;
  opacity: .2;
}
.wz-phone {
  position: relative;
  width: 300px;
  height: 480px;
  background: #0c0f10;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.wz-phone::before {
  content: "";
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 8px;
  border-radius: 8px;
  background: #2a2f31;
  z-index: 2;
}
.wz-phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #e6ded6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
  color: var(--wz-green-800);
}
.wz-phone__screen .wz-i { width: 34px; height: 34px; opacity: .7; }
.wz-phone__screen .wz-photo__hint { color: var(--wz-ink); opacity: .75; }

/* ------------------------------------------------ 12. Secciones puntuales */

/* Diagrama de privacidad: residente ↔ Whazzer Access ↔ caseta */
.wz-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.wz-flow__node { text-align: center; }
.wz-flow__box {
  width: 92px; height: 92px;
  border-radius: var(--radius-leaf);
  background: #fff;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wz-ink);
  margin-bottom: 10px;
}
.wz-flow__box .wz-i { width: 38px; height: 38px; }
.wz-flow__box--active { background: var(--wz-green); color: #fff; }
.wz-flow__label { font-size: 13px; color: var(--wz-text); }
.wz-flow__arrow { color: var(--wz-green); }
.wz-flow__arrow .wz-i { width: 22px; height: 22px; }

/* Etapas de implementación */
.wz-stage {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.wz-stage__icon {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  border-radius: var(--radius-leaf);
  background: var(--wz-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wz-stage__icon .wz-i { width: 22px; height: 22px; }
.wz-stage__label {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 17px;
  color: var(--wz-ink);
}
.wz-stage__num { color: var(--wz-green); margin-right: 6px; }

/* Bloque de precio */
.wz-price {
  background: var(--wz-ink);
  color: #fff;
  border-radius: var(--radius-2xl);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
}
.wz-price__tag {
  position: absolute;
  top: 24px; right: 30px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--wz-green);
}
.wz-price__figure { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.wz-price__amount {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 60px;
  line-height: 1;
  color: var(--wz-green);
}
.wz-price__unit { font-size: 18px; color: rgba(255, 255, 255, .75); }
.wz-price__note {
  margin-top: 20px;
  font-size: 16px;
  line-height: 27px;
  color: rgba(255, 255, 255, .8);
  max-width: 620px;
}
.wz-price__calc {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 15px;
  line-height: 23px;
  color: rgba(255, 255, 255, .85);
}
.wz-price__calc .wz-i { width: 30px; height: 30px; color: var(--wz-green); flex-shrink: 0; }
.wz-price__calc strong { color: #fff; }
.wz-price__fineprint {
  text-align: center;
  margin: 24px auto 0;
  max-width: 640px;
  font-size: 14.5px;
  color: var(--wz-text);
}

/* Banda de cierre */
.wz-cta { padding: 96px 40px; background: #fff; }
.wz-cta__box {
  max-width: 1240px;
  margin: 0 auto;
  background: var(--wz-gradient-dark);
  color: #fff;
  border-radius: var(--radius-2xl);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.wz-cta__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 40px;
  line-height: 50px;
  margin: 0 auto 16px;
  max-width: 720px;
  color: #fff;
}
.wz-cta__text {
  font-size: 18px;
  line-height: 29px;
  color: var(--wz-text-on-dark-soft);
  max-width: 640px;
  margin: 0 auto 32px;
}
.wz-cta__actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.wz-cta__secondary {
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  opacity: .85;
}
.wz-cta__secondary:hover { opacity: 1; text-decoration: underline; }

/* Cierre de "Nube" */
.wz-closing-line {
  text-align: center;
  margin-top: 40px;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 20px;
  color: #fff;
}

/* ------------------------------------------------------------ 13. Footer */

.wz-footer { background: #fff; padding: 0 40px 34px; }
.wz-footer__shell {
  position: relative;
  background: var(--wz-graphite-900);
  border-radius: 40px 40px 0 0;
  overflow: hidden;
}

.wz-footer__contact {
  background: var(--wz-green);
  padding: 24px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.wz-footer__mail { display: flex; align-items: center; gap: 18px; }
.wz-footer__mail-ring {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.wz-footer__mail-ring .wz-i { width: 24px; height: 24px; }
.wz-footer__mail-label { font-size: 14px; color: rgba(255, 255, 255, .85); }
.wz-footer__mail-link {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
}
.wz-footer__mail-link:hover { text-decoration: underline; }

.wz-footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--wz-ink);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 16px 28px;
  text-decoration: none;
  transition: var(--transition-fast);
}
.wz-footer__phone:hover { transform: translateY(-2px); }
.wz-footer__phone .wz-i { width: 18px; height: 18px; color: var(--wz-green); }
.wz-footer__phone span { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 20px; }

.wz-footer__body {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 40px 30px;
  color: rgba(255, 255, 255, .7);
}
.wz-footer__cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.wz-footer__logo { height: 42px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.wz-footer__about { font-size: 15px; line-height: 25px; max-width: 320px; }
.wz-footer__col-title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 17px;
  color: #fff;
  margin: 0 0 16px;
}
.wz-footer__links { display: grid; gap: 10px; font-size: 15px; }
.wz-footer__links a { text-decoration: none; transition: var(--transition-fast); }
.wz-footer__links a:hover { color: var(--wz-green); }

.wz-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 12px;
}
.wz-footer__bottom > span { display: inline-flex; align-items: center; gap: 8px; }
.wz-footer__bottom .wz-i { color: var(--wz-green); }

/* ========================================================================
   14. Responsive — el kit no trae ninguna media query, todo esto es nuevo
   ======================================================================== */

@media (max-width: 1100px) {
  /* La navegación de 7 enlaces no cabe junto al logo y al CTA.
     El panel abierto se apila en el flujo normal — nada de posicionarlo
     absoluto contra una altura adivinada, que se desincroniza al cambiar
     el número de enlaces. */
  .wz-nav__inner { flex-wrap: wrap; }
  .wz-nav__links { display: none; }
  .wz-nav__cta { display: none; }
  .wz-nav__burger { display: inline-flex; }

  .wz-nav__toggle:checked ~ .wz-nav__links {
    display: grid;
    flex-basis: 100%;
    gap: 0;
    margin: 4px 0 0;
    padding: 4px 0 0;
    border-top: 1px solid var(--wz-border);
  }
  .wz-nav__toggle:checked ~ .wz-nav__links a {
    display: block;
    padding: 13px 2px;
    font-size: 16px;
    border-bottom: 1px solid var(--wz-border);
  }
  .wz-nav__toggle:checked ~ .wz-nav__cta {
    display: block;
    flex-basis: 100%;
    margin: 16px 0 8px;
  }
  .wz-nav__toggle:checked ~ .wz-nav__cta .wz-btn {
    width: 100%;
    justify-content: center;
  }

  /* Sobre grafito los separadores del panel necesitan más contraste */
  .wz-header.is-scrolled .wz-nav__toggle:checked ~ .wz-nav__links,
  .wz-header.is-scrolled .wz-nav__toggle:checked ~ .wz-nav__links a {
    border-color: rgba(255, 255, 255, .1);
  }
}

@media (max-width: 1024px) {
  .wz-grid--4 { grid-template-columns: repeat(2, 1fr); }

  .wz-hero__inner { gap: 32px; }
  .wz-hero__title { font-size: 44px; line-height: 54px; }

  .wz-heading { font-size: 36px; line-height: 46px; }
  .wz-cta__title { font-size: 34px; line-height: 44px; }

  .wz-footer__cols { grid-template-columns: 1fr 1fr; }
  .wz-footer__cols > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .wz-section { padding: 72px 0; }

  .wz-hero__inner {
    grid-template-columns: 1fr;
    padding: 56px 24px 64px;
    text-align: center;
  }
  .wz-hero__sub, .wz-hero__sub2 { margin-left: auto; margin-right: auto; }
  .wz-hero__actions { justify-content: center; }
  /* El teléfono va primero: es lo que explica el producto de un vistazo */
  .wz-phone-wrap { order: -1; }
  /* Con el teléfono arriba, el candado le caía encima: se achica y se sube */
  .wz-deco--lock-hero { width: 54px; height: 54px; top: 12px; right: 5%; opacity: .5; }
  .wz-deco--ring-hero { display: none; }

  .wz-split, .wz-split--even, .wz-split--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* En una columna la foto va después del texto, no antes */
  .wz-split--reverse .wz-photo { order: 2; }

  .wz-grid--2, .wz-grid--3 { grid-template-columns: 1fr; }

  .wz-cta { padding: 64px 20px; }
  .wz-cta__box { padding: 52px 28px; }

  .wz-footer { padding: 0 16px 24px; }
  .wz-footer__body { padding: 48px 24px 24px; }
  .wz-footer__contact { padding: 24px; }
}

@media (max-width: 560px) {
  .wz-section { padding: 56px 0; }
  .wz-container { padding: 0 18px; }

  .wz-hero__title { font-size: 34px; line-height: 44px; }
  .wz-hero__sub { font-size: 17px; line-height: 27px; }
  .wz-hero__sub2 { font-size: 16px; line-height: 26px; }
  .wz-phone { width: 240px; height: 390px; }

  .wz-heading { font-size: 28px; line-height: 38px; }
  .wz-heading--sm { font-size: 24px; line-height: 32px; }
  .wz-cta__title { font-size: 26px; line-height: 36px; }
  .wz-closing-line { font-size: 17px; }

  .wz-grid--4 { grid-template-columns: 1fr; }

  .wz-btn { width: 100%; justify-content: center; padding: 15px 24px; }
  .wz-hero__actions, .wz-cta__actions { flex-direction: column; align-items: stretch; }
  .wz-video-btn { justify-content: center; }

  .wz-eyebrow--lines { font-size: 14px; gap: 8px; }
  .wz-eyebrow--lines::before, .wz-eyebrow--lines::after { width: 24px; }

  /* El pill envuelve a dos líneas y su guión decorativo queda descolgado
     lejos del chip. En pantallas chicas se retira el guión. */
  .wz-eyebrow { margin-left: 0; font-size: 14px; padding: 5px 16px; }
  .wz-eyebrow:not(.wz-eyebrow--lines)::before { display: none; }

  .wz-card { padding: 30px 24px; }
  .wz-price { padding: 34px 24px; }
  .wz-price__amount { font-size: 46px; }
  .wz-price__tag { position: static; display: block; margin-bottom: 12px; }
  .wz-price__calc { flex-direction: column; align-items: flex-start; }

  /* El diagrama de privacidad se apila y las flechas giran */
  .wz-flow { flex-direction: column; }
  .wz-flow__arrow { transform: rotate(90deg); }

  .wz-topbar__inner { justify-content: center; text-align: center; }
  .wz-topbar__facts { justify-content: center; gap: 10px; }

  .wz-footer__cols { grid-template-columns: 1fr; }
  .wz-footer__contact { flex-direction: column; align-items: flex-start; }
  .wz-footer__mail-link { font-size: 20px; }
  .wz-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ========================================================================
   15. Foco visible

   Ojo con el shorthand: `outline: 3px solid var(--wz-green)` NO funciona.
   Con una var() dentro, el shorthand no se expande a sus longhands y el
   anillo desaparece por completo (outline-width/style/color quedan vacías,
   verificado con CSS.getMatchedStylesForNode). Hay que declarar las tres
   longhands por separado. Mismo motivo en .wz-nav__burger más abajo.

   Doble anillo (verde + halo translúcido) para que se vea tanto sobre el
   fondo blanco como sobre las secciones oscuras.
   ======================================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
label:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline-width: 3px;
  outline-style: solid;
  outline-color: var(--wz-green);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(58, 170, 53, .25);
  border-radius: var(--radius-xs);
}

/* Los que ya tienen forma propia conservan su radio */
.wz-btn:focus-visible          { border-radius: var(--radius-pill); }
.wz-video-btn__play:focus-visible,
.wz-social a:focus-visible     { border-radius: var(--radius-circle); }
.wz-footer__phone:focus-visible { border-radius: var(--radius-pill); }

/* Sobre fondo oscuro el halo verde se pierde: se refuerza con blanco */
.wz-hero a:focus-visible,
.wz-section--dark a:focus-visible,
.wz-cta__box a:focus-visible,
.wz-footer a:focus-visible,
.wz-topbar a:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 6px rgba(58, 170, 53, .55);
}

/* El checkbox del menú está oculto: el anillo lo lleva su etiqueta */
.wz-nav__toggle:focus-visible { outline: none; box-shadow: none; }

/* El kit ya desactiva sus animaciones en tokens.css; aquí las propias */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wz-video-btn__play::before,
  .wz-video-btn__play::after { animation: none; }
  .wz-btn:hover, .wz-btn:focus-visible { animation: none; transform: none; }
  .wz-card:hover, .wz-footer__phone:hover { transform: none; }
  * { transition-duration: .01ms !important; }
}
