:root {
  --ink: #0b1c28;
  --ink-soft: #1a3344;
  --sea: #1f7a88;
  --sea-deep: #145864;
  --sun: #e6a31a;
  --sun-soft: #f3c45a;
  --foam: #eef4f7;
  --mist: #d5e2e8;
  --paper: #f5f8fa;
  --white: #ffffff;
  --text: #1c2e3a;
  --muted: #5a7180;
  --radius: 2px;
  --shadow: 0 24px 60px rgba(11, 28, 40, 0.18);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

address {
  font-style: normal;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(11, 28, 40, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.header-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--sun-soft), var(--sun) 55%, var(--sea) 56%, var(--sea-deep));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--sun-soft);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
}

.nav-cta:hover {
  border-color: var(--sun);
  background: rgba(230, 163, 26, 0.12);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  margin: 0.35rem auto;
  background: var(--white);
  transition: transform 0.25s var(--ease);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-zoom 18s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 28, 40, 0.45) 0%, rgba(11, 28, 40, 0.25) 35%, rgba(11, 28, 40, 0.78) 100%),
    radial-gradient(ellipse at 20% 20%, rgba(31, 122, 136, 0.35), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 5.5rem;
  max-width: 38rem;
  animation: rise 1s var(--ease) both;
}

.brand-hero {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--sun-soft);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 500;
  line-height: 1.15;
  max-width: 16ch;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  animation: pulse 2.4s ease-in-out infinite;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}

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

.btn-primary {
  background: var(--sun);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--sun-soft);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-block {
  width: 100%;
}

/* Trust */
.trust {
  background: var(--ink);
  color: var(--foam);
  padding: 1.75rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--sun);
  line-height: 1.1;
}

.trust-item span {
  font-size: 0.85rem;
  color: rgba(238, 244, 247, 0.7);
}

/* Sections */
.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head.light {
  color: var(--foam);
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea);
}

.section-head.light .eyebrow {
  color: var(--sun-soft);
}

.section-head h2,
.spotlight-copy h2,
.cta-inner h2,
.footer-map h2,
.footer-addresses h2,
.footer-form h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

.section-head.light h2,
.cta-inner h2,
.footer-map h2,
.footer-addresses h2,
.footer-form h2 {
  color: var(--foam);
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Destinos */
.destinos {
  padding: 5.5rem 0 4rem;
  background:
    linear-gradient(180deg, var(--paper), #e8f0f4 40%, var(--paper));
}

.destinos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.destino {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 28, 40, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.destino:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.destino.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 360px;
}

.destino figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.destino.featured figure {
  aspect-ratio: auto;
  height: 100%;
}

.destino img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.destino:hover img {
  transform: scale(1.05);
}

.destino-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.destino.featured .destino-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
}

.destino-tag {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sea);
}

.destino h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
}

.destino p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.text-link {
  margin-top: 1.25rem;
  display: inline-block;
  font-weight: 600;
  color: var(--sea-deep);
}

.text-link:hover {
  color: var(--sun);
}

/* Spotlight */
.spotlight {
  padding: 4.5rem 0;
  background: var(--white);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.spotlight-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.checklist {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.6rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sun), var(--sea));
}

.spotlight-media {
  margin: 0;
  overflow: hidden;
  max-height: 560px;
  box-shadow: var(--shadow);
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: float-soft 8s ease-in-out infinite;
}

/* Rutas */
.rutas {
  padding: 5rem 0;
  background: var(--foam);
}

.rutas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ruta {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 28, 40, 0.06);
}

.ruta img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ruta > div {
  padding: 1.25rem 1.35rem 1.5rem;
}

.ruta h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
}

.ruta p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.ruta-meta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sea);
}

/* Por qué */
.por-que {
  padding: 5rem 0;
  background:
    linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 55%, var(--sea-deep) 100%);
  color: var(--foam);
  overflow: hidden;
}

.por-que-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.values {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 0;
  grid-column: 1;
}

.value h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--sun-soft);
}

.value p {
  margin: 0;
  color: rgba(238, 244, 247, 0.78);
}

.por-que-visual {
  margin: 0;
  grid-column: 2;
  grid-row: 1 / span 2;
  overflow: hidden;
  box-shadow: var(--shadow);
  align-self: stretch;
}

.por-que-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.por-que .section-head {
  grid-column: 1;
}

/* CTA */
.cta-band {
  padding: 4.5rem 0;
  background:
    linear-gradient(120deg, rgba(11, 28, 40, 0.88), rgba(31, 122, 136, 0.75)),
    url("../images/costa.jpg") center/cover;
  color: var(--white);
  text-align: center;
}

.cta-inner {
  max-width: 36rem;
}

.cta-inner p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Footer */
.site-footer {
  background: #07141c;
  color: var(--foam);
  padding-top: 4.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-map p,
.footer-form > p {
  margin: 0 0 1rem;
  color: rgba(238, 244, 247, 0.7);
  font-size: 0.95rem;
}

.map-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink-soft);
  aspect-ratio: 16 / 11;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

.footer-addresses address {
  margin: 0 0 1.25rem;
  color: rgba(238, 244, 247, 0.78);
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-addresses strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--sun-soft);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.footer-addresses a {
  color: var(--mist);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hours {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(238, 244, 247, 0.55);
}

.field {
  margin-bottom: 0.9rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(238, 244, 247, 0.8);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--sun);
  outline-offset: 1px;
  border-color: transparent;
}

.field select option {
  color: var(--ink);
}

.form-status {
  min-height: 1.4em;
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--sun-soft);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(238, 244, 247, 0.5);
}

.footer-bottom p {
  margin: 0;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Animations */
@keyframes hero-zoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.9; transform: translateX(-50%) translateY(4px); }
}

@keyframes float-soft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Responsive */
@media (max-width: 960px) {
  .destinos-grid,
  .rutas-grid,
  .footer-grid,
  .spotlight-grid,
  .por-que-inner {
    grid-template-columns: 1fr;
  }

  .destino.featured {
    grid-template-columns: 1fr;
  }

  .destino.featured figure {
    aspect-ratio: 16 / 10;
  }

  .por-que-visual {
    grid-column: 1;
    grid-row: auto;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: rgba(11, 28, 40, 0.97);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 4rem;
  }

  .brand-hero {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .destino.featured .destino-body {
    padding: 1.5rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
