/* ==========================================================================
   Thiloththama Tours & Holidays — stylesheet
   Hand-written CSS. No framework, no build step.
   ========================================================================== */

/* --------------------------------------------------------------- Tokens */
:root {
  --blue: #0066cc;
  --blue-dark: #0053a6;
  --navy: #003366;
  --navy-deep: #012043;
  --gold: #ffd700;
  --gold-dark: #d4af00;
  --sky: #87ceeb;
  --sand: #f7f5ec;
  --coral: #ff6b6b;

  --ink: #14213d;
  --body: #46536b;
  --muted: #6b7896;
  --line: #e3e8f0;
  --white: #ffffff;
  --off: #f6f8fb;

  --font-head: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-script: "Caveat", "Segoe Script", cursive;

  --shadow-sm: 0 1px 2px rgba(16, 32, 64, .06), 0 2px 6px rgba(16, 32, 64, .05);
  --shadow: 0 4px 12px rgba(16, 32, 64, .07), 0 12px 32px rgba(16, 32, 64, .07);
  --shadow-lg: 0 8px 24px rgba(16, 32, 64, .1), 0 24px 60px rgba(16, 32, 64, .12);

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1200px;
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.65rem); }
h2 { font-size: clamp(1.75rem, 3.9vw, 2.7rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.4rem); font-weight: 700; }
p  { margin: 0 0 1.1em; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------- Layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section--tint { background: var(--off); }
.section--sand { background: var(--sand); }

.eyebrow {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--blue);
  display: block;
  margin-bottom: .15em;
  line-height: 1;
}
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }

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

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .97rem;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  text-align: center; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(212, 175, 0, .34); }
.btn--primary:hover { background: #ffdf33; box-shadow: 0 10px 26px rgba(212, 175, 0, .42); }

.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(0, 102, 204, .3); }
.btn--blue:hover { background: var(--blue-dark); }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

.btn--outline { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

.btn--wa { background: #25d366; color: #06331a; box-shadow: 0 6px 18px rgba(37, 211, 102, .32); }
.btn--wa:hover { background: #1fbb5a; color: #04240f; }

.btn--block { width: 100%; }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }

/* --------------------------------------------------------------- Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0);
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(1, 24, 51, .62), rgba(1, 24, 51, 0));
  transition: opacity .3s ease;
}
.header.is-stuck { background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); }
.header.is-stuck::after { opacity: 0; }

.header__inner { display: flex; align-items: center; gap: 26px; width: 100%; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; border-radius: 7px; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: .93rem;
  color: #fff; position: relative; padding: 6px 0;
  text-shadow: 0 1px 6px rgba(0, 20, 45, .4);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .22s ease;
}
.nav a:hover::after { width: 100%; }
.header.is-stuck .nav a { color: var(--navy); text-shadow: none; }

.header__cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header__tel {
  font-family: var(--font-head); font-weight: 700; font-size: .93rem; color: #fff;
  display: inline-flex; align-items: center; gap: 7px; text-shadow: 0 1px 6px rgba(0, 20, 45, .4);
}
.header.is-stuck .header__tel { color: var(--navy); text-shadow: none; }
.header__cta .btn { padding: 11px 22px; font-size: .9rem; }

.burger {
  display: none; background: none; border: 0; padding: 8px; margin-left: auto;
  color: #fff; line-height: 0;
}
.header.is-stuck .burger { color: var(--navy); }

.mobile-nav {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: #fff; box-shadow: var(--shadow-lg);
  padding: 18px 22px 26px; display: none; flex-direction: column; gap: 4px;
  border-top: 1px solid var(--line);
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  padding: 13px 4px; border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 16px; }

/* --------------------------------------------------------------- Hero */
.hero { position: relative; padding: calc(var(--nav-h) + 56px) 0 72px; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(1, 26, 56, .93) 0%, rgba(1, 32, 67, .82) 42%, rgba(0, 51, 102, .5) 72%, rgba(0, 51, 102, .34) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }

.hero h1 { color: #fff; margin-bottom: .38em; }
.hero__lead { font-size: 1.14rem; color: rgba(255, 255, 255, .9); max-width: 40ch; }

.award-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 215, 0, .15); border: 1px solid rgba(255, 215, 0, .5);
  color: var(--gold); font-family: var(--font-head); font-weight: 700;
  font-size: .8rem; letter-spacing: .02em;
  padding: 8px 17px; border-radius: 999px; margin-bottom: 22px;
}
.award-pill svg { flex-shrink: 0; }

.hero__perks { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__perks li {
  display: flex; align-items: center; gap: 8px;
  font-size: .93rem; font-weight: 600; color: rgba(255, 255, 255, .92);
}
.hero__perks svg { color: var(--gold); flex-shrink: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }

/* --------------------------------------------------- Quick quote card */
.quote-card {
  background: #fff; border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-lg); color: var(--body);
}
.quote-card .eyebrow { font-size: 1.35rem; margin-bottom: 0; }
.quote-card h2 { font-size: 1.6rem; margin-bottom: .28em; }
.quote-card__note { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.quote-card__fine { font-size: .78rem; color: var(--muted); text-align: center; margin: 12px 0 0; line-height: 1.5; }

/* --------------------------------------------------------------- Forms */
.field { margin-bottom: 15px; }
.field label,
.fieldset__legend {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: .8rem; letter-spacing: .03em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: var(--font-body); font-size: 1rem;
  color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 11px;
  transition: border-color .16s ease, box-shadow .16s ease;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%2346536b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 102, 204, .14);
}
.field input:user-invalid, .field select:user-invalid { border-color: var(--coral); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.fieldset { border: 0; padding: 0; margin: 0 0 8px; }
.form-step {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-head); font-weight: 800; color: var(--navy);
  font-size: 1.05rem; margin: 30px 0 16px;
}
.form-step:first-child { margin-top: 0; }
.form-step span {
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: .88rem; flex-shrink: 0;
}

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: block; padding: 9px 17px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff;
  font-size: .89rem; font-weight: 600; color: var(--body);
  transition: all .16s ease; cursor: pointer;
}
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.consent { display: flex; gap: 11px; align-items: flex-start; margin: 20px 0 18px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); }
.consent label { font-size: .88rem; color: var(--muted); line-height: 1.55; }

.form-status {
  display: none; margin-top: 16px; padding: 16px 18px;
  border-radius: 12px; font-size: .93rem; line-height: 1.6;
}
.form-status.is-visible { display: block; }
.form-status.is-ok { background: #eefaf1; border: 1px solid #a9e2ba; color: #14663a; }
.form-status.is-err { background: #fff2f2; border: 1px solid #f4bcbc; color: #94261f; }
.form-status .btn { margin-top: 12px; }
.form-status strong { font-family: var(--font-head); display: block; margin-bottom: 4px; }

/* --------------------------------------------------------------- Trust bar */
.trust { background: var(--navy); color: #fff; padding: 34px 0; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust__item { display: flex; gap: 14px; align-items: flex-start; }
.trust__item svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.trust__item strong { display: block; font-family: var(--font-head); font-size: 1rem; color: #fff; }
.trust__item span { font-size: .86rem; color: rgba(255, 255, 255, .72); line-height: 1.5; }

/* --------------------------------------------------------------- Harsha */
.harsha__grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 58px; align-items: center; }
.harsha__media { position: relative; }
.harsha__media img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; object-fit: cover;
}
.harsha__badge {
  position: absolute; right: -14px; bottom: 26px;
  background: #fff; border-radius: 15px; padding: 15px 19px;
  box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center;
  max-width: 240px;
}
.harsha__badge svg { color: var(--gold); flex-shrink: 0; }
.harsha__badge strong { display: block; font-family: var(--font-head); font-size: .93rem; color: var(--navy); }
.harsha__badge span { font-size: .78rem; color: var(--muted); }

.traits { list-style: none; padding: 0; margin: 30px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.traits li { display: flex; gap: 13px; align-items: flex-start; }
.traits svg { color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.traits strong { display: block; font-family: var(--font-head); font-size: .97rem; color: var(--ink); }
.traits span { font-size: .87rem; color: var(--muted); line-height: 1.5; }
.harsha__actions { display: flex; flex-wrap: wrap; gap: 13px; }

/* --------------------------------------------------------------- Tour cards */
.tour {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tour:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tour__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.tour__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tour:hover .tour__media img { transform: scale(1.07); }
.tour__tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: .72rem;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px;
}
.tour__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.tour__body h3 { margin-bottom: .45em; }
.tour__body p { font-size: .94rem; color: var(--muted); flex: 1; }
.tour__link {
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  color: var(--blue); display: inline-flex; align-items: center; gap: 7px; margin-top: 6px;
}
.tour__link svg { transition: transform .2s ease; }
.tour__link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------- Destinations */
.dest {
  position: relative; display: block; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow);
  color: #fff;
}
.dest img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.dest:hover img { transform: scale(1.08); }
.dest::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 45, 0) 32%, rgba(0, 20, 45, .55) 62%, rgba(0, 18, 40, .92) 100%);
}
.dest__body { position: absolute; inset: auto 0 0 0; padding: 26px 24px; z-index: 1; }
.dest__kicker {
  font-family: var(--font-head); font-weight: 700; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 7px;
}
.dest__body h3 { color: #fff; font-size: 1.32rem; margin-bottom: .3em; }
.dest__body p { font-size: .9rem; color: rgba(255, 255, 255, .82); margin-bottom: .7em; }
.dest__more {
  font-family: var(--font-head); font-weight: 700; font-size: .87rem; color: #fff;
  display: inline-flex; align-items: center; gap: 7px;
}
.dest__more svg { transition: transform .2s ease; }
.dest:hover .dest__more svg { transform: translateX(4px); }

.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 44px; }
.head-row .section-head { margin-bottom: 0; }

/* --------------------------------------------------------------- Gallery
   Justified mosaic. Each row is a flex line; every tile carries its real
   aspect ratio in --ar and uses `flex: var(--ar)` with a matching basis, so
   widths come out proportional to the aspect ratios and every image in a row
   lands on exactly the same height. No gaps, no cropping, no JS measuring.
   ---------------------------------------------------------------------- */
.gallery__rows { display: grid; gap: 14px; }

/* align-items:flex-start is load-bearing, not cosmetic. The default `stretch`
   is allowed to override an aspect-ratio when a flex item's height is
   indefinite, which squashed the 4:3 photos into tall boxes on phones.
   flex-start makes every tile size purely from its own ratio. */
.gallery__row { display: flex; gap: 14px; align-items: flex-start; }

.gallery__item {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); background: var(--off);
  flex: var(--ar) 1 calc(var(--ar) * 200px);
  min-width: 0; cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease, transform .3s ease;
  /* reserves the right height before the photo loads — no layout shift */
  aspect-ratio: var(--ar);
}
.gallery__item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.gallery__item:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.gallery__item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.2, .7, .3, 1), filter .4s ease;
}
.gallery__item:hover img { transform: scale(1.06); }

/* caption + zoom affordance */
.gallery__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 20, 45, 0) 45%, rgba(0, 18, 40, .78) 100%);
  opacity: 0; transition: opacity .35s ease;
}
.gallery__item:hover::after,
.gallery__item:focus-visible::after { opacity: 1; }

.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 16px 16px 15px; color: #fff; pointer-events: none;
  transform: translateY(9px); opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.gallery__item:hover .gallery__cap,
.gallery__item:focus-visible .gallery__cap { transform: none; opacity: 1; }
.gallery__cap strong {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: .95rem; line-height: 1.3; text-shadow: 0 1px 8px rgba(0, 15, 35, .6);
}
.gallery__cap span {
  display: block; font-size: .78rem; color: var(--gold);
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-top: 3px;
}

.gallery__zoom {
  position: absolute; top: 13px; right: 13px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--navy);
  display: grid; place-items: center; pointer-events: none;
  opacity: 0; transform: scale(.75); transition: opacity .3s ease, transform .3s ease;
}
.gallery__item:hover .gallery__zoom,
.gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }

.gallery__note {
  margin: 26px 0 0; text-align: center;
  font-size: .88rem; color: var(--muted);
}
.gallery__note strong { color: var(--navy); font-family: var(--font-head); }

/* --------------------------------------------------------------- Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 12, 26, .95);
  display: none; align-items: center; justify-content: center;
  padding: 60px 74px;
  opacity: 0; transition: opacity .28s ease;
}
.lb.is-open { display: flex; }
.lb.is-visible { opacity: 1; }

.lb__stage {
  position: relative; max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 15px;
}
.lb__img {
  max-width: 100%; max-height: calc(100vh - 168px);
  width: auto; height: auto; object-fit: contain;
  border-radius: 10px; box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
  background: #0b1a30;
}
.lb__cap { text-align: center; color: #fff; max-width: 60ch; }
.lb__cap strong { display: block; font-family: var(--font-head); font-size: 1.04rem; }
.lb__cap span { font-size: .84rem; color: rgba(255, 255, 255, .62); }

.lb__btn {
  position: absolute; z-index: 2; border: 0; padding: 0;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff;
  display: grid; place-items: center;
  transition: background-color .2s ease, transform .2s ease;
  backdrop-filter: blur(6px);
}
.lb__btn:hover { background: var(--gold); color: var(--navy); }
.lb__btn:active { transform: scale(.93); }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb__prev:active, .lb__next:active { transform: translateY(-50%) scale(.93); }

.lb__count {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  color: rgba(255, 255, 255, .62); letter-spacing: .08em;
}
body.lb-open { overflow: hidden; }

@media (max-width: 900px) {
  .lb { padding: 56px 14px 76px; }
  .lb__img { max-height: calc(100vh - 190px); }
  .lb__btn { width: 44px; height: 44px; }
  .lb__prev { left: 8px; top: auto; bottom: 16px; transform: none; }
  .lb__next { right: 8px; top: auto; bottom: 16px; transform: none; }
  .lb__prev:active, .lb__next:active { transform: scale(.93); }
}

/* ------------------------------------------------- Gallery on phones
   The desktop mosaic depends on flex + aspect-ratio + height:100%. Phones
   get none of that. Below 700px the whole thing becomes a two-column
   masonry where each photo is simply `width:100%; height:auto` — its own
   natural proportions, decided by the file itself. There is no flex line
   to stretch it, no aspect-ratio box to fight, and no percentage height to
   resolve, so a photo physically cannot be squashed or cropped here.
   Two columns also keeps 11 photos to a sane amount of scrolling.
   -------------------------------------------------------------------- */
@media (max-width: 700px) {
  .gallery__rows {
    display: block;
    columns: 2;
    column-gap: 6px;
    /* break out of the 22px page gutter — edge-to-edge photos are ~15%
       larger than padded ones, which is the whole point on a small screen */
    margin-inline: -22px;
  }

  /* the row wrappers dissolve so all 11 tiles flow through the columns */
  .gallery__row { display: contents; }

  .gallery__item {
    display: inline-block;      /* not a flex item any more */
    width: 100%;
    flex: none;
    aspect-ratio: auto;         /* height now comes from the photo itself */
    height: auto;
    margin: 0 0 6px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    border-radius: 0;           /* full-bleed grid, no card edges */
    box-shadow: none;
    transform: none;            /* no sticky hover lift on touch */
  }

  .gallery__item img {
    width: 100%;
    height: auto;               /* the fix: natural ratio, always */
    object-fit: fill;           /* moot at natural ratio — nothing to crop */
    transform: none;            /* no sticky hover zoom on touch */
  }

  /* no hover on touch, so the caption and badge are always on */
  .gallery__item::after { opacity: 1; }
  .gallery__cap {
    opacity: 1; transform: none;
    padding: 20px 11px 10px;
  }
  .gallery__cap strong { font-size: .8rem; line-height: 1.25; }
  .gallery__cap span { font-size: .62rem; letter-spacing: .03em; margin-top: 2px; }

  .gallery__zoom {
    opacity: 1; transform: none;
    width: 27px; height: 27px; top: 9px; right: 9px;
  }
  .gallery__zoom svg { width: 12px; height: 12px; }

  .gallery__note { margin-top: 20px; }
}

/* Only genuinely tiny screens drop to one column. 360px (most Android) and
   375px (iPhone SE/mini) must stay at two — sending them to one column is
   what makes the section endless to scroll. */
@media (max-width: 340px) {
  .gallery__rows { columns: 1; }
  .gallery__cap strong { font-size: .95rem; }
  .gallery__cap span { font-size: .72rem; }
}

/* Fallback: if display:contents is unsupported the rows stay blocks and the
   tiles stack one per row — still correct, just taller. */
@supports not (display: contents) {
  @media (max-width: 700px) {
    .gallery__rows { columns: 1; }
  }
}

/* --------------------------------------------------------------- Why us */
.why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.why__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.why__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sky); }
.why__icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(140deg, var(--blue), var(--navy));
  display: grid; place-items: center; color: var(--gold); margin-bottom: 17px;
}
.why__item h3 { font-size: 1.06rem; margin-bottom: .4em; }
.why__item p { font-size: .89rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------- Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; padding-top: 12px; }
.step__num {
  font-family: var(--font-head); font-weight: 800; font-size: 3.4rem;
  color: var(--sky); opacity: .55; line-height: 1; margin-bottom: 10px; display: block;
}
.step h3 { margin-bottom: .45em; }
.step p { font-size: .95rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------- Reviews */
.reviews__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  padding: 8px 17px; border-radius: 999px; margin-bottom: 18px;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--navy);
}
.reviews__badge svg { color: #00aa6c; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.review__stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.review blockquote { margin: 0 0 20px; font-size: .96rem; color: var(--body); line-height: 1.72; flex: 1; }
.review__who { display: flex; align-items: center; gap: 13px; }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(140deg, var(--blue), var(--navy));
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: .88rem;
}
.review__who strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--ink); }
.review__who span { font-size: .82rem; color: var(--muted); }

.review--cta {
  background: linear-gradient(150deg, var(--navy), var(--blue));
  border: 0; color: #fff; justify-content: center;
}
.review--cta h3 { color: #fff; font-size: 1.28rem; }
.review--cta p { color: rgba(255, 255, 255, .85); font-size: .93rem; }

/* --------------------------------------------------------------- Booking */
.booking__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 52px; align-items: start; }
.booking__aside { position: sticky; top: calc(var(--nav-h) + 24px); }
.promise { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 20px; }
.promise li { display: flex; gap: 14px; align-items: flex-start; }
.promise svg { color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.promise strong { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--ink); }
.promise span { font-size: .87rem; color: var(--muted); }

.aside-cta {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.aside-cta p { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .95rem; margin-bottom: 14px; }
.aside-cta .btn { margin-bottom: 9px; }

.booking__form {
  background: #fff; border-radius: var(--radius-lg); padding: 38px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}

/* --------------------------------------------------------------- FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 24px 0; font-family: var(--font-head); font-weight: 700;
  font-size: 1.06rem; color: var(--ink);
}
.faq__q:hover { color: var(--blue); }
.faq__icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--off); color: var(--blue); display: grid; place-items: center;
  transition: transform .28s ease, background-color .2s ease;
}
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s ease; }
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p { color: var(--muted); font-size: .97rem; padding-bottom: 24px; margin: 0; }

/* --------------------------------------------------------------- Final CTA */
.final-cta {
  position: relative; text-align: center; color: #fff;
  background: linear-gradient(150deg, var(--navy-deep), var(--blue));
  padding: clamp(64px, 8vw, 100px) 0;
}
.final-cta h2 { color: #fff; max-width: 17ch; margin-inline: auto; }
.final-cta p { color: rgba(255, 255, 255, .86); max-width: 56ch; margin: 0 auto 32px; }
.final-cta .eyebrow { color: var(--gold); }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }

/* --------------------------------------------------------------- Footer */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .74); padding: 66px 0 0; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 42px; padding-bottom: 48px; }
.footer h4 {
  font-family: var(--font-head); font-size: .82rem; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; margin-bottom: 18px;
}
.footer img { height: 52px; width: auto; border-radius: 8px; margin-bottom: 18px; }
.footer p { font-size: .9rem; line-height: 1.7; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer a { color: rgba(255, 255, 255, .74); }
.footer a:hover { color: var(--gold); }
.footer li { display: flex; gap: 10px; align-items: flex-start; }
.footer li svg { flex-shrink: 0; margin-top: 4px; color: var(--sky); }

.socials { display: flex; gap: 11px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .09); display: grid; place-items: center;
  color: #fff; transition: background-color .2s ease, transform .2s ease;
}
.socials a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }

.ta-card { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 18px; }
.ta-card__score { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: #fff; line-height: 1; }
.ta-card__stars { color: var(--gold); display: flex; gap: 2px; margin: 7px 0; }
.ta-card p { font-size: .84rem; margin-bottom: 12px; }

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: .84rem; color: rgba(255, 255, 255, .55);
}

/* --------------------------------------------------------------- Sticky mobile bar */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 98; display: none;
  background: #fff; border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px; box-shadow: 0 -4px 20px rgba(16, 32, 64, .1);
}
.mobile-bar .btn { flex: 1; padding: 13px 12px; font-size: .9rem; }

/* --------------------------------------------------------------- Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- Responsive */
@media (max-width: 1080px) {
  .why { grid-template-columns: repeat(3, 1fr); }
  .why__item:nth-child(4), .why__item:nth-child(5) { grid-column: span 1; }
  .harsha__grid { gap: 40px; }
  .booking__grid { gap: 36px; }
}

@media (max-width: 980px) {
  .nav, .header__tel { display: none; }
  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .harsha__grid { grid-template-columns: 1fr; }
  .harsha__media { max-width: 440px; }
  .harsha__badge { right: 10px; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .booking__grid { grid-template-columns: 1fr; }
  .booking__aside { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .review-grid { grid-template-columns: 1fr; }
  .traits { grid-template-columns: 1fr; gap: 16px; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .booking__form { padding: 26px 20px; }
  .quote-card { padding: 24px 20px; }
  .mobile-bar { display: flex; }
  .header__cta .btn { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 34px); }
  .harsha__badge { position: static; margin-top: 16px; max-width: none; }
}

@media (max-width: 460px) {
  .why { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .hero__actions .btn, .final-cta__actions .btn { width: 100%; }
}

/* --------------------------------------------------------------- Print */
@media print {
  .header, .mobile-bar, .mobile-nav, .hero__bg, form, .btn { display: none !important; }
  body { color: #000; }
}

/* ==========================================================================
   TOURS PAGE  (/tours/)
   Same tokens as the homepage — this is one brand, not two.
   ========================================================================== */

/* ------------------------------------------------------- Page hero */
.phero {
  position: relative; overflow: hidden; color: #fff;
  padding: calc(var(--nav-h) + 64px) 0 68px;
}
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(1, 22, 48, .93) 0%, rgba(1, 30, 62, .8) 48%, rgba(0, 51, 102, .42) 100%);
}
.phero__inner { max-width: 660px; }
.phero__kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 800;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.phero h1 { color: #fff; margin-bottom: .35em; }
.phero p { font-size: 1.1rem; color: rgba(255, 255, 255, .88); margin-bottom: 0; }

/* --------------------------------------------------- Verified trust strip */
.vstrip { background: var(--navy); color: #fff; padding: 0; }
.vstrip__inner {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 40px; padding: 18px 22px;
}
.vstrip__item {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .87rem;
  color: rgba(255, 255, 255, .92);
}
.vstrip__item svg { color: var(--gold); flex-shrink: 0; }

/* --------------------------------------------------------------- Filters */
.filters {
  position: sticky; top: var(--nav-h); z-index: 40;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.filters__inner {
  display: flex; gap: 10px; padding: 15px 22px;
  overflow-x: auto; scrollbar-width: none;
}
.filters__inner::-webkit-scrollbar { display: none; }

.fbtn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .89rem;
  padding: 10px 19px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--body);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.fbtn:hover { border-color: var(--blue); color: var(--blue); }
.fbtn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.fbtn[aria-pressed="true"]:hover { background: var(--blue-dark); color: #fff; }
.fbtn__n { font-size: .78rem; opacity: .7; font-weight: 600; }

.count { font-size: .92rem; color: var(--muted); margin: 0 0 26px; }
.count strong { color: var(--navy); font-family: var(--font-head); }

/* ---------------------------------------------------------- Package cards */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }

.pkg {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.pkg:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--sky); }
.pkg[hidden] { display: none; }

.pkg__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; flex-shrink: 0; }
.pkg__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.pkg:hover .pkg__media img { transform: scale(1.06); }

.pkg__tags { position: absolute; top: 13px; left: 13px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.tag {
  font-family: var(--font-head); font-weight: 800; font-size: .68rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; color: #fff; background: var(--blue);
  box-shadow: 0 2px 8px rgba(0, 20, 45, .25);
}
.tag--spot { background: var(--gold); color: var(--navy); }

/* the quote slot that sits where a price would */
.pkg__quote {
  position: absolute; right: 13px; bottom: 13px; z-index: 2;
  background: rgba(255, 255, 255, .96); border-radius: 12px;
  padding: 8px 14px; text-align: center; box-shadow: var(--shadow);
}
.pkg__quote strong {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: .92rem; color: var(--navy); line-height: 1.15;
}
.pkg__quote span { display: block; font-size: .68rem; color: var(--muted); margin-top: 1px; }

.pkg__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pkg__body h3 { margin-bottom: .25em; font-size: 1.28rem; }
.pkg__sub { font-size: .93rem; color: var(--muted); margin-bottom: 16px; }

.pkg__meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.pkg__meta span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .84rem; color: var(--body); font-weight: 600;
}
.pkg__meta svg { color: var(--blue); flex-shrink: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.chip-h {
  font-size: .79rem; font-weight: 600; color: var(--navy);
  background: rgba(135, 206, 235, .26); border: 1px solid rgba(135, 206, 235, .5);
  padding: 5px 11px; border-radius: 8px;
}

.pkg__season {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: .8rem; color: var(--muted); line-height: 1.5;
  background: var(--off); border-radius: 10px; padding: 10px 12px; margin-bottom: 18px;
}
.pkg__season svg { color: var(--gold-dark); flex-shrink: 0; margin-top: 2px; }
.pkg__season strong { color: var(--navy); font-family: var(--font-head); font-weight: 700; }

/* itinerary accordion */
.itin { border-top: 1px solid var(--line); margin-bottom: 18px; }
.itin__btn {
  width: 100%; background: none; border: 0; padding: 15px 0;
  display: flex; align-items: center; gap: 9px; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--blue);
}
.itin__btn:hover { color: var(--navy); }
.itin__btn svg { transition: transform .28s ease; flex-shrink: 0; }
.itin__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.itin__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.itin__panel > div { overflow: hidden; }
.itin.is-open .itin__panel { grid-template-rows: 1fr; }
.itin ol { list-style: none; margin: 0; padding: 0 0 16px; display: grid; gap: 12px; }
.itin li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.itin__day {
  font-family: var(--font-head); font-weight: 800; font-size: .68rem;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--navy); color: #fff; border-radius: 6px;
  padding: 4px 8px; white-space: nowrap; margin-top: 1px;
}
.itin li p { margin: 0; font-size: .87rem; color: var(--muted); line-height: 1.6; }
.itin li p strong { color: var(--ink); font-family: var(--font-head); font-weight: 700; }

/* what's included */
.incl { margin-bottom: 20px; }
.incl__title {
  font-family: var(--font-head); font-weight: 800; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: 11px;
}
.incl ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.incl li { display: flex; gap: 9px; align-items: flex-start; font-size: .87rem; color: var(--body); }
.incl svg { color: #1a9e5c; flex-shrink: 0; margin-top: 3px; }

.pkg__actions { display: flex; gap: 10px; margin-top: auto; }
.pkg__actions .btn { flex: 1; padding: 14px 16px; font-size: .92rem; }
.pkg__actions .btn--outline { flex: 0 0 auto; padding: 14px 20px; }

/* -------------------------------------------------- Empty filter result */
.empty {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px;
  color: var(--muted);
}
.empty strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }

/* ------------------------------------------------------ Custom tour band */
.custom {
  background: var(--sand); text-align: center;
  padding: clamp(52px, 7vw, 84px) 0;
}
.custom .eyebrow { color: var(--blue); }
.custom h2 { max-width: 18ch; margin-inline: auto; }
.custom p { max-width: 58ch; margin: 0 auto 30px; color: var(--muted); }
.custom__actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1080px) {
  .pkgs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .filters { top: 0; }
}
@media (max-width: 760px) {
  .pkgs { grid-template-columns: 1fr; gap: 22px; }
  .phero { padding: calc(var(--nav-h) + 36px) 0 46px; }
  .phero p { font-size: 1rem; }
  .vstrip__inner { gap: 10px 24px; padding: 15px 22px; }
  .vstrip__item { font-size: .8rem; }
  .filters__inner { padding: 12px 22px; }
  .pkg__body { padding: 20px 18px 22px; }
  .pkg__actions { flex-direction: column; }
  .pkg__actions .btn, .pkg__actions .btn--outline { width: 100%; flex: none; }
}
@media (max-width: 420px) {
  .custom__actions .btn { width: 100%; }
}
