/*
Theme Name: IFHL Theme
Theme URI: https://infinityhagiangloop.com
Author: Infinity Ha Giang Loop
Description: Custom adventure travel theme for Infinity Ha Giang Loop
Version: 4.6.1
Template: hello-elementor
Text Domain: ifhl-theme
*/

/* =========================================
   CSS CUSTOM PROPERTIES
   ========================================= */
:root {
  --green-dark: #2D6264;
  --green: #3D7C7E;
  --green-mid: #4E9496;
  --green-light: #8BBBBF;
  --terra: #A4BD61;
  --terra-dark: #7B4B2A;
  --bg: #F6F2EE;
  --text: #1F3A3B;
  --white: #FFFFFF;
  --gray-100: #EEE8DB;
  --gray-200: #DCCEBB;
  --gray-400: #C4A882;
  --gray-600: #896D51;

  --font-body: 'Barlow', sans-serif;
  --font-heading: 'Barlow', sans-serif;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.75rem;
  --fs-4xl: 3.5rem;
  --fs-5xl: 4.5rem;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --star: #F5A623;
  --error: #dc2626;
  --error-bg: #fee2e2;
  --divider: #e8e3da;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index layers */
  --z-nav: 100;
  --z-sticky: 200;
  --z-dropdown: 300;
  --z-drawer: 400;
  --z-modal: 500;
  --z-overlay: 600;
  --z-toast: 700;

  --container-max: 1280px;
  --container-pad: clamp(1rem, 5vw, 3rem);
}

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

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

body {
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }


/* =========================================
   FOCUS VISIBLE
   ========================================= */
:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
  border-radius: 2px;
}
/* WooCommerce inputs: replace outline:none with focus-visible ring */
.woocommerce form .form-row input.input-text:focus-visible,
.woocommerce form .form-row textarea:focus-visible {
  outline: 2px solid var(--terra) !important;
  outline-offset: 0;
  box-shadow: 0 0 0 3px rgba(164,189,97,0.2) !important;
}
.woocommerce-checkout .woocommerce-form-row input:focus-visible,
.woocommerce-checkout .woocommerce-form-row select:focus-visible {
  outline: 2px solid var(--terra) !important;
  outline-offset: 0;
  box-shadow: 0 0 0 3px rgba(164,189,97,0.2) !important;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(var(--fs-3xl), 6vw, var(--fs-5xl)); }
h2 { font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl)); }
h3 { font-size: clamp(var(--fs-xl), 2.5vw, var(--fs-2xl)); }
h4 { font-size: var(--fs-lg); }
p { line-height: 1.7; }

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}


/* =========================================
   REDUCED MOTION
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-video { opacity: 0; pointer-events: none; }
  .hero-video-overlay { opacity: 0; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
.section { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
.section-sm { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}
.section-header h2 { margin-bottom: var(--space-sm); }
.section-header p { color: var(--gray-600); font-size: var(--fs-md); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: var(--space-xs);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--terra);
  color: var(--text);
  border-color: var(--terra);
}
.btn-primary:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(164,189,97,0.40);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline-dark:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--green-dark); }
.btn-ghost::after { content: ' →'; }

/* =========================================
   SITE HEADER
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 1.25rem 0;
}

body.home .site-header {
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);
}

body:not(.home) .site-header {
  background: var(--green-dark);
  box-shadow: var(--shadow-sm);
}

.site-header.is-scrolled {
  background: var(--green-dark) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  padding: 0.875rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  gap: var(--space-md);
}

.site-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.primary-nav { display: flex; align-items: center; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav ul li a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.primary-nav ul li a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.primary-nav ul li.current-menu-item > a,
.primary-nav ul li.current-page-ancestor > a { color: var(--white); }

.primary-nav ul li { position: relative; }
.primary-nav ul .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--green-dark);
  min-width: 200px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  flex-direction: column;
  gap: 0;
}
.primary-nav ul li:hover > .sub-menu { display: flex; }
.primary-nav ul .sub-menu li a {
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  overflow: visible;
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.9);
  padding: 0.5rem;
  transition: var(--transition);
}
.cart-link:hover { color: var(--white); }
.cart-link svg { width: 22px; height: 22px; }

.cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--terra);
  color: var(--white);
  font-size: 10px;
  font-weight: var(--fw-bold);
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

.btn-book {
  background: var(--terra);
  color: var(--white);
  padding: 0.625rem 1.375rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 2px solid var(--terra);
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-book:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 55, 57, 0.85) 0%,
    rgba(30, 55, 57, 0.40) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl) var(--container-pad);
  padding-bottom: clamp(3rem, 8vh, 6rem);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: var(--space-md);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--green-light);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.05;
  max-width: 820px;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: clamp(var(--fs-base), 2vw, var(--fs-md));
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--container-pad);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
  background: var(--green-dark);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-bar--reviews {
  background: var(--bg);
  padding: 2.5rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--white);
  padding: 0.5rem;
}

.trust-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.trust-item-value {
  display: block;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}
.trust-item-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--green-light);
  letter-spacing: 0.05em;
  margin-top: 1px;
}

/* =========================================
   WHY TOURS SECTION
   ========================================= */
.why-tours-section {
  background: var(--white);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--gray-200);
}
/* Single collapsible why-block */
.why-tours-section {
  background: var(--white);
  padding: 0 0 3.5rem;
}
.why-tours-block {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(45,98,100,.2);
}
.why-tours-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.375rem 1.75rem;
  background: var(--green-dark);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.why-tours-trigger::-webkit-details-marker { display: none; }
.wtb-titles {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.wtb-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.wtb-heading {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.wtb-chevron {
  flex-shrink: 0;
  color: rgba(255,255,255,.7);
  transition: transform .22s ease-out;
  display: flex;
}
.why-tours-block[open] .wtb-chevron { transform: rotate(180deg); }
.why-tours-content {
  background: var(--green-dark);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.75rem;
}
.wtb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 3rem;
}
.wtb-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.wtb-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.12);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.9);
  margin-top: 1px;
}
.wtb-item strong {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .2rem;
}
.wtb-item p {
  font-size: .8125rem;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
  margin: 0;
}

/* =========================================
   TOUR CARDS
   ========================================= */
.tours-section { background: var(--bg); }

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.tour-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.tour-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.tour-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.tour-card:hover .tour-card-img img { transform: scale(1.05); }

.tour-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--terra);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
}

.tour-card-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tour-card-meta {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: 0.75rem;
}
.tour-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-xs);
  color: var(--gray-600);
  font-weight: var(--fw-medium);
}

.tour-card h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.tour-card h3 a { color: var(--text); }
.tour-card h3 a:hover { color: var(--green); }

.tour-card-excerpt {
  font-size: var(--fs-sm);
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex: 1;
}

.tour-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--gray-200);
  margin-top: auto;
}

.tour-price {
  display: flex;
  flex-direction: column;
}
.price-from {
  font-size: var(--fs-xs);
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.price-amount {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--green-dark);
  line-height: 1;
}
.price-per { font-size: var(--fs-xs); color: var(--gray-600); }

.tour-card .btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--fs-xs);
}

/* =========================================
   FEATURED TOUR
   ========================================= */
.featured-tour {
  background: var(--white);
  padding: var(--space-2xl) 0;
}

.featured-tour-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.featured-tour-img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.featured-tour-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.featured-tour:hover .featured-tour-img img { transform: scale(1.03); }

.featured-tour-img-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(26, 51, 40, 0.9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.overlay-rating {
  display: flex;
  flex-direction: column;
}
.overlay-stars { color: var(--star); font-size: var(--fs-sm); letter-spacing: 1px; }
.overlay-label { color: var(--green-light); font-size: var(--fs-xs); margin-top: 2px; }

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(164,189,97,0.15);
  color: var(--terra);
  border: 1px solid rgba(164,189,97,0.25);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.featured-tour-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.featured-tour-desc {
  color: var(--gray-600);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  margin-bottom: var(--space-lg);
}

.include-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: var(--fs-sm);
  color: var(--text);
  line-height: 1.4;
}
.include-item::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: var(--green-mid);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.featured-tour-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* =========================================
   WHY CHOOSE US
   ========================================= */
.why-us {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: var(--space-2xl) 0;
  color: var(--white);
}

.why-us .section-header { max-width: 600px; margin-bottom: var(--space-xl); }
.why-us .section-header h2 { color: var(--white); }
.why-us .section-header p { color: var(--green-light); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.18);
}

.why-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
  color: var(--green-light);
}

.why-card h3 {
  color: var(--white);
  font-size: var(--fs-lg);
  margin-bottom: 0.75rem;
}
.why-card p { color: rgba(255,255,255,0.72); line-height: 1.65; font-size: var(--fs-sm); }

/* =========================================
   SOCIAL WORK
   ========================================= */
.social-work {
  background: var(--bg);
  padding: var(--space-2xl) 0;
}

.social-work-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.social-work-content .eyebrow { margin-bottom: var(--space-xs); }
.social-work-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: var(--space-sm);
}
.social-work-content p {
  color: var(--gray-600);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.social-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: var(--space-lg);
}
.social-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--gray-600);
}
.social-bullet::before {
  content: '\2726';
  color: var(--terra);
  font-size: 0.625rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.social-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
}

.social-mosaic-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
}
.social-mosaic-img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}
.social-mosaic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.social-mosaic-img:hover img { transform: scale(1.04); }

/* =========================================
   REVIEWS
   ========================================= */
.reviews-section {
  background: var(--white);
  padding: var(--space-2xl) 0;
}
.reviews-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }

/* =========================================
   FAQ
   ========================================= */
.faq-section {
  background: var(--bg);
  padding: var(--space-2xl) 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--green-light); }
.faq-item[open] { border-color: var(--green-mid); }

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  user-select: none;
  transition: var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: var(--fw-regular);
  color: var(--green-mid);
  flex-shrink: 0;
  transition: var(--transition);
  line-height: 1;
}
.faq-item[open] summary::after { content: '\2212'; color: var(--terra); }
.faq-item[open] summary { color: var(--green-dark); }

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-600);
  line-height: 1.7;
  font-size: var(--fs-sm);
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  padding: var(--space-2xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 42px;
  width: auto;
  margin-bottom: var(--space-md);
}
.footer-tagline {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-md);
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-sm);
}
.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  text-decoration: none;
}
.social-btn:hover {
  background: var(--terra);
  color: var(--white);
  transform: translateY(-2px);
}
.social-btn svg { width: 18px; height: 18px; }

.footer-col h4 {
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.625rem; }
.footer-nav a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--white); padding-left: 4px; }

/* ── Footer: mobile layout (hidden on desktop) ─────────── */
.footer-mobile { display: none; }

.footer-mobile-brand {
  padding: 2rem var(--container-pad) 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-mobile-brand img { height: 38px; width: auto; margin-bottom: .875rem; }
.footer-mobile-brand .footer-tagline { max-width: 100%; margin-bottom: .875rem; }
.footer-mobile-brand .footer-socials { margin-top: .75rem; }
.footer-mobile-brand .footer-badges { margin-top: .875rem; }

/* Accordion nav */
.footer-acc-nav {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-acc-item {
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-acc-item summary { list-style: none; }
.footer-acc-item summary::-webkit-details-marker { display: none; }

.footer-acc-hd {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem var(--container-pad);
  cursor: pointer;
  user-select: none;
}
.footer-acc-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.footer-acc-icon svg { width: 15px; height: 15px; stroke: rgba(255,255,255,0.65); }
.footer-acc-label {
  flex: 1;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  color: #fff;
}
.footer-acc-chevron {
  flex-shrink: 0;
  width: 16px; height: 16px;
  stroke: rgba(255,255,255,0.4);
  transition: transform .22s ease;
}
.footer-acc-item[open] .footer-acc-chevron {
  transform: rotate(180deg);
}
.footer-acc-body {
  padding: 0 var(--container-pad) 1rem calc(var(--container-pad) + 32px + .75rem);
}
.footer-acc-body .footer-nav li { margin-bottom: .5rem; }
.footer-acc-newsletter p {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
  margin-bottom: .875rem;
}

/* Always-visible blocks */
.footer-mobile-blocks {
  padding: 1.5rem var(--container-pad);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fmb-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.fmb-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.fmb-icon svg { width: 18px; height: 18px; stroke: var(--terra); }
.fmb-content { flex: 1; min-width: 0; }
.fmb-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  margin-bottom: .5rem;
}
.fmb-content p {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
  margin-bottom: .75rem;
}
.fmb-contact-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
}
.fmb-contact-row svg { flex-shrink: 0; width: 14px; height: 14px; stroke: rgba(255,255,255,.45); }
.fmb-contact-row a {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
}
.fmb-contact-row a:hover { color: #fff; }

/* Shared form styles (used in accordion + blocks) */
.footer-form-row {
  display: flex;
  gap: .4rem;
}
.footer-email-input {
  flex: 1;
  min-width: 0;
  padding: .55rem .8rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: .8rem;
  outline: none;
}
.footer-subscribe-btn {
  padding: .55rem 1rem;
  background: var(--terra);
  color: #fff;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  border: none;
}

.footer-newsletter p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.footer-bar {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.25rem var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========================================
   PAGE HERO
   ========================================= */
.page-hero {
  background: var(--green-dark);
  padding: calc(var(--space-xl) + 80px) 0 var(--space-xl);
  text-align: center;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(var(--fs-2xl), 5vw, var(--fs-4xl));
  margin-bottom: var(--space-xs);
}
.breadcrumb {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--green-light); }
.breadcrumb span { opacity: 0.5; }

/* =========================================
   PAGE CONTENT
   ========================================= */
.page-content {
  padding: var(--space-2xl) 0;
}
.page-content h2 { margin-top: var(--space-lg); margin-bottom: var(--space-sm); }
.page-content h3 { margin-top: var(--space-md); margin-bottom: var(--space-xs); }
.page-content p { margin-bottom: var(--space-sm); }
.page-content ul, .page-content ol {
  margin-left: 1.5rem;
  margin-bottom: var(--space-sm);
  list-style: disc;
}
.page-content a { color: var(--green-mid); text-decoration: underline; }

/* =========================================
   WOOCOMMERCE
   ========================================= */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce ul.products li.product {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: var(--space-sm) var(--space-sm) 0.25rem;
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--text);
}

.woocommerce ul.products li.product .price {
  padding: 0 var(--space-sm);
  color: var(--green-dark);
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
}

.woocommerce ul.products li.product .button {
  margin: auto var(--space-sm) var(--space-sm);
  display: block;
  background: var(--terra);
  color: var(--white);
  padding: 0.75rem;
  text-align: center;
  border-radius: var(--radius-sm);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--terra-dark);
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-lg) var(--container-pad);
}

.woocommerce form .form-row label { font-weight: var(--fw-medium); margin-bottom: 0.25rem; display: block; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  transition: var(--transition);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(61, 122, 86, 0.15);
}

.woocommerce #place_order,
.woocommerce button.button.alt {
  background: var(--terra);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.woocommerce #place_order:hover,
.woocommerce button.button.alt:hover { background: var(--terra-dark); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .featured-tour-inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .featured-tour-img { max-height: 480px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .social-work-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}

@media (max-width: 768px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }

  .primary-nav.is-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--green-dark);
    z-index: var(--z-nav);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
  }
  .primary-nav.is-open ul {
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
  .primary-nav.is-open ul li a {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    padding: 0.875rem 1.25rem;
    display: block;
  }

  /* Reduce section padding on mobile */
  .section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .section-sm { padding-top: 1.75rem; padding-bottom: 1.75rem; }
  .hero h1 { font-size: clamp(2rem, 10vw, 3.5rem); }
  .hero-ctas { gap: 0.75rem; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .why-grid { grid-template-columns: 1fr; }
  .wtb-grid { grid-template-columns: 1fr; }
  .why-tours-trigger { padding: 1.125rem 1.25rem; }
  .why-tours-content { padding: 1.25rem; }
  .tours-grid { grid-template-columns: 1fr; }
  .includes-grid { grid-template-columns: 1fr; }
  /* social-mosaic columns handled below */
  .social-mosaic-img:first-child { grid-column: 1; }
  /* Hide desktop grid, show mobile layout */
  .footer-grid { display: none; }
  .footer-mobile { display: block; }
  .footer-bar { flex-direction: column; text-align: center; }
  .header-actions .btn-book { display: none; }
}

@media (max-width: 480px) {
  .trust-bar-inner { grid-template-columns: 1fr 1fr; }
  .trust-item { flex-direction: column; text-align: center; gap: 0.25rem; }
  .hero-ctas .btn-outline { display: none; }
  /* Force buttons side-by-side on mobile */
  .hero-ctas {
    flex-wrap: nowrap;
    width: 100%;
  }
  .hero-ctas .btn {
    flex: 1;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.75rem;
  }
}

/* =========================================
   FRONT-PAGE CLASS ALIASES
   Maps front-page.php class names to
   the existing design-system selectors.
   ========================================= */

/* --- Hero --- */
.hero-inner {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl) var(--container-pad);
  padding-bottom: clamp(3rem, 8vh, 6rem);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.55);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* --- Trust bar --- */
.trust-num {
  display: block;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}
.trust-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--green-light);
  letter-spacing: 0.05em;
  margin-top: 1px;
}
.trust-sep {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,0.12);
  margin: 0.25rem 0;
}

/* --- Buttons --- */
.btn-terra {
  background: var(--terra);
  color: var(--text);
  border-color: var(--terra);
}
.btn-terra:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(164,189,97,0.40);
  color: var(--white);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--fs-base);
}
.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: var(--fs-xs);
}

/* btn-ghost on dark backgrounds (hero) — override to white */
.hero .btn-ghost {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.45);
}
.hero .btn-ghost:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}
.hero .btn-ghost::after { display: none; }

/* --- Section headers --- */
.section-hd {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-xl);
}
.section-hd h2 { margin-bottom: var(--space-sm); }
.section-hd .eyebrow { display: block; margin-bottom: 0.5rem; }
.section-sub {
  color: var(--gray-600);
  font-size: var(--fs-md);
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Tour card --- */
.tour-card-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.tour-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.tour-card:hover .tour-card-thumb img { transform: scale(1.05); }

.tour-card-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.tour-card-title a { color: var(--text); }
.tour-card-title a:hover { color: var(--green); }

.tour-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--gray-200);
  margin-top: auto;
}

/* --- Featured tour --- */
.section.featured-section {
  background: var(--white);
}
.featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.featured-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.featured-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.featured-section:hover .featured-photo img { transform: scale(1.03); }

.featured-content {
  display: flex;
  flex-direction: column;
}
.featured-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.badge-bestseller {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(164,189,97,0.15);
  color: var(--terra);
  border: 1px solid rgba(164,189,97,0.20);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  width: fit-content;
}

.featured-desc {
  color: var(--gray-600);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.includes-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.includes-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}
.includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: var(--fs-sm);
  color: var(--text);
  line-height: 1.4;
}
.includes-list li::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: var(--green-mid);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.featured-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* --- Why section (alias for .why-us) --- */
.section.why-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
}
.why-section .section-hd h2 { color: var(--white); }
.why-section .section-hd .section-sub,
.why-section .section-hd p { color: var(--green-light); }
.why-section .eyebrow { color: var(--green-light); }

/* --- Social section (alias for .social-work) --- */
.section.social-section {
  background: var(--bg);
}
.social-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.social-content .eyebrow { display: block; margin-bottom: 0.5rem; }
.social-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: var(--space-sm);
}
.social-content p {
  color: var(--gray-600);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.social-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.social-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--gray-600);
}
.social-list li::before {
  content: '\2726';
  color: var(--terra);
  font-size: 0.625rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Social mosaic images — 1 large left, 3 stacked right */
.social-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(3, 160px);
  gap: 0.5rem;
}
.mosaic-main {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  transition: transform var(--transition-slow);
}
.mosaic-sm {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  transition: transform var(--transition-slow);
}
.mosaic-main:hover,
.mosaic-sm:hover { transform: scale(1.02); }

/* =========================================
   RESPONSIVE — aliases
   ========================================= */
@media (max-width: 1024px) {
  .featured-inner { grid-template-columns: 1fr; padding: 0; }
  .featured-photo { max-height: none; aspect-ratio: 4/3; }
  .featured-content { padding: 0 var(--container-pad); }
  .social-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .trust-sep { display: none; }
  .includes-list { grid-template-columns: 1fr; }
  .social-mosaic { display: grid !important; grid-template-columns: 1.4fr 1fr !important; grid-template-rows: repeat(3, 100px) !important; }
  .social-mosaic .mosaic-main { grid-column: 1 !important; grid-row: 1 / 4 !important; aspect-ratio: auto !important; height: 100%; }
  .social-mosaic .mosaic-sm { height: 100%; }
  /* Featured tour — mobile: photo edge-to-edge, content padded */
  .section.featured-section { padding-top: 0; padding-bottom: 2rem; }
  .featured-inner { gap: 0; }
  .featured-photo { border-radius: 0; aspect-ratio: 3/2; }
  .featured-content { padding: 1.5rem var(--container-pad) 0; }
  .featured-content h2 { font-size: 1.875rem; }
  .featured-actions { flex-direction: column; gap: .625rem; }
  .featured-actions .btn { width: 100%; justify-content: center; padding: .75rem 1.25rem; font-size: var(--fs-xs); }
}

/* =========================================
   WOOCOMMERCE PRODUCT GRID — OVERRIDE
   Replace WC float-based layout with CSS Grid
   ========================================= */

/* Kill WooCommerce clearfix pseudo-elements — they become rogue grid cells */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  content: none !important;
  display: none !important;
}

.woocommerce .products,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2.25rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: 100% !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Product card image */
.woocommerce ul.products li.product a img {
  width: 100% !important;
  height: 240px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
}

/* Product card inner */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  padding: 0 !important;
}

.woocommerce-loop-product__title {
  padding: 1rem 1.25rem 0.5rem !important;
  font-size: var(--fs-base) !important;
  font-weight: var(--fw-bold) !important;
  color: var(--text) !important;
  line-height: 1.4 !important;
}

.woocommerce ul.products li.product .price {
  padding: 0 1.25rem 1rem !important;
  font-size: var(--fs-lg) !important;
  font-weight: var(--fw-bold) !important;
  color: var(--green-dark) !important;
}

/* "Select Options" / Add to cart button */
.woocommerce ul.products li.product .button {
  margin: auto 1.25rem 1.25rem !important;
  display: block !important;
  text-align: center !important;
  background: var(--terra) !important;
  color: var(--white) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: var(--radius-sm) !important;
  font-size: var(--fs-xs) !important;
  font-weight: var(--fw-bold) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  transition: var(--transition) !important;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--terra-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px) !important;
}

/* Woo page wrapper — no narrow constraint */
.woo-page .woocommerce,
.woo-page .woocommerce-page {
  width: 100%;
}

/* Tours listing section (page-tours.php) */
.tours-listing-section {
  background: var(--bg);
  padding: 3rem 0 4rem;
}
.tours-listing-section .section-hd {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Tour row — two cards side by side */
.trc {
  margin-bottom: 2.5rem;
}
.trc-slides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.trc-dots { display: none; }

/* Left: tour info card */
.trc-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
}
.trc-img-wrap {
  display: block;
  overflow: hidden;
  height: 220px;
  flex-shrink: 0;
}
.trc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease-out;
}
.trc-card:hover .trc-img-wrap img { transform: scale(1.04); }
.trc-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex: 1;
}
.trc-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.trc-body h3 a { color: var(--text); text-decoration: none; }
.trc-body h3 a:hover { color: var(--green-dark); }
.trc-excerpt {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.trc-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
}
.trc-price span {
  font-size: .8rem;
  font-weight: 400;
  color: var(--gray-500);
  margin-left: .25rem;
}

/* Right: map card */
.trc-map-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
.trc-map {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

@media (max-width: 1024px) {
  .woocommerce ul.products,
  .woocommerce .products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .woocommerce ul.products,
  .woocommerce .products {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================
   TRC MOBILE CAROUSEL
   ========================================= */
@media (max-width: 768px) {
  .trc-slides {
    display: flex !important;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0 !important;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
  }
  .trc-slides::-webkit-scrollbar { display: none; }
  .trc-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    scroll-snap-align: start;
  }
  .trc-card {
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .trc-map-card {
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .trc-map {
    min-height: 320px !important;
    height: 320px !important;
  }
  .trc-dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: .875rem;
  }
  .trc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .2s, transform .2s;
  }
  .trc-dot--active {
    background: var(--green-dark);
    transform: scale(1.25);
  }
}

/* =========================================
   PRODUCT GALLERY SLIDER
   ========================================= */
.sp-gallery { margin-bottom: 1.75rem; }
.spg-main {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
}
.spg-slide { display: none; width: 100%; height: 100%; }
.spg-slide--active { display: block; }
.spg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.spg-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.spg-arrow:hover { background: rgba(0,0,0,.7); }
.spg-arrow--prev { left: .75rem; }
.spg-arrow--next { right: .75rem; }
.spg-thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .625rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.spg-thumbs::-webkit-scrollbar { display: none; }
.spg-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color .15s;
}
.spg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spg-thumb--active { border-color: var(--green-dark); }

/* =========================================
   SOCIAL PROOF SECTION
   ========================================= */
.sp-social-proof {
  background: var(--green-dark);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
}
.sp-proof-title {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  line-height: 1.3;
}
.sp-proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}
.sp-proof-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.sp-proof-icon {
  flex-shrink: 0;
  color: rgba(255,255,255,.8);
  margin-top: 2px;
}
.sp-proof-item strong {
  display: block;
  font-size: .875rem;
  color: #fff;
  margin-bottom: .15rem;
}
.sp-proof-item p {
  font-size: .8rem;
  color: rgba(255,255,255,.68);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 768px) {
  .sp-proof-grid { grid-template-columns: 1fr; }
  .sp-gallery { margin-bottom: 1.25rem; }
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher { position: relative; }
.lang-trigger {
  display: inline-flex !important; align-items: center !important; flex-wrap: nowrap !important; gap: 0.25rem;
  background: rgba(0,0,0,0.28) !important; backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.18) !important; border-radius: 6px !important;
  color: #fff !important; padding: 0.3rem 0.5rem !important; cursor: pointer;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  transition: background 0.15s; white-space: nowrap; line-height: 1;
  appearance: none; -webkit-appearance: none; box-shadow: none !important;
  width: auto !important; height: auto !important; text-transform: none;
}
.lang-trigger:hover { background: rgba(0,0,0,0.42) !important; }
.lang-trigger-flag { font-size: 0.95rem; line-height: 1; flex-shrink: 0; display: inline !important; }
.lang-trigger-code { flex-shrink: 0; display: inline !important; }
.lang-chevron { display: inline-block !important; flex-shrink: 0; width: 8px !important; height: 5px !important; transition: transform 0.18s; opacity: 0.8; vertical-align: middle; }
.lang-switcher.is-open .lang-chevron { transform: rotate(180deg); }
.lang-dropdown {
  display: none !important;
  position: absolute; top: calc(100% + 6px); right: 0; left: auto;
  background: var(--green-dark); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  width: 172px; padding: 5px; z-index: 9999;
  flex-direction: column; gap: 1px;
  min-width: 172px;
}
.lang-switcher.is-open .lang-dropdown { display: flex !important; }
.lang-option {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.625rem; border-radius: 7px;
  background: transparent; text-decoration: none;
  transition: background 0.1s; width: 100%;
}
.lang-option:hover { background: rgba(255,255,255,0.1); }
.lang-option.is-active { background: rgba(255,255,255,0.15); }
.lang-opt-flag { font-size: 1.05rem; line-height: 1; flex-shrink: 0; }
.lang-opt-code { font-size: 0.8rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.lang-opt-name { font-size: 0.7rem; color: rgba(255,255,255,0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== CURRENCY SWITCHER ===== */
.currency-switcher { position: relative; }

.currency-trigger {
  display: inline-flex !important; align-items: center !important; flex-wrap: nowrap !important;
  gap: 0.25rem; background: rgba(0,0,0,0.28) !important; backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.18) !important; border-radius: 6px !important;
  color: #fff !important; padding: 0.3rem 0.5rem !important; cursor: pointer;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  transition: background 0.15s; white-space: nowrap; line-height: 1;
  appearance: none; -webkit-appearance: none; box-shadow: none !important;
  width: auto !important; height: auto !important; text-transform: none;
}
.currency-trigger:hover { background: rgba(0,0,0,0.42) !important; }
.currency-trigger-flag { font-size: 0.95rem; line-height: 1; flex-shrink: 0; display: inline !important; }
.currency-trigger-code { flex-shrink: 0; display: inline !important; }
.currency-chevron {
  display: inline-block !important; vertical-align: middle;
  flex-shrink: 0;
  width: 8px !important;
  height: 5px !important;
  transition: transform 0.18s;
  opacity: 0.8;
}
.currency-switcher.is-open .currency-chevron { transform: rotate(180deg); }

.currency-dropdown {
  display: none !important;
  position: absolute; top: calc(100% + 6px); right: 0; left: auto;
  background: var(--green-dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  width: 172px; min-width: 172px;
  padding: 5px;
  z-index: 9999;
  flex-direction: column;
  gap: 1px;
}
.currency-switcher.is-open .currency-dropdown { display: flex !important; }

.currency-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border: none;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.1s;
  width: 100%;
}
.currency-option:hover { background: rgba(255,255,255,0.1); }
.currency-option.is-active { background: rgba(255,255,255,0.15); }
.currency-opt-flag { font-size: 1.05rem; line-height: 1; flex-shrink: 0; }
.currency-opt-code { font-size: 0.8rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.currency-opt-name { font-size: 0.7rem; color: rgba(255,255,255,0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) { .currency-dropdown { right: auto; left: 0; } }


/* ============================================================
   MINI CART DRAWER
   ============================================================ */
#mini-cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
#mini-cart-overlay.is-open { opacity: 1; pointer-events: all; }

#mini-cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(440px, 100vw);
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -6px 0 32px rgba(0,0,0,0.15);
}
#mini-cart-drawer.is-open { transform: translateX(0); }

.mini-cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}
.mini-cart-title {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: var(--green-dark);
}
.mini-cart-close {
  background: none; border: none; cursor: pointer;
  padding: 0.35rem; color: #888;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px; transition: background 0.15s, color 0.15s;
  line-height: 1;
}
.mini-cart-close:hover { background: #f5f5f5; color: #111; }

.mini-cart-body {
  flex: 1; overflow-y: auto; min-height: 0;
}

/* -- Cart items list -- */
#mini-cart-drawer .woocommerce-mini-cart {
  list-style: none; margin: 0; padding: 0;
}
#mini-cart-drawer .woocommerce-mini-cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 0.875rem;
  align-items: start;
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid #f2f2f2;
  position: relative;
}
#mini-cart-drawer .woocommerce-mini-cart-item img {
  width: 76px; height: 76px;
  object-fit: cover; border-radius: 6px;
  display: block; grid-row: 1 / 3;
}
#mini-cart-drawer .woocommerce-mini-cart-item > a:not(.remove_from_cart_button) {
  display: contents;
}
#mini-cart-drawer .woocommerce-mini-cart-item > a:not(.remove_from_cart_button) img {
  grid-column: 1;
}
#mini-cart-drawer .woocommerce-mini-cart-item .product-title,
#mini-cart-drawer .woocommerce-mini-cart-item > a:not(.remove_from_cart_button) > :not(img) {
  grid-column: 2;
  font-size: 0.83rem; font-weight: 600;
  color: var(--green-dark); line-height: 1.35;
  text-decoration: none;
}
#mini-cart-drawer .wc-item-meta {
  list-style: none; margin: 0.375rem 0 0; padding: 0;
  font-size: 0.72rem; color: #666;
}
#mini-cart-drawer .wc-item-meta li { margin-bottom: 0.1rem; }
#mini-cart-drawer .wc-item-meta p { margin: 0; display: inline; }
#mini-cart-drawer .quantity {
  grid-column: 2;
  font-size: 0.78rem; color: #555;
  margin-top: 0.5rem;
}
#mini-cart-drawer .quantity .woocommerce-Price-amount {
  font-weight: 700; color: var(--green-dark);
}
#mini-cart-drawer .remove_from_cart_button {
  grid-column: 3; grid-row: 1;
  font-size: 1rem; color: #bbb;
  text-decoration: none; line-height: 1;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
#mini-cart-drawer .remove_from_cart_button:hover {
  background: var(--error-bg); color: var(--error);
}

/* -- Total + Buttons -- */
#mini-cart-drawer .woocommerce-mini-cart__total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.5rem;
  border-top: 2px solid var(--green-dark);
  font-size: 0.95rem; font-weight: 700;
  margin: 0; flex-shrink: 0;
}
#mini-cart-drawer .woocommerce-mini-cart__total .woocommerce-Price-amount {
  color: var(--green-dark);
}
#mini-cart-drawer .woocommerce-mini-cart__buttons {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 0.875rem 1.5rem 1.5rem;
  flex-shrink: 0; margin: 0;
}
#mini-cart-drawer .woocommerce-mini-cart__buttons .button {
  display: block !important;
  width: 100%; text-align: center;
  padding: 0.8rem 1rem !important;
  border-radius: 6px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, transform 0.2s !important;
  cursor: pointer;
}
#mini-cart-drawer .woocommerce-mini-cart__buttons .wc-forward:not(.checkout) {
  background: transparent !important;
  border: 2px solid var(--green-dark) !important;
  color: var(--green-dark) !important;
}
#mini-cart-drawer .woocommerce-mini-cart__buttons .wc-forward:not(.checkout):hover {
  background: var(--green-dark) !important;
  color: #fff !important;
}
#mini-cart-drawer .woocommerce-mini-cart__buttons .checkout {
  background: var(--terra) !important;
  color: #fff !important;
  border: none !important;
}
#mini-cart-drawer .woocommerce-mini-cart__buttons .checkout:hover {
  filter: brightness(0.88);
}
#mini-cart-drawer .woocommerce-mini-cart__empty-message {
  padding: 3rem 1.5rem;
  text-align: center;
  color: #999; font-size: 0.9rem;
}

/* ============================================================
   CART PAGE
   ============================================================ */
.woocommerce-cart .entry-content,
.woocommerce-cart .woocommerce {
  max-width: 1200px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}
.woocommerce-cart table.cart {
  width: 100%; border-collapse: collapse;
  font-size: 0.875rem;
}
.woocommerce-cart table.cart thead th {
  font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 700;
  color: var(--green-dark);
  padding: 0.75rem 0.875rem;
  border-bottom: 2px solid var(--green-dark);
  text-align: left;
}
.woocommerce-cart table.cart td {
  padding: 1.25rem 0.875rem;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}
.woocommerce-cart .product-thumbnail { width: 84px; }
.woocommerce-cart .product-thumbnail img {
  width: 80px; height: 80px;
  object-fit: cover; border-radius: 6px;
}
.woocommerce-cart .product-name a {
  font-weight: 600; color: var(--green-dark);
  font-size: 0.9rem; text-decoration: none;
}
.woocommerce-cart .product-name a:hover { text-decoration: underline; }
.woocommerce-cart .wc-item-meta {
  font-size: 0.76rem; color: #666;
  margin: 0.5rem 0 0; list-style: none; padding: 0;
}
.woocommerce-cart .wc-item-meta li { margin-bottom: 0.15rem; }
.woocommerce-cart .product-price .woocommerce-Price-amount,
.woocommerce-cart .product-subtotal .woocommerce-Price-amount {
  font-weight: 700; color: var(--green-dark);
}
.woocommerce-cart td.product-remove a {
  font-size: 1.2rem; color: #bbb; text-decoration: none;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.15s, color 0.15s;
}
.woocommerce-cart td.product-remove a:hover { background: var(--error-bg); color: var(--error); }
.woocommerce-cart td.product-quantity input.qty {
  width: 60px; text-align: center;
  border: 1px solid #ddd; border-radius: 6px;
  padding: 0.4rem 0.5rem; font-size: 0.9rem;
}
.woocommerce-cart .cart-collaterals { margin-top: 2rem; }
.woocommerce-cart .cart_totals {
  max-width: 380px; margin-left: auto;
  background: #f9f7f4; border-radius: 10px;
  padding: 1.5rem;
}
.woocommerce-cart .cart_totals h2 {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--green-dark); margin-bottom: 1.25rem;
}
.woocommerce-cart .cart_totals table {
  width: 100%; border-collapse: collapse;
  margin-bottom: 1.25rem;
}
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
  padding: 0.6rem 0; border-bottom: 1px solid #e5e5e5;
  font-size: 0.875rem;
}
.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
  font-weight: 700; font-size: 1rem;
  border-bottom: none; padding-top: 0.875rem;
}
.woocommerce-cart .wc-proceed-to-checkout { margin-top: 0.25rem; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: block !important; width: 100%;
  background: var(--terra) !important; color: #fff !important;
  padding: 0.9rem 1rem !important; border-radius: 6px !important;
  font-weight: 700 !important; letter-spacing: 0.09em !important;
  text-transform: uppercase !important; text-align: center !important;
  text-decoration: none !important; border: none !important;
  font-size: 0.8rem !important; cursor: pointer;
  transition: filter 0.2s !important;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover { filter: brightness(0.88); }

/* ============================================================
   CHECKOUT PAGE (Fluid Checkout)
   ============================================================ */
.woocommerce-checkout .site-header { position: sticky !important; }
.fc-checkout-header,
.fc-progress-bar { border-bottom: 1px solid #eee; }
.fc-progress-bar__step--current .fc-progress-bar__step-label { color: var(--green-dark); font-weight: 700; }
.fc-progress-bar__step-count { background: var(--green-dark) !important; }
.fc-progress-bar__bar { background: var(--green-dark) !important; }
.fc__button, .woocommerce-checkout .button {
  background: var(--terra) !important; color: #fff !important;
  border-radius: 6px !important; font-weight: 700 !important;
  border: none !important; cursor: pointer;
}
.fc__button:hover, .woocommerce-checkout .button:hover { filter: brightness(0.88); }
.woocommerce-checkout #order_review .woocommerce-Price-amount { color: var(--green-dark); font-weight: 600; }
.woocommerce-checkout .woocommerce-form-row input,
.woocommerce-checkout .woocommerce-form-row select {
  border-radius: 6px !important; border-color: #ddd !important;
}
.woocommerce-checkout .woocommerce-form-row input:focus,
.woocommerce-checkout .woocommerce-form-row select:focus {
  border-color: var(--green-dark) !important;
  box-shadow: 0 0 0 3px rgba(30,90,77,0.1) !important;
  outline: none !important;
}

/* Booking form — Self-Driving disabled when no license */
.bf-radio-card.bf-disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}
.bf-radio-card.bf-disabled input { pointer-events: none; }

/* Mini cart — label: value on one line, grouped by person */
.mini-cart-body .wc-item-meta {
  margin: 0.5rem 0 0;
  display: grid;
  row-gap: 0.3rem;
}
.mini-cart-body .wc-item-meta dt {
  display: inline;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
}
.mini-cart-body .wc-item-meta dt::after { content: ': '; }
.mini-cart-body .wc-item-meta dd {
  display: inline;
  margin: 0;
  font-size: 0.85rem;
  color: #1a1a1a;
}
.mini-cart-body .wc-item-meta dd::after {
  display: block;
  content: '';
}

/* Mini cart — hide WooCommerce auto-generated buttons inside drawer (we use our own footer) */
#mini-cart-drawer .woocommerce-mini-cart__buttons,
#mini-cart-drawer .woocommerce-mini-cart__total { display: none !important; }

/* Mini cart — price overflow fix */
#mini-cart-drawer .quantity,
#mini-cart-drawer .price-wrap,
#mini-cart-drawer .woocommerce-Price-amount {
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

/* Mini cart — sticky footer with total + buttons */
.mini-cart-footer {
  border-top: 1px solid #eee;
  padding: 1.125rem 1.5rem 1.5rem;
  flex-shrink: 0;
}
.mini-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.875rem;
  gap: 0.5rem;
}
.mini-cart-total-amount {
  font-weight: 700;
  font-size: 1rem;
  text-align: right;
  word-break: break-all;
  flex-shrink: 0;
  max-width: 60%;
}
.mini-cart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}
.mini-cart-btn {
  display: block;
  text-align: center;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.mini-cart-btn:hover { opacity: 0.85; text-decoration: none; }
.mini-cart-btn--secondary {
  border: 1.5px solid var(--terra, #b05c3a);
  color: var(--terra, #b05c3a);
  background: transparent;
}
.mini-cart-btn--primary {
  background: var(--terra, #b05c3a);
  color: #fff;
  border: 1.5px solid var(--terra, #b05c3a);
}

/* ── intl-tel-input — checkout phone field integration ── */
.woocommerce-checkout .iti,
.ifhl-phone-wrap {
  width: 100%;
  display: flex;
}
/* Hide the iti input border — let the parent .iti act as the bordered container */
#billing_phone.iti__tel-input,
.iti #billing_phone {
  border-left: none !important;
  border-radius: 0 4px 4px 0 !important;
  /* la marge gauche est calculee par intl-tel-input selon l indicatif choisi */
  flex: 1;
}
/* Flag button — match checkout input height */
.iti__flag-container .iti__selected-country {
  padding: 0 0.5rem;
  background: #f7f6f4;
  border: 1px solid #d0cec9;
  border-right: none;
  border-radius: 4px 0 0 4px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}
.iti__flag-container .iti__selected-country:hover { background: #eeece8; }
.iti__selected-dial-code { font-size: 0.85rem; color: #444; font-weight: 500; }
.iti__country-list {
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  border-color: #ddd;
  max-height: 260px;
  z-index: 9999;
}
.iti__country-list .iti__country { padding: 0.4rem 0.75rem; font-size: 0.875rem; }
.iti__country-list .iti__country.iti__highlight { background: #f5ede8; }
/* Required asterisk on flag button */
.iti__selected-country::after {
  content: '*';
  color: var(--terra, #b05c3a);
  font-size: 0.75rem;
  margin-left: 1px;
}

/* ── Header mobile — compact switchers ── */
@media (max-width: 640px) {
  .header-inner { gap: 0.375rem; padding: 0 1rem; }

  /* Logo smaller on mobile */
  .site-logo img { height: 36px; }

  /* Hide text labels + chevrons — keep only flag/globe icon */
  .lang-trigger-globe { font-size: 1rem; }
  .lang-trigger-code,
  .lang-chevron { display: none !important; }

  .currency-trigger-flag { font-size: 1rem; }
  .currency-trigger-code,
  .currency-chevron { display: none !important; }

  /* Tighter button padding */
  .lang-trigger,
  .currency-trigger {
    padding: 0.3rem 0.4rem !important;
    gap: 0 !important;
    min-width: 0;
  }

  /* Cart icon slightly smaller */
  .cart-link svg { width: 20px; height: 20px; }
}

@media (max-width: 380px) {
  /* Ultra-small: also hide globe, keep only lang code (2 chars) */
  .lang-trigger-globe { display: none !important; }
  .lang-trigger-code { display: inline !important; font-size: 0.7rem; }
}

/* ── Tours carousel — mobile only ── */
@media (max-width: 768px) {
  .tours-carousel {
    position: relative;
  }

  /* Transform grid → horizontal scroll snap track */
  .tours-carousel .tours-grid {
    display: flex !important;
    flex-direction: row;
    gap: 1rem;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* bleed out of container so cards peek at the edge */
    padding: 0.25rem var(--container-pad, 1.25rem) 1rem;
    margin: 0 calc(-1 * var(--container-pad, 1.25rem));
  }
  .tours-carousel .tours-grid::-webkit-scrollbar { display: none; }

  /* Each card: 84% wide so next card peeks */
  .tours-carousel .tour-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
    min-width: 0;
    opacity: 0.85;
    transition: opacity 0.3s;
  }
  .tours-carousel .tour-card.is-active { opacity: 1; }

  /* Dots */
  .tours-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  .tours-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0,0,0,0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s, width 0.25s;
    flex-shrink: 0;
  }
  .tours-dot.is-active {
    background: var(--terra, #b05c3a);
    transform: scale(1.25);
    width: 20px;
    border-radius: 4px;
  }
}

/* On desktop: dots hidden, grid stays as-is */
@media (min-width: 769px) {
  .tours-dots { display: none; }
}

/* ── Header-switchers — 2-col grid on mobile ── */
.header-switchers {
  display: contents; /* transparent on desktop — no layout change */
}

@media (max-width: 640px) {
  .header-switchers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    flex-shrink: 0;
  }

  /* Restore display:block on the switcher wrappers so they fill the cell */
  .header-switchers .lang-switcher,
  .header-switchers .currency-switcher {
    display: block;
    position: relative;
  }

  /* Full-width compact buttons */
  .header-switchers .lang-trigger,
  .header-switchers .currency-trigger {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.28rem 0.4rem !important;
    gap: 0.3rem !important;
    font-size: 0.7rem !important;
    border-radius: 6px;
  }

  /* Keep text codes visible (re-enable what we hid before) */
  .header-switchers .lang-trigger-code,
  .header-switchers .currency-trigger-code {
    display: inline !important;
    font-size: 0.68rem !important;
  }
  .header-switchers .lang-trigger-globe { display: inline !important; font-size: 0.85rem; }
  .header-switchers .currency-trigger-flag { font-size: 0.85rem; }
  /* No chevron — save space */
  .header-switchers .lang-chevron,
  .header-switchers .currency-chevron { display: none !important; }

  /* Dropdown stays full-width anchored to left edge of cell */
  .header-switchers .lang-dropdown,
  .header-switchers .currency-dropdown {
    min-width: 160px;
    left: 0;
    right: auto;
  }
}

/* ── Social mosaic carousel — mobile only ── */
@media (max-width: 768px) {
  .social-carousel {
    position: relative;
    /* Bleed to edges */
    margin: 0 calc(-1 * var(--container-pad, 1.25rem));
  }

  /* Override mosaic grid → horizontal scroll snap */
  .social-carousel .social-mosaic {
    display: flex !important;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    /* reset any grid styles */
    grid-template-columns: unset !important;
  }
  .social-carousel .social-mosaic::-webkit-scrollbar { display: none; }

  /* Each slide: full-width */
  .social-carousel .social-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 72vw;
    max-height: 420px;
    object-fit: cover;
    scroll-snap-align: start;
    border-radius: 0;
    display: block;
    /* reset grid-column from mosaic layout */
    grid-column: unset !important;
    grid-row: unset !important;
  }

  /* Dots */
  .social-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 0 0.25rem;
  }
  .social-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0,0,0,0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s, width 0.25s;
    flex-shrink: 0;
  }
  .social-dot.is-active {
    background: var(--terra, #b05c3a);
    transform: scale(1.25);
    width: 20px;
    border-radius: 4px;
  }
}

@media (min-width: 769px) {
  .social-dots { display: none; }
  .social-carousel { margin: 0; }
}

/* =========================================
   BASECAMP SECTION
   ========================================= */
.basecamp-section {
  background-color: var(--bg);
}

.section.basecamp-section .basecamp-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.basecamp-section .eyebrow {
  display: block;
  margin-bottom: 0.25rem;
}

.basecamp-section .eyebrow::after {
  content: '';
  display: block;
  width: 2.25rem;
  height: 2px;
  background-color: var(--terra);
  border-radius: 1px;
  margin-top: 0.625rem;
  margin-bottom: 0;
}

.basecamp-content { align-self: center; }

.basecamp-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.basecamp-desc {
  color: var(--gray-600);
  font-size: var(--fs-base);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

/* Feature cards */
.basecamp-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.basecamp-features li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--divider);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text);
  line-height: 1.35;
}
.basecamp-features li:nth-child(-n+2) { border-top: 1px solid var(--divider); }
.basecamp-features li:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--divider); }

.bcf-icon svg, .hostel-inc-icon svg { stroke-width: 1.8; }
.bcf-icon {
  color: var(--green-dark);
  flex-shrink: 0;
}

/* CTA row */
.basecamp-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn-basecamp {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.8125rem 1.75rem;
  background-color: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.15s;
}

.btn-basecamp:hover {
  background-color: var(--green);
  color: var(--white);
  transform: translateY(-1px);
}

.basecamp-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--gray-600);
}

.basecamp-location svg {
  color: var(--terra);
  flex-shrink: 0;
}

/* Gallery mosaic */
.basecamp-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.625rem;
  height: 100%;
  min-height: 380px;
}

.basecamp-gallery-main {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.basecamp-gallery-main img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.basecamp-gallery-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(20, 40, 40, 0.75);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(4px);
  line-height: 1.4;
}

.basecamp-gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  height: 100%;
}

.basecamp-gallery-stack img {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  height: 0 !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .basecamp-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .section.basecamp-section .basecamp-inner {
    grid-template-columns: 1fr !important;
  }

  .basecamp-gallery {
    height: 360px;
    order: -1;
  }
}

@media (max-width: 540px) {
  .basecamp-gallery {
    height: 260px;
  }

  .basecamp-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================
   HOSTEL PAGE
   ========================================= */

/* Hero */
.hostel-hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  max-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hostel-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.03);
}
.hostel-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,35,35,0.85) 0%, rgba(15,35,35,0.35) 55%, rgba(0,0,0,0.1) 100%);
}
.hostel-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-xl);
  color: var(--white);
}
.hostel-eyebrow {
  color: var(--terra) !important;
  margin-bottom: 0.75rem;
}
.hostel-hero-content h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hostel-hero-sub {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  max-width: 42ch;
}

/* Chapter sections */
.hostel-chapter {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--gray-100);
}
.hostel-chapter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.hostel-chapter--alt .hostel-chapter-inner {
  direction: rtl;
}
.hostel-chapter--alt .hostel-chapter-inner > * {
  direction: ltr;
}
.hostel-chapter-body h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.hostel-chapter-body p {
  color: var(--gray-600);
  line-height: 1.75;
  font-size: var(--fs-base);
  margin-bottom: 1rem;
}
.hostel-chapter-body p:last-child { margin-bottom: 0; }

/* Mosaic (1 big + 2 small stacked) */
.hostel-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.625rem;
  height: 440px;
}
.hostel-mosaic-main {
  grid-row: 1 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.hostel-mosaic-sm {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  min-height: 0;
}

/* Column mosaic (stacked vertically, no big/small distinction) */
.hostel-mosaic--col {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  height: 420px;
}
.hostel-mosaic--col img {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

/* Facilities grid */
.hostel-facilities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}
.hostel-facilities li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text);
}
.hostel-facilities li svg {
  flex-shrink: 0;
  color: var(--green-dark);
}

/* Checklist */
.hostel-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.hostel-checklist li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--fs-base);
  color: var(--text);
}
.hostel-checklist li::before {
  content: '';
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center;
}

/* Includes section */
.hostel-includes {
  padding: var(--space-2xl) 0;
  background: var(--gray-100);
}
.hostel-includes-hd {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.hostel-includes-hd h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.hostel-includes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.hostel-inc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--text);
  line-height: 1.5;
}
.hostel-inc-icon {
  width: 3rem;
  height: 3rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  flex-shrink: 0;
}

/* CTA block */
.hostel-cta-block {
  background: var(--green-dark);
  padding: var(--space-2xl) 0;
  color: var(--white);
}
.hostel-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.hostel-cta-eyebrow {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.75rem;
}
.hostel-cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hostel-cta-content p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.hostel-cta-btn {
  background: var(--terra) !important;
  color: #1a2a1a !important;
}
.hostel-cta-btn:hover {
  background: #b8d066 !important;
}
.hostel-trust-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.hostel-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-size: var(--fs-sm);
}
.hostel-trust-item svg { color: var(--terra); flex-shrink: 0; }
.hostel-trust-item strong { font-weight: var(--fw-semibold); }
.hostel-team-photos {
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 180px;
}
.hostel-team-photos img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center 20%;
}

/* Responsive */
@media (max-width: 900px) {
  .hostel-chapter-inner {
    grid-template-columns: 1fr;
  }
  .hostel-chapter--alt .hostel-chapter-inner {
    direction: ltr;
  }
  /* Text before image on alt sections in mobile */
  .hostel-chapter--alt .hostel-chapter-body {
    order: -1;
  }
  .hostel-mosaic,
  .hostel-mosaic--col {
    height: 320px;
  }
  .hostel-facilities {
    grid-template-columns: 1fr;
  }
  .hostel-includes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hostel-cta-inner {
    grid-template-columns: 1fr;
  }
}
/* Stack mosaic images vertically on small screens */
@media (max-width: 640px) {
  .hostel-mosaic {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 0.5rem;
  }
  .hostel-mosaic-main {
    height: 220px;
    flex: none;
    width: 100%;
    grid-row: auto;
  }
  .hostel-mosaic-sm {
    height: 150px;
    flex: none;
    width: 100%;
  }
  .hostel-mosaic--col {
    height: auto;
    gap: 0.5rem;
  }
  .hostel-mosaic--col img {
    flex: none;
    height: 160px;
    width: 100%;
  }
}
@media (max-width: 540px) {
  .hostel-includes-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================
   FINAL CTA SECTION
   ========================================= */
.final-cta-section {
  background: var(--green-dark);
  padding: 3.5rem var(--container-pad);
  text-align: center;
}
.final-cta-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
.final-cta-eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: var(--space-sm);
}
.final-cta-h2 {
  color: var(--white);
  font-size: clamp(var(--fs-2xl), 5vw, var(--fs-4xl));
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}
.final-cta-section .btn-terra { font-size: var(--fs-md); padding: 1rem 2.5rem; }


/* =============================================
   SCROLL-DRIVEN REVEAL ANIMATIONS  (v1)
   CSS Scroll-driven Animations — Chrome/Safari
   Firefox gracefully receives static layout
   ============================================= */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {

    /* ── Keyframes ── */
    @keyframes ifhl-reveal {
      from { opacity: 0; translate: 0 28px; }
      to   { opacity: 1; translate: 0 0; }
    }
    @keyframes ifhl-reveal-l {
      from { opacity: 0; translate: -28px 0; }
      to   { opacity: 1; translate: 0 0; }
    }
    @keyframes ifhl-reveal-r {
      from { opacity: 0; translate: 28px 0; }
      to   { opacity: 1; translate: 0 0; }
    }
    @keyframes ifhl-scale-up {
      from { opacity: 0; scale: 0.96; }
      to   { opacity: 1; scale: 1; }
    }

    /* ── Section headings ── */
    .section-hd {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }

    /* ── Section-level reveals ── */
    .reviews-section,
    .instagram-section {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }

    /* ── Featured tour: scale reveal ── */
    .featured-section {
      animation: ifhl-scale-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }

    /* ── Experience / map section ── */
    .experience-section {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }

    /* ── Basecamp: content slides from left, gallery from right ── */
    .basecamp-content {
      animation: ifhl-reveal-l linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .basecamp-gallery {
      animation: ifhl-reveal-r linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }

    /* ── Homepage tour cards (3-col stagger) ── */
    .tours-section .tour-card {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .tours-section .tour-card:nth-child(3n+2) { animation-range: entry 8% entry 48%; }
    .tours-section .tour-card:nth-child(3n)   { animation-range: entry 16% entry 56%; }

    /* ── Why-us items (4-col stagger) ── */
    .why-item {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .why-section .why-item:nth-child(2) { animation-range: entry 8%  entry 48%; }
    .why-section .why-item:nth-child(3) { animation-range: entry 16% entry 56%; }
    .why-section .why-item:nth-child(4) { animation-range: entry 24% entry 64%; }

    /* ── Blog cards (3-col stagger) ── */
    .blog-card {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .blog-section .blog-card:nth-child(2) { animation-range: entry 12% entry 52%; }
    .blog-section .blog-card:nth-child(3) { animation-range: entry 24% entry 64%; }

    /* ── FAQ items (sequential stagger) ── */
    .faq-item {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
    .faq-section .faq-item:nth-child(2) { animation-range: entry 5%  entry 40%; }
    .faq-section .faq-item:nth-child(3) { animation-range: entry 10% entry 45%; }
    .faq-section .faq-item:nth-child(4) { animation-range: entry 15% entry 50%; }
    .faq-section .faq-item:nth-child(5) { animation-range: entry 20% entry 55%; }
    .faq-section .faq-item:nth-child(6) { animation-range: entry 25% entry 60%; }
    .faq-section .faq-item:nth-child(7) { animation-range: entry 30% entry 65%; }

    /* ── Final CTA ── */
    .final-cta-section {
      animation: ifhl-scale-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 50%;
    }
    .final-cta-inner {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 50%;
    }

    /* ── Page Tours: listing header + glossary ── */
    .pt-listing-hd {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
    .pt-type-glossary {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }

    /* ── Page Tours: tour cards (3-col stagger) ── */
    .ptc {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .pt-cards .ptc:nth-child(3n+2) { animation-range: entry 8%  entry 48%; }
    .pt-cards .ptc:nth-child(3n)   { animation-range: entry 16% entry 56%; }

  }
}


/* =============================================
   SCROLL-DRIVEN REVEAL ANIMATIONS  (v1)
   CSS Scroll-driven Animations — Chrome/Safari
   Firefox gracefully receives static layout
   ============================================= */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {

    /* ── Keyframes ── */
    @keyframes ifhl-reveal {
      from { opacity: 0; translate: 0 28px; }
      to   { opacity: 1; translate: 0 0; }
    }
    @keyframes ifhl-reveal-l {
      from { opacity: 0; translate: -28px 0; }
      to   { opacity: 1; translate: 0 0; }
    }
    @keyframes ifhl-reveal-r {
      from { opacity: 0; translate: 28px 0; }
      to   { opacity: 1; translate: 0 0; }
    }
    @keyframes ifhl-scale-up {
      from { opacity: 0; scale: 0.96; }
      to   { opacity: 1; scale: 1; }
    }

    /* ── Section headings ── */
    .section-hd {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }

    /* ── Section-level reveals ── */
    .reviews-section,
    .instagram-section {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }

    /* ── Featured tour: scale reveal ── */
    .featured-section {
      animation: ifhl-scale-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }

    /* ── Experience / map section ── */
    .experience-section {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }

    /* ── Basecamp: content slides from left, gallery from right ── */
    .basecamp-content {
      animation: ifhl-reveal-l linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .basecamp-gallery {
      animation: ifhl-reveal-r linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }

    /* ── Homepage tour cards (3-col stagger) ── */
    .tours-section .tour-card {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .tours-section .tour-card:nth-child(3n+2) { animation-range: entry 8% entry 48%; }
    .tours-section .tour-card:nth-child(3n)   { animation-range: entry 16% entry 56%; }

    /* ── Why-us items (4-col stagger) ── */
    .why-item {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .why-section .why-item:nth-child(2) { animation-range: entry 8%  entry 48%; }
    .why-section .why-item:nth-child(3) { animation-range: entry 16% entry 56%; }
    .why-section .why-item:nth-child(4) { animation-range: entry 24% entry 64%; }

    /* ── Blog cards (3-col stagger) ── */
    .blog-card {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .blog-section .blog-card:nth-child(2) { animation-range: entry 12% entry 52%; }
    .blog-section .blog-card:nth-child(3) { animation-range: entry 24% entry 64%; }

    /* ── FAQ items (sequential stagger) ── */
    .faq-item {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
    .faq-section .faq-item:nth-child(2) { animation-range: entry 5%  entry 40%; }
    .faq-section .faq-item:nth-child(3) { animation-range: entry 10% entry 45%; }
    .faq-section .faq-item:nth-child(4) { animation-range: entry 15% entry 50%; }
    .faq-section .faq-item:nth-child(5) { animation-range: entry 20% entry 55%; }
    .faq-section .faq-item:nth-child(6) { animation-range: entry 25% entry 60%; }
    .faq-section .faq-item:nth-child(7) { animation-range: entry 30% entry 65%; }

    /* ── Final CTA ── */
    .final-cta-section {
      animation: ifhl-scale-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 50%;
    }
    .final-cta-inner {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 50%;
    }

    /* ── Page Tours: listing header + glossary ── */
    .pt-listing-hd {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
    .pt-type-glossary {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }

    /* ── Page Tours: tour cards (3-col stagger) ── */
    .ptc {
      animation: ifhl-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .pt-cards .ptc:nth-child(3n+2) { animation-range: entry 8%  entry 48%; }
    .pt-cards .ptc:nth-child(3n)   { animation-range: entry 16% entry 56%; }

  }
}


/* ── NAV OPEN: hide Elementor floating buttons + Leaflet controls ── */
body.nav-open .e-contact-buttons { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .15s; }
body.nav-open .leaflet-control-container { visibility: hidden; }
body.nav-open .leaflet-container { z-index: 0 !important; }


/* === SOCIAL MOSAIC FINAL OVERRIDE === */
.social-section .social-mosaic {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr !important;
  grid-template-rows: repeat(3, 160px) !important;
  gap: 0.5rem !important;
}
.social-section .social-mosaic img.mosaic-main {
  grid-column: 1 !important;
  grid-row: 1 / 4 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  aspect-ratio: unset !important;
  border-radius: var(--radius-md) !important;
  display: block !important;
}
.social-section .social-mosaic img.mosaic-sm {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: var(--radius-md) !important;
  display: block !important;
}
@media (max-width: 768px) {
  .social-section .social-mosaic {
    grid-template-rows: repeat(3, 100px) !important;
  }
}
