/* Starlight Escapes — preview site
   Warm travel identity in plum, coral, gold and teal,
   with a star-touched wordmark and the African-pattern stripe. */

:root {
  --plum: #2c1454;
  --plum-deep: #1a0c33;
  --ink: #2a1840;
  --coral: #e16b3a;
  --coral-dark: #c54e2c;
  --gold: #e8b84a;
  --gold-rich: #f3c232;
  --gold-soft: #c9a063;
  --teal: #0f7a72;
  --teal-deep: #0a4f4a;
  --sand: #fbf4ea;
  --blush: #f8e4d2;
  --cream: #fff8f0;
  --card: #ffffff;
  --muted: #5e4d62;
  --line: rgba(44, 20, 84, 0.12);
  --shadow: 0 10px 30px rgba(44, 20, 84, 0.10);
  --radius: 18px;
  --nav-h: 78px;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--plum);
}

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--plum);
  padding: 8px 16px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* —— Heritage stripe —— */
.heritage-bar {
  height: 10px;
  background: url("../images/heritage-bar.svg") repeat-x;
  background-size: 160px 10px;
  position: relative;
  z-index: 30;
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(26, 12, 51, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 184, 74, 0.28);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
}

.logo .mark { width: 52px; height: 52px; flex-shrink: 0; }

.logo-text { display: flex; flex-direction: column; line-height: 1; justify-content: center; }

.brand-name {
  font-family: "Great Vibes", "Palatino Linotype", cursive;
  font-weight: 400;
  font-size: 2.05rem;
  color: #f6ead6;
  letter-spacing: 0.01em;
  line-height: 0.92;
  padding: 0.06em 0 0.16em;
  text-shadow: 0 1px 10px rgba(26, 12, 51, 0.35);
}

.brand-sub {
  font-family: "Cinzel", "DM Sans", serif;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: #e8c056;
  margin-top: 0;
  font-weight: 600;
  padding-left: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--gold); outline: none; }

.nav-links a.nav-cta {
  background: var(--gold);
  color: var(--plum);
  font-weight: 700;
  margin-left: 8px;
  padding: 8px 16px;
}
.nav-links a.nav-cta:hover { background: var(--cream); color: var(--plum); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

@media (max-width: 800px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(10px + var(--nav-h));
    background: var(--plum-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 4px;
    border-bottom: 3px solid var(--gold);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links a.nav-cta { margin-left: 0; text-align: center; }
}

/* —— Buttons —— */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--plum);
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--gold);
  cursor: pointer;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  text-align: center;
  line-height: 1.2;
}

.btn:hover,
.btn:focus-visible {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--plum);
  outline: none;
}

.btn.coral {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}
.btn.coral:hover { background: var(--cream); border-color: var(--cream); color: var(--plum); }

.btn.ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--gold);
}
.btn.ghost:hover { background: var(--gold); color: var(--plum); }

.btn.ghost-dark {
  background: transparent;
  color: var(--plum);
  border-color: var(--plum);
}
.btn.ghost-dark:hover { background: var(--plum); color: var(--cream); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h) - 10px);
  min-height: calc(100dvh - var(--nav-h) - 10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--cream);
  text-align: center;
  background: #1a0c33 center / cover no-repeat;
  isolation: isolate;
  padding: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 72% at 50% 38%, rgba(26, 12, 51, 0.62) 0%, rgba(26, 12, 51, 0.36) 52%, rgba(26, 12, 51, 0.08) 100%),
    linear-gradient(180deg,
      rgba(26, 12, 51, 0.70) 0%,
      rgba(26, 12, 51, 0.50) 26%,
      rgba(26, 12, 51, 0.42) 50%,
      rgba(26, 12, 51, 0.16) 76%,
      rgba(26, 12, 51, 0.52) 100%);
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding: 72px 24px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}

.hero .eyebrow {
  color: var(--gold-rich);
  text-shadow:
    0 0 18px rgba(243, 194, 50, 0.7),
    0 0 6px rgba(243, 194, 50, 0.45),
    0 2px 10px rgba(26, 12, 51, 0.9);
}

.hero h1 {
  color: #fff8f0;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  margin: 0 auto 14px;
  max-width: 16ch;
  text-shadow: 0 2px 22px rgba(26, 12, 51, 0.9), 0 1px 3px rgba(26, 12, 51, 0.75);
}

.hero .tagline {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: #fff4e4;
  margin: 0 auto 12px;
  max-width: 28ch;
  text-shadow: 0 2px 16px rgba(26, 12, 51, 0.85), 0 1px 2px rgba(26, 12, 51, 0.6);
}

.hero .lead {
  max-width: 36em;
  margin: 0 auto 28px;
  color: #fff1df;
  font-size: 1.08rem;
  font-weight: 500;
  text-shadow: 0 2px 14px rgba(26, 12, 51, 0.85), 0 1px 2px rgba(26, 12, 51, 0.55);
}

.hero .credit {
  margin-top: 28px;
  font-size: 0.75rem;
  color: rgba(255, 244, 228, 0.88);
  text-shadow: 0 1px 10px rgba(26, 12, 51, 0.8);
}

.hero .btn {
  box-shadow: 0 4px 18px rgba(26, 12, 51, 0.3), 0 0 14px rgba(243, 194, 50, 0.28);
}

.hero .btn.ghost {
  border-color: var(--gold-rich);
  color: #fff8f0;
  box-shadow: 0 2px 14px rgba(26, 12, 51, 0.28), 0 0 12px rgba(243, 194, 50, 0.22);
}

/* —— Sections —— */
section { padding: 80px 0; }

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0 0 8px;
}

h2 .rule,
.section-head .rule {
  display: block;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  border-radius: 4px;
  margin: 12px 0 0;
}

.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }
.section-head.center .rule { margin-left: auto; margin-right: auto; }

.sub {
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 1.05rem;
  max-width: 40em;
}

.section-head.center .sub { margin-left: auto; margin-right: auto; }

.band-blush { background: linear-gradient(180deg, var(--blush), var(--sand)); }
.band-teal {
  background: linear-gradient(160deg, #0a4f4a 0%, #0f7a72 55%, #1a6b5c 100%);
  color: var(--cream);
}
.band-teal h2 { color: var(--cream); }
.dest-card h3 { color: var(--plum); }
.band-teal .sub { color: #d7efe9; }
.band-teal .rule { background: linear-gradient(90deg, var(--gold), var(--cream)); }

.band-plum {
  background:
    radial-gradient(circle at 15% 20%, rgba(225, 107, 58, 0.18), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(232, 184, 74, 0.14), transparent 40%),
    var(--plum);
  color: var(--cream);
}
.band-plum h2 { color: var(--cream); }
.band-plum .sub { color: #e4dccb; }
.band-plum .rule { background: linear-gradient(90deg, var(--gold), var(--coral)); }

/* —— Book cards —— */
.book-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.book-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 26px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.book-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.book-card .icon svg { width: 28px; height: 28px; }

.icon-flights { background: #fde4d4; color: var(--coral-dark); }
.icon-stays { background: #f8e7c4; color: #8a5a12; }
.icon-tours { background: #d5efe9; color: var(--teal-deep); }

.book-card h3 { margin: 0 0 8px; font-size: 1.45rem; }

.book-card p { margin: 0 0 20px; color: var(--muted); flex: 1; }

.aff-note {
  display: block;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* —— Destination cards —— */
.dest-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, 1fr);
}

.dest-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.dest-card:hover,
a.dest-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(44, 20, 84, 0.16);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.dest-card .photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #d9c8b0;
}

.dest-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dest-card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }

.dest-card h3 { margin: 0 0 2px; font-size: 1.25rem; }

.place { margin: 0 0 8px; color: var(--muted); font-size: 0.88rem; font-weight: 600; }

.experience { margin: 0 0 12px; font-size: 0.95rem; color: var(--ink); flex: 1; }

.pills { display: flex; flex-wrap: wrap; gap: 6px; }

.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3ead8;
  color: var(--plum);
}

.pill.visa { background: #d5efe9; color: var(--teal-deep); }
.pill.guided { background: #fde4d4; color: var(--coral-dark); }
.pill.stay { background: #eee4f8; color: var(--plum); }

.card-link {
  margin-top: 12px;
  font-weight: 700;
  color: var(--coral-dark);
  font-size: 0.92rem;
}

/* SA cards sit on teal — white cards already contrast */
.sa-grid { grid-template-columns: repeat(3, 1fr); }

/* —— About —— */
.about-panel {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.about-mark {
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 40%, rgba(232, 184, 74, 0.35), transparent 55%),
    linear-gradient(160deg, #3a1a6e, #2c1454 60%, #0f7a72);
}

.about-mark .mark { width: 160px; height: 160px; }

.about-copy p { font-size: 1.08rem; color: #efe6d6; margin: 0 0 14px; }
.about-copy p:last-child { margin-bottom: 0; }

/* —— Footer —— */
footer {
  background: var(--plum-deep);
  color: #e4dccb;
  padding: 56px 0 28px;
  border-top: 4px solid var(--gold);
}

.footer-brand { margin: 0 0 16px; }
.footer-brand .mark { width: 56px; height: 56px; }
footer .footer-brand + h3 { margin-top: 0; }

footer h3 { color: var(--gold); margin: 0 0 10px; font-size: 1.15rem; }

footer a { color: var(--cream); }
footer a:hover { color: var(--gold); }

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.disclosure {
  background: rgba(255, 248, 240, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 28px;
  font-size: 0.92rem;
}

.disclosure strong { color: var(--gold); }

.legal {
  opacity: 0.75;
  font-size: 0.85rem;
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

/* —— Affiliate placeholder target —— */
.affiliate-box {
  margin-top: 40px;
  background: var(--card);
  border: 2px dashed var(--gold-soft);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.affiliate-box h3 { margin-top: 0; }
.affiliate-box p { color: var(--muted); margin-bottom: 0; }

/* —— Destination page —— */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: grid;
  align-items: end;
  color: var(--cream);
  background: #1a0c33 center / cover no-repeat;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 12, 51, 0.25) 0%, rgba(26, 12, 51, 0.78) 100%);
  z-index: 0;
}
.page-hero .wrap { position: relative; z-index: 1; padding: 80px 24px 40px; }
.page-hero h1 { color: var(--cream); font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0 0 8px; }
.crumb { font-size: 0.9rem; color: #e8dcc8; margin-bottom: 12px; }
.crumb a { color: var(--gold); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 8px;
}

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

.detail-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.detail-card h2 { font-size: 1.35rem; margin-bottom: 10px; }
.detail-card p, .detail-card li { color: var(--muted); }
.detail-card ul { margin: 0; padding-left: 18px; }
.detail-card li { margin-bottom: 6px; }
.fineprint { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

.book-dest {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}

/* —— Credits page —— */
.credits-list { max-width: 760px; }
.credits-list li { margin-bottom: 10px; }

/* —— Responsive —— */
@media (max-width: 1080px) {
  .dest-grid { grid-template-columns: repeat(3, 1fr); }
  .sa-grid { grid-template-columns: repeat(2, 1fr); }
  .ways-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
  .book-grid,
  .detail-grid,
  .book-dest,
  .about-panel,
  .footer-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .ways-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 60px 0; }
  .hero {
    min-height: calc(100vh - var(--nav-h) - 10px);
    min-height: calc(100dvh - var(--nav-h) - 10px);
  }
  .about-mark { min-height: 180px; }
  .ways-emblem .compass { width: 112px; height: 112px; }
}

@media (max-width: 560px) {
  .dest-grid,
  .sa-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 18px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hero .wrap { padding: 40px 18px 20px; }
  .logo .mark { width: 46px; height: 46px; }
  .brand-name { font-size: 1.78rem; }
  .brand-sub { font-size: 0.5rem; letter-spacing: 0.28em; }
}



/* —— Ways to travel —— */
.ways {
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 184, 74, 0.22), transparent 46%),
    linear-gradient(180deg, #fbf4ea 0%, #f8e4d2 100%);
  padding-top: 56px;
}

.ways-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--plum);
  width: fit-content;
  margin: 0 auto 22px;
  gap: 8px;
  text-align: center;
}

.ways-emblem .compass {
  width: 136px;
  height: 136px;
  filter: drop-shadow(0 10px 22px rgba(44, 20, 84, 0.2));
  transition: transform 0.5s ease, filter 0.5s ease;
}

.ways-emblem:hover .compass,
.ways-emblem:focus-visible .compass {
  transform: rotate(-14deg);
  filter: drop-shadow(0 12px 26px rgba(232, 184, 74, 0.5));
}

.ways-emblem:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 8px;
  border-radius: 24px;
}

.ways-emblem-label {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--plum);
}

.ways-emblem-sub {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--coral-dark);
}

.ways-starline {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--plum);
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  max-width: 28em;
}

.ways-starline span {
  color: var(--gold-rich, var(--gold));
  font-style: normal;
  margin-right: 6px;
}

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

.way-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 26px 16px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

a.way-card:hover,
a.way-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(44, 20, 84, 0.15);
  border-color: var(--gold);
  outline: none;
}

.way-card-soon {
  cursor: default;
}

.way-card-soon:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(44, 20, 84, 0.12);
}

.way-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  transition: transform 0.22s ease;
}

.way-icon svg { width: 40px; height: 40px; }

a.way-card:hover .way-icon,
a.way-card:focus-visible .way-icon {
  transform: scale(1.08);
}

.way-icon-flights { background: #fde4d4; color: var(--coral-dark); }
.way-icon-ship { background: #d5efe9; color: var(--teal-deep); }
.way-icon-train { background: #eee4f8; color: var(--plum); }
.way-icon-car { background: #f8e7c4; color: #8a5a12; }
.way-icon-horse { background: #f3e0cd; color: #8a3f24; }
.way-icon-space { background: var(--plum); color: var(--gold-rich, var(--gold)); }

.way-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.way-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.way-link {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--coral-dark);
}

.way-link.soon {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.way-one-day {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .ways-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .ways-grid { grid-template-columns: repeat(2, 1fr); }
  .ways-emblem .compass { width: 112px; height: 112px; }
}

/* —— Destination story photos —— */
.story-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 8px;
}
.story-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.story-card .photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #d9c8b0;
}
.story-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-card .body { padding: 18px 18px 20px; }
.story-card h3 { margin: 0 0 8px; font-size: 1.3rem; }
.story-card p { margin: 0; color: var(--muted); }
.story-card .pic-credit {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--muted);
}
@media (max-width: 800px) {
  .story-grid { grid-template-columns: 1fr; }
}


/* —— Plan my trip form —— */
#plan {
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 184, 74, 0.18), transparent 48%),
    linear-gradient(180deg, #fff8f0 0%, #fbf4ea 100%);
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

.plan-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 32px 32px 28px;
}

.plan-form {
  display: grid;
  gap: 16px 20px;
  grid-template-columns: 1fr 1fr;
}

.plan-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-field-full { grid-column: 1 / -1; }

.plan-field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--plum);
}

.plan-field .optional {
  font-weight: 500;
  color: var(--muted);
}

.plan-field input,
.plan-field select,
.plan-field textarea {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  scroll-margin-bottom: 96px;
}

.plan-field input[type="number"] {
  -moz-appearance: textfield;
}

.plan-field input[type="number"]::-webkit-outer-spin-button,
.plan-field input[type="number"]::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.plan-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232c1454' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.plan-field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.45;
}

.plan-field input:focus,
.plan-field select:focus,
.plan-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 184, 74, 0.28);
}

.plan-field input::placeholder,
.plan-field textarea::placeholder {
  color: #8a7a8e;
}

.plan-actions { margin-top: 4px; }

.plan-email {
  margin: 18px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-email a {
  color: var(--plum);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.plan-email a:hover,
.plan-email a:focus-visible {
  color: var(--coral-dark);
}

/* —— Floating WhatsApp button —— */
.wa-float {
  position: fixed;
  z-index: 40;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(18, 140, 60, 0.38);
  text-decoration: none;
}

.wa-float svg {
  width: 30px;
  height: 30px;
  display: block;
}

.wa-float:hover,
.wa-float:focus-visible {
  background: #1ebe5d;
  outline: 2px solid #fff;
  outline-offset: 3px;
}

footer {
  padding-bottom: 104px;
}

@media (max-width: 800px) {
  #plan { padding-bottom: 128px; }
}

@media (max-width: 560px) {
  .plan-form { grid-template-columns: 1fr; }
  .plan-card { padding: 22px 18px 20px; }
  .wa-float {
    width: 54px;
    height: 54px;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
  .wa-float svg { width: 28px; height: 28px; }
}

/* Malaria pills + safety note */
.pill.malaria{background:#fde8e4;color:#9b2c1f;}
.pill.safe{background:#e3f4ea;color:#1f6b3e;}
.safety-note{max-width:820px;margin:2.5rem auto 0;background:#fffaf2;border-left:5px solid #d4a94a;border-radius:14px;padding:1.4rem 1.6rem;color:#2a1a3d;box-shadow:0 8px 24px rgba(0,0,0,.08);}
.safety-note h3{margin:0 0 .5rem;font-size:1.25rem;}
.safety-note p{margin:.4rem 0;line-height:1.6;}
.safety-note .tip{font-weight:600;color:#1f6b3e;}


/* —— Welcome flags under the hero —— */
.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;
}

.welcome-sa {
  position: relative;
  z-index: 1;
  width: 100%;
  background: rgba(26, 12, 51, 0.72);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(232, 184, 74, 0.28);
  padding: 14px 0 16px;
  text-align: center;
  flex-shrink: 0;
}

.welcome-sa .wrap {
  padding-top: 0;
  padding-bottom: 0;
  flex: none;
  display: block;
}

.welcome-sa-kicker {
  font-family: "Cinzel", "DM Sans", serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

.flag-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
}

.flag {
  position: relative;
  display: block;
  width: 32px;
  height: 21px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(246, 234, 214, 0.28), 0 2px 6px rgba(0, 0, 0, 0.28);
}

.flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* —— Visit South Africa —— */
#visit-sa,
#malaria {
  scroll-margin-top: calc(var(--nav-h) + 18px);
}

.visit-sa {
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 184, 74, 0.16), transparent 48%),
    linear-gradient(180deg, #fff8f0 0%, #fbf4ea 55%, #f8e4d2 100%);
}

.visit-sa .sub { max-width: 46em; }

a.pill {
  text-decoration: none;
}

a.pill:hover,
a.pill:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.visit-tips {
  margin-top: 48px;
}

.visit-tips h3 {
  text-align: center;
  font-size: 1.45rem;
  margin: 0 0 22px;
}

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

.tip-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
}

.tip-card h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  color: var(--plum);
  margin: 0 0 8px;
}

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

.tip-card a {
  color: var(--coral-dark);
  font-weight: 600;
}

.tip-card a:hover,
.tip-card a:focus-visible {
  color: var(--plum);
}

.visit-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

@media (max-width: 1080px) {
  .nav-links a { padding: 8px 10px; }
}

@media (max-width: 800px) {
  .tips-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .welcome-sa { padding: 12px 16px 14px; }
  .welcome-sa-kicker { margin-bottom: 10px; letter-spacing: 0.12em; }
  .flag { width: 28px; height: 18px; }
  .flag-row {
    display: grid;
    grid-template-columns: repeat(5, auto);
    justify-content: center;
    gap: 8px 10px;
    padding-right: 52px;
  }
  .visit-tips { margin-top: 36px; }
  .visit-cta .btn { width: auto; min-width: min(100%, 280px); }
}
