/* =====================================================================
   Blue Mountain Safaris — Pro theme v2 (tighter, denser, distinct)
   ===================================================================== */

:root {
  --bms-navy: #0A1F36;
  --bms-blue: #1E5F8E;
  --bms-cyan: #3FA7C4;
  --bms-gold: #F2B441;
  --bms-orange: #E07A3C;
  --bms-forest: #1E4F3E;
  --bms-cream: #FBF9F4;
  --bms-paper: #FFFFFF;
  --bms-ink: #0F1A2A;
  --bms-muted: #6B7280;
  --bms-line: #E5E7EB;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bms-cream);
  color: var(--bms-ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem; /* 15px — tighter than 16px */
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.dark body {
  background: #0A1726;
  color: #DCE3EB;
}

/* Tighter, more professional headings */
h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Fraunces', Georgia, serif;
  letter-spacing: -0.022em;
  font-weight: 600;
  line-height: 1.15;
}

/* Eyebrow — tighter, smaller, more refined */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem; /* 11px */
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bms-orange);
}
.eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.dark .eyebrow { color: var(--bms-gold); }

/* Pro-section padding (smaller than before) */
.section { padding: 3.5rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-lg { padding: 5rem 0; }

/* ===== Shared page and account primitives ===== */
.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}
.page-hero-inner { position: relative; z-index: 1; }
.form-shell { max-width: 900px; }
.form-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--bms-line);
  border-radius: .75rem;
  background: var(--bms-paper);
  box-shadow: 0 10px 26px rgba(15,26,42,.06);
}
.dark .form-card {
  border-color: rgba(255,255,255,.09);
  background: #14223A;
  box-shadow: 0 10px 26px rgba(0,0,0,.2);
}
.form-card h2 { margin: .45rem 0 1.1rem; font-size: 1.45rem; }
.form-card h3 { margin: 1.5rem 0 .65rem; font-size: 1.05rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.25rem; }
.form-card input:not([type='checkbox']):not([type='radio']),
.form-card select,
.form-card textarea,
.input {
  box-sizing: border-box;
  width: 100%;
  padding: .6rem .75rem;
  border: 1px solid var(--bms-line);
  border-radius: .4rem;
  background: var(--bms-paper);
  color: var(--bms-ink);
  font: inherit;
}
.form-card textarea { min-height: 8rem; resize: vertical; }
.dark .form-card input:not([type='checkbox']):not([type='radio']),
.dark .form-card select,
.dark .form-card textarea,
.dark .input {
  border-color: rgba(255,255,255,.1);
  background: #0A1726;
  color: #E8EEF4;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus,
.input:focus {
  outline: none;
  border-color: var(--bms-blue);
  box-shadow: 0 0 0 3px rgba(30,95,142,.12);
}
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 2rem; align-items: start; }
.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--bms-line);
}
.list-row:first-of-type { padding-top: .25rem; }
.list-row:last-child { border-bottom: 0; }
.list-row > :first-child { min-width: 0; }
.list-row > :not(:first-child) { flex: 0 0 auto; }
.list-row strong { color: var(--bms-navy); font-weight: 750; }
.dark .list-row { border-color: rgba(255,255,255,.1); }
.dark .list-row strong { color: #fff; }
.small { color: var(--bms-muted); font-size: .72rem; line-height: 1.45; }
.muted { color: var(--bms-muted); }
.empty {
  padding: 2.75rem 1.5rem;
  border: 1px dashed var(--bms-line);
  border-radius: .75rem;
  background: var(--bms-paper);
  text-align: center;
}
.dark .empty { border-color: rgba(255,255,255,.12); background: #14223A; }
.empty h1, .empty h2 { margin-top: 0; }
.empty p { max-width: 38rem; margin: .65rem auto 1.15rem; color: var(--bms-muted); line-height: 1.6; }
.faq-list { display: grid; gap: .65rem; }
.faq-item { overflow: hidden; border: 1px solid var(--bms-line); border-radius: .65rem; background: var(--bms-paper); }
.dark .faq-item { border-color: rgba(255,255,255,.1); background: #14223A; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary strong { color: var(--bms-navy); font-size: .9rem; }
.dark .faq-item summary strong { color: #fff; }
.faq-item summary:hover strong { color: var(--bms-blue); }
.faq-plus { display: grid; flex: 0 0 auto; place-items: center; width: 1.5rem; height: 1.5rem; border: 1px solid var(--bms-line); border-radius: 50%; color: var(--bms-blue); font-size: 1rem; line-height: 1; transition: transform .2s ease, background .2s ease; }
.dark .faq-plus { border-color: rgba(255,255,255,.16); color: var(--bms-gold); }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: rgba(30,95,142,.08); }
.faq-answer { padding: 0 1.1rem 1.1rem; border-top: 1px solid var(--bms-line); color: var(--bms-muted); font-size: .82rem; line-height: 1.65; }
.faq-answer p { margin: .85rem 0 0; }
.dark .faq-answer { border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.72); }
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .28rem .5rem;
  border-radius: .25rem;
  background: rgba(30,95,142,.1);
  color: var(--bms-blue);
  font-size: .64rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.dark .tag { background: rgba(63,167,196,.14); color: var(--bms-cyan); }
.media-link, .section-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--bms-blue);
  font-size: .75rem;
  font-weight: 750;
  text-decoration: none;
}
.media-link:hover, .section-link:hover { color: var(--bms-orange); }
.dark .media-link, .dark .section-link { color: var(--bms-cyan); }
.billing-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--bms-line);
  border-bottom: 1px solid var(--bms-line);
  color: var(--bms-muted);
  font-size: .75rem;
  line-height: 1.55;
}
.billing-total strong { color: var(--bms-navy); font-family: 'Fraunces', serif; font-size: 1.15rem; text-align: right; }
.dark .billing-total { border-color: rgba(255,255,255,.1); }
.dark .billing-total strong { color: var(--bms-gold); }
.btn-quiet, .share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .5rem .9rem;
  border: 1px solid var(--bms-line);
  border-radius: .375rem;
  background: transparent;
  color: var(--bms-navy);
  cursor: pointer;
  font: 600 .8125rem 'Inter', sans-serif;
  text-decoration: none;
}
.btn-quiet:hover, .share:hover { border-color: var(--bms-blue); color: var(--bms-blue); background: rgba(30,95,142,.06); }
.dark .btn-quiet, .dark .share { border-color: rgba(255,255,255,.14); color: #E8EEF4; }
.dark .btn-quiet:hover, .dark .share:hover { border-color: var(--bms-cyan); color: var(--bms-cyan); background: rgba(63,167,196,.08); }
.account-shell { max-width: 960px; }
.account-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.25rem; }
.account-heading h2 { margin: .45rem 0 .35rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.account-heading p { margin: 0; max-width: 42rem; color: var(--bms-muted); line-height: 1.55; }
.account-card { padding: .4rem 1.25rem; border: 1px solid var(--bms-line); border-radius: .75rem; background: var(--bms-paper); box-shadow: 0 10px 26px rgba(15,26,42,.06); }
.dark .account-card { border-color: rgba(255,255,255,.09); background: #14223A; box-shadow: 0 10px 26px rgba(0,0,0,.2); }
.account-list-row { color: inherit; text-decoration: none; }
.account-list-row:hover { background: rgba(30,95,142,.035); }
.account-list-row strong { transition: color .2s ease; }
.account-list-row:hover strong { color: var(--bms-blue); }
.account-status { display: grid; gap: .3rem; justify-items: end; }
@media (max-width: 700px) {
  .wrap { width: min(100% - 1.25rem, 1120px); }
  .split { grid-template-columns: 1fr; gap: 1.25rem; }
  .account-heading { display: block; }
  .account-heading .btn-primary { margin-top: 1rem; }
  .account-card { padding-inline: .9rem; }
  .list-row { align-items: flex-start; flex-wrap: wrap; gap: .5rem .8rem; }
  .list-row > :first-child { flex: 1 1 100%; }
  .list-row > :not(:first-child) { flex: 0 1 auto; }
  .account-status { display: flex; align-items: center; margin-left: auto; }
  .billing-total { align-items: flex-start; }
}

/* ===== HERO — clear media, readable copy, quiet controls ===== */
.hero-shell {
  position: relative;
  min-height: clamp(500px, 64vh, 660px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--bms-navy);
  color: #fff;
}
.hero-shell > .carousel { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-content {
  position: relative;
  z-index: 10;
  min-height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding-top: clamp(6rem, 12vh, 8rem);
  padding-bottom: clamp(4.5rem, 9vh, 6rem);
}
.carousel { position: relative; height: 100%; }
.carousel-inner { position: relative; width: 100%; height: 100%; overflow: hidden; }
.carousel-item { position: relative; display: none; width: 100%; height: 100%; }
.carousel-item.active { display: block; }
.carousel-item[aria-hidden="true"] { visibility: hidden; }
.hero-media {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  background: var(--bms-navy);
}
.hero-media-video { object-position: center center; }
.hero-media-image { object-position: center center; }
.hero-slide-2 .hero-media { object-position: center 38%; }
.hero-slide-3 .hero-media { object-position: center 65%; }
.hero-slide-4 .hero-media { object-position: center 15%; }
.hero-slide-5 .hero-media { object-position: center center; }
.hero-slide-6 .hero-media { object-position: center center; }
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(6,24,42,.32) 0%, rgba(6,24,42,.1) 48%, rgba(6,24,42,0) 100%),
    linear-gradient(180deg, rgba(6,24,42,.2) 0%, rgba(6,24,42,.02) 44%, rgba(6,24,42,.42) 100%);
}
.hero-watermark {
  display: block;
  position: absolute;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: clamp(1.25rem, 3vw, 2.5rem);
  width: clamp(120px, 13vw, 190px);
  height: auto;
  opacity: .28;
  object-fit: contain;
  filter: none;
  pointer-events: none;
  z-index: 3;
}
.hero-media-credit {
  position: absolute;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: clamp(4rem, 7vw, 5.25rem);
  z-index: 4;
  max-width: 15rem;
  color: rgba(255,255,255,.68);
  font-size: .58rem;
  line-height: 1.35;
  text-align: right;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.hero-media-credit a { color: inherit; text-decoration: none; }
.hero-media-credit a:hover { color: #fff; text-decoration: underline; }
.hero-copy {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: min(100%, 36rem);
  padding: clamp(1rem, 2.5vw, 1.75rem) clamp(1rem, 2.5vw, 1.75rem) clamp(1rem, 2.5vw, 1.75rem) clamp(1rem, 2.5vw, 1.5rem);
  border-left: 2px solid rgba(242,180,65,.78);
  background: linear-gradient(90deg, rgba(6,24,42,.36) 0%, rgba(6,24,42,.1) 68%, rgba(6,24,42,0) 100%);
}
.hero-copy .eyebrow { color: var(--bms-gold); }
.hero-copy h1 {
  color: #fff;
  max-width: 12ch;
  margin: .65rem 0 .85rem;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: .98;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-copy p {
  max-width: 32rem;
  margin: 0;
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  color: rgba(255,255,255,.88);
  line-height: 1.55;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.35rem; }
.hero-actions .btn-gold,
.hero-actions .btn-ghost-light {
  min-height: 2.6rem;
  padding: .65rem 1rem;
  font-size: .8125rem;
}
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin-top: 2rem;
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-proof strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem; /* was 1.6 */
  font-weight: 700;
  line-height: 1;
}
.hero-proof span { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.75); margin-top: 0.25rem; }
.hero-controls {
  position: absolute; bottom: 1.35rem; left: clamp(1.5rem, 4vw, 4rem); z-index: 5;
  display: flex; gap: 0.375rem; align-items: center;
  padding: .35rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(6,24,42,.42);
  backdrop-filter: blur(6px);
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: 0; padding: 0;
  transition: all .35s cubic-bezier(.16,1,.3,1);
}
.hero-dot.is-active {
  background: var(--bms-gold); width: 22px; border-radius: 3px;
}

/* ===== Page hero — compact, gradient ===== */
.page-hero {
  background: linear-gradient(135deg, var(--bms-navy) 0%, var(--bms-blue) 100%);
  color: #fff;
  padding: 5.5rem 0 2.25rem; /* was 7rem/3rem */
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(63,167,196,0.25) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--bms-gold), transparent);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem); /* was 2-3.25 */
  margin: 0.375rem 0 0.625rem;
  font-weight: 600;
}
.page-hero p {
  color: rgba(255,255,255,0.88); max-width: 620px; font-size: 0.9375rem; line-height: 1.55;
}
.breadcrumbs { font-size: 0.75rem; color: rgba(255,255,255,0.65); letter-spacing: 0.02em; }
.breadcrumbs a { color: var(--bms-gold); }
.breadcrumbs a:hover { color: #fff; }

/* Section head — tighter */
.section-head h2 {
  font-size: clamp(1.375rem, 2.2vw, 1.875rem); /* was 1.75-2.6 */
  margin: 0.375rem 0;
  font-weight: 600;
}
.section-head p { color: inherit; opacity: 0.7; max-width: 540px; margin: 0; font-size: 0.875rem; line-height: 1.55; }

/* ===== Tour card — denser, more professional ===== */
.tour-card {
  background: var(--bms-paper);
  border: 1px solid var(--bms-line);
  border-radius: 0.625rem; /* was 1rem */
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s;
  box-shadow: 0 1px 2px rgba(15,26,42,0.04);
}
.dark .tour-card {
  background: #14223A;
  border-color: rgba(255,255,255,0.07);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.tour-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15,26,42,0.10);
  border-color: rgba(30,95,142,0.3);
}
.dark .tour-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.5); border-color: rgba(63,167,196,0.4); }
.tour-card-media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; /* was 4/3 — wider, more cinematic */
  background: var(--bms-cream);
}
.tour-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.tour-card:hover .tour-card-media img { transform: scale(1.05); }
.tour-badge {
  position: absolute; top: 0.625rem; left: 0.625rem;
  background: var(--bms-gold); color: var(--bms-navy);
  padding: 0.1875rem 0.5rem; border-radius: 3px; /* pill → sharp rectangle = more pro */
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.tour-card-content {
  padding: 0.875rem 1rem 1rem; /* was 1.25/1.4/1.5 */
  display: flex; flex-direction: column; gap: 0.375rem; flex: 1;
}
.tour-card-content h3 { font-size: 0.9375rem; margin: 0; font-weight: 600; line-height: 1.25; } /* was 1.18rem */
.tour-card-content p { opacity: 0.7; font-size: 0.8125rem; margin: 0; flex: 1; line-height: 1.45; } /* was 0.92rem */
.tour-meta {
  display: flex; flex-wrap: wrap; gap: 0.375rem 0.875rem;
  padding-top: 0.625rem; border-top: 1px solid var(--bms-line);
  margin-top: auto; font-size: 0.75rem;
}
.dark .tour-meta { border-color: rgba(255,255,255,0.07); }
.tour-meta strong { color: var(--bms-orange); font-weight: 700; }
.card-action {
  color: var(--bms-blue); font-weight: 600; font-size: 0.8125rem;
  display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 0.375rem;
  transition: gap .25s ease, color .25s ease;
}
.dark .card-action { color: var(--bms-cyan); }
.tour-card:hover .card-action { gap: 0.4375rem; color: var(--bms-orange); }

/* Stable grids for category and filtered tour pages. */
.tour-results-grid, .tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.tour-results-grid > div, .tour-grid > .tour-card { min-width: 0; }
@media (max-width: 980px) {
  .tour-results-grid, .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .tour-results-grid, .tour-grid { grid-template-columns: 1fr; }
}

/* ===== Stat tiles — denser ===== */
.stat-tile {
  background: var(--bms-paper);
  border: 1px solid var(--bms-line);
  border-radius: 0.625rem;
  padding: 1.125rem 1.25rem; /* was 1.5rem */
  box-shadow: 0 1px 2px rgba(15,26,42,0.04);
  transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .25s;
}
.dark .stat-tile {
  background: #14223A; border-color: rgba(255,255,255,0.07);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.stat-tile:hover { transform: translateY(-2px); border-color: rgba(30,95,142,0.3); }
.stat-tile strong {
  display: block; font-family: 'Fraunces', serif;
  font-size: 1.5rem; /* was 2.25 */
  font-weight: 700;
  color: var(--bms-blue); line-height: 1;
}
.dark .stat-tile strong { color: var(--bms-cyan); }
.stat-tile .stat-label { font-size: 0.75rem; opacity: 0.7; margin-top: 0.375rem; }

/* ===== Destination tile — wider, more cinematic ===== */
.destination-tile {
  position: relative; aspect-ratio: 16 / 11; /* was 4/5 */
  border-radius: 0.625rem; overflow: hidden; display: block;
}
.destination-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.destination-tile:hover img { transform: scale(1.05); }
.destination-info {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,54,0) 0%, rgba(10,31,54,0.85) 100%);
  padding: 1rem 1.125rem; display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
}
.destination-info h3 { color: #fff; margin: 0.125rem 0 0.25rem; font-size: 1rem; font-weight: 600; }
.destination-info p { color: rgba(255,255,255,0.85); font-size: 0.75rem; margin: 0; line-height: 1.4; }

/* ===== Adventure activity cards ===== */
.activity-section { background: #fff; }
.dark .activity-section { background: #0E1F36; }
.activity-section .section-head { margin-bottom: 1.5rem; }
.activity-section .section-head h2 { margin: .375rem 0; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.activity-section .section-head p { max-width: 620px; color: var(--bms-muted); font-size: .875rem; line-height: 1.55; }
.dark .activity-section .section-head p { color: rgba(255,255,255,.7); }
.activity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .875rem; }
.activity-card {
  min-width: 0; overflow: hidden; border: 1px solid var(--bms-line); border-radius: .625rem;
  background: var(--bms-paper); color: var(--bms-ink); text-decoration: none;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s;
}
.dark .activity-card { background: #14223A; border-color: rgba(255,255,255,.07); color: #fff; }
.activity-card:hover { transform: translateY(-4px); border-color: rgba(30,95,142,.35); box-shadow: 0 12px 28px rgba(15,26,42,.12); }
.activity-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.activity-card:hover img { transform: scale(1.045); }
.activity-card > div { padding: .875rem 1rem 1rem; }
.activity-card .eyebrow { font-size: .6rem; }
.activity-card h3 { margin: .35rem 0 .25rem; font-size: 1rem; }
.activity-card p { margin: 0; color: var(--bms-muted); font-size: .75rem; line-height: 1.45; }
.dark .activity-card p { color: rgba(255,255,255,.7); }

@media (max-width: 900px) { .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .activity-grid { grid-template-columns: 1fr; } }

/* ===== Departure calendar ===== */
.calendar-hero p { max-width: 680px; }
.calendar-section { background: var(--bms-cream); }
.dark .calendar-section { background: #0A1726; }
.calendar-intro { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.calendar-intro .section-head { max-width: 680px; }
.calendar-intro .section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); margin-top: .5rem; }
.calendar-intro .section-head p { max-width: 650px; }
.calendar-stats { display: flex; gap: .625rem; flex: 0 0 auto; }
.calendar-stats > div { min-width: 112px; padding: .8rem .95rem; border: 1px solid var(--bms-line); border-radius: .5rem; background: var(--bms-paper); }
.dark .calendar-stats > div { background: #14223A; border-color: rgba(255,255,255,.08); }
.calendar-stats strong { display: block; color: var(--bms-blue); font-family: 'Fraunces', serif; font-size: 1.5rem; line-height: 1; }
.dark .calendar-stats strong { color: var(--bms-cyan); }
.calendar-stats span { display: block; margin-top: .35rem; color: var(--bms-muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; }
.dark .calendar-stats span { color: rgba(255,255,255,.62); }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; margin-bottom: 1.5rem; border-top: 1px solid var(--bms-line); border-bottom: 1px solid var(--bms-line); }
.dark .calendar-toolbar { border-color: rgba(255,255,255,.1); }
.calendar-toolbar-label { display: block; font-size: .75rem; font-weight: 700; color: var(--bms-ink); }
.dark .calendar-toolbar-label { color: #fff; }
.calendar-toolbar-note { display: block; margin-top: .15rem; font-size: .7rem; color: var(--bms-muted); }
.calendar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2rem; align-items: start; }
.calendar-month + .calendar-month { margin-top: 2.5rem; }
.calendar-month-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--bms-line); }
.dark .calendar-month-heading { border-color: rgba(255,255,255,.1); }
.calendar-month-heading > div { display: flex; align-items: center; gap: .7rem; }
.calendar-month-heading .eyebrow { color: var(--bms-blue); }
.dark .calendar-month-heading .eyebrow { color: var(--bms-cyan); }
.calendar-month-heading h3 { margin: 0; font-size: 1.35rem; }
.calendar-month-count, .calendar-day-heading span { color: var(--bms-muted); font-size: .7rem; }
.dark .calendar-month-count, .dark .calendar-day-heading span { color: rgba(255,255,255,.58); }
.calendar-days { display: grid; gap: .9rem; padding-top: .9rem; }
.calendar-day { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 1rem; }
.calendar-date { align-self: start; padding: .6rem .45rem .65rem; border: 1px solid var(--bms-line); border-radius: .5rem; background: var(--bms-paper); text-align: center; }
.dark .calendar-date { background: #14223A; border-color: rgba(255,255,255,.08); }
.calendar-date span, .calendar-date small { display: block; color: var(--bms-muted); font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.calendar-date strong { display: block; margin: .12rem 0; color: var(--bms-blue); font-family: 'Fraunces', serif; font-size: 1.65rem; line-height: 1; }
.dark .calendar-date strong { color: var(--bms-gold); }
.calendar-day-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: .1rem 0 .45rem; }
.calendar-day-heading strong { font-size: .75rem; }
.departure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.departure-card { display: flex; min-width: 0; overflow: hidden; border: 1px solid var(--bms-line); border-radius: .55rem; background: var(--bms-paper); box-shadow: 0 1px 2px rgba(15,26,42,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.dark .departure-card { background: #14223A; border-color: rgba(255,255,255,.08); }
.departure-card:hover { transform: translateY(-3px); border-color: rgba(30,95,142,.35); box-shadow: 0 10px 22px rgba(15,26,42,.1); }
.departure-card-media { position: relative; flex: 0 0 108px; min-height: 154px; overflow: hidden; background: var(--bms-navy); }
.departure-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.departure-card:hover .departure-card-media img { transform: scale(1.05); }
.departure-status { position: absolute; left: .45rem; bottom: .45rem; padding: .22rem .4rem; border-radius: .2rem; background: rgba(10,31,54,.78); color: #fff; font-size: .58rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.departure-status.is-guaranteed { background: var(--bms-gold); color: var(--bms-navy); }
.departure-card-body { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: .7rem .75rem .65rem; }
.departure-card-top, .departure-card-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.departure-destination { min-width: 0; overflow: hidden; color: var(--bms-orange); font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.dark .departure-destination { color: var(--bms-gold); }
.departure-spaces { flex: 0 0 auto; color: var(--bms-muted); font-size: .6rem; }
.departure-card h4 { margin: .45rem 0 .45rem; font-size: .9rem; line-height: 1.2; }
.departure-card h4 a { color: inherit; text-decoration: none; }
.departure-card h4 a:hover { color: var(--bms-blue); }
.departure-meta { display: flex; flex-wrap: wrap; gap: .3rem .7rem; color: var(--bms-muted); font-size: .65rem; }
.departure-card-footer { align-items: end; margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--bms-line); }
.dark .departure-card-footer { border-color: rgba(255,255,255,.1); }
.departure-card-footer strong { color: var(--bms-blue); font-family: 'Fraunces', serif; font-size: 1rem; }
.dark .departure-card-footer strong { color: var(--bms-gold); }
.departure-card-footer small { color: var(--bms-muted); font-family: 'Inter', sans-serif; font-size: .58rem; font-weight: 400; }
.departure-link { color: var(--bms-blue); font-size: .68rem; font-weight: 700; text-decoration: none; }
.departure-link:hover { color: var(--bms-orange); }
.dark .departure-link { color: var(--bms-cyan); }
.calendar-aside { position: sticky; top: 104px; display: grid; gap: .8rem; }
.calendar-aside-card { padding: 1.35rem; border-radius: .65rem; background: linear-gradient(145deg, var(--bms-navy), #175C85); color: #fff; box-shadow: 0 12px 28px rgba(10,31,54,.15); }
.calendar-aside-card .eyebrow { color: var(--bms-gold); }
.calendar-aside-card h2 { margin: .55rem 0 .6rem; color: #fff; font-size: 1.5rem; }
.calendar-aside-card p { margin: 0 0 1.1rem; color: rgba(255,255,255,.78); font-size: .8rem; line-height: 1.55; }
.calendar-note { padding: 1rem; border-left: 2px solid var(--bms-gold); background: rgba(242,180,65,.1); }
.calendar-note strong { display: block; color: var(--bms-navy); font-size: .75rem; }
.dark .calendar-note strong { color: var(--bms-gold); }
.calendar-note p { margin: .35rem 0 0; color: var(--bms-muted); font-size: .72rem; line-height: 1.55; }
.dark .calendar-note p { color: rgba(255,255,255,.68); }
.calendar-empty { padding: 3rem 1.5rem; border: 1px dashed var(--bms-line); border-radius: .65rem; background: var(--bms-paper); text-align: center; }
.dark .calendar-empty { background: #14223A; border-color: rgba(255,255,255,.12); }
.calendar-empty h2 { margin: .5rem 0; font-size: 1.4rem; }
.calendar-empty p { max-width: 420px; margin: 0 auto 1.1rem; color: var(--bms-muted); font-size: .85rem; }

@media (max-width: 1050px) {
  .calendar-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 1.2rem; }
  .departure-card { display: block; }
  .departure-card-media { height: 112px; min-height: 0; }
}
@media (max-width: 820px) {
  .calendar-intro { display: block; }
  .calendar-stats { margin-top: 1.2rem; }
  .calendar-layout { grid-template-columns: 1fr; }
  .calendar-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .calendar-toolbar { display: block; }
  .calendar-toolbar .btn-primary { margin-top: .75rem; }
  .calendar-day { grid-template-columns: 52px minmax(0, 1fr); gap: .65rem; }
  .calendar-date { padding-left: .25rem; padding-right: .25rem; }
  .calendar-date strong { font-size: 1.35rem; }
  .departure-grid, .calendar-aside { grid-template-columns: 1fr; }
  .departure-card { display: flex; }
  .departure-card-media { flex-basis: 92px; height: auto; min-height: 145px; }
}

/* ===== Shared catalogue, guide, gallery and resource layouts ===== */
.catalog-section, .guide-section, .gallery-section, .pack-section, .video-section { background: var(--bms-cream); }
.dark .catalog-section, .dark .guide-section, .dark .gallery-section, .dark .pack-section, .dark .video-section { background: #0A1726; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.catalog-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--bms-line); border-radius: .65rem; background: var(--bms-paper); color: var(--bms-ink); text-decoration: none; box-shadow: 0 1px 2px rgba(15,26,42,.04); transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s; }
.dark .catalog-card { border-color: rgba(255,255,255,.08); background: #14223A; color: #fff; }
.catalog-card:hover { transform: translateY(-4px); border-color: rgba(30,95,142,.35); box-shadow: 0 14px 28px rgba(15,26,42,.11); }
.catalog-card > img, .catalog-card-art { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.catalog-card-art { display: grid; place-items: center; background: linear-gradient(135deg, var(--bms-navy), var(--bms-blue)); color: var(--bms-gold); font-family: 'Fraunces', serif; font-size: 3.5rem; }
.catalog-card-body { display: flex; flex: 1; flex-direction: column; padding: 1rem 1.05rem 1.05rem; }
.catalog-card-body .eyebrow { font-size: .6rem; }
.catalog-card-body h2 { margin: .45rem 0 .4rem; font-size: 1.15rem; line-height: 1.18; }
.catalog-card-body p { flex: 1; margin: 0 0 1rem; color: var(--bms-muted); font-size: .8rem; line-height: 1.5; }
.dark .catalog-card-body p { color: rgba(255,255,255,.7); }
.catalog-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--bms-blue); font-size: .75rem; font-weight: 700; text-decoration: none; }
.catalog-link:hover { color: var(--bms-orange); }
.dark .catalog-link { color: var(--bms-cyan); }
.catalog-empty { grid-column: 1 / -1; padding: 3rem 1.5rem; border: 1px dashed var(--bms-line); border-radius: .65rem; background: var(--bms-paper); text-align: center; }
.dark .catalog-empty { border-color: rgba(255,255,255,.12); background: #14223A; }
.catalog-empty h2 { margin: .5rem 0; font-size: 1.45rem; }
.catalog-empty p { max-width: 440px; margin: 0 auto 1.1rem; color: var(--bms-muted); font-size: .85rem; }
.dark .catalog-empty p { color: rgba(255,255,255,.68); }

.guide-section-head { max-width: 620px; margin-bottom: 1.6rem; }
.guide-section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.guide-card { min-width: 0; overflow: hidden; border: 1px solid var(--bms-line); border-radius: .65rem; background: var(--bms-paper); box-shadow: 0 1px 2px rgba(15,26,42,.04); transition: transform .3s ease, box-shadow .3s ease; }
.dark .guide-card { border-color: rgba(255,255,255,.08); background: #14223A; }
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(15,26,42,.11); }
.guide-card-portrait { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(145deg, var(--bms-navy), var(--bms-blue)); color: var(--bms-gold); font-family: 'Fraunces', serif; font-size: 4rem; text-decoration: none; }
.guide-card-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.guide-verified { position: absolute; bottom: .65rem; left: .65rem; padding: .25rem .45rem; border-radius: .2rem; background: var(--bms-gold); color: var(--bms-navy); font-size: .58rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.guide-card-body { padding: .9rem 1rem 1rem; }
.guide-card-meta { display: flex; justify-content: space-between; gap: .4rem; color: var(--bms-muted); font-size: .65rem; }
.guide-card-body h2 { margin: .4rem 0 .35rem; font-size: 1.1rem; }
.guide-card-body h2 a { color: inherit; text-decoration: none; }
.guide-card-body p { min-height: 4.5rem; margin: 0 0 .75rem; color: var(--bms-muted); font-size: .78rem; line-height: 1.5; }
.dark .guide-card-body p { color: rgba(255,255,255,.7); }
.guide-languages { min-height: 2.1rem; margin-bottom: .8rem; color: var(--bms-ink); font-size: .68rem; font-weight: 600; line-height: 1.5; }
.dark .guide-languages { color: rgba(255,255,255,.78); }

.gallery-album-grid { display: grid; gap: 1.5rem; }
.gallery-album { overflow: hidden; border: 1px solid var(--bms-line); border-radius: .7rem; background: var(--bms-paper); box-shadow: 0 1px 2px rgba(15,26,42,.04); }
.dark .gallery-album { border-color: rgba(255,255,255,.08); background: #14223A; }
.gallery-album-head { padding: 1.15rem 1.25rem .9rem; }
.gallery-album-head h2 { margin: .4rem 0 .3rem; font-size: 1.35rem; }
.gallery-album-head p { max-width: 720px; margin: 0 0 .55rem; color: var(--bms-muted); font-size: .8rem; line-height: 1.5; }
.dark .gallery-album-head p { color: rgba(255,255,255,.7); }
.gallery-count { color: var(--bms-orange); font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gallery-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; padding: 0 .35rem .35rem; }
.gallery-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bms-navy); }
.gallery-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .3s ease; }
.gallery-photo:hover img { transform: scale(1.06); filter: brightness(.8); }
.gallery-photo span { position: absolute; right: .4rem; bottom: .35rem; left: .4rem; overflow: hidden; color: #fff; font-size: .62rem; text-overflow: ellipsis; text-shadow: 0 1px 5px #000; white-space: nowrap; }
.gallery-album-link { margin: .85rem 1.25rem 1rem; }

/* Media-first album cards adapted from the Heritawi gallery experience. */
.gallery-album-grid--source { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.album-card { position: relative; overflow: hidden; border: 1px solid var(--bms-line); border-radius: .6rem; background: var(--bms-paper); box-shadow: 0 8px 24px rgba(15, 26, 42, .06); }
.dark .album-card { border-color: rgba(255,255,255,.08); background: #14223A; }
.album-card-head { padding: 1.15rem 1.25rem .9rem; }
.album-card h2 { margin: .4rem 0 .35rem; color: var(--bms-navy); font-family: 'Fraunces', Georgia, serif; font-size: 1.45rem; }
.dark .album-card h2 { color: #fff; }
.album-card-head p { min-height: 2.8rem; margin: 0; color: var(--bms-muted); font-size: .8rem; line-height: 1.5; }
.album-count { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .8rem; color: var(--bms-orange); font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.album-count a { color: var(--bms-blue); font-size: .68rem; letter-spacing: 0; text-decoration: none; text-transform: none; }
.dark .album-count a { color: var(--bms-cyan); }
.album-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; padding: 3px; background: #e8eef3; }
.album-thumbs a { display: block; overflow: hidden; aspect-ratio: 1 / .86; background: var(--bms-navy); }
.album-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease, filter .25s ease; }
.album-thumbs a:hover img { transform: scale(1.08); filter: brightness(.84); }
.album-card .image-viewer { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 4rem 5rem; background: rgba(4, 15, 28, .94); }
.album-card .image-viewer img { max-width: min(100%, 1100px); max-height: 85vh; object-fit: contain; }
.album-card .image-viewer-close, .album-card .image-viewer-nav { position: absolute; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(10,31,54,.7); color: #fff; cursor: pointer; }
.album-card .image-viewer-close { top: 1.5rem; right: 1.5rem; }
.album-card .image-viewer-prev { left: 1.5rem; }
.album-card .image-viewer-next { right: 1.5rem; }
.album-card .image-viewer-count { position: absolute; bottom: 1.5rem; color: #fff; font-size: .75rem; }
@media (max-width: 820px) { .gallery-album-grid--source { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .album-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .album-card .image-viewer { padding: 4rem 2.75rem; } }

.pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.itinerary-pack { display: flex; min-width: 0; flex-direction: column; padding-bottom: 1rem; overflow: hidden; border: 1px solid var(--bms-line); border-radius: .65rem; background: var(--bms-paper); box-shadow: 0 1px 2px rgba(15,26,42,.04); }
.dark .itinerary-pack { border-color: rgba(255,255,255,.08); background: #14223A; }
.pack-cover { display: block; width: 100%; height: 190px; object-fit: cover; }
.pack-cover-empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--bms-navy), var(--bms-blue)); color: var(--bms-gold); font-family: 'Fraunces', serif; font-size: 4rem; }
.pack-heading { display: flex; align-items: start; justify-content: space-between; gap: .75rem; padding: .95rem 1rem .45rem; }
.pack-heading h2 { margin: .35rem 0 0; font-size: 1.1rem; line-height: 1.2; }
.pack-heading h2 a { color: inherit; text-decoration: none; }
.pack-heading > strong { flex: 0 0 auto; color: var(--bms-blue); font-family: 'Fraunces', serif; font-size: 1rem; }
.dark .pack-heading > strong { color: var(--bms-gold); }
.pack-heading small { display: block; color: var(--bms-muted); font-family: 'Inter', sans-serif; font-size: .58rem; font-weight: 400; }
.itinerary-pack > p { flex: 1; margin: 0; padding: 0 1rem .7rem; color: var(--bms-muted); font-size: .78rem; line-height: 1.5; }
.dark .itinerary-pack > p { color: rgba(255,255,255,.7); }
.pack-meta { display: flex; gap: 1rem; margin: 0 1rem .75rem; padding-top: .65rem; border-top: 1px solid var(--bms-line); color: var(--bms-muted); font-size: .65rem; }
.dark .pack-meta { border-color: rgba(255,255,255,.1); }
.itinerary-pack > .catalog-link { margin: 0 1rem; }

.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.video-card { position: relative; display: flex; min-height: 245px; flex-direction: column; padding: 1.35rem; overflow: hidden; border: 1px solid var(--bms-line); border-radius: .65rem; background: linear-gradient(145deg, var(--bms-navy), var(--bms-blue)); color: #fff; text-decoration: none; box-shadow: 0 1px 2px rgba(15,26,42,.08); transition: transform .3s ease, box-shadow .3s ease; }
.video-card::after { position: absolute; right: -2rem; bottom: -3rem; width: 11rem; height: 11rem; border-radius: 50%; background: rgba(63,167,196,.2); content: ''; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(15,26,42,.16); }
.video-card .eyebrow { color: var(--bms-gold); }
.video-card h2 { position: relative; z-index: 1; margin: .7rem 0 .45rem; color: #fff; font-size: 1.25rem; }
.video-card p { position: relative; z-index: 1; flex: 1; margin: 0 0 1rem; color: rgba(255,255,255,.75); font-size: .8rem; line-height: 1.5; }
.video-card .catalog-link { position: relative; z-index: 1; color: var(--bms-gold); }
.video-card-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; margin-bottom: .7rem; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: var(--bms-gold); font-size: .75rem; }

@media (max-width: 980px) {
  .catalog-grid, .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .catalog-grid, .guide-grid, .pack-grid, .video-grid { grid-template-columns: 1fr; }
  .gallery-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-card-body p { min-height: auto; }
}

/* ===== Story card — denser ===== */
.story-card {
  background: var(--bms-paper);
  border: 1px solid var(--bms-line);
  border-radius: 0.625rem;
  overflow: hidden;
  height: 100%;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s;
}
.dark .story-card { background: #14223A; border-color: rgba(255,255,255,0.07); }
.story-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,26,42,0.10); border-color: rgba(30,95,142,0.3); }
.story-card img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .5s ease;
}
.story-card:hover img { transform: scale(1.05); }
.story-card .story-body { padding: 0.875rem 1rem 1rem; }
.story-card .story-body h3 { font-size: 0.9375rem; font-weight: 600; margin: 0.25rem 0 0.375rem; }
.story-card .story-body p { font-size: 0.8125rem; opacity: 0.7; margin: 0; line-height: 1.45; }
.story-card .story-body .small { font-size: 0.6875rem; opacity: 0.55; display: block; margin-top: 0.5rem; }

/* ===== Newsletter block — refined, smaller ===== */
.newsletter-block {
  background: linear-gradient(135deg, var(--bms-navy) 0%, var(--bms-blue) 100%);
  color: #fff;
  padding: 1.75rem 2rem; /* was 2.5rem */
  border-radius: 0.875rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
.newsletter-block::before {
  content: ''; position: absolute; top: -60%; right: -10%;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(63,167,196,0.15); pointer-events: none;
}
.newsletter-block::after {
  content: ''; position: absolute; bottom: -40%; left: -8%;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(242,180,65,0.08); pointer-events: none;
}
.newsletter-block h3 { color: #fff; font-size: 1.25rem; margin-bottom: 0.25rem; }
.newsletter-block p { color: rgba(255,255,255,0.85); font-size: 0.8125rem; margin: 0; }

/* ===== Floating WhatsApp — smaller, more subtle ===== */
.floating-whatsapp {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 1050;
  background: #25D366; color: #fff;
  padding: 0.625rem 0.875rem;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-weight: 600;
  font-size: 0.8125rem;
  box-shadow: 0 6px 18px rgba(37,211,102,0.35);
  text-decoration: none;
  transition: transform .25s cubic-bezier(.16,1,.3,1);
  animation: pulse-whatsapp 3s infinite;
}
.floating-whatsapp:hover { transform: scale(1.04); color: #fff; }

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 6px 18px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 6px 22px rgba(37,211,102,0.55); }
}

/* ===== Footer — denser, multi-column pro layout ===== */
.footer {
  background: var(--bms-navy);
  color: rgba(255,255,255,0.72);
  padding: 3rem 0 1.25rem;
  margin-top: 3rem;
}
.footer h3, .footer h4 { color: #fff; }
.footer h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.875rem;
  color: var(--bms-gold);
}
.footer a { color: rgba(255,255,255,0.72); text-decoration: none; transition: color .2s; font-size: 0.8125rem; }
.footer a:hover { color: var(--bms-gold); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 0.4375rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 1.25rem;
  margin-top: 2.5rem;
  font-size: 0.75rem;
  opacity: 0.65;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ===== Buttons — refined, smaller ===== */
.btn-primary {
  background: var(--bms-blue);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: all .25s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 2px 8px rgba(30,95,142,0.2);
  text-decoration: none;
}
.btn-primary:hover {
  background: #175C85;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30,95,142,0.35);
}
.btn-gold {
  background: var(--bms-gold);
  color: var(--bms-navy);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 700;
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: all .25s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 2px 8px rgba(242,180,65,0.25);
  text-decoration: none;
}
.btn-gold:hover {
  background: #E0A028;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(242,180,65,0.4);
}
.btn-ghost-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  transition: all .25s ease;
  text-decoration: none;
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.22); transform: translateY(-1px); }

/* ===== Theme toggle — smaller ===== */
.theme-toggle {
  width: 32px; height: 32px; border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .25s ease;
}
.theme-toggle:hover { background: rgba(255,255,255,0.25); transform: rotate(15deg); }

/* ===== HTMX loading — slim bar ===== */
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { display: flex; }
.loading-line {
  background: var(--bms-gold);
  color: var(--bms-navy);
  padding: 0.4375rem 0.75rem;
  border-radius: 0.375rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  font-size: 0.75rem;
  align-items: center;
  gap: 0.375rem;
}

/* ===== Chat widget — denser ===== */
.chat-widget { position: fixed; bottom: 4rem; right: 1rem; z-index: 1050; }

/* ===== OpenCode trip assistant ===== */
.ai-chat-widget { position: fixed; right: 1rem; bottom: 1rem; z-index: 1060; font-family: 'Inter', sans-serif; }
.ai-chat-launch { display: inline-flex; align-items: center; gap: .45rem; border: 0; border-radius: 999px; padding: .72rem 1rem; background: var(--bms-blue); color: #fff; box-shadow: 0 10px 30px rgba(6, 19, 32, .25); font-size: .78rem; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s; }
.ai-chat-launch:hover { transform: translateY(-2px); background: var(--bms-orange); }
.ai-chat-launch-icon { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--bms-gold); color: var(--bms-navy); font-size: .9rem; }
.ai-chat-panel { position: absolute; right: 0; bottom: calc(100% + .75rem); display: flex; flex-direction: column; width: min(390px, calc(100vw - 2rem)); overflow: hidden; border: 1px solid rgba(30, 95, 142, .18); border-radius: 1rem; background: var(--bms-paper); color: var(--bms-ink); box-shadow: 0 18px 55px rgba(6, 19, 32, .28); }
.dark .ai-chat-panel { border-color: rgba(255,255,255,.1); background: #101e31; color: #e8eef4; }
.ai-chat-header { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; padding: .9rem 1rem; background: var(--bms-blue); color: #fff; }
.ai-chat-header strong, .ai-chat-header span { display: block; }
.ai-chat-header strong { font-size: .9rem; }
.ai-chat-header span { margin-top: .2rem; color: rgba(255,255,255,.76); font-size: .65rem; }
.ai-chat-close { border: 0; background: transparent; color: #fff; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.ai-chat-messages { display: flex; flex-direction: column; gap: .5rem; max-height: 315px; overflow-y: auto; padding: .85rem 1rem .55rem; }
.ai-chat-bubble { max-width: 88%; padding: .62rem .72rem; border-radius: .8rem; white-space: pre-wrap; font-size: .76rem; line-height: 1.5; }
.ai-chat-bubble--assistant { align-self: flex-start; border-bottom-left-radius: .2rem; background: var(--bms-cream); color: var(--bms-ink); }
.dark .ai-chat-bubble--assistant { background: #1b2d4a; color: #e8eef4; }
.ai-chat-bubble--user { align-self: flex-end; border-bottom-right-radius: .2rem; background: var(--bms-blue); color: #fff; }
.ai-chat-prompts { display: flex; gap: .35rem; overflow-x: auto; padding: .35rem 1rem .7rem; }
.ai-chat-prompts button { flex: 0 0 auto; border: 1px solid rgba(30,95,142,.25); border-radius: 999px; padding: .32rem .55rem; background: transparent; color: var(--bms-blue); font-size: .64rem; cursor: pointer; }
.dark .ai-chat-prompts button { border-color: rgba(255,255,255,.18); color: #b8e8f2; }
.ai-chat-form { display: grid; gap: .45rem; padding: .7rem 1rem; border-top: 1px solid var(--bms-line); }
.dark .ai-chat-form { border-color: rgba(255,255,255,.1); }
.ai-chat-form textarea { width: 100%; resize: vertical; min-height: 3.1rem; border: 1px solid rgba(30,95,142,.2); border-radius: .55rem; padding: .55rem .65rem; background: transparent; color: inherit; font: inherit; font-size: .76rem; }
.ai-chat-form textarea:focus { outline: 2px solid rgba(63,167,196,.45); outline-offset: 1px; }
.ai-chat-form-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.ai-chat-note { color: var(--bms-muted); font-size: .58rem; line-height: 1.35; }
.ai-chat-submit { flex: 0 0 auto; padding: .48rem .8rem; font-size: .7rem; }
.ai-chat-footer { padding: .55rem 1rem .75rem; color: var(--bms-muted); font-size: .62rem; }
.ai-chat-footer a { color: var(--bms-blue); font-weight: 700; }
.dark .ai-chat-footer a { color: #b8e8f2; }
@media (max-width: 640px) {
  .ai-chat-widget { right: .75rem; bottom: .75rem; }
  .ai-chat-panel { position: fixed; right: .75rem; bottom: 4.25rem; width: calc(100vw - 1.5rem); max-height: calc(100vh - 5rem); }
  .ai-chat-messages { max-height: min(42vh, 315px); }
}
.chat-launch {
  background: var(--bms-blue); color: #fff; border: 0;
  border-radius: 999px; padding: 0.625rem 0.875rem;
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer; box-shadow: 0 4px 14px rgba(30,95,142,0.35);
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.chat-launch:hover { transform: scale(1.04); }
.chat-panel {
  position: absolute; bottom: 3rem; right: 0; width: 320px;
  max-width: calc(100vw - 2rem);
  background: var(--bms-paper);
  border: 1px solid var(--bms-line);
  border-radius: 0.625rem; box-shadow: 0 16px 40px rgba(15,26,42,0.18);
  overflow: hidden;
}
.dark .chat-panel { background: #14223A; border-color: rgba(255,255,255,0.07); }
.chat-panel-head { background: var(--bms-blue); color: #fff; padding: 0.75rem 1rem; }
.chat-panel-head strong { font-size: 0.875rem; }
.chat-panel-head span { font-size: 0.6875rem; opacity: 0.85; }
.chat-messages { padding: 0.75rem 1rem; max-height: 240px; overflow-y: auto; }
.chat-message {
  padding: 0.5rem 0.75rem; border-radius: 0.5rem; margin-bottom: 0.375rem;
  max-width: 80%; font-size: 0.8125rem; line-height: 1.4;
}
.chat-message--assistant { background: var(--bms-cream); color: var(--bms-ink); }
.dark .chat-message--assistant { background: #1B2D4A; color: #E8EEF4; }
.chat-message--user { background: var(--bms-blue); color: #fff; margin-left: auto; }
.chat-form { padding: 0.625rem; border-top: 1px solid var(--bms-line); display: grid; gap: 0.375rem; }
.dark .chat-form { border-color: rgba(255,255,255,0.07); }
.chat-form input {
  padding: 0.4375rem 0.625rem;
  border-radius: 0.375rem;
  border: 1px solid var(--bms-line);
  background: var(--bms-cream);
  color: var(--bms-ink);
  font-size: 0.8125rem;
}
.dark .chat-form input { background: #0A1726; border-color: rgba(255,255,255,0.10); color: #E8EEF4; }

/* ===== Analytics dashboard — denser KPIs ===== */
.analytics-kpi {
  background: var(--bms-paper);
  border: 1px solid var(--bms-line);
  border-radius: 0.625rem;
  padding: 1rem 1.125rem;
  box-shadow: 0 1px 2px rgba(15,26,42,0.04);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, border-color .25s;
}
.dark .analytics-kpi { background: #14223A; border-color: rgba(255,255,255,0.07); box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.analytics-kpi:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15,26,42,0.10); border-color: rgba(30,95,142,0.3); }
.analytics-kpi .kpi-icon {
  width: 32px; height: 32px;
  border-radius: 0.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 0.625rem;
}
.analytics-kpi .kpi-value {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: 1.5rem; /* was 2.2 */
  color: var(--bms-navy);
  line-height: 1;
  margin-bottom: 0.125rem;
}
.dark .analytics-kpi .kpi-value { color: #fff; }
.analytics-kpi .kpi-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}
.analytics-kpi .kpi-trend { font-size: 0.6875rem; margin-top: 0.375rem; }
.chart-card {
  background: var(--bms-paper);
  border: 1px solid var(--bms-line);
  border-radius: 0.625rem;
  padding: 1.125rem 1.25rem;
  box-shadow: 0 1px 2px rgba(15,26,42,0.04);
}
.dark .chart-card { background: #14223A; border-color: rgba(255,255,255,0.07); box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.chart-card h3 { font-size: 0.9375rem; font-weight: 600; }
.bar-chart {
  display: flex; align-items: end; gap: 0.375rem;
  height: 160px; /* was 220 */
  padding-top: 0.625rem;
  border-bottom: 1px solid var(--bms-line);
}
.dark .bar-chart { border-color: rgba(255,255,255,0.07); }
.bar-chart .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--bms-cyan) 0%, var(--bms-blue) 100%);
  border-radius: 0.25rem 0.25rem 0 0;
  min-height: 4px;
  position: relative;
  transition: opacity .2s, transform .2s;
  animation: scaleIn .6s cubic-bezier(.16,1,.3,1) both;
}
.bar-chart .bar:hover { opacity: 0.85; transform: scaleY(1.02); }
.bar-chart .bar span {
  position: absolute; bottom: -1.25rem; left: 50%; transform: translateX(-50%);
  font-size: 0.625rem; color: inherit; opacity: 0.65; white-space: nowrap;
}

/* ===== Itinerary timeline — refined ===== */
.itinerary-day {
  border-left: 2px solid var(--bms-blue); /* was 3px */
  padding: 0 0 1rem 1.125rem; position: relative;
}
.itinerary-day::before {
  content: ''; position: absolute; left: -7px; top: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bms-blue); border: 2px solid var(--bms-paper);
  animation: scaleIn .4s cubic-bezier(.16,1,.3,1) both;
}
.dark .itinerary-day::before { border-color: #14223A; }
.itinerary-day .day-tag {
  color: var(--bms-orange); font-weight: 700; font-size: 0.6875rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.itinerary-day h4 { font-size: 0.9375rem; font-weight: 600; margin: 0.25rem 0 0.375rem; }
.itinerary-day p { font-size: 0.8125rem; opacity: 0.8; line-height: 1.5; }

/* ===== Sticky header — refined ===== */
.site-header {
  top: 2rem;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px rgba(10,31,54,.12);
  transition: top .3s cubic-bezier(.16,1,.3,1), background .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s;
  border-bottom: 1px solid rgba(10,31,54,.12);
  overflow: visible;
}
.site-header > nav {
  height: 4rem;
  padding-top: 0;
  padding-bottom: 0;
  overflow: visible;
}
.site-header > nav > .container { height: 100%; }
.site-brand-link {
  position: relative;
  align-self: stretch;
  width: clamp(146px, 15vw, 184px);
  height: 100%;
  overflow: visible;
  z-index: 60;
}
.site-brand-logo {
  display: block;
  box-sizing: content-box;
  border-radius: 6px;
}
.site-header .site-brand-logo {
  position: absolute;
  left: 0;
  top: 0;
  width: 100% !important;
  height: auto !important;
  max-width: none;
}
.site-brand-logo-light { display: block !important; }
.site-brand-logo-dark { display: none !important; }
.dark .site-brand-logo-light { display: none !important; }
.dark .site-brand-logo-dark { display: block !important; }
.site-header.is-scrolled {
  top: 0;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(10,31,54,.16);
  border-bottom-color: rgba(10,31,54,.14);
}
.site-header .nav-link,
.site-header .theme-toggle,
.site-header .text-white { color: #0A1F36 !important; }
.site-header .nav-link { font-weight: 800; letter-spacing: .01em; }
.site-header .nav-link:hover,
.site-header .theme-toggle:hover { color: #175C85 !important; }
.dark .site-header,
.dark .site-header.is-scrolled { background: rgba(10,23,38,.90); border-bottom-color: rgba(255,255,255,.10); }
.dark .site-header .nav-link,
.dark .site-header .theme-toggle,
.dark .site-header .text-white { color: #fff !important; }
.dark .site-header .nav-link:hover,
.dark .site-header .theme-toggle:hover { color: #F2B441 !important; }

/* ===== Authentication ===== */
.auth-page { padding: 5.5rem 0 6.5rem; }
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}
.auth-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  min-height: 470px;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 1rem;
  background: linear-gradient(145deg, #0A1F36 0%, #14537A 100%);
  color: #fff;
  box-shadow: 0 18px 45px rgba(10,31,54,.16);
}
.auth-intro::before,
.auth-intro::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  pointer-events: none;
}
.auth-intro::before { width: 25rem; height: 25rem; right: -10rem; top: -9rem; }
.auth-intro::after { width: 17rem; height: 17rem; left: -9rem; bottom: -8rem; }
.auth-intro > * { position: relative; z-index: 1; }
.auth-intro .eyebrow { color: #F2B441; }
.auth-intro h1 { max-width: 12ch; margin: .7rem 0 1rem; color: #fff; font-family: 'Fraunces', Georgia, serif; font-size: clamp(2.25rem, 5vw, 4rem); line-height: .98; }
.auth-intro p { max-width: 43ch; color: rgba(255,255,255,.78); line-height: 1.7; }
.auth-benefits { display: grid; gap: .75rem; margin: 1.75rem 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.86); font-size: .875rem; }
.auth-benefits li { display: flex; align-items: center; gap: .65rem; }
.auth-benefits li::before { content: '✓'; display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: rgba(242,180,65,.18); color: #F2B441; font-weight: 800; }
.auth-card {
  align-self: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--bms-line);
  border-radius: 1rem;
  background: var(--bms-paper);
  box-shadow: 0 18px 45px rgba(15,26,42,.10);
}
.dark .auth-card { border-color: rgba(255,255,255,.10); background: #14223A; box-shadow: 0 18px 45px rgba(0,0,0,.22); }
.auth-card-head { margin-bottom: 1.5rem; }
.auth-card-head .eyebrow { margin-bottom: .45rem; }
.auth-card h2 { margin: 0 0 .45rem; font-family: 'Fraunces', Georgia, serif; font-size: 2rem; line-height: 1.05; }
.auth-card-intro { margin: 0; color: var(--bms-muted); font-size: .875rem; line-height: 1.6; }
.auth-card .grid { grid-template-columns: 1fr; gap: 1rem; }
.auth-card .form-actions { margin-top: 1.25rem; }
.auth-card .form-actions .btn { width: 100%; justify-content: center; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--bms-line); font-size: .8125rem; }
.dark .auth-links { border-color: rgba(255,255,255,.10); }
.auth-links a { color: var(--bms-blue); font-weight: 600; text-decoration: none; }
.auth-links a:hover { color: var(--bms-orange); }
.dark .auth-links a { color: var(--bms-cyan); }
@media (max-width: 800px) {
  .auth-page { padding-top: 3rem; }
  .auth-layout { grid-template-columns: 1fr; max-width: 560px; gap: 1.5rem; }
  .auth-intro { min-height: 0; padding: 2rem; }
  .auth-intro h1 { font-size: clamp(2.2rem, 11vw, 3.3rem); }
}

/* Mobile menu */
.nav-link { transition: color .2s ease; font-size: 0.875rem; }
.nav-link:hover { color: var(--bms-gold); }

@media (max-width: 767.98px) {
  .site-header { top: 0; }
  .site-header > nav { height: 4rem; }
  .site-brand-link { width: 144px; }
  .hero-content {
    align-items: flex-end;
    padding-top: 5rem;
    padding-bottom: 4.75rem;
  }
  .hero-shell { min-height: clamp(620px, 86svh, 760px); }
  .hero-media { object-position: 58% center; }
  .hero-copy {
    width: 100%;
    padding: 1rem 1rem 1.1rem .9rem;
    border-left-width: 2px;
    background: linear-gradient(90deg, rgba(6,24,42,.5), rgba(6,24,42,.14) 82%, rgba(6,24,42,0));
  }
  .hero-copy h1 {
    max-width: 10ch;
    margin: .55rem 0 .7rem;
    font-size: clamp(2rem, 9.5vw, 2.8rem);
  }
  .hero-copy p { font-size: .95rem; line-height: 1.55; }
  .hero-actions { margin-top: 1.35rem; }
  .hero-actions > * { flex: 1 1 10rem; justify-content: center; }
  .hero-watermark { right: 1rem; bottom: 1.25rem; width: 100px; }
  .hero-media-credit { right: 1rem; bottom: 4.1rem; max-width: 12rem; font-size: .54rem; }
  .hero-controls { left: 1rem; bottom: 1.2rem; }
}

/* ===== Filter panel — pro styling ===== */
.filter-panel {
  background: var(--bms-paper);
  border: 1px solid var(--bms-line);
  border-radius: 0.625rem;
  padding: 1.125rem 1.25rem;
  position: sticky;
  top: 80px;
  box-shadow: 0 1px 2px rgba(15,26,42,0.04);
}
.dark .filter-panel { background: #14223A; border-color: rgba(255,255,255,0.07); box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.filter-panel h2 {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bms-muted);
  margin-bottom: 0.875rem;
}
.filter-panel label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bms-muted);
  margin-bottom: 0.25rem;
}
.filter-panel input,
.filter-panel select {
  width: 100%;
  padding: 0.4375rem 0.625rem;
  border: 1px solid var(--bms-line);
  border-radius: 0.375rem;
  background: var(--bms-cream);
  color: var(--bms-ink);
  font-size: 0.8125rem;
  transition: border-color .2s, box-shadow .2s;
}
.dark .filter-panel input,
.dark .filter-panel select {
  background: #0A1726;
  border-color: rgba(255,255,255,0.10);
  color: #E8EEF4;
}
.filter-panel input:focus,
.filter-panel select:focus {
  outline: none;
  border-color: var(--bms-blue);
  box-shadow: 0 0 0 3px rgba(30,95,142,0.12);
}
.filter-panel .filter-group { margin-bottom: 0.875rem; }

/* ===== Form fields — refined ===== */
.form-control-pro {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--bms-line);
  border-radius: 0.375rem;
  background: var(--bms-paper);
  color: var(--bms-ink);
  font-size: 0.875rem;
  transition: border-color .2s, box-shadow .2s;
}
.dark .form-control-pro {
  background: #0A1726;
  border-color: rgba(255,255,255,0.10);
  color: #E8EEF4;
}
.form-control-pro:focus {
  outline: none;
  border-color: var(--bms-blue);
  box-shadow: 0 0 0 3px rgba(30,95,142,0.12);
}
.form-label-pro {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bms-ink);
  margin-bottom: 0.375rem;
}
.dark .form-label-pro { color: #DCE3EB; }

/* Hide elements before Tailwind loads */
[x-cloak] { display: none !important; }

/* ===== ANIMATIONS — refined, subtle ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px); /* was 24 — subtler */
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-20px); }
[data-reveal="right"] { transform: translateX(20px); }
[data-reveal="scale"] { transform: scale(0.97); }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }
[data-reveal-delay="6"] { transition-delay: .48s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.animate-fade-in-up { animation: fadeInUp .6s cubic-bezier(.16,1,.3,1) both; }
.animate-fade-in-down { animation: fadeInDown .6s cubic-bezier(.16,1,.3,1) both; }
.animate-fade-in-left { animation: fadeInLeft .6s cubic-bezier(.16,1,.3,1) both; }
.animate-fade-in-right { animation: fadeInRight .6s cubic-bezier(.16,1,.3,1) both; }
.animate-scale-in { animation: scaleIn .5s cubic-bezier(.16,1,.3,1) both; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-slide-up { animation: slideUp .4s cubic-bezier(.16,1,.3,1) both; }

.delay-100 { animation-delay: .08s; }
.delay-200 { animation-delay: .16s; }
.delay-300 { animation-delay: .24s; }
.delay-400 { animation-delay: .32s; }
.delay-500 { animation-delay: .40s; }
.delay-600 { animation-delay: .48s; }

/* Shimmer for image placeholders */
.shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ===== Mobile menu (compact) ===== */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,31,54,0.98);
  backdrop-filter: blur(12px);
  z-index: 200;
  padding: 4rem 1.5rem 2rem;
  overflow-y: auto;
  animation: fadeInDown .25s ease both;
}
.mobile-menu a {
  display: block;
  color: #fff;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  font-size: 1rem;
  font-weight: 500;
}
.mobile-menu a:hover { color: var(--bms-gold); }

/* ===== Print ===== */
@media print {
  .site-header, .floating-whatsapp, .chat-widget, .footer, .mobile-menu { display: none !important; }
}

/* ===== Pagination ===== */
.pagination-pro {
  display: flex; justify-content: center; gap: 0.25rem; margin-top: 1.5rem;
}
.pagination-pro a, .pagination-pro span {
  padding: 0.375rem 0.625rem;
  border: 1px solid var(--bms-line);
  border-radius: 0.25rem;
  font-size: 0.8125rem;
  color: var(--bms-ink);
  text-decoration: none;
}
.dark .pagination-pro a, .dark .pagination-pro span { border-color: rgba(255,255,255,0.10); color: #DCE3EB; }
.pagination-pro a:hover { background: var(--bms-cream); border-color: var(--bms-blue); }
.dark .pagination-pro a:hover { background: #1B2D4A; }
.pagination-pro .current { background: var(--bms-blue); color: #fff; border-color: var(--bms-blue); }
