/* Home page styles (moved out of index.html 2026-09-27 so the page HTML stays under 500 KB and the
   styles are cached between visits; loaded at the same point in <head>, so the cascade is unchanged). */
:root {
  --red: #c0392b; --red2: #a93226; --red-light: #f8e8e6;
  --navy: #0f2040; --navy2: #1a3a6e;
  --gold: #d4a843; --gold2: #b8901e;
  --green: #16a34a; --green-bg: #f0fdf4;
  --bg: #f7f8fc; --white: #fff;
  --border: #e2e8f0; --border2: #c8d0e0;
  --text: #1a202c; --text2: #4a5568; --muted: #94a3b8;
  --shadow: 0 2px 8px rgba(15,32,64,.08), 0 8px 32px rgba(15,32,64,.06);
  --shadow-lg: 0 8px 24px rgba(15,32,64,.14), 0 24px 64px rgba(15,32,64,.10);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { visibility: hidden; }
/* Watermark */
.tg-watermark { display:none!important; visibility:hidden!important; opacity:0!important;  position:fixed;left:0;top:50%;transform:translateX(-50%) translateY(-50%) rotate(-90deg);z-index:99999;background:rgba(15,32,64,.92);backdrop-filter:blur(8px);color:#fff;padding:7px 16px;border-radius:0 0 10px 10px;font-size:11.5px;font-family:sans-serif;pointer-events:none;display:none!important;align-items:center;gap:5px;border:1px solid rgba(255,255,255,.15);border-top:none;box-shadow:0 4px 20px rgba(0,0,0,.4);white-space:nowrap;letter-spacing:.02em; }
.tg-watermark strong { color:#fbbf24; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* ── ANNOUNCEMENT BAR ── */
.ann-bar {
  background: var(--red); color: #fff;
  padding: 10px 56px 10px 24px; /* right side clear of the ✕ close button */ display: flex; align-items: center; justify-content: center; gap: 16px;
  font-size: 13.5px; font-weight: 500; letter-spacing: .01em; position: relative;
}
.ann-cta {
  padding: 4px 14px; background: transparent !important; color: #fff !important;
  border-radius: 0 !important; font-weight: 700; font-size: 12px; cursor: pointer;
  white-space: nowrap; border: 1px solid rgba(255,255,255,0.6) !important;
  transition: all .15s; text-decoration: none;
}
.ann-cta:hover { background: rgba(255,255,255,0.15) !important; }
.ann-close-btn, .ann-bar button {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  color: white !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  padding: 4px 8px !important;
}

/* ── TOP BAR ── */
.topbar {
  background: #1e1e1e; padding: 8px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.topbar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-link {
  color: rgba(255,255,255,.75); font-size: 12.5px; text-decoration: none;
  display: flex; align-items: center; gap: 5px; transition: color .15s;
}
.topbar-link:hover { color: #fff; }
.topbar-socials { display: flex; gap: 14px; }
.topbar-socials a { color: rgba(255,255,255,.55); font-size: 15px; transition: color .15s; text-decoration: none; }
.topbar-socials a:hover { color: #fff; }
.topbar-right a {
  color: var(--red); font-size: 12.5px; font-weight: 600;
  text-decoration: none; letter-spacing: .02em;
}
.topbar-right a:hover { text-decoration: underline; }

/* ── MAIN NAV ── */
.mainnav {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 0 24px; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.mainnav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 70px;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon {
  width: 46px; height: 46px; background: var(--navy);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.logo-text .brand { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.logo-text .tagline { font-size: 10px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-link {
  padding: 8px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500;
  color: var(--text2); text-decoration: none; white-space: nowrap; transition: all .15s;
}
.nav-link:hover { color: var(--navy); background: #f0f4fa; }
.nav-link.active { color: var(--red); font-weight: 600; }
.nav-ctas { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.btn-outline {
  padding: 8px 16px; border: 1.5px solid var(--border2); border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer;
  background: none; font-family: 'DM Sans', sans-serif; text-decoration: none; transition: all .15s;
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-red {
  padding: 8px 18px; background: var(--red); color: #fff; border: none;
  border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer;
  font-family: 'DM Sans', sans-serif; text-decoration: none; transition: all .15s;
}
.btn-red:hover { background: var(--red2); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 78vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(165deg, #0a1628 0%, #0f2040 40%, #0d2855 70%, #1a3a6e 100%);
}
.hero-bg-pattern {
  position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(circle at 20% 50%, rgba(79,142,255,.12) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.04) 0%, transparent 45%);
}
.hero-img-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: url('hero-default.jpg') center/cover no-repeat;
  opacity: 0.45;
  mix-blend-mode: normal;
}
.hero-inner {
  position: relative; z-index: 3;
  max-width: 1200px; margin: 0 auto; padding: 60px 24px;
  display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center; width: 100%;
}
.hero-text { color: #fff; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px; padding: 5px 14px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px;
  font-family: 'DM Mono', monospace;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800;
  line-height: 1.12; letter-spacing: -.02em; color: #fff;
  margin-bottom: 18px;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.8;
  max-width: 480px; margin-bottom: 32px;
}
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px; font-size: 13px; color: rgba(255,255,255,.75);
}
.hero-badge strong { color: #fff; }

/* ── SEARCH BOX ── */
.search-box {
  background: #fff; border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 4px 16px rgba(0,0,0,.2);
  overflow: hidden;
}
.search-box-title {
  background: var(--navy); color: #fff; padding: 14px 20px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  display: flex; align-items: center; gap: 8px;
}
.search-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.search-field {
  border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden;
  display: flex; align-items: center; background: #f8fafc;
  transition: border-color .15s;
}
.search-field:focus-within { border-color: var(--navy); background: #fff; }
.sf-icon { padding: 0 12px; font-size: 16px; color: var(--muted); flex-shrink: 0; }
.search-field select, .search-field input {
  width: 100%; padding: 11px 12px 11px 0;
  border: none; background: none; outline: none;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text);
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.search-field select option { background: #fff; }
.btn-search {
  width: 100%; padding: 13px; background: var(--red);
  border: none; border-radius: 10px; color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background .15s; letter-spacing: .01em;
}
.btn-search:hover { background: var(--red2); }

/* ── WAVE DIVIDER ── */
.wave-divider { line-height: 0; background: var(--hero-bg, #0f2040); }
.wave-divider svg { display: block; width: 100%; }

/* ── SECTION COMMON ── */
.section-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-eyebrow {
  display: inline-block; font-family: 'DM Mono', monospace;
  font-size: 11px; font-weight: 500; color: var(--red);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700;
  color: var(--navy); line-height: 1.2; letter-spacing: -.03em;
}
.section-sub { font-size: 15px; color: var(--text2); line-height: 1.8; margin-top: 10px; }

/* ── CATEGORY PILLS ── */
.cat-pills {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 32px;
}
.cat-pill {
  padding: 7px 18px; border-radius: 20px; border: 1.5px solid var(--border2);
  font-size: 13px; font-weight: 500; color: var(--text2);
  background: var(--white); cursor: pointer; transition: all .15s;
}
.cat-pill:hover { border-color: var(--navy); color: var(--navy); }
.cat-pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── TRIP GRID ── */
.trips-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.trip-card {
  background: var(--white); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 2px 12px rgba(26,20,16,.05);
  transition: transform .3s cubic-bezier(.34,1.2,.64,1), box-shadow .3s, border-color .3s;
  cursor: pointer; display: flex; flex-direction: column; position: relative;
}
.trip-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: 15px;
  background: linear-gradient(135deg, rgba(192,57,43,.25), rgba(15,32,64,.2));
  opacity: 0; transition: opacity .3s; z-index: 0; pointer-events: none;
}
.trip-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(26,20,16,.14); border-color: transparent; }
.trip-card:hover::before { opacity: 1; }
.trip-card.sold-out { opacity: .68; }
.trip-img {
  position: relative; height: 210px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  display: flex; align-items: center; justify-content: center;
}
.trip-img-emoji { font-size: 72px; opacity: .2; }
.trip-img-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,18,32,.75) 0%, transparent 55%);
}
.trip-img-date {
  position: absolute; bottom: 13px; left: 14px;
  background: rgba(255,255,255,.97); color: var(--navy);
  border-radius: 4px; padding: 5px 11px;
  font-size: 11px; font-weight: 700; font-family: var(--font-mono);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.trip-img-cat {
  position: absolute; top: 13px; left: 14px;
  padding: 4px 11px; border-radius: 4px; font-size: 10px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; backdrop-filter: blur(4px);
}
.trip-img-avail {
  position: absolute; top: 13px; right: 14px;
  padding: 5px 12px; border-radius: 4px; font-size: 11px; font-weight: 800;
  backdrop-filter: blur(4px); letter-spacing: .03em;
}
/* Scarcity strip — full-width bar above card footer */
.scarcity-strip {
  display: flex; align-items: center; gap: 8px;
  margin: 0 -20px 12px; padding: 9px 20px;
  background: #fff5f5; border-top: 1px solid #fecaca; border-bottom: 1px solid #fecaca;
  font-size: 12px; font-weight: 700; color: #b91c1c;
  font-family: 'DM Mono', monospace;
}
.scarcity-strip .sc-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ef4444; flex-shrink: 0;
  -webkit-animation: sc-pulse 1.2s ease-in-out infinite;
  animation: sc-pulse 1.2s ease-in-out infinite;
}
@keyframes sc-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.7); }
}
@-webkit-keyframes sc-pulse {
  0%,100% { opacity: 1; -webkit-transform: scale(1); }
  50%      { opacity: .4; -webkit-transform: scale(.7); }
}
/* Payment modal */
.pay-option { display:flex;align-items:center;gap:14px;padding:14px 16px;border:1.5px solid var(--border);border-radius:8px;cursor:pointer;transition:all .15s;background:#fff; }
.pay-option:hover,.pay-option.selected { border-color:var(--navy);background:#faf9f7; }
.pay-option-icon { font-size:28px; }
.pay-option-title { font-weight:700;color:var(--text);font-size:14px; }
.pay-option-sub { font-size:12px;color:var(--text2);margin-top:1px; }
/* Waitlist */
.waitlist-form { background:rgba(79,142,255,.04);border:1px solid rgba(79,142,255,.2);border-radius:8px;padding:20px;margin-top:12px; }
.wl-pax-stepper { display:flex;align-items:center;gap:0;border:1.5px solid var(--border);border-radius:10px;overflow:hidden;height:48px;width:140px;flex-shrink:0; }
.wl-pax-btn { flex-shrink:0;width:48px;height:48px;border:none;background:var(--bg2,#f5f3ef);color:var(--navy);font-size:22px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:transparent;touch-action:manipulation;user-select:none; }
.wl-pax-btn:active { background:rgba(79,142,255,.15); }
.wl-pax-num { flex:1;text-align:center;font-size:17px;font-weight:700;color:var(--text);border:none;border-left:1px solid var(--border);border-right:1px solid var(--border);background:#fff;pointer-events:none; }
.wl-field-wrap { display:flex;flex-direction:column;gap:4px; }
.wl-label { font-size:12px;font-weight:600;color:var(--text2); }
.wl-input { padding:13px 14px;border:1.5px solid var(--border);border-radius:10px;font-size:15px;background:#fff;color:var(--text);-webkit-appearance:none;appearance:none;outline:none;transition:border-color .15s;width:100%;box-sizing:border-box; }
.wl-input:focus { border-color:var(--navy); }
.wl-hint { font-size:11px;color:var(--text2); }
.wl-submit { width:100%;padding:15px;background:var(--navy);color:#fff;border:none;border-radius:12px;font-size:15px;font-weight:700;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:opacity .15s; }
.wl-submit:active { opacity:.85; }
.wl-submit:disabled { opacity:.55;cursor:not-allowed; }
/* Ticket */
.ticket-wrap { text-align:center;padding:8px; }
.ticket-qr { width:180px;height:180px;border:3px solid var(--navy);border-radius:8px;margin:0 auto 12px; }
.ticket-ref { font-family:var(--font-mono);font-size:18px;font-weight:700;color:var(--navy);letter-spacing:.08em;background:#f5f3ef;padding:8px 16px;border-radius:4px;display:inline-block;margin-bottom:4px; }
.ticket-detail { font-size:13px;color:var(--text2);margin:4px 0; }
.avail-ok      { background: rgba(22,163,74,.92); color: #fff; }
.avail-low     { background: rgba(217,119,6,.95); color: #fff; font-size: 12px; }
.avail-very-low{ background: rgba(185,28,28,.97); color: #fff; font-size: 12px;
                 -webkit-animation: sc-pulse 1.4s ease-in-out infinite;
                 animation: sc-pulse 1.4s ease-in-out infinite; }
.avail-sold    { background: rgba(192,57,43,.92); color: #fff; }
@keyframes tg-vc-pulse{0%,100%{box-shadow:0 0 0 0 rgba(180,83,9,0)}55%{box-shadow:0 0 0 5px rgba(180,83,9,.3)}}
@keyframes tg-vc-pulse-r{0%,100%{box-shadow:0 0 0 0 rgba(185,28,28,0)}55%{box-shadow:0 0 0 5px rgba(185,28,28,.35)}}
.tg-vc-pulse{animation:tg-vc-pulse 2.4s ease-in-out infinite;}
.tg-vc-pulse.tg-vc-pulse-red{animation:tg-vc-pulse-r 1.8s ease-in-out infinite;}
@keyframes tg-vc-flash{0%{opacity:1}30%{opacity:.35}100%{opacity:1}}
.tg-vc-flash{animation:tg-vc-flash .35s ease-out;}
/* Urgent book button — class-based so animation works on all browsers */
.btn-book-urgent {
  background: #b91c1c !important;
  -webkit-animation: sc-pulse 1.8s ease-in-out infinite;
  animation: sc-pulse 1.8s ease-in-out infinite;
}
/* Photo slider */
.trip-slider { position:relative; height:210px; overflow:hidden; background:linear-gradient(135deg,var(--navy),var(--navy2)); z-index:1; }

/* Gallery view button */
.gallery-view-btn {
  position:absolute; bottom:44px; right:10px;
  background:rgba(0,0,0,.55); backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.2); border-radius:20px;
  color:#fff; font-size:11px; font-weight:600; padding:4px 10px;
  cursor:pointer; z-index:6; transition:background .2s;
  display:flex; align-items:center; gap:4px; letter-spacing:.02em;
  white-space:nowrap;
}
.gallery-view-btn:hover { background:rgba(0,0,0,.8); }

/* Lightbox */
#tg-lightbox {
  position:fixed; inset:0; background:rgba(0,0,0,.95);
  z-index:99999; display:none; flex-direction:column;
  align-items:center; justify-content:center;
}
#tg-lightbox.open { display:flex; }
#tg-lightbox .lb-img-wrap {
  flex:1; display:flex; align-items:center; justify-content:center;
  position:relative; width:100%; overflow:hidden; padding:0 60px;
}
#tg-lightbox .lb-img {
  max-width:100%; max-height:calc(100vh - 160px);
  object-fit:contain; border-radius:8px;
  transition:opacity .25s; user-select:none;
}
#tg-lightbox .lb-arr {
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px; background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2); border-radius:50%;
  color:#fff; font-size:22px; cursor:pointer; display:flex;
  align-items:center; justify-content:center; transition:background .2s;
  backdrop-filter:blur(6px); z-index:2;
}
#tg-lightbox .lb-arr:hover { background:rgba(255,255,255,.25); }
#tg-lightbox .lb-arr-l { left:10px; }
#tg-lightbox .lb-arr-r { right:10px; }
#tg-lightbox .lb-top {
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding:14px 20px; flex-shrink:0;
}
#tg-lightbox .lb-title { color:#fff; font-size:15px; font-weight:600; }
#tg-lightbox .lb-counter { color:rgba(255,255,255,.5); font-size:13px; }
#tg-lightbox .lb-close {
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2);
  border-radius:50%; width:36px; height:36px; color:#fff; font-size:18px;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background .2s;
}
#tg-lightbox .lb-close:hover { background:rgba(255,255,255,.25); }
#tg-lightbox .lb-thumbs {
  display:flex; gap:6px; padding:12px 20px; overflow-x:auto;
  flex-shrink:0; max-width:100%; scrollbar-width:none;
}
#tg-lightbox .lb-thumbs::-webkit-scrollbar { display:none; }
#tg-lightbox .lb-thumb {
  width:64px; height:48px; object-fit:cover; border-radius:6px;
  cursor:pointer; opacity:.45; border:2px solid transparent;
  flex-shrink:0; transition:opacity .2s, border-color .2s;
}
#tg-lightbox .lb-thumb.on { opacity:1; border-color:#fff; }
#tg-lightbox .lb-caption {
  color:rgba(255,255,255,.5); font-size:12px; padding:0 20px 10px;
  text-align:center; flex-shrink:0;
}
.trip-slides { display:flex; height:100%; transition:transform .45s cubic-bezier(.4,0,.2,1); will-change:transform; }
.trip-slide { min-width:100%; height:210px; background-size:cover; background-position:center; flex-shrink:0; }
.trip-slide-emoji { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:72px; opacity:.2; }
.slider-dot-wrap { position:absolute; bottom:52px; left:50%; transform:translateX(-50%); display:flex; gap:5px; z-index:5; }
.slider-dot { width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,.45); cursor:pointer; transition:all .25s; }
.slider-dot.on { background:#fff; width:16px; border-radius:3px; }
.slider-arr { position:absolute; top:50%; transform:translateY(-50%); width:32px; height:32px; background:rgba(0,0,0,.55); border:none; border-radius:50%; color:#fff; font-size:16px; cursor:pointer; z-index:5; display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .2s; backdrop-filter:blur(6px); }
.trip-card:hover .slider-arr { opacity:1; }
.slider-arr-l { left:10px; }
.slider-arr-r { right:10px; }

/* ── Trip-modal photo slider (additive; the card slider is untouched) ────────
   Deliberately NOT .trip-slider: the 4s auto-advance loop selects .trip-slider
   and derives its id via sl.id.replace('sl-',''), so reusing that class would
   feed 'mdl-sl-<id>' into the card's slGo() and misfire. Height is capped so the
   "Choose a Date" calendar stays above the fold on mobile — this modal is where
   Zoya's booking links land. */
.mdl-slider { position:relative; height:190px; overflow:hidden; border-radius:10px;
  margin:14px 24px 0; background:linear-gradient(135deg,var(--navy),var(--navy2)); z-index:1; }
/* .trip-slide is a fixed 210px for the cards — fill the capped frame instead. */
.mdl-slider .trip-slide { height:100%; }
/* .slider-arr is opacity:0 until .trip-card:hover, and there is no .trip-card
   ancestor here — without this the modal arrows are invisible on desktop. */
.mdl-slider .slider-arr { opacity:1; }
/* Card dots clear the card's own footer; nothing sits below them here. */
.mdl-slider .slider-dot-wrap { bottom:10px; }
@media (max-width:768px){ .mdl-slider { height:150px; margin:12px 16px 0; } }
@media (max-width:480px){ .mdl-slider { height:128px; margin:10px 14px 0; } }
.trip-body { padding: 18px 18px 16px; flex: 1; display: flex; flex-direction: column; position:relative; z-index:1; background:#fff; }
.trip-name {
  font-family: var(--font-display);
  font-size: 1.12rem; font-weight: 600; color: var(--navy);
  line-height: 1.35; margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  letter-spacing: -.01em;
}
.trip-dest {
  font-size: 11.5px; color: var(--muted); margin-bottom: 10px;
  display: flex; align-items: center; gap: 5px; font-family: var(--font-mono); letter-spacing: .02em;
}
.trip-pickup {
  background:#eff6ff; border:1px solid #bfdbfe;
  border-radius:10px; padding:10px 12px; margin-bottom:12px;
}
.trip-pickup-title {
  font-size:10px; font-weight:700; color:#1e40af; text-transform:uppercase;
  letter-spacing:.07em; margin-bottom:7px; display:flex; align-items:center; gap:5px;
}
.trip-pickup-row {
  display:flex; align-items:center; gap:8px; padding:5px 0;
}
.trip-pickup-row + .trip-pickup-row { border-top:1px solid #dbeafe; }
.trip-pickup-num {
  width:20px; height:20px; border-radius:50%; background:#3b82f6; color:#fff;
  font-size:10px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.trip-pickup-info { flex:1; min-width:0; }
.trip-pickup-name { font-size:11.5px; font-weight:600; color:#1e3a8a; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.trip-pickup-post { font-size:10px; color:#6b7280; }
.trip-pickup-time { font-size:10.5px; font-weight:700; color:#fff; background:#1d4ed8; padding:2px 8px; border-radius:20px; white-space:nowrap; flex-shrink:0; }
.trip-meta { display: flex; gap: 5px; margin-bottom: 12px; flex-wrap: wrap; }
.trip-tag {
  display: flex; align-items: center; gap: 4px;
  font-size: 10.5px; color: var(--text2);
  background: var(--bg); border: 1px solid var(--border);
  padding: 3px 9px; border-radius: 20px; font-family: var(--font-mono);
}
.trip-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid var(--border); margin-bottom: 14px; }
.trip-price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--navy); line-height: 1; }
.trip-price small { font-family: var(--font-body); font-size: 10.5px; color: var(--muted); font-weight: 400; display: block; margin-top: 1px; }
.btn-book {
  padding: 9px 20px; background: var(--red); color: #fff; border: none;
  border-radius: 100px; font-size: 12px; font-weight: 700; cursor: pointer;
  font-family: var(--font-body); transition: all .2s; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 3px 12px rgba(192,57,43,.25);
}
.btn-book:hover { background: var(--red2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(192,57,43,.35); }
.btn-book:disabled { background: var(--muted); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-book.sold { background: #6b7280; box-shadow: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* ── SEATS BAR ── */
.seats-bar { margin-bottom: 14px; }
.seats-bar-track { height: 5px; background: var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 5px; }
.seats-bar-fill { height: 100%; border-radius: 10px; transition: width .4s ease; }
.seats-bar-text { font-size: 11px; color: var(--muted); font-family: 'DM Mono', monospace; }

/* ── NEXT DEPARTURES + MONTH STRIP (multi-date cards only) ── */
.next-departures-block { margin-bottom: 14px; }
.next-departures-heading { font-size: 11px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.next-dep-row { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text2); padding: 3px 0; }
.next-dep-check { color: var(--green); font-size: 12px; flex-shrink: 0; }
.next-dep-date { font-family: var(--font-mono); color: var(--text); }
.next-dep-avail { color: var(--muted); font-style: italic; font-size: 11px; }
.month-strip { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.month-strip-item { font-size: 10px; font-family: var(--font-mono); color: var(--muted); padding: 2px 6px; border-radius: 4px; }
.month-strip-item.active { color: var(--navy); font-weight: 700; background: var(--green-bg); }

/* ── NO RESULTS ── */
.no-results {
  grid-column: 1/-1; text-align: center; padding: 60px 20px;
  color: var(--muted); font-size: 16px;
}

/* ── FEATURES STRIP ── */
.features-strip {
  background: var(--navy); padding: 40px 24px;
  margin: 60px 0 0;
}
.features-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.feature-item { text-align: center; color: rgba(255,255,255,.85); }
.feature-icon { font-size: 32px; margin-bottom: 10px; }
.feature-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.feature-desc { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; }

/* ── FOOTER ── */
/* ── PRE-FOOTER CTA STRIP ── */
.footer-cta-strip {
  background: linear-gradient(135deg, #0a1628 0%, #0f2040 60%, #1a1a2e 100%);
  border-top: 3px solid var(--red);
  padding: 36px 24px;
  position: relative;
  overflow: hidden;
}
.footer-cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(192,57,43,.18) 0%, transparent 60%);
  pointer-events: none;
}
.footer-cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; position: relative; z-index: 1;
}
.footer-cta-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--red);
  display: block; margin-bottom: 6px;
}
.footer-cta-strip h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 700;
  color: #fff; margin: 0 0 4px;
}
.footer-cta-strip p {
  font-size: 13.5px; color: rgba(255,255,255,.55); margin: 0;
}
.footer-wa-join-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 50px;
  background: #25d366; color: #fff;
  font-size: 14px; font-weight: 700; text-decoration: none;
  white-space: nowrap; flex-shrink: 0;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  font-family: 'DM Sans', sans-serif;
}
.footer-wa-join-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,.45); }
/* ── MAIN FOOTER ── */
footer {
  background: #0d1b2a;
  color: rgba(255,255,255,.6);
  padding: 0 24px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 52px 0 44px;
  margin-bottom: 0;
}
.footer-brand p { font-size: 13px; line-height: 1.8; max-width: 270px; color: rgba(255,255,255,.55); margin: 10px 0 16px; }
.footer-brand .brand-name { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-rating {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 6px 12px;
  font-size: 12.5px; color: rgba(255,255,255,.75);
  margin-bottom: 18px;
}
.footer-socials-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.footer-soc-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  font-size: 15px; text-decoration: none;
  transition: background .18s, border-color .18s, transform .18s;
}
.footer-soc-icon:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.footer-col h4 {
  font-size: 11px; font-weight: 700; color: var(--red);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 18px; font-family: 'DM Mono', monospace;
  padding-bottom: 9px; border-bottom: 1px solid rgba(192,57,43,.3);
}
.footer-col a {
  display: block; font-size: 13px;
  color: rgba(255,255,255,.55); text-decoration: none;
  margin-bottom: 9px; transition: color .15s, padding-left .15s;
  position: relative; padding-left: 0;
}
.footer-col a::before { content: '→'; font-size: 10px; opacity: 0; position: absolute; left: -14px; transition: opacity .15s, left .15s; }
.footer-col a:hover { color: #fff; padding-left: 12px; }
.footer-col a:hover::before { opacity: 1; left: 0; }
.footer-wa-btn {
  display: inline-flex !important; align-items: center; gap: 7px;
  padding: 9px 16px !important; border-radius: 8px;
  background: #25d366 !important; color: #fff !important;
  font-size: 12.5px; font-weight: 700;
  text-decoration: none; margin-bottom: 8px;
  transition: opacity .15s !important;
  width: 100%; justify-content: center; box-sizing: border-box;
}
.footer-wa-btn:hover { opacity: .88 !important; color: #fff !important; padding-left: 16px !important; }
.footer-wa-btn::before { display: none !important; }
.footer-office-btn {
  display: inline-flex !important; align-items: center; gap: 7px;
  padding: 9px 16px !important; border-radius: 8px;
  background: rgba(255,255,255,.07) !important; border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.75) !important;
  font-size: 12.5px; font-weight: 600;
  text-decoration: none; margin-bottom: 8px;
  transition: background .15s, color .15s;
  width: 100%; justify-content: center; box-sizing: border-box;
}
.footer-office-btn:hover { background: rgba(255,255,255,.14) !important; color: #fff !important; padding-left: 16px !important; }
.footer-office-btn::before { display: none !important; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0 28px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.45); margin: 0; }
.footer-policy-pills { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.footer-policy-pills a {
  display: inline-block !important; padding: 4px 12px !important;
  border: 1px solid rgba(255,255,255,.12); border-radius: 20px;
  color: rgba(255,255,255,.45) !important; font-size: 11.5px;
  text-decoration: none !important; margin-bottom: 0 !important;
  transition: border-color .15s, color .15s;
}
.footer-policy-pills a::before { display: none !important; }
.footer-policy-pills a:hover { border-color: rgba(255,255,255,.4); color: #fff !important; padding-left: 12px !important; }
.footer-socials { display: none; }

/* ── BOOKING MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15,32,64,.6); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white); border-radius: 20px; width: 100%; max-width: 540px;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  transform: translateY(20px); transition: transform .25s;
}
.modal-overlay.open .modal { transform: translateY(0); }
/* Mobile: slide up as bottom sheet */
@media (max-width: 600px) {
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal { border-radius: 20px 20px 0 0; max-height: 92vh; max-width: 100%;
           transform: translateY(100%); }
  .modal-overlay.open .modal { transform: translateY(0); }
}
.modal-header {
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  padding: 22px 24px; color: #fff;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.modal-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; line-height: 1.4; }
.modal-date { font-size: 12px; color: rgba(255,255,255,.55); font-family: 'DM Mono', monospace; margin-top: 4px; }
.modal-close {
  background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 32px; height: 32px; border-radius: 8px; cursor: pointer;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .15s;
}
.modal-close:hover { background: rgba(255,255,255,.22); }
.modal-body { padding: 22px 24px; }
.modal-price-row {
  display: flex; align-items: center; justify-content: space-between;
  background: #f0f4fa; border-radius: 12px; padding: 14px 16px; margin-bottom: 20px;
}
.modal-price { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.modal-price small { font-family: 'DM Sans', sans-serif; font-size: 11px; color: var(--muted); font-weight: 400; }
.modal-avail { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.m-field { margin-bottom: 14px; }
.m-field label { display: block; font-size: 12px; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 5px; }
.m-field input, .m-field select, .m-field textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text);
  background: var(--white); outline: none; transition: border-color .15s;
  appearance: none;
}
.m-field input:focus, .m-field select:focus, .m-field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,32,64,.08); }
.m-field textarea { resize: vertical; min-height: 80px; line-height: 1.6; }
.m-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) {
  .m-row { grid-template-columns: 1fr; gap: 8px; }
  .modal-body { padding: 16px; }
  .modal-header { padding: 14px 16px; }
  .btn-confirm { font-size: 14px; padding: 13px; }
  .pax-counter { gap: 12px; }
}
/* ── BOOKING MODAL — DEPARTURE CALENDAR ── */
.dcal-wrap { padding: 14px 24px 16px; background: #f0f7ff; border-bottom: 1px solid #bfdbfe; }
.dcal-label { font-size: 11px; font-weight: 700; color: #1e40af; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.dcal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dcal-nav-btn {
  width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid #bfdbfe; background: #fff;
  color: var(--navy); font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s, opacity .15s; flex-shrink: 0;
}
.dcal-nav-btn:hover:not(:disabled) { background: #e0edff; }
.dcal-nav-btn:disabled { opacity: .3; cursor: not-allowed; }
.dcal-month-label { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700; color: var(--navy); }
.dcal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dcal-weekday {
  font-size: 9.5px; font-weight: 700; color: #1e40af; text-align: center; text-transform: uppercase;
  letter-spacing: .03em; padding-bottom: 4px; font-family: 'DM Mono', monospace;
}
.dcal-day {
  aspect-ratio: 1; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 700; color: var(--text); background: transparent; border: 1.5px solid transparent;
  gap: 1px; position: relative;
}
.dcal-day.dcal-empty { visibility: hidden; }
.dcal-day.dcal-unavailable { color: #b8c2d6; background: rgba(148,163,184,.08); }
.dcal-day.dcal-bookable {
  cursor: pointer; background: #fff; border-color: #bfdbfe; color: var(--navy);
  transition: transform .1s, box-shadow .15s, border-color .15s;
}
.dcal-day.dcal-bookable:hover { border-color: var(--navy); box-shadow: 0 2px 8px rgba(15,32,64,.12); transform: translateY(-1px); }
.dcal-day.dcal-selected { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 2px 10px rgba(15,32,64,.3); }
.dcal-day.dcal-selected .dcal-day-price { color: rgba(255,255,255,.85); }
.dcal-day-num { line-height: 1.1; }
.dcal-day-price { font-size: 8.5px; font-weight: 600; color: #1e40af; font-family: 'DM Mono', monospace; line-height: 1; }
.dcal-day.dcal-unavailable .dcal-day-price { color: #cbd5e1; font-size: 7.5px; }
.dcal-day-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--green); position: absolute; top: 3px; right: 3px; }
.dcal-summary {
  margin-top: 10px; padding: 8px 12px; background: #fff; border: 1px solid #bfdbfe; border-radius: 8px;
  font-size: 11.5px; color: var(--navy); font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
.dcal-summary-urgency { font-size: 10.5px; font-weight: 700; }
@media (max-width: 480px) {
  .dcal-wrap { padding: 12px 16px 14px; }
  .dcal-day { font-size: 10px; }
  .dcal-day-num { font-size: 11px; }
  .dcal-day-price { font-size: 7.5px; }
  .dcal-weekday { font-size: 8.5px; }
  .dcal-month-label { font-size: 12.5px; }
}
.modal-itin {
  background: #f8fafc; border: 1px solid var(--border); border-radius: 10px;
  padding: 14px; margin-bottom: 16px; max-height: 180px; overflow-y: auto;
  font-size: 12.5px; color: var(--text2); line-height: 1.9; white-space: pre-wrap;
  font-family: 'DM Mono', monospace;
}
.modal-itin-label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px; }
.modal-pickup {
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px;
  padding: 11px 14px; margin-bottom: 16px;
  font-size: 12.5px; color: #1d4ed8; font-family: 'DM Mono', monospace;
}
/* Passengers block (Adults / Children / Infants) — PRESENTATION ONLY.
   The counts, the cap logic and the price expressions live in changePax/changeChild/
   changeInfant and are untouched by anything here. */
.pax-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 12px; }
/* gap was 12 here; 10 buys headroom. A 540px modal leaves each card 121.3px of inner
   width and the counter needed 120px at 12 — 1.3px spare, too thin to add flex-shrink:0
   against. At 10 it is 116px, 5.3px spare. The <=768px queries below already used 10. */
.pax-counter { display: flex; align-items: center; gap: 10px; }
.pax-btn {
  /* flex-shrink:0 is the actual defect fix. Without it width:32px is only a BASIS: at
     320px the card was 98px against a 120px counter, .pax-count's min-width blocked its
     share, and the two buttons silently absorbed the whole 22px deficit — ~21px each. */
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 8px; border: 1.5px solid var(--border2);
  background: var(--white); font-size: 18px; cursor: pointer; display: flex;
  align-items: center; justify-content: center; font-weight: 700; transition: all .15s;
}
/* :not(:disabled) matters — the old bare :hover recoloured a DISABLED button, signalling
   the opposite of the truth. The disabled attribute was already being set correctly by
   the JS at zero and at the availability cap; it simply had no styling. */
.pax-btn:hover:not(:disabled)  { border-color: var(--navy); color: var(--navy); }
.pax-btn:active:not(:disabled) { background: rgba(79,142,255,.15); transform: scale(.94); }
.pax-btn:disabled { opacity: .35; cursor: not-allowed; background: var(--bg2,#f5f3ef); border-color: var(--border); }
.pax-count { font-size: 1.2rem; font-weight: 700; min-width: 32px; text-align: center; color: var(--navy); }
/* Touch devices get the 44px target. The grid floor rises WITH the button (44+10+40+10+44
   = 148 counter + 24 card padding = 168) so auto-fit drops a column by itself instead of
   squeezing one — a 540px modal becomes 2-up rather than overflowing 3-up. */
@media (pointer: coarse) {
  .pax-grid  { grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); }
  .pax-btn   { width: 44px; height: 44px; font-size: 20px; }
  .pax-count { min-width: 40px; }
}
/* Narrow phones: one tier per row. Must come AFTER the coarse block to win on a narrow
   touch device — same specificity, so source order decides. Below ~376px the old
   auto-fit produced 2 columns plus a full-width orphan, with Infants as the odd one out. */
@media (max-width: 420px) {
  .pax-grid { grid-template-columns: 1fr; gap: 10px; }
}
.modal-total {
  background: var(--navy); color: #fff; border-radius: 12px; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.modal-total-label { font-size: 13px; color: rgba(255,255,255,.65); }
.modal-total-amount { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; }
.btn-confirm {
  width: 100%; padding: 14px; background: var(--red); color: #fff;
  border: none; border-radius: 12px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all .15s;
  letter-spacing: .01em;
}
.btn-confirm:hover { background: var(--red2); }
.modal-note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.7; }
.modal-success { text-align: center; padding: 32px 24px; }
.modal-success .check { font-size: 56px; margin-bottom: 16px; }
.modal-success h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--navy); margin-bottom: 8px; }
.modal-success p { font-size: 14px; color: var(--text2); line-height: 1.8; margin-bottom: 20px; }
.modal-ref { font-family: 'DM Mono', monospace; font-size: 1.1rem; font-weight: 700; color: var(--red); letter-spacing: .08em; }

@media (max-width: 768px) {
  .scroll-top  { bottom: 80px; }
}
@media (max-width: 480px) {
  .scroll-top  { bottom: 76px; left: 12px; }
}

/* ── SMOOTH OVERSCROLL ── */
html { -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
* { -webkit-tap-highlight-color: transparent; }

/* ── INPUT ZOOM PREVENTION on iOS ── */
@media (max-width: 768px) {
  input, select, textarea { font-size: 16px !important; }
}
  background: linear-gradient(90deg, #f0f4fa 25%, #e2e8f0 50%, #f0f4fa 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 8px;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ══════════════════════════════════════════════
   RESPONSIVE — full mobile-first overhaul
   Breakpoints: 1024px tablet · 768px large-phone · 480px phone
   ══════════════════════════════════════════════ */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .trips-grid        { grid-template-columns: repeat(2, 1fr); }
  .features-inner    { grid-template-columns: repeat(2, 1fr); }
  .footer-top        { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-inner        { grid-template-columns: 1fr; }
  .search-box        { max-width: 100%; }
  /* Stats inline grid */
  .tg-stats-grid     { grid-template-columns: repeat(2, 1fr) !important; gap: 24px !important; }
  .tg-stats-grid > :nth-child(3):last-child { grid-column: 1 / -1; }   /* 3 stat cards (2026-09-24) */
  .tg-visa-grid      { grid-template-columns: 1fr !important; gap: 28px !important; }
  .tg-holidays-grid  { grid-template-columns: 1fr !important; gap: 20px !important; }
}

/* ── Large phone (≤768px) ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links       { display: none !important; }
  .nav-ctas .btn-outline { display: none; }
  #mob-btn         { display: block !important; }

  /* Top bar */
  .topbar          { padding: 6px 16px; gap: 6px; }
  .topbar-left     { gap: 12px; }
  .topbar-socials  { gap: 10px; }
  .topbar-link     { font-size: 11.5px; }

  /* Main nav */
  .mainnav         { padding: 0 16px; }
  .mainnav-inner   { height: 60px; }

  /* Hero */
  .hero            { min-height: auto; }
  .hero-inner      { padding: 36px 16px 28px; gap: 28px; }
  .hero-title      { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero-sub        { font-size: 14px; }
  .hero-badges     { gap: 8px; }
  .hero-badge      { font-size: 12px; padding: 6px 12px; }
  .search-box      { border-radius: 14px; }
  .search-body     { padding: 12px; gap: 8px; }

  /* Trip cards */
  .trips-grid      { grid-template-columns: 1fr; gap: 16px; }
  .trip-img, .trip-slider { height: 200px; }

  /* Category pills — horizontal scroll */
  .cat-pills       { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
                     padding-bottom: 6px; -webkit-overflow-scrolling: touch;
                     scrollbar-width: none; }
  .cat-pills::-webkit-scrollbar { display: none; }
  .cat-pill        { flex-shrink: 0; }

  /* Features */
  .features-strip  { padding: 28px 16px; }
  .features-inner  { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  /* Stats */
  .tg-stats-grid   { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }


  /* Visa section */
  .tg-visa-grid    { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* Holidays */
  .tg-holidays-grid { grid-template-columns: 1fr !important; }

  /* Footer */
  .footer-top      { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom   { flex-direction: column; text-align: center; gap: 8px; }

  /* Modal */
  .modal           { border-radius: 16px 16px 0 0; max-height: 95vh; }
  .modal-overlay   { align-items: flex-end; padding: 0; }
  .modal-body      { padding: 16px; }
  .modal-header    { padding: 16px 18px; }
  .m-row           { grid-template-columns: 1fr; }
  .modal-total     { flex-direction: column; gap: 6px; }

  /* Booking form */
  .pax-counter     { gap: 10px; }

  /* Scroll-to-top button */
  .scroll-top      { bottom: 80px; left: 16px; width: 40px; height: 40px; font-size: 16px; }

  /* Announcement bar */
  .ann-bar         { font-size: 12px; padding: 8px 36px 8px 12px; text-align: center; flex-wrap: wrap; }
  .ann-cta         { font-size: 11px; padding: 3px 10px; }

  /* Section padding */
  .section-wrap    { padding: 0 16px; }
  .section-title   { font-size: clamp(1.5rem, 6vw, 2rem); }
}

/* ── Small phone (≤480px) ── */
@media (max-width: 480px) {
  /* Top bar — hide non-essential items */
  .topbar-socials  { display: none; }
  .topbar          { justify-content: space-between; }
  .topbar-left     { gap: 8px; }

  /* Hero */
  .hero-inner      { padding: 28px 14px 20px; }
  .hero-title      { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .hero-sub        { font-size: 13.5px; margin-bottom: 20px; }
  .hero-eyebrow    { font-size: 10px; }

  /* Hero CTA buttons — stack vertically */
  .hero-inner > div > div[style*="display:flex;gap:12px"] {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .hero-inner button, .hero-inner a[style*="padding:14px"] {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Search box */
  .search-field select, .search-field input { font-size: 13px; padding: 10px 10px 10px 0; }

  /* Trip card */
  .trip-img, .trip-slider { height: 180px; }
  .trip-body       { padding: 12px; }
  .trip-name       { font-size: 0.95rem; }
  .trip-price      { font-size: 1.2rem; }
  .btn-book        { padding: 10px 14px; font-size: 12px; }
  /* Scarcity strip bleeds to 12px padding on mobile */
  .scarcity-strip  { margin: 0 -12px 10px; padding: 8px 12px; font-size: 11px; }
  /* Urgency badge slightly smaller on mobile */
  .avail-low, .avail-very-low { font-size: 11px; }

  /* Features strip — single column on tiny screens */
  .features-inner  { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .feature-icon    { font-size: 26px; }
  .feature-title   { font-size: 0.9rem; }
  .feature-desc    { font-size: 12px; }

  /* Stats — 2 cols */
  .tg-stats-grid   { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important;
                     padding: 0 4px !important; }


  /* Holidays — single col */
  .tg-holidays-grid { gap: 14px !important; }

  /* Footer */
  .footer-top      { gap: 18px; }
  .footer-brand p  { max-width: 100%; }

  /* Modal — full width */
  .modal           { border-radius: 20px 20px 0 0; }
  .modal-price     { font-size: 1.4rem; }
  .modal-total-amount { font-size: 1.3rem; }

  /* Custom trip type buttons — 2 col on small */
  #ct-type-grid    { grid-template-columns: repeat(2, 1fr) !important; }

  /* Announcement — even more compact */
  .ann-bar span    { font-size: 11.5px; }
}

/* ── Touch / tap improvements ── */
@media (hover: none) and (pointer: coarse) {
  /* Larger tap targets */
  .btn-book        { min-height: 44px; }
  .btn-red         { min-height: 44px; }
  .btn-confirm     { min-height: 48px; }
  .cat-pill        { min-height: 38px; }
  .nav-link        { min-height: 44px; padding: 10px 14px; }
  /* Remove hover-only transforms that feel broken on touch */
  .trip-card:hover { transform: none; }
  .slider-arr      { opacity: 1 !important; }
}

/* ── Advanced Itinerary ── */
/* ── Itinerary — unified design across modal, trip page, checkout ── */
.itin-advanced { border-radius:10px; overflow:hidden; border:1px solid var(--border); }
.itin-days-wrap { }
.itin-day-card { border-bottom:1px solid var(--border); }
.itin-day-card:last-child { border-bottom:none; }
.itin-day-header { background:#0f2040; color:#fff; padding:11px 16px; font-size:13px; font-weight:700; }
.itin-day-body { padding:12px 16px; font-size:13px; line-height:1.8; color:var(--text2); }
.itin-day-body h3 { font-size:13px; font-weight:700; color:#1e40af; margin:8px 0 4px; }
.itin-day-body h4 { font-size:12.5px; font-weight:700; color:#1e3a8a; margin:6px 0 3px; }
.itin-day-body ul,.itin-day-body ol { padding-left:18px; margin:4px 0; }
.itin-day-body li { margin:2px 0; font-size:13px; line-height:1.8; }
.itin-day-body p { margin:4px 0; font-size:13px; }
/* Section accordion */
.itin-sections-wrap { }
.itin-step { border-bottom:1px solid var(--border); }
.itin-step:last-child { border-bottom:none; }
.itin-step-head { display:flex; align-items:center; gap:10px; padding:12px 16px; cursor:pointer; background:transparent; border:none; width:100%; text-align:left; transition:background .12s; font-family:inherit; }
.itin-step-head:hover { background:rgba(0,0,0,.02); }
.itin-step-head.open { background:rgba(15,32,64,.04); }
.itin-step-icon { font-size:15px; width:22px; text-align:center; flex-shrink:0; }
.itin-step-title { flex:1; font-size:13px; font-weight:600; color:var(--navy); text-align:left; }
.itin-chevron { color:var(--muted); transition:transform .2s; flex-shrink:0; }
.itin-step-head.open .itin-chevron { transform:rotate(180deg); }
.itin-step-body { display:none; padding:6px 16px 14px 48px; background:#fafafa; border-top:1px solid var(--border); }
.itin-step-body.open { display:block; }
.itin-bullet { position:relative; padding-left:14px; font-size:13px; color:var(--text2); line-height:1.85; }
.itin-bullet::before { content:"•"; position:absolute; left:0; color:#1e40af; font-weight:700; }
.itin-line { font-size:13px; color:var(--text2); line-height:1.85; }
.itin-plain { padding:12px 16px; }
.itin-plain .itin-bullet,.itin-plain .itin-line { font-family:inherit; }
.modal-itin-toggle { width:100%; display:flex; align-items:center; justify-content:space-between; background:linear-gradient(135deg,rgba(15,32,64,.07) 0%,rgba(15,32,64,.04) 100%); border:2px solid var(--navy); border-radius:10px; padding:14px 20px; cursor:pointer; transition:all .2s; font-family:var(--font-body); color:var(--navy); font-weight:700; }
.modal-itin-toggle:hover { background:linear-gradient(135deg,rgba(15,32,64,.13) 0%,rgba(15,32,64,.08) 100%); box-shadow:0 3px 12px rgba(15,32,64,.15); transform:translateY(-1px); }
.modal-itin-toggle.open { background:var(--navy); color:#fff; border-color:var(--navy); }
.modal-itin-toggle.open .itin-arrow { transform:rotate(180deg); stroke:#fff; }
.itin-arrow { transition:transform .2s; flex-shrink:0; stroke:var(--navy); }
.modal-itin-body { display:none; border:2px solid var(--navy); border-top:none; border-radius:0 0 10px 10px; }
.modal-itin-body.open { display:block; }


/* TG Share */
.tg-share-btn{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1.5px solid #e2e8f0;color:#0f2040;padding:8px 14px;border-radius:8px;font-size:12px;font-weight:700;cursor:pointer;transition:all .15s;font-family:inherit;}
.tg-share-btn:hover{background:#f0f4fa;border-color:#0f2040;}
.tg-share-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;justify-content:center;}
.tg-share-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#0f2040;color:#fff;padding:10px 20px;border-radius:30px;font-size:13px;font-weight:600;z-index:99999;opacity:0;transition:opacity .3s;pointer-events:none;white-space:nowrap;}
.tg-share-toast.show{opacity:1;}

/* ── FAQ SECTION ── */
.faq-section {
  background: var(--bg); padding: 80px 24px;
}
.faq-section .section-header {
  text-align: center; max-width: 640px; margin: 0 auto 48px;
}
.faq-section .section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700; color: var(--navy); margin-bottom: 12px;
}
.faq-section .section-header p {
  font-size: 15px; color: var(--text2); line-height: 1.7;
}
.faq-grid {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(15,32,64,.05);
  transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: var(--border2); box-shadow: var(--shadow); }
.faq-item.open { border-color: var(--navy); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 18px 20px; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  font-family: 'DM Sans', sans-serif; font-size: 14.5px; font-weight: 600;
  color: var(--navy); line-height: 1.4;
}
.faq-q:hover { background: #f8faff; }
.faq-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--red-light); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
  transition: transform .25s, background .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq-a {
  display: none; padding: 0 20px 18px 20px;
  font-size: 14px; color: var(--text2); line-height: 1.75;
  border-top: 1px solid var(--border);
}
.faq-a a { color: var(--red); text-decoration: none; font-weight: 600; }
.faq-a a:hover { text-decoration: underline; }
.faq-item.open .faq-a { display: block; }
.faq-cats {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 28px;
}
.faq-cat-btn {
  padding: 7px 16px; border-radius: 20px; border: 1.5px solid var(--border);
  background: #fff; font-size: 12.5px; font-weight: 600; color: var(--text2);
  cursor: pointer; transition: all .15s; font-family: 'DM Sans', sans-serif;
}
.faq-cat-btn:hover { border-color: var(--navy); color: var(--navy); }
.faq-cat-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.faq-cta {
  text-align: center; margin-top: 40px;
  padding: 28px 24px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  border-radius: 16px; max-width: 820px; margin: 40px auto 0;
}
.faq-cta p { color: rgba(255,255,255,.8); font-size: 14px; margin-bottom: 14px; }
.faq-cta strong { color: #fff; font-size: 16px; display: block; margin-bottom: 6px; }
.faq-cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.faq-cta-btns a {
  padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 700;
  text-decoration: none; transition: all .15s; display: inline-flex; align-items: center; gap: 6px;
}
.faq-cta-wa { background: #25d366; color: #fff; }
.faq-cta-wa:hover { background: #1db954; }
.faq-cta-email { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.25); }
.faq-cta-email:hover { background: rgba(255,255,255,.22); }
@media (max-width: 600px) {
  .faq-section { padding: 56px 16px; }
  .faq-q { font-size: 13.5px; padding: 15px 16px; }
  .faq-a { padding: 0 16px 15px; font-size: 13px; }
}
.tg-phone-wrap{display:flex;gap:0;width:100%;}
.tg-phone-wrap input{flex:1;min-width:0;}

/* ══════════════════════════════════════════════════════════════════════
   ── COMPREHENSIVE RESPONSIVE OVERHAUL ──
   Breakpoints: 1024px (tablet) · 768px (large phone) · 480px (phone)
   ══════════════════════════════════════════════════════════════════════ */

/* ── Global: prevent horizontal overflow, images fluid, text safe ── */
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe, embed, object { max-width: 100%; height: auto; }
body { overflow-x: hidden; }
p, h1, h2, h3, h4, h5, h6, span, a, li, td, th, label, button {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ── All touch targets: minimum 44px height ── */
.btn-search, .btn-book, .btn-red, .btn-confirm, .btn-outline,
.cat-pill, .faq-cat-btn, .faq-q, .ann-cta,
.modal-itin-toggle, .ctype-btn {
  min-height: 44px;
}
.nav-link { min-height: 44px; display: inline-flex; align-items: center; }

/* ── ═══════════════════════════════════
      TABLET  ≤ 1024px
   ══════════════════════════════════════ */
@media (max-width: 1024px) {

  /* Topbar wraps gracefully */
  .topbar { padding: 7px 20px; gap: 6px; }
  .topbar-left { gap: 14px; }

  /* Main nav — reduce padding */
  .mainnav { padding: 0 20px; }
  .nav-link { padding: 8px 10px; font-size: 13px; }

  /* Hero — single column, search box below text */
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 48px 24px 40px;
    gap: 32px;
  }

  /* Search box — full width */
  .search-box { max-width: 100%; }

  /* Trips: 2-col */
  .trips-grid { grid-template-columns: repeat(2, 1fr); }

  /* Features: 2-col */
  .features-inner { grid-template-columns: repeat(2, 1fr); }

  /* Footer: 2-col */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }

  /* Section grids — override inline styles */
  .tg-stats-grid    { grid-template-columns: repeat(2, 1fr) !important; gap: 24px !important; }
  .tg-visa-grid     { grid-template-columns: 1fr !important; gap: 28px !important; }
  .tg-holidays-grid { grid-template-columns: 1fr !important; gap: 20px !important; }

  /* Modals: comfortable padding */
  .modal { max-width: 96vw; }

  /* Policy / legal modal inner panel */
  #legal-modal-overlay > div { max-width: 96vw !important; }
  #policy-modal > div { margin: 20px auto !important; padding: 28px 20px !important; max-width: 96vw !important; }
}

/* ── ═══════════════════════════════════
      LARGE PHONE  ≤ 768px
   ══════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Navigation ── */
  .nav-links { display: none !important; }
  .nav-ctas .btn-outline { display: none; }
  #mob-btn { display: block !important; }
  .mainnav { padding: 0 14px; }
  .mainnav-inner { height: 60px; gap: 12px; }
  .logo-text .brand { font-size: 1.05rem; }
  .logo-text .tagline { display: none; }

  /* ── Top bar ── */
  .topbar { padding: 6px 14px; gap: 4px; flex-wrap: nowrap; justify-content: space-between; }
  .topbar-left { gap: 10px; flex-wrap: nowrap; overflow: hidden; }
  .topbar-link { font-size: 11.5px; }
  .topbar-link:not(:first-child) { display: none; } /* keep only primary link */
  .topbar-socials { gap: 10px; }
  .topbar-right { flex-shrink: 0; }

  /* ── Announcement bar ── */
  .ann-bar {
    font-size: 12px; padding: 8px 40px 8px 12px;
    text-align: left; flex-wrap: nowrap; gap: 8px;
    white-space: normal;
  }
  .ann-bar > span { flex: 1; min-width: 0; }
  .ann-cta { font-size: 11px; padding: 4px 10px; flex-shrink: 0; }

  /* ── Hero ── */
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; padding: 36px 16px 28px; gap: 28px; }
  .hero-title { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero-sub { font-size: 14px; line-height: 1.65; }
  .hero-badges { gap: 8px; }
  .hero-badge { font-size: 12px; padding: 6px 12px; }
  .hero-eyebrow { font-size: 11px; }

  /* Hero CTAs — wrap naturally */
  .hero-inner > .hero-text > div[style*="display:flex"] {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  /* ── Search box ── */
  .search-box { border-radius: 14px; }
  .search-body { padding: 12px; gap: 8px; }
  .btn-search { font-size: 14px; padding: 12px; }

  /* ── Sections — horizontal padding ── */
  .section-wrap { padding: 0 14px; }
  .section-head { margin-bottom: 28px; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .section-sub { font-size: 14px; }

  /* Sections with their own padding */
  .faq-section { padding: 48px 14px; }
  .features-strip { padding: 32px 16px; }
  footer { padding: 40px 16px 24px; }

  /* ── Trip cards: 1 col ── */
  .trips-grid { grid-template-columns: 1fr; gap: 16px; }
  .trip-img, .trip-slider { height: 200px; }
  .trip-body { padding: 14px; }
  .trip-name { font-size: 0.95rem; }
  .trip-price { font-size: 1.2rem; }
  .btn-book { padding: 10px 14px; font-size: 13px; min-height: 44px; }

  /* ── Category pills — scroll horizontally ── */
  .cat-pills {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    padding-bottom: 6px; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; margin-bottom: 20px;
  }
  .cat-pills::-webkit-scrollbar { display: none; }
  .cat-pill { flex-shrink: 0; white-space: nowrap; }

  /* ── Features: 2-col ── */
  .features-inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .feature-icon { font-size: 28px; }
  .feature-title { font-size: 0.95rem; }
  .feature-desc { font-size: 12.5px; }

  /* ── Stats: 2-col ── */
  .tg-stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }


  /* ── Visa section: 1-col ── */
  .tg-visa-grid { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* ── Holidays: 1-col ── */
  .tg-holidays-grid { grid-template-columns: 1fr !important; gap: 18px !important; }

  /* ── Footer ── */
  .footer-top { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-brand p { max-width: 100%; }
  .footer-socials { justify-content: center; }

  /* ── Modal: bottom sheet ── */
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal { border-radius: 18px 18px 0 0; max-height: 95vh; max-width: 100%; width: 100%; }
  .modal-body { padding: 16px; }
  .modal-header { padding: 16px 18px; }
  .m-row { grid-template-columns: 1fr; }
  .modal-total { flex-direction: column; gap: 6px; }

  /* ── Booking / pax counter ── */
  .pax-counter { gap: 10px; }

  /* ── Scroll-to-top ── */
  .scroll-top { bottom: 80px; left: 14px; width: 40px; height: 40px; font-size: 16px; }

  /* ── Legal / policy modals ── */
  #legal-modal-overlay { padding: 0 !important; align-items: flex-end !important; }
  #legal-modal-overlay > div {
    max-width: 100% !important; max-height: 95vh !important;
    border-radius: 18px 18px 0 0 !important; margin: 0 !important;
  }
  #policy-modal > div {
    margin: 0 auto !important; border-radius: 18px 18px 0 0 !important;
    padding: 20px 16px !important; max-width: 100% !important;
  }

  /* ── Signup sheet ── */
  #su-sheet { padding: 22px 16px 32px; }

  /* ── Custom trip form ── */
  /* Inline grids inside modal-body collapse to 1-col */
  .modal-body [style*="grid-template-columns:1fr 1fr"],
  .modal-body [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .modal-body [style*="grid-template-columns:1fr 1fr 1fr"],
  .modal-body [style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* ── FAQ ── */
  .faq-q { font-size: 13.5px; padding: 14px 16px; min-height: 44px; }
  .faq-a { padding: 0 16px 14px; font-size: 13px; }
  .faq-cats { gap: 6px; }
  .faq-cat-btn { font-size: 12px; padding: 6px 12px; }
  .faq-cta { padding: 22px 16px; }
  .faq-cta-btns { flex-direction: column; align-items: stretch; }
  .faq-cta-btns a { justify-content: center; text-align: center; }

  /* ── Share toast ── */
  .tg-share-toast { bottom: 80px; font-size: 12px; }

  /* ── Itinerary accordion ── */
  .itin-step-body { padding: 6px 12px 12px 36px; }
  .modal-itin-toggle { padding: 12px 16px; font-size: 14px; }
}

/* ── ═══════════════════════════════════
      SMALL PHONE  ≤ 480px
   ══════════════════════════════════════ */
@media (max-width: 480px) {

  /* ── Top bar — hide socials, keep essential ── */
  .topbar { justify-content: space-between; padding: 5px 12px; }
  .topbar-left { gap: 8px; }
  .topbar-socials { display: none; }
  .topbar-link { font-size: 11px; }

  /* ── Announcement bar ── */
  .ann-bar { font-size: 11.5px; padding: 8px 38px 8px 10px; }

  /* ── Hero ── */
  .hero-inner { padding: 28px 12px 20px; }
  .hero-title { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .hero-sub { font-size: 13.5px; margin-bottom: 16px; }
  .hero-eyebrow { font-size: 10px; }
  .hero-badges { gap: 6px; }
  .hero-badge { font-size: 11px; padding: 5px 10px; }

  /* Hero CTA buttons — stack vertically */
  .hero-inner > .hero-text > div[style*="display:flex"] {
    flex-direction: column !important;
    gap: 10px !important;
  }
  /* Catch inline-styled hero buttons that use padding:14px */
  .hero-text button,
  .hero-text a[style*="padding:14px"] {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* ── Search box ── */
  .search-body { padding: 10px; gap: 6px; }
  .search-field select, .search-field input { font-size: 13px; padding: 10px 10px 10px 0; }
  .btn-search { font-size: 13.5px; padding: 11px; }

  /* ── Trip card ── */
  .trip-img, .trip-slider { height: 180px; }
  .trip-body { padding: 12px; }
  .trip-name { font-size: 0.92rem; }
  .trip-price { font-size: 1.15rem; }
  .btn-book { padding: 9px 12px; font-size: 12.5px; }
  .scarcity-strip { margin: 0 -12px 10px; padding: 8px 12px; font-size: 11px; }
  .avail-low, .avail-very-low { font-size: 11px; }

  /* ── Features: 2-col on tiny ── */
  .features-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature-icon { font-size: 24px; margin-bottom: 8px; }
  .feature-title { font-size: 0.88rem; }
  .feature-desc { font-size: 11.5px; }

  /* ── Stats: 2-col ── */
  .tg-stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; padding: 0 2px !important; }


  /* ── Holidays ── */
  .tg-holidays-grid { gap: 12px !important; }

  /* ── Footer ── */
  .footer-top { gap: 18px; }
  .footer-brand p { max-width: 100%; font-size: 12.5px; }
  .footer-col h4 { margin-bottom: 10px; }
  .footer-col a { font-size: 12.5px; margin-bottom: 7px; }
  footer { padding: 32px 12px 20px; }

  /* ── Modal ── */
  .modal { border-radius: 20px 20px 0 0; }
  .modal-price { font-size: 1.35rem; }
  .modal-total-amount { font-size: 1.25rem; }
  .modal-body { padding: 14px; }
  .modal-header { padding: 14px; }

  /* ── Custom trip type grid: 2-col ── */
  #ct-type-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* ── Custom trip inline grids: collapse to 1-col ── */
  .modal-body [style*="grid-template-columns:1fr 1fr"],
  .modal-body [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .modal-body [style*="grid-template-columns:1fr 1fr 1fr"],
  .modal-body [style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* ── FAQ ── */
  .faq-section { padding: 40px 12px; }
  .faq-q { font-size: 13px; padding: 13px 14px; }
  .faq-a { padding: 0 14px 12px; }

  /* ── Section common ── */
  .section-wrap { padding: 0 12px; }

  /* ── Sign-up sheet ── */
  #su-sheet { padding: 18px 12px 28px; border-radius: 20px 20px 0 0; }

  /* ── Legal modal ── */
  #legal-modal-overlay > div { border-radius: 20px 20px 0 0 !important; }

  /* ── Scroll-to-top ── */
  .scroll-top { bottom: 72px; left: 10px; width: 38px; height: 38px; font-size: 15px; }

  /* ── Announcement bar compact ── */
  .ann-bar span { font-size: 11px; }
}

/* ── ═══════════════════════════════════
      EXTRA SMALL  ≤ 360px
   ══════════════════════════════════════ */
@media (max-width: 360px) {
  .hero-title { font-size: 1.6rem; }
  .logo-text .brand { font-size: 0.95rem; }
  .logo-icon { width: 38px; height: 38px; font-size: 18px; }
  .trip-name { font-size: 0.88rem; }
  .trip-price { font-size: 1.05rem; }
  .btn-book { font-size: 12px; padding: 8px 10px; }
  .features-inner { grid-template-columns: 1fr; gap: 10px; }
  .section-title { font-size: 1.4rem; }
}

/* ── Touch / pointer: improve tap targets ── */
@media (hover: none) and (pointer: coarse) {
  .trip-card:hover { transform: none; }
  .slider-arr { opacity: 1 !important; }
  .btn-book, .btn-red, .btn-search, .btn-outline,
  .btn-confirm, .nav-link, .cat-pill, .faq-cat-btn {
    min-height: 44px;
  }
  .btn-confirm { min-height: 48px; }
  .modal-itin-toggle { min-height: 48px; }
  /* Prevent double-tap zoom on buttons */
  button, a { touch-action: manipulation; }
}

/* ── Safe area insets (iPhone notch/home bar) ── */
@supports (padding: env(safe-area-inset-bottom)) {
  .mainnav { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
  footer { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  #mob-nav { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  #su-sheet { padding-bottom: max(32px, env(safe-area-inset-bottom)); }
  #tg-wa-float { bottom: max(24px, calc(24px + env(safe-area-inset-bottom))); right: max(24px, env(safe-area-inset-right)); }
}

/* ── FOOTER RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 0 32px; }
  .footer-cta-inner { flex-direction: column; text-align: center; }
  .footer-wa-join-btn { width: 100%; max-width: 320px; justify-content: center; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .footer-policy-pills { justify-content: center; }
  .footer-cta-strip { padding: 28px 16px; }
  .footer-cta-strip h3 { font-size: 1.2rem; }
}
