/* ============================================================
   visitkazbegi.com — Custom Stylesheet
   Design: Alpine editorial destination | Mountain identity
   Stack: Static HTML + TailwindCSS CDN + Vanilla JS
   ============================================================ */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

/* === CSS CUSTOM PROPERTIES === */
:root {
  --color-peak:      #0F1B2D;
  --color-ridge:     #1E3048;
  --color-alpine:    #4A6FA5;
  --color-mist:      #8FA7BF;
  --color-earth:     #A8835A;
  --color-pine:      #3D5A45;
  --color-snow:      #F7F9FC;
  --color-cloud:     #E8EEF4;
  --color-ivory:     #F5EDD8;
  --color-text:      #1A2536;
  --color-muted:     #546E8A;

  --font-display:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --shadow-card:     0 1px 3px rgba(15,27,45,0.06), 0 4px 14px rgba(15,27,45,0.08);
  --shadow-hover:    0 4px 16px rgba(15,27,45,0.12), 0 12px 32px rgba(15,27,45,0.09);
  --shadow-header:   0 1px 0 rgba(15,27,45,0.06), 0 2px 16px rgba(15,27,45,0.06);

  --ease-smooth:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce:     cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h:        72px;
}

/* === BASE RESET & DEFAULTS === */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-snow);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* === TYPOGRAPHY SCALE === */
.font-display { font-family: var(--font-display); }

.text-hero {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 6rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.text-page-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.text-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.text-section-sub {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-earth);
}

.text-shadow {
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.text-shadow-lg {
  text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 4px 40px rgba(0,0,0,0.25);
}

/* === CONTAINER === */
.container-site {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .container-site { padding-left: 1.75rem; padding-right: 1.75rem; }
}
@media (min-width: 1024px) {
  .container-site { padding-left: 2.5rem; padding-right: 2.5rem; }
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition:
    background-color 320ms var(--ease-smooth),
    backdrop-filter 320ms var(--ease-smooth),
    box-shadow 320ms var(--ease-smooth);
}

/* Transparent state — over dark hero */
#site-header.header-transparent {
  background-color: transparent;
}

/* Scrolled state — white frosted glass */
#site-header.header-scrolled,
#site-header.header-solid {
  background-color: rgba(247, 249, 252, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-header);
}

/* Logo colors */
.header-transparent .logo-icon    { color: rgba(247,249,252,0.9); }
.header-transparent .logo-name    { color: rgba(247,249,252,0.95); }
.header-transparent .logo-geo     { color: rgba(247,249,252,0.5); }

.header-scrolled .logo-icon,
.header-solid    .logo-icon        { color: var(--color-peak); }
.header-scrolled .logo-name,
.header-solid    .logo-name        { color: var(--color-peak); }
.header-scrolled .logo-geo,
.header-solid    .logo-geo         { color: var(--color-muted); }

/* Nav link colors */
.header-transparent .nav-link {
  color: rgba(247,249,252,0.85);
}
.header-transparent .nav-link:hover,
.header-transparent .nav-link.active {
  color: rgba(247,249,252,1);
}
.header-scrolled .nav-link,
.header-solid    .nav-link {
  color: var(--color-muted);
}
.header-scrolled .nav-link:hover,
.header-solid    .nav-link:hover {
  color: var(--color-text);
}
.header-scrolled .nav-link.active,
.header-solid    .nav-link.active {
  color: var(--color-peak);
  font-weight: 600;
}

/* Hamburger lines */
.header-transparent .hamburger-line { background-color: rgba(247,249,252,0.9); }
.header-scrolled    .hamburger-line,
.header-solid       .hamburger-line { background-color: var(--color-peak); }

/* Nav CTA button */
.header-transparent .nav-cta {
  background-color: rgba(247,249,252,0.12);
  color: rgba(247,249,252,0.95);
  border-color: rgba(247,249,252,0.3);
}
.header-transparent .nav-cta:hover {
  background-color: rgba(247,249,252,0.2);
  border-color: rgba(247,249,252,0.5);
}
.header-scrolled .nav-cta,
.header-solid    .nav-cta {
  background-color: var(--color-peak);
  color: var(--color-snow);
  border-color: var(--color-peak);
}
.header-scrolled .nav-cta:hover,
.header-solid    .nav-cta:hover {
  background-color: var(--color-ridge);
  border-color: var(--color-ridge);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 210px;
  background: white;
  border-radius: 12px;
  padding: 18px 6px 6px;
  box-shadow: 0 8px 40px rgba(15,27,45,0.14), 0 1px 4px rgba(15,27,45,0.06);
  border: 1px solid rgba(15,27,45,0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms var(--ease-smooth), visibility 200ms, transform 200ms var(--ease-smooth);
}
.nav-item:focus-within .nav-dropdown,
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  border-radius: 8px;
  white-space: nowrap;
  transition: background-color 140ms, color 140ms;
}
.nav-dropdown a:hover {
  background-color: var(--color-cloud);
  color: var(--color-peak);
}

/* ============================================================
   MOBILE MENU
   ============================================================ */

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: var(--color-peak);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.76, 0, 0.24, 1);
  overflow: hidden;
}
#mobile-menu.menu-open {
  transform: translateX(0);
}
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 5.5vw, 2.25rem);
  font-weight: 500;
  color: rgba(247,249,252,0.75);
  padding: 0.375rem 0;
  letter-spacing: -0.01em;
  transition: color 150ms;
  display: block;
}
.mobile-nav-link:hover { color: #F7F9FC; }

/* ============================================================
   HERO SECTIONS
   ============================================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 4rem;
}
.page-hero-sm {
  min-height: 46vh;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: scale(1.06);
  transition: transform 9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-bg-image.hero-loaded { transform: scale(1.0); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    175deg,
    rgba(15,27,45,0.38) 0%,
    rgba(15,27,45,0.15) 45%,
    rgba(15,27,45,0.7) 100%
  );
}
.hero-overlay-mid {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,27,45,0.55) 0%,
    rgba(15,27,45,0.2) 40%,
    rgba(15,27,45,0.75) 100%
  );
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(247,249,252,0.55);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scroll-mouse-icon {
  width: 20px; height: 32px;
  border: 1.5px solid rgba(247,249,252,0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 2.5px; height: 5px;
  background: rgba(247,249,252,0.6);
  border-radius: 99px;
  animation: scrollWheel 2s cubic-bezier(0.4,0,0.2,1) infinite;
}
@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 220ms var(--ease-smooth),
              border-color 220ms var(--ease-smooth),
              color 220ms var(--ease-smooth),
              transform 220ms var(--ease-smooth),
              box-shadow 220ms var(--ease-smooth);
  -webkit-user-select: none;
  user-select: none;
}
.btn:active { transform: translateY(1px) !important; }

.btn-sm  { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg  { padding: 0.9375rem 2.25rem; font-size: 1rem; border-radius: 8px; }
.btn-xl  { padding: 1.125rem 2.75rem; font-size: 1.0625rem; border-radius: 8px; }

/* Primary */
.btn-primary {
  background-color: var(--color-peak);
  color: var(--color-snow);
  border-color: var(--color-peak);
}
.btn-primary:hover {
  background-color: var(--color-ridge);
  border-color: var(--color-ridge);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15,27,45,0.28);
}

/* Secondary (ghost — for use on dark backgrounds) */
.btn-secondary {
  background-color: rgba(247,249,252,0.1);
  color: rgba(247,249,252,0.95);
  border-color: rgba(247,249,252,0.35);
}
.btn-secondary:hover {
  background-color: rgba(247,249,252,0.18);
  border-color: rgba(247,249,252,0.6);
  transform: translateY(-2px);
}

/* Outline (for light backgrounds) */
.btn-outline {
  background-color: transparent;
  color: var(--color-peak);
  border-color: rgba(15,27,45,0.22);
}
.btn-outline:hover {
  background-color: var(--color-peak);
  color: var(--color-snow);
  border-color: var(--color-peak);
  transform: translateY(-2px);
}

/* Earth accent */
.btn-earth {
  background-color: var(--color-earth);
  color: #fff;
  border-color: var(--color-earth);
}
.btn-earth:hover {
  background-color: #9a7148;
  border-color: #9a7148;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168,131,90,0.35);
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 280ms var(--ease-smooth), box-shadow 280ms var(--ease-smooth);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background-color: var(--color-cloud);
  display: block;
}
.card-img-tall  { aspect-ratio: 4 / 5; }
.card-img-sq    { aspect-ratio: 1; }
.card-img-wide  { aspect-ratio: 21 / 9; }

.card-body { padding: 1.5rem; }

/* Featured overlay card */
.card-overlay {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.card-overlay-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  background-color: var(--color-ridge);
  transition: transform 500ms var(--ease-smooth);
}
.card-overlay:hover .card-overlay-img { transform: scale(1.04); }
.card-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(15,27,45,0.88) 0%, rgba(15,27,45,0.2) 55%, transparent 100%);
}

/* ============================================================
   SECTION ANATOMY
   ============================================================ */

.section-pad      { padding-top: clamp(4rem, 8vw, 6.5rem); padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.section-pad-sm   { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-pad-lg   { padding-top: clamp(5rem, 10vw, 8rem); padding-bottom: clamp(5rem, 10vw, 8rem); }

.divider-earth {
  width: 44px; height: 2px;
  background-color: var(--color-earth);
  border-radius: 99px;
}

/* ============================================================
   CHIPS / TAGS / BADGES
   ============================================================ */

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 99px;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms, color 150ms, border-color 150ms;
  border: 1.5px solid transparent;
}
.chip-default {
  background-color: var(--color-cloud);
  color: var(--color-muted);
}
.chip-default:hover, .chip-default.chip-active {
  background-color: var(--color-peak);
  color: var(--color-snow);
}
.chip-outline {
  background-color: transparent;
  color: var(--color-muted);
  border-color: rgba(15,27,45,0.14);
}
.chip-outline:hover {
  border-color: var(--color-alpine);
  color: var(--color-alpine);
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-alpine {
  background-color: rgba(74,111,165,0.1);
  color: var(--color-alpine);
}
.badge-earth {
  background-color: rgba(168,131,90,0.12);
  color: var(--color-earth);
}
.badge-pine {
  background-color: rgba(61,90,69,0.1);
  color: var(--color-pine);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq-item { border-bottom: 1px solid rgba(15,27,45,0.08); }
.faq-item:first-child { border-top: 1px solid rgba(15,27,45,0.08); }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 150ms;
  line-height: 1.5;
}
.faq-trigger:hover { color: var(--color-alpine); }

.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background-color: var(--color-cloud);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 200ms, transform 300ms var(--ease-smooth);
  color: var(--color-muted);
}
.faq-item.open .faq-icon {
  background-color: rgba(74,111,165,0.12);
  color: var(--color-alpine);
  transform: rotate(45deg);
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease-smooth);
}
.faq-item.open .faq-body { grid-template-rows: 1fr; }
.faq-body-inner { overflow: hidden; }
.faq-answer {
  padding-bottom: 1.25rem;
  color: var(--color-muted);
  line-height: 1.75;
  font-size: 0.9375rem;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: rgba(247,249,252,0.55);
}
.breadcrumb a { color: rgba(247,249,252,0.55); transition: color 140ms; }
.breadcrumb a:hover { color: rgba(247,249,252,0.9); }
.breadcrumb-sep { color: rgba(247,249,252,0.3); }

.breadcrumb-light {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
}
.breadcrumb-light a { color: var(--color-muted); transition: color 140ms; }
.breadcrumb-light a:hover { color: var(--color-text); }
.breadcrumb-light .breadcrumb-sep { color: rgba(15,27,45,0.2); }

/* ============================================================
   NEWSLETTER MODULE
   ============================================================ */

.newsletter-section {
  background: linear-gradient(150deg, #1A3560 0%, var(--color-peak) 60%, #0D1823 100%);
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 70% 50%, rgba(74,111,165,0.18) 0%, transparent 60%);
  pointer-events: none;
}

/* ============================================================
   AD PLACEHOLDER
   ============================================================ */

.ad-slot {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef4 100%);
  border: 1.5px dashed rgba(15,27,45,0.1);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 100px;
  color: rgba(15,27,45,0.28);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   AFFILIATE CARDS
   ============================================================ */

.affiliate-card {
  display: block;
  text-decoration: none;
  background: white;
  border: 1px solid rgba(15,27,45,0.07);
  border-radius: 12px;
  padding: 1.375rem;
  transition: border-color 200ms, box-shadow 200ms, transform 200ms var(--ease-smooth);
}
.affiliate-card:hover {
  border-color: rgba(74,111,165,0.25);
  box-shadow: 0 6px 24px rgba(74,111,165,0.1);
  transform: translateY(-3px);
}
.affiliate-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background-color: var(--color-cloud);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-alpine);
}

/* ============================================================
   INFO CARDS (practical travel)
   ============================================================ */

.info-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(15,27,45,0.06);
  box-shadow: 0 1px 4px rgba(15,27,45,0.05);
}
.info-icon-wrap {
  width: 46px; height: 46px;
  border-radius: 10px;
  background-color: var(--color-cloud);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-alpine);
  flex-shrink: 0;
}

/* ============================================================
   ITINERARY TIMELINE
   ============================================================ */

.timeline {
  position: relative;
  padding-left: 2.25rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 14px;
  bottom: 0;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--color-alpine) 0%, rgba(74,111,165,0.1) 100%);
}
.timeline-item {
  position: relative;
  margin-bottom: 2.25rem;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -2.25rem;
  top: 0.2rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background-color: var(--color-alpine);
  border: 2.5px solid var(--color-snow);
  box-shadow: 0 0 0 2.5px rgba(74,111,165,0.25);
}
.timeline-time {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-earth);
  margin-bottom: 0.375rem;
}

/* ============================================================
   BLOG ARTICLE TYPOGRAPHY
   ============================================================ */

.prose-mountain {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-muted);
}
.prose-mountain h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--color-text);
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.prose-mountain h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.005em;
}
.prose-mountain p { margin-bottom: 1.375rem; }
.prose-mountain strong { color: var(--color-text); font-weight: 600; }
.prose-mountain ul, .prose-mountain ol {
  padding-left: 1.5rem;
  margin-bottom: 1.375rem;
}
.prose-mountain li { margin-bottom: 0.5rem; line-height: 1.7; }
.prose-mountain blockquote {
  border-left: 3px solid var(--color-alpine);
  margin: 2.25rem 0;
  padding: 1.125rem 1.5rem;
  background: rgba(74,111,165,0.05);
  border-radius: 0 10px 10px 0;
  font-family: var(--font-display);
  font-size: 1.225rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.55;
}
.prose-mountain a {
  color: var(--color-alpine);
  text-decoration: underline;
  text-decoration-color: rgba(74,111,165,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 150ms;
}
.prose-mountain a:hover { text-decoration-color: var(--color-alpine); }

/* Tip box */
.tip-box {
  background: linear-gradient(135deg, rgba(74,111,165,0.07) 0%, rgba(74,111,165,0.04) 100%);
  border: 1px solid rgba(74,111,165,0.18);
  border-radius: 10px;
  padding: 1.375rem 1.5rem;
}

/* Table of contents */
.toc-box {
  background: var(--color-cloud);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(15,27,45,0.07);
}
.toc-link {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  transition: color 140ms;
}
.toc-link:hover { color: var(--color-alpine); }

/* ============================================================
   FORMS
   ============================================================ */

.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.form-input {
  width: 100%;
  padding: 0.8125rem 1rem;
  border: 1.5px solid rgba(15,27,45,0.14);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: white;
  outline: none;
  transition: border-color 180ms, box-shadow 180ms;
  -webkit-appearance: none;
}
.form-input::placeholder { color: rgba(84,110,138,0.45); }
.form-input:focus {
  border-color: var(--color-alpine);
  box-shadow: 0 0 0 3px rgba(74,111,165,0.1);
}
textarea.form-input { resize: vertical; min-height: 140px; line-height: 1.6; }

/* ============================================================
   MAP PLACEHOLDER
   ============================================================ */

.map-placeholder {
  background: linear-gradient(145deg, #C8D8E8 0%, #B5CADF 50%, #A3BDDA 100%);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 1px, transparent 1px, transparent 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 1px, transparent 1px, transparent 44px);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-smooth), transform 0.65s var(--ease-smooth);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   STATS BAR / HIGHLIGHT NUMBERS
   ============================================================ */

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.875rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer { background-color: var(--color-peak); }
.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(247,249,252,0.9);
  margin-bottom: 0.875rem;
}
.footer-link {
  display: block;
  padding: 0.225rem 0;
  font-size: 0.9rem;
  color: rgba(247,249,252,0.5);
  transition: color 140ms;
}
.footer-link:hover { color: rgba(247,249,252,0.9); }

.footer-divider { border-color: rgba(247,249,252,0.08); }

/* ============================================================
   MOUNTAIN SILHOUETTE ACCENT (decorative SVG section)
   ============================================================ */

.mountain-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  pointer-events: none;
  z-index: 5;
  line-height: 0;
}

/* ============================================================
   SECTION HIGHLIGHT / ALPINE CARD
   ============================================================ */

.alpine-card {
  background: linear-gradient(135deg, rgba(74,111,165,0.07) 0%, rgba(74,111,165,0.03) 100%);
  border: 1px solid rgba(74,111,165,0.14);
  border-radius: 14px;
  padding: 2rem;
}
.pine-card {
  background: linear-gradient(135deg, rgba(61,90,69,0.08) 0%, rgba(61,90,69,0.04) 100%);
  border: 1px solid rgba(61,90,69,0.14);
  border-radius: 14px;
  padding: 2rem;
}
.earth-card {
  background: linear-gradient(135deg, rgba(168,131,90,0.08) 0%, rgba(168,131,90,0.04) 100%);
  border: 1px solid rgba(168,131,90,0.14);
  border-radius: 14px;
  padding: 2rem;
}

/* ============================================================
   FEATURE IMAGE BLOCK
   ============================================================ */

.feature-img-block {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(15,27,45,0.14);
}
.feature-img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   FOCUS & ACCESSIBILITY
   ============================================================ */

*:focus-visible {
  outline: 2.5px solid var(--color-alpine);
  outline-offset: 3px;
  border-radius: 4px;
}
.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;
}

/* ============================================================
   SELECTION
   ============================================================ */

::selection {
  background-color: rgba(74,111,165,0.18);
  color: var(--color-text);
}

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--color-cloud); }
::-webkit-scrollbar-thumb { background: rgba(15,27,45,0.18); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(15,27,45,0.3); }

/* ============================================================
   PREFERS REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-bg-image { transform: scale(1) !important; }
}

/* ============================================================
   UTILITY
   ============================================================ */

.border-mountain { border-color: rgba(15,27,45,0.08); }
.bg-gradient-mountain {
  background: linear-gradient(135deg, var(--color-peak) 0%, var(--color-ridge) 100%);
}
.text-balance { text-wrap: balance; }

/* Image placeholder background (used when real photos not present) */
.img-placeholder {
  background: linear-gradient(135deg, var(--color-cloud) 0%, #d0dde8 100%);
}
.img-placeholder-dark {
  background: linear-gradient(135deg, var(--color-ridge) 0%, var(--color-peak) 100%);
}

/* ============================================================
   SEASON CARDS (travel-info.html)
   ============================================================ */

.season-card {
  background: rgba(247,249,252,0.06);
  border: 1px solid rgba(247,249,252,0.1);
  border-radius: 16px;
  padding: 1.5rem;
}
.season-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: rgba(247,249,252,0.9);
  margin-bottom: 0.625rem;
}
.season-months {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(247,249,252,0.45);
  font-family: var(--font-body);
  letter-spacing: 0;
}
.season-desc {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(247,249,252,0.55);
  margin-bottom: 1rem;
}
.season-rating { display: flex; gap: 4px; }
.rating-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(247,249,252,0.18);
}
.rating-dot.active { background: var(--color-earth); }

/* ============================================================
   PROSE ARTICLE (blog-post.html)
   ============================================================ */

.prose-article .lead-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}
.prose-article p {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}
.prose-article strong { color: var(--color-text); font-weight: 600; }
.prose-article em { font-style: italic; }
.prose-article a { color: var(--color-alpine); }
.prose-article a:hover { color: var(--color-earth); }

.article-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 600;
  color: var(--color-peak);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}

.stats-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
}
@media (min-width: 640px) {
  .stats-grid-2 { grid-template-columns: repeat(3, 1fr); }
}
.stat-chip {
  background: var(--color-cloud);
  border-radius: 10px;
  padding: 0.75rem 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-label {
  font-size: 0.675rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-mist);
}
.stat-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-peak);
}

.gear-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.gear-list li {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
  padding-left: 1.25rem;
  position: relative;
}
.gear-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-pine);
  font-weight: 700;
  font-size: 0.75rem;
}

/* SIDEBAR */
.sidebar-card {
  background: var(--color-cloud);
  border-radius: 16px;
  padding: 1.375rem;
}
.sidebar-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.875rem;
}
.sidebar-fact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(15,27,45,0.06);
}
.sidebar-fact:last-child { border-bottom: none; }
.sidebar-label { font-size: 0.8125rem; color: var(--color-mist); }
.sidebar-val { font-size: 0.8125rem; font-weight: 600; color: var(--color-peak); }
.sidebar-affiliate-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-alpine);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(15,27,45,0.06);
  transition: color 140ms;
}
.sidebar-affiliate-link:last-child { border-bottom: none; }
.sidebar-affiliate-link:hover { color: var(--color-earth); }
.sidebar-related-post {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  transition: opacity 150ms;
}
.sidebar-related-post:hover { opacity: 0.8; }
.sidebar-related-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

/* Inline affiliate + ad */
.inline-affiliate-cta {
  background: var(--color-cloud);
  border-left: 3px solid var(--color-alpine);
  border-radius: 0 12px 12px 0;
  padding: 1.125rem 1.25rem;
  margin: 2rem 0;
}

/* ============================================================
   BLOG — TOC BOX (already partially defined, extend)
   ============================================================ */
.toc-box {
  background: var(--color-cloud);
  border-radius: 14px;
  padding: 1.25rem 1.375rem;
  margin: 1.5rem 0 2rem;
}

/* ============================================================
   INFO CARDS (travel-info.html — already partially defined)
   ============================================================ */
.info-card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}
.info-card-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-peak);
  margin-bottom: 0.625rem;
}
.info-card-text {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.75;
}

/* ============================================================
   FAQ SECTION TITLES (faq.html)
   ============================================================ */
.faq-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 600;
  color: var(--color-peak);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-cloud);
}

/* ============================================================
   CONTACT FORM (contact.html)
   ============================================================ */
.contact-form { display: flex; flex-direction: column; gap: 1.125rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.125rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(15,27,45,0.12);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: #fff;
  outline: none;
  transition: border-color 180ms, box-shadow 180ms;
  appearance: none;
}
.form-input:focus {
  border-color: var(--color-alpine);
  box-shadow: 0 0 0 3px rgba(74,111,165,0.12);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-footer { margin-top: 0.5rem; }
.form-success-msg.hidden { display: none; }
.form-success-msg { display: flex; align-items: center; gap: 0.5rem; }

/* ============================================================
   HELPFUL LINK CARDS (contact.html)
   ============================================================ */
.helpful-link-card {
  background: white;
  border: 1.5px solid var(--color-cloud);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  text-decoration: none;
  transition: border-color 180ms, box-shadow 180ms, transform 180ms;
}
.helpful-link-card:hover {
  border-color: var(--color-alpine);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.helpful-icon { font-size: 1.5rem; margin-bottom: 0.25rem; }
.helpful-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-peak);
}
.helpful-desc { font-size: 0.8125rem; color: var(--color-mist); }

/* ============================================================
   EARTH / ALPINE / PINE CARDS (itinerary.html variants)
   ============================================================ */
.earth-card {
  background: var(--color-ivory);
  border-radius: 14px;
  padding: 1.25rem;
}
.alpine-card {
  background: var(--color-cloud);
  border-radius: 14px;
  padding: 1.25rem;
}
.pine-card {
  background: rgba(61,90,69,0.08);
  border-radius: 14px;
  padding: 1.25rem;
}

/* BADGE additions */
.badge-pine {
  background: rgba(61,90,69,0.12);
  color: var(--color-pine);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-block;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   BODY TEXT UTILITY
   ============================================================ */
.body-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-muted);
}

/* ============================================================
   TOUR PAGES
   ============================================================ */

/* — Inline badges (free cancellation, etc.) */
.tour-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-pine);
  background: rgba(61,90,69,0.1);
  padding: 0.3125rem 0.875rem;
  border-radius: 100px;
}
.tour-badge-earth {
  color: var(--color-earth);
  background: rgba(168,131,90,0.1);
}

/* — Meta chips row (duration, language, etc.) */
.tour-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
  padding: 0.375rem 0.875rem;
  background: rgba(15,27,45,0.05);
  border-radius: 100px;
  border: 1px solid rgba(15,27,45,0.08);
}

/* — Gallery grid */
.tour-gallery {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 220px 220px;
  gap: 0.5rem;
  border-radius: 14px;
  overflow: hidden;
}
/* Items 4+ hidden from grid layout; stay in DOM so Fancybox can navigate to them */
.tour-gallery > a:nth-child(n+4) {
  display: none;
}
.tour-gallery-item {
  position: relative;
  overflow: hidden;
  background-color: var(--color-cloud);
  display: block;
  height: 100%;
}
/* Featured: left column, spans both rows */
.tour-gallery-item.featured {
  grid-row: 1 / 3;
  height: 100%;
}
/* <a> wrapper items (imgs 2-3): fill their grid cell */
.tour-gallery > a:not(.tour-gallery-item) {
  display: block;
  position: relative;
  overflow: hidden;
}
.tour-gallery > a:not(.tour-gallery-item) .tour-gallery-item {
  position: absolute;
  inset: 0;
  height: 100%;
}
.tour-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease-smooth);
}
.tour-gallery-item:hover img { transform: scale(1.06); }
.tour-gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,27,45,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 280ms;
}
.tour-gallery-item:hover .gallery-overlay { background: rgba(15,27,45,0.3); }
.gallery-zoom-icon {
  color: rgba(247,249,252,0);
  transition: color 280ms, transform 280ms;
}
.tour-gallery-item:hover .gallery-zoom-icon {
  color: rgba(247,249,252,0.95);
  transform: scale(1.12);
}
.tour-gallery-count {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
}
@media (max-width: 640px) {
  .tour-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 130px;
  }
  .tour-gallery-item.featured {
    grid-row: 1;
    grid-column: 1 / 3;  /* full width on mobile */
  }
}

/* — Widget slot placeholder */
.widget-slot-box {
  border: 2px dashed rgba(74,111,165,0.3);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  background: rgba(74,111,165,0.03);
  text-align: center;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.widget-slot-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-alpine);
  opacity: 0.55;
}

/* — Itinerary timeline */
.itinerary-list { list-style: none; padding: 0; margin: 0; }
.itinerary-stop {
  position: relative;
  padding-left: 2.75rem;
  padding-bottom: 0.875rem;
}
.itinerary-stop:last-child { padding-bottom: 0; }
/* Connecting line — now visible between cards */
.itinerary-stop::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 22px;
  bottom: 0;
  width: 2px;
  background: rgba(74, 111, 165, 0.2);
  z-index: 0;
}
.itinerary-stop:last-child::after { display: none; }
.itinerary-dot {
  position: absolute;
  left: 0;
  top: 0.75rem;   /* 12px — centers dot at y:22px, matching line top */
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-snow);
  border: 2.5px solid var(--color-alpine);
  z-index: 2;
}
.itinerary-dot.dot-start,
.itinerary-dot.dot-end   { background: var(--color-alpine); }
.itinerary-dot.dot-transit {
  top: 0.3rem;
  background: var(--color-cloud);
  border-color: var(--color-mist);
  border-style: dashed;
}
/* Content card per stop */
.itinerary-stop-content {
  position: relative;
  z-index: 1;
  background: var(--color-snow);
  border-radius: 0.875rem;
  border: 1px solid rgba(74, 111, 165, 0.1);
  padding: 0.75rem 1rem 0.875rem;
}
.itinerary-stop-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}
.itinerary-stop-tags {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-bottom: 0.375rem;
  display: block;
}
.itinerary-stop-duration {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-alpine);
  background: rgba(74,111,165,0.1);
  padding: 1px 8px;
  border-radius: 100px;
}
.itinerary-extra-fee {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-earth);
  background: rgba(168,131,90,0.1);
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 0.375rem;
}
.itinerary-transit-label {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-style: italic;
  padding-top: 0.2rem;
  position: relative;
  z-index: 1;
}

/* — Includes / Not Included rows */
.include-row {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(15,27,45,0.06);
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.55;
}
.include-row:last-child { border-bottom: none; }
.icon-yes { color: var(--color-pine); flex-shrink: 0; margin-top: 2px; }
.icon-no  { color: #cc3333; flex-shrink: 0; margin-top: 2px; }

/* — Tour key info card rows */
.tour-info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(15,27,45,0.06);
  font-size: 0.875rem;
}
.tour-info-row:last-child { border-bottom: none; }
.tour-info-label { color: var(--color-muted); flex-shrink: 0; }
.tour-info-value { font-weight: 600; color: var(--color-text); text-align: right; }
