/* ============================================================================
   SIANCO — layout.css
   Cabecera, navegación, héroe, cabecera de página interna y pie.
   ========================================================================== */

/* ----------------------------------------------------------------------------
   0. BARRA SUPERIOR DE CONTACTO
   Franja fina en la parte más alta con el WhatsApp. Fondo oscuro de marca,
   opaco y sin borde: así no asoma nada claro por arriba ni queda una costura
   entre la franja y la cabecera.
   No es sticky: se va con el scroll y la cabecera queda pegada arriba.
   -------------------------------------------------------------------------- */
.topbar {
  position: relative;
  z-index: 96;
  background: var(--dark);
  color: rgba(244, 240, 231, 0.6);
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: var(--topbar-h);
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--on-dark);
  transition: color var(--dur) var(--ease);
}

.topbar a:hover {
  color: var(--gold);
}

.topbar a svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: #25D366;
}

/* ----------------------------------------------------------------------------
   1. CABECERA
   Barra semitransparente con desenfoque y base redondeada. En el inicio arranca
   como vidrio oscuro sobre la foto (texto blanco) y, al desplazar, pasa a
   vidrio claro con texto en tinta.
   -------------------------------------------------------------------------- */
.head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(227, 221, 210, 0.85);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 3px 18px rgba(20, 19, 15, 0.06);
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.head__in {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: var(--head-h);
}

/* --- Logotipo --- */
.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin-inline-end: auto;
}

.logo__img {
  height: 40px;
  width: auto;
}

/* La versión blanca sólo aparece sobre fondos oscuros */
.logo__img--white {
  display: none;
}

/* ----------------------------------------------------------------------------
   2. ESTADO SOBRE EL HÉROE (sólo el inicio)
   -------------------------------------------------------------------------- */
.head--over {
  background: rgba(18, 16, 13, 0.28);
  border-bottom-color: rgba(244, 240, 231, 0.12);
}

.head--over.is-solid {
  background: rgba(250, 248, 243, 0.84);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(20, 19, 15, 0.06);
}

/* Sobre la foto el logo y los enlaces van en blanco */
.head--over:not(.is-solid) .logo__img--color {
  display: none;
}

.head--over:not(.is-solid) .logo__img--white {
  display: block;
}

.head--over:not(.is-solid) .nav__link,
.head--over:not(.is-solid) .nav__link svg {
  color: #FFFFFF;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

.head--over:not(.is-solid) .burger span {
  background: #FFFFFF;
}

/* ----------------------------------------------------------------------------
   3. NAVEGACIÓN
   -------------------------------------------------------------------------- */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1vw, 0.75rem);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.62rem 1rem;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--ink-soft);
  border-radius: 7px;
  white-space: nowrap;
  position: relative;
  transition: color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.nav__link:hover {
  color: var(--ink);
  background: rgba(26, 23, 20, 0.06);
}

.head--over:not(.is-solid) .nav__link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

/* Página actual: filete dorado bajo el enlace */
.nav__link[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.nav__link[aria-current="page"]::after,
.nav__item--sub.has-current > .nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.22rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

/* El padre se marca también cuando la página actual es una de sus hijas */
.nav__item--sub.has-current > .nav__link {
  color: var(--ink);
  font-weight: 600;
}

.head--over:not(.is-solid) .nav__link[aria-current="page"],
.head--over:not(.is-solid) .nav__item--sub.has-current > .nav__link {
  color: #FFFFFF;
}

/* Flecha del submenú */
.nav__chev {
  width: 11px;
  height: 11px;
  flex: none;
  opacity: 0.65;
  transition: transform var(--dur) var(--ease);
}

.nav__item--sub:hover .nav__chev,
.nav__item--sub.is-open .nav__chev {
  transform: rotate(180deg);
}

/* --- Submenú --- */
.nav__sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 232px;
  padding: 0.4rem;
  background: rgba(20, 18, 15, 0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(244, 240, 231, 0.14);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(8, 8, 7, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              visibility var(--dur);
  z-index: 5;
}

/* Puente invisible para no cerrar al mover el ratón hacia el panel */
.nav__sub::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav__item--sub:hover .nav__sub,
.nav__item--sub:focus-within .nav__sub,
.nav__item--sub.is-open .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav__sub a {
  display: block;
  padding: 0.65rem 0.85rem;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(244, 240, 231, 0.78);
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav__sub a:hover,
.nav__sub a[aria-current="page"] {
  background: rgba(244, 240, 231, 0.1);
  color: #FFFFFF;
}

/* --- Llamada a la acción de la cabecera --- */
.head__cta {
  flex: none;
  padding: 0.8rem 1.4rem;
  font-size: 1rem;
  font-weight: 700;
}

/* El CTA del cajón móvil sólo existe dentro del cajón */
.nav__cta {
  display: none;
}

/* --- Hamburguesa --- */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  flex: none;
  position: relative;
  z-index: 120;
}

.burger span {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.burger span:nth-child(1) { transform: translateY(-4px); }
.burger span:nth-child(2) { transform: translateY(4px); }

.burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }

/* ----------------------------------------------------------------------------
   4. HÉROE
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(86svh, 760px);
  /* Se desliza sólo bajo la cabecera; la barra de contacto queda encima, limpia */
  margin-top: calc(var(--head-h) * -1);
  display: flex;
  align-items: center;
  padding-block: calc(var(--head-h) + 2.5rem) 2.5rem;
  color: var(--on-dark);
  background: var(--dark);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 8, 6, 0.74) 0%,
    rgba(9, 8, 6, 0.38) 42%,
    rgba(9, 8, 6, 0.9) 100%
  );
}

.hero h1 {
  color: var(--on-dark);
  max-width: 19ch;
  font-size: clamp(2.15rem, 1.45rem + 2.7vw, 3.6rem);
}

.hero h1 .gold {
  color: var(--gold);
}

.hero .lead {
  margin-top: 1.2rem;
  max-width: 50ch;
  color: rgba(244, 240, 231, 0.8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.hero .link {
  color: var(--on-dark);
  border-color: rgba(244, 240, 231, 0.34);
}

.hero .link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  margin-top: clamp(2rem, 4vh, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 240, 231, 0.18);
  font-size: var(--fs-sm);
  color: rgba(244, 240, 231, 0.66);
}

.hero__facts li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 0.55rem;
  vertical-align: 0.2em;
  border-radius: 50%;
  background: var(--gold);
}

/* ----------------------------------------------------------------------------
   5. CABECERA DE PÁGINA INTERNA
   -------------------------------------------------------------------------- */
.page-head {
  padding-block: clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem) clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
}

.page-head h1 {
  max-width: 26ch;
}

.page-head .lead {
  margin-top: 1rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  font-size: var(--fs-xs);
  color: var(--ink-mute);
}

.crumbs a:hover {
  color: var(--gold-text);
}

.crumbs span[aria-hidden] {
  color: var(--line-strong);
}

/* ----------------------------------------------------------------------------
   6. BANDA DE CIERRE
   -------------------------------------------------------------------------- */
.cta {
  /* El relleno real lo calcula base.css sumando la curva de transición */
  --pad-t: clamp(2.5rem, 1.4rem + 3vw, 4rem);
  --pad-b: clamp(3rem, 1.8rem + 3.6vw, 4.75rem);
}

.cta__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.cta h2 {
  max-width: 24ch;
}

.cta p {
  margin-top: 0.7rem;
  max-width: 46ch;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ----------------------------------------------------------------------------
   7. PIE
   -------------------------------------------------------------------------- */
.foot {
  background: var(--dark);
  color: var(--on-dark-soft);
  padding-block: clamp(2.75rem, 1.8rem + 3.5vw, 4.5rem) 1.75rem;
}

.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3vw, 3rem);
  padding-bottom: 2.5rem;
}

.foot .logo {
  margin-bottom: 1.1rem;
}

.foot .logo__img {
  height: 46px;
}

.foot__about {
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 34ch;
  color: var(--on-dark-soft);
}

.foot h3 {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 1rem;
}

.foot ul {
  display: grid;
  gap: 0.55rem;
}

.foot a,
.foot li {
  font-size: var(--fs-sm);
  color: var(--on-dark-soft);
  transition: color var(--dur) var(--ease);
}

.foot a:hover {
  color: var(--gold);
}

.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-xs);
  color: #7E7669;
}

.foot__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

/* Crédito del desarrollador, con subrayado discreto */
.foot__bottom p a {
  color: rgba(244, 240, 231, 0.62);
  border-bottom: 1px solid rgba(244, 240, 231, 0.22);
  padding-bottom: 1px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.foot__bottom p a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.social {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--on-dark-soft);
}

.social a:hover {
  color: var(--gold);
}

.social svg {
  width: 18px;
  height: 18px;
}

/* ----------------------------------------------------------------------------
   8. WIDGET DE WHATSAPP
   Botón flotante con una onda permanente y una tarjeta de chat que aparece
   sola cada pocos segundos. Todo el conjunto es un enlace a WhatsApp.
   -------------------------------------------------------------------------- */
.wa {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  pointer-events: none; /* el contenedor no debe bloquear la página */
}

.wa > * {
  pointer-events: auto;
}

/* --- Botón redondo --- */
.wa__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex: none;
  background: #1FA855;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(31, 168, 85, 0.34);
  transition: background-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.wa__btn:hover {
  background: #1B9149;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 28px rgba(31, 168, 85, 0.42);
}

.wa__btn svg {
  width: 33px;
  height: 33px;
  position: relative;
  z-index: 1;
}

/* Onda suave y continua */
.wa__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(31, 168, 85, 0.5);
  animation: waPing 3s var(--ease) infinite;
  pointer-events: none;
}

@keyframes waPing {
  0%   { transform: scale(1);   opacity: 0.75; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* --- Tarjeta de chat --- */
.wa__bubble {
  position: relative;
  width: min(292px, calc(100vw - 3rem));
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              visibility var(--dur);
}

.wa__bubble.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Estética de WhatsApp: cabecera verde, fondo de chat beige y burbuja blanca */
.wa__card {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #ECE5DD;
  color: #111B21;
  box-shadow: 0 14px 40px rgba(20, 19, 15, 0.22);
  transition: box-shadow var(--dur) var(--ease);
}

.wa__card:hover {
  box-shadow: 0 18px 48px rgba(20, 19, 15, 0.28);
}

/* Colita hacia el botón */
.wa__bubble::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -6px;
  width: 14px;
  height: 14px;
  background: #ECE5DD;
  border-radius: 2px;
  transform: rotate(45deg);
}

/* --- Cabecera del chat --- */
.wa__top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  background: #008069;
  color: #fff;
}

/* Foto de perfil: circular, con el archivo real del logotipo (logo.png).
   Es un lockup horizontal de 766x225, así que dentro del círculo queda como una
   franja fina. Se respeta la proporción con object-fit contain: se ve completo,
   aunque pequeño. */
.wa__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 4px;
  background: #fff;
  border-radius: 50%;
}

.wa__avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wa__who strong {
  display: block;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.wa__who span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

/* --- Zona de mensajes --- */
.wa__body {
  display: block;
  padding: 0.7rem 0.65rem 0.55rem;
}

.wa__msg {
  position: relative;
  display: block;
  max-width: 94%;
  padding: 0.45rem 0.6rem 0.35rem;
  background: #fff;
  color: #111B21;
  font-size: 0.88rem;
  line-height: 1.45;
  border-radius: 8px 8px 8px 0;
  box-shadow: 0 1px 1px rgba(11, 20, 26, 0.12);
}

/* Cola de la burbuja, abajo a la izquierda */
.wa__msg::before {
  content: "";
  position: absolute;
  left: -7px;
  bottom: 0;
  width: 8px;
  height: 11px;
  background: #fff;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* Hora y tildes, dentro de la burbuja como en WhatsApp */
.wa__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  margin-top: 0.1rem;
  font-size: 0.66rem;
  line-height: 1;
  color: #667781;
}

.wa__ticks {
  width: 15px;
  height: 9px;
  color: #53BDEB;
}

/* --- Pie con la acción --- */
.wa__foot {
  display: block;
  padding: 0 0.65rem 0.65rem;
}

.wa__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.6rem 0.9rem;
  background: #25D366;
  color: #0B141A;
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 999px;
  transition: background-color var(--dur) var(--ease);
}

.wa__card:hover .wa__cta {
  background: #1EBE5A;
}

.wa__ctaicon {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Cerrar: apaga los mensajes y el sonido durante la visita */
.wa__close {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 1.05rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.wa__close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .wa__btn::before {
    animation: none;
    opacity: 0;
  }
}

/* ----------------------------------------------------------------------------
   9. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__link {
    font-size: 1rem;
    padding-inline: 0.8rem;
  }

  .nav__list {
    gap: 0.2rem;
  }

  .head__in {
    gap: 0.75rem;
  }
}

@media (max-width: 940px) {
  :root {
    --head-h: 66px;
    --topbar-h: 34px;
  }

  .burger {
    display: inline-flex;
  }

  .head__cta {
    display: none;
  }

  .logo__img {
    height: 34px;
  }

  /* Cajón de navegación a pantalla completa */
  .nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--head-h) + 1.5rem) var(--gutter) 2rem;
    background: rgba(16, 14, 12, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), visibility var(--dur);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__item {
    border-bottom: 1px solid var(--line-dark);
  }

  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 1rem 0.2rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--on-dark);
    border-radius: 0;
  }

  .nav__link:hover {
    background: none;
    color: var(--gold);
  }

  .nav__link[aria-current="page"] {
    color: var(--gold);
  }

  .nav__link[aria-current="page"]::after {
    display: none;
  }

  /* Submenú como acordeón */
  .nav__sub {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 0.9rem;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__sub::before {
    display: none;
  }

  .nav__item--sub.is-open .nav__sub {
    display: block;
  }

  .nav__item--sub:hover .nav__sub {
    display: none;
  }

  .nav__item--sub.is-open:hover .nav__sub {
    display: block;
  }

  .nav__chev {
    width: 13px;
    height: 13px;
    opacity: 0.7;
  }

  .nav__sub a {
    padding: 0.6rem 0 0.6rem 1rem;
    font-size: 1rem;
    color: rgba(244, 240, 231, 0.66);
    border-left: 1px solid rgba(244, 240, 231, 0.16);
    border-radius: 0;
  }

  .nav__sub a:hover,
  .nav__sub a[aria-current="page"] {
    background: none;
    color: var(--gold);
  }

  /* CTA dentro del cajón */
  .nav__cta {
    display: inline-flex;
    margin-top: 1.75rem;
    width: 100%;
  }

  /* Con el cajón abierto la cabecera se aclara sobre el fondo oscuro */
  .head.is-nav-open {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
  }

  .head.is-nav-open .logo__img--color {
    display: none;
  }

  .head.is-nav-open .logo__img--white {
    display: block;
  }

  .head.is-nav-open .burger span {
    background: #FFFFFF;
  }

  .hero {
    min-height: min(76svh, 620px);
    padding-block: calc(var(--head-h) + 2.5rem) 2rem;
  }

  .cta__in {
    grid-template-columns: minmax(0, 1fr);
  }

  .foot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot__grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .foot__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero {
    min-height: 0;
    padding-block: calc(var(--head-h) + 2rem) 1.75rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.2rem);
  }

  .hero__facts {
    margin-top: 1.75rem;
  }
}
