:root {
  --azul-profundo: #0A1F44;
  --azul-nocturno: #112D6B;
  --azul-luciernaga: #1E88E5;
  --blanco: #FFFFFF;
  --gris-claro: #F5F7FA;
  --brillo: #DFF6FF;
  --dorado-sutil: #FFE082;
  --fondo: #07162f;
  --fondo-alt: rgba(10, 31, 68, 0.72);
  --borde: rgba(223, 246, 255, 0.14);
  --texto-suave: rgba(255, 255, 255, 0.76);
  --sombra: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radio-xl: 32px;
  --radio-lg: 24px;
  --radio-md: 18px;
  --max-width: 1280px;
  --transition: 320ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--blanco);
  background:
    radial-gradient(circle at top, rgba(30, 136, 229, 0.2), transparent 30%),
    linear-gradient(180deg, #061126 0%, #08172f 30%, #091c3a 100%);
  overflow-x: clip;
}

body.is-loading {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
a,
input,
iframe {
  outline-offset: 4px;
}

:focus-visible {
  outline: 2px solid var(--dorado-sutil);
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  color: var(--azul-profundo);
  background: var(--blanco);
  border-radius: 999px;
  transform: translateY(-200%);
  z-index: 50;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(30, 136, 229, 0.14), transparent 30%),
    linear-gradient(180deg, #061126 0%, #091c3a 100%);
  z-index: 60;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-transform: uppercase;
  letter-spacing: 0.25rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.8);
}

.loader-star {
  width: 14px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--dorado-sutil);
  box-shadow: 0 0 26px rgba(255, 224, 130, 0.9);
  animation: pulse-loader 1.6s ease-in-out infinite;
}

.ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
}

.ambient-stars {
  background-image:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.68) 0 1px, transparent 1.4px),
    radial-gradient(circle at 70% 15%, rgba(223, 246, 255, 0.75) 0 1px, transparent 1.4px),
    radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.4px),
    radial-gradient(circle at 82% 72%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.4px),
    radial-gradient(circle at 56% 38%, rgba(223, 246, 255, 0.4) 0 1px, transparent 1.4px);
  opacity: 0.35;
}

.ambient-fireflies {
  z-index: 2;
}

.firefly {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 224, 130, 0.95) 0%, rgba(223, 246, 255, 0.9) 45%, rgba(255, 224, 130, 0) 72%);
  filter: blur(0.3px);
  will-change: transform, opacity;
}

.ambient-fog {
  background:
    radial-gradient(circle at center, rgba(223, 246, 255, 0.11), transparent 58%);
  mix-blend-mode: screen;
  opacity: 0.28;
}

.ambient-fog-one {
  transform: translate3d(-18%, 0, 0) scale(1.45);
  animation: drift-fog 24s linear infinite alternate;
}

.ambient-fog-two {
  transform: translate3d(10%, -8%, 0) scale(1.2);
  animation: drift-fog 18s linear infinite alternate-reverse;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  z-index: 55;
  transition: opacity var(--transition), transform 80ms linear;
}

.custom-cursor.is-visible {
  opacity: 1;
}

.cursor-core,
.cursor-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.cursor-core {
  inset: 14px;
  background: rgba(255, 224, 130, 0.92);
  box-shadow: 0 0 18px rgba(255, 224, 130, 0.8);
}

.cursor-ring {
  border: 1px solid rgba(223, 246, 255, 0.7);
  backdrop-filter: blur(3px);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: linear-gradient(180deg, rgba(6, 17, 38, 0.9), rgba(6, 17, 38, 0.38) 70%, rgba(6, 17, 38, 0));
}

.topbar-inner {
  width: min(var(--max-width), calc(100% - 2.4rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
}

.brand {
  display: grid;
  gap: 0.15rem;
}

.brand-kicker,
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28rem;
  text-transform: uppercase;
  color: rgba(223, 246, 255, 0.82);
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  letter-spacing: 0.03em;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.94rem;
}

.topnav a:not(.button) {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  position: relative;
  padding: 7.5rem 1.2rem;
}

.section::before {
  content: "";
  position: absolute;
  inset: 1rem auto auto 50%;
  width: min(78vw, 1040px);
  height: 78%;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(30, 136, 229, 0.09), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 4.5rem;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.5);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(4, 11, 25, 0.2), rgba(4, 11, 25, 0.82)),
    linear-gradient(90deg, rgba(4, 11, 25, 0.72) 10%, rgba(4, 11, 25, 0.2) 56%, rgba(4, 11, 25, 0.52) 100%),
    radial-gradient(circle at 72% 20%, rgba(30, 136, 229, 0.16), transparent 34%);
}

.hero-grid,
.section-heading,
.story-layout,
.gallery-grid,
.packages-grid,
.map-layout,
.testimonial-slider,
.faq-list,
.site-footer {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.56fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  min-height: calc(100vh - 12.5rem);
  align-items: center;
}

.hero-copy {
  max-width: 700px;
  display: grid;
  gap: 1.25rem;
  padding-bottom: 0.5rem;
}

.hero-title,
.section-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-title {
  font-size: clamp(4.2rem, 7vw, 6.7rem);
  max-width: none;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title-line + .hero-title-line {
  margin-top: -0.12em;
}

.section-title {
  font-size: clamp(2.5rem, 5.2vw, 4.7rem);
  max-width: 10ch;
}

.hero-text,
.story-copy p,
.note-card p,
.gallery-copy span,
.package-card p,
.package-card li,
.map-copy p,
.testimonial-card p,
.faq-answer p,
.cta-panel p,
.site-footer p {
  color: var(--texto-suave);
  line-height: 1.8;
}

.hero-text {
  max-width: 35rem;
  margin: 0;
  font-size: 1.08rem;
}

.hero-intro {
  will-change: transform, opacity;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 44rem;
  margin-top: 1rem;
}

.hero-fact {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(223, 246, 255, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(9, 24, 49, 0.7), rgba(7, 18, 39, 0.34));
}

.hero-fact span {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(223, 246, 255, 0.7);
  font-size: 0.76rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.hero-fact strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.5;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--azul-profundo);
  background: linear-gradient(135deg, var(--dorado-sutil), #fff1b5);
  box-shadow: 0 16px 38px rgba(255, 224, 130, 0.18);
}

.button-secondary,
.button-ghost,
.button-small {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--blanco);
}

.button-small {
  min-height: 44px;
  padding-inline: 1rem;
}

.hero-panel,
.note-card,
.package-card,
.map-frame,
.testimonial-card,
.faq-item,
.cta-panel {
  border: 1px solid var(--borde);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(18px);
  box-shadow: var(--sombra);
}

.hero-panel {
  position: relative;
  justify-self: end;
  max-width: 360px;
  padding: 2rem;
  border-radius: var(--radio-xl);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(255, 224, 130, 0), rgba(255, 224, 130, 0.9), rgba(255, 224, 130, 0));
}

.hero-panel-title {
  margin-bottom: 1rem;
}

.hero-panel-note {
  margin: 1.3rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(223, 246, 255, 0.12);
  color: rgba(223, 246, 255, 0.72);
}

.hero-panel p:first-child,
.package-tag {
  margin-top: 0;
  color: var(--dorado-sutil);
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hero-panel ul,
.package-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--texto-suave);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  z-index: 2;
}

.scroll-indicator span {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.85));
  animation: pulse-line 1.8s ease-in-out infinite;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 3.25rem;
}

.section-heading-split {
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.68fr);
  align-items: end;
  column-gap: clamp(1.5rem, 4vw, 4rem);
}

.section-intro {
  max-width: 30rem;
  margin: 0;
  color: rgba(223, 246, 255, 0.74);
  font-size: 1rem;
  line-height: 1.85;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 0.88fr) minmax(0, 0.76fr);
  gap: 1.75rem;
  align-items: start;
}

.story-copy {
  padding-top: 0.65rem;
}

.story-visual,
.gallery-card {
  overflow: hidden;
  border-radius: var(--radio-xl);
  position: relative;
}

.story-visual img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms ease, filter 800ms ease;
}

.story-visual-tall {
  min-height: 700px;
}

.story-notes {
  display: grid;
  gap: 1rem;
}

.note-card {
  padding: 1.5rem;
  border-radius: var(--radio-lg);
}

.note-card span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--dorado-sutil);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.section-gallery {
  padding-top: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 240px;
  gap: 1.15rem;
}

.gallery-card {
  grid-column: span 4;
  border: 1px solid rgba(223, 246, 255, 0.08);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.18);
}

.gallery-wide {
  grid-column: span 8;
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 1.35rem 1.4rem;
  background: linear-gradient(180deg, transparent, rgba(5, 13, 28, 0.88));
}

.gallery-copy p {
  margin: 0 0 0.35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
}

.gallery-card:hover img,
.gallery-card:focus-within img,
.story-visual:hover img {
  transform: scale(1.06);
  filter: saturate(0.92) brightness(0.84);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.package-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 100%;
  padding: 2rem;
  border-radius: var(--radio-xl);
}

.package-card h3,
.faq-question span:first-child,
.footer-title {
  font-family: "Cormorant Garamond", serif;
}

.package-card h3 {
  margin: 0;
  font-size: 2rem;
}

.package-card-featured {
  background:
    linear-gradient(180deg, rgba(255, 224, 130, 0.16), rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border-color: rgba(255, 224, 130, 0.22);
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.3);
}

.section-map {
  padding-bottom: 4rem;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.travel-tips {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.map-frame {
  padding: 0.75rem;
  border-radius: var(--radio-xl);
  min-height: 460px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 444px;
  border: 0;
  border-radius: calc(var(--radio-xl) - 8px);
}

.testimonial-slider {
  display: grid;
  gap: 1.5rem;
}

.testimonial-track {
  position: relative;
  min-height: 230px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  padding: 2rem;
  border-radius: var(--radio-xl);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.testimonial-card.is-active {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card p {
  margin-top: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-family: "Cormorant Garamond", serif;
  line-height: 1.5;
  color: var(--blanco);
}

.testimonial-card span {
  color: rgba(223, 246, 255, 0.76);
  letter-spacing: 0.08rem;
}

.slider-controls,
.slider-dots {
  display: flex;
  align-items: center;
}

.slider-controls {
  justify-content: space-between;
  gap: 1rem;
}

.slider-dots {
  gap: 0.55rem;
}

.slider-button,
.slider-dot,
.faq-question {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
}

.slider-button {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--borde);
  color: var(--texto-suave);
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.slider-dot.is-active {
  background: var(--dorado-sutil);
  box-shadow: 0 0 18px rgba(255, 224, 130, 0.6);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radio-lg);
  overflow: clip;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  text-align: left;
  cursor: pointer;
}

.faq-question span:first-child {
  font-size: 1.5rem;
}

.faq-icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex: 0 0 auto;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 18px;
  height: 1px;
  background: var(--dorado-sutil);
  transform: translate(-50%, -50%);
  transition: transform var(--transition);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition), padding var(--transition);
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 1.4rem 0;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 1.4rem;
}

.section-cta {
  padding-top: 2rem;
}

.cta-panel {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: calc(var(--radio-xl) + 8px);
  text-align: center;
}

.cta-panel .section-title {
  max-width: 11ch;
  margin-inline: auto;
}

.cta-panel p {
  max-width: 42rem;
  margin-inline: auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 1.2rem 2rem;
}

.footer-meta {
  max-width: 34rem;
}

.footer-title {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-credits {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(223, 246, 255, 0.62);
}

.footer-credits a {
  color: rgba(255, 255, 255, 0.82);
}

.split-heading .word {
  display: inline-block;
}

@keyframes pulse-loader {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.65;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes pulse-line {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.7);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes drift-fog {
  from {
    transform: translate3d(-12%, -2%, 0) scale(1.25);
  }

  to {
    transform: translate3d(12%, 2%, 0) scale(1.4);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-heading-split,
  .story-layout,
  .packages-grid,
  .map-layout {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    max-width: 28rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 260px;
  }

  .gallery-card,
  .gallery-wide,
  .gallery-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .story-visual-tall {
    min-height: 480px;
  }

  .section-intro {
    max-width: 42rem;
  }
}

@media (max-width: 760px) {
  .topbar {
    background: linear-gradient(180deg, rgba(6, 17, 38, 0.94), rgba(6, 17, 38, 0.5) 70%, rgba(6, 17, 38, 0));
  }

  .topbar-inner {
    align-items: start;
    flex-direction: column;
    width: calc(100% - 2rem);
  }

  .topnav {
    width: 100%;
    flex-wrap: wrap;
  }

  .section {
    padding: 6rem 1rem;
  }

  .hero {
    padding-top: 8.5rem;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    gap: 1rem;
    padding-bottom: 0;
  }

  .hero-title {
    font-size: clamp(3.6rem, 18vw, 5rem);
  }

  .hero-title-line + .hero-title-line {
    margin-top: -0.08em;
  }

  .hero-facts,
  .packages-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .footer-links,
  .slider-controls {
    flex-direction: column;
    align-items: start;
  }

  .map-frame {
    min-height: 360px;
  }

  .map-frame iframe {
    min-height: 344px;
  }

  .faq-question span:first-child {
    font-size: 1.25rem;
  }

  .section::before {
    width: 100%;
    height: 62%;
  }
}

@media (hover: none), (pointer: coarse) {
  .custom-cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll,
  .split-heading .word,
  .testimonial-card {
    opacity: 1;
    transform: none;
  }

  .custom-cursor,
  .ambient-fog {
    display: none;
  }
}
