/* ------------------------------------------------------------------
   Lifetime Safaris – global styles (static HTML + CSS, no JavaScript)
   ------------------------------------------------------------------ */

:root {
  --color-primary: #c7792b; /* safari amber */
  --color-primary-dark: #a65f1b;
  --color-secondary: #2f4a3b; /* deep bush green */
  --color-secondary-dark: #223629;
  --color-earth: #8a5a2b;
  --color-ink: #1f2521;
  --color-text: #3d4540;
  --color-muted: #6c756f;
  --color-line: #e6e2da;
  --color-bg: #ffffff;
  --color-bg-muted: #f7f4ee;
  --color-bg-dark: #1c2620;
  --color-star: #f2b134;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(31, 37, 33, 0.08);
  --shadow-hover: 0 18px 40px rgba(31, 37, 33, 0.14);
  --container: 1200px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

/* Inline SVG icons (see the sprite at the top of index.html). */
.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--fill {
  fill: currentColor;
  stroke: none;
}

.icon--10 { width: 10px; height: 10px; }
.icon--12 { width: 12px; height: 12px; }
.icon--14 { width: 14px; height: 14px; }
.icon--16 { width: 16px; height: 16px; }
.icon--18 { width: 18px; height: 18px; }
.icon--28 { width: 28px; height: 28px; }

.icon-sprite {
  display: none;
}

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

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section--muted {
  background: var(--color-bg-muted);
}

.section__cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Eyebrow + headings ---------------------------------------------- */

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.9rem;
}

.eyebrow--light {
  color: #f6c98a;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-heading--center {
  text-align: center;
}

.section-heading--left {
  margin-left: 0;
}

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

.section-heading--light h2,
.section-heading--light p {
  color: #fff;
}

.section-heading--light p {
  opacity: 0.9;
}

/* Buttons ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  min-height: 44px;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  font-family: var(--font-body);
}

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

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
}

.btn--secondary {
  background: var(--color-secondary);
  color: #fff;
}

.btn--secondary:hover {
  background: var(--color-secondary-dark);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--small {
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  background: var(--color-bg-muted);
  color: var(--color-secondary);
}

.btn--small:hover {
  background: var(--color-secondary);
  color: #fff;
}

.btn--large {
  padding: 1.05rem 2.2rem;
  font-size: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

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

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-star);
}

.tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Header ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 var(--color-line);
  transition: box-shadow 0.2s;
}

/* Deepen the header shadow once the page scrolls (replaces the scroll
   listener). Browsers without scroll-driven animations keep the hairline. */
@keyframes header-shadow {
  to {
    box-shadow: 0 6px 24px rgba(31, 37, 33, 0.08);
  }
}

@supports (animation-timeline: scroll()) {
  .site-header {
    animation: header-shadow linear both;
    animation-timeline: scroll(root);
    animation-range: 0 20px;
  }
}

/* The mobile menu opens when the URL hash is #menu. This empty element is
   the :target; it's fixed so jumping to it never scrolls the page. Nav links
   change the hash, so the menu closes on its own after a tap. */
.menu-target {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}

.topbar {
  position: relative;
  z-index: 1;
  background: var(--color-bg-dark);
  color: #e9ece8;
  font-size: 0.8rem;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 1rem;
}

.topbar__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar__brand {
  font-weight: 700;
  color: #34e0a1;
}

.topbar__stars {
  display: inline-flex;
  gap: 1px;
  color: var(--color-star);
}

.topbar__actions {
  display: flex;
  gap: 1.25rem;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.topbar__link:hover {
  color: #f6c98a;
}

.navbar {
  position: relative;
  z-index: 1;
  background: #fff;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-ink);
}

.logo strong {
  color: var(--color-primary);
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}

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

.nav ul {
  display: flex;
  gap: 1.75rem;
}

.nav ul a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-ink);
  position: relative;
  padding: 0.25rem 0;
}

.nav ul a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.2s;
}

.nav ul a:hover::after {
  width: 100%;
}

.nav .nav__cta {
  padding: 0.7rem 1.5rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(199, 121, 43, 0.28);
}

.nav .nav__cta:hover {
  box-shadow: 0 10px 22px rgba(199, 121, 43, 0.36);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--color-ink);
  cursor: pointer;
  padding: 0.4rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.nav-toggle:hover {
  background: var(--color-bg-muted);
}

.nav-backdrop {
  display: none;
}

/* Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1516426122078-c23e76319801?auto=format&fit=crop&w=2000&q=80');
  min-height: clamp(560px, calc(100svh - var(--header-height) - 38px), 900px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: clamp(4rem, 8vw, 7rem) 0 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 26, 22, 0.55) 0%,
    rgba(20, 26, 22, 0.35) 50%,
    rgba(20, 26, 22, 0.75) 100%
  );
}

.hero__inner {
  position: relative;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 4rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: italic;
  color: #f6c98a;
}

.hero__lead {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 2rem;
  opacity: 0.92;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  transform: translateY(50%);
  margin-top: 0;
}

.hero-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--color-text);
}

.hero-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.hero-card p {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin: 0;
}

.hero-card__badge {
  flex: 0 0 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.2;
}

.hero-card__badge-year {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-card__badge--green {
  background: var(--color-secondary);
}

.hero-card__badge--earth {
  background: var(--color-earth);
}

.hero-card__stars {
  display: inline-flex;
  gap: 1px;
  color: var(--color-star);
  margin-bottom: 2px;
}

/* Story ------------------------------------------------------------- */

.story {
  padding-top: clamp(7rem, 12vw, 10rem);
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.story__media {
  position: relative;
}

.story__media img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.story__badge {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  padding: 1rem 1.4rem;
  background: var(--color-secondary);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.story__badge strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.story__badge span {
  font-size: 0.8rem;
  opacity: 0.85;
}

.story__content h3 {
  font-size: 1.45rem;
  margin-bottom: 1.2rem;
}

.story__content .btn {
  margin-top: 0.5rem;
}

/* Card grids -------------------------------------------------------- */

.card-grid {
  display: grid;
  gap: 1.75rem;
}

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

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Tour cards -------------------------------------------------------- */

.tour-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.tour-card__media {
  position: relative;
}

.tour-card__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.tour-card__days {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tour-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-card__body p {
  color: var(--color-muted);
  font-size: 0.93rem;
  flex: 1;
}

.tour-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-line);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.tour-card__price {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.tour-card__price span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.tour-card__price strong {
  color: var(--color-secondary);
  font-size: 1rem;
}

/* Banner sections --------------------------------------------------- */

.banner {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
}

.banner--tall {
  padding: clamp(5rem, 11vw, 9rem) 0;
}

.banner--culture {
  background-image: url('https://images.unsplash.com/photo-1489392191049-fc10c97e64b6?auto=format&fit=crop&w=2000&q=80');
}

.banner--plan {
  background-image: url('https://images.unsplash.com/photo-1535941339077-2dd1c7963098?auto=format&fit=crop&w=2000&q=80');
}

.banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 44, 36, 0.62);
}

.banner__overlay--dark {
  background: rgba(20, 26, 22, 0.72);
}

.banner__inner {
  position: relative;
}

.banner__inner .section-heading {
  margin-bottom: 2rem;
}

.banner h2 {
  color: #fff;
  max-width: 760px;
  margin-inline: auto;
}

.banner__lead {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.plan-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  margin-bottom: 2.5rem;
}

.plan-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.plan-points svg {
  color: #f6c98a;
}

/* Destination cards ------------------------------------------------- */

.dest-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.dest-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.dest-card:hover img {
  transform: scale(1.05);
}

.dest-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(20, 26, 22, 0.9) 100%);
}

.dest-card__body {
  position: relative;
  padding: 2rem;
}

.dest-card h3 {
  color: #fff;
  font-size: 1.5rem;
}

.dest-card p {
  font-size: 0.93rem;
  opacity: 0.9;
}

.dest-card__link {
  font-weight: 600;
  color: #f6c98a;
  font-size: 0.9rem;
}

/* Feature cards ----------------------------------------------------- */

.feature-card {
  background: #fff;
  padding: 2.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(199, 121, 43, 0.12);
  color: var(--color-primary);
}

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

/* Purpose / awards -------------------------------------------------- */

.awards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.award {
  width: 150px;
  padding: 1.25rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: #fff;
}

.award__stars {
  display: inline-flex;
  gap: 1px;
  color: var(--color-star);
}

.award strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-ink);
}

.award span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.award small {
  font-size: 0.7rem;
  color: #34a37d;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.purpose__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.purpose__content h3 {
  font-size: 1.9rem;
  margin-bottom: 1.25rem;
}

.purpose__media img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Guide cards ------------------------------------------------------- */

.guide-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.guide-card__media {
  position: relative;
}

.guide-card__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.guide-card__body {
  padding: 1.25rem;
}

.guide-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

/* Review cards ------------------------------------------------------ */

.review-card {
  margin: 0;
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.review-card h3 {
  font-size: 1.1rem;
  margin: 0.9rem 0 0.6rem;
}

.review-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  flex: 1;
}

.review-card footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 700;
}

.review-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-ink);
}

.review-card small {
  margin-left: auto;
  font-size: 0.75rem;
  color: #34a37d;
  font-weight: 600;
}

/* Ready CTA --------------------------------------------------------- */

.cta-card {
  padding: 2.5rem;
  border-radius: var(--radius);
  background: var(--color-bg-muted);
  border: 1px solid var(--color-line);
}

.cta-card h3 {
  font-size: 1.5rem;
}

.cta-card p {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.cta-card--accent {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}

.cta-card--accent h3,
.cta-card--accent p {
  color: #fff;
}

.cta-card--accent p {
  opacity: 0.85;
}

/* Partners ---------------------------------------------------------- */

.partners {
  padding-top: 0;
}

.partners__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 3rem;
}

.partners__list li {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}

.partners__list li:hover {
  opacity: 1;
  color: var(--color-secondary);
}

/* Footer ------------------------------------------------------------ */

.footer {
  background: var(--color-bg-dark);
  color: #cfd6d1;
  font-size: 0.92rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.4fr 1.6fr;
  gap: 3rem;
  padding: 4.5rem 0 3.5rem;
}

.footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.footer__col ul li + li {
  margin-top: 0.6rem;
}

.footer__col a:hover {
  color: #f6c98a;
}

.footer__contact li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer__contact svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__contact span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8f9a93;
}

.footer__contact p {
  margin: 0;
}

.footer__note {
  color: #a7b1aa;
}

.newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.newsletter label {
  display: block;
}

.newsletter input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
}

.newsletter input::placeholder {
  color: #8f9a93;
}

.newsletter input:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

.newsletter .btn {
  align-self: flex-start;
}

/* Hidden until the newsletter provider redirects back to #subscribed. */
.newsletter__success {
  display: none;
  color: #8fd9b4;
  margin: 0;
}

.newsletter__success:target {
  display: block;
}

.newsletter small {
  color: #8f9a93;
  font-size: 0.75rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  font-size: 0.82rem;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom ul {
  display: flex;
  gap: 1.5rem;
}

/* Responsive -------------------------------------------------------- */

/* Large desktops and TVs: widen the container and scale type slightly. */
@media (min-width: 1600px) {
  :root {
    --container: 1320px;
  }

  html {
    font-size: 17px;
  }
}

@media (min-width: 2200px) {
  :root {
    --container: 1480px;
  }

  html {
    font-size: 18px;
  }
}

/* Small laptops and large tablets in landscape. */
@media (max-width: 1180px) {
  .nav ul {
    gap: 1.25rem;
  }

  .nav ul a {
    font-size: 0.9rem;
  }

  .hero-card {
    padding: 1.25rem;
    gap: 0.85rem;
  }

  .hero-card__badge {
    flex-basis: 64px;
    height: 64px;
  }

  .story__grid,
  .purpose__grid {
    gap: 3rem;
  }
}

/* Tablets: collapse the menu, move grids to two columns, drop parallax. */
@media (max-width: 1024px) {
  .card-grid--4,
  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .banner {
    background-attachment: scroll;
  }

  .section-heading {
    margin-bottom: 2.5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle--close {
    display: none;
  }

  .menu-target:target + .site-header .nav-toggle--open {
    display: none;
  }

  .menu-target:target + .site-header .nav-toggle--close {
    display: inline-flex;
  }

  /* Lock page scroll while the menu is open. */
  html:has(.menu-target:target) body {
    overflow: hidden;
  }

  /* Dropdown panel anchored to the sticky header, so it follows the
     real header height even when the top bar wraps. */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem clamp(1.25rem, 5vw, 2.5rem) 2rem;
    gap: 1.25rem;
    border-top: 1px solid var(--color-line);
    box-shadow: 0 18px 32px rgba(31, 37, 33, 0.14);
    max-height: calc(100dvh - var(--header-height) - 38px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }

  .menu-target:target + .site-header .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav ul li + li {
    border-top: 1px solid var(--color-line);
  }

  .nav ul a {
    display: block;
    font-size: 1.05rem;
    padding: 0.9rem 0;
  }

  .nav ul a::after {
    display: none;
  }

  .nav .nav__cta {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(20, 26, 22, 0.45);
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }

  .menu-target:target + .site-header .nav-backdrop {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease, visibility 0s;
  }
}

/* Small tablets and large phones. */
@media (max-width: 900px) {
  .hero__cards {
    grid-template-columns: 1fr;
    gap: 1rem;
    transform: none;
    padding-bottom: 3rem;
  }

  .hero__inner {
    padding-bottom: 2.5rem;
  }

  .story {
    padding-top: clamp(3.5rem, 7vw, 6rem);
  }

  .story__grid,
  .purpose__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .story__media img {
    aspect-ratio: 4 / 3;
  }

  .story__badge {
    right: 1rem;
  }

  .purpose__media {
    order: -1;
  }

  .card-grid--2 {
    grid-template-columns: 1fr;
  }

  .dest-card {
    min-height: 320px;
  }

  .plan-points {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 480px;
    margin-inline: auto;
    text-align: left;
  }
}

/* Phones. */
@media (max-width: 640px) {
  .container {
    width: min(var(--container), 100% - 2rem);
  }

  .section {
    padding: 3rem 0;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .section-heading p {
    font-size: 1rem;
  }

  .topbar__inner {
    justify-content: center;
    min-height: 34px;
  }

  .topbar__actions .topbar__link:last-child,
  .topbar__rating span:last-child {
    display: none;
  }

  .navbar__inner {
    min-height: 64px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo__mark {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: clamp(520px, 80svh, 760px);
  }

  .hero__inner {
    text-align: left;
    padding-bottom: 2rem;
  }

  .hero__lead {
    margin-left: 0;
    font-size: 1.05rem;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .hero-card {
    padding: 1.1rem;
  }

  .card-grid {
    gap: 1.25rem;
  }

  .card-grid--4,
  .card-grid--3 {
    grid-template-columns: 1fr;
  }

  .story__badge {
    position: static;
    margin-top: 1rem;
    display: inline-flex;
  }

  .story__content h3 {
    font-size: 1.25rem;
  }

  .purpose__content h3 {
    font-size: 1.5rem;
  }

  .tour-card__body,
  .feature-card,
  .review-card,
  .cta-card {
    padding: 1.5rem;
  }

  .tour-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .dest-card {
    min-height: 280px;
  }

  .dest-card__body {
    padding: 1.5rem;
  }

  .award {
    width: calc(50% - 0.75rem);
  }

  .awards {
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .partners__list {
    gap: 0.75rem 1.75rem;
  }

  .partners__list li {
    font-size: 1.05rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding: 3.5rem 0 2.5rem;
  }

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

  .newsletter .btn {
    align-self: stretch;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Very small phones. */
@media (max-width: 380px) {
  .topbar__stars {
    display: none;
  }

  h1 {
    font-size: 2.1rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .award {
    width: 100%;
  }

  .review-card small {
    margin-left: 0;
    width: 100%;
  }
}

/* Short landscape phones: keep the hero compact so content is reachable. */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero__inner {
    padding-bottom: 2rem;
  }
}

/* Touch devices: no parallax, no hover lift. */
@media (hover: none) {
  .banner {
    background-attachment: scroll;
  }

  .btn:hover,
  .tour-card:hover,
  .guide-card:hover {
    transform: none;
  }
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
