/* ==========================================================================
   Trek N Tales - Modern Alpine Design System
   Handcrafted Vanilla CSS
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --night: #0B1B2B;
  --night-rgb: 11, 27, 43;
  --surface-dark: #122436;
  --pine: #1F5A48;
  --pine-light: #2E7963;
  --glacier: #8CC3D6;
  --glacier-deep: #2C7FA0;
  --saffron: #F0A03C;
  --saffron-light: #F8B857;
  --saffron-dark: #D9861F;
  --crimson: #E0534C;
  
  /* Theme Tokens - Light Mode Default */
  --bg: #F4F7F9;
  --bg-rgb: 244, 247, 249;
  --surface: #FFFFFF;
  --surface-elevated: #FFFFFF;
  --surface-card: #FFFFFF;
  --ink: #112230;
  --ink-rgb: 17, 34, 48;
  --muted: #536777;
  --muted-light: #8599A6;
  --line: #DFE7EC;
  --line-light: #EDF2F5;
  --shadow-sm: 0 2px 8px rgba(11, 27, 43, 0.05);
  --shadow-md: 0 8px 24px rgba(11, 27, 43, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 27, 43, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  
  /* Layout */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --max-w: 1180px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Overrides */
[data-theme="dark"] {
  --bg: #0A1622;
  --bg-rgb: 10, 22, 34;
  --surface: #122232;
  --surface-elevated: #182C3F;
  --surface-card: #152738;
  --ink: #EDF3F7;
  --ink-rgb: 237, 243, 247;
  --muted: #95A9B8;
  --muted-light: #647B8C;
  --line: #22374A;
  --line-light: #1A2B3A;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
  --glass-bg: rgba(18, 34, 50, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1622;
    --bg-rgb: 10, 22, 34;
    --surface: #122232;
    --surface-elevated: #182C3F;
    --surface-card: #152738;
    --ink: #EDF3F7;
    --ink-rgb: 237, 243, 247;
    --muted: #95A9B8;
    --muted-light: #647B8C;
    --line: #22374A;
    --line-light: #1A2B3A;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
    --glass-bg: rgba(18, 34, 50, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
  }
}

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  background-color: var(--bg);
  color: var(--ink);
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1, h2, h3, h4, h5 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button, input, select, textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 36px);
  padding-right: clamp(16px, 4vw, 36px);
}

.sec {
  padding: clamp(50px, 8vw, 96px) 0;
}

.sec-title-group {
  margin-bottom: clamp(32px, 5vw, 48px);
}

.sec-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--saffron-dark);
  margin-bottom: 8px;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.intro {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 12px;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-p {
  background: var(--saffron);
  color: #1A1103;
  box-shadow: 0 4px 14px rgba(240, 160, 60, 0.35);
}
.btn-p:hover {
  background: #f7ab4c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 160, 60, 0.45);
}

.btn-g {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}
.btn-g:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.btn-wa {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-wa:hover {
  background: #22c35e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
}
.badge-snow {
  background: rgba(140, 195, 214, 0.2);
  color: #1a6f8b;
  border: 1px solid rgba(140, 195, 214, 0.5);
}
[data-theme="dark"] .badge-snow {
  color: #8CC3D6;
}
.badge-pine {
  background: rgba(31, 90, 72, 0.15);
  color: #1F5A48;
}
[data-theme="dark"] .badge-pine {
  color: #49B393;
}
.badge-saffron {
  background: rgba(240, 160, 60, 0.15);
  color: #B86E12;
}
[data-theme="dark"] .badge-saffron {
  color: #F8B857;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.site-header.hero-nav .brand-name {
  color: #FFFFFF;
}

.site-header.hero-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
}
.site-header.hero-nav .nav-link:hover {
  color: #FFFFFF;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--night);
  display: grid;
  place-items: center;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--ink);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--saffron);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: inherit;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--transition);
}
.site-header.hero-nav .theme-toggle {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.theme-toggle:hover {
  transform: rotate(15deg);
  border-color: var(--saffron);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: max(100svh, 720px);
  overflow: hidden;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, #071524 0%, #15324D 38%, #854440 70%, #DE8428 92%, #F0A03C 100%);
}

.hero-body {
  position: relative;
  z-index: 5;
  padding-top: clamp(100px, 15vh, 150px);
  padding-bottom: clamp(60px, 10vh, 100px);
  max-width: 820px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7.5vw, 5.8rem);
  line-height: 0.98;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero .lead {
  max-width: 48ch;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 24px 0 32px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.ladder {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  list-style: none;
}

.ladder a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}
.ladder a:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}
.ladder b {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
}
.ladder span {
  font-size: 0.9rem;
  opacity: 0.85;
}

.sun {
  position: absolute;
  left: 68%;
  bottom: 30%;
  width: clamp(130px, 18vw, 230px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
  background: radial-gradient(circle, #FFF0C8 0%, #F8B857 44%, rgba(240, 160, 60, 0) 72%);
  animation: sunRise 3.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes sunRise {
  from { bottom: -15%; opacity: 0; }
  to { bottom: 30%; opacity: 1; }
}

.stars {
  position: absolute;
  inset: 0 0 45% 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  animation: starsFade 4s ease-in 0.3s both;
  background:
    radial-gradient(1.6px 1.6px at 9% 18%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 24% 34%, #fff, transparent),
    radial-gradient(1.8px 1.8px at 47% 12%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 63% 28%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 81% 16%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 93% 38%, #fff, transparent);
}

@keyframes starsFade {
  0% { opacity: 0.95; }
  100% { opacity: 0.15; }
}

.ridge {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 58%;
  z-index: 2;
  display: block;
}

/* ==========================================================================
   Trek Finder Widget
   ========================================================================== */
.finder-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
  margin-top: 24px;
}

.finder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: start;
}

.finder-field label {
  display: block;
  font-weight: 700;
  font-size: 0.94rem;
  margin-bottom: 8px;
}

.finder-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.finder-select:focus {
  border-color: var(--saffron);
  background: var(--surface);
}

.seg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fchip {
  padding: 10px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.fchip:hover {
  border-color: var(--muted);
}
.fchip[aria-pressed="true"], .fchip.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.finder-results {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.fr-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 20px;
  align-items: center;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  border-left: 7px solid var(--trek-accent, var(--pine));
  background: var(--surface);
  transition: var(--transition);
}
.fr-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--trek-accent, var(--pine));
}
.fr-card.no-match {
  opacity: 0.65;
  background: var(--bg);
}
.fr-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}
.fr-note {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.95rem;
}
.fr-badge {
  grid-column: 2;
  grid-row: 1 / 3;
  font-weight: 700;
  color: var(--trek-accent, var(--pine));
  font-size: 0.95rem;
  text-align: right;
}
.fr-card.no-match .fr-badge {
  color: var(--muted);
}

/* ==========================================================================
   Trek Cards & Detail Views
   ========================================================================== */
.trek-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 50px);
  margin-top: 32px;
  padding: clamp(26px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.trek-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-light);
}
.trek-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--trek-color, var(--pine));
}

.trek-card-main h3 {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
}

.trek-tag {
  margin: 6px 0 16px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--trek-color, var(--pine));
}

.trek-card-main p {
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 54ch;
}

.trek-highlights {
  margin-bottom: 28px;
  padding-left: 1.2rem;
  color: var(--muted);
}
.trek-highlights li {
  margin-bottom: 6px;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin-bottom: 24px;
}
.facts dt {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
}
.facts dd {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 2px;
}

.prof-container {
  margin: 16px 0 18px;
}
.prof-svg {
  width: 100%;
  height: auto;
  display: block;
}
.prof-label {
  fill: var(--muted);
  font: 600 11px 'Figtree', sans-serif;
}

.season-strip {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  margin-top: 8px;
}
.season-m {
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  transition: var(--transition);
}
.season-m.S {
  background: var(--glacier);
  color: #0B1B2B;
}
.season-m.C {
  background: var(--pine);
  color: #FFFFFF;
}
.season-m:hover {
  transform: scale(1.1);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--muted);
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.legend i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--line);
}
.legend i.S { background: var(--glacier); }
.legend i.C { background: var(--pine); }

/* ==========================================================================
   Trek Single Detail Page
   ========================================================================== */
.trek-hero {
  position: relative;
  background: var(--night);
  color: #FFFFFF;
  padding: clamp(120px, 16vh, 180px) 0 clamp(40px, 6vh, 70px);
  overflow: hidden;
}
.trek-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.45;
}
.trek-hero-bg svg, .trek-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trek-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 27, 43, 0.8) 0%, rgba(11, 27, 43, 0.95) 100%);
}
.trek-hero-content {
  position: relative;
  z-index: 5;
  max-width: 820px;
}
.trek-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 12px;
}

.trek-stats-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.stat-pill {
  display: flex;
  flex-direction: column;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}
.stat-pill-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
}
.stat-pill-val {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.two-col-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.sticky-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

/* Itinerary Timeline */
.itinerary-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.itinerary-day {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: var(--transition);
}
.itinerary-day:hover {
  border-color: var(--line-light);
  box-shadow: var(--shadow-sm);
}
.day-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.day-badge {
  background: var(--trek-color, var(--pine));
  color: #FFFFFF;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
}
.day-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}
.day-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.day-desc {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.6;
}
.day-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--muted);
}

/* Price Calculator Widget */
.calc-card {
  background: var(--surface);
  border: 2px solid var(--saffron);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
}
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 12px 0 20px;
}
.price-amt {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--ink);
}
.price-orig {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 1.2rem;
}
.price-unit {
  font-size: 0.92rem;
  color: var(--muted);
}

.calc-row {
  margin-bottom: 16px;
}
.calc-row label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.counter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.counter-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.counter-val {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  min-width: 40px;
  text-align: center;
}

.rental-options {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}
.rental-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.92rem;
  cursor: pointer;
}
.rental-item input {
  accent-color: var(--saffron);
  margin-right: 8px;
}

.calc-summary {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 18px;
  font-size: 0.92rem;
}
.calc-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.calc-summary-total {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 8px;
  font-weight: 800;
  font-size: 1.15rem;
}

/* ==========================================================================
   Packing Checklist
   ========================================================================== */
.pack-container {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  margin-top: 24px;
}

.pack-progress-bar {
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--line);
  overflow: hidden;
  margin-bottom: 8px;
}
.pack-progress-fill {
  height: 100%;
  background: var(--pine);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}
.pack-progress-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.pack-group legend {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.pack-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
}
.pack-item input {
  margin-top: 4px;
  accent-color: var(--pine);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.pack-item.checked {
  color: var(--muted);
  text-decoration: line-through;
}

/* ==========================================================================
   Gallery Grid & Lightbox
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
  margin-top: 28px;
}
.gal-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--night);
  cursor: pointer;
  transition: var(--transition);
}
.gal-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gal-tile.big {
  grid-column: span 2;
  grid-row: span 2;
}
.gal-tile svg, .gal-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gal-tile:hover svg, .gal-tile:hover img {
  transform: scale(1.05);
}
.gal-tile-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 16px 14px;
  color: #FFFFFF;
  text-align: left;
  font-size: 0.94rem;
  font-weight: 600;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 27, 43, 0.85) 100%);
  pointer-events: none;
}

/* Lightbox Modal */
dialog.lightbox-modal {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  width: min(920px, 94vw);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  margin: auto;
}
dialog.lightbox-modal::backdrop {
  background: rgba(11, 27, 43, 0.85);
  backdrop-filter: blur(8px);
}
.lightbox-body {
  position: relative;
}
.lightbox-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  overflow: hidden;
}
.lightbox-img-wrap svg, .lightbox-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 16px;
}
.lightbox-caption {
  font-weight: 600;
  font-size: 1.05rem;
}

/* ==========================================================================
   Reviews System
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-light);
}
.review-stars {
  color: var(--saffron);
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.review-text {
  flex: 1;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}
.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
}
.review-name {
  font-weight: 700;
  color: var(--ink);
}

/* ==========================================================================
   Enquiry & Booking Form
   ========================================================================== */
.enq-section {
  background: var(--night);
  color: #FFFFFF;
}
.enq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.enq-info h2 {
  color: #FFFFFF;
}
.enq-info .intro {
  color: rgba(255, 255, 255, 0.78);
}
.call-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 28px;
  color: #FFFFFF;
}
.call-badge a {
  color: var(--saffron);
  font-weight: 700;
}

.form-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-weight: 600;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.9);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font: inherit;
  transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--saffron);
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}
.form-select option {
  color: #112230;
  background: #FFFFFF;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-helper {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item summary {
  padding: 18px 24px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  padding: 0 24px 20px;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   Admin / Bookings Dashboard
   ========================================================================== */
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}
.metric-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}
.metric-title {
  font-size: 0.86rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.metric-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  margin-top: 4px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}
.data-table th, .data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.data-table th {
  background: var(--bg);
  font-weight: 700;
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
}
.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.status-new { background: #E1F5FE; color: #0288D1; }
.status-contacted { background: #FFF8E1; color: #FFA000; }
.status-confirmed { background: #E8F5E9; color: #388E3C; }
.status-cancelled { background: #FFEBEE; color: #D32F2F; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #07131F;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 32px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand h4 {
  color: #FFFFFF;
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.footer-brand p {
  max-width: 38ch;
  font-size: 0.94rem;
  line-height: 1.6;
}
.footer-col h5 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.94rem;
}
.footer-links a:hover {
  color: var(--saffron);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .trek-card, .two-col-layout, .enq-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gal-tile.big {
    grid-column: span 1;
    grid-row: span 1;
  }
  .sticky-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open {
    display: flex;
  }
  .site-header.hero-nav .nav-menu {
    background: var(--night);
  }
  .mobile-toggle {
    display: block;
  }
  .hide-sm {
    display: none !important;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
