/* CrestDrive Nairobi — premium, mobile-first. No framework, fast load.
   Palette: deep navy + warm gold on cream. Serif display + clean sans body. */

:root {
  --navy: #0d1b2a;
  --navy-2: #13283d;
  --navy-3: #24405c;
  --ink: #1d2430;
  --muted: #5c6675;
  --cream: #f7f4ee;
  --cream-2: #efeae1;
  --white: #ffffff;
  --line: #e6e1d8;
  --gold: #c39b46;
  --gold-2: #b08a35;
  --wa: #25d366;
  --danger: #b42318;
  --shadow: 0 18px 40px -24px rgba(13, 27, 42, .45);
  --shadow-sm: 0 8px 22px -16px rgba(13, 27, 42, .4);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.lede { font-size: 1.15rem; color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--gold-2); font-family: var(--font-body); margin-bottom: .8rem; }

/* ── Header / nav ─────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--navy); text-decoration: none; letter-spacing: -.01em; }
.brand span { color: var(--gold-2); }
.nav-links { display: flex; gap: 1.4rem; align-items: center; }
.nav-links a { color: var(--ink); font-size: .95rem; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--gold-2); }
.nav-cta { background: var(--navy); color: #fff !important; padding: .55rem 1.05rem; border-radius: 999px; font-weight: 600 !important; }
.nav-cta:hover { background: var(--navy-2); text-decoration: none; }
.nav-toggle { display: none; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 1rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .12s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-2); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(13,27,42,.25); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn-small { padding: .45rem .9rem; font-size: .85rem; }

/* ── Layout sections ──────────────────────────────────────────────────────── */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-cream { background: var(--cream); }
.section-tight { padding: clamp(2.2rem, 5vw, 3.5rem) 0; }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8,17,27,.72), rgba(8,17,27,.86)),
    var(--hero-image, radial-gradient(1200px 500px at 80% -10%, #24405c 0%, transparent 60%)),
    linear-gradient(160deg, var(--navy-2), var(--navy));
  background-size: cover; background-position: center;
}
.hero .container { position: relative; padding-top: clamp(3.2rem, 8vw, 6rem); padding-bottom: clamp(3.2rem, 8vw, 6rem); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lede { color: rgba(255,255,255,.82); max-width: 56ch; font-size: 1.2rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.trust-line { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.16); }
.trust-line .ti { display: flex; align-items: center; gap: .5rem; font-size: .95rem; color: rgba(255,255,255,.9); }
.trust-line .ti b { color: var(--gold); font-family: var(--font-display); font-size: 1.05rem; }

/* hero stat chips */
.hero-stats { display: grid; grid-template-columns: 1fr; gap: .8rem; margin-top: 2rem; }
.hero-stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); padding: 1rem 1.1rem; }
.hero-stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); }
.hero-stat span { font-size: .88rem; color: rgba(255,255,255,.8); }

/* ── Cards & grids ────────────────────────────────────────────────────────── */
.grid-2 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4rem; }
.card .price { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); }
.card .price small { font-family: var(--font-body); font-size: .82rem; color: var(--muted); font-weight: 500; }

/* feature item with icon */
.feature { display: flex; gap: .9rem; align-items: flex-start; }
.feature .ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cream); color: var(--gold-2); border: 1px solid var(--line); }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; margin: 0 0 .2rem; color: var(--ink); }
.feature p { margin: 0; font-size: .95rem; color: var(--muted); }

/* zone price card */
.zone-card { border-top: 3px solid var(--gold); }
.zone-card .zone-name { font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.zone-card .zone-price { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); margin: .4rem 0 .1rem; }
.zone-card .zone-sub { font-size: .82rem; color: var(--muted); }

/* fleet / vehicle */
.vehicle-hero { display: grid; gap: 1.5rem; align-items: center; grid-template-columns: 1fr; }
.vehicle-media { background-color: var(--navy); background-image: linear-gradient(160deg, var(--navy-3), var(--navy)); background-size: cover; background-position: center; background-repeat: no-repeat; border-radius: var(--radius); min-height: 240px; display: grid; place-items: center; color: rgba(255,255,255,.5); position: relative; overflow: hidden; }
.vehicle-media .badge { position: absolute; top: 1rem; left: 1rem; background: var(--gold); color: var(--navy); font-weight: 700; font-size: .8rem; padding: .3rem .7rem; border-radius: 999px; }
.spec-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.spec-list li { display: flex; gap: .6rem; align-items: center; color: var(--ink); }
.spec-list li svg { width: 18px; height: 18px; color: var(--gold-2); flex: 0 0 auto; }
.spec-list.compact { margin: .8rem 0; gap: .4rem; font-size: .95rem; }

/* Vehicle picker (fleet on the pricing page) */
.vehicle-grid { align-items: stretch; }
.vehicle-pick { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.vehicle-pick .vehicle-media { min-height: 170px; border-radius: 0; }
.vehicle-pick.is-premium .vehicle-media { background: linear-gradient(160deg, #2b2b30, #0e0e12); }
.vehicle-color { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: .72rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; }
.vehicle-photo-note { color: rgba(255,255,255,.45); font-size: .9rem; }
.vehicle-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.vehicle-body h3 { margin-bottom: .2rem; }
.vehicle-price { margin: .8rem 0 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.vehicle-price .amount { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--navy); line-height: 1; }
.vehicle-price .unit { display: block; font-size: .82rem; color: var(--muted); margin-top: .25rem; }
.btn-block { width: 100%; justify-content: center; margin-top: auto; }
.vehicle-pick.is-premium .vehicle-price .amount { color: var(--gold-2); }

/* ── Steps ────────────────────────────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.step { position: relative; padding-left: 3.4rem; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; }
.step h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ── Pills / chips ────────────────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; font-size: .9rem; color: var(--ink); font-weight: 500; }
.pill.gold { border-color: var(--gold); color: var(--gold-2); }

/* ── Tables ───────────────────────────────────────────────────────────────── */
.rate-table, .admin-table { width: 100%; border-collapse: collapse; }
.rate-table th, .rate-table td, .admin-table th, .admin-table td { text-align: left; padding: .8rem .6rem; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.rate-table th, .admin-table th { color: var(--muted); font-weight: 600; }
.note-box { background: var(--cream); border-left: 3px solid var(--gold); padding: 1rem 1.2rem; border-radius: var(--radius-sm); color: var(--ink); }

/* ── FAQ accordion ────────────────────────────────────────────────────────── */
.faq { display: grid; gap: .8rem; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.2rem; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--gold-2); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { margin: 0 0 1.1rem; color: var(--muted); }

/* ── Testimonials ─────────────────────────────────────────────────────────── */
.quote-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.quote-card .stars { color: var(--gold); letter-spacing: .15em; margin-bottom: .6rem; }
.quote-card blockquote { margin: 0 0 1rem; font-size: 1.05rem; color: var(--ink); }
.quote-card .who { font-weight: 600; color: var(--navy); font-size: .95rem; }

/* ── CTA band ─────────────────────────────────────────────────────────────── */
.cta-band { position: relative; color: #fff; border-radius: var(--radius); padding: clamp(2.2rem, 5vw, 3.5rem); text-align: center; background: linear-gradient(160deg, var(--navy-2), var(--navy)); box-shadow: var(--shadow); overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 52ch; margin: 0 auto 1.4rem; }
.cta-band .hero-cta { justify-content: center; margin-top: 0; }

/* ── Forms ────────────────────────────────────────────────────────────────── */
.booking-form { margin-top: 1.5rem; display: grid; gap: 1.1rem; max-width: 760px; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
label { font-weight: 600; font-size: .9rem; color: var(--navy); }
input, select, textarea { padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; width: 100%; background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.field-error { color: var(--danger); font-size: .85rem; }
.form-errors { background: #fdecea; color: var(--danger); border: 1px solid #f5c6c2; padding: .8rem 1rem; border-radius: var(--radius-sm); margin: 1rem 0; }
.pay-options { display: grid; gap: .6rem; grid-template-columns: 1fr; }
.pay-opt { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .9rem; cursor: pointer; font-weight: 600; color: var(--navy); }
.pay-opt:has(input:checked) { border-color: var(--gold); background: var(--cream); }
.pay-opt input { width: auto; }
.pay-price { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); margin: .3rem 0 .2rem; }
@media (min-width: 560px) { .pay-options { grid-template-columns: 1fr 1fr; } }

/* ── Admin ────────────────────────────────────────────────────────────────── */
.admin-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin: .5rem 0 1.5rem; }
.chip-link { text-decoration: none; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; color: var(--ink); }
.chip-link.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.inline-form { display: flex; gap: .4rem; }
.inline-form select { width: auto; }
.status { padding: .2rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-confirmed { background: #dbeafe; color: #1e40af; }
.status-completed { background: #dcfce7; color: #166534; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

/* ── Blog ─────────────────────────────────────────────────────────────────── */
.post-list { list-style: none; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.post-summary .eyebrow { margin-bottom: .4rem; }
.post-summary h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.post-summary h3 a { color: var(--navy); }
.post-date { font-size: .85rem; color: var(--muted); margin: 0 0 .6rem; }
.blog-post { max-width: 760px; margin: 0 auto; }
.blog-post .post-body { font-size: 1.08rem; }
.blog-post .post-body h2 { margin-top: 2rem; font-size: 1.7rem; }
.blog-post .post-body h3 { margin-top: 1.5rem; }
.blog-post .post-body img { border-radius: var(--radius); margin: 1.5rem 0; }
.blog-post .post-body ul, .blog-post .post-body ol { padding-left: 1.3rem; }
.blog-post .post-body a { text-decoration: underline; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 3rem 0 2rem; }
.footer-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; letter-spacing: .04em; margin: 0 0 .8rem; }
.site-footer a { color: rgba(255,255,255,.75); display: block; padding: .2rem 0; }
.site-footer a:hover { color: var(--gold); text-decoration: none; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .92rem; }
.footer-brand .brand { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.4rem; font-size: .85rem; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* ── WhatsApp FAB ─────────────────────────────────────────────────────────── */
.whatsapp-fab { position: fixed; right: 1.1rem; bottom: 1.1rem; background: var(--wa); color: #fff; text-decoration: none; padding: .8rem 1.1rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; box-shadow: 0 10px 26px -8px rgba(37,211,102,.6); z-index: 50; }
.whatsapp-fab:hover { text-decoration: none; transform: translateY(-2px); }
.whatsapp-fab svg { width: 22px; height: 22px; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: repeat(2, 1fr); }
  .booking .field-row.three { grid-template-columns: repeat(3, 1fr); }
  .vehicle-hero { grid-template-columns: 1.1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .post-list { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 699px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); gap: 1rem; }
  .nav-toggle { display: inline-flex; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .4rem .6rem; font-size: 1.2rem; cursor: pointer; }
}

/* ── Tours & Safaris Experience Visual Styles ────────────────────────────── */
:root {
  --emerald: #005f73;
  --emerald-dark: #003e4c;
  --emerald-light: #0a9396;
  --gold-accent: #ee9b00;
  --gold-warm: #ca6702;
  --sand-bg: #faf7f2;
  --card-shadow: 0 12px 32px rgba(13, 27, 42, 0.08);
  --card-shadow-hover: 0 20px 45px rgba(13, 27, 42, 0.16);
}

.tours-hero {
  background: linear-gradient(135deg, rgba(0, 62, 76, 0.92) 0%, rgba(13, 27, 42, 0.96) 100%), url('/static/img/tours/nairobi-national-park.png');
  background-size: cover;
  background-position: center 30%;
  color: #ffffff;
  padding: 5rem 1.25rem 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -10px 20px rgba(0,0,0,0.2);
}

.tours-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(238, 155, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(238, 155, 0, 0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(238, 155, 0, 0.5);
  color: #f7b027;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  box-shadow: 0 4px 15px rgba(238, 155, 0, 0.2);
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.18rem;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 2.2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Group Selector Card */
.group-selector-card {
  background: rgba(13, 27, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(238, 155, 0, 0.35);
  border-radius: 20px;
  padding: 1.4rem 1.8rem;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.group-selector-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  color: #ee9b00;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pax-buttons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pax-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pax-btn:hover {
  background: rgba(238, 155, 0, 0.25);
  border-color: #ee9b00;
  color: #ffffff;
  transform: translateY(-2px);
  text-decoration: none;
}

.pax-btn.active {
  background: linear-gradient(135deg, #ee9b00 0%, #ca6702 100%);
  color: #0d1b2a;
  border-color: #ee9b00;
  box-shadow: 0 6px 20px rgba(238, 155, 0, 0.45);
  transform: scale(1.04);
}

/* Category Pills */
.category-pills {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.4rem 0.2rem 0.8rem;
  scroll-behavior: smooth;
}

.pill-item {
  white-space: nowrap;
  background: #ffffff;
  color: #1e293b;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  border: 1.5px solid #cbd5e1;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.pill-item:hover {
  background: #005f73;
  color: #ffffff;
  border-color: #005f73;
  transform: translateY(-2px);
  text-decoration: none;
}

.pill-item.active {
  background: #005f73;
  color: #ffffff;
  border-color: #005f73;
  box-shadow: 0 6px 18px rgba(0, 95, 115, 0.3);
}

/* Advantage Banner */
.advantage-banner {
  background: linear-gradient(135deg, #0d1b2a 0%, #003e4c 100%);
  border: 1.5px solid rgba(238, 155, 0, 0.35);
  border-radius: 20px;
  padding: 1.6rem 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  box-shadow: 0 12px 30px rgba(13, 27, 42, 0.2);
  color: #ffffff;
}

.advantage-icon {
  font-size: 2.5rem;
  background: rgba(238, 155, 0, 0.15);
  border: 1px solid rgba(238, 155, 0, 0.3);
  border-radius: 16px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.advantage-text {
  flex: 1;
}

.advantage-text h3 {
  margin: 0 0 0.35rem;
  color: #ee9b00;
  font-size: 1.35rem;
  font-weight: 700;
}

.advantage-text p {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.btn-outline-gold {
  border: 2px solid #ee9b00;
  background: rgba(238, 155, 0, 0.1);
  color: #ee9b00;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-outline-gold:hover {
  background: #ee9b00;
  color: #0d1b2a;
  box-shadow: 0 4px 15px rgba(238, 155, 0, 0.35);
  text-decoration: none;
}

/* Tours Grid & Tour Card */
.tours-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.tour-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: #005f73;
}

.tour-image-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #0d1b2a;
}

.tour-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-card:hover .tour-img {
  transform: scale(1.08);
}

.tour-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #005f73 0%, #0a9396 100%);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 95, 115, 0.35);
}

.duration-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(13, 27, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tour-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.6rem;
}

.tour-cat {
  color: #0a9396;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tour-capacity {
  background: #f1f5f9;
  color: #334155;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
}

.tour-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
  line-height: 1.28;
}

.tour-title a {
  color: #0d1b2a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tour-title a:hover {
  color: #005f73;
}

.tour-subtitle {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 1.1rem;
}

.tour-highlights-mini {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mini-highlight {
  font-size: 0.9rem;
  color: #1e293b;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.35;
}

.pricing-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 1.05rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  margin-bottom: 1.2rem;
}

.price-label {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}

.price-value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: #005f73;
  line-height: 1.1;
}

.usd-text {
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: #005f73;
}

.per-person-text {
  display: block;
  font-size: 0.82rem;
  color: #475569;
  font-weight: 600;
  margin-top: 0.15rem;
}

.gyg-compare {
  display: block;
  font-size: 0.84rem;
  color: #94a3b8;
  text-decoration: line-through;
  text-align: right;
  margin-bottom: 0.2rem;
}

.save-tag {
  display: inline-block;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #15803d;
  border: 1px solid #86efac;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(22, 101, 52, 0.15);
}

.tour-card-actions {
  display: flex;
  gap: 0.65rem;
}

.btn-tour-primary {
  flex: 1;
  background: #0d1b2a;
  color: #ffffff;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(13, 27, 42, 0.2);
}

.btn-tour-primary:hover {
  background: #005f73;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 95, 115, 0.35);
}

.btn-tour-wa {
  background: #25d366;
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-tour-wa:hover {
  background: #1ea952;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(30, 169, 82, 0.35);
}

/* Comparison Table */
.shadow-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  padding: 2rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
  font-size: 0.96rem;
}

.comparison-table th {
  background: #f8fafc;
  color: #0d1b2a;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.comparison-table tr:hover {
  background: #f8fafc;
}

.text-emerald { color: #005f73; }
.text-rose { color: #e11d48; }
.line-through { text-decoration: line-through; }
.badge-savings {
  background: #dcfce7;
  color: #166534;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.88rem;
  display: inline-block;
  border: 1px solid #86efac;
}

/* Call to Action Footer Banner */
.tour-cta-banner {
  background: linear-gradient(135deg, #0d1b2a 0%, #003e4c 100%);
  color: #ffffff;
  padding: 4.5rem 1.25rem;
  border-top: 4px solid #ee9b00;
  position: relative;
  overflow: hidden;
}

.tour-cta-banner h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.tour-cta-banner p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin: 0 auto 2rem;
}

/* Tour Detail Page Styles */
.tour-detail-hero {
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 4rem 1.25rem;
  border-bottom: 4px solid #ee9b00;
}

.hero-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.back-link {
  color: #ee9b00;
  font-weight: 600;
  text-decoration: none;
}

.detail-title {
  color: #ffffff;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 0.5rem;
}

.detail-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 760px;
  margin-bottom: 1.8rem;
}

.detail-quick-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.detail-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .detail-layout {
    grid-template-columns: 2fr 1fr;
  }
}

.content-card {
  margin-bottom: 1.8rem;
}

.card-title {
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}

.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.highlights-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 1.02rem;
}

/* Timeline */
.itinerary-timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid #005f73;
}

.timeline-step {
  position: relative;
  margin-bottom: 1.4rem;
}

.timeline-marker {
  position: absolute;
  left: -1.95rem;
  top: 0.2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ee9b00;
  border: 3px solid #ffffff;
}

.timeline-content p {
  margin: 0;
  font-size: 1rem;
  color: #1e293b;
}

.check-list, .cross-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.check-list li { color: #047857; }
.cross-list li { color: #b91c1c; }

/* Booking Widget Sidebar */
.booking-widget {
  position: sticky;
  top: 90px;
  background: #ffffff;
  border: 2px solid #005f73;
}

.widget-title {
  color: #005f73;
  margin-bottom: 1rem;
}

.pax-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.3rem;
  margin-top: 0.4rem;
  margin-bottom: 1.2rem;
}

.widget-pax-btn {
  background: #f1f5f9;
  color: #334155;
  text-align: center;
  padding: 0.5rem 0;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.widget-pax-btn.active {
  background: #005f73;
  color: #ffffff;
}

.widget-price-breakdown {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.2rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.font-large { font-size: 1.5rem; }

.savings-pill-widget {
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  padding: 0.5rem;
  border-radius: 8px;
  margin-top: 0.6rem;
}

.widget-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.btn-wa-large {
  background: #25d366;
  color: #ffffff;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.btn-wa-large:hover {
  background: #1ea952;
  color: #ffffff;
  text-decoration: none;
}

.btn-primary-large {
  background: #0d1b2a;
  color: #ffffff;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.btn-primary-large:hover {
  background: #005f73;
  color: #ffffff;
  text-decoration: none;
}

.security-notes {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
}

/* GetYourGuide Strategy Dashboard */
.gyg-hero {
  background: #0d1b2a;
  color: #ffffff;
}

.gyg-tour-block {
  border-top: 4px solid #ee9b00;
}

.gyg-tour-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.badge-cat {
  background: #e0f2f1;
  color: #005f73;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.btn-sm-outline {
  border: 1px solid #005f73;
  color: #005f73;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.gyg-matrix-table {
  width: 100%;
  border-collapse: collapse;
}

.gyg-matrix-table th, .gyg-matrix-table td {
  padding: 0.8rem 0.7rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.gyg-matrix-table th {
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
}

.badge-direct {
  background: #dbeafe;
  color: #1e40af;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.gyg-copy-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 1.2rem;
  margin-top: 1.2rem;
}

.copy-fields {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.field-item code {
  background: #e2e8f0;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.88rem;
  color: #0f172a;
  word-break: break-all;
}

.step-list {
  padding-left: 1.2rem;
  display: grid;
  gap: 1rem;
}

.btn-gold-large {
  background: #ee9b00;
  color: #0d1b2a;
  font-weight: 800;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.05rem;
  display: inline-block;
}

.btn-gold-large:hover {
  background: #ca6702;
  color: #ffffff;
  text-decoration: none;
}


/* Dropdown Navigation Styles */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown > a {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 260px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  z-index: 1000;
  border-radius: 8px;
  overflow: hidden;
  padding: 0.5rem 0;
}

.nav-dropdown:hover .nav-dropdown-content {
  display: block;
  animation: fadeIn 0.2s ease-in-out;
}

.nav-dropdown-content a {
  color: var(--text-dark) !important;
  padding: 0.75rem 1.5rem !important;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  border-bottom: 1px solid #f0f0f0;
}

.nav-dropdown-content a:last-child {
  border-bottom: none;
}

.nav-dropdown-content a:hover {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--accent) !important;
}

/* Caret for dropdown */
.caret {
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  margin-bottom: 3px;
  transition: transform 0.2s;
}

.nav-dropdown:hover .caret {
  transform: rotate(-135deg);
}

@media (max-width: 768px) {
  .nav-dropdown-content {
    position: static;
    display: none;
    background-color: transparent;
    box-shadow: none;
    min-width: 100%;
    padding: 0;
  }
  .nav-dropdown:hover .nav-dropdown-content,
  .nav-dropdown.active .nav-dropdown-content {
    display: block;
  }
  .nav-dropdown-content a {
    color: var(--white) !important;
    padding-left: 2rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}
