:root {
  --surface: rgba(255, 249, 241, 0.74);
  --text: #1f1a17;
  --muted: #675a51;
  --line: rgba(62, 34, 21, 0.12);
  --terracotta: #b8572d;
  --shadow: 0 24px 70px rgba(84, 45, 21, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(239, 179, 75, 0.26), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(33, 90, 90, 0.17), transparent 22%),
    linear-gradient(180deg, #f3e8da 0%, #f8f2eb 40%, #f2e5d7 100%);
}

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

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

.page-shell {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.page-shell:not(.home-shell) main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

/* Header and navigation */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px 28px;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--terracotta), #d98b47);
  color: #fff8ef;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #243042;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.58);
  backdrop-filter: blur(14px);
}

.site-nav a {
  font-size: 0.92rem;
  color: var(--muted);
}

.site-nav a.active {
  color: var(--text);
  font-weight: 800;
}

/* Hero sections */

.hero-reference {
  min-height: 690px;
  display: grid;
  place-items: center;
  padding: 64px 24px 88px;
  background:
    linear-gradient(rgba(248, 243, 237, 0.56), rgba(248, 243, 237, 0.56)),
    url("https://images.unsplash.com/photo-1548013146-72479768bada?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  box-shadow: none;
}

.hero-reference-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-reference-content h1 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.96;
  font-size: clamp(3.8rem, 7vw, 6.8rem);
  font-weight: 800;
  color: var(--terracotta);
}

.hero-reference-subtitle {
  margin: 26px auto 0;
  max-width: 760px;
  font-size: clamp(1.25rem, 2.6vw, 1.72rem);
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section h2 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.96;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}


.hero-text,
.route-summary-text,
.timeline-stop p,
.story-card p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1rem;
}

.route-copy .eyebrow,
.route-summary-text {
  display: block;
}

.hero-text {
  max-width: 36rem;
  margin: 22px 0 0;
  color: rgba(31, 26, 23, 0.86);
}

.page-intro-text {
  max-width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-actions-centered {
  justify-content: center;
  margin-top: 34px;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--terracotta), #d87943);
  color: #fff6ef;
}

.button-secondary {
  border-color: rgba(31, 26, 23, 0.14);
  background: rgba(255, 250, 245, 0.66);
}

.home-button-primary,
.home-button-secondary {
  min-width: 256px;
  min-height: 62px;
  font-size: 1rem;
}

.home-button-primary {
  background: linear-gradient(135deg, var(--terracotta), #d87943);
  color: #fff6ef;
}

.home-button-secondary {
  border: 2px solid rgba(31, 26, 23, 0.14);
  background: rgba(255, 250, 245, 0.66);
  color: var(--text);
}

.home-featured {
  padding: 78px 24px 92px;
  background: transparent;
}

.home-experiences {
  padding: 0 24px 92px;
  background: transparent;
}

.home-featured-inner {
  width: min(100%, 1540px);
  margin: 0 auto;
}

.home-featured h2 {
  margin: 0 0 38px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--text);
}

.home-experiences h2 {
  margin: 0;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--text);
}

.home-section-subtitle {
  margin: 18px 0 34px;
  text-align: center;
  font-size: 1.2rem;
  color: var(--muted);
}

.home-destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.home-destination-card {
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-destination-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(84, 45, 21, 0.18);
}

.home-destination-card img {
  height: 325px;
  object-fit: cover;
}

.home-destination-copy {
  padding: 22px 20px 28px;
  text-align: center;
}

.home-destination-copy h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  color: var(--text);
}

.home-destination-copy p {
  margin: 16px auto 0;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--muted);
}

.home-featured-action {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.home-view-all {
  min-width: 240px;
  min-height: 58px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--terracotta), #d87943);
  color: #fff6ef;
  font-weight: 800;
}

.home-experience-grid {
  margin-top: 0;
}

.home-experience-grid .experience-category-card {
  text-decoration: none;
  padding: 42px 24px 34px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-experience-grid .experience-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(84, 45, 21, 0.18);
}

.home-experience-grid .experience-icon {
  margin-bottom: 26px;
}

.home-experience-grid .experience-category-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 2.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.02;
}

.home-experience-grid .experience-category-card p {
  margin-top: 16px;
  max-width: 14ch;
  font-size: 0.98rem;
}

.section {
  margin-top: 32px;
}

/* Page headers */
.page-hero {
  padding: 18px 0 10px;
}

.experience-page-hero {
  display: grid;
  color: var(--terracotta);
  place-items: center;
  min-height: 280px;
  padding: 64px 24px;
  text-align: center;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(rgba(246, 239, 229, 0.68), rgba(246, 239, 229, 0.68)),
    url("https://images.unsplash.com/photo-1709658079753-990ee79e300e?q=80&w=2076&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.experience-page-hero h1 {
  margin: 0;
  max-width: none;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.04;
}

.route-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 3fr);
  gap: 18px;
}

.experience-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Shared cards */
.route-copy,
.route-timeline,
.story-card,
.detail-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.route-copy,
.route-timeline,
.detail-card {
  padding: 30px;
}

/* Experience cards */
.experience-category-card {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 34px 28px;
  border: 1px solid #d4dbe2;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.experience-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.58);
}

.experience-category-card > * {
  position: relative;
  z-index: 1;
}

.desert-card {
  background-image: url("https://images.unsplash.com/photo-1509316785289-025f5b846b35?auto=format&fit=crop&w=900&q=80");
}

.mountain-card {
  background-image: url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=900&q=80");
}

.culture-card {
  background-image: url("https://images.unsplash.com/photo-1516483638261-f4dbaf036963?auto=format&fit=crop&w=900&q=80");
}

.beach-card {
  background-image: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=900&q=80");
}

.experience-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin-bottom: 22px;
  background: #243042;
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 800;
}

.experience-category-card h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
}

.experience-category-card p {
  margin: 18px 0 0;
  max-width: 16ch;
  font-size: 1.08rem;
  line-height: 1.45;
  color: #425062;
}

.experience-detail-section {
  display: grid;
  gap: 36px;
}

.experience-block {
  display: grid;
  gap: 22px;
}

.experience-block-copy h2 {
  margin-top: 0;
  max-width: 15ch;
}

.experience-block-copy p:last-child {
  color: var(--muted);
  line-height: 1.72;
}

.experience-place-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.experience-place-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.experience-place-card img {
  height: 220px;
  object-fit: cover;
}

.experience-place-copy {
  padding: 20px;
}

.experience-place-copy h3 {
  margin: 0;
  font-size: 1.55rem;
  font-family: "Cormorant Garamond", serif;
}

.experience-place-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.detail-card h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

/* Destinations */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.destination-card {
  position: relative;
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(18, 15, 13, 0.8) 100%);
}

.destination-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.destination-card:hover img {
  transform: scale(1.04);
}

.destination-copy {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1;
  color: #fffaf4;
}

.destination-copy p,
.destination-copy span {
  margin: 0;
  color: rgba(255, 248, 241, 0.84);
}

.destination-copy h3 {
  margin: 6px 0;
  font-size: 2rem;
  font-family: "Cormorant Garamond", serif;
}

.destination-card.tall {
  grid-row: span 2;
  min-height: 660px;
}

.destination-card.wide {
  grid-column: span 2;
}

/* Routes */
.route-section {
  align-items: start;
}

.route-accordion:not([open]) {
  grid-template-columns: 1fr;
}

.route-copy {
  background:
    linear-gradient(180deg, rgba(255, 247, 238, 0.9), rgba(255, 247, 238, 0.72)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.route-copy h2 {
  max-width: none;
}

summary.route-copy {
  display: block;
  cursor: pointer;
  list-style: none;
}

summary.route-copy::-webkit-details-marker {
  display: none;
}

summary.route-copy::marker {
  content: "";
}

.route-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--terracotta);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.route-cue::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(184, 87, 45, 0.34);
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1;
}

.route-accordion[open] .route-cue::after {
  content: "-";
}

.route-timeline {
  display: grid;
  gap: 16px;
}

.timeline-stop {
  position: relative;
  padding: 18px 18px 18px 24px;
  border-left: 3px solid rgba(184, 87, 45, 0.34);
  background: rgba(255, 250, 245, 0.64);
  border-radius: 18px;
}

.timeline-stop strong,
.timeline-stop span {
  display: block;
}

.timeline-stop span {
  margin-top: 4px;
  font-size: 1.2rem;
  font-weight: 800;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.story-card {
  min-height: 220px;
  padding: 26px;
}

.story-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--terracotta);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-card.accent {
  background: linear-gradient(180deg, rgba(33, 90, 90, 0.94), rgba(18, 56, 56, 0.96));
}

.story-card.accent span,
.story-card.accent p {
  color: #f7eee2;
}

/* Reviews */
.review-form-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.review-form-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.96;
}

.review-form-copy p:last-child {
  color: var(--muted);
  line-height: 1.72;
}

.review-form {
  display: grid;
  gap: 12px;
}

.review-form label {
  font-weight: 800;
  color: var(--text);
}

.review-form input,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 250, 245, 0.76);
  color: var(--text);
  font: inherit;
}

.review-form textarea {
  resize: vertical;
}

.review-form input:focus,
.review-form textarea:focus {
  outline: 2px solid rgba(184, 87, 45, 0.28);
  border-color: rgba(184, 87, 45, 0.48);
}

.review-form button {
  justify-self: start;
  margin-top: 8px;
}

/* Footer */
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 56px auto 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 248, 240, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 22px;
  align-items: start;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  justify-content: flex-end;
}

.footer-nav a {
  color: var(--muted);
  font-weight: 700;
}

.footer-nav a:hover,
.footer-brand:hover {
  color: var(--terracotta);
}

.footer-credit {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.footer-credit a {
  color: var(--terracotta);
  font-weight: 800;
}

@media (max-width: 1024px) {
  .route-section,
  .detail-grid,
  .review-form-section,
  .experience-category-grid,
  .stories-grid {
    grid-template-columns: 1fr;
  }

  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .destination-card.tall,
  .destination-card.wide {
    grid-row: auto;
    grid-column: auto;
    min-height: 360px;
  }

  .site-header {
    padding-inline: 20px;
  }

  .home-destination-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
  }

  .experience-place-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 18px 20px;
  }

  .header-bar {
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    margin-top: 14px;
    padding: 16px 18px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .nav-toggle:checked + .site-nav {
    display: flex;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .hero-reference {
    min-height: 620px;
    padding: 54px 18px 64px;
  }

  .hero-reference-content h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
    margin-inline: auto;
    text-align: center;
  }

  .hero-reference-subtitle {
    font-size: 1.14rem;
  }

  .home-button-primary,
  .home-button-secondary {
    width: 100%;
    min-width: 0;
  }

  .home-featured {
    padding: 56px 18px 64px;
  }

  .home-experiences {
    padding: 0 18px 64px;
  }

  .home-featured h2 {
    margin-bottom: 28px;
  }

  .home-destination-card img {
    height: 250px;
  }

  .section h2 {
    font-size: clamp(2.4rem, 13vw, 3.5rem);
  }

  .detail-card h2 {
    font-size: clamp(2rem, 3vw, 3rem);
  }

  .experience-page-hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.5rem);
  }

  .destinations-grid,
  .detail-grid,
  .experience-category-grid,
  .stories-grid {
    grid-template-columns: 1fr;
  }

  .experience-category-card {
    min-height: 320px;
  }

  .experience-place-card img {
    height: 200px;
  }

  .home-experience-grid .experience-category-card {
    padding: 34px 20px 28px;
  }

  .home-experience-grid .experience-category-card h2 {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 22px;
    border-radius: 24px;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .route-copy,
  .route-timeline,
  .story-card,
  .review-form-section,
  .detail-card {
    padding: 22px;
    border-radius: 24px;
  }
}
