/* ═══════════════════════════════════════════════════════════
   HERO PREMIUM — Airbnb · Apple · Virgin Voyages
   ═══════════════════════════════════════════════════════════ */
:root {
  --premium-black: #07131D;
  --premium-deep: #0F2233;
  --premium-turquoise: #45D8F7;
  --premium-sky: #6CEAFF;
  --premium-orange: #F4A52F;
  --premium-orange-hover: #FFB648;
  --premium-white: #FFFFFF;
  --premium-font: 'Outfit', system-ui, sans-serif;
  --premium-display: 'Outfit', system-ui, sans-serif;
  --premium-script: 'Outfit', sans-serif;
}

body.has-premium-hero {
  font-family: var(--premium-font);
}

body.has-premium-hero .flow-bg { opacity: 0.35; }

/* ── NAV transparent → solid ── */
body.has-premium-hero .nav {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  transition: background .45s ease, backdrop-filter .45s ease, border-color .45s ease;
}

body.has-premium-hero .nav.nav--scrolled {
  background: rgba(7, 19, 29, .88);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom-color: rgba(255, 255, 255, .08);
}

body.has-premium-hero .nav__links a { color: rgba(255, 255, 255, .72); }
body.has-premium-hero .nav__links a:hover { color: var(--premium-sky); background: rgba(255, 255, 255, .06); }

body.has-premium-hero .btn--gold {
  background: var(--premium-orange);
  color: var(--premium-black);
  box-shadow: 0 8px 28px rgba(244, 161, 47, .35);
}

body.has-premium-hero .btn--gold:hover {
  background: var(--premium-orange-hover);
}

/* ── HERO SHELL ── */
.hero-premium {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-premium__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-premium__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 52%;
  transform: scale(1);
  animation: heroKenBurns 28s ease-in-out infinite alternate;
  image-rendering: auto;
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

.hero-premium__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 15, 24, .93) 0%,
    rgba(4, 15, 24, .78) 22%,
    rgba(4, 15, 24, .35) 48%,
    rgba(4, 15, 24, .08) 68%,
    rgba(4, 15, 24, 0) 100%
  );
}

.hero-premium__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 19, 29, .75) 100%);
}

/* Partículas sutiles */
.hero-premium__sparkles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-premium__sparkles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 0 8px rgba(108, 234, 255, .8);
  animation: sparkle 4s ease-in-out infinite;
}

.hero-premium__sparkles span:nth-child(1) { top: 38%; left: 68%; animation-delay: 0s; }
.hero-premium__sparkles span:nth-child(2) { top: 52%; left: 82%; animation-delay: .8s; }
.hero-premium__sparkles span:nth-child(3) { top: 62%; left: 75%; animation-delay: 1.6s; }
.hero-premium__sparkles span:nth-child(4) { top: 45%; left: 90%; animation-delay: 2.2s; }
.hero-premium__sparkles span:nth-child(5) { top: 70%; left: 85%; animation-delay: 3s; }
.hero-premium__sparkles span:nth-child(6) { top: 55%; left: 72%; animation-delay: 1.2s; }

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(.5); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Contenido — alineado izquierda, bote visible a la derecha */
.hero-premium__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--nav) + 2rem) clamp(1.25rem, 5vw, 5rem) 7rem;
}

.hero-premium__grid {
  width: min(600px, 100%);
  margin-inline: 0;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-premium__grid {
    grid-template-columns: 1.15fr .85fr;
    gap: 3rem;
  }

  .hero-premium__grid--solo {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin-left: 0;
  }

  .hero-premium__left {
    max-width: 560px;
  }
}

.ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--premium-sky);
}

.ico--perk {
  width: 20px;
  height: 20px;
  color: var(--premium-turquoise);
  filter: drop-shadow(0 0 6px rgba(69, 216, 247, .35));
}

.hero-premium__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(16px);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 1.25rem;
  animation: heroFadeUp .9s cubic-bezier(.16, 1, .3, 1) .1s both;
}

.hero-premium__script {
  font-family: var(--premium-script);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--premium-turquoise);
  line-height: 1;
  margin-bottom: .5rem;
  animation: heroFadeUp .9s cubic-bezier(.16, 1, .3, 1) .2s both;
}

.hero-premium__title {
  font-family: var(--premium-display, 'Outfit', sans-serif);
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.03em;
  color: var(--premium-white);
  margin-bottom: 1.25rem;
  animation: heroFadeUp .95s cubic-bezier(.16, 1, .3, 1) .3s both;
}

.hero-premium__title .gradient {
  display: block;
  background: linear-gradient(135deg, #7DEBFF 0%, #25C8FF 55%, #6CEAFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-premium__lead {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
  max-width: 520px;
  margin-bottom: 2rem;
  animation: heroFadeUp .95s cubic-bezier(.16, 1, .3, 1) .4s both;
}

.hero-premium__lead strong {
  color: var(--premium-white);
  font-weight: 600;
}

/* Iconos inclusiones */
.hero-premium__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  margin-bottom: 2.25rem;
  animation: heroFadeUp .95s cubic-bezier(.16, 1, .3, 1) .5s both;
}

.hero-premium__perk {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
}

/* Izquierda */
.hero-premium__left {
  max-width: 680px;
}

.hero-premium__perk span {
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
  letter-spacing: .02em;
}

/* CTAs */
.hero-premium__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: heroFadeUp .95s cubic-bezier(.16, 1, .3, 1) .6s both;
}

.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 1.05rem 2rem;
  border-radius: 999px;
  font-family: var(--premium-font);
  font-size: .95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s, background .35s;
  text-decoration: none;
}

.btn-premium:hover { transform: translateY(-2px); }

.btn-premium--primary {
  background: var(--premium-orange);
  color: var(--premium-black);
  box-shadow: 0 12px 40px rgba(244, 161, 47, .4);
}

.btn-premium--primary:hover {
  background: var(--premium-orange-hover);
  box-shadow: 0 16px 48px rgba(255, 182, 72, .45);
}

.btn-premium--ghost {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--premium-white);
  backdrop-filter: blur(12px);
}

.btn-premium--ghost:hover {
  background: rgba(255, 255, 255, .14);
}

.btn-premium__play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
}

.hero-premium__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.25rem;
  animation: heroFadeUp .95s cubic-bezier(.16, 1, .3, 1) .7s both;
}

.hero-premium__trust span {
  font-size: .78rem;
  color: rgba(255, 255, 255, .65);
  display: flex;
  align-items: center;
  gap: .35rem;
}

.hero-premium__trust svg {
  width: 14px;
  height: 14px;
  color: var(--premium-turquoise);
  flex-shrink: 0;
}

/* Booking card — derecha */
.hero-premium__booking {
  position: relative;
  opacity: 0;
  animation: heroScaleIn 1s cubic-bezier(.16, 1, .3, 1) .45s forwards;
}

@keyframes heroFadeUp {
  from { transform: translateY(20px); }
  to { transform: none; }
}

@keyframes heroScaleIn {
  from { transform: translateY(20px) scale(.98); }
  to { transform: none; }
}

.booking-glass {
  background: rgba(7, 19, 29, .55);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 32px;
  padding: 1.5rem;
  backdrop-filter: blur(30px) saturate(1.4);
  -webkit-backdrop-filter: blur(30px) saturate(1.4);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, .45),
    0 0 0 1px rgba(255, 255, 255, .04) inset,
    0 1px 0 rgba(255, 255, 255, .1) inset;
}

.booking-glass__sub {
  font-size: .85rem;
  color: rgba(255, 255, 255, .65);
  text-align: center;
  margin-bottom: 1rem;
}

.booking-glass__head h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--premium-white);
  margin-bottom: .35rem;
  letter-spacing: -.02em;
}

.booking-glass__head p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 1.25rem;
}

.booking-glass__slots {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: 1.1rem;
}

.booking-glass__slots strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--premium-white);
}

.booking-glass__slots span {
  font-size: .78rem;
  color: rgba(255, 255, 255, .55);
}

.booking-glass__live {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 600;
  color: #4ADE80;
}

.booking-glass__live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 10px rgba(74, 222, 128, .7);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

.booking-field {
  margin-bottom: 0;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  margin-bottom: 1rem;
}

@media (min-width: 560px) {
  .booking-form-grid {
    grid-template-columns: 1fr 1fr;
    gap: .75rem 1rem;
  }

  .booking-field--full {
    grid-column: 1 / -1;
  }
}

.booking-field label {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: .35rem;
}

.booking-field input,
.booking-field select {
  width: 100%;
  height: 44px;
  padding: 0 .9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .35);
  color: var(--premium-white);
  font-size: .9rem;
  font-family: var(--premium-font);
  transition: border-color .25s, box-shadow .25s, background .25s;
}

.booking-field input:hover,
.booking-field select:hover {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(0, 0, 0, .45);
}

.booking-field input:focus,
.booking-field select:focus {
  outline: none;
  border-color: var(--premium-turquoise);
  box-shadow: 0 0 0 3px rgba(69, 216, 247, .2);
}

.booking-field select { cursor: pointer; }

.btn-booking-wa {
  width: 100%;
  height: 48px;
  margin-top: 0;
  border: none;
  border-radius: 16px;
  background: #25D366;
  color: #fff;
  font-family: var(--premium-font);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  box-shadow: 0 12px 36px rgba(37, 211, 102, .35);
  transition: transform .3s, box-shadow .3s, background .3s;
}

.btn-booking-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(37, 211, 102, .45);
  background: #2ee06f;
}

.booking-glass__social {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
}

.booking-glass__stars {
  color: var(--premium-orange);
  font-size: .85rem;
  letter-spacing: .15em;
  margin-bottom: .35rem;
}

.booking-glass__social p {
  font-size: .78rem;
  color: rgba(255, 255, 255, .55);
}

/* Barra inferior glass */
.hero-premium__bar {
  position: relative;
  z-index: 3;
  margin-top: auto;
  padding: 0 clamp(1.25rem, 5vw, 5rem) 1.5rem;
}

.hero-premium__bar-inner {
  width: 100%;
  max-width: 900px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem 2rem;
  padding: 1rem 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(24px);
  animation: heroFadeUp .9s cubic-bezier(.16, 1, .3, 1) .85s both;
}

.hero-premium__bar-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
}

.hero-premium__bar-item svg {
  width: 18px;
  height: 18px;
  color: var(--premium-sky);
  flex-shrink: 0;
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(7, 19, 29, .92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}

.video-modal.open {
  opacity: 1;
  visibility: visible;
}

.video-modal__box {
  position: relative;
  width: min(900px, 100%);
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  background: var(--premium-deep);
  border: 1px solid rgba(255, 255, 255, .12);
}

.video-modal__box video,
.video-modal__box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-modal__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s;
}

.video-modal__close:hover { opacity: 1; }

/* Responsive */
@media (max-width: 1023px) {
  .hero-premium__overlay {
    background: linear-gradient(
      90deg,
      rgba(4, 15, 24, .92) 0%,
      rgba(4, 15, 24, .65) 45%,
      rgba(4, 15, 24, .25) 100%
    );
  }

  .hero-premium__bg img {
    object-position: 58% 52%;
  }

  .hero-premium__content {
    padding-bottom: 1.5rem;
  }

  .hero-premium__booking {
    max-width: 440px;
  }

  .hero-premium__bar-inner {
    gap: .75rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .hero-premium__perks {
    gap: .85rem 1rem;
  }

  .hero-premium__perk {
    flex: 0 0 calc(50% - .5rem);
  }

  .btn-premium {
    width: 100%;
  }

  .hero-premium__bar-item {
    flex: 0 0 calc(50% - .5rem);
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: .35rem;
  }
}

@media (max-width: 480px) {
  .hero-premium__title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.12;
  }

  .hero-premium__content {
    padding: calc(var(--nav, 80px) + 1rem) 1rem 2.25rem;
  }

  .hero-premium__perk {
    flex: 1 1 100%;
  }

  .hero-premium__cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-premium__cta-row .btn,
  .hero-premium__cta-row .btn-premium {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-premium__bg img,
  .hero-premium__sparkles span,
  .booking-glass__live::before {
    animation: none;
  }

  .hero-premium__badge,
  .hero-premium__script,
  .hero-premium__title,
  .hero-premium__lead,
  .hero-premium__perks,
  .hero-premium__actions,
  .hero-premium__trust,
  .hero-premium__booking,
  .hero-premium__bar-inner {
    opacity: 1;
    animation: none;
    transform: none;
  }
}
