/* ============================================================
   OTT — Orangutan Trekking Tours — Design System
   Plain HTML/CSS Build — WCAG 2.2 AA Compliant
   ============================================================ */

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* Brand Colors */
  --color-celtic: #183826;
  --color-amazon: #377F56;
  --color-emerald: #40C77A;
  --color-racing-green: #0E2116;
  --color-everglade: #204A32;
  --color-forest-green: #3D8B1F;

  /* Neutrals */
  --color-snow-drift: #F4F8F5;
  --color-gray-nurse: #ECF0ED;
  --color-paris-white: #C7DBD0;
  --color-white: #FFFFFF;
  --color-black: #0A0A0A;

  /* Accent Greens (from Figma) */
  --color-footer-tagline: #73B590;

  /* Text */
  --text-primary: var(--color-celtic);
  --text-secondary: #3D5A47;
  --text-tertiary: #3D5A47;          /* WCAG fix: #5C7A66 fails 4.5:1 on white; using Figma body text color */
  --text-on-dark: var(--color-snow-drift);
  --text-on-dark-secondary: var(--color-paris-white);
  --text-accent: var(--color-amazon);

  /* Surfaces */
  --surface-page: var(--color-snow-drift);
  --surface-card: var(--color-white);
  --surface-card-hover: var(--color-gray-nurse);
  --surface-hero-overlay-top: rgba(14, 33, 22, 0.50);
  --surface-hero-overlay-bottom: rgba(14, 33, 22, 0.82);
  --surface-frosted: rgba(244, 248, 245, 0.92);

  /* Borders */
  --border-subtle: rgba(24, 56, 38, 0.08);
  --border-default: rgba(24, 56, 38, 0.15);
  --border-strong: rgba(24, 56, 38, 0.25);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(14,33,22,0.08), 0 1px 2px rgba(14,33,22,0.04);
  --shadow-md: 0 4px 12px rgba(14,33,22,0.08), 0 2px 4px rgba(14,33,22,0.04);
  --shadow-lg: 0 12px 24px rgba(14,33,22,0.1), 0 4px 8px rgba(14,33,22,0.04);
  --shadow-xl: 0 20px 40px rgba(14,33,22,0.12), 0 8px 16px rgba(14,33,22,0.06);

  /* Typography */
  --font-heading: 'Faculty Glyphic', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --space-section-sm: 4rem;
  --space-section-md: 6rem;
  --space-section-lg: 8rem;
  --container-max: 79.5rem;       /* 1272px */
  --container-narrow: 64rem;
  --container-text: 42rem;
  --container-px: 1.5rem;
  --nav-height: 5rem;

  /* Animation */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* UI */
  --btn-radius: 144px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection {
  background-color: var(--color-emerald);
  color: var(--color-racing-green);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: 3.75rem; }
h2 { font-size: 3rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
}

p { margin-bottom: 1rem; }

.tagline {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #377F56;
}

.tagline--light {
  color: var(--color-snow-drift);
}

.label-style {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
}

.text-balance { text-wrap: balance; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--text {
  max-width: var(--container-text);
}

.section {
  padding-top: var(--space-section-md);
  padding-bottom: var(--space-section-md);
}

.section--sm {
  padding-top: var(--space-section-sm);
  padding-bottom: var(--space-section-sm);
}

.section--lg {
  padding-top: var(--space-section-lg);
  padding-bottom: var(--space-section-lg);
}

.section--dark {
  background-color: var(--color-racing-green);
  color: var(--text-on-dark);
}

.section--alt {
  background-color: var(--color-gray-nurse);
}

/* ---------- Grid Utilities ---------- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mb-8 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-6 { margin-top: 3rem; }

/* Offset anchor scroll for fixed navbar */
[id] { scroll-margin-top: calc(var(--nav-height) + 1rem); }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 700;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 var(--container-px);
  transition: background-color var(--duration-slow) var(--ease-default),
              backdrop-filter var(--duration-slow) var(--ease-default),
              border-color var(--duration-slow) var(--ease-default),
              box-shadow var(--duration-slow) var(--ease-default);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background-color: var(--surface-frosted);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 1023px) {
  .navbar__inner {
    padding-left: 0;
    padding-right: 0;
  }
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar__logo img {
  height: 40px;
  width: auto;
  transition: opacity var(--duration-normal) var(--ease-default);
}

.navbar__logo .logo-white { display: block; }
.navbar__logo .logo-coloured { display: none; }

.navbar.scrolled .navbar__logo .logo-white { display: none; }
.navbar.scrolled .navbar__logo .logo-coloured { display: block; }

.navbar__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .navbar__links { display: flex; }
}

/* Nav links (Figma: Inter Medium, 14px, #C7DBD0, tracking 0.35px) */
.navbar__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-paris-white);
  letter-spacing: 0.025em;
  transition: color var(--duration-normal) var(--ease-default);
  white-space: nowrap;
}

.navbar__link:hover { color: var(--color-white); }

.navbar.scrolled .navbar__link { color: var(--text-secondary); }
.navbar.scrolled .navbar__link:hover { color: var(--text-primary); }

/* Navbar CTA Button (Figma: Snow Drift bg, Celtic text, arrow circle) */
.navbar__cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.375rem 0.375rem 1.125rem;
  border-radius: var(--btn-radius);
  font-size: 0.875rem;
  font-weight: 400;
  font-family: var(--font-heading);
  transition: all var(--duration-normal) var(--ease-default);
  background: var(--color-snow-drift);
  color: var(--color-celtic);
  border: none;
  cursor: pointer;
  line-height: 1;
}

.navbar__cta:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.navbar__cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(61, 139, 31, 0.15);
  flex-shrink: 0;
  transition: transform 200ms ease-out;
}
.navbar__cta-arrow svg {
  width: 0.75rem;
  height: 0.75rem;
}

.navbar__cta:hover .navbar__cta-arrow { transform: translateX(1px) translateY(-1px); }

.navbar.scrolled .navbar__cta {
  background: var(--color-celtic);
  color: var(--color-snow-drift);
}

.navbar.scrolled .navbar__cta-arrow {
  background: rgba(64, 199, 122, 0.25);
}

.navbar.scrolled .navbar__cta:hover {
  background: var(--color-everglade);
}

@media (min-width: 1024px) {
  .navbar__cta { display: inline-flex; }
}

/* Hamburger */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 800;
}

@media (min-width: 1024px) {
  .navbar__hamburger { display: none; }
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-snow-drift);
  transition: all var(--duration-normal) var(--ease-default);
  border-radius: 2px;
}

.navbar.scrolled .navbar__hamburger span {
  background-color: var(--color-celtic);
}

.navbar__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--color-snow-drift);
}
.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--color-snow-drift);
}

.navbar.scrolled .navbar__hamburger.active span:nth-child(1),
.navbar.scrolled .navbar__hamburger.active span:nth-child(3) {
  background-color: var(--color-celtic);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 699;
  background: rgba(14, 33, 22, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-default);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-snow-drift);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-default), transform 0.4s var(--ease-default), color 0.2s;
}

.mobile-menu.open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__link:hover { color: var(--color-emerald); }

/* Staggered animation — targets both <a> and <div> children */
.mobile-menu.open > :nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open > :nth-child(2) { transition-delay: 0.10s; }
.mobile-menu.open > :nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open > :nth-child(4) { transition-delay: 0.20s; }
.mobile-menu.open > :nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open > :nth-child(6) { transition-delay: 0.30s; }

/* ---------- NAVBAR DROPDOWNS (Desktop) ---------- */
.navbar__dropdown {
  position: relative;
}

.navbar__link--has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

button.navbar__link--has-dropdown {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.navbar__chevron {
  width: 10px;
  height: 6px;
  transition: transform var(--duration-normal) var(--ease-default);
  flex-shrink: 0;
}

.navbar__dropdown:hover .navbar__chevron,
.navbar__dropdown.navbar__dropdown--open .navbar__chevron {
  transform: rotate(180deg);
}

.navbar__dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 200px;
  padding: 0.5rem 0;
  background: rgba(244, 248, 245, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-default),
              transform var(--duration-normal) var(--ease-default),
              visibility var(--duration-normal);
  z-index: 710;
}

/* Invisible bridge to prevent hover gap */
.navbar__dropdown-panel::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.navbar__dropdown:hover .navbar__dropdown-panel,
.navbar__dropdown.navbar__dropdown--open .navbar__dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.navbar__dropdown-item {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 450;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease-default),
              background-color var(--duration-fast) var(--ease-default);
}

.navbar__dropdown-item:hover {
  color: var(--text-primary);
  background-color: rgba(24, 56, 38, 0.05);
}

/* Transparent navbar state — dark dropdown bg */
.navbar:not(.scrolled) .navbar__dropdown-panel {
  background: rgba(14, 33, 22, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(199, 219, 208, 0.12);
}

.navbar:not(.scrolled) .navbar__dropdown-item {
  color: var(--color-paris-white);
}

.navbar:not(.scrolled) .navbar__dropdown-item:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Hide dropdowns on mobile (safety net) */
@media (max-width: 1023px) {
  .navbar__dropdown-panel {
    display: none !important;
  }
}

/* ---------- MOBILE MENU ACCORDION ---------- */
.mobile-menu__group {
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-default), transform 0.4s var(--ease-default);
}

.mobile-menu.open .mobile-menu__group {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__group-header {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu__toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__toggle-icon {
  color: var(--color-paris-white);
  transition: transform var(--duration-normal) var(--ease-default);
}

.mobile-menu__group.open .mobile-menu__toggle-icon {
  transform: rotate(180deg);
}

.mobile-menu__submenu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease-default),
              opacity var(--duration-normal) var(--ease-default);
}

.mobile-menu__group.open .mobile-menu__submenu {
  max-height: 400px;
  opacity: 1;
}

.mobile-menu__sublink {
  display: block;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-paris-white);
  padding: 0.75rem 0;
  transition: color 0.2s;
}

.mobile-menu__sublink:hover {
  color: var(--color-emerald);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .navbar__dropdown-panel,
  .navbar__chevron,
  .mobile-menu__submenu,
  .mobile-menu__toggle-icon {
    transition: none;
  }
}

/* ---------- HERO SECTION (WCAG AA Fixed) ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero--compact {
  min-height: 60vh;
}


.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* WCAG FIX: Stronger overlay gradient for text contrast */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(14, 33, 22, 0.58) 0%,
    rgba(14, 33, 22, 0.63) 40%,
    rgba(14, 33, 22, 0.80) 70%,
    rgba(14, 33, 22, 0.90) 100%
  );
}

/* Top gradient for navbar text contrast */
.hero__overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(14, 33, 22, 0.45), transparent);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px) 4rem;
}

.hero__content > * {
  max-width: 40rem;
}

@media (min-width: 1024px) {
  .hero__content { padding-bottom: 5rem; }
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-snow-drift);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--font-heading);
  color: var(--color-snow-drift);
  margin-bottom: 1.5rem;
  /* WCAG FIX: Stronger text shadow for contrast */
  text-shadow: 0 2px 24px rgba(0,0,0,0.5), 0 1px 6px rgba(0,0,0,0.4);
}

.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-paris-white);
  max-width: 36rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- BUTTONS (Figma-matched) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  border-radius: var(--btn-radius);
  font-family: var(--font-heading);
  font-weight: 400;
  cursor: pointer;
  border: none;
  transition: all 300ms ease-out;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn--sm { padding: 0.375rem 0.375rem 0.375rem 1.25rem; font-size: 0.875rem; }
.btn--md { padding: 0.4375rem 0.4375rem 0.4375rem 1.5rem; font-size: 1rem; }
.btn--lg { padding: 0.5rem 0.5rem 0.5rem 1.75rem; font-size: 1.125rem; }

/* Dark button on light bg (Figma: "View All Tours") */
.btn--primary {
  background-color: var(--color-celtic);
  color: var(--color-snow-drift);
}
.btn--primary:hover {
  background-color: var(--color-everglade);
  box-shadow: var(--shadow-lg);
}

/* Light button on dark bg / hero (Figma: "View Tours" in hero) */
.btn--light {
  background-color: var(--color-snow-drift);
  color: var(--color-celtic);
  border: 1px solid var(--color-white);
}
.btn--light:hover {
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
}

/* Glass button on dark bg / hero (Figma: "Plan your trip" in hero) */
.btn--secondary {
  background: rgba(244, 248, 245, 0.15);
  color: var(--color-snow-drift);
  border: 1px solid var(--color-white);
  backdrop-filter: blur(1px);
}
.btn--secondary:hover {
  background: rgba(244, 248, 245, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--color-celtic);
  border: 1.5px solid var(--color-celtic);
}
.btn--outline:hover {
  background: var(--color-celtic);
  color: var(--color-snow-drift);
}

.btn--ghost {
  background: transparent;
  color: var(--color-amazon);
  padding-left: 0;
}
.btn--ghost:hover {
  color: var(--color-celtic);
}

/* Arrow icon circle (Figma pattern) */
.btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 300ms ease-out;
}
.btn__arrow svg {
  width: 0.875rem;
  height: 0.875rem;
}
.btn--lg .btn__arrow {
  width: 2.5rem;
  height: 2.5rem;
}
.btn--lg .btn__arrow svg {
  width: 1rem;
  height: 1rem;
}

.btn--primary .btn__arrow { background: rgba(64, 199, 122, 0.25); color: var(--color-snow-drift); }
.btn--light .btn__arrow { background: rgba(61, 139, 31, 0.35); color: var(--color-celtic); }
.btn--secondary .btn__arrow { background: var(--color-snow-drift); color: var(--color-celtic); }
.btn--outline .btn__arrow { background: rgba(24,56,38,0.1); }
.btn:hover .btn__arrow { transform: translateX(2px) translateY(-2px); }
.btn--outline:hover .btn__arrow { background: rgba(244,248,245,0.15); }

/* ---------- SECTION HEADING ---------- */
.section-heading {
  margin-bottom: 3rem;
}

.section-heading--center { text-align: center; }
.section-heading--left { text-align: left; }

.section-heading .tagline {
  margin-bottom: 0.75rem;
}

.section-heading__title {
  margin-bottom: 1rem;
}

.section-heading__desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: var(--container-text);
}

.section-heading--center .section-heading__desc {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- TOUR CARDS ---------- */
.tour-card {
  display: block;
  border-radius: 1rem;
  border: 1px solid #183827;
  background: var(--surface-card);
  overflow: hidden;
  transition: box-shadow var(--duration-slow) var(--ease-default),
              transform var(--duration-slow) var(--ease-default);
}

.tour-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.tour-card:focus,
.tour-card:focus-visible {
  outline: none;
}

.tour-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.tour-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-default);
}

.tour-card:hover .tour-card__image img {
  transform: scale(1.05);
}

.tour-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 0.375rem 0.875rem;
  border-radius: var(--btn-radius);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.tour-card__body {
  padding: 1.5rem;
}

.tour-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.tour-card__price {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-amazon);
  margin-bottom: 0.75rem;
}

.tour-card__desc {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.tour-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-amazon);
  transition: color var(--duration-normal), gap var(--duration-normal);
}

.tour-card:hover .tour-card__link {
  color: var(--color-celtic);
  gap: 0.75rem;
}

.tour-card__footnote {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: 2rem;
}

/* ---------- TESTIMONIAL CARD ---------- */
.testimonial-card {
  background: var(--surface-card);
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  padding: 2rem;
}

.testimonial-card__quote-mark {
  color: var(--color-emerald);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.testimonial-card__text {
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__name {
  font-size: 0.875rem;
  font-weight: 600;
}

.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ---------- BLOG CARD ---------- */
.blog-card {
  display: block;
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  overflow: hidden;
  transition: box-shadow var(--duration-slow), transform var(--duration-slow);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.blog-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: 1.5rem;
}

.blog-card__category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #377F56;
  margin-bottom: 0.5rem;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- FEATURE / ICON CARD ---------- */
.feature-card {
  background: var(--surface-card);
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  padding: 2rem;
}

/* Feature card icon (Figma: circular #ECF0ED bg, 48px, with SVG inside) */
.feature-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d5ddd7;
  border-radius: 50%;
  margin-bottom: 1rem;
  color: var(--color-amazon);
}

.feature-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card__text {
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* ---------- STAT BAR ---------- */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2rem var(--container-px);
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .stat-bar { grid-template-columns: repeat(4, 1fr); }
}

.stat-bar__item { text-align: center; }

.stat-bar__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-amazon);
  line-height: 1.2;
}

.stat-bar__label {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-top: 0.25rem;
}

/* Trust Stats — dark variant (homepage) */
.trust-stats {
  background-color: var(--color-celtic);          /* #183826 */
}

.trust-stats .stat-bar__number {
  color: var(--color-snow-drift);                 /* #F4F8F5 — 12.4:1 on #183826 (WCAG AA ✓) */
}

.trust-stats .stat-bar__label {
  color: var(--color-snow-drift);                 /* #F4F8F5 — 12.4:1 on #183826 (WCAG AA ✓) */
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--color-celtic);
  color: var(--text-on-dark);
  padding: var(--space-section-md) var(--container-px);
  text-align: center;
}

.cta-banner__title {
  color: var(--text-on-dark);
  margin-bottom: 1rem;
}

.cta-banner__text {
  color: var(--text-on-dark-secondary);
  font-size: 1.125rem;
  max-width: var(--container-text);
  margin: 0 auto 2rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--color-racing-green);
  color: var(--text-on-dark);
}

.footer__cta {
  padding: var(--space-section-md) var(--container-px);
  text-align: center;
  border-bottom: 1px solid rgba(244,248,245,0.08);
}

.footer__cta .tagline { color: var(--color-footer-tagline); }

.footer__cta-title {
  color: var(--text-on-dark);
  margin: 0.75rem 0 2rem;
}

.footer__main {
  padding: var(--space-section-sm) var(--container-px);
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .footer__main { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer__main { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer__brand-text {
  color: var(--text-on-dark-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 20rem;
}

/* Footer heading */
.footer__heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gray-nurse);
  margin-bottom: 1.25rem;
}

.footer__link {
  display: block;
  padding: 0.375rem 0;
  font-size: 0.9375rem;
  color: var(--text-on-dark-secondary);
  transition: color var(--duration-normal);
}

.footer__link:hover { color: var(--color-emerald); }

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(244,248,245,0.15);
  color: var(--text-on-dark-secondary);
  transition: all var(--duration-normal);
}

.footer__social a:hover {
  background: rgba(244,248,245,0.1);
  color: var(--color-emerald);
  border-color: var(--color-emerald);
}

.footer__bottom {
  border-top: 1px solid rgba(244,248,245,0.08);
  padding: 2rem var(--container-px);
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* WCAG FIX: Use proper contrast color instead of opacity */
.footer__copyright {
  font-size: 0.8125rem;
  color: #8BA899;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: 0.8125rem;
  color: #8BA899;
  transition: color var(--duration-normal);
}

.footer__legal a:hover { color: var(--color-emerald); }

/* ---------- FAQ ACCORDION ---------- */
.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.faq-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--btn-radius);
  border: 1.5px solid var(--border-default);
  background: var(--surface-card);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-normal);
  font-family: var(--font-body);
}

.faq-cat-btn:hover {
  border-color: var(--color-amazon);
  color: var(--color-amazon);
}

.faq-cat-btn.active {
  background: var(--color-celtic);
  color: var(--color-snow-drift);
  border-color: var(--color-celtic);
}

.accordion-item {
  border-bottom: 1px solid var(--border-subtle);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--duration-normal);
}

.accordion-trigger:hover { color: var(--color-amazon); }

.accordion-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 300;
  transition: transform var(--duration-normal) var(--ease-default);
  color: var(--text-tertiary);
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  color: var(--color-amazon);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-default),
              opacity var(--duration-normal) var(--ease-default);
  opacity: 0;
}

.accordion-item.open .accordion-panel {
  max-height: 500px;
  opacity: 1;
}

.accordion-panel__content {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- FORM ---------- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-default);
  border-radius: 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--surface-card);
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-amazon);
  box-shadow: 0 0 0 3px rgba(55, 127, 86, 0.15);
}

.form-textarea { min-height: 140px; resize: vertical; }

/* ---------- CONTENT PAGE (Blog/Tour Detail) ---------- */
.content-page {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-section-sm) var(--container-px);
}

.content-page h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.content-page h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-page p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.content-page ul, .content-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.content-page li {
  list-style: disc;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.content-page ol li { list-style: decimal; }

.content-page img {
  border-radius: 1rem;
  margin: 2rem 0;
}

.content-page .blog-card img {
  border-radius: 0;
  margin: 0;
}

.content-page p a,
.content-page li a {
  color: var(--color-amazon);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-page p a:hover,
.content-page li a:hover {
  text-decoration: none;
}

.content-page blockquote {
  border-left: 3px solid var(--color-amazon);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--color-gray-nurse);
  border-radius: 0 0.75rem 0.75rem 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* Checklist */
.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  list-style: none;
  padding-left: 2.25rem;
  position: relative;
  margin-bottom: 1.1rem;
  color: var(--text-secondary);
}

.checklist li:last-child {
  margin-bottom: 0;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-amazon);
  font-weight: 700;
}

.checklist--icons li {
  padding-left: 3.75rem;
  display: flex;
  align-items: center;
  margin-bottom: 1.75rem;
}

.checklist--icons li::before {
  content: none;
}

.checklist--icons li svg {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-amazon);
  background: var(--color-gray-nurse);
  border-radius: 50%;
  padding: 0.75rem;
  box-sizing: content-box;
  overflow: visible;
}

/* ---------- VIDEO EMBED ---------- */
.video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
}

/* ---------- GALLERY (Masonry) ---------- */
.gallery-grid {
  columns: 1;
  column-gap: 1rem;
}

@media (min-width: 640px) { .gallery-grid { columns: 2; } }
@media (min-width: 1024px) { .gallery-grid { columns: 3; } }

.gallery-grid__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
}

.gallery-grid__item img {
  width: 100%;
  transition: transform 0.5s;
}

.gallery-grid__item:hover img {
  transform: scale(1.05);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 0.5rem;
  object-fit: contain;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav--prev { left: 1.25rem; }
.lightbox__nav--next { right: 1.25rem; }

.lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-family: var(--font-body);
}

/* ---------- EXPERIENCE TABS ---------- */
.experience-group {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border-default);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.experience-group__title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 0;
  text-align: center;
}

.experience-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.experience-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--btn-radius);
  border: 1.5px solid var(--border-default);
  background: var(--surface-card);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-normal);
  font-family: var(--font-body);
}

.experience-tab:hover {
  border-color: var(--color-amazon);
  color: var(--color-amazon);
}

.experience-tab.active {
  background: var(--color-celtic);
  color: var(--color-snow-drift);
  border-color: var(--color-celtic);
}

.experience-panel {
  display: none;
}

.experience-panel.active {
  display: block;
}

.experience-panel .grid {
  height: auto;
}

@media (min-width: 640px) {
  .experience-panel .grid {
    height: 520px;
  }
}

/* ---------- TWO COLUMN LAYOUT ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col--narrow-right { grid-template-columns: 1.5fr 1fr; }
}

.two-col--reverse .two-col__image { order: 1; }

@media (min-width: 768px) {
  .two-col--reverse .two-col__image { order: -1; }
}

.two-col__image {
  border-radius: 1rem;
  overflow: hidden;
}

.two-col__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

/* ---------- ITINERARY ---------- */
.itinerary-day {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.itinerary-day__marker {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-gray-nurse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-amazon);
  flex-shrink: 0;
}

.itinerary-day__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.itinerary-day__text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ---------- PRICING CARD ---------- */
.pricing-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
}

.pricing-card__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #377F56;
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.pricing-card__note {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: 0.25rem;
}

/* ---------- CONTACT INFO CARD ---------- */
.contact-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.5rem;
  padding: 2rem;
}

.contact-card__item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-card__item:last-child { border-bottom: none; }

.contact-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--color-gray-nurse);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}

.contact-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.contact-card__value {
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--color-amazon);
  transition: color var(--duration-normal);
}

.breadcrumb a:hover { color: var(--color-celtic); }

.breadcrumb__sep { color: var(--border-strong); }

/* ---------- LEGAL PAGES ---------- */
.legal-page {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 3rem) var(--container-px) var(--space-section-md);
}

.legal-page h1 {
  margin-bottom: 0.5rem;
}

.legal-page .last-updated {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  margin-bottom: 3rem;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-page p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page li {
  list-style: disc;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---------- UTILITY CLASSES ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.rounded-lg { border-radius: 1rem; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.w-full { width: 100%; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-gray-nurse); }
::-webkit-scrollbar-thumb {
  background: var(--color-paris-white);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-emerald); }

/* ---------- ULTRA-WIDE DISPLAYS (2560px+) ---------- */
@media (min-width: 2560px) {
  .hero {
    min-height: calc(100vh - 270px);  /* hero + stat bar flush with viewport bottom */
  }
  .hero--compact {
    min-height: 50vh;
  }
}
