/* ============================================================
   TANZANIA PULSE — travel-editorial design system
   Photo-led layout · warm cream neutrals · tight headlines
   Brand: yellow → orange (#fde047 · #fbbf24 · #f97316)
   ============================================================ */

:root {
  /* Brand */
  --brand-yellow: #fbbf24;
  --brand-orange: #f97316;   /* decorative only (gradients, borders, icons): 2.8:1 on white, never for text */
  --brand: #c2410c;          /* accent text + links on light backgrounds (5.2:1 on white) */
  --brand-2: #b45309;        /* eyebrows (5.0:1 on white) */
  --on-brand: #1c1408;       /* text on the yellow/orange gradient */
  --grad: linear-gradient(120deg, #fde047 0%, #fbbf24 40%, #f97316 100%);
  --grad-text-light: linear-gradient(100deg, #fde047, #fbbf24 45%, #fb923c);

  /* Neutrals (warm) */
  --white: #ffffff;
  --cream: #faf8f4;
  --sand: #ebe6dc;
  --line: #e6e1d6;
  --ink: #0a0a0a;
  --text: #404040;
  --muted: #6d6a5e;
  --dark: #12100c;

  /* States */
  --green: #087a6a;          /* success messages only */
  --red: #e11d48;
  --star: #b45309;

  /* Shape + depth */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 50px;

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
::selection { background: rgba(251, 191, 36, 0.45); }

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- Category gradients (fallback art when a listing has no photo) ---------- */
.cover--hotel { --g1: #123c36; --g2: #2c6a5f; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8M2 16h20M6 10V7a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v3'/%3E%3C/svg%3E"); }
.cover--apartment { --g1: #1d2a47; --g2: #3d5482; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 9V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v3M2 11a2 2 0 0 1 4 0v3h12v-3a2 2 0 0 1 4 0v5a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2zM4 18v2M20 18v2'/%3E%3C/svg%3E"); }
.cover--transport { --g1: #5a3410; --g2: #9a6324; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v11M4 11h16M7 21v-2M17 21v-2M3 17h18v2H3zM8 14h.01M16 14h.01'/%3E%3C/svg%3E"); }
.cover--restaurant { --g1: #4c1724; --g2: #86344a; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 2v7a3 3 0 0 0 6 0V2M6 2v20M21 15V2a5 5 0 0 0-5 5v6a2 2 0 0 0 2 2h3zm0 0v7'/%3E%3C/svg%3E"); }
.cover--experience { --g1: #2f2347; --g2: #5c4682; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3l4 8 5-5 5 15H2L8 3z'/%3E%3C/svg%3E"); }

.cover-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--g1, var(--brand-yellow)), var(--g2, var(--brand-orange)));
}

.cover-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 12%, rgba(253, 224, 71, 0.18), transparent 45%),
    radial-gradient(circle at 15% 90%, rgba(255, 255, 255, 0.08), transparent 50%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 9px);
}

/* Fine line icon per category (masked, so it takes any color) */
.cover-art::after {
  content: "";
  position: relative;
  width: clamp(44px, 6vw, 60px);
  aspect-ratio: 1;
  background: rgba(255, 245, 225, 0.72);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--on-brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo-mark svg { width: 20px; height: 20px; }
.logo .accent { color: var(--brand); }

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

.main-nav a {
  position: relative;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.5rem 0.8rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.main-nav a:hover { color: var(--ink); background: var(--cream); }
.main-nav a.active { color: var(--ink); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-orange);
}

.main-nav a.nav-cta {
  margin-left: 0.4rem;
  background: var(--grad);
  color: var(--on-brand);
  padding: 0.6rem 1.25rem;
  font-weight: 700;
}

.main-nav a.nav-cta::after { display: none; }
.main-nav a.nav-cta:hover { filter: brightness(1.05); background: var(--grad); }

.lang-toggle {
  margin-left: 0.3rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--ink);
  border-radius: var(--r-pill);
  padding: 0.45rem 0.95rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.15s;
}

.lang-toggle:hover { border-color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--r-pill);
  padding: 0.85rem 1.7rem;
  transition: filter 0.18s, transform 0.18s, background 0.18s, border-color 0.18s, color 0.18s;
  text-align: center;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }
.btn-primary, .btn-gold { background: var(--grad); color: var(--on-brand); }
.btn-primary:hover, .btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2620; transform: translateY(-1px); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 0.5rem 1.05rem; font-size: 0.84rem; }

/* ---------- Home hero (full-bleed photo + planner) ---------- */
.hero {
  padding: 0;
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.45) 55%, rgba(10, 10, 10, 0.15) 100%),
    var(--hero-photo, url("../img/hero-kilimanjaro-zebras.jpg")) center 40% / cover no-repeat,
    var(--dark);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 3rem;
  align-items: center;
  min-height: min(calc(100vh - var(--header-h)), 760px);
  padding: 4.5rem 0;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.pop {
  background: var(--grad-text-light);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__sub {
  margin-top: 1.2rem;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 54ch;
}

.trust { display: flex; flex-wrap: wrap; gap: 0.7rem 1.4rem; margin-top: 2rem; }

.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.trust__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--on-brand);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Planner card */
.planner {
  background: var(--white);
  color: var(--text);
  border-radius: var(--r-lg);
  padding: 1.9rem;
}

.planner h2 { font-size: 1.55rem; letter-spacing: -0.035em; }
.planner__label { display: block; margin: 1.2rem 0 0.6rem; font-size: 0.82rem; font-weight: 700; color: var(--muted); }

.seg { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }

.seg label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.seg label:hover { border-color: var(--ink); }
.seg input:checked + label { background: var(--grad); border-color: transparent; color: var(--on-brand); }
.seg input:focus-visible + label { outline: 2px solid var(--brand-orange); outline-offset: 2px; }

.planner__input {
  width: 100%;
  margin-top: 1.1rem;
  border: 1.5px solid var(--line);
  background: var(--cream);
  border-radius: var(--r-pill);
  padding: 0.85rem 1.2rem;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.planner__input:focus { border-color: var(--brand-orange); background: var(--white); }
.planner .btn { width: 100%; margin-top: 0.9rem; padding: 0.95rem; font-size: 1rem; }

.planner__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Search bar (listing pages, overlaps the page hero) ---------- */
.search-wrap { margin-top: -2.4rem; position: relative; z-index: 20; }

.search-bar {
  background: var(--white);
  border-radius: var(--r-pill);
  padding: 0.5rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  border: 1px solid var(--line);
}

.search-bar input,
.search-bar select {
  border: none;
  border-radius: var(--r-pill);
  padding: 0.85rem 1.25rem;
  font-size: 0.96rem;
  outline: none;
  background: var(--cream);
  min-width: 0;
  color: var(--ink);
}

.search-bar input:focus,
.search-bar select:focus { box-shadow: inset 0 0 0 2px var(--brand-orange); background: var(--white); }

/* ---------- Sections ---------- */
main > section { padding: 4.5rem 0; }
.section { padding: 5.5rem 0; }
.section--cream { background: var(--cream); }
.section--tight { padding-top: 2.5rem; }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.eyebrow {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 0.6rem;
}

.section__title {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  letter-spacing: -0.04em;
}

.section__lead { margin-top: 0.8rem; color: var(--muted); font-size: 1.02rem; max-width: 60ch; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--brand-orange);
  transition: color 0.15s;
}

.more:hover { color: var(--brand); }

/* ---------- Guide: photo category cards ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 1.1rem;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: var(--dark);
  isolation: isolate;
}

.photo-card--lg { grid-column: span 2; grid-row: span 2; padding: 2rem; }

.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s ease;
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, 0.78) 100%);
}

.photo-card:hover img { transform: scale(1.06); }

.photo-card__count {
  align-self: flex-start;
  margin-bottom: auto;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  padding: 0.3rem 0.75rem;
}

.photo-card h3 { color: #fff; font-size: 1.35rem; letter-spacing: -0.03em; }
.photo-card--lg h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.photo-card p { margin-top: 0.35rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.85); max-width: 42ch; }
.photo-card:not(.photo-card--lg) p { display: none; }

.photo-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.8rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fde047;
}

.photo-card:hover .photo-card__cta { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Why cards ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }

.why-card {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 2rem 1.8rem;
}

.why-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.35), transparent 70%);
}

.why-card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  background: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.why-card h3 { font-size: 1.2rem; }
.why-card p { margin-top: 0.5rem; font-size: 0.93rem; color: var(--muted); }

/* ---------- Arusha essentials ---------- */
.ess-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.ess-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid rgba(17, 12, 6, 0.06);
  border-radius: var(--r-lg);
  padding: 1.7rem 1.7rem 1.6rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.ess-card:hover { border-color: rgba(249, 115, 22, 0.35); transform: translateY(-2px); }
.ess-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.ess-card__icon { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--grad); color: var(--on-brand); display: grid; place-items: center; }
.ess-card__icon svg { width: 24px; height: 24px; }
.ess-card__num { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; color: var(--brand-2); }
.ess-card h3 { font-size: 1.15rem; }
.ess-card p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--muted); }
.ess-card p b { color: var(--text); font-weight: 700; }
.ess-card__link { margin-top: auto; padding-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.86rem; font-weight: 700; color: var(--brand); align-self: flex-start; }
.ess-card__link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.ess-card__link:hover svg { transform: translateX(3px); }
@media (max-width: 960px) { .ess-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ess-grid { grid-template-columns: 1fr; } .ess-card { padding: 1.4rem; } }

/* ---------- Tabs / chips ---------- */
.filter-chips { display: flex; gap: 0.45rem; flex-wrap: wrap; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--ink);
  border-radius: var(--r-pill);
  padding: 0.5rem 1.05rem;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.result-count { font-size: 0.88rem; font-weight: 600; color: var(--muted); margin-bottom: 1.2rem; }

/* ---------- Listing cards ---------- */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.4rem;
}

.lcard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.2s;
}

.lcard:hover { transform: translateY(-3px); }

.lcard__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.lcard__media:not(.cover-art) { background: var(--sand); }
.lcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.lcard:hover .lcard__media img { transform: scale(1.05); }
.lcard__media:not(.cover-art) { display: block; }

.lcard__badge, .lcard__rating {
  position: absolute;
  top: 0.8rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  padding: 0.3rem 0.7rem;
}

.lcard__badge { left: 0.8rem; }
.lcard__rating { right: 0.8rem; }
.lcard__rating b { color: var(--star); }

.lcard__body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.25rem; }
.lcard__loc { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.lcard__title { margin-top: 0.3rem; font-size: 1.12rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.25; }
.lcard:hover .lcard__title { color: var(--brand); }

.lcard__text {
  margin-top: 0.4rem;
  font-size: 0.87rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.lcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.price { font-weight: 800; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.price small { font-weight: 500; font-size: 0.76rem; color: var(--muted); }

.center-row { display: flex; justify-content: center; margin-top: 2.4rem; }

/* ---------- Expert call banner ---------- */
.expert {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 2.6rem;
  overflow: hidden;
}

.expert h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.04em; }
.expert p { margin-top: 0.8rem; color: var(--muted); max-width: 52ch; }

.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-top: 1.3rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); }

.tag {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }

/* "Karibu" ring art: brand-gradient arcs, orbiting dots and a breathing glow around a round photo */
.ring-art { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; justify-self: center; margin: 0 auto; isolation: isolate; }

.ring-art::before {
  content: "";
  position: absolute;
  inset: -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.55) 0%, rgba(249, 115, 22, 0.28) 38%, transparent 68%);
  filter: blur(14px);
  animation: ring-breathe 6s ease-in-out infinite;
}

.ring-art__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: transform 0.3s ease; }
.ring-art__outer, .ring-art__mid { transform-box: view-box; transform-origin: 300px 300px; }
.ring-art__outer { animation: ring-spin 40s linear infinite; }
.ring-art__mid { animation: ring-spin 24s linear infinite reverse; }

.ring-art__photo {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 7px #fffaf0;
  transition: transform 0.4s ease;
}

.ring-art__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; transform: scale(1.3); transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ring-art:hover .ring-art__photo img { transform: scale(1.38) rotate(3deg); }

.ring-art__badge {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--line);
  animation: ring-float 6s ease-in-out infinite;
}

.ring-art__badge strong { font-size: 1.02rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.ring-art__badge small { font-size: 0.78rem; color: var(--muted); }
.ring-art__badge--a { top: 7%; left: -5%; }
.ring-art__badge--b { bottom: 7%; right: -5%; animation-delay: -3s; border: 2px solid var(--brand-orange); transition: background 0.2s; }
.ring-art__badge--b:hover { background: var(--cream); }

@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes ring-breathe { 50% { transform: scale(1.06); opacity: 0.75; } }
@keyframes ring-float { 50% { transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
  .ring-art__outer, .ring-art__mid, .ring-art__badge, .ring-art::before { animation: none; }
  .ring-art:hover .ring-art__photo img { transform: scale(1.3); }
}

/* ---------- Right match ---------- */
.match { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.match__list { list-style: none; display: grid; gap: 0.9rem; margin-top: 1.8rem; }

.match__list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.9rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.match__check {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--on-brand);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.match__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; width: 100%; }
.match__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Numbers band ---------- */
.nums-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(249, 115, 22, 0.35), transparent 60%),
    radial-gradient(500px 260px at 0% 100%, rgba(253, 224, 71, 0.15), transparent 60%),
    var(--dark);
  color: #fff;
}

.nums-band .eyebrow { color: #fcd34d; }
.nums-band .section__title { color: #fff; }

.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }

.num-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
}

.num-card strong {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--grad-text-light);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.num-card span { display: block; margin-top: 0.6rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.75); font-weight: 500; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }

.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.7rem;
}

.step-card .num {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 1rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.step-card h3 { font-size: 1.15rem; }
.step-card p { margin-top: 0.45rem; font-size: 0.92rem; color: var(--muted); }

/* ---------- Owner CTA ---------- */
.owner-band { padding: 0 0 5.5rem; }

.owner-cta {
  background:
    radial-gradient(420px 220px at 92% 0%, rgba(249, 115, 22, 0.55), transparent 62%),
    radial-gradient(360px 200px at 0% 100%, rgba(253, 224, 71, 0.22), transparent 60%),
    var(--dark);
  border-radius: var(--r-lg);
  padding: 2.8rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: #fff;
}

.owner-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.04em; }
.owner-cta p { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; margin-top: 0.5rem; max-width: 56ch; }
.owner-cta .btn-dark { background: var(--grad); color: var(--on-brand); }

/* ---------- Page hero (inner pages, photo backgrounds) ---------- */
.page-hero {
  position: relative;
  color: #fff;
  padding: 5.5rem 0 6rem;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.4) 70%, rgba(10, 10, 10, 0.25) 100%),
    var(--hero-photo, url("../img/kilimanjaro-clouds.jpg")) center / cover no-repeat,
    var(--dark);
}

.page-hero--listings { --hero-photo: url("../img/kilimanjaro-clouds.jpg"); }
.page-hero--hotel { --hero-photo: url("../img/hotel-room.jpg"); }
.page-hero--apartment { --hero-photo: url("../img/apartment.jpg"); }
.page-hero--transport { --hero-photo: url("../img/boda-boda.jpg"); }
.page-hero--restaurant { --hero-photo: url("../img/grill.jpg"); }
.page-hero--experience { --hero-photo: url("../img/elephants.jpg"); }
.page-hero--about { --hero-photo: url("../img/giraffes-kilimanjaro.jpg"); }
.page-hero--contact { --hero-photo: url("../img/mount-meru.jpg"); }
.page-hero--submit { --hero-photo: url("../img/arusha-city.jpg"); }

.page-hero .eyebrow { color: #fcd34d; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -0.045em; max-width: 18ch; }
.page-hero p { margin-top: 1rem; max-width: 60ch; color: rgba(255, 255, 255, 0.88); font-size: 1.05rem; }

/* ---------- Detail page ---------- */.not-found { text-align: center; padding: 6rem 1rem; }
.not-found h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.not-found p { color: var(--muted); margin-top: 0.6rem; }
.not-found .btn { margin-top: 1.4rem; }

/* ---------- Prose / FAQ / forms / contact ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.035em; margin-top: 2.4rem; margin-bottom: 0.7rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 0.8rem; color: var(--text); font-size: 1rem; line-height: 1.75; }

.faq { display: grid; gap: 0.75rem; max-width: 820px; }

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.15rem 1.35rem;
  transition: border-color 0.15s;
}

.faq details[open] { border-color: var(--brand-orange); }

.faq summary {
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brand-orange); font-weight: 800; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 0.7rem; font-size: 0.93rem; color: var(--muted); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
}

.form-row { margin-bottom: 1.05rem; }

.form-card label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  outline: none;
  background: var(--cream);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  color: var(--ink);
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  background: var(--white);
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.form-card textarea { min-height: 130px; resize: vertical; }

.form-msg { margin-top: 1rem; font-size: 0.9rem; font-weight: 600; display: none; }
.form-msg.ok, .form-msg.err { display: block; }
.form-msg.ok { color: var(--green); background: rgba(8, 122, 106, 0.08); border: 1px solid rgba(8, 122, 106, 0.3); border-radius: var(--r-sm); padding: 0.85rem 1.1rem; }
.form-msg.err { color: var(--red); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }

.contact-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  transition: transform 0.18s;
}

.contact-card:hover { transform: translateY(-3px); }

.contact-card .icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.contact-card h3 { margin-top: 1rem; font-size: 1.15rem; }
.contact-card p { font-size: 0.9rem; color: var(--muted); margin-top: 0.3rem; }
.contact-card a.value { display: inline-block; margin-top: 0.8rem; font-weight: 700; color: var(--brand); font-size: 0.95rem; word-break: break-all; }
.contact-card a.value:hover { text-decoration: underline; text-underline-offset: 3px; }

.two-col { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: start; }

/* ---------- Empty / utility ---------- */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  border: 2px dashed var(--line);
  border-radius: var(--r-lg);
  color: var(--muted);
  background: var(--cream);
  font-weight: 600;
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- About page ---------- */
.page-hero .btn-row { margin-top: 2rem; }

.btn-onphoto { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.45); backdrop-filter: blur(6px); }
.btn-onphoto:hover { background: rgba(255, 255, 255, 0.22); border-color: #fff; }

/* Story + facts */
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.about-intro .prose h2 { margin-top: 0; font-size: clamp(1.8rem, 3.8vw, 2.7rem); letter-spacing: -0.04em; }
.about-intro .prose p { font-size: 1.04rem; }
.about-intro .prose h2.prose__sub { margin-top: 2rem; font-size: 1.45rem; letter-spacing: -0.035em; }

.about-intro__media { position: relative; padding-bottom: 3rem; }
.about-intro__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r-lg); }

.facts {
  position: absolute;
  left: -2rem;
  bottom: 0;
  width: min(330px, 85%);
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.6rem;
}

.facts h3 { font-size: 1rem; margin-bottom: 0.8rem; }
.facts dl { display: grid; gap: 0.65rem; }
.facts dl div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.65rem; border-bottom: 1px solid var(--line); }
.facts dl div:last-child { padding-bottom: 0; border-bottom: none; }
.facts dt { font-size: 0.84rem; color: var(--muted); }
.facts dd { font-size: 0.88rem; font-weight: 700; color: var(--ink); text-align: right; }

/* Mission cards on cream */
.why-card--white { background: var(--white); }
.why-card--white .why-card__icon { background: var(--cream); box-shadow: none; }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.value-item { padding: 2rem 1.6rem 0.5rem 0; }
.value-item + .value-item { padding-left: 1.6rem; border-left: 1px solid var(--line); }

.value-item__num {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 0.9rem;
}

.value-item h3 { font-size: 1.2rem; }
.value-item p { margin-top: 0.5rem; font-size: 0.93rem; color: var(--muted); }

/* Gateway destinations (dark band) */
.section__lead--light { color: rgba(255, 255, 255, 0.75); }
.more--light { color: #fff; }
.more--light:hover { color: #fde047; }

.dest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.dest-grid .photo-card { min-height: 340px; }

.photo-card__meta {
  margin-top: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #fde047;
}

.dest-note { margin-top: 1.4rem; font-size: 0.84rem; color: rgba(255, 255, 255, 0.6); max-width: 80ch; }

/* Verify steps in four columns */
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Roadmap */
.about-road { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }

.timeline { list-style: none; position: relative; display: grid; gap: 1rem; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: var(--sand); }

.timeline li {
  position: relative;
  margin-left: 2.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.2rem 1.4rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -2.6rem;
  top: 1.35rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grad);
  border: 4px solid var(--cream);
  box-sizing: border-box;
}

.timeline__when { display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-2); }
.timeline h3 { margin-top: 0.3rem; font-size: 1.1rem; }
.timeline p { margin-top: 0.35rem; font-size: 0.92rem; color: var(--muted); }

/* Who it's for */
.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.photo-card--who { min-height: 400px; padding: 2.2rem; }
.photo-card--who h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.who-grid .photo-card.photo-card--who p { display: block; font-size: 0.98rem; max-width: 44ch; }
.photo-card--who .btn { align-self: flex-start; margin-top: 1.2rem; }

/* FAQ split */
.about-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
.about-faq .faq { max-width: none; }

.btn-row--tight { margin-top: 0; }

/* ---------- Directory pages: premium layer ---------- */

/* Cinematic hero: tall photo, content anchored low, soft fade to dark */

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; margin-bottom: 1.6rem; font-size: 0.84rem; font-weight: 500; color: rgba(255, 255, 255, 0.7); }
.crumbs a { color: #fff; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 3rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 640px;
}

.hero-stats strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  background: var(--grad-text-light);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-stats span { font-size: 0.86rem; color: rgba(255, 255, 255, 0.75); }

.hero-facts { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.hero-facts > span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
  padding: 0.5rem 1.05rem;
  font-size: 0.9rem;
  color: #fff;
}
.hero-facts b { color: #fde047; font-weight: 700; }

/* Premium search */
.search-bar--premium {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  padding: 0.55rem;
  border: 1px solid var(--line);
}

.search-bar--compact { grid-template-columns: auto minmax(0, 1fr) auto; max-width: 780px; }
.search-bar__icon { width: 46px; display: grid; place-items: center; color: var(--muted); }
.search-bar__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-bar--premium input { background: transparent; padding-left: 0; font-size: 1rem; }
.search-bar--premium input:focus { background: transparent; box-shadow: none; }
.search-bar--premium .btn { padding: 0.95rem 1.9rem; }

/* Category rail: photo filters */
.cat-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.8rem; margin: 1.2rem 0 2.6rem; }

.rail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.9rem 0.5rem 0.5rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s, transform 0.2s, background 0.2s, color 0.2s;
}

.rail-item:hover { border-color: #cfc6b5; transform: translateY(-2px); }
.rail-item.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.rail-item.active small { color: rgba(255, 255, 255, 0.7); }
.rail-item:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 2px; }

.rail-item__img { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--sand); }
.rail-item__img img { width: 100%; height: 100%; object-fit: cover; }
.rail-item__img--all { background: var(--grad); display: grid; place-items: center; }
.rail-item__img--all svg { width: 22px; height: 22px; fill: none; stroke: var(--on-brand); stroke-width: 1.8; }
.rail-item__text { display: grid; min-width: 0; line-height: 1.25; font-weight: 700; font-size: 0.92rem; }
.rail-item__text small { font-weight: 500; font-size: 0.76rem; color: var(--muted); }

/* Results bar + sort */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.results-bar .result-count { margin: 0; font-size: 0.95rem; }
.results-bar .result-count b { color: var(--ink); font-weight: 700; }

.sort { display: flex; align-items: center; gap: 0.6rem; font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.sort select {
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.55rem 2.3rem 0.55rem 1rem;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.85rem center / 14px;
}
.sort select:hover { border-color: var(--ink); }
.sort select:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 2px; }

/* Grouped directory */
.groups { display: grid; gap: 4.5rem; }
.group__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.7rem; }
.group__title { font-size: clamp(1.8rem, 3.6vw, 2.5rem); letter-spacing: -0.045em; }
.group__lead { margin-top: 0.45rem; color: var(--muted); max-width: 58ch; }

/* Premium listing card (also used on the homepage) */
.listings-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }

.lcard {
  border: none;
  border-radius: 22px;
  padding: 0.55rem;
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.lcard:hover { border-color: #d9cfbd; transform: translateY(-4px); }
.lcard__media { border-radius: 16px; aspect-ratio: 4 / 3; }
.lcard__media img { transition: transform 0.7s ease; }
.lcard:hover .lcard__media img { transform: scale(1.06); }

.lcard__badge, .lcard__rating {
  top: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.lcard__body { padding: 1.05rem 0.75rem 0.55rem; }
.lcard__loc { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; }
.lcard__loc svg { width: 14px; height: 14px; flex-shrink: 0; fill: none; stroke: var(--brand-orange); stroke-width: 2; }
.lcard__title { margin-top: 0.4rem; font-size: 1.2rem; letter-spacing: -0.025em; }
.lcard:hover .lcard__title { color: var(--ink); }
.lcard__foot { margin-top: 0.9rem; padding-top: 0.2rem; border-top: none; }

.lcard__go {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.lcard__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lcard:hover .lcard__go { background: var(--grad); color: var(--on-brand); transform: rotate(-45deg); }

/* Book with confidence */
.assure-band { padding: 4.2rem 0; }
.assure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; margin-top: 0.8rem; }
.assure__item { display: flex; align-items: flex-start; gap: 1rem; }
.assure__icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--brand); }
.assure__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.assure h3 { font-size: 1.1rem; }
.assure p { margin-top: 0.3rem; font-size: 0.93rem; color: var(--muted); }
.owner-band--spaced { padding-top: 5.5rem; }

/* Good to know */
.tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.tip { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 2rem 1.8rem; }

.tip__num {
  display: block;
  margin-bottom: 1.1rem;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.tip h3 { font-size: 1.18rem; }
.tip p { margin-top: 0.45rem; font-size: 0.94rem; color: var(--muted); }

/* More of Arusha */
.more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.more-grid .photo-card { min-height: 300px; }

/* ---------- List your business: wizard ---------- */
.wizard-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr); gap: 2rem; align-items: start; }

.wizard {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 2.2rem 2.4rem 2rem;
}

.wizard__progress { position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--sand); }
.wizard__progress span { display: block; height: 100%; width: 25%; background: var(--grad); border-radius: 0 4px 4px 0; transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }

.wizard__steps { list-style: none; display: flex; gap: 0.4rem; margin-bottom: 2rem; flex-wrap: wrap; }
.wizard__steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.35rem;
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--cream);
  transition: background 0.25s, color 0.25s;
}
.wizard__steps li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.78rem; font-weight: 800; background: var(--white); color: var(--muted); border: 1px solid var(--line); transition: all 0.25s; }
.wizard__steps li em { font-style: normal; }
.wizard__steps li.on { background: var(--ink); color: #fff; }
.wizard__steps li.on span { background: var(--grad); color: var(--on-brand); border-color: transparent; }
.wizard__steps li.done { color: var(--ink); cursor: pointer; }
.wizard__steps li.done span { background: var(--ink); color: #fde047; border-color: var(--ink); font-size: 0; }
.wizard__steps li.done span::after { content: "✓"; font-size: 0.8rem; }
.wizard__steps li.done:hover { background: var(--sand); }

.wizard__panel { border: none; animation: panel-in 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.wizard__panel legend { display: grid; gap: 0.4rem; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.04em; color: var(--ink); line-height: 1.15; }
.wizard__count { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-2); }
.wizard__lead { margin: 0.5rem 0 1.6rem; color: var(--muted); }

@keyframes panel-in { from { opacity: 0; transform: translateX(18px); } }

/* Step 1: type cards */
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.8rem; }
.wizard .type-card {
  position: relative;
  display: grid;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  gap: 0.3rem;
  padding: 1.2rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.type-card:hover { border-color: #cfc6b5; transform: translateY(-3px); }
.type-card input { position: absolute; opacity: 0; pointer-events: none; }
.type-card__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; margin-bottom: 0.5rem; transition: background 0.2s; }
.type-card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.type-card strong { font-size: 1rem; color: var(--ink); }
.type-card small { font-size: 0.8rem; color: var(--muted); line-height: 1.35; }
.type-card:has(input:checked) { border-color: var(--brand-orange); background: #fffaf2; }
.type-card:has(input:checked) .type-card__icon { background: var(--grad); }
.type-card:has(input:checked)::after { content: "✓"; position: absolute; top: 0.8rem; right: 0.8rem; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fde047; display: grid; place-items: center; font-size: 0.72rem; font-weight: 800; }
.type-card:has(input:focus-visible) { outline: 2px solid var(--brand-orange); outline-offset: 2px; }

/* Fields */
.field { margin-bottom: 1.3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.wizard label, .field-label { display: block; font-size: 0.84rem; font-weight: 700; color: var(--ink); margin-bottom: 0.45rem; }

.wizard input[type="text"], .wizard input[type="tel"], .wizard input[type="email"], .wizard textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.wizard textarea { resize: vertical; min-height: 120px; }
.wizard input:focus, .wizard textarea:focus { background: var(--white); border-color: var(--brand-orange); box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14); }
.wizard .invalid { border-color: var(--red); background: #fff5f6; }

.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 0.95rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.wizard .input-icon input { padding-left: 2.7rem; }

.field-hint { margin-top: 0.45rem; font-size: 0.8rem; color: var(--muted); }
.field-error { margin-top: 0.45rem; font-size: 0.82rem; font-weight: 600; color: var(--red); min-height: 0; }
.field-error:empty { display: none; }
.field-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.counter { margin-left: auto; margin-top: 0.45rem; font-size: 0.78rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.counter.ok { color: var(--green); }

.area-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-top: 0.65rem; }
.area-chips__label { font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-right: 0.2rem; }
.area-chips button { border: 1px solid var(--line); background: var(--white); border-radius: var(--r-pill); padding: 0.3rem 0.75rem; font: inherit; font-size: 0.8rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.area-chips button:hover { border-color: var(--brand-orange); background: #fffaf2; }

.feature-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: var(--r-pill);
  padding: 0.5rem 0.95rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}
.feature-chip:hover { border-color: #cfc6b5; }
.feature-chip__tick { width: 0; overflow: hidden; font-size: 0.75rem; transition: width 0.2s; }
.feature-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.feature-chip.on .feature-chip__tick { width: 0.8rem; color: #fde047; }
.feature-chip:active { transform: scale(0.96); }

/* Step 3: photos */
.wizard .dropzone {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 2rem 1rem;
  border: 2px dashed #d9cfbd;
  border-radius: 20px;
  background: var(--cream);
  text-align: center;
  cursor: pointer;
  font-weight: 400;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.wizard .dropzone:hover, .wizard .dropzone.is-over { border-color: var(--brand-orange); background: #fff7ec; }
.wizard .dropzone.is-over { transform: scale(1.01); }
.wizard .dropzone.is-full { opacity: 0.55; pointer-events: none; }
.dropzone__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; margin-bottom: 0.4rem; }
.dropzone__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--on-brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dropzone strong { font-size: 1rem; color: var(--ink); }
.dropzone u { color: var(--brand); text-underline-offset: 3px; }
.dropzone small { font-size: 0.8rem; color: var(--muted); }
.dropzone:has(input:focus-visible) { outline: 2px solid var(--brand-orange); outline-offset: 3px; }

.photo-meter { display: flex; align-items: center; gap: 0.8rem; margin: 1.1rem 0 0.9rem; }
.photo-meter__bar { flex: 1; height: 6px; border-radius: 3px; background: var(--sand); overflow: hidden; }
.photo-meter__bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 3px; transition: width 0.4s ease; }
.photo-meter__text { font-size: 0.84rem; font-weight: 700; color: var(--brand-2); white-space: nowrap; }
.photo-meter.ok .photo-meter__text { color: var(--green); }

.photo-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.7rem; }
.photo-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--cream); animation: chip-in 0.25s ease; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile.is-cover { outline: 3px solid var(--brand-orange); outline-offset: -3px; }
.photo-tile__badge { position: absolute; top: 0.5rem; left: 0.5rem; background: var(--grad); color: var(--on-brand); font-size: 0.7rem; font-weight: 800; border-radius: var(--r-pill); padding: 0.2rem 0.6rem; }
.photo-tile__actions { position: absolute; inset: auto 0.4rem 0.4rem 0.4rem; display: flex; justify-content: flex-end; gap: 0.3rem; opacity: 0; transition: opacity 0.2s; }
.photo-tile:hover .photo-tile__actions, .photo-tile:focus-within .photo-tile__actions { opacity: 1; }
.photo-tile__actions button { border: none; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.94); color: var(--ink); font: inherit; font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.65rem; cursor: pointer; }
.photo-tile__actions button[data-remove] { width: 26px; padding: 0.3rem 0; }
.photo-tile__actions button:hover { background: #fff; color: var(--brand); }
.photo-tile.is-empty { border: 2px dashed var(--line); background: transparent; display: grid; place-items: center; }
.photo-tile.is-empty span { width: 30px; height: 30px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; color: var(--muted); }
.photo-tile.is-loading { display: grid; place-items: center; }
.photo-tile.is-loading span { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--sand); border-top-color: var(--brand-orange); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (hover: none) { .photo-tile__actions { opacity: 1; } }

.photo-tips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin: 1.1rem 0; font-size: 0.82rem; color: var(--muted); }
.photo-tips li::before { content: "✓"; margin-right: 0.4rem; color: var(--green); font-weight: 800; }

.wizard .rights { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0; padding: 0.9rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.wizard .rights:has(input:checked) { border-color: var(--brand-orange); background: #fffaf2; }
.rights input { width: 18px; height: 18px; margin-top: 0.1rem; accent-color: var(--brand); flex-shrink: 0; }

.review-photos { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.review-photos img { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; }
.review-photos img.is-cover { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
.review-photos .review__edit { margin-left: auto; }

/* Review */
.review { display: grid; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 1rem; }
.review div { display: grid; grid-template-columns: minmax(120px, 0.6fr) minmax(0, 1.4fr) auto; gap: 1rem; align-items: start; padding: 0.85rem 1.1rem; }
.review div + div { border-top: 1px solid var(--line); }
.review dt { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.review dd { font-size: 0.92rem; color: var(--ink); white-space: pre-line; word-break: break-word; }
.review__edit { border: none; background: none; font: inherit; font-size: 0.8rem; font-weight: 700; color: var(--brand); cursor: pointer; padding: 0; }
.review__edit:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Navigation */
.wizard__nav { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.wizard__spacer { flex: 1; }
.wizard__nav .btn { padding: 0.85rem 1.6rem; }

/* Success */
.wizard__done { text-align: center; padding: 2rem 0 1rem; animation: panel-in 0.5s ease; }
.wizard__done h2 { margin-top: 1.2rem; font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: -0.04em; }
.wizard__done p { margin: 0.6rem auto 0; max-width: 46ch; color: var(--muted); }
.wizard__done .btn-row { justify-content: center; }
.done-check { display: flex; justify-content: center; }
.done-check svg { width: 84px; height: 84px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.done-check circle { stroke: var(--brand-orange); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 0.7s ease forwards; }
.done-check path { stroke: var(--ink); stroke-width: 4; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.4s 0.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Side: live preview + next steps */
.wizard-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.2rem; }
.preview { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 1.3rem; }
.preview__label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 0.9rem; }
.preview__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-orange); animation: live-dot 1.6s ease-in-out infinite; }
@keyframes live-dot { 50% { opacity: 0.25; transform: scale(0.7); } }
.lcard--preview { pointer-events: none; }
.lcard--preview .lcard__media { transition: background 0.4s; }
.lcard--preview .is-placeholder { color: #b9b2a3; }
.lcard--preview .lcard__title { transition: color 0.2s; }
.preview__tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.7rem; }
.preview__tags span { font-size: 0.72rem; font-weight: 600; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0.2rem 0.6rem; animation: chip-in 0.25s ease; }
@keyframes chip-in { from { opacity: 0; transform: scale(0.85); } }
.preview__note { margin-top: 0.9rem; font-size: 0.8rem; color: var(--muted); text-align: center; }

.next-steps { background: var(--dark); color: #e9e1d2; border-radius: 26px; padding: 1.6rem 1.5rem; }
.next-steps h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.next-steps ol { list-style: none; display: grid; gap: 0.9rem; }
.next-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 0.8rem; align-items: start; }
.next-steps li span { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: var(--on-brand); display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; }
.next-steps li p { font-size: 0.9rem; color: rgba(233, 225, 210, 0.85); padding-top: 0.3rem; }

@media (prefers-reduced-motion: reduce) {
  .wizard__panel, .wizard__done, .preview__tags span, .photo-tile { animation: none; }
  .preview__dot { animation: none; }
  .done-check circle, .done-check path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Application status ---------- */
.status-pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.85rem; border-radius: var(--r-pill); font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill--review { background: #fdf3e2; color: #92400e; }
.status-pill--review::before { animation: live-dot 1.6s ease-in-out infinite; }
.status-pill--preparing { background: #eaf1fd; color: #1d4ed8; }
.status-pill--live { background: #e7f5f0; color: #067a5f; }
.status-pill--declined { background: #fdecef; color: #be123c; }

.wizard__done .status-pill { margin-top: 1.2rem; }
.wizard__done h2 { margin-top: 0.7rem; }

.done-ref { max-width: 460px; margin: 1.6rem auto 0; padding: 1.3rem; border: 1px dashed #d9cfbd; border-radius: 18px; background: var(--cream); display: grid; gap: 0.5rem; justify-items: center; }
.done-ref__label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.done-ref__code { font-size: 2rem; font-weight: 800; letter-spacing: 0.06em; color: var(--ink); font-variant-numeric: tabular-nums; }
.done-ref__link { display: flex; gap: 0.4rem; width: 100%; }
.wizard .done-ref__link input { flex: 1; min-width: 0; padding: 0.55rem 0.8rem; font-size: 0.8rem; background: var(--white); border-radius: 10px; color: var(--muted); }
.done-ref small { font-size: 0.78rem; color: var(--muted); }

.status-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr); gap: 2rem; align-items: start; }
.status-stack { display: grid; gap: 1.2rem; }
.status-loading { padding: 2rem; text-align: center; color: var(--muted); }

.status-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 1.8rem 2rem; animation: panel-in 0.4s ease; }
.status-card--live { border-color: #b7e3d4; }
.status-card--declined { border-color: #f5c2cc; }
.status-card__top { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: flex-start; }
.status-ref { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; color: var(--brand-2); margin-bottom: 0.35rem; }
.status-card h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); letter-spacing: -0.035em; }
.status-card__top p { margin-top: 0.25rem; font-size: 0.88rem; color: var(--muted); }

.status-track { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.8rem 0 1.4rem; }
.status-track li { position: relative; display: grid; justify-items: center; gap: 0.55rem; text-align: center; font-size: 0.84rem; font-weight: 600; color: var(--muted); }
.status-track li::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 3px; background: var(--sand); z-index: 0; }
.status-track li:first-child::before { display: none; }
.status-track li span { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 2px solid var(--sand); display: grid; place-items: center; font-size: 0.8rem; font-weight: 800; }
.status-track li.is-done, .status-track li.is-now, .status-track li.is-stop { color: var(--ink); }
.status-track li.is-done::before, .status-track li.is-now::before, .status-track li.is-stop::before { background: var(--grad); }
.status-track li.is-done span { background: var(--ink); border-color: var(--ink); color: #fde047; }
.status-track li.is-done span::after { content: "✓"; }
.status-track li.is-now span { border-color: var(--brand-orange); box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.15); }
.status-track li.is-now span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-orange); animation: live-dot 1.6s ease-in-out infinite; }
.status-track li.is-stop span { background: #be123c; border-color: #be123c; color: #fff; }
.status-track li.is-stop span::after { content: "✕"; }

.status-msg { color: var(--text); }
.status-note { margin-top: 0.9rem; padding: 0.9rem 1.1rem; border-left: 3px solid #be123c; background: #fdf5f6; border-radius: 0 12px 12px 0; font-size: 0.92rem; color: var(--text); }
.status-card .btn-row { margin-top: 1.3rem; }

.status-empty { background: var(--white); border: 1px dashed #d9cfbd; border-radius: 24px; padding: 2.6rem 2rem; text-align: center; display: grid; justify-items: center; gap: 0.6rem; }
.status-empty__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--cream); display: grid; place-items: center; }
.status-empty__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.status-empty h2 { font-size: 1.4rem; letter-spacing: -0.03em; }
.status-empty p { color: var(--muted); max-width: 42ch; }
.status-empty .btn { margin-top: 0.4rem; }

.status-lookup { position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 1.8rem; }
.status-lookup h2 { font-size: 1.3rem; letter-spacing: -0.03em; }
.status-lookup > p { margin: 0.4rem 0 1.2rem; font-size: 0.9rem; color: var(--muted); }
.status-lookup label { display: block; font-size: 0.84rem; font-weight: 700; color: var(--ink); margin: 0.9rem 0 0.4rem; }
.status-lookup input { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 0.8rem 1rem; font: inherit; background: var(--cream); color: var(--ink); outline: none; transition: border-color 0.2s, background 0.2s; }
.status-lookup input:focus { border-color: var(--brand-orange); background: var(--white); box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14); }
.status-lookup #lk_ref { text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.status-lookup .btn { width: 100%; margin-top: 1.2rem; }
.status-lookup__help { margin-top: 1rem; font-size: 0.84rem; color: var(--muted); text-align: center; }
.status-lookup__help a { color: var(--brand); font-weight: 700; }

@media (max-width: 980px) {
  .status-layout { grid-template-columns: 1fr; }
  .status-lookup { position: static; }
}

@media (max-width: 640px) {
  .status-card { padding: 1.4rem 1.2rem; }
  .status-track li { font-size: 0.76rem; }
}

@media (prefers-reduced-motion: reduce) {
  .status-card, .status-pill--review::before, .status-track li.is-now span::after { animation: none; }
}

/* ---------- Listing photo gallery + viewer ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  align-items: center;
  background: rgba(10, 9, 7, 0.92);
  animation: lb-in 0.25s ease;
}
.lightbox__stage { grid-column: 2; margin: 0; height: 100vh; display: grid; place-items: center; padding: 4rem 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.lightbox__close, .lightbox__nav { border: none; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background 0.2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem; }
.lightbox__nav { justify-self: center; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; }
.lightbox__nav--prev { grid-column: 1; grid-row: 1; }
.lightbox__nav--next { grid-column: 3; grid-row: 1; }
.lightbox__count { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.8); font-size: 0.86rem; font-weight: 600; font-variant-numeric: tabular-nums; }
@keyframes lb-in { from { opacity: 0; } }

@media (max-width: 640px) {
  .lightbox { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .lightbox__nav { width: 38px; height: 38px; font-size: 1.4rem; }}

@media (prefers-reduced-motion: reduce) {
  .lightbox { animation: none; }
}

/* ---------- Listing detail page ---------- */
.dt-head { padding: 2.2rem 0 1.6rem; background: var(--white); }
.dt-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--muted); margin-bottom: 1.4rem; }
.dt-crumbs a { color: var(--text); font-weight: 600; }
.dt-crumbs a:hover { color: var(--brand); }
.dt-crumbs span:last-child { color: var(--muted); max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dt-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.dt-badge { display: inline-block; background: var(--cream); border: 1px solid var(--line); color: var(--brand-2); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; border-radius: var(--r-pill); padding: 0.3rem 0.8rem; margin-bottom: 0.8rem; }
.dt-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.045em; line-height: 1.05; max-width: 22ch; }

.dt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.4rem; margin-top: 0.9rem; font-size: 0.94rem; color: var(--text); }
.dt-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.dt-meta svg { width: 17px; height: 17px; fill: none; stroke: var(--brand-orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dt-meta__rating b { color: var(--ink); }
.dt-meta__verified { color: var(--green); font-weight: 600; }
.dt-meta__verified svg { stroke: var(--green); }

.dt-share { display: inline-flex; align-items: center; gap: 0.5rem; border: 1.5px solid var(--line); background: var(--white); border-radius: var(--r-pill); padding: 0.6rem 1.1rem; font: inherit; font-size: 0.9rem; font-weight: 700; color: var(--ink); cursor: pointer; transition: border-color 0.2s; }
.dt-share:hover { border-color: var(--ink); }
.dt-share svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Photo mosaic: 1 large + up to 4 small */
.dt-mosaic { position: relative; display: grid; gap: 0.6rem; height: clamp(300px, 46vw, 520px); border-radius: 24px; overflow: hidden; }
.dt-mosaic--1 { grid-template-columns: 1fr; }
.dt-mosaic--2 { grid-template-columns: 2fr 1fr; }
.dt-mosaic--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.dt-mosaic--4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.dt-mosaic--5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.dt-mosaic--3 .dt-mosaic__item:first-child, .dt-mosaic--4 .dt-mosaic__item:first-child, .dt-mosaic--5 .dt-mosaic__item:first-child { grid-row: span 2; }
.dt-mosaic--4 .dt-mosaic__item:nth-child(2) { grid-column: span 2; }
.dt-mosaic__item { border: none; padding: 0; margin: 0; overflow: hidden; cursor: zoom-in; background: var(--sand); min-height: 0; }
.dt-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.3s; }
.dt-mosaic__item:hover img { transform: scale(1.04); filter: brightness(0.92); }
.dt-mosaic__item:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: -3px; }
.dt-mosaic__all { position: absolute; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid rgba(10, 10, 10, 0.12); background: rgba(255, 255, 255, 0.95); border-radius: var(--r-pill); padding: 0.6rem 1.1rem; font: inherit; font-size: 0.86rem; font-weight: 700; color: var(--ink); cursor: pointer; backdrop-filter: blur(6px); }
.dt-mosaic__all:hover { background: #fff; }
.dt-mosaic__all svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.dt-mosaic--art { display: block; height: clamp(200px, 26vw, 300px); }
.dt-mosaic--art .cover-art { display: grid; width: 100%; height: 100%; }

/* Layout */
.dt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 3.5rem; margin: 2.6rem 0 4rem; align-items: start; }
.dt-lead { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.55; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); }

.dt-highlights { list-style: none; display: grid; gap: 1.1rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.dt-highlights li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.dt-highlights li > span { width: 44px; height: 44px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; }
.dt-highlights svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dt-highlights strong { display: block; color: var(--ink); font-size: 1rem; }
.dt-highlights p { font-size: 0.9rem; color: var(--muted); margin-top: 0.15rem; }

.dt-section { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.dt-section:last-child { border-bottom: none; }
.dt-section h2 { font-size: 1.45rem; letter-spacing: -0.035em; margin-bottom: 1rem; }

.dt-about p { font-size: 1.02rem; line-height: 1.8; color: var(--text); white-space: pre-line; }
.dt-about.is-clamped { max-height: 9.2em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.dt-more { margin-top: 0.6rem; border: none; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.dt-amenities { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.5rem; }
.dt-amenities li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.97rem; color: var(--ink); }
.dt-amenities__icon { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.dt-amenities__icon svg { width: 15px; height: 15px; fill: none; stroke: var(--on-brand); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.dt-map {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2.4rem 1.5rem 1.4rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(250, 248, 244, 0) 0%, rgba(250, 248, 244, 0.96) 62%),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(180, 160, 120, 0.18) 34px 35px),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(180, 160, 120, 0.18) 34px 35px),
    radial-gradient(circle at 30% 30%, rgba(30, 181, 58, 0.12), transparent 40%),
    radial-gradient(circle at 75% 40%, rgba(0, 163, 221, 0.12), transparent 35%),
    #f3efe6;
  transition: border-color 0.2s;
}
.dt-map:hover { border-color: var(--brand-orange); }
.dt-map__pin { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad); display: grid; place-items: center; }
.dt-map__pin svg { width: 22px; height: 22px; transform: rotate(45deg); fill: none; stroke: var(--on-brand); stroke-width: 2; }
.dt-map__text { flex: 1; min-width: 200px; display: grid; gap: 0.2rem; }
.dt-map__text strong { color: var(--ink); font-size: 1.05rem; }
.dt-map__text small { color: var(--muted); font-size: 0.86rem; }
.dt-map__cta { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; font-size: 0.9rem; color: var(--brand); }
.dt-map__cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }

.dt-tips { display: grid; gap: 1rem; }
.dt-tip { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: 18px; background: var(--cream); }
.dt-tip__num { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.dt-tip h3 { font-size: 1rem; }
.dt-tip p { margin-top: 0.25rem; font-size: 0.9rem; color: var(--muted); }

/* Sticky contact card */
.dt-book { position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 1.7rem; display: grid; gap: 0.75rem; }
.dt-book__price { display: flex; align-items: baseline; gap: 0.35rem; flex-wrap: wrap; }
.dt-book__from { font-size: 0.86rem; color: var(--muted); }
.dt-book__price strong { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.dt-book__per { font-size: 0.9rem; color: var(--muted); }
.dt-book__rating { justify-self: start; margin-top: -0.2rem; font-size: 0.86rem; font-weight: 700; color: var(--star); }
.dt-book .btn { width: 100%; gap: 0.5rem; }
.dt-book .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dt-book__wa { padding: 1rem; font-size: 1rem; margin-top: 0.4rem; }
.dt-book__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.5rem; }
.dt-book__phone { text-align: center; font-size: 0.88rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.dt-book__note { font-size: 0.8rem; color: var(--muted); text-align: center; padding-top: 0.7rem; border-top: 1px solid var(--line); }
.dt-book__owner { display: flex; align-items: center; justify-content: center; gap: 0.45rem; font-size: 0.8rem; color: var(--green); font-weight: 600; }
.dt-book__owner svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Similar listings */
.dt-similar { padding: 4.5rem 0; background: var(--cream); }

/* Mobile contact bar */
.dt-bar { display: none; }

@media (max-width: 980px) {
  .dt-layout { grid-template-columns: 1fr; gap: 0; }
  .dt-book { position: static; margin-top: 1rem; }
}

@media (max-width: 760px) {
  .dt-mosaic { height: 300px; border-radius: 18px; grid-template-columns: 1fr !important; grid-template-rows: 1fr !important; }
  .dt-mosaic--art { height: 200px; }
  .dt-mosaic__item:not(:first-child) { display: none; }
  .dt-mosaic__item:first-child { grid-row: auto !important; }
  .dt-amenities { grid-template-columns: 1fr; }
  .dt-head__row { align-items: flex-start; }
  .dt-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    transition: transform 0.3s ease;
  }
  .dt-bar.is-hidden { transform: translateY(110%); }
  .dt-bar__price strong { font-size: 1.3rem; color: var(--ink); }
  .dt-bar__price small { color: var(--muted); font-size: 0.78rem; }
  .dt-bar .btn { padding: 0.8rem 1.3rem; gap: 0.45rem; }
  .dt-bar .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
  body.has-dt-bar .site-footer { padding-bottom: 6rem; }
}

/* ---------- Owner accounts ---------- */
.main-nav a.nav-account { display: inline-flex; align-items: center; gap: 0.4rem; }
.nav-account svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.status-pill--hidden { background: var(--sand); color: var(--text); }

.acc-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 3rem; align-items: start; }
.acc-auth__why h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.04em; }
.acc-auth__why ul { list-style: none; display: grid; gap: 1.2rem; margin-top: 1.6rem; }
.acc-auth__why li { display: grid; grid-template-columns: 34px 1fr; gap: 0.9rem; }
.acc-auth__why li > span { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: var(--on-brand); display: grid; place-items: center; font-weight: 800; }
.acc-auth__why strong { color: var(--ink); }
.acc-auth__why p { font-size: 0.92rem; color: var(--muted); margin-top: 0.15rem; }

.acc-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 1.8rem; }
.acc-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); border-radius: var(--r-pill); padding: 4px; margin-bottom: 1.4rem; }
.acc-tabs button { border: none; background: transparent; border-radius: var(--r-pill); padding: 0.6rem; font: inherit; font-size: 0.9rem; font-weight: 700; color: var(--muted); cursor: pointer; }
.acc-tabs button.on { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

.acc-form h2 { font-size: 1.3rem; letter-spacing: -0.03em; margin-bottom: 0.4rem; }
.acc-form label, .acc-editor__body label { display: block; font-size: 0.84rem; font-weight: 700; color: var(--ink); margin: 0.9rem 0 0.4rem; }
.acc-form input, .acc-editor input:not([type="checkbox"]):not([type="file"]), .acc-editor textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.acc-form input:focus, .acc-editor input:focus, .acc-editor textarea:focus { border-color: var(--brand-orange); background: var(--white); box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14); }
.acc-form .btn { width: 100%; margin-top: 1.3rem; }
.acc-form__help { margin-top: 1rem; font-size: 0.84rem; color: var(--muted); text-align: center; }
.acc-form__help a { color: var(--brand); font-weight: 700; }

/* Dashboard */

.acc-listings { display: grid; gap: 1rem; }
.acc-listing { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 0.8rem; }
.acc-listing__media { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.acc-listing__media img, .acc-listing__media .cover-art { width: 100%; height: 100%; object-fit: cover; }
.acc-listing__media .cover-art { display: grid; }
.acc-listing__body { display: grid; align-content: center; gap: 0.6rem; padding: 0.4rem 0.6rem 0.4rem 0; }
.acc-listing__top { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.acc-listing__cat { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-2); }
.acc-listing h4 { font-size: 1.15rem; color: var(--ink); letter-spacing: -0.02em; margin-top: 0.15rem; }
.acc-listing__top p { font-size: 0.86rem; color: var(--muted); margin-top: 0.15rem; }
.acc-listing__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.acc-note { font-size: 0.86rem; border-radius: 12px; padding: 0.55rem 0.8rem; }
.acc-note--pending { background: #fdf3e2; color: #92400e; }
.acc-note--rejected { background: #fdecef; color: #9f1239; }
.acc-note--approved { background: #e7f5f0; color: #067a5f; }

.acc-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.8rem; }
.acc-app { display: grid; gap: 0.25rem; justify-items: start; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.2rem; transition: border-color 0.2s; }
.acc-app:hover { border-color: var(--brand-orange); }
.acc-app strong { color: var(--ink); }
.acc-app__date { font-size: 0.8rem; color: var(--muted); }
.acc-app .status-pill { margin-top: 0.4rem; }

/* Editor dialog */
.acc-editor { border: none; border-radius: 24px; padding: 0; width: min(720px, 96vw); max-height: 92vh; margin: auto; }
.acc-editor::backdrop { background: rgba(10, 9, 7, 0.55); }
.acc-editor form { display: flex; flex-direction: column; max-height: 92vh; }
.acc-editor__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.3rem 1.6rem 1rem; border-bottom: 1px solid var(--line); }
.acc-editor__head .eyebrow { margin-bottom: 0.2rem; }
.acc-editor__head h2 { font-size: 1.35rem; letter-spacing: -0.03em; }
.acc-editor__close { width: 38px; height: 38px; border: none; border-radius: 50%; background: var(--cream); cursor: pointer; font-size: 1rem; }
.acc-editor__body { padding: 0.6rem 1.6rem 1.4rem; overflow-y: auto; }
.acc-editor__note { margin-top: 0.8rem; font-size: 0.86rem; background: var(--cream); border-radius: 12px; padding: 0.7rem 0.9rem; color: var(--text); }
.acc-editor textarea { resize: vertical; min-height: 120px; }
.acc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.acc-editor .field-label { margin-top: 1.2rem; }
.acc-amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.4rem; }
.acc-editor__body .acc-amenities label { display: flex; align-items: center; gap: 0.5rem; border: 1.5px solid var(--line); border-radius: 12px; padding: 0.5rem 0.7rem; font-size: 0.86rem; font-weight: 500; cursor: pointer; margin: 0; }
.acc-amenities label:has(input:checked) { border-color: var(--brand-orange); background: #fffaf2; }
.acc-amenities input { accent-color: var(--brand); width: 16px; height: 16px; }
.acc-editor .photo-grid { margin-top: 0.4rem; }
.acc-editor__body label.acc-add-photo { display: inline-flex; margin: 0.8rem 0 0; font-size: 0.84rem; }
.acc-editor .field-error { margin-top: 1rem; }
.acc-editor__foot { display: flex; align-items: center; gap: 0.6rem; padding: 1rem 1.6rem; border-top: 1px solid var(--line); background: var(--cream); }
.acc-link-btn { border: none; background: none; padding: 0; font: inherit; font-size: 0.86rem; font-weight: 700; color: var(--red); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Submit page: sign-up card + "applying as" */
.wizard-gate { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 3rem 2.4rem; text-align: center; display: grid; justify-items: center; gap: 0.7rem; }
.wizard-gate__icon { width: 64px; height: 64px; border-radius: 20px; background: var(--grad); display: grid; place-items: center; margin-bottom: 0.4rem; }
.wizard-gate__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--on-brand); stroke-width: 1.9; stroke-linecap: round; }
.wizard-gate h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.04em; max-width: 22ch; }
.wizard-gate p { color: var(--muted); max-width: 46ch; }
.wizard-gate .btn-row { justify-content: center; }
.wizard__as { margin: -0.6rem 0 1.4rem; font-size: 0.86rem; color: var(--muted); }
.wizard__as a { color: var(--brand); font-weight: 700; }

@media (max-width: 980px) {
  .acc-auth { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .acc-listing { grid-template-columns: 1fr; }
  .acc-listing__body { padding: 0 0.4rem 0.4rem; }
  .acc-grid-2 { grid-template-columns: 1fr; }
  .acc-editor { width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; }
  .acc-editor form { max-height: 100vh; height: 100%; }
  .wizard-gate { padding: 2.2rem 1.4rem; }
}

/* ---------- Inner page hero: same look as the home hero, shorter ---------- */
.page-hero.page-hero--split {
  display: block;
  min-height: 0;
  padding: 0;
  color: #fff;
  border-bottom: none;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.45) 55%, rgba(10, 10, 10, 0.15) 100%),
    var(--hero-photo, url("../img/kilimanjaro-clouds.jpg")) center 45% / cover no-repeat,
    var(--dark);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: min(calc(62vh - var(--header-h)), 480px);
  padding: 3.6rem 0 4.2rem;
}

.page-hero__text { max-width: 720px; }
.page-hero__media { display: none; }

.page-hero--split .crumbs { color: rgba(255, 255, 255, 0.7); margin-bottom: 1.3rem; }
.page-hero--split .crumbs a { color: #fff; }
.page-hero--split .crumbs a:hover { color: #fde047; }

.page-hero--split .eyebrow { color: #fcd34d; margin-bottom: 0.8rem; }

.page-hero--split .hero-hello { margin: 0; }
.page-hero--split h1, .page-hero--split .hero-hello {
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 16ch;
  margin-top: 0;
}

.page-hero--split .page-hero__text > p { margin-top: 1.1rem; max-width: 54ch; color: rgba(255, 255, 255, 0.88); font-size: clamp(1rem, 1.8vw, 1.12rem); }
.page-hero--split .btn-row { margin-top: 1.8rem; }

/* facts + stats on the photo */
.page-hero--split .hero-facts { margin-top: 1.6rem; }
.page-hero--split .hero-stats { margin-top: 2rem; padding-top: 1.4rem; }

/* the floating search bar overlaps the hero's bottom edge */
.page-hero--split + .search-wrap { margin-top: -2.2rem; }

@media (max-width: 640px) {
  .page-hero__grid { min-height: 0; padding: 2.8rem 0 3.6rem; }
  .page-hero--split h1, .page-hero--split .hero-hello { font-size: clamp(2rem, 8.5vw, 2.6rem); }
}

/* ---------- Map pin picker + listing map ---------- */
.tp-map { position: relative; }
.tp-map__canvas { width: 100%; height: 100%; border-radius: inherit; z-index: 0; }
.tp-map__fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; text-align: center; font-size: 0.86rem; color: #76736a; background: #f6f1e7; border-radius: inherit; }
.pin-map { height: 280px; border-radius: 16px; overflow: hidden; border: 1.5px solid #e6e1d6; background: #f3efe6; }
.pin-bar { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.7rem; }
.pin-bar .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pin-status { font-size: 0.84rem; font-weight: 600; color: #b45309; font-variant-numeric: tabular-nums; }
.pin-status.ok { color: #067a5f; }
.pin-clear { border: none; background: none; padding: 0; font: inherit; font-size: 0.82rem; font-weight: 700; color: #be123c; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; margin-left: auto; }

.tp-pin { background: none; border: none; }
.tp-pin__dot {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(120deg, #fde047 0%, #fbbf24 40%, #f97316 100%);
  border: 3px solid #1c1408;
  position: relative;
}
.tp-pin__dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #1c1408; }
.leaflet-container { font: inherit; }
.leaflet-control-attribution { font-size: 10px; }

.pin-field__hint { margin: -0.1rem 0 0.6rem; }
.dt-livemap { height: 320px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 0.9rem; }
.dt-map--pinned { padding-top: 1.3rem; background: var(--cream); }
.acc-editor .pin-field { margin-top: 1rem; }
@media (max-width: 640px) { .pin-map { height: 240px; } .dt-livemap { height: 240px; } }

/* ---------- Owner dashboard: sidebar + main ---------- */
/* hero: generic text when signed out, personal welcome when signed in */
.acc-hero-in { display: none; }
.acc-signed-in .acc-hero-out { display: none; }
.acc-signed-in .acc-hero-in { display: block; }
.acc-signed-in main > .section--cream { padding-top: 0; min-height: calc(100vh - var(--header-h)); }
.acc-signed-in .acc-dash { position: relative; z-index: 2; margin-top: -2.4rem; }

.acc-dash { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 2.2rem; align-items: start; }

/* Sidebar */
.ow-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1rem; }
.ow-profile { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem; display: grid; justify-items: start; gap: 0.15rem; }
.ow-avatar { width: 56px; height: 56px; border-radius: 18px; background: var(--grad); color: var(--on-brand); display: grid; place-items: center; font-size: 1.4rem; font-weight: 800; margin-bottom: 0.8rem; }
.ow-name { font-size: 1.1rem; color: var(--ink); letter-spacing: -0.02em; }
.ow-role { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-2); }
.ow-contact { list-style: none; display: grid; gap: 0.3rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); width: 100%; font-size: 0.84rem; color: var(--muted); word-break: break-all; }
.ow-contact li[hidden], .ow-contact li:empty { display: none; }

.ow-nav { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 0.5rem; display: grid; gap: 0.15rem; }
.ow-nav a { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.85rem; border-radius: 14px; font-size: 0.92rem; font-weight: 600; color: var(--text); transition: background 0.15s, color 0.15s; }
.ow-nav a:hover { background: var(--cream); color: var(--ink); }
.ow-nav a.on { background: var(--ink); color: #fff; }
.ow-nav svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ow-nav em { margin-left: auto; font-style: normal; font-size: 0.75rem; font-weight: 700; min-width: 24px; text-align: center; padding: 0.1rem 0.45rem; border-radius: var(--r-pill); background: var(--cream); color: var(--muted); }
.ow-nav a.on em { background: rgba(255, 255, 255, 0.16); color: #fff; }

.ow-help { border-radius: 22px; padding: 1.3rem 1.4rem; background: var(--grad); color: var(--on-brand); }
.ow-help strong { font-size: 1rem; }
.ow-help p { margin-top: 0.3rem; font-size: 0.84rem; color: rgba(28, 20, 8, 0.78); }
.ow-help a { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.9rem; font-size: 0.86rem; font-weight: 700; color: var(--on-brand); border-bottom: 1.5px solid rgba(28, 20, 8, 0.4); }
.ow-help svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

.ow-signout { display: flex; align-items: center; justify-content: center; gap: 0.5rem; border: 1px solid var(--line); background: var(--white); border-radius: 14px; padding: 0.75rem; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: color 0.15s, border-color 0.15s; }
.ow-signout:hover { color: var(--red); border-color: #f5c2cc; }
.ow-signout svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Main */

.ow-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.ow-stats > div { display: grid; align-content: start; gap: 0.2rem; padding: 1.2rem 1.35rem; }
.ow-stats > div + div { border-left: 1px solid var(--line); }
.ow-stats span { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.ow-stats strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1.15; }
.ow-stats small { font-size: 0.74rem; color: var(--muted); }

.ow-section { margin-top: 2.4rem; }
.ow-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.ow-section__head h2 { font-size: 1.25rem; letter-spacing: -0.03em; color: var(--ink); }
.link-more { font-size: 0.86rem; font-weight: 700; color: var(--brand); }
.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.acc-listing__stats { font-size: 0.8rem !important; color: var(--muted); }

/* Get started (no listings yet) */
.ow-start { display: grid; justify-items: center; gap: 0.6rem; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 2.6rem 2rem; }
.ow-start__icon { width: 60px; height: 60px; border-radius: 20px; background: var(--grad); display: grid; place-items: center; margin-bottom: 0.4rem; }
.ow-start__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--on-brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ow-start h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); letter-spacing: -0.035em; color: var(--ink); max-width: 26ch; }
.ow-start p { color: var(--muted); max-width: 44ch; }
.ow-start__steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0.8rem 0 0.6rem; }
.ow-start__steps li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.9rem 0.45rem 0.45rem; border-radius: var(--r-pill); background: var(--cream); font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.ow-start__steps span { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fde047; display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; }
.ow-start small { font-size: 0.8rem; color: var(--muted); }

/* Applications list */
.ow-apps { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.ow-app { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto 24px; gap: 1rem; align-items: center; padding: 1rem 1.3rem; transition: background 0.15s; }
.ow-app + .ow-app { border-top: 1px solid var(--line); }
.ow-app:hover { background: #fdfbf7; }
.ow-app__ref { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; color: var(--brand-2); font-variant-numeric: tabular-nums; }
.ow-app__name { display: grid; min-width: 0; }
.ow-app__name strong { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ow-app__name small { font-size: 0.8rem; color: var(--muted); }
.ow-app__go { color: var(--muted); font-weight: 700; transition: transform 0.2s, color 0.2s; }
.ow-app:hover .ow-app__go { color: var(--brand); transform: translateX(3px); }
.ow-none { padding: 1.4rem; text-align: center; color: var(--muted); font-size: 0.92rem; }

@media (max-width: 980px) {
  .acc-dash { grid-template-columns: 1fr; gap: 1.6rem; }
  .ow-main { order: -1; }
  .ow-nav { display: none; }
  .ow-side { position: static; grid-template-columns: 1fr 1fr; }
  .ow-profile { grid-column: 1 / -1; grid-template-columns: auto 1fr; column-gap: 1rem; }
  .ow-profile .ow-avatar { grid-row: span 2; margin: 0; }
  .ow-profile .ow-contact { grid-column: 1 / -1; }
  .ow-nav { grid-column: 1 / -1; grid-auto-flow: column; overflow-x: auto; }
  .ow-nav a { white-space: nowrap; }
  .ow-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ow-stats > div:nth-child(3) { border-left: none; }
  .ow-stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ow-side .ow-help, .ow-side .ow-signout { order: 5; }
}

@media (max-width: 640px) {
  .ow-side { grid-template-columns: 1fr; }
  .ow-app { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.3rem; }
  .ow-app__ref { grid-column: 1 / -1; }
  .ow-app__go { display: none; }
  .ow-start { padding: 2rem 1.3rem; }
}

/* ---------- Shortlist (saved listings) ---------- */
.main-nav a.nav-saved { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-saved svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.nav-saved em { font-style: normal; min-width: 18px; height: 18px; padding: 0 0.3rem; border-radius: 9px; background: var(--grad); color: var(--on-brand); font-size: 0.7rem; font-weight: 800; display: inline-grid; place-items: center; }
.nav-saved em[hidden] { display: none; }
@media (min-width: 1241px) { .nav-saved__label { display: none; } }

.save-btn { display: inline-grid; place-items: center; cursor: pointer; transition: transform 0.2s; }
.save-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; transition: fill 0.2s, stroke 0.2s; }
.save-btn.on svg { fill: #f97316; stroke: #f97316; }
.save-btn:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
.save-btn.pop { animation: heart-pop 0.35s ease; }
@keyframes heart-pop { 50% { transform: scale(1.3); } }
.save-btn--card { position: absolute; top: 0.7rem; right: 0.7rem; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--ink); backdrop-filter: blur(6px); }
.save-btn--card:hover { transform: scale(1.08); }

.lcard__featured { position: absolute; left: 0.75rem; bottom: 0.75rem; z-index: 2; background: var(--grad); color: var(--on-brand); font-size: 0.72rem; font-weight: 800; border-radius: var(--r-pill); padding: 0.3rem 0.7rem; }
.lcard__stars { margin-left: auto; color: var(--star); font-weight: 700; }
.lcard__loc { width: 100%; }
.lcard__dist { display: inline-block; margin-top: 0.35rem; font-size: 0.78rem; font-weight: 600; color: var(--brand-2); }

.dt-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.dt-save { color: var(--ink); }
.dt-save.on { border-color: #f97316; background: #fff7ef; }

.saved-empty { display: grid; justify-items: center; gap: 0.6rem; text-align: center; background: var(--white); border: 1px dashed #d9cfbd; border-radius: 24px; padding: 3rem 1.5rem; }
.saved-empty__icon { width: 64px; height: 64px; border-radius: 20px; background: var(--grad); display: grid; place-items: center; }
.saved-empty__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--on-brand); stroke-width: 2; stroke-linejoin: round; }
.saved-empty h2 { font-size: 1.5rem; letter-spacing: -0.035em; }
.saved-empty p { color: var(--muted); max-width: 44ch; }

/* ---------- Results tools: filters, list/map, sort ---------- */
.results-tools { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.tool-btn { display: inline-flex; align-items: center; gap: 0.45rem; border: 1.5px solid var(--line); background: var(--white); border-radius: var(--r-pill); padding: 0.55rem 1rem; font: inherit; font-size: 0.86rem; font-weight: 700; color: var(--ink); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.tool-btn:hover, .tool-btn.on { border-color: var(--ink); }
.tool-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tool-btn em { font-style: normal; min-width: 20px; height: 20px; border-radius: 10px; background: var(--grad); color: var(--on-brand); font-size: 0.72rem; font-weight: 800; display: inline-grid; place-items: center; padding: 0 0.3rem; }
.tool-btn em[hidden] { display: none; }
.tool-btn--danger { color: var(--red); }
.tool-btn--danger:hover { border-color: var(--red); }
.view-toggle { display: inline-flex; padding: 3px; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--white); }
.view-toggle button { display: inline-flex; align-items: center; gap: 0.35rem; border: none; background: transparent; border-radius: var(--r-pill); padding: 0.42rem 0.85rem; font: inherit; font-size: 0.84rem; font-weight: 700; color: var(--muted); cursor: pointer; }
.view-toggle button.on { background: var(--ink); color: #fff; }
.view-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.sort select option[hidden] { display: none; }

.filter-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 2rem; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem 1.6rem; margin: -0.8rem 0 2rem; animation: panel-in 0.3s ease; }
.fp-group--wide { grid-column: 1 / -1; }
.fp-label { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.fp-price { display: flex; align-items: center; gap: 0.5rem; }
.fp-price input { width: 100%; min-width: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: 0.55rem 0.8rem; font: inherit; background: var(--cream); outline: none; }
.fp-price input:focus { border-color: var(--brand-orange); background: var(--white); }
.fp-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.fp-chips button { border: 1.5px solid var(--line); background: var(--white); border-radius: var(--r-pill); padding: 0.4rem 0.85rem; font: inherit; font-size: 0.84rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: all 0.15s; }
.fp-chips button:hover { border-color: #cfc6b5; }
.fp-chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.fp-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.fp-check { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; cursor: pointer; }
.fp-check input { width: 17px; height: 17px; accent-color: var(--brand); }
.fp-clear { border: none; background: none; font: inherit; font-size: 0.86rem; font-weight: 700; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.results-map { height: min(68vh, 620px); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 1rem; position: relative; }
.tp-map__note { position: absolute; left: 1rem; bottom: 1rem; z-index: 500; background: rgba(255, 255, 255, 0.95); border-radius: var(--r-pill); padding: 0.4rem 0.9rem; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.tp-stadium { background: none; border: none; }
.tp-stadium span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #1c1408; border: 3px solid #fbbf24; font-size: 1.1rem; }
.map-pop { display: grid; grid-template-columns: 72px 1fr; gap: 0.7rem; align-items: center; color: var(--ink) !important; text-decoration: none; }
.map-pop img { width: 72px; height: 56px; object-fit: cover; border-radius: 10px; }
.map-pop span { display: grid; gap: 0.1rem; }
.map-pop small { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-2); }
.map-pop strong { font-size: 0.92rem; line-height: 1.25; }
.map-pop em { font-style: normal; font-size: 0.8rem; color: var(--muted); }
.map-pop:not(:has(img)) { grid-template-columns: 1fr; }

/* ---------- AFCON page ---------- */
.page-hero--afcon { --hero-photo: url("../img/kilimanjaro-clouds.jpg"); }
.page-hero--saved { --hero-photo: url("../img/hotel-room.jpg"); }
.countdown { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.7rem; margin-top: 1.8rem; }
.countdown > div { min-width: 92px; text-align: center; padding: 0.8rem 0.9rem; border-radius: 18px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px); }
.countdown strong { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: #fde047; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.8); }
.countdown p { flex-basis: 100%; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }
.countdown.is-live p { font-size: 1.1rem; font-weight: 700; color: #fde047; }

.af-stadium { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; }
.af-stadium__addr { margin-top: 0.6rem; color: var(--muted); font-size: 1.02rem; }
.af-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.4rem 0 0.4rem; }
.af-facts li { background: var(--cream); border-radius: 16px; padding: 0.8rem 1.1rem; display: grid; }
.af-facts strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.af-facts span { font-size: 0.8rem; color: var(--muted); }
.af-stadium .btn-row { margin-top: 1.6rem; }
.af-stadium__map { height: 380px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }

.fixtures { display: grid; gap: 1.2rem; }
.fixture-day h3 { font-size: 0.86rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 0.6rem; }
.fixture { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 1rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.3rem; }
.fixture + .fixture { margin-top: 0.5rem; }
.fixture__time { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.fixture__teams { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; font-size: 1.05rem; color: var(--ink); }
.fixture__teams em { font-style: normal; font-size: 0.8rem; color: var(--muted); font-weight: 700; }
.fixture__meta { font-size: 0.82rem; color: var(--muted); text-align: right; }
.fixtures__none { background: var(--white); border: 1px dashed #d9cfbd; border-radius: 22px; padding: 2rem; text-align: center; }
.fixtures__none strong { display: block; font-size: 1.15rem; color: var(--ink); }
.fixtures__none p { margin-top: 0.4rem; color: var(--muted); max-width: 56ch; margin-inline: auto; }

/* ---------- Featured (paid) for owners ---------- */
.pf-btn { background: #fff7ec; color: #9a3412; border-color: #fcd9b4; }
.pf-btn:hover { background: #ffedd5; }
.acc-note--featured { background: #fff7ec; color: #9a3412; font-weight: 600; }
.pf-why { margin-top: 0.8rem; font-size: 0.9rem; background: var(--cream); border-radius: 12px; padding: 0.7rem 0.9rem; }
.pf-dialog .field-label { margin-top: 1.2rem; }
.pf-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.6rem; }
.acc-editor__body .pf-plan { position: relative; display: grid; gap: 0.2rem; margin: 0; padding: 1rem; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.pf-plan input { position: absolute; opacity: 0; pointer-events: none; }
.pf-plan__days { font-size: 0.86rem; color: var(--muted); font-weight: 600; }
.pf-plan strong { font-size: 1.25rem; color: var(--ink); letter-spacing: -0.03em; }
.pf-plan:has(input:checked) { border-color: var(--brand-orange); background: #fffaf2; }
.pf-plan:has(input:focus-visible) { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
.pf-pay__box { display: grid; gap: 0.15rem; background: var(--dark); color: #fff; border-radius: 16px; padding: 1rem 1.2rem; }
.pf-pay__box span { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #fcd34d; }
.pf-pay__box strong { font-size: 1.5rem; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.pf-pay__box em { font-style: normal; font-size: 0.86rem; color: rgba(255, 255, 255, 0.75); }
#pfCode { text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }

@media (max-width: 980px) {
  .filter-panel { grid-template-columns: 1fr 1fr; }
  .af-stadium { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .filter-panel { grid-template-columns: 1fr; padding: 1.2rem; }
  .results-tools { width: 100%; }
  .results-map { height: 60vh; }
  .fixture { grid-template-columns: 56px minmax(0, 1fr); }
  .fixture__meta { grid-column: 1 / -1; text-align: left; }
  .countdown > div { min-width: 76px; }
  .af-stadium__map { height: 280px; }
}

/* ---------- Footer (dark with brand glow) ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  color: #e9e1d2;
  padding: 4.5rem 0 1.6rem;
  background:
    radial-gradient(640px 360px at 100% 0%, rgba(249, 115, 22, 0.32), transparent 65%),
    radial-gradient(560px 320px at 0% 100%, rgba(253, 224, 71, 0.12), transparent 62%),
    var(--dark);
}

/* Tanzanian flag stripe: green, gold, black, gold, blue */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg,
    #1eb53a 0 38%, #fcd116 38% 42%, #111 42% 58%, #fcd116 58% 62%, #00a3dd 62% 100%);
}

.footer-ico { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Columns */
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 2.5rem;
}

.footer-brand .logo { display: inline-flex; color: #fff; margin-bottom: 1rem; }
.footer-brand .logo .accent { color: var(--brand-orange); }
.footer-brand .logo-mark { background: #2a2217; box-shadow: inset 0 0 0 1px rgba(252, 209, 22, 0.25); }
.footer-brand p { font-size: 0.94rem; color: rgba(233, 225, 210, 0.72); max-width: 34ch; line-height: 1.65; }

.footer-grid h4, .footer-grid .footer-title { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #fcd34d; margin-bottom: 1.1rem; }

.footer-grid nav a {
  display: table;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(233, 225, 210, 0.85);
  background: var(--grad) left bottom / 0 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.25s ease, color 0.2s;
}

.footer-grid nav a:hover { color: #fff; background-size: 100% 1.5px; }

.footer-contact { display: grid; gap: 0.55rem; justify-items: start; }
.footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  font-weight: 500;
  color: #f3ecdf;
  transition: background 0.2s, border-color 0.2s;
  word-break: break-all;
}

.footer-chip .footer-ico { color: #fcd34d; }
a.footer-chip:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(252, 211, 77, 0.4); }

/* Wordmark: slow gradient shimmer, rises in when the footer scrolls into view */
.footer-mark {
  margin-top: 3rem;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  background: linear-gradient(90deg, #fde047, #fbbf24 25%, #f97316 50%, #fbbf24 75%, #fde047) 0 0 / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.55;
  animation: mark-shimmer 8s linear infinite;
}

.footer-mark.will-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.footer-mark.will-reveal.in { opacity: 0.55; transform: none; }

@keyframes mark-shimmer {
  to { background-position: 200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-mark { animation: none; }
  .footer-mark.will-reveal { opacity: 0.55; transform: none; transition: none; }
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  color: rgba(233, 225, 210, 0.6);
}

.footer-lang { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.footer-lang button { border: none; background: transparent; border-radius: var(--r-pill); padding: 0.35rem 0.9rem; font: inherit; font-size: 0.82rem; font-weight: 700; color: rgba(233, 225, 210, 0.7); cursor: pointer; }
.footer-lang button:hover { color: #fff; }
.footer-lang button.on { background: var(--grad); color: var(--on-brand); }

.footer-top { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; color: #f3ecdf; }
.footer-top:hover { color: #fff; }
.footer-top .footer-ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--grad); color: var(--on-brand); transition: transform 0.2s; }
.footer-top:hover .footer-ico { transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
  .main-nav a { padding: 0.5rem 0.56rem; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.4rem; min-height: 0; padding: 4rem 0; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .photo-card--lg { grid-column: span 2; grid-row: span 1; }
  .why-grid { grid-template-columns: 1fr; }
  .expert, .match { grid-template-columns: 1fr; }
  .match__media { aspect-ratio: 16 / 10; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 1240px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 4%;
    gap: 0.3rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.75rem 0.9rem; font-size: 0.95rem; }
  .main-nav a.active { background: var(--cream); }
  .main-nav a.active::after { display: none; }
  .main-nav a.nav-cta { margin-left: 0; text-align: center; }
  .lang-toggle { margin-left: 0; align-self: flex-start; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  main > section { padding: 3.5rem 0; }
  .hero__grid { padding: 3rem 0; }
  .planner { padding: 1.5rem; }
  .guide-grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .photo-card--lg { grid-column: span 1; }
  .photo-card:not(.photo-card--lg) p { display: none; }
  .expert { padding: 1.6rem; }
  .ring-art { max-width: min(340px, 86%); }
  .ring-art__badge { padding: 0.55rem 0.85rem; }
  .ring-art__badge strong { font-size: 0.9rem; }
  .search-bar { grid-template-columns: 1fr; border-radius: var(--r-lg); }
  .owner-cta { padding: 2rem 1.5rem; }
  .page-hero { padding: 4rem 0 5rem; }
}

/* ---------- About page responsive ---------- */
@media (max-width: 980px) {
  .about-intro, .about-road, .about-faq { grid-template-columns: 1fr; gap: 2.4rem; }
  .facts { left: 1rem; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-item:nth-child(3) { padding-left: 0; border-left: none; }
  .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .facts { position: static; width: 100%; margin-top: -2.5rem; position: relative; margin-left: 0; }
  .about-intro__media { padding-bottom: 0; }
  .values { grid-template-columns: 1fr; }
  .value-item, .value-item + .value-item { padding: 1.4rem 0 0.4rem; border-left: none; }
  .value-item + .value-item { border-top: 1px solid var(--line); }
  .dest-grid, .who-grid, .steps--4 { grid-template-columns: 1fr; }
  .dest-grid .photo-card { min-height: 240px; }
  .photo-card--who { min-height: 340px; padding: 1.6rem; }
}

/* ---------- Directory pages responsive ---------- */
@media (max-width: 1100px) {
  .cat-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .assure, .tips { grid-template-columns: 1fr; gap: 1.2rem; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hero-stats { gap: 1rem 1.8rem; }
  .hero-stats strong { font-size: 1.7rem; }
  .cat-rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(200px, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.4rem; }
  .rail-item { scroll-snap-align: start; }
  .search-bar--premium, .search-bar--compact { grid-template-columns: 1fr; }
  .search-bar__icon { display: none; }
  .search-bar--premium input { background: var(--cream); padding-left: 1.25rem; }
  .results-bar { align-items: flex-start; }
  .groups { gap: 3rem; }
  .more-grid .photo-card { min-height: 200px; }
}

/* ---------- Footer responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .site-footer { padding-top: 3.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.2rem; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-mark { margin-top: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Wizard responsive ---------- */
@media (max-width: 980px) {
  .wizard-layout { grid-template-columns: 1fr; }
  .wizard-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .wizard { padding: 1.8rem 1.2rem 1.4rem; border-radius: 22px; }
  .wizard__steps li em { display: none; }
  .wizard__steps li { padding-right: 0.35rem; }
  .wizard__steps li.on em { display: inline; }
  .wizard__steps li.on { padding-right: 0.85rem; }
  .type-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .review div { grid-template-columns: 1fr auto; }
  .review dd { grid-column: 1 / -1; grid-row: 2; }
  .wizard-side { grid-template-columns: 1fr; }
  .wizard__nav .btn { padding: 0.8rem 1.2rem; }
}

/* ---------- Tour guides ---------- */
.page-hero--guides { --hero-photo: url("../img/kilimanjaro-hike.jpg"); }
.page-hero--guide { --hero-photo: url("../img/safari-vehicle.jpg"); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
.guide-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 0.6rem; transition: border-color 0.2s, transform 0.2s; }
.guide-card:hover { border-color: rgba(249, 115, 22, 0.4); transform: translateY(-3px); }
.guide-card__photo { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: var(--grad); display: grid; place-items: center; }
.guide-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.guide-card__initials { font-size: 3rem; font-weight: 800; color: var(--on-brand); letter-spacing: -0.04em; }
.guide-badge { position: absolute; left: 0.7rem; bottom: 0.7rem; display: inline-flex; align-items: center; gap: 0.35rem; background: rgba(255, 255, 255, 0.95); color: #067a5f; border-radius: var(--r-pill); padding: 0.3rem 0.7rem 0.3rem 0.5rem; font-size: 0.76rem; font-weight: 700; }
.guide-badge svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.guide-card__body { display: flex; flex-direction: column; gap: 0.45rem; padding: 1rem 0.7rem 0.7rem; flex: 1; }
.guide-card h3 { font-size: 1.2rem; letter-spacing: -0.03em; }
.guide-card__years { font-size: 0.9rem; font-weight: 600; color: var(--brand); }
.guide-card__langs { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.guide-card__langs span { font-size: 0.76rem; font-weight: 600; background: var(--cream); border-radius: var(--r-pill); padding: 0.2rem 0.6rem; color: var(--text); }
.guide-card__lic { font-size: 0.8rem; color: var(--muted); }
.guide-card__lic b { color: var(--text); font-weight: 600; }
.guide-card__body > .btn { margin-top: auto; width: 100%; }
.guide-card__lic + .btn { margin-top: auto; }

.guide-join { margin-top: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: #14110d; color: #fff; border-radius: 26px; padding: 2.2rem 2.4rem; position: relative; overflow: hidden; }
.guide-join::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 191, 36, 0.35), transparent 70%); pointer-events: none; }
.guide-join h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.04em; color: #fff; max-width: 24ch; }
.guide-join p { color: rgba(255, 255, 255, 0.72); margin-top: 0.4rem; max-width: 52ch; }
.guide-join .eyebrow { color: #fbbf24; }
.guide-join .btn { position: relative; z-index: 1; }

.gi-dialog { width: min(600px, 96vw); }
.gi-dialog textarea { min-height: 110px; }
.gi-done { display: grid; justify-items: center; text-align: center; gap: 0.5rem; padding: 2.2rem 1.6rem; }
.gi-done[hidden] { display: none; }
.gi-done__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--grad); color: var(--on-brand); display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; }
.gi-done h3 { font-size: 1.3rem; }
.gi-done p { color: var(--muted); }

/* register form */
.gp-photo { display: flex; align-items: center; gap: 1rem; }
.gp-photo__preview { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--cream); border: 2px dashed #d9cfbd; display: grid; place-items: center; overflow: hidden; }
.gp-photo__preview svg { width: 32px; height: 32px; fill: none; stroke: #b8ab95; stroke-width: 1.8; }
.gp-photo__preview.has-photo { border: 2px solid var(--brand-orange); }
.gp-photo__preview img { width: 100%; height: 100%; object-fit: cover; }
.gp-photo .field-hint { margin-top: 0.35rem; }
.acc-form .btn.btn-sm { width: auto; margin-top: 0; display: inline-flex; align-items: center; gap: 0.4rem; }
.acc-form .btn-sm svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.acc-form .field-label { display: block; font-size: 0.84rem; font-weight: 700; color: var(--ink); margin: 1rem 0 0.45rem; }
.gp-langs { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.acc-form .gp-langs label { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0; border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 0.35rem 0.75rem; font-size: 0.82rem; font-weight: 600; cursor: pointer; }
.acc-form .gp-langs label:has(input:checked) { border-color: var(--brand-orange); background: #fffaf2; }
.acc-form .gp-langs input { width: 14px; height: 14px; accent-color: var(--brand); margin: 0; padding: 0; }
.gp-file { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.gp-file__name { font-size: 0.84rem; font-weight: 600; color: #067a5f; word-break: break-all; }
.acc-form label.gp-check { display: flex; align-items: flex-start; gap: 0.55rem; font-weight: 500; margin-top: 1.1rem; cursor: pointer; }
.acc-form .gp-check input { width: 17px; height: 17px; margin: 0.1rem 0 0; padding: 0; accent-color: var(--brand); flex: none; }

/* dashboard */
.gp-dash { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.gp-dash[hidden] { display: none; }
.acc-signed-in .gp-dash { position: relative; z-index: 2; margin-top: -2.4rem; }
.gp-profile { display: grid; justify-items: start; gap: 0.7rem; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 1.5rem; }
.gp-profile__photo { width: 96px; height: 96px; border-radius: 26px; overflow: hidden; background: var(--grad); }
.gp-profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.gp-profile__name { font-size: 1.25rem; letter-spacing: -0.03em; color: var(--ink); }
.gp-profile__facts { width: 100%; display: grid; gap: 0.6rem; border-top: 1px solid var(--line); padding-top: 0.9rem; margin-top: 0.2rem; }
.gp-profile__facts dt { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.gp-profile__facts dd { font-size: 0.92rem; color: var(--ink); word-break: break-word; }
.gp-profile .btn, .gp-profile .ow-signout { width: 100%; }
.gp-main { display: grid; gap: 1.2rem; }
.gp-status { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-radius: 22px; padding: 1.4rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-left: 6px solid #f59e0b; }
.gp-status h2 { font-size: 1.2rem; letter-spacing: -0.03em; }
.gp-status p { color: var(--muted); font-size: 0.92rem; margin-top: 0.25rem; max-width: 60ch; }
.gp-status .gp-status__note { color: var(--text); background: var(--cream); border-radius: 12px; padding: 0.55rem 0.8rem; margin-top: 0.7rem; }
.gp-status--approved { border-left-color: #10b981; }
.gp-status--rejected, .gp-status--suspended { border-left-color: #e11d48; }
.gp-inbox { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 1.5rem; }
.gp-inbox__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.gp-inbox__head h2 { font-size: 1.3rem; letter-spacing: -0.03em; }
.gp-filter { margin: 0; min-width: 180px; }
.gp-list { display: grid; gap: 0.8rem; }
.gp-item { border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.2rem; display: grid; gap: 0.6rem; }
.gp-item.is-done { background: var(--cream); }
.gp-item.is-done .gp-item__msg { color: var(--muted); }
.gp-item__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.gp-item__top strong { display: block; color: var(--ink); font-size: 1.02rem; }
.gp-item__top span:not(.status-pill) { font-size: 0.8rem; color: var(--muted); }
.gp-item__facts { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.86rem; font-weight: 600; color: var(--text); }
.gp-item__msg { white-space: pre-line; color: var(--text); font-size: 0.94rem; }
.gp-item__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.gp-item__toggle { margin-left: auto; color: var(--muted); }
.gp-empty { text-align: center; border: 1px dashed #d9cfbd; border-radius: 18px; padding: 2.2rem 1rem; }
.gp-empty strong { color: var(--ink); }
.gp-empty p { color: var(--muted); font-size: 0.9rem; margin-top: 0.3rem; }

@media (max-width: 900px) {
  .gp-dash { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .guide-join { padding: 1.8rem 1.4rem; }
  .gp-inbox { padding: 1.1rem; }
  .gp-inbox__head { flex-direction: column; align-items: stretch; }
  .gp-item__toggle { margin-left: 0; }
}
@media (min-width: 981px) {
  #gpAuth .acc-auth__why { position: sticky; top: calc(var(--header-h, 73px) + 2rem); }
}

/* ---------- Owner + guide profiles, visitor requests ---------- */
.acc-form select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 2.4rem 0.8rem 1rem;
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6358' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.9rem center / 18px;
  appearance: none;
  outline: none;
  cursor: pointer;
}
.acc-form select:focus { border-color: var(--brand-orange); background-color: var(--white); box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14); }
.acc-form__step { margin: 1.4rem 0 -0.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-2, #c2410c); }
.acc-form > .acc-form__step:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.acc-form .acc-grid-2 > div > label { margin-top: 0.9rem; }

.pr-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.pr-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem; }
.gp-inbox .pr-card { background: var(--white); }
.pr-ok { margin-top: 0.7rem; font-size: 0.86rem; font-weight: 700; color: #067a5f; }
.pr-ok[hidden] { display: none; }
.ge-note { font-size: 0.88rem; color: var(--muted); margin: -0.3rem 0 1rem; max-width: 70ch; }
#gp-details { margin-top: 0; }

.dt-book .dt-book__req { margin-top: 0.1rem; }
.dt-bar__btns { display: flex; gap: 0.5rem; }

@media (max-width: 900px) {
  .pr-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pr-card { padding: 1.2rem; }
  .dt-bar .dt-bar__btns .btn { padding: 0.75rem 0.95rem; }
}
@media (min-width: 981px) {
  #accAuth .acc-auth__why { position: sticky; top: calc(var(--header-h, 73px) + 2rem); }
}
@media (max-width: 440px) {
  .dt-bar__price small:last-child { display: none; }
  .dt-bar__price { white-space: nowrap; }
}

/* ---------- Reviews ---------- */
.stars { display: inline-flex; gap: 1px; font-size: 1rem; line-height: 1; }
.stars i { font-style: normal; color: #e5ded2; }
.stars i.on { color: #f59e0b; }
.stars--sm { font-size: 0.85rem; }
.lcard__stars small { font-weight: 600; color: var(--muted); }
.rv-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.rv-head h2 { margin: 0; }
.rv-score { display: inline-flex; align-items: center; gap: 0.55rem; }
.rv-score strong { font-size: 1.6rem; letter-spacing: -0.03em; color: var(--ink); }
.rv-score span:last-child { font-size: 0.86rem; color: var(--muted); }
.rv-write { margin-top: 1rem; display: inline-flex; }
.rv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.9rem; margin-top: 1.2rem; }
.rv-item { background: var(--cream); border-radius: 18px; padding: 1.1rem 1.2rem; display: grid; gap: 0.6rem; align-content: start; }
.rv-item__top { display: grid; grid-template-columns: auto 1fr auto; gap: 0.7rem; align-items: center; }
.rv-item__top strong { display: block; color: var(--ink); font-size: 0.95rem; }
.rv-item__top small { color: var(--muted); font-size: 0.78rem; }
.rv-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: var(--on-brand); display: grid; place-items: center; font-weight: 800; }
.rv-item p { color: var(--text); font-size: 0.93rem; white-space: pre-line; }
.rv-empty { color: var(--muted); margin-top: 0.8rem; font-size: 0.93rem; }
.dt-meta__rating a { color: var(--muted); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-left: 0.2rem; }

/* review page */
.page-hero--review { --hero-photo: url("../img/giraffes-kilimanjaro.jpg"); }
.page-hero--articles { --hero-photo: url("../img/mount-meru.jpg"); }
.rv-wrap { display: grid; justify-items: center; }
.rv-card { width: min(560px, 100%); background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 2rem; }
.rv-card--center { display: grid; justify-items: center; text-align: center; gap: 0.7rem; }
.rv-card--center p { color: var(--muted); max-width: 42ch; }
.rv-card__target { font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -0.04em; margin: 0.2rem 0 0.4rem; }
.rv-pick { display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; }
.rv-pick button { border: none; background: none; font-size: 2.3rem; line-height: 1; color: #e5ded2; cursor: pointer; padding: 0.1rem; transition: transform 0.12s, color 0.12s; }
.rv-pick button:hover { transform: scale(1.12); }
.rv-pick button.on { color: #f59e0b; }
.rv-pick span { margin-left: 0.5rem; font-size: 0.9rem; font-weight: 700; color: var(--text); }
.acc-form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 0.8rem 1rem; font: inherit; font-size: 0.97rem; color: var(--ink); background: var(--cream); outline: none; resize: vertical; min-height: 110px; }
.acc-form textarea:focus { border-color: var(--brand-orange); background: var(--white); box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14); }
.acc-form__lead { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.4rem; }
.acc-link-btn--brand { color: var(--brand); text-decoration: none; }
.acc-link-btn--brand:hover { text-decoration: underline; }

/* guide cards: title row, specialties, links */
.guide-card__title { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; }
.guide-card h3 a { color: inherit; }
.guide-card h3 a:hover { color: var(--brand); }
.guide-card__rating { font-size: 0.86rem; font-weight: 700; color: #b45309; white-space: nowrap; }
.guide-card__rating small { color: var(--muted); font-weight: 600; }
.guide-card__spec { font-size: 0.82rem; color: var(--text); }
.guide-card__btns { margin-top: auto; padding-top: 0.6rem; display: grid; gap: 0.5rem; justify-items: center; }
.guide-card__btns .btn { width: 100%; }
.guide-card__more { font-size: 0.86rem; font-weight: 700; color: var(--brand); }
.guide-card__more:hover { text-decoration: underline; text-underline-offset: 3px; }
a.guide-card__photo { display: grid; }

/* guide profile page */
.tg-loading { padding: 6rem 0; }
.tg-head { background: var(--cream); padding: 2.6rem 0 3rem; }
.tg-head__grid { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); gap: 2.6rem; align-items: center; }
.tg-photo { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--grad); display: grid; place-items: center; }
.tg-photo img { width: 100%; height: 100%; object-fit: cover; }
.tg-back { display: inline-block; font-size: 0.86rem; font-weight: 700; color: var(--muted); margin-bottom: 1rem; }
.tg-back:hover { color: var(--ink); }
.tg-intro h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.05em; line-height: 1.02; margin: 0.3rem 0 1rem; }
.tg-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; }
.guide-badge--inline { position: static; background: #e7f5f0; }
.tg-years { font-weight: 700; color: var(--brand); }
.tg-rating { font-weight: 800; color: #b45309; }
.tg-rating span { font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.tg-langs { margin-top: 1rem; }
.tg-langs span { background: var(--white); font-size: 0.82rem; padding: 0.3rem 0.75rem; }
.tg-actions { margin-top: 1.6rem; }
.tg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.6rem; align-items: start; }
.tg-bio { font-size: 1.05rem; line-height: 1.7; color: var(--text); white-space: pre-line; }
.tg-spec { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.6rem; }
.tg-spec li { display: flex; align-items: center; gap: 0.7rem; background: var(--cream); border-radius: 14px; padding: 0.75rem 0.9rem; font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.tg-spec svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--brand-orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tg-card { position: sticky; top: calc(var(--header-h, 73px) + 1.5rem); background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 1.5rem; display: grid; gap: 1rem; }
.tg-card h3 { font-size: 1.2rem; letter-spacing: -0.03em; }
.tg-card dl { display: grid; gap: 0.7rem; }
.tg-card dt { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.tg-card dd { font-weight: 600; color: var(--ink); }
.tg-card .btn { width: 100%; }
.tg-card p { font-size: 0.82rem; color: var(--muted); }

@media (max-width: 900px) {
  .tg-head__grid, .tg-layout { grid-template-columns: 1fr; }
  .tg-photo { max-width: 320px; }
  .tg-card { position: static; }
}
@media (max-width: 600px) {
  .rv-card { padding: 1.4rem; }
  .tg-head { padding: 1.6rem 0 2rem; }
}

/* ---------- Search panel: stands on its own below the hero ---------- */
.search-wrap { margin-top: 0; padding-top: 2.2rem; position: relative; z-index: 2; }
.search-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(200px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 1.2rem 2rem;
  background: var(--grad);
  border-radius: 28px;
  padding: 1.5rem 1.6rem 1.5rem 2rem;
  isolation: isolate;
}
.search-panel::before {
  content: "";
  position: absolute;
  inset: auto -60px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 65%);
  z-index: -1;
}
.search-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 80' fill='none' stroke='%2314110d' stroke-opacity='0.07' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 40h120l20-30 30 60 25-45 15 15h190'/%3E%3C/svg%3E") no-repeat right 6% center / 420px auto;
  z-index: -1;
  pointer-events: none;
}
.search-panel__eyebrow { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(20, 17, 13, 0.62); }
.search-panel h2 { margin-top: 0.25rem; font-size: clamp(1.25rem, 2.2vw, 1.65rem); letter-spacing: -0.04em; line-height: 1.1; color: var(--on-brand); white-space: nowrap; }

.search-panel .search-bar {
  background: var(--white);
  border: none;
  border-radius: 20px;
  padding: 0.45rem;
  gap: 0.35rem;
  box-shadow: 0 0 0 1px rgba(20, 17, 13, 0.06);
  transition: box-shadow 0.2s;
}
.search-panel .search-bar:focus-within { box-shadow: 0 0 0 3px rgba(20, 17, 13, 0.85); }
.search-panel .search-bar__icon { width: 44px; color: var(--brand-orange); }
.search-panel .search-bar__icon svg { width: 21px; height: 21px; stroke-width: 2.2; }
.search-panel .search-bar input { font-size: 1.02rem; padding: 0.95rem 0.6rem 0.95rem 0; color: var(--ink); }
.search-panel .search-bar input::placeholder { color: #9a9184; }
.search-panel .search-bar select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6358' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.95rem center / 16px;
  border-radius: 14px;
  padding: 0.85rem 2.6rem 0.85rem 1.1rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.search-panel .search-bar select:focus { box-shadow: inset 0 0 0 2px var(--brand-orange); background-color: var(--white); }
.search-bar__go {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  padding: 0.9rem 1.6rem;
  font-weight: 700;
  border: none;
  transition: background 0.2s, transform 0.2s;
}
.search-bar__go:hover { background: #2a2620; transform: translateY(-1px); }
.search-bar__go svg { width: 18px; height: 18px; fill: none; stroke: #fde047; stroke-width: 2.4; stroke-linecap: round; }

@media (max-width: 980px) {
  .search-panel { grid-template-columns: 1fr; padding: 1.4rem; }
  .search-panel h2 { white-space: normal; }
}
@media (max-width: 640px) {
  .search-wrap { padding-top: 1.4rem; }
  .search-panel { border-radius: 22px; padding: 1.2rem; }
  .search-panel .search-bar { border-radius: 16px; padding: 0.4rem; }
  .search-panel .search-bar input { background: var(--cream); padding: 0.9rem 1rem; border-radius: 12px; }
  .search-panel .search-bar select { width: 100%; }
  .search-bar__go { justify-content: center; width: 100%; }
}
.search-panel .search-bar--compact { max-width: none; }
.page-hero--split + .search-wrap { margin-top: 0; }
@media (max-width: 640px) { .search-panel::after { display: none; } }

/* ---------- About: our story ---------- */
.story__head { max-width: 760px; }
.story__head h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: -0.05em; line-height: 1.02; margin-top: 0.3rem; }
.story__lead { margin-top: 1.1rem; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.story__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; margin-top: 3rem; }

.story__collage { position: relative; padding: 0 0 4.5rem 0; }
.story__photo { margin: 0; overflow: hidden; border-radius: 28px; background: var(--sand); }
.story__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story__photo--main { aspect-ratio: 4 / 5; width: 82%; }
.story__photo--small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1 / 1; border: 8px solid var(--white); border-radius: 30px; }
.story__badge { position: absolute; left: 1.2rem; top: 1.2rem; display: flex; align-items: center; gap: 0.7rem; background: var(--grad); color: var(--on-brand); border-radius: 18px; padding: 0.75rem 1rem 0.75rem 0.75rem; }
.story__badge-mark { width: 38px; height: 38px; border-radius: 12px; background: #14110d; display: grid; place-items: center; flex: none; }
.story__badge-mark svg { width: 22px; height: 22px; fill: none; stroke: #fcd116; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.story__badge strong { display: block; font-size: 0.95rem; line-height: 1.2; }
.story__badge small { display: block; font-size: 0.78rem; font-weight: 600; opacity: 0.75; }

.story__steps { list-style: none; display: grid; gap: 0; margin: 0; padding: 0; position: relative; }
.story__steps li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 1.1rem; padding-bottom: 2.2rem; }
.story__steps li:last-child { padding-bottom: 0; }
.story__steps li:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 58px; bottom: 6px; width: 2px; background: linear-gradient(#fbbf24, rgba(249, 115, 22, 0.15)); border-radius: 2px; }
.story__num { width: 56px; height: 56px; border-radius: 18px; background: var(--grad); color: var(--on-brand); display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; }
.story__steps h3 { font-size: 1.3rem; letter-spacing: -0.03em; margin: 0.35rem 0 0.55rem; color: var(--ink); }
.story__steps p { color: var(--text); line-height: 1.7; font-size: 1rem; }

.glance { margin-top: clamp(3rem, 6vw, 4.5rem); background: #14110d; color: #fff; border-radius: 28px; padding: 1.8rem 2rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem 2.4rem; align-items: center; position: relative; overflow: hidden; }
.glance::after { content: ""; position: absolute; right: -90px; top: -110px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 191, 36, 0.28), transparent 70%); pointer-events: none; }
.glance__title { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #fbbf24; writing-mode: horizontal-tb; }
.glance__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.glance__grid > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 0.85rem; align-items: center; padding: 0.4rem 0; }
.glance__grid > div + div { border-left: 1px solid rgba(255, 255, 255, 0.12); padding-left: 1.2rem; }
.glance__icon { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 14px; background: rgba(251, 191, 36, 0.14); display: grid; place-items: center; }
.glance__icon svg { width: 22px; height: 22px; fill: none; stroke: #fbbf24; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.glance dt { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }
.glance dd { margin: 0; font-weight: 700; font-size: 1rem; color: #fff; }

@media (max-width: 1080px) {
  .glance { grid-template-columns: 1fr; }
  .glance__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.2rem; }
  .glance__grid > div:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__collage { max-width: 520px; }
}
@media (max-width: 560px) {
  .glance { padding: 1.4rem; border-radius: 22px; }
  .glance__grid { grid-template-columns: 1fr; }
  .glance__grid > div + div { border-left: none; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1rem; }
  .story__steps li { grid-template-columns: 44px minmax(0, 1fr); gap: 0.9rem; }
  .story__num { width: 44px; height: 44px; border-radius: 14px; font-size: 0.95rem; }
  .story__steps li:not(:last-child)::before { left: 21px; top: 46px; }
  .story__photo--small { border-width: 6px; }
}

/* AFCON campaign switch: elements marked data-afcon-only disappear when AFCON_ENABLED=false */
html[data-afcon="off"] [data-afcon-only] { display: none !important; }

/* List your business: starting price */
.price-field { display: flex; align-items: center; gap: 0.5rem; border: 1.5px solid var(--line); border-radius: 14px; background: var(--cream); padding: 0 1rem; transition: border-color 0.2s, background 0.2s; }
.price-field:focus-within { border-color: var(--brand-orange); background: var(--white); }
.price-field__cur { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.price-field input { flex: 1; min-width: 0; border: none !important; background: transparent !important; box-shadow: none !important; padding: 0.85rem 0 !important; font-size: 1.05rem; font-weight: 700; color: var(--ink); outline: none; }
.price-field__unit { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.price-field:has(input.invalid) { border-color: var(--red); }
.lcard--preview .price.is-placeholder { opacity: 0.45; }

/* ---------- Pre-launch: no zeros, honest empty states ---------- */
[data-stat-wrap][hidden], [data-count-wrap][hidden], [data-soon-for][hidden], [data-fact-wrap][hidden], [data-needs-listings][hidden] { display: none !important; }
.photo-card__count--soon, .rail-item small[data-soon-for] { font-weight: 700; letter-spacing: 0.02em; }
.photo-card__count--soon { background: var(--grad); color: var(--on-brand); }
.rail-item small[data-soon-for] { color: var(--brand); }
.rail-item.active small[data-soon-for] { color: #fcd34d; }
.hero-stats__word strong, .num-card--word strong { font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.15; letter-spacing: -0.03em; }
.launch-empty { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; gap: 0.7rem; background: var(--white); border: 1px dashed #d9cfbd; border-radius: 26px; padding: clamp(2rem, 6vw, 3.4rem) 1.4rem; }
.launch-empty__icon { width: 64px; height: 64px; border-radius: 20px; background: #14110d; display: grid; place-items: center; }
.launch-empty__icon svg { width: 32px; height: 32px; fill: none; stroke: #fcd116; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.launch-empty h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -0.04em; }
.launch-empty p { color: var(--muted); max-width: 48ch; }
.launch-empty .btn-row { justify-content: center; margin-top: 0.4rem; }
.preview.is-empty { display: none; }

/* ---------- Guides: team trip request ---------- */
.trip-match { margin-top: 2.6rem; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem 3rem; align-items: start; background: var(--cream); border-radius: 28px; padding: clamp(1.4rem, 4vw, 2.6rem); }
.trip-match__text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.04em; margin-top: 0.3rem; }
.trip-match__text p { color: var(--muted); margin-top: 0.6rem; max-width: 42ch; }
.trip-match__form { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem; }
.trip-match__form select { width: 100%; }
.trip-match__done { display: flex; align-items: center; gap: 0.9rem; margin-top: 1rem; background: #e7f5f0; border-radius: 16px; padding: 0.9rem 1rem; }
.trip-match__done[hidden] { display: none; }
.trip-match__done .gi-done__icon { width: 44px; height: 44px; font-size: 1.2rem; flex: none; }
.trip-match__done p { color: var(--text); font-size: 0.9rem; }
.saved-empty .btn { margin-top: 0.4rem; }
.af-disclaimer { margin-top: 1rem; font-size: 0.86rem; color: rgba(255, 255, 255, 0.78); max-width: 60ch; }
@media (max-width: 900px) { .trip-match { grid-template-columns: 1fr; } }

/* ---------- Header sign-in chooser ---------- */
.nav-signin { position: relative; display: inline-flex; }
.nav-signin__menu { position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 80; width: 290px; display: grid; gap: 0.2rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 0.4rem; }
.nav-signin__menu[hidden] { display: none; }
.main-nav .nav-signin__menu a { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.8rem; border-radius: 13px; color: var(--ink); white-space: normal; }
.main-nav .nav-signin__menu a::after { display: none; }
.main-nav .nav-signin__menu a:hover, .main-nav .nav-signin__menu a:focus-visible { background: var(--cream); }
.nav-signin__menu svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nav-signin__menu strong { display: block; font-size: 0.92rem; }
.nav-signin__menu small { display: block; font-size: 0.78rem; font-weight: 500; color: var(--muted); margin-top: 0.1rem; }
@media (max-width: 1240px) {
  .nav-signin { display: grid; }
  .nav-signin__menu { position: static; width: auto; margin: 0.2rem 0 0.4rem; background: var(--cream); }
}
.acc-switch { margin: 1rem 0 0; text-align: center; font-size: 0.86rem; color: var(--muted); }
.acc-switch a { color: var(--brand); font-weight: 700; }
#gpAuth .acc-switch { margin-top: 0.8rem; }

/* ---------- 404 page ---------- */
.nf { padding: clamp(3rem, 8vw, 6rem) 0; background: var(--cream); }
.nf__inner { display: grid; justify-items: center; text-align: center; gap: 1rem; max-width: 760px; }
.nf__code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.045em; }
.nf__inner > p { color: var(--muted); max-width: 48ch; }
.nf__search { width: 100%; display: flex; gap: 0.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 0.45rem; margin-top: 0.4rem; }
.nf__search input { flex: 1; min-width: 0; border: none; background: transparent; padding: 0.8rem 1rem; font: inherit; font-size: 1rem; outline: none; }
.nf__cats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; width: 100%; margin: 0.6rem 0 0; padding: 0; }
.nf__cats a { display: flex; align-items: center; gap: 0.7rem; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0.5rem; font-weight: 700; color: var(--ink); transition: border-color 0.2s; }
.nf__cats a:hover { border-color: var(--brand-orange); }
.nf__cats img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.nf__help { justify-content: center; margin-top: 0.6rem; }
@media (max-width: 640px) { .nf__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nf__search { flex-direction: column; } .nf__search .btn { justify-content: center; } }

/* Phones: grid columns may shrink below their content (no sideways scrolling) */
@media (max-width: 980px) { .acc-auth { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .gp-dash { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 380px) {
  .dt-bar { gap: 0.5rem; padding-left: 0.75rem; padding-right: 0.75rem; }
  .dt-bar__price small:first-child { display: none; }
  .dt-bar .btn { padding: 0.7rem 0.85rem; font-size: 0.86rem; }
  .dt-bar__btns { gap: 0.35rem; }
}
@media (max-width: 400px) {
  .nf__cats a { gap: 0.5rem; font-size: 0.86rem; min-width: 0; }
  .nf__cats img { width: 36px; height: 36px; border-radius: 10px; }
  .nf__cats span { min-width: 0; overflow-wrap: anywhere; }
}

/* ---------- Legal pages ---------- */
.legal { padding: clamp(2.4rem, 6vw, 4.5rem) 0; }
.legal__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 3rem; align-items: start; }
.legal__nav { position: sticky; top: calc(var(--header-h, 73px) + 1.5rem); display: grid; gap: 0.2rem; }
.legal__nav a { padding: 0.6rem 0.8rem; border-radius: 12px; font-weight: 600; color: var(--text); }
.legal__nav a:hover { background: var(--cream); }
.legal__nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.legal__doc { max-width: 760px; }
.legal__doc h1, .legal__h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; color: var(--ink); }
.legal__draft { background: #fdf3e2; color: #92400e; border-radius: 12px; padding: 0.7rem 1rem; font-size: 0.88rem; font-weight: 600; margin-bottom: 1.4rem; }
.legal__date { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }
.legal__lead { font-size: 1.12rem; color: var(--ink); margin-top: 1.4rem; line-height: 1.6; }
.legal__doc h2 { font-size: 1.3rem; letter-spacing: -0.03em; margin-top: 2.2rem; }
.legal__doc p, .legal__doc li { color: var(--text); line-height: 1.7; margin-top: 0.7rem; }
.legal__doc ul { padding-left: 1.2rem; }
.legal__doc a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .legal__grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .legal__nav { position: static; display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .legal__nav a { border: 1px solid var(--line); padding: 0.45rem 0.8rem; font-size: 0.86rem; }
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.72); font-size: 0.86rem; }
.footer-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.consent { font-size: 0.82rem; color: var(--muted); margin-top: 0.8rem; }
.consent a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* Required fields */
label.req::after, .field-label.req::after { content: " *"; color: var(--red); font-weight: 800; }
.req-note { font-size: 0.8rem; color: var(--muted); margin: 0 0 0.4rem; }

/* ---------- Keyboard and motion ---------- */
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: #fff; font-weight: 700; padding: 0.75rem 1.1rem; border-radius: 12px; }
.skip-link:focus { top: 0.75rem; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.btn:focus-visible, .chip:focus-visible, .rail-item:focus-visible { outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; }
.site-footer :focus-visible, .page-hero :focus-visible, .guide-join :focus-visible, .lightbox :focus-visible, .nums-band :focus-visible { outline-color: #fcd34d; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Hero photos as WebP, sized for the screen (the JPEG above is the fallback) ----------
   Phones get the 720 px copy (sharp on most phones under the dark overlay), larger screens 1600 px.
   Keep in step with HERO in lib/render.js, which preloads the same files. */
@supports (background-image: image-set(url("x.webp") type("image/webp"))) {
  .hero { --hero-photo: image-set(url("../img/opt/hero-kilimanjaro-zebras-720.webp") type("image/webp"), url("../img/hero-kilimanjaro-zebras.jpg") type("image/jpeg")); }
  .page-hero { --hero-photo: image-set(url("../img/opt/kilimanjaro-clouds-720.webp") type("image/webp"), url("../img/kilimanjaro-clouds.jpg") type("image/jpeg")); }
  .page-hero--listings { --hero-photo: image-set(url("../img/opt/kilimanjaro-clouds-720.webp") type("image/webp"), url("../img/kilimanjaro-clouds.jpg") type("image/jpeg")); }
  .page-hero--afcon { --hero-photo: image-set(url("../img/opt/kilimanjaro-clouds-720.webp") type("image/webp"), url("../img/kilimanjaro-clouds.jpg") type("image/jpeg")); }
  .page-hero--hotel { --hero-photo: image-set(url("../img/opt/hotel-room-720.webp") type("image/webp"), url("../img/hotel-room.jpg") type("image/jpeg")); }
  .page-hero--saved { --hero-photo: image-set(url("../img/opt/hotel-room-720.webp") type("image/webp"), url("../img/hotel-room.jpg") type("image/jpeg")); }
  .page-hero--apartment { --hero-photo: image-set(url("../img/opt/apartment-720.webp") type("image/webp"), url("../img/apartment.jpg") type("image/jpeg")); }
  .page-hero--transport { --hero-photo: image-set(url("../img/opt/boda-boda-720.webp") type("image/webp"), url("../img/boda-boda.jpg") type("image/jpeg")); }
  .page-hero--restaurant { --hero-photo: image-set(url("../img/opt/grill-720.webp") type("image/webp"), url("../img/grill.jpg") type("image/jpeg")); }
  .page-hero--experience { --hero-photo: image-set(url("../img/opt/elephants-720.webp") type("image/webp"), url("../img/elephants.jpg") type("image/jpeg")); }
  .page-hero--about { --hero-photo: image-set(url("../img/opt/giraffes-kilimanjaro-720.webp") type("image/webp"), url("../img/giraffes-kilimanjaro.jpg") type("image/jpeg")); }
  .page-hero--review { --hero-photo: image-set(url("../img/opt/giraffes-kilimanjaro-720.webp") type("image/webp"), url("../img/giraffes-kilimanjaro.jpg") type("image/jpeg")); }
  .page-hero--contact { --hero-photo: image-set(url("../img/opt/mount-meru-720.webp") type("image/webp"), url("../img/mount-meru.jpg") type("image/jpeg")); }
  .page-hero--submit { --hero-photo: image-set(url("../img/opt/arusha-city-720.webp") type("image/webp"), url("../img/arusha-city.jpg") type("image/jpeg")); }
  .page-hero--guides { --hero-photo: image-set(url("../img/opt/kilimanjaro-hike-720.webp") type("image/webp"), url("../img/kilimanjaro-hike.jpg") type("image/jpeg")); }
  .page-hero--guide { --hero-photo: image-set(url("../img/opt/safari-vehicle-720.webp") type("image/webp"), url("../img/safari-vehicle.jpg") type("image/jpeg")); }
  .page-hero--articles { --hero-photo: image-set(url("../img/opt/mount-meru-720.webp") type("image/webp"), url("../img/mount-meru.jpg") type("image/jpeg")); }
  @media (min-width: 701px) {
    .hero { --hero-photo: image-set(url("../img/opt/hero-kilimanjaro-zebras-1600.webp") type("image/webp"), url("../img/hero-kilimanjaro-zebras.jpg") type("image/jpeg")); }
    .page-hero { --hero-photo: image-set(url("../img/opt/kilimanjaro-clouds-1600.webp") type("image/webp"), url("../img/kilimanjaro-clouds.jpg") type("image/jpeg")); }
    .page-hero--listings { --hero-photo: image-set(url("../img/opt/kilimanjaro-clouds-1600.webp") type("image/webp"), url("../img/kilimanjaro-clouds.jpg") type("image/jpeg")); }
    .page-hero--afcon { --hero-photo: image-set(url("../img/opt/kilimanjaro-clouds-1600.webp") type("image/webp"), url("../img/kilimanjaro-clouds.jpg") type("image/jpeg")); }
    .page-hero--hotel { --hero-photo: image-set(url("../img/opt/hotel-room-1400.webp") type("image/webp"), url("../img/hotel-room.jpg") type("image/jpeg")); }
    .page-hero--saved { --hero-photo: image-set(url("../img/opt/hotel-room-1400.webp") type("image/webp"), url("../img/hotel-room.jpg") type("image/jpeg")); }
    .page-hero--apartment { --hero-photo: image-set(url("../img/opt/apartment-900.webp") type("image/webp"), url("../img/apartment.jpg") type("image/jpeg")); }
    .page-hero--transport { --hero-photo: image-set(url("../img/opt/boda-boda-1200.webp") type("image/webp"), url("../img/boda-boda.jpg") type("image/jpeg")); }
    .page-hero--restaurant { --hero-photo: image-set(url("../img/opt/grill-900.webp") type("image/webp"), url("../img/grill.jpg") type("image/jpeg")); }
    .page-hero--experience { --hero-photo: image-set(url("../img/opt/elephants-1400.webp") type("image/webp"), url("../img/elephants.jpg") type("image/jpeg")); }
    .page-hero--about { --hero-photo: image-set(url("../img/opt/giraffes-kilimanjaro-1400.webp") type("image/webp"), url("../img/giraffes-kilimanjaro.jpg") type("image/jpeg")); }
    .page-hero--review { --hero-photo: image-set(url("../img/opt/giraffes-kilimanjaro-1400.webp") type("image/webp"), url("../img/giraffes-kilimanjaro.jpg") type("image/jpeg")); }
    .page-hero--contact { --hero-photo: image-set(url("../img/opt/mount-meru-1600.webp") type("image/webp"), url("../img/mount-meru.jpg") type("image/jpeg")); }
    .page-hero--submit { --hero-photo: image-set(url("../img/opt/arusha-city-1600.webp") type("image/webp"), url("../img/arusha-city.jpg") type("image/jpeg")); }
    .page-hero--guides { --hero-photo: image-set(url("../img/opt/kilimanjaro-hike-1200.webp") type("image/webp"), url("../img/kilimanjaro-hike.jpg") type("image/jpeg")); }
    .page-hero--guide { --hero-photo: image-set(url("../img/opt/safari-vehicle-1200.webp") type("image/webp"), url("../img/safari-vehicle.jpg") type("image/jpeg")); }
    .page-hero--articles { --hero-photo: image-set(url("../img/opt/mount-meru-1600.webp") type("image/webp"), url("../img/mount-meru.jpg") type("image/jpeg")); }
  }
}

/* ---------- Prices: approximate shillings, "price on request" ---------- */
.price__tzs { display: block; margin-top: 0.15rem; font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.price--ask { font-size: 0.92rem; }
.dt-book__tzs { margin: -0.35rem 0 0.9rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.dt-book__price--ask strong { font-size: 1.35rem; }

/* ---------- Articles ---------- */
.art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
#artTopics { margin-bottom: 1.8rem; }
.art-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: var(--ink); transition: transform 0.2s, box-shadow 0.2s; }
.art-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(17, 12, 6, 0.08); }
.art-card[hidden] { display: none; }
.art-card__media { display: block; aspect-ratio: 16 / 10; background: var(--sand); overflow: hidden; }
.art-card__media img { width: 100%; height: 100%; object-fit: cover; }
.art-card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.2rem 1.3rem 1.4rem; flex: 1; }
.art-card__topic { align-self: flex-start; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.art-card__title { font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.01em; }
.art-card__text { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.art-card__meta { margin-top: auto; padding-top: 0.4rem; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.art-empty { color: var(--muted); }

.post__wrap { max-width: 760px; padding-top: 2.4rem; padding-bottom: 3.5rem; }
.post-crumbs { display: flex; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); margin-bottom: 1.4rem; }
.post-crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.post h1 { margin-top: 0.6rem; font-size: clamp(1.9rem, 5vw, 2.7rem); line-height: 1.12; letter-spacing: -0.035em; }
.post-lead { margin-top: 1rem; font-size: 1.12rem; line-height: 1.6; color: var(--muted); }
.post-meta { margin-top: 1rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.post-cover { margin: 1.8rem 0 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--sand); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-body { margin-top: 2rem; font-size: 1.04rem; line-height: 1.75; }
.post-body h2 { margin: 2.2rem 0 0.8rem; font-size: 1.45rem; line-height: 1.25; letter-spacing: -0.02em; }
.post-body h3 { margin: 1.6rem 0 0.5rem; font-size: 1.15rem; }
.post-body p { margin: 0 0 1rem; }
.post-body ul, .post-body ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.post-body li { margin-bottom: 0.45rem; }
.post-body a, .post-sources a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.post-tip { margin: 1.4rem 0; padding: 1rem 1.2rem; border-left: 4px solid var(--brand-orange); background: var(--cream); border-radius: 0 14px 14px 0; }
.post-tip p { margin: 0; }
.post-note { margin-top: 2rem; padding: 0.9rem 1.1rem; background: var(--cream); border-radius: 14px; font-weight: 600; }
.post-sources { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.92rem; }
.post-sources h2 { font-size: 1rem; margin-bottom: 0.6rem; }
.post-sources ul { padding-left: 1.2rem; }
.post-cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.5rem 1.6rem; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.post-cta p { margin-top: 0.3rem; color: rgba(255, 255, 255, 0.85); }
.post-cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.post-more .section__title { margin-bottom: 1.6rem; }
@media (max-width: 960px) { .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .art-grid { grid-template-columns: 1fr; }
  .post__wrap { padding-top: 1.6rem; }
  .post-body { font-size: 1rem; }
  .post-cta { padding: 1.3rem; }
}
