/* =====================================================
   Krisna Bali Tours — Public stylesheet
   Palette: coconut white, sand, palm green, ocean teal
   Type: Poppins (display) + Lato (body)
   ===================================================== */

:root {
  --sand-50:  #FBF7EF;
  --sand-100: #F2E9D9;
  --sand-200: #E6D9C2;
  --palm-900: #123B2C;
  --palm-700: #1C5A43;
  --palm-100: #E3EFE7;
  --teal-600: #0E7490;
  --wa-600:   #1DA851;
  --wa-700:   #178A42;
  --ink:      #22302A;
  --muted:    #5C6B62;
  --white:    #FFFFFF;
  --radius:   18px;
  --radius-sm:12px;
  --shadow:   0 10px 30px rgba(18, 59, 44, 0.10);
  --shadow-sm:0 4px 14px rgba(18, 59, 44, 0.08);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand-50);
}

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

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--palm-900); }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

a { color: var(--teal-600); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal-600);
  outline-offset: 2px;
}

.container { width: min(1140px, 92%); margin: 0 auto; }
.container.narrow { max-width: 720px; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 0.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--palm-700); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--palm-900); }

.btn-wa { background: var(--wa-600); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-wa:hover { background: var(--wa-700); }

.btn-outline { background: transparent; color: var(--palm-700); border-color: var(--palm-700); }
.btn-outline:hover { background: var(--palm-100); }

.btn-block { width: 100%; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-200);
  transition: background 0.25s ease;
}
.site-header.over-hero {
  position: fixed;
  width: 100%;
  background: transparent;
  border-bottom-color: transparent;
}
.site-header.over-hero.scrolled {
  background: rgba(251, 247, 239, 0.94);
  border-bottom-color: var(--sand-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--palm-700);
  color: var(--sand-50);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 12px 12px 12px 4px; /* leaf-like corner */
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--palm-900);
  line-height: 1.1;
}
.brand-text em { display: block; font-style: normal; font-weight: 500; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-600); }
.over-hero:not(.scrolled) .brand-text,
.over-hero:not(.scrolled) .brand-text em { color: var(--white); }
.over-hero:not(.scrolled) .brand-mark { background: rgba(255,255,255,0.18); }

.main-nav { display: flex; gap: 1.7rem; }
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--palm-900);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { border-bottom-color: var(--teal-600); }
.over-hero:not(.scrolled) .main-nav a { color: var(--white); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--palm-900); margin: 5px 0; border-radius: 2px; }
.over-hero:not(.scrolled) .nav-toggle span { background: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(14, 116, 144, 0.55), transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(230, 217, 194, 0.25), transparent 50%),
    linear-gradient(160deg, #0F4A36 0%, #123B2C 45%, #0A5568 100%);
}
.hero-bg::after {
  /* subtle woven texture, like a pandan mat */
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 14px);
}
.hero-inner { position: relative; padding: 9rem 0 7rem; max-width: 720px; }
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand-100);
  margin-bottom: 1rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.1rem; }
.hero-sub { font-size: 1.12rem; color: rgba(255,255,255,0.88); max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-sub { color: var(--muted); margin-top: 0.6rem; }
.empty-note { color: var(--muted); font-style: italic; }

/* ---------- Card grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}

.tour-card, .dest-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.tour-card:hover, .dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.tour-card-media, .dest-card-media { position: relative; display: block; }
.tour-card-media img, .dest-card-media img {
  width: 100%; height: 210px; object-fit: cover;
}

.chip {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--palm-900);
}
.chip-duration { position: absolute; top: 0.9rem; left: 0.9rem; box-shadow: var(--shadow-sm); }
.chip-price { background: var(--sand-100); }

.tour-card-body, .dest-card-body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.65rem;
  flex: 1;
}
.tour-card-body h3 a { color: var(--palm-900); }
.tour-card-body h3 a:hover { color: var(--teal-600); }
.tour-card-body p, .dest-card-body p { color: var(--muted); font-size: 0.95rem; flex: 1; }

.tour-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
}
.tour-card-meta .stops { color: var(--muted); }
.tour-card-meta .price { font-weight: 700; color: var(--palm-700); }

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}
.feature {
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}
.feature-icon { font-size: 1.9rem; margin-bottom: 0.7rem; }
.feature h3 { margin-bottom: 0.45rem; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Page banner (destinations) ---------- */
.page-banner {
  background: linear-gradient(160deg, #0F4A36, #0A5568);
  color: var(--white);
  padding: 7.5rem 0 3.5rem;
}
.page-banner h1 { color: var(--white); }
.page-banner .eyebrow { color: var(--sand-100); }
.page-banner .section-sub { color: rgba(255,255,255,0.85); max-width: 560px; }

/* ---------- CTA band ---------- */
.cta-band {
  margin-top: 3.5rem;
  background: var(--palm-900);
  border-radius: var(--radius);
  padding: 2.8rem 2.2rem;
  text-align: center;
  color: var(--white);
}
.cta-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.82); margin-bottom: 1.4rem; }

/* ---------- Package detail ---------- */
.package-hero { position: relative; height: 46vh; min-height: 320px; }
.package-hero img { width: 100%; height: 100%; object-fit: cover; }
.package-hero-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  background: linear-gradient(to top, rgba(18,59,44,0.85) 0%, rgba(18,59,44,0.25) 55%, rgba(18,59,44,0.35) 100%);
  padding-bottom: 2.2rem;
}
.package-hero-overlay h1 { color: var(--white); margin: 0.4rem 0 0.9rem; }
.back-link { color: var(--sand-100); font-family: var(--font-display); font-size: 0.88rem; }
.back-link:hover { color: var(--white); }
.package-chips { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.package-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}
.package-desc { font-size: 1.08rem; color: var(--ink); margin-bottom: 2.4rem; }
.route-title { margin-bottom: 1.6rem; }

/* Route timeline — the signature element */
.route-timeline { list-style: none; }
.route-stop { display: flex; gap: 1.1rem; }
.route-marker { display: flex; flex-direction: column; align-items: center; }
.route-num {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  background: var(--palm-700);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--palm-100);
}
.route-line { flex: 1; width: 3px; background: var(--sand-200); margin: 6px 0; border-radius: 2px; }

.route-card {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.6rem;
  display: grid;
  grid-template-columns: 180px 1fr;
}
.route-card img { width: 100%; height: 100%; min-height: 140px; object-fit: cover; }
.route-card-body { padding: 1.1rem 1.3rem; }
.route-card-body h3 { margin-bottom: 0.35rem; }
.route-card-body p { color: var(--muted); font-size: 0.93rem; }

/* Booking panel */
.booking-panel { position: sticky; top: 92px; }
.booking-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.7rem 2rem;
  border-top: 5px solid var(--wa-600);
}
.booking-card h2 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.booking-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.3rem; }

.booking-card label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  margin: 1rem 0 0.35rem;
  color: var(--palm-900);
}
.booking-card label .optional { font-weight: 400; color: var(--muted); }
.booking-card input,
.booking-card select,
.booking-card textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--sand-200);
  border-radius: var(--radius-sm);
  background: var(--sand-50);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.booking-card input:focus,
.booking-card select:focus,
.booking-card textarea:focus { border-color: var(--teal-600); background: var(--white); }
.booking-card textarea { resize: vertical; }
.booking-card .btn { margin-top: 1.4rem; }
.field-error { border-color: #C0392B !important; }

.flash {
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
  font-size: 0.93rem;
}
.flash-error { background: #FDECEA; color: #A93226; border: 1px solid #F5B7B1; }
.flash-success { background: var(--palm-100); color: var(--palm-900); border: 1px solid #BFE0CC; }

/* ---------- Footer ---------- */
.site-footer { background: var(--palm-900); color: rgba(255,255,255,0.85); margin-top: 4rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}
.footer-brand { display: flex; gap: 0.9rem; }
.footer-brand strong { font-family: var(--font-display); color: var(--white); font-size: 1.1rem; }
.footer-brand p { font-size: 0.92rem; margin-top: 0.4rem; }
.site-footer h4 {
  color: var(--sand-100);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer-links a { display: block; color: rgba(255,255,255,0.85); padding: 0.25rem 0; font-size: 0.95rem; }
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: 0.92rem; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.1rem 0; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .package-layout { grid-template-columns: 1fr; }
  .booking-panel { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--sand-50);
    border-bottom: 1px solid var(--sand-200);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.95rem 5%; border-bottom: 1px solid var(--sand-200); color: var(--palm-900) !important; }
  .hero-inner { padding: 7.5rem 0 6rem; }
  .route-card { grid-template-columns: 1fr; }
  .route-card img { height: 170px; }
}

/* Blocked-date warning */
.date-warning {
  color: #A93226;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

/* ---------- Airport transfer ---------- */
.zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.2rem;
}
.zone-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.5rem;
  border-top: 4px solid var(--teal-600);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.zone-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.zone-areas { color: var(--muted); font-size: 0.92rem; flex: 1; }
.zone-price { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--palm-900); }
.zone-price small { font-weight: 500; color: var(--muted); font-size: 0.8rem; }

.zone-price-note { font-size: 0.9rem; color: var(--palm-700); margin-top: 0.4rem; }

.transfer-notes {
  margin-top: 2.2rem;
  background: var(--palm-100);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
}
.transfer-notes h3 { margin-bottom: 0.4rem; }
.transfer-notes p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Special package options ---------- */
.option-list { display: flex; flex-direction: column; gap: 1rem; }
.option-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  border-left: 4px solid var(--palm-700);
}
.option-card h3 { margin-bottom: 0.15rem; }
.option-min { color: var(--muted); font-size: 0.85rem; }
.option-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--palm-900);
  white-space: nowrap;
}
.option-price small { font-weight: 500; color: var(--muted); font-size: 0.78rem; }

.total-box {
  margin-top: 1.2rem;
  background: var(--palm-100);
  border: 1.5px solid #BFE0CC;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
}
.total-box span { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--palm-700); }
.total-box strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--palm-900); }
.total-box small { color: var(--muted); font-size: 0.85rem; }

/* ---------- Airport band (homepage) ---------- */
.airport-band {
  background: linear-gradient(135deg, #0A5568, #0E7490);
  border-radius: var(--radius);
  padding: 2.6rem 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--white);
  flex-wrap: wrap;
}
.airport-band h2 { color: var(--white); margin: 0.3rem 0 0.5rem; }
.airport-band p { color: rgba(255,255,255,0.88); max-width: 480px; }
.airport-band .eyebrow { color: var(--sand-100); }
.airport-band .btn-primary { background: var(--white); color: var(--palm-900); }
.airport-band .btn-primary:hover { background: var(--sand-100); }

@media (max-width: 720px) {
  .option-card { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ---------- Trip cart ---------- */
.nav-trip { position: relative; font-weight: 600 !important; }
.trip-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  background: var(--wa-600);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  vertical-align: 2px;
}
.hint-inline { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }
.hint-inline.center { text-align: center; }
.add-trip-form { margin-top: 0.7rem; }

.empty-cart {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem 2rem;
  text-align: center;
}
.empty-cart h2 { margin-bottom: 0.5rem; }
.empty-cart p { color: var(--muted); }

.cart-list { display: flex; flex-direction: column; gap: 1rem; }
.cart-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.3rem 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
}
.cart-item-main h3 { margin: 0.35rem 0 0.15rem; }
.cart-detail { color: var(--muted); font-size: 0.92rem; }
.cart-meta { color: var(--muted); font-size: 0.88rem; margin-top: 0.3rem; }
.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 0.5rem; white-space: nowrap; }
.cart-price { font-family: var(--font-display); font-weight: 700; color: var(--palm-900); display: flex; flex-direction: column; align-items: flex-end; }
.cart-price small { font-weight: 500; color: var(--muted); font-size: 0.78rem; }
.cart-price em { font-weight: 500; color: var(--muted); font-size: 0.9rem; }

.badge-item-tour { background: var(--palm-100); color: var(--palm-700); }
.badge-item-special { background: #FBEEE0; color: #9A5B1F; }
.badge-item-transfer { background: #E0F0F7; color: #0A5568; }
.badge { display: inline-block; font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.65rem; border-radius: 999px; }
.badge-off { background: #FDECEA; color: #A93226; }

.cart-total-row {
  margin-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}
.cart-grand { text-align: right; display: flex; flex-direction: column; }
.cart-grand span { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--palm-700); }
.cart-grand strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--palm-900); }
.cart-grand small { color: var(--muted); font-size: 0.83rem; }

@media (max-width: 720px) {
  .cart-item { flex-direction: column; }
  .cart-item-side { flex-direction: row; align-items: center; width: 100%; }
}

/* =====================================================
   v2 — Character & mobile polish
   (rules below intentionally override earlier defaults)
   ===================================================== */

::selection { background: var(--palm-700); color: var(--sand-50); }

h1, h2 { letter-spacing: -0.01em; font-weight: 600; }
h1 .accent, h2 .accent { font-style: italic; font-weight: 500; color: inherit; }
.hero h1 .accent { color: #F3D8A8; }

/* Sans-serif for UI voice, serif reserved for headlines */
.btn, .chip, .badge, .main-nav a, .eyebrow, .brand-text,
.booking-card label, .tour-card-meta, .zone-name {
  font-family: var(--font-body);
}
.route-num, .stat-number, .zone-price, .option-price,
.cart-price, .cart-grand strong, .total-box strong {
  font-family: var(--font-display);
  font-variant-numeric: lining-nums;
}

/* Links with warmth */
.package-content a, .empty-cart a, .section-sub a {
  text-decoration: underline;
  text-decoration-color: var(--sand-200);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.package-content a:hover, .empty-cart a:hover { text-decoration-color: var(--teal-600); }

/* Ticket-notch price chip on cards */
.tour-card-meta .price {
  background: var(--sand-100);
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  position: relative;
}

/* Hand-feel section eyebrows: little sun mark */
.section-head .eyebrow::before,
.page-banner .eyebrow::before {
  content: '';
  display: inline-block;
  width: 9px; height: 9px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.18);
  vertical-align: 1px;
}
.page-banner .eyebrow::before { background: var(--sand-100); box-shadow: 0 0 0 3px rgba(255,255,255,0.2); }

/* Card hover lift refined */
.tour-card:hover, .dest-card:hover { transform: translateY(-4px) rotate(-0.3deg); }

/* ---------- Mobile-first refinements ---------- */

/* iOS: inputs must be >=16px or Safari zooms the page on focus */
input, select, textarea { font-size: 16px !important; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 3rem 0; }
  .container { width: 90%; }

  /* Hero: shorter, uses small-viewport units where supported */
  .hero { min-height: 78vh; min-height: 78svh; }
  .hero-inner { padding: 6.5rem 0 5.5rem; }
  .hero-sub { font-size: 1.02rem; }
  .hero-actions .btn { flex: 1; min-width: 0; padding-inline: 1rem; }

  /* Bigger tap targets in the drawer nav */
  .main-nav a { padding: 1.05rem 6%; font-size: 1rem; }
  .nav-toggle { padding: 0.7rem; margin-right: -0.7rem; }

  /* Card carousels: swipe sideways instead of scrolling forever */
  .card-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 5%;
    gap: 0.9rem;
    margin-inline: -5.55%;
    padding: 0.3rem 5.55% 1.2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .card-grid::-webkit-scrollbar { display: none; }
  .card-grid > * { scroll-snap-align: start; }
  .tour-card-media img, .dest-card-media img { height: 180px; }

  /* Zones read better two-up on a phone */
  .zone-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .zone-card { padding: 1.1rem 1.1rem; }
  .zone-price { font-size: 1.05rem; }

  /* Feature cards stay stacked, tighter */
  .feature { padding: 1.4rem 1.3rem; }

  .airport-band { padding: 2rem 1.5rem; }
  .airport-band .btn { width: 100%; }

  .cta-band { padding: 2.2rem 1.4rem; }

  .package-hero { height: 38vh; height: 38svh; min-height: 260px; }

  .booking-card { padding: 1.5rem 1.3rem 1.7rem; }

  .footer-inner { padding: 2.6rem 0 2rem; }

  /* Room for the sticky book bar */
  body.has-book-bar { padding-bottom: 76px; }
}

/* ---------- Sticky mobile "Book" bar ---------- */
.mobile-book-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--sand-200);
  padding: 0.7rem 5% calc(0.7rem + env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 -8px 24px rgba(18, 59, 44, 0.10);
}
.mobile-book-bar.hidden { transform: translateY(110%); }
.mobile-book-bar { transition: transform 0.25s ease; }
.mbb-info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.mbb-info span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.mbb-info strong { font-family: var(--font-display); color: var(--palm-900); font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-book-bar .btn { flex: none; padding: 0.7rem 1.5rem; }

@media (max-width: 900px) {
  .mobile-book-bar { display: flex; }
}

/* Touch devices: replace hover lift with press feedback */
@media (hover: none) {
  .tour-card:hover, .dest-card:hover { transform: none; }
  .tour-card:active, .dest-card:active { transform: scale(0.985); }
  .btn:hover { transform: none; }
  .btn:active { transform: scale(0.97); }
}
