/* ───────────────────────────────────────────────────────────────────────────
   Ann&Palm — Destination pages (/destinations/...)
   Reuses tokens from styles.css. Page-specific layout only.
   ───────────────────────────────────────────────────────────────────────── */

.dest-body {
  background: var(--ivory);
}

/* Inner-page nav shares the global fixed behaviour from styles.css. */
.nav.nav--static {
  position: fixed;
}

/* ───────────────────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────────────────── */

.dest-hero {
  position: relative;
  height: min(78vh, 760px);
  min-height: 480px;
  overflow: hidden;
  background: var(--navy);
  color: var(--ivory);
}
.dest-hero-media {
  position: absolute;
  inset: 0;
}
.dest-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.dest-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 60% at 16% 80%, rgba(1, 7, 34, 0.62) 0%, rgba(1, 7, 34, 0.3) 45%, transparent 72%),
    linear-gradient(180deg, rgba(1, 11, 64, 0.5) 0%, rgba(1, 11, 64, 0.06) 30%, rgba(1, 8, 40, 0.5) 60%, rgba(0, 4, 24, 0.9) 100%);
}
.dest-hero-content {
  position: absolute;
  left: 64px;
  right: 64px;
  bottom: 64px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1480px;
  margin: 0 auto;
}
.dest-hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, 0.95);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6), 0 0 1px rgba(0, 0, 0, 0.4);
}
.dest-hero-meta::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.dest-hero-meta .dot {
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
}
.dest-hero-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--ivory);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
.dest-hero-sub {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: rgba(244, 239, 229, 0.88);
  max-width: 52ch;
  text-wrap: pretty;
}
.dest-hero-tagline {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
  color: rgba(244, 239, 229, 0.92);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* ───────────────────────────────────────────────────────────────────────────
   STICKY SUB MENU
   ───────────────────────────────────────────────────────────────────────── */

.dest-subnav {
  position: sticky;
  top: var(--nav-height, 96px);
  z-index: 50;
  background: rgba(239, 232, 216, 0.88);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.25s ease;
}
.dest-subnav.is-stuck {
  box-shadow: 0 10px 30px rgba(14, 19, 34, 0.08);
}
.dest-subnav-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dest-subnav-inner::-webkit-scrollbar { display: none; }
.dest-subnav-link {
  flex: 0 0 auto;
  padding: 19px 2px 17px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(14, 19, 34, 0.62);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.dest-subnav-link:hover {
  color: var(--ink);
}
.dest-subnav-link.is-active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

/* ───────────────────────────────────────────────────────────────────────────
   INTRO
   ───────────────────────────────────────────────────────────────────────── */

.dest-intro {
  background: var(--ivory);
  padding: 88px 64px 24px;
}
.dest-intro-inner {
  max-width: 880px;
  margin: 0 auto;
}
.dest-intro-lead {
  margin: 0 0 22px;
  padding-left: 26px;
  border-left: 2px solid var(--gold);
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}
.dest-intro-body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* ───────────────────────────────────────────────────────────────────────────
   SECTION SCAFFOLD
   ───────────────────────────────────────────────────────────────────────── */

.dest-section {
  padding: 88px 64px 96px;
  scroll-margin-top: calc(var(--nav-height, 96px) + 76px);
}
.dest-section-head {
  max-width: 1480px;
  margin: 0 auto 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.dest-eyebrow {
  position: static;
  margin-bottom: 18px;
}
.dest-section-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.dest-section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}
.dest-section-sub {
  margin: 16px 0 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 58ch;
}

/* ───────────────────────────────────────────────────────────────────────────
   MOMENTS — image cards, title only, 3 per row
   ───────────────────────────────────────────────────────────────────────── */

.dest-moments {
  background: var(--ivory);
}
.moments-grid {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.2vw, 34px);
}
.moment-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink-soft);
  text-decoration: none;
}
.moment-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.moment-card--torres img {
  object-position: 70% center;
}
.moment-card:hover img {
  transform: scale(1.05);
}
.moment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(5deg, rgba(1, 8, 38, 0.72) 0%, rgba(1, 9, 44, 0.34) 32%, rgba(1, 11, 64, 0) 58%, rgba(0, 4, 24, 0.18) 100%);
  transition: background 0.3s ease;
}
.moment-card:hover::after {
  background: linear-gradient(5deg, rgba(1, 8, 38, 0.8) 0%, rgba(1, 9, 44, 0.42) 36%, rgba(1, 11, 64, 0.04) 60%, rgba(0, 4, 24, 0.26) 100%);
}
.moment-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 16px 18px 15px;
  /* Client (2026-07-22): text only — no navy band/blur behind it, serif type as before */
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--ivory);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.5);
  text-wrap: pretty;
}

/* ───────────────────────────────────────────────────────────────────────────
   INSPIRATIONAL ITINERARIES — arch cards (photo, title, button)
   ───────────────────────────────────────────────────────────────────────── */

.dest-itineraries {
  background: var(--ivory-soft);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.itinerary-grid {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 40px);
}
.itinerary-grid.itinerary-grid--single {
  max-width: 360px;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.itinerary-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.itinerary-media {
  width: 100%;
  aspect-ratio: 4 / 5.4;
  overflow: hidden;
  border-radius: 999px 999px 8px 8px; /* arch */
  background: var(--ink-soft);
}
.itinerary-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.itinerary-card:hover .itinerary-media img {
  transform: scale(1.04);
}
.itinerary-meta {
  margin: 20px 0 0;
  padding-top: 14px;
  width: 100%;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(14, 19, 34, 0.56);
}
.itinerary-meta-line {
  display: block;
}
.itinerary-meta-line + .itinerary-meta-line {
  margin-top: 4px;
}
.itinerary-title {
  margin: 10px 0 18px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.itinerary-btn {
  margin-top: auto;
}

/* ───────────────────────────────────────────────────────────────────────────
   ARGENTINA AT A GLANCE — dark panel
   ───────────────────────────────────────────────────────────────────────── */

.dest-glance {
  background: #080b25;
  color: var(--ivory);
}
.dest-glance-inner {
  max-width: 1480px;
  margin: 0 auto;
}
.dest-section-head--dark .dest-section-title {
  color: var(--ivory);
}
.dest-section-head--dark .dest-section-title em {
  color: var(--gold);
}
.dest-eyebrow--dark {
  color: rgba(244, 239, 229, 0.55);
}
.dest-eyebrow--dark .rule {
  background: var(--gold);
}
/* Numbered map + destination directory */
.glance-map-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(640px, 1.6fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  margin: 0 auto 80px;
}
.glance-map-layout--list-only {
  grid-template-columns: 1fr;
  align-items: start;
}
.glance-map-figure {
  margin: 0;
  display: flex;
  justify-content: center;
}
.glance-map-figure img {
  display: block;
  width: min(100%, 410px);
  height: auto;
}
.glance-destinations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  gap: clamp(28px, 3vw, 48px) clamp(32px, 4vw, 64px);
  align-items: start;
}
.glance-destinations:has(.glance-destination:nth-child(10)) {
  grid-template-rows: repeat(5, auto);
}
.glance-destination {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.glance-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  border: 6px solid rgba(184, 153, 104, 0.34);
  box-sizing: border-box;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1;
  color: var(--ivory);
}
.glance-number--wide {
  font-size: 11px;
}
.glance-destination h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ivory);
}
.glance-destination p {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  color: rgba(244, 239, 229, 0.78);
}
.glance-season {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft, #e2c989);
}

.glance-essentials-title {
  margin: 0 0 24px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.01em;
  color: var(--ivory);
}
.glance-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  justify-content: center;
}
/* 5 cards across a 6-col track: each spans 2 cols; the last row (2 cards)
   is offset by one column so it sits centered instead of flush-left. */
.glance-item {
  grid-column: span 2;
}
.glance-item:nth-child(4) {
  grid-column: 2 / span 2;
}
.glance-item:nth-child(5) {
  grid-column: 4 / span 2;
}
.glance-grid--four .glance-item:nth-child(4) {
  grid-column: 3 / span 2;
}
.glance-item {
  padding: 26px 26px 28px;
  border-radius: 10px;
  background: rgba(244, 239, 229, 0.04);
  border: 1px solid rgba(244, 239, 229, 0.1);
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.glance-item:hover {
  background: rgba(244, 239, 229, 0.07);
  border-color: rgba(184, 153, 104, 0.35);
}
.glance-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, 0.5);
}
.glance-value {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.15;
  color: var(--ivory);
}
.glance-item p {
  margin: 10px 0 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(244, 239, 229, 0.6);
}

/* ───────────────────────────────────────────────────────────────────────────
   HOW IT WORKS
   ───────────────────────────────────────────────────────────────────────── */

.dest-how {
  background: var(--ivory);
}
.how-grid {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 40px);
}
.how-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.how-step {
  position: relative;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.how-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
}
.how-step h3 {
  margin: 14px 0 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.how-step p {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.how-cta {
  max-width: 1480px;
  margin: 56px auto 0;
  display: flex;
  justify-content: center;
}

/* ───────────────────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .moments-grid,
  .itinerary-grid,
  .how-grid,
  .how-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .glance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .glance-item,
  .glance-item:nth-child(4),
  .glance-item:nth-child(5),
  .glance-grid--four .glance-item:nth-child(4) {
    grid-column: auto;
  }
  .glance-map-layout {
    grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
    gap: 44px;
  }
  .glance-destinations {
    gap: 30px 34px;
  }
  .glance-destination {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 9px;
  }
  .glance-number {
    width: 30px;
    height: 30px;
  }
  /* Two wide columns: keep moment cards from becoming towers */
  .moment-card {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 900px) {
  .dest-hero {
    height: 64vh;
    min-height: 420px;
  }
  .dest-hero-content {
    left: 24px;
    right: 24px;
    bottom: 44px;
  }
  .dest-subnav-inner {
    padding: 0 24px;
    justify-content: flex-start;
  }
  .dest-intro {
    padding: 56px 24px 12px;
  }
  .dest-intro-lead {
    padding-left: 18px;
  }
  .dest-section {
    padding: 60px 24px 68px;
    scroll-margin-top: calc(var(--nav-height, 96px) + 60px);
  }
  .dest-section-head {
    margin-bottom: 32px;
  }
  .glance-map-layout {
    grid-template-columns: 1fr;
    gap: 52px;
    margin-bottom: 64px;
  }
  .glance-map-figure img {
    width: min(100%, 340px);
  }
}

@media (max-width: 600px) {
  .moments-grid,
  .itinerary-grid,
  .how-grid,
  .how-grid--three,
  .glance-grid,
  .glance-destinations {
    grid-template-columns: 1fr;
  }
  .glance-destinations,
  .glance-destinations:has(.glance-destination:nth-child(10)) {
    grid-auto-flow: row;
    grid-template-rows: none;
    gap: 30px;
  }
  .moment-card {
    aspect-ratio: 4 / 3;
  }
  .itinerary-media {
    aspect-ratio: 4 / 4.6;
  }
}
