/* Layout: hero, header, navegación y estructura principal */

.hero {
  position: relative;
  overflow: visible;
  padding: 0 24px 56px;
  color: #fff;
  background: linear-gradient(180deg, var(--navy-deep), var(--navy));
  z-index: 40;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: none;
  transform: none;
  filter: none;
  opacity: 0;
}

.hero-content,
main {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
}

.topbar {
  position: relative;
  z-index: 3;
  width: calc(100% + 48px);
  margin-left: -24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(0, 13, 34, 0.88);
  padding: 18px 28px 14px;
  backdrop-filter: blur(12px);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar,
.topbar a,
.nav-btn {
  font-size: inherit;
}

.hero-content {
  position: relative;
  z-index: 30;
  padding-top: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.brand-wordmark {
  font-weight: 400;
  line-height: 1;
}

.brand-wordmark strong {
  font-weight: 700;
}

#homeDiscover {
  display: none;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.nav-btn,
.search-btn,
.reserve-btn,
.confirm-btn,
.back-link,
.card-action,
.recent-action,
.favorite-btn,
.favorite-circle {
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.nav-btn {
  background: #fff;
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.78rem;
}

.eyebrow,
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.77rem;
  font-weight: 700;
}

.hero-content h1 {
  margin: 10px 0 12px;
  font-size: clamp(1.95rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  max-width: 640px;
  text-wrap: balance;
}

.hero-copy {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
}

body.route-focus .hero {
  padding: 0 24px 20px;
  color: var(--text);
  background: #ffffff;
  border-bottom: 1px solid rgba(215, 226, 241, 0.9);
  box-shadow: 0 12px 30px rgba(13, 22, 38, 0.05);
}

body.route-focus .hero-media,
body.route-focus .eyebrow,
body.route-focus .hero-content h1,
body.route-focus .hero-copy,
body.route-focus .hero-meta-row {
  display: none;
}

body.route-focus .topbar {
  width: 100%;
  margin-left: 0;
  background: #ffffff;
  padding: 14px 0 10px;
  color: var(--text);
  backdrop-filter: none;
}

body.route-focus .topbar a,
body.route-focus .topbar .nav-btn,
body.route-focus .topbar .nav-btn-secondary,
body.route-focus .nav-links {
  color: var(--text);
}

body.route-focus .nav-links {
  display: none;
}

body.route-focus .hero-content {
  padding-top: 8px;
  width: min(760px, calc(100% - 24px));
  display: flex;
  justify-content: center;
}
body.dreamcity-front:not(.route-focus) .hero {
  min-height: clamp(520px, 70vh, 680px);
  padding: 18px 24px 14px;
  background: #081a31;
}

body.dreamcity-front:not(.route-focus) .hero-media {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 1;
  overflow: hidden;
}

body.dreamcity-front:not(.route-focus) .hero-slide,
body.dreamcity-front:not(.route-focus) .hero-overlay {
  position: absolute;
  inset: 0;
}

body.dreamcity-front:not(.route-focus) .hero-slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: scale(1.06);
  animation: heroSlideShow 24s ease-in-out infinite;
  will-change: opacity, transform;
}

body.dreamcity-front:not(.route-focus) .hero-slide-1 {
  background-image: url("/assets/images/santiago1.jpg");
  animation-delay: 0s;
}

body.dreamcity-front:not(.route-focus) .hero-slide-2 {
  background-image: url("/assets/images/santiago3.jpg");
  animation-delay: 6s;
}

body.dreamcity-front:not(.route-focus) .hero-slide-3 {
  background-image: url("/assets/images/santiago5.jpg");
  animation-delay: 12s;
}

body.dreamcity-front:not(.route-focus) .hero-slide-4 {
  background-image: url("/assets/images/santiago6.jpg");
  animation-delay: 18s;
}

body.dreamcity-front:not(.route-focus) .hero-overlay {
  background:
    linear-gradient(180deg, rgba(5, 16, 32, 0.54) 0%, rgba(5, 16, 32, 0.34) 26%, rgba(5, 16, 32, 0.58) 100%),
    radial-gradient(circle at top right, rgba(147, 197, 253, 0.22), transparent 34%),
    linear-gradient(90deg, rgba(4, 12, 26, 0.42) 0%, rgba(4, 12, 26, 0.06) 48%, rgba(4, 12, 26, 0.3) 100%);
}

body.dreamcity-front:not(.route-focus) .topbar {
  width: min(1320px, calc(100% - 24px));
  margin: 0 auto;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 21, 43, 0.28);
  box-shadow: 0 18px 40px rgba(3, 10, 24, 0.24);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

body.dreamcity-front:not(.route-focus) .hero-content,
body.dreamcity-front:not(.route-focus) main {
  width: min(1320px, calc(100% - 24px));
}

body.dreamcity-front:not(.route-focus) .hero-content {
  padding-top: 42px;
}

body.dreamcity-front:not(.route-focus) .eyebrow,
body.dreamcity-front:not(.route-focus) .hero-content h1,
body.dreamcity-front:not(.route-focus) .hero-copy {
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

body.dreamcity-front:not(.route-focus) .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

body.dreamcity-front:not(.route-focus) .hero-content h1 {
  max-width: 780px;
}

body.dreamcity-front:not(.route-focus) .hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
}

@keyframes heroSlideShow {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }

  8% {
    opacity: 1;
  }

  25% {
    opacity: 1;
    transform: scale(1.02);
  }

  33% {
    opacity: 0;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}
.nav-links a {
  color: inherit;
  text-decoration: none;
}

.nav-btn {
  background: transparent;
  color: rgba(230, 242, 255, 0.96);
  padding: 0;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: none;
  text-decoration: none;
}

body.dreamcity-front:not(.route-focus) .topbar a {
  text-decoration: none;
}

body.dreamcity-front:not(.route-focus) .nav-links {
  color: rgba(191, 246, 255, 0.92);
}

body.dreamcity-front:not(.route-focus) .nav-btn {
  color: rgba(240, 247, 255, 0.96);
}
body.dreamcity-front:not(.route-focus) .nav-btn:hover,
body.dreamcity-front:not(.route-focus) .nav-btn:focus,
body.dreamcity-front:not(.route-focus) .nav-btn:active {
  background: transparent;
  box-shadow: none;
  color: #f3d98b;
}