/* Tema listo desde el primer render */
html[data-theme="dark"] {
  background: #0b0d11;
  color-scheme: dark;
}

html[data-theme="light"] {
  background: #f7f8fa;
  color-scheme: light;
}

/* =========================================
   Layout principal del header
========================================= */
:root {
  --shadow: 0 6px 24px rgba(0, 0, 0, .18);

  /* Alturas widgets */
  --widget-h-compact: 360px;
  --widget-h-normal: 560px;
  --widget-h-tall: 680px;
  --widget-h-compact-sm: 420px;
  --widget-h-normal-sm: 640px;
  --widget-h-tall-sm: 760px;
}

/* =========================================
   Temas (variables por tema)
========================================= */
body.dark {
  --bg: #0b0d11;
  --fg: #ffffff;
  --accent: #4f9cff;
  --muted: #a7b0c0;
  --panel: rgba(255, 255, 255, .06);

  --footer-bg: #0b0d11;
  --footer-cyan: var(--fg);
  --footer-pink: var(--accent);

  --header-glass: rgba(15, 17, 21, .6);
  --header-border: rgba(255, 255, 255, .06);
  --card: rgba(255, 255, 255, .03);
}

body.light {
  --bg: #f7f8fa;
  --fg: #0c0c0c;
  --accent: #0078ff;
  --muted: #444;
  --panel: rgba(0, 0, 0, .05);

  --footer-bg: #f7f8fa;
  --footer-cyan: var(--fg);
  --footer-pink: var(--accent);

  --header-glass: rgba(255, 255, 255, .9);
  --header-border: rgba(0, 0, 0, .08);
  --card: rgba(0, 0, 0, .035);
}

/* =========================================
   Reset + base
========================================= */
html,
body { height: 100%; }

html {
  background: #0b0d11;
  color-scheme: dark;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, Noto Sans;

  background: var(--bg);

  color: var(--fg);
  scroll-behavior: smooth;
  position: relative;
  overflow-x: hidden;
  transition: none;
}

main { flex: 1; }

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

a { color: inherit; text-decoration: none; }

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

/* Círculo de transición (overlay por encima de todo) */
.theme-circle {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 200vmax;
  height: 200vmax;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 2000;
  background: #f7f8fa;
  transition: none;
  will-change: transform, opacity;
}

.theme-circle.is-visible {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
  transition: none;
}

/* =========================================
   Layout principal del header
========================================= */
.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

/* =========================================
   Header pegajoso
========================================= */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  background: var(--header-glass);
  border-bottom: 1px solid var(--header-border);
  transition: box-shadow .25s ease, background-color .25s ease;
}

.is-scrolled header.site-header { box-shadow: var(--shadow); }

/* =========================================
   Branding + navegación + acciones
========================================= */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .2px;
}

nav.primary {
  justify-self: center;
  display: flex;
  gap: 18px;
  align-items: center;
}

nav.primary a {
  color: var(--muted);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
}

nav.primary a:hover,
nav.primary a:focus {
  color: var(--fg);
  background: var(--panel);
  outline: none;
}

.actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid var(--header-border);
  background: var(--panel);
  color: var(--fg);
  cursor: pointer;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}


.theme-toggle {
  --toggle-width: 64px;
  --toggle-height: 34px;
  --toggle-padding: 4px;
  --thumb-size: 26px;
  --thumb-shift: 30px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: var(--toggle-width);
  height: var(--toggle-height);
  padding: 0;
  border: 1px solid var(--header-border);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.theme-toggle__track {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.theme-toggle__sky,
.theme-toggle__thumb,
.theme-toggle__icon,
.theme-toggle__cloud,
.theme-toggle__star {
  position: absolute;
}

.theme-toggle__sky {
  inset: 0;
  transition: opacity .35s ease, transform .35s ease, background-color .35s ease;
}

.theme-toggle__sky--light {
  background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 100%);
  opacity: 0;
  transform: translateY(8px);
}

.theme-toggle__sky--dark {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  opacity: 0;
  transform: translateY(-8px);
}

.theme-toggle__cloud {
  right: 10px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: -8px 3px 0 1px rgba(255,255,255,.78), -3px -3px 0 0 rgba(255,255,255,.88);
}

.theme-toggle__star {
  border-radius: 999px;
  background: rgba(254, 240, 138, .95);
  box-shadow: 0 0 8px rgba(254, 240, 138, .45);
  transition: opacity .35s ease, transform .35s ease;
}

.theme-toggle__star--1 {
  top: 9px;
  left: 12px;
  width: 3px;
  height: 3px;
}

.theme-toggle__star--2 {
  bottom: 10px;
  left: 22px;
  width: 4px;
  height: 4px;
  opacity: .75;
}

.theme-toggle__star--3 {
  top: 14px;
  left: 31px;
  width: 2px;
  height: 2px;
  opacity: .88;
}

.theme-toggle__thumb {
  top: var(--toggle-padding);
  left: var(--toggle-padding);
  width: var(--thumb-size);
  height: var(--thumb-size);
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .25);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), background-color .35s ease;
  z-index: 2;
}

.theme-toggle__icon {
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
  transition: opacity .35s ease, transform .35s ease;
}

.theme-toggle__icon--sun {
  color: #fffdf5;
}

.theme-toggle__icon--moon {
  color: #fde68a;
}

body.light .theme-toggle__sky--light {
  opacity: 1;
  transform: translateY(0);
}

body.light .theme-toggle__sky--dark {
  opacity: 0;
  transform: translateY(-8px);
}

body.light .theme-toggle__thumb {
  transform: translateX(0);
  background: #facc15;
}

body.light .theme-toggle__icon--sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

body.light .theme-toggle__icon--moon {
  opacity: 0;
  transform: rotate(-180deg) scale(.35);
}

body.dark .theme-toggle__sky--light {
  opacity: 0;
  transform: translateY(8px);
}

body.dark .theme-toggle__sky--dark {
  opacity: 1;
  transform: translateY(0);
}

body.dark .theme-toggle__thumb {
  transform: translateX(var(--thumb-shift));
  background: #1e293b;
}

body.dark .theme-toggle__icon--sun {
  opacity: 0;
  transform: rotate(180deg) scale(.35);
}

body.dark .theme-toggle__icon--moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

@media (max-width: 720px) {
  .theme-toggle {
    --toggle-width: 58px;
    --toggle-height: 32px;
    --thumb-size: 24px;
    --thumb-shift: 26px;
  }
}

/* =========================================
   Menú móvil
========================================= */
.hamburger {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 10px;
  cursor: pointer;
  justify-self: start;
}

.hamburger .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  margin: 5px auto;
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: 64px 10px auto 10px;
  background: color-mix(in srgb, var(--bg, #0b0d11) 86%, #0000);
  border: 1px solid var(--header-border);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow);
  z-index: 999;
}

.mobile-panel a {
  display: block;
  padding: 14px 12px;
  color: var(--muted);
  border-radius: 10px;
}

.mobile-panel a:hover {
  color: var(--fg);
  background: var(--panel);
}

/* =========================================
   HERO con video de fondo
========================================= */
.hero {
  position: relative;
  min-height: 56svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 16px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .55));
  z-index: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  width: 100%;
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: .4px;
  margin: 0;
  line-height: 1.15;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35), 0 10px 30px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translateY(10px);
  animation: riseIn .6s ease-out .05s both;
}

.hero-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 50%, #fff));
  box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 500;
  margin-top: 14px;
  color: #fff;
  text-align: center;
  opacity: 0;
  animation: fadeIn .8s ease-out .4s both;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}

.hero-cta {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* Animaciones */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =========================================
   Secciones
========================================= */
.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 16px;
  line-height: 1.6;
}

.section h2 { margin-top: 0; }

.card {
  background: var(--card);
  border: 1px solid var(--header-border);
  border-radius: 16px;
  padding: 22px;
  margin: 16px 0;
}

/* =========================================
   Beneficios
========================================= */
.benefits {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.benefit {
  background: var(--card);
  border: 1px solid var(--header-border);
  padding: 18px;
  border-radius: 16px;
  text-align: center;
}

.benefit ion-icon {
  font-size: 28px;
  color: var(--accent);
}

.benefit h3 { margin: 10px 0 4px; }

/* =========================================
   Categorías + trips
========================================= */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 18px;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--header-border);
  background: var(--panel);
  color: var(--fg);
  cursor: pointer;
  font-weight: 700;
}

.chip.is-active {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.card.trip {
  padding: 0;
  overflow: hidden;
}

.card.trip img {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.card.trip .card-body { padding: 14px; }

/* =========================================
   Buscador (iframe)
========================================= */
.widget-wrap {
  margin: 26px auto 6px;
  padding: 0;
  max-width: 1100px;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  justify-content: center;
}

.widget-frame {
  display: block;
  width: 100%;
  max-width: 1100px;
  border: 0;
  border-radius: 12px;
  background: #ffffff00;
}

.widget--compact .widget-frame { height: var(--widget-h-compact); }
.widget--normal .widget-frame { height: var(--widget-h-normal); }
.widget--tall .widget-frame { height: var(--widget-h-tall); }

@media (max-width: 992px) {
  .widget--compact .widget-frame { height: var(--widget-h-compact-sm); }
  .widget--normal .widget-frame { height: var(--widget-h-normal-sm); }
  .widget--tall .widget-frame { height: var(--widget-h-tall-sm); }
}

.section#buscador h2 { margin-bottom: 16px; }

/* ====== Ajustes mínimos para MEGA CONEXIÓN ====== */
#mega-conexion h2 { margin-bottom: 10px; }
#megaTabs { margin-bottom: 12px; }

/* =========================================
   Promos (Swiper)
========================================= */
.promos-swiper {
  --swiper-pagination-bullet-inactive-color: var(--muted);
  --swiper-pagination-bullet-size: 8px;
}

.swiper { width: 100%; }

.swiper-slide { height: auto; }

.promo {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--header-border);
  border-radius: 16px;
  overflow: hidden;
}

.promo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 0;
}

.promo-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.countdown {
  font-weight: 800;
  color: var(--accent);
}

.swiper-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--header-border);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.swiper-btn.prev { left: -6px; }
.swiper-btn.next { right: -6px; }

.swiper-btn::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--fg);
  border-right: 2px solid var(--fg);
  display: block;
}

.swiper-btn.prev::before { transform: rotate(-135deg); }
.swiper-btn.next::before { transform: rotate(45deg); }

/* =========================================
   Testimonios
========================================= */
.testi {
  background: var(--card);
  border: 1px solid var(--header-border);
  border-radius: 16px;
  padding: 20px;
  margin: 6px;
}

.testi p {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.testi footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testi footer img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 999px;
}

/* =========================================
   Galería
========================================= */
.ig-widget {
  margin-top: 16px;
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}

/* Marco tipo card, centrado y con sombra */
.ig-frame {
  width: 100%;
  max-width: 1000px;
  height: 700px;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0b0d11;
}

@media (max-width: 900px) {
  .ig-frame { height: 520px; }
}

@media (max-width: 600px) {
  .ig-frame { height: 460px; }
}

/* Ocultamos la galería vieja para usar solo Instagram */
.gallery--fallback { display: none; }

.gallery {
  columns: 3 280px;
  column-gap: 14px;
}

.gallery.figure {
  break-inside: avoid;
  margin: 0 0 14px;
}

.gallery img {
  width: 100%;
  height: auto;
}

/* =========================================
   Contacto
========================================= */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: start;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--header-border);
  border-radius: 16px;
  padding: 18px;
}

.contact-form .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label span {
  display: block;
  font-weight: 700;
  margin: 4px 0;
}

input,
textarea {
  width: 100%;
  background: color-mix(in srgb, var(--bg) 92%, #0000);
  color: var(--fg);
  border: 1px solid var(--header-border);
  border-radius: 10px;
  padding: 10px 12px;
}

input:focus,
textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 60%, #000);
  outline-offset: 2px;
}

.form-hint {
  color: var(--muted);
  font-size: .92rem;
}

#formMsg {
  display: block;
  margin-top: 8px;
  font-weight: 700;
}

.contact-side .map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--header-border);
}

.contact-side iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}

.contact-list ion-icon {
  color: var(--accent);
  margin-right: 6px;
  vertical-align: middle;
}

/* =========================================
   Footer
========================================= */
.site-footer {
  background: var(--bg) !important;
  color: var(--fg) !important;
  padding: 48px 16px 28px;
  border-top: 1px solid var(--header-border);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.footer-col h3 {
  color: var(--fg) !important;
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li+li { margin-top: 8px; }

.footer-col a {
  color: var(--accent) !important;
  font-weight: 600;
}

.footer-col a:hover { text-decoration: underline; }

.footer-brand {
  justify-self: end;
  text-align: right;
}

.footer-brand .brand-mark {
  color: var(--fg) !important;
  font-weight: 900;
  letter-spacing: .5px;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.footer-brand .social {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.footer-brand ion-icon {
  font-size: 22px;
  color: var(--accent) !important;
}

.copy {
  text-align: center;
  margin: 28px 0 0;
  color: var(--muted) !important;
  font-weight: 700;
}

/* =========================================
   Modal de Video
========================================= */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1001;
}

.modal.is-open { display: block; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(2px);
}

.modal__dialog {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal__content {
  position: relative;
  width: min(980px, 92vw);
  background: color-mix(in srgb, var(--bg) 92%, #0000);
  border: 1px solid var(--header-border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  padding: 16px;
}

.modal__ratio {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.modal__media {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.modal__title {
  margin: 12px 4px 4px;
  font-size: 1rem;
  color: var(--muted);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(2px);
}

.modal__close:hover,
.modal__close:focus {
  background: rgba(0, 0, 0, .65);
  outline: none;
}

.modal__close--over { z-index: 2; }

body.modal-open { overflow: hidden; }

/* =========================================
   Botón flotante WhatsApp
========================================= */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1002;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.wa-float ion-icon { font-size: 28px; }

/* =========================================
   Secciones legales
========================================= */
.section--legal {
  background: none;
  border-top: 1px solid var(--header-border);
  border-bottom: 1px solid var(--header-border);
}

.section--legal h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  margin-bottom: 10px;
}

.section--legal h3 {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.section--legal p,
.section--legal ul {
  font-size: .95rem;
  color: var(--muted);
}

.section--legal ul { padding-left: 18px; }

.section--legal li+li { margin-top: 4px; }

/* =========================================
   Banner de cookies
========================================= */
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1200;
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-banner__inner {
  max-width: 960px;
  width: 100%;
  background: color-mix(in srgb, var(--bg) 96%, #0000);
  border-radius: 16px 16px 0 0;
  border: 1px solid var(--header-border);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .35);
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  pointer-events: auto;
}

.cookie-banner__text {
  flex: 1 1 260px;
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.btn.btn--ghost {
  background: transparent;
  border-color: var(--header-border);
}

.cookie-banner.is-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.cookie-banner:not(.is-hidden) {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Responsivo (layout)
========================================= */
@media (max-width: 1120px) {
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
  .nav-wrap { grid-template-columns: auto 1fr auto; }
  nav.primary { display: none; }
  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .promo { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand {
    justify-self: start;
    text-align: left;
    grid-column: 1 / -1;
  }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .benefits { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2 180px; }
  .swiper-btn { display: none; }
  .cookie-banner__inner { border-radius: 16px 16px 0 0; }
}

@media (max-width: 420px) {
  .benefits { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1 100%; }
}


body.dark { color-scheme: dark; }
body.light { color-scheme: light; }
