/* ==========================================================================
   Tirupati Sapthagiri Travels — core styles (mobile-first)
   Breakpoint enhancements live in responsive.css
   Focus, skip link, reduced motion and forced colours live in accessibility.css
   ========================================================================== */

:root {
  --navy: #0B1F3A;
  --navy-2: #132C52;
  --navy-3: #1C3A68;
  --gold: #D4A63A;          /* on navy: 7.3:1 */
  --gold-dark: #8A6514;     /* on cream/white: ~5:1 */
  --saffron: #E8A33D;       /* background with navy text: 7.6:1 */
  --saffron-dark: #B45309;  /* text / icons on white: 5:1 */
  --cream: #FBF7EE;
  --cream-2: #F4ECDA;
  --white: #FFFFFF;
  --ink: #1A2233;
  --muted: #4A5568;
  --line: #E6DCC6;
  --error: #B3261E;
  --wa: #25D366;            /* official WhatsApp green */
  --wa-ink: #06281B;        /* text on --wa: 8:1 */
  --wa-deep: #128C7E;       /* WhatsApp teal, white icon 4.1:1 */
  --wa-deeper: #075E54;

  --font-head: "Marcellus", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 2px 8px rgba(11, 31, 58, .06);
  --shadow: 0 6px 24px rgba(11, 31, 58, .10);
  --shadow-lg: 0 18px 48px rgba(11, 31, 58, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --header-h: 72px;
  --container: 1200px;
  --gutter: 16px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--navy-3); text-underline-offset: 3px; }
a:hover { color: var(--saffron-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; margin: 0 0 1rem; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Top contact bar ---------- */
.topbar {
  background: var(--navy);
  color: #E2E8F0;
  font-size: .875rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding-block: .35rem;
}
.topbar a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 24px;
}
.topbar a:hover { color: var(--gold); }
.topbar i { color: var(--gold); }
.topbar .topbar-email { display: none; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 180px; height: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .5rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
}
.nav-toggle .bars { position: relative; width: 18px; height: 12px; }
.nav-toggle .bars span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 5px; }
.nav-toggle .bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.primary-nav {
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.js .primary-nav { display: none; }
.js .primary-nav.is-open { display: block; }
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: .5rem var(--gutter) 1rem;
}
.primary-nav a {
  display: block;
  padding: .8rem .5rem;
  border-bottom: 1px solid var(--cream-2);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.primary-nav a:hover { color: var(--saffron-dark); }
.primary-nav a[aria-current] {
  color: var(--saffron-dark);
  box-shadow: inset 3px 0 0 var(--saffron);
  padding-left: .9rem;
}
.primary-nav .nav-cta { display: none; }

/* No-JS fallback: show menu inline */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .primary-nav { position: static; box-shadow: none; border: 0; }
html:not(.js) .header-inner { flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--saffron); color: var(--navy); }
.btn-primary:hover { background: #F2B544; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); color: #fff; }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #3BE07A; color: var(--wa-ink); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  color: #fff;
  background-color: var(--navy);
  background-image:
    linear-gradient(180deg, rgba(11, 31, 58, .80) 0%, rgba(11, 31, 58, .72) 55%, rgba(11, 31, 58, .92) 100%),
    url("https://tirupatisapthagiritravels.com/images/tirumala_temple.jpg");
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  /* gold hairline */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--saffron), var(--gold));
}
.hero-inner {
  display: grid;
  gap: 2rem;
  padding-block: 3.5rem 3rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .75rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: currentColor;
  display: inline-block;
}
.hero .eyebrow, .on-dark .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; margin-bottom: 1rem; max-width: 16ch; }
.hero h1 .accent { color: var(--gold); }
.hero-lead { font-size: 1.15rem; color: #E2E8F0; max-width: 46ch; margin-bottom: 1.75rem; }
.hero-points {
  list-style: none; padding: 0; margin: 1.75rem 0 0;
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem;
  font-size: .95rem; color: #E2E8F0;
}
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-points i { color: var(--gold); }

/* ---------- Quick enquiry card ---------- */
.enquiry-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  border-top: 4px solid var(--gold);
}
.enquiry-card h2 { font-size: 1.5rem; margin-bottom: .25rem; }
.enquiry-card .hint { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.form-grid { display: grid; gap: .9rem; }

/* ---------- Forms ---------- */
.field { display: grid; gap: .35rem; }
.field label, .field legend {
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
}
.field .req { color: var(--error); font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .9rem;
  background: var(--white);
  border: 1.5px solid #8C96A8; /* 3:1 against white */
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-3); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field .help { font-size: .875rem; color: var(--muted); }
.field .error {
  display: flex; align-items: flex-start; gap: .4rem;
  color: var(--error);
  font-size: .9rem;
  font-weight: 700;
}
.field .error:empty { display: none; }
.field .error::before { content: "\26A0"; } /* warning sign — not colour alone */
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.radio-row label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; min-height: 44px; cursor: pointer; }
.radio-row input { width: 20px; height: 20px; accent-color: var(--navy); }
.form-status {
  border-radius: var(--radius-sm);
  padding: .9rem 1rem;
  font-weight: 600;
}
.form-status:empty { display: none; }
.form-status.is-error { background: #FDECEA; color: #7A1A14; border: 1px solid #F3B8B2; }
.form-status.is-info { background: #EAF6EF; color: #0D4B2B; border: 1px solid #A9DDBF; }
.error-summary ul { margin: .5rem 0 0; }
.error-summary a { color: #7A1A14; font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding-block: 4rem; }
.section-alt { background: var(--white); }
.section-dark { background: var(--navy); color: #E2E8F0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head.align-left { margin-inline: 0; text-align: left; }
.section-head.align-left .eyebrow { justify-content: flex-start; }
.lead { font-size: 1.125rem; color: var(--muted); }
.section-dark .lead { color: #CBD5E1; }
.section-foot { text-align: center; margin-top: 2.5rem; }
.section-foot .btn-group { justify-content: center; }

.grid { display: grid; gap: 1.5rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-body { padding: 1.4rem; }

/* Package card */
.pkg-card { display: flex; flex-direction: column; }
.pkg-media {
  position: relative;
  aspect-ratio: 7 / 5;
  background: var(--cream-2);
  overflow: hidden;
}
.pkg-media img { width: 100%; height: 100%; object-fit: cover; }
.pkg-duration {
  position: absolute; left: 12px; top: 12px;
  background: var(--navy); color: #fff;
  font-size: .8125rem; font-weight: 800;
  padding: .35rem .75rem; border-radius: 999px;
  display: inline-flex; gap: .4rem; align-items: center;
}
.pkg-duration i { color: var(--gold); }
.pkg-card .card-body { display: flex; flex-direction: column; flex: 1; }
.pkg-card h3 { margin-bottom: .4rem; }
.pkg-card .places { color: var(--muted); font-size: .95rem; }
.price-from {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem;
  margin: .25rem 0 1rem;
}
.price-from .label { font-size: .85rem; color: var(--muted); font-weight: 700; }
.price-from .amount { font-family: var(--font-head); font-size: 1.75rem; color: var(--navy); }
.price-from .per { font-size: .85rem; color: var(--muted); }
.pkg-card .btn-group { margin-top: auto; }
.pkg-card .btn-group .btn { flex: 1 1 140px; }

/* Feature / why-us */
.feature {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.3rem;
}
.feature h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.feature p { margin: 0; color: var(--muted); font-size: .975rem; }
.section-dark .feature { background: var(--navy-2); border-color: var(--navy-3); }
.section-dark .feature p { color: #CBD5E1; }
.section-dark .feature-icon { background: var(--gold); color: var(--navy); }

/* Vehicle card */
.vehicle-card { text-align: center; }
.vehicle-card .vehicle-img {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  display: grid; place-items: center;
  padding: 1.5rem 1rem .5rem;
}
.vehicle-card .vehicle-img img { width: 120px; height: 120px; object-fit: contain; }
.vehicle-card .seats {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .875rem; font-weight: 700; color: var(--muted);
}
.vehicle-card .rate { font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); margin: .3rem 0 .1rem; }
.vehicle-card .rate-note { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }

/* Hotel card */
.hotel-card .hotel-img { aspect-ratio: 169 / 87; background: var(--cream-2); }
.hotel-card .hotel-img img { width: 100%; height: 100%; object-fit: cover; }
.hotel-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.meta-list { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: .35rem; font-size: .95rem; color: var(--muted); }
.meta-list li { display: flex; gap: .55rem; align-items: baseline; }
.meta-list i { color: var(--saffron-dark); width: 1.1em; text-align: center; }

/* Destination card */
.dest-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.dest-card img { width: 100%; aspect-ratio: 400 / 228; object-fit: cover; transition: transform .5s var(--ease); }
.dest-card:hover img { transform: scale(1.04); }
.dest-card .dest-body { padding: 1rem 1.2rem 1.2rem; }
.dest-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: .2rem; }
.dest-card p { margin: 0; font-size: .925rem; color: #CBD5E1; }
.dest-card .dist { display: inline-flex; gap: .4rem; align-items: center; color: var(--gold); font-weight: 700; font-size: .85rem; margin-bottom: .35rem; }

/* Simple list tiles (temples without photos) */
.tile-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.tile-list li {
  display: flex; gap: .8rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .9rem 1rem;
}
.tile-list i { color: var(--saffron-dark); margin-top: .3rem; }
.tile-list strong { color: var(--navy); display: block; }
.tile-list span { color: var(--muted); font-size: .95rem; }

/* Check lists */
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list li::before {
  content: "\2713"; flex-shrink: 0;
  width: 22px; height: 22px; margin-top: .15rem;
  display: grid; place-items: center;
  border-radius: 50%; background: #E3F4EA; color: #0D5B33;
  font-size: .8rem; font-weight: 900;
}
.cross-list li::before { content: "\2715"; background: #FBE9E7; color: #8A1C14; }

/* ---------- Testimonials (placeholder) ---------- */
.testimonial-placeholder {
  max-width: 760px; margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 2px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
}
.testimonial-placeholder .quote-icon { font-size: 2rem; color: var(--gold); margin-bottom: .75rem; }

/* ---------- Gallery ---------- */
.gallery-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  margin-bottom: 2rem;
}
.filter-btn {
  min-height: 44px;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.filter-btn:hover { background: var(--cream-2); }
.filter-btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
.gallery-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gallery-grid li[hidden] { display: none; }
.gallery-item {
  display: block; width: 100%;
  padding: 0; border: 0; margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  text-align: left;
  position: relative;
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s var(--ease); }
.gallery-item.contain img { object-fit: contain; padding: .75rem; background: var(--white); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .cap {
  display: block;
  padding: .6rem .8rem;
  font-size: .9rem; font-weight: 700; color: var(--navy);
  border-top: 1px solid var(--cream-2);
}

/* Masonry variant: keeps each photo's natural shape (fleet gallery) */
.gallery-grid.masonry { display: block; columns: 2; column-gap: .75rem; }
.gallery-grid.masonry > li { margin-bottom: .75rem; }
.gallery-grid.masonry > li { break-inside: avoid; }
.gallery-grid.masonry .gallery-item img { aspect-ratio: auto; height: auto; object-fit: initial; }

/* Switch between the two gallery pages */
.gallery-switch {
  display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem;
  margin: 0 auto 1.5rem; padding: .35rem;
  width: fit-content; max-width: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
}
.gallery-switch a {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: .5rem .85rem; border-radius: 999px;
  color: var(--navy); font-weight: 800; text-decoration: none;
}
.gallery-switch { flex-wrap: nowrap; }
.gallery-switch a { white-space: nowrap; }
@media (max-width: 479.98px) { .gallery-switch a i { display: none; } }
@media (min-width: 480px) { .gallery-switch a { padding-inline: 1.2rem; } }
.gallery-switch a:hover { background: var(--cream-2); color: var(--navy); }
.gallery-switch a[aria-current="page"] { background: var(--navy); color: #fff; }
.gallery-switch a[aria-current="page"] i { color: var(--gold); }

/* Lightbox (native <dialog>) */
.lightbox {
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.lightbox::backdrop { background: rgba(6, 14, 28, .85); }
.lightbox-inner { position: relative; display: grid; gap: .75rem; padding: 3.5rem 1rem 1rem; }
.lightbox figure { margin: 0; display: grid; gap: .75rem; justify-items: center; }
.lightbox img {
  max-height: calc(100vh - 220px);
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-sm);
  background: #fff;
}
.lightbox figcaption { text-align: center; font-weight: 700; }
.lightbox .counter { font-weight: 400; color: #CBD5E1; }
.lightbox-btn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .6);
  background: var(--navy-2);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}
.lightbox-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.lightbox-close { position: absolute; top: .6rem; right: .6rem; }
.lightbox-nav { display: flex; justify-content: center; gap: 1rem; }

/* ---------- FAQ (native details/summary) ---------- */
.faq { display: grid; gap: .75rem; max-width: 860px; margin-inline: auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 3.25rem 1.1rem 1.25rem;
  font-weight: 800;
  color: var(--navy);
  position: relative;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 1.1rem; top: 50%;
  width: 28px; height: 28px; margin-top: -14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cream-2); color: var(--navy);
  font-size: 1.2rem; font-weight: 700;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { content: "\2212"; background: var(--navy); color: #fff; }
.faq details[open] summary { border-bottom: 1px solid var(--cream-2); }
.faq .answer { padding: 1rem 1.25rem 1.2rem; color: var(--muted); }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }

/* ---------- Inner page hero + breadcrumb ---------- */
.page-hero {
  position: relative;
  background: var(--navy);
  background-image:
    radial-gradient(circle at 85% 20%, rgba(212, 166, 58, .22), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(232, 163, 61, .14), transparent 40%);
  color: #E2E8F0;
  padding-block: 2.75rem 3rem;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--saffron), var(--gold));
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .6rem; }
.page-hero p { max-width: 62ch; font-size: 1.1rem; color: #CBD5E1; margin: 0; }
.breadcrumb ol {
  list-style: none; padding: 0; margin: 0 0 1.25rem;
  display: flex; flex-wrap: wrap; gap: .25rem;
  font-size: .9rem;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: .25rem; color: #CBD5E1; }
.breadcrumb li + li::before { content: "/"; color: var(--gold); padding-inline: .35rem; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current="page"] { color: var(--gold); font-weight: 700; }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.table-wrap:focus-visible { outline-offset: 2px; }
.data-table { min-width: 560px; font-size: .95rem; }
.data-table caption {
  caption-side: top;
  text-align: left;
  padding: 1rem 1.1rem .5rem;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--navy);
}
.data-table th, .data-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--cream-2); vertical-align: top; }
.data-table thead th { background: var(--navy); color: #fff; font-weight: 700; white-space: nowrap; }
.data-table tbody th { font-weight: 700; color: var(--navy); white-space: nowrap; }
.data-table tbody tr:nth-child(even) { background: #FDFBF6; }
.data-table tbody tr:hover { background: var(--cream-2); }
.data-table td.num, .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll-hint { font-size: .85rem; color: var(--muted); margin: .5rem 0 0; display: flex; gap: .4rem; align-items: center; }

/* ---------- Callouts ---------- */
.note {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: #FFF8E8;
  border: 1px solid #F0DCA6;
  border-left: 4px solid var(--gold);
  color: #4A3A10;
  font-size: .95rem;
}
.note i { color: var(--gold-dark); margin-top: .25rem; }
.note p:last-child { margin-bottom: 0; }
.placeholder-tag {
  display: inline-block;
  font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: #FFF3CD; color: #664D03; border: 1px solid #E6C66B;
  padding: .15rem .5rem; border-radius: 6px;
}

/* ---------- Package detail (packages.html) ---------- */
.pkg-detail {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.pkg-detail + .pkg-detail { margin-top: 2.5rem; }
.pkg-detail-media { position: relative; background: var(--cream-2); }
.pkg-detail-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 7 / 5; }
.pkg-detail-body { padding: 1.5rem; }
.pkg-facts {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 1.25rem 0;
  padding: 0; list-style: none;
}
.pkg-facts li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .75rem .9rem;
}
.pkg-facts .k { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.pkg-facts .v { font-weight: 700; color: var(--navy); }
.pkg-detail h3 { margin-top: 1.5rem; }
.pkg-detail .cols { display: grid; gap: 1.5rem; }
.pkg-detail details.more {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
}
.pkg-detail details.more summary {
  cursor: pointer; padding: .9rem 1rem; font-weight: 800; color: var(--navy); min-height: 44px;
}
.pkg-detail details.more > div { padding: 0 1rem 1rem; }
.pkg-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.toc {
  display: flex; flex-wrap: wrap; gap: .5rem;
  list-style: none; padding: 0; margin: 0 0 2.5rem;
}
.toc a {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 44px;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.toc a:hover { border-color: var(--navy); }

/* ---------- Split layout ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.framed { position: relative; }
.framed::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 2px solid var(--gold); border-radius: var(--radius-lg); z-index: -1;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  background-image: radial-gradient(circle at 90% 10%, rgba(212, 166, 58, .25), transparent 50%);
  color: #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #CBD5E1; max-width: 56ch; margin-inline: auto; margin-bottom: 1.5rem; }
.cta-band .btn-group { justify-content: center; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex; gap: 1rem; align-items: center;
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.contact-card .ic {
  width: 52px; height: 52px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 14px;
  font-size: 1.35rem;
  background: var(--navy); color: var(--gold);
}
.contact-card.wa .ic { background: var(--wa); color: var(--wa-ink); }
.contact-card strong { display: block; color: var(--navy); font-size: 1.05rem; }
.contact-card span { color: var(--muted); font-size: .95rem; word-break: break-word; }
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #08172C;
  color: #CBD5E1;
  padding-top: 3.5rem;
  font-size: .975rem;
}
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand img {
  width: 200px;
  background: #fff;
  border-radius: 12px;
  padding: .4rem .6rem;
  margin-bottom: 1rem;
}
.site-footer h2 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  font-family: var(--font-head);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: #E2E8F0; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact i { color: var(--gold); margin-top: .3rem; width: 1.1em; text-align: center; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid #2A4470; color: #fff;
}
.social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #1C3256;
  padding-block: 1.25rem 6rem; /* room for floating WA button */
  font-size: .9rem;
  color: #A7B4C8;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
}
.footer-bottom a { color: #E2E8F0; }
.footer-bottom { align-items: center; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.powered-by { display: inline-flex; align-items: center; gap: .6rem; }
.powered-by a { display: inline-flex; border-radius: 8px; }
.powered-by img {
  height: 40px; width: auto;
  background: #fff; border-radius: 8px; padding: 4px 8px;
  transition: transform .2s var(--ease);
}
.powered-by a:hover img { transform: translateY(-2px); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 90;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--wa-deep);
  color: #fff;
  font-size: 1.9rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(7, 94, 84, .45);
  border: 3px solid #fff;
  transition: transform .25s var(--ease), background-color .2s;
}
.wa-float:hover { transform: scale(1.08); background: var(--wa-deeper); color: #fff; }
.wa-float .wa-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  background: var(--navy);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  padding: .45rem .8rem;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s var(--ease);
}
.wa-float .wa-tip::after {
  content: ""; position: absolute; left: 100%; top: 50%; margin-top: -6px;
  border: 6px solid transparent; border-left-color: var(--navy);
}
.wa-float:hover .wa-tip,
.wa-float:focus-visible .wa-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

.dest-card .meta-list { color: #CBD5E1; }
.dest-card .meta-list i { color: var(--gold); }
.dest-card .btn { margin-top: .25rem; }
.card h3 > i { color: var(--saffron-dark); margin-right: .25rem; }
.data-table.wide { min-width: 860px; }
.data-table.compact { min-width: 0; }
.note-title { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; color: #4A3A10; margin: 0 0 .35rem; }
.h4 { font-size: 1.125rem; }

/* ---------- Utilities ---------- */
.mt-3 { margin-top: 3.5rem; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.stack > * + * { margin-top: 1rem; }
