/*
Theme Name: Berber Travel Majesty
Theme URI: https://berber-travel-majesty.com
Author: Berber Travel Majesty
Author URI: https://berber-travel-majesty.com
Description: A premium WordPress theme for Berber Travel Majesty – a Marrakech-based travel agency specialising in private guided Sahara tours, imperial city tours, and day excursions. Features custom tour listings, a community social feed, AJAX booking forms, and full Schema.org SEO output.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: berber-travel
Tags: travel, tours, community, responsive, custom-post-types
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --color-sand:       #C9A96E;
  --color-sand-dark:  #A8843A;
  --color-sand-light: #E8D9C0;
  --color-terra:      #8B3A2A;
  --color-terra-dark: #6B2D1F;
  --color-moroccan-red: #C41E3A;
  --color-moroccan-gold: #D4AF37;
  --color-moroccan-green: #006233;
  --color-ink:        #0F0E0C;
  --color-ink-muted:  #4A4744;
  --color-ink-inverse: rgba(255,255,255,0.9);
  --color-bg:         #FDFAF5;
  --color-bg-warm:    #F7F0E6;
  --color-bg-card:    #FFFFFF;
  --color-white:      #FFFFFF;
  --color-border:     #E3D8C8;
  --color-success:    #2D7A4F;
  --color-error:      #B83232;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --shadow-sm:  0 2px 8px rgba(15,14,12,0.08);
  --shadow-md:  0 4px 20px rgba(15,14,12,0.12);
  --shadow-lg:  0 8px 40px rgba(15,14,12,0.16);

  --transition: 0.25s ease;
  --transition-base: 0.25s ease;
  --max-width: 1240px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

img, video { max-width: 100%; height: auto; display: block; }

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

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--color-ink);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-terra);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--color-ink-muted);
  font-size: 1.1rem;
  max-width: 640px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding-block: var(--btm-section-padding, 5rem); }
.section--sm { padding-block: 3rem; }
.section--lg { padding-block: 7rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

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

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(253,250,245,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 2rem;
}

.site-logo {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo .logo-accent  { color: var(--color-terra); }
.site-logo .logo-majesty { color: var(--color-sand); font-style: italic; font-size: 0.9em; }
.site-logo .logo-main    { color: var(--color-ink); }

.main-nav { flex: 1; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--color-terra);
  background: rgba(139,58,42,0.07);
}

.nav-menu .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  padding: 0.5rem;
}

.nav-menu > li:hover .dropdown-menu,
.nav-menu > li:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--color-ink-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.dropdown-menu li a:hover {
  color: var(--color-terra);
  background: var(--color-bg-warm);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-whatsapp-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.btn-whatsapp-nav:hover { background: #1EB858; color: #fff; transform: scale(1.03); }
.btn-whatsapp-nav svg { width: 16px; height: 16px; fill: currentColor; }

.btn-auth {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-ink-muted);
  transition: all var(--transition);
}
.btn-auth:hover { border-color: var(--color-terra); color: var(--color-terra); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 1050px) {
  .hamburger { display: flex; }
  .main-nav {
    display: none;
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    background: var(--color-bg);
    padding: 1.5rem;
    overflow-y: auto;
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: block; }
  .nav-menu { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { font-size: 1.1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); }
  .nav-menu .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--color-sand);
    background: transparent;
    border-radius: 0;
    padding-left: 1rem;
    display: none;
  }
  .nav-menu > li.open .dropdown-menu { display: block; }

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
  }
  .btn-mobile-nav {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
  }
  .btn-mobile-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-ink);
    background: var(--color-white);
    text-align: center;
  }
  .btn-mobile-auth:hover {
    border-color: var(--color-terra);
    color: var(--color-terra);
  }
}

.mobile-nav-actions {
  display: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--button-radius, var(--radius-sm));
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: var(--color-terra);
  color: var(--color-white);
  border-color: var(--color-terra);
}
.btn-primary:hover {
  background: var(--color-terra-dark);
  border-color: var(--color-terra-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(139,58,42,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--color-terra);
  border-color: var(--color-terra);
}
.btn-secondary:hover {
  background: var(--color-terra);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sand {
  background: var(--color-sand);
  color: var(--color-ink);
  border-color: var(--color-sand);
}
.btn-sand:hover {
  background: #B8956A;
  border-color: #B8956A;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1EB858;
  border-color: #1EB858;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,14,12,var(--hero-overlay-opacity, 0.75)) 0%, rgba(139,58,42,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  padding: 4rem 1.25rem;
  color: var(--color-white);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-sand);
  margin-bottom: 1.25rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: 100px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--color-sand); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 2rem;
}

.hero-stat { text-align: center; }
.hero-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-sand);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--color-ink);
  padding: 1.25rem 0;
  overflow: hidden;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-sand);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.trust-item svg { width: 20px; height: 20px; fill: var(--color-sand); opacity: 0.8; }

/* ============================================================
   CARDS - Tours
   ============================================================ */
.tour-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

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

.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tour-card:hover .tour-card-image img { transform: scale(1.06); }

.tour-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: var(--color-terra);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
}

.tour-card-type {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: rgba(253,250,245,0.92);
  color: var(--color-ink);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 100px;
}

.tour-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tour-card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.tour-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--color-ink-muted);
}
.tour-meta-item svg { width: 14px; height: 14px; fill: var(--color-sand); }

.tour-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  flex: 1;
}

.tour-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-ink-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.tour-price-block {}
.tour-price-old {
  font-size: 0.8rem;
  color: var(--color-ink-muted);
  text-decoration: line-through;
}
.tour-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-terra);
}
.tour-price-label { font-size: 0.75rem; color: var(--color-ink-muted); }

/* ============================================================
   FEATURED TOURS — SLIDER
   ============================================================ */

/* Outer wrapper: clips the overflowing track */
.tour-slider {
  position: relative;
  overflow: hidden;
  /* side padding so arrow buttons sit outside the card area */
  padding: 0 3rem;
  /* let arrows breathe below on mobile */
  padding-bottom: 3rem;
}

/* Flex track — JS sets transform to slide */
.tour-slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  touch-action: pan-y;
  /* Disable text selection while dragging */
  user-select: none;
  -webkit-user-select: none;
}

/* Individual slide wrapper — JS sets width */
.tour-slider-slide {
  flex: none;        /* width set by JS */
  min-width: 0;
  padding: 0 0.75rem;
  box-sizing: border-box;
}

.community-slider-track {
  align-items: stretch;
}

.community-slider-slide {
  display: flex;
}

.community-slider-slide .community-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.community-slider-slide .community-card-body {
  flex: 1 1 auto;
}

.btm-blog-slider-track {
  align-items: stretch;
}

.btm-blog-slider-slide {
  display: flex;
}

.btm-blog-slider-slide .btm-blog-card {
  width: 100%;
  height: 100%;
}

/* Make the article fill its slide perfectly */
.tour-slider-slide .tour-card {
  height: 100%;
}

/* ---- Arrow buttons ---- */
.tour-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 1.5rem)); /* shift up half of dot-area */
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-sand);
  background: var(--color-white);
  color: var(--color-terra);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: var(--shadow-sm);
  padding: 0;
}

.tour-slider-btn:hover:not(:disabled) {
  background: var(--color-terra);
  border-color: var(--color-terra);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.tour-slider-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.tour-slider-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.tour-slider-prev { left: 0; }
.tour-slider-next { right: 0; }

/* ---- Dot indicators ---- */
.tour-slider-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.5rem;
}

.tour-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-sand-light);
  border: 2px solid var(--color-sand);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  padding: 0;
  flex-shrink: 0;
}

.tour-slider-dot.active,
.tour-slider-dot:hover {
  background: var(--color-terra);
  border-color: var(--color-terra);
  transform: scale(1.25);
}

.tour-slider-toggle {
  position: absolute;
  right: 3rem;
  bottom: 0.75rem;
  z-index: 10;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 1px solid var(--color-sand);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-terra);
  cursor: pointer;
  font-size: 0.75rem;
  line-height: 1;
}

.tour-slider-toggle:hover,
.tour-slider-toggle:focus-visible {
  border-color: var(--color-terra);
  background: var(--color-terra);
  color: var(--color-white);
}

/* ---- Responsive overrides ---- */

/* Tablet: 2 visible — arrow position stays fine, slightly tighter padding */
@media (max-width: 900px) {
  .tour-slider { padding: 0 2.75rem 3rem; }
  .tour-slider-btn {
    width: 40px;
    height: 40px;
  }
}

/* Mobile: 1 card full-width, arrows become smaller and stay comfortably outside */
@media (max-width: 600px) {
  .tour-slider { padding: 0 2.5rem 3rem; }
  .tour-slider-btn {
    width: 36px;
    height: 36px;
  }
  .tour-slider-btn svg { width: 16px; height: 16px; }
}

/* ============================================================
   DESTINATION GRID
   ============================================================ */
.destination-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
}

.destination-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.destination-card:hover img { transform: scale(1.08); }

.destination-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,14,12,0.8) 0%, transparent 60%);
}

.destination-card-content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  color: #fff;
}

.destination-card-content h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.destination-card-content span {
  font-size: 0.8rem;
  color: var(--color-sand);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-sand-light);
}

.why-icon {
  width: 56px;
  height: 56px;
  background: var(--color-bg-warm);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.why-icon svg { width: 28px; height: 28px; fill: var(--color-terra); }

.why-card h4 { margin-bottom: 0.5rem; }
.why-card p { font-size: 0.875rem; color: var(--color-ink-muted); }

/* ============================================================
   COMMUNITY CARDS
   ============================================================ */
.community-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.community-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
}

.community-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-white);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.community-avatar img { width: 100%; height: 100%; object-fit: cover; }

.community-user-name { font-weight: 600; font-size: 0.9rem; }
.community-user-date { font-size: 0.75rem; color: var(--color-ink-muted); }

.community-card-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg-warm);
}
.community-card-media img,
.community-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-card-body { padding: 1rem 1.25rem; }

.community-card-text {
  font-size: 0.875rem;
  color: var(--color-ink-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.community-card-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--color-border);
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--color-ink-muted);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.action-btn:hover { color: var(--color-terra); }
.action-btn svg { width: 18px; height: 18px; }

.action-btn.like-btn.liked { color: #e03030; }
.action-btn.like-btn.liked svg { fill: #e03030; }

.share-dropdown {
  position: relative;
  margin-left: auto;
}

.share-dropdown-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  padding: 0.5rem;
  display: none;
  z-index: 10;
}

.share-dropdown.open .share-dropdown-menu { display: block; }

.share-dropdown-menu a,
.share-dropdown-menu button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: var(--color-ink-muted);
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  text-align: left;
  transition: background var(--transition);
}
.share-dropdown-menu a:hover,
.share-dropdown-menu button:hover {
  background: var(--color-bg-warm);
  color: var(--color-terra);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: var(--color-sand);
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--color-ink-muted);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

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

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-sand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-terra);
  font-size: 0.9rem;
}

.testimonial-author-info strong { font-size: 0.875rem; display: block; }
.testimonial-author-info span { font-size: 0.775rem; color: var(--color-ink-muted); }

/* ============================================================
   TOUR ARCHIVE PAGE
   ============================================================ */
.archive-hero {
  background: linear-gradient(135deg, var(--color-ink) 0%, #2A1A10 100%);
  padding: 5rem 0 4rem;
  color: #fff;
  text-align: center;
}

.archive-hero h1 { color: #fff; }
.archive-hero p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0.75rem auto 0; }

.filter-bar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
}

.filter-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.45rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-ink-muted);
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--color-terra);
  border-color: var(--color-terra);
  color: #fff;
}

/* ============================================================
   SINGLE TOUR PAGE
   ============================================================ */
.tour-hero {
  position: relative;
  height: 65vh;
  min-height: 400px;
  overflow: hidden;
}

.tour-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,14,12,0.7) 0%, transparent 60%);
}

.tour-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  color: #fff;
}

.tour-hero-content h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); }

.quick-facts {
  display: flex;
  gap: 2rem;
  background: var(--color-white);
  padding: 1.25rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
  border: 1px solid var(--color-border);
  margin: -2rem 0 2.5rem;
  position: relative;
  z-index: 1;
}

.quick-fact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.quick-fact svg { width: 18px; height: 18px; fill: var(--color-terra); }
.quick-fact strong { color: var(--color-ink); }
.quick-fact span { color: var(--color-ink-muted); }

.tour-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .tour-layout { grid-template-columns: 1fr; }
}

.tour-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
}

.price-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}

.price-card-header { margin-bottom: 1.25rem; }
.price-card-label { font-size: 0.8rem; color: var(--color-ink-muted); margin-bottom: 0.25rem; }
.price-card-old { font-size: 0.9rem; color: var(--color-ink-muted); text-decoration: line-through; }
.price-card-price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-terra);
  line-height: 1;
}
.price-card-price-label { font-size: 0.8rem; color: var(--color-ink-muted); margin-top: 0.25rem; }

.price-card-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.price-card-actions .btn { width: 100%; }

.price-card-features { margin-top: 1.25rem; border-top: 1px solid var(--color-border); padding-top: 1.25rem; }
.price-card-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-ink-muted);
  margin-bottom: 0.5rem;
}
.price-card-feature svg { width: 16px; height: 16px; fill: var(--color-success); flex-shrink: 0; }

/* Itinerary */
.itinerary { margin: 2.5rem 0; }
.itinerary-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.5rem; }

.itinerary-day {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.day-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--color-terra);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.itinerary-day::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: -1.5rem;
  width: 2px;
  background: var(--color-sand-light);
}
.itinerary-day:last-child::before { display: none; }

.day-content { flex: 1; padding-top: 0.5rem; }
.day-content h4 { font-size: 1rem; margin-bottom: 0.35rem; }
.day-content p { font-size: 0.875rem; color: var(--color-ink-muted); }

/* Inclusions / Exclusions */
.inc-exc { margin: 2.5rem 0; }
.inc-exc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 600px) { .inc-exc-grid { grid-template-columns: 1fr; } }

.inc-list, .exc-list { }
.inc-list h4, .exc-list h4 { margin-bottom: 1rem; font-size: 1rem; }
.inc-list li, .exc-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--color-ink-muted);
}
.inc-list .inc-icon { color: var(--color-success); font-weight: 700; flex-shrink: 0; }
.exc-list .exc-icon { color: var(--color-error); font-weight: 700; flex-shrink: 0; }

/* Gallery */
.tour-gallery { margin: 2.5rem 0; }
.gallery-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.25rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

/* Booking Form */
.booking-form-section { margin: 2.5rem 0; }
.form-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.25rem; }

.booking-form,
.contact-form,
.community-submit-form {
  display: grid;
  gap: 1rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-ink);
}

.form-control {
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-ink);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--color-sand);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.2);
}

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

.form-message {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  display: none;
}
.form-message.success { background: #D4EDDA; color: #155724; display: block; }
.form-message.error   { background: #F8D7DA; color: #721C24; display: block; }

/* ============================================================
   COMMUNITY SUBMISSION FORM
   ============================================================ */
.community-submit {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.community-submit h3 { margin-bottom: 1.25rem; font-size: 1.25rem; }

.login-prompt {
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.06); }

.blog-card-body { padding: 1.5rem; }
.blog-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-terra);
  margin-bottom: 0.5rem;
}
.blog-card-title { margin-bottom: 0.5rem; font-size: 1.1rem; }
.blog-card-excerpt { font-size: 0.85rem; color: var(--color-ink-muted); margin-bottom: 1rem; }
.blog-card-meta { font-size: 0.775rem; color: var(--color-ink-muted); display: flex; gap: 1rem; }

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-hero {
  height: 50vh;
  min-height: 320px;
  overflow: hidden;
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; }

.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .post-layout { grid-template-columns: 1fr; } }

.post-sidebar { position: sticky; top: calc(var(--nav-height) + 1.5rem); }

.post-content { max-width: 700px; }
.post-content h2, .post-content h3 { margin: 2rem 0 1rem; }
.post-content p { margin-bottom: 1.25rem; color: var(--color-ink-muted); }
.post-content ul, .post-content ol { margin: 1rem 0 1.25rem 1.5rem; color: var(--color-ink-muted); }
.post-content li { margin-bottom: 0.35rem; }
.post-content img { border-radius: var(--radius-md); margin: 1.5rem 0; }
.post-content blockquote {
  border-left: 4px solid var(--color-sand);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--color-bg-warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--color-ink-muted);
}

.reading-time { font-size: 0.8rem; color: var(--color-ink-muted); margin-bottom: 1.5rem; }
.post-meta { color: var(--color-ink-muted); font-size: 0.85rem; margin-bottom: 2rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }

.author-box {
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  margin-top: 3rem;
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-weight: 700; margin-bottom: 0.25rem; }
.author-bio { font-size: 0.85rem; color: var(--color-ink-muted); }

.post-share { margin: 2rem 0; }
.post-share h5 { margin-bottom: 0.75rem; font-size: 0.875rem; }
.share-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.share-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  transition: opacity var(--transition);
}
.share-link:hover { opacity: 0.85; color: #fff; }
.share-link.whatsapp { background: #25D366; }
.share-link.facebook { background: #1877F2; }
.share-link.twitter  { background: #000; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-ink);
  color: rgba(255,255,255,0.75);
  padding-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  display: block;
}
.footer-brand-logo .accent { color: var(--color-sand); }

.footer-tagline { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--color-sand); color: var(--color-ink); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sand);
  margin-bottom: 1.25rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-sand); }

.footer-contact-item {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--color-sand); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.payment-badges { display: flex; gap: 0.5rem; align-items: center; }
.payment-badge {
  background: rgba(255,255,255,0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-section { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--color-border); }
.comments-section h3 { margin-bottom: 1.5rem; }

.comment-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.comment-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.comment-body { flex: 1; }
.comment-author { font-weight: 600; font-size: 0.875rem; margin-bottom: 0.2rem; }
.comment-date { font-size: 0.75rem; color: var(--color-ink-muted); margin-bottom: 0.5rem; }
.comment-text { font-size: 0.875rem; color: var(--color-ink-muted); line-height: 1.6; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-widget {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h4 { font-size: 1rem; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--color-border); }

.related-post {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.related-post:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.related-post-thumb { width: 64px; height: 64px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.related-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-post-title { font-size: 0.825rem; font-weight: 600; line-height: 1.4; }
.related-post-date { font-size: 0.75rem; color: var(--color-ink-muted); margin-top: 0.25rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--btm-cta-background, var(--color-terra)) 0%, var(--color-terra-dark) 100%);
  padding-block: var(--btm-section-padding, 5rem);
  text-align: center;
  color: #fff;
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 2rem; }
.cta-banner .btn-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  padding: 0.75rem 0;
  font-size: 0.8rem;
  color: var(--color-ink-muted);
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--color-ink-muted); }
.breadcrumbs a:hover { color: var(--color-terra); }
.breadcrumbs .sep { opacity: 0.4; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 2.5rem 0;
  flex-wrap: wrap;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--color-ink-muted);
  transition: all var(--transition);
}
.page-link:hover, .page-link.current {
  background: var(--color-terra);
  border-color: var(--color-terra);
  color: #fff;
}

/* ============================================================
   NOTICES
   ============================================================ */
.notice {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.notice-info    { background: #EFF6FF; color: #1D4ED8; border-left: 4px solid #3B82F6; }
.notice-success { background: #F0FDF4; color: #166534; border-left: 4px solid #22C55E; }
.notice-warning { background: #FFFBEB; color: #92400E; border-left: 4px solid #F59E0B; }

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-lead { margin-inline: auto; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--color-ink-muted); }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 700px) { .contact-cards { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.contact-card .icon {
  width: 52px;
  height: 52px;
  background: var(--color-bg-warm);
  border-radius: var(--radius-md);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card .icon svg { width: 26px; height: 26px; fill: var(--color-terra); }
.contact-card h4 { margin-bottom: 0.4rem; }
.contact-card p, .contact-card a { font-size: 0.875rem; color: var(--color-ink-muted); }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.map-embed iframe { display: block; width: 100%; height: 400px; }

/* ============================================================
   PROFILE / AUTH PAGES
   ============================================================ */
.auth-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
}
.auth-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-md);
}

/* ============================================================
   FLOATING BOOK NOW FAB BUTTON
   ============================================================ */

.btm-fab {
  position: fixed !important;
  bottom: 24px !important;
  right: 20px !important;
  z-index: 999999 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  padding: 0.8rem 1.4rem 0.8rem 1.1rem !important;
  background: #25D366 !important;
  background: linear-gradient(135deg, #25D366 0%, #1da851 100%) !important;
  color: #ffffff !important;
  border-radius: 100px !important;
  text-decoration: none !important;
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
  white-space: nowrap !important;
  isolation: isolate !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.btm-fab::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid #25D366;
  opacity: 0;
  animation: btm-fab-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes btm-fab-pulse {
  0%   { opacity: 0.7; transform: scale(0.96); }
  60%  { opacity: 0;   transform: scale(1.22); }
  100% { opacity: 0;   transform: scale(1.22); }
}

.btm-fab:hover,
.btm-fab:focus-visible {
  background: #1eb858 !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.65), 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  text-decoration: none !important;
}

.btm-fab svg {
  width: 24px !important;
  height: 24px !important;
  fill: #ffffff !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.btm-fab-text {
  display: inline !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

/* Mobile: keep Book Now label visible and ensure it never gets obscured */
@media (max-width: 600px) {
  .btm-fab {
    bottom: 18px !important;
    right: 16px !important;
    padding: 0.7rem 1.15rem 0.7rem 0.95rem !important;
    font-size: 0.88rem !important;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  }
  .btm-fab svg { width: 22px !important; height: 22px !important; }
  .btm-fab-text { display: inline !important; font-size: 0.88rem !important; }
}

/* Extra small mobile screens */
@media (max-width: 380px) {
  .btm-fab {
    bottom: 14px !important;
    right: 12px !important;
    padding: 0.65rem 0.95rem 0.65rem 0.85rem !important;
    font-size: 0.82rem !important;
  }
  .btm-fab svg { width: 20px !important; height: 20px !important; }
  .btm-fab-text { display: inline !important; font-size: 0.82rem !important; }
}

/* ============================================================
   CUSTOM AUTH PAGES (Login & Register)
   ============================================================ */

.btm-auth-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  background: var(--color-bg-warm);
}

.btm-auth-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(15, 14, 12, 0.1);
  padding: 2.75rem 2.5rem 2.25rem;
  width: 100%;
  max-width: 460px;
}

.btm-auth-brand {
  text-align: center;
  margin-bottom: 1.75rem;
}

.btm-auth-brand-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.btm-auth-brand-logo .accent { color: var(--color-terra); }

.btm-auth-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-ink);
  text-align: center;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.btm-auth-subtitle {
  text-align: center;
  color: var(--color-ink-muted);
  font-size: 0.9rem;
  margin: 0 0 2rem;
  line-height: 1.5;
}

/* Error + success notices */
.btm-auth-errors {
  background: #fdf1f0;
  border: 1px solid #f3c0bc;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.btm-auth-errors li {
  color: #8b2318;
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.btm-auth-errors li::before {
  content: '⚠';
  flex-shrink: 0;
  margin-top: 1px;
}

.btm-auth-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  color: #166534;
  font-size: 0.875rem;
}

/* Form rows */
.btm-auth-card .form-group { margin-bottom: 1.1rem; }
.btm-auth-card .form-label { font-weight: 600; font-size: 0.875rem; }

/* Password show/hide */
.btm-pw-wrap {
  position: relative;
}

.btm-pw-wrap .form-input {
  padding-right: 3rem;
}

.btm-pw-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-ink-muted);
  padding: 0.25rem;
  display: flex;
  align-items: center;
  line-height: 1;
  transition: color var(--transition);
}

.btm-pw-toggle:hover { color: var(--color-terra); }
.btm-pw-toggle svg   { width: 18px; height: 18px; }

/* Remember-me row */
.btm-auth-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
  font-size: 0.875rem;
  color: var(--color-ink-muted);
}

.btm-auth-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-terra);
  cursor: pointer;
  flex-shrink: 0;
}

/* Submit button full-width */
.btm-auth-card .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 0.8rem;
  font-size: 1rem;
}

/* Footer links */
.btm-auth-links {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-ink-muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btm-auth-links a {
  color: var(--color-terra);
  font-weight: 600;
  text-decoration: none;
}

.btm-auth-links a:hover { text-decoration: underline; }

/* Divider rule */
.btm-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
  color: var(--color-ink-muted);
  font-size: 0.8rem;
}

.btm-auth-divider::before,
.btm-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* Trust badges on auth card */
.btm-auth-trust {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btm-auth-trust-item {
  font-size: 0.75rem;
  color: var(--color-ink-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.btm-auth-trust-item svg {
  width: 13px;
  height: 13px;
  color: var(--color-sand);
}

@media (max-width: 520px) {
  .btm-auth-card {
    padding: 2rem 1.25rem 1.75rem;
  }
}

/* ============================================================
   TRIPADVISOR REVIEWS SECTION
   ============================================================ */
.btm-tripadvisor-section {
  background: var(--btm-ta-background, #0d2416);
  color: #e8f5e9;
}

.btm-ta-logo {
  margin-bottom: 0.75rem;
}

.btm-ta-rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.btm-ta-stars {
  display: flex;
  gap: 3px;
  color: #34E0A1;
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.btm-ta-score {
  font-size: 0.95rem;
  font-weight: 600;
  color: #34E0A1;
}

.btm-ta-badge {
  background: rgba(52,224,161,0.15);
  border: 1px solid rgba(52,224,161,0.4);
  color: #34E0A1;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

.btm-tripadvisor-section .section-title {
  color: #fff;
}

.btm-tripadvisor-section .section-tag {
  color: #34E0A1;
}

.btm-ta-subtitle {
  color: rgba(232,245,233,0.72);
}

.btm-ta-slider-track {
  align-items: stretch;
}

.btm-ta-slide {
  display: flex;
}

.btm-ta-slide .btm-ta-card {
  width: 100%;
  height: 100%;
}

.btm-ta-slider .tour-slider-btn,
.btm-ta-slider .tour-slider-toggle {
  border-color: rgba(52,224,161,0.55);
  background: #153524;
  color: #34E0A1;
}

.btm-ta-slider .tour-slider-btn:hover:not(:disabled),
.btm-ta-slider .tour-slider-toggle:hover,
.btm-ta-slider .tour-slider-toggle:focus-visible {
  border-color: #34E0A1;
  background: #34E0A1;
  color: #0d2416;
}

.btm-ta-slider .tour-slider-dot {
  position: relative;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
}

.btm-ta-slider .tour-slider-dot.active,
.btm-ta-slider .tour-slider-dot:hover {
  background: transparent;
  transform: none;
}

.btm-ta-slider .tour-slider-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid rgba(52,224,161,0.5);
  border-radius: 50%;
  background: rgba(52,224,161,0.15);
  transform: translate(-50%, -50%);
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.btm-ta-slider .tour-slider-dot.active::before,
.btm-ta-slider .tour-slider-dot:hover::before,
.btm-ta-slider .tour-slider-dot:focus-visible::before {
  border-color: #34E0A1;
  background: #34E0A1;
  transform: translate(-50%, -50%) scale(1.25);
}

/* TA card */
.btm-ta-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(52,224,161,0.18);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.btm-ta-card:hover {
  border-color: rgba(52,224,161,0.45);
  background: rgba(255,255,255,0.09);
}

.btm-ta-card-stars {
  display: flex;
  gap: 3px;
  color: #34E0A1;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.btm-ta-card-text {
  font-size: 0.925rem;
  line-height: 1.65;
  color: rgba(232,245,233,0.9);
  font-style: italic;
  flex: 1;
  margin: 0;
}

.btm-ta-card-footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(52,224,161,0.15);
}

.btm-ta-card-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.btm-ta-card-detail {
  display: block;
  font-size: 0.75rem;
  color: rgba(232,245,233,0.6);
  line-height: 1.3;
}

.btm-ta-card-date {
  display: block;
  font-size: 0.7rem;
  color: rgba(52,224,161,0.7);
  margin-top: 0.15rem;
}

.btm-ta-card-source {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #34E0A1;
}

.btm-ta-card-source a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btm-ta-source-note {
  margin: 1rem auto 0;
  color: rgba(232,245,233,0.65);
  font-size: 0.75rem;
  text-align: center;
}

.btm-ta-btn {
  background: transparent;
  border: 2px solid #34E0A1;
  color: #34E0A1;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background var(--transition-base), color var(--transition-base);
}

.btm-ta-btn:hover {
  background: #34E0A1;
  color: #0d2416;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.btm-blog-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.btm-blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.btm-blog-card-image {
  display: block;
  height: 210px;
  overflow: hidden;
}

.btm-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.btm-blog-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.btm-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-ink-muted);
}

.btm-blog-card-meta a {
  color: var(--color-terra);
  font-weight: 600;
  text-decoration: none;
}

.btm-blog-card-meta a:hover {
  color: var(--color-terra-dark);
  text-decoration: underline;
}

.btm-blog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--color-ink);
}

.btm-blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.btm-blog-card-title a:hover {
  color: var(--color-sand);
}

.btm-blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-ink-secondary);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btm-blog-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-sand);
  text-decoration: none;
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  transition: gap var(--transition-base);
}

.btm-blog-card-link:hover {
  gap: 0.45rem;
  color: var(--color-sand-dark);
}

/* ============================================================
   ABOUT US SECTION
   ============================================================ */
.btm-about-section {
  background: linear-gradient(135deg, var(--btm-about-background, #1a0f08) 0%, #2A1A10 60%, #3d1f0a 100%);
  color: var(--color-ink-inverse);
}

.btm-about-section .section-title {
  color: #fff;
}

.btm-about-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 0.9rem;
}

.btm-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.btm-about-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.btm-about-values {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btm-about-values li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.925rem;
  color: rgba(255,255,255,0.85);
}

.btm-about-values li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-sand);
}

.btm-about-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Stats grid */
.btm-about-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btm-about-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.btm-about-stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  transition: background var(--transition-base);
}

.btm-about-stat-card:hover {
  background: rgba(255,255,255,0.11);
}

.btm-about-stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-sand);
  line-height: 1;
  font-family: var(--font-heading);
}

.btm-about-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  text-align: center;
}

.btm-about-quote {
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--color-sand);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.btm-about-quote p {
  font-style: italic;
  font-size: 0.975rem;
  margin: 0.5rem 0;
}

.btm-about-quote cite {
  font-size: 0.82rem;
  color: var(--color-sand);
  font-style: normal;
  font-weight: 600;
}

@media (max-width: 900px) {
  .btm-about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   MEDIA QUERIES - additional overrides
   ============================================================ */
@media (max-width: 600px) {
  .section { padding-block: min(var(--btm-section-padding, 5rem), 3rem); }
  .cta-banner { padding-block: min(var(--btm-section-padding, 5rem), 3rem); }
  .section--lg { padding-block: 4rem; }
  .hero-stats { gap: 1.25rem; }
  .hero-stat-number { font-size: 1.5rem; }
  .quick-facts { gap: 1rem; }
  .tour-hero-content { padding: 1.5rem; }
  .tour-gallery .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-cards { grid-template-columns: 1fr; }
  .inc-exc-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER BRAND LOGO — FULL NAME (Berber Travel Majesty)
   ============================================================ */
.footer-brand-logo .accent-majesty {
  color: var(--color-sand);
  font-style: italic;
  font-size: 0.9em;
}

/* ============================================================
   SITE LOGO — FULL NAME
   ============================================================ */
.site-logo {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

/* ============================================================
   HEADER — MOBILE COMPLETE FIX
   ============================================================ */
@media (max-width: 1050px) {
  .header-inner {
    gap: 0.75rem;
  }
  .site-logo {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  :root { --nav-height: 64px; }

  .site-header {
    height: var(--nav-height);
  }
  .header-inner {
    height: var(--nav-height);
    gap: 0.5rem;
    padding-inline: 0.75rem;
  }
  .site-logo {
    font-size: clamp(0.85rem, 3.8vw, 1.15rem);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
  }
  .site-logo .logo-main { color: var(--color-ink); }
  .site-logo .logo-accent { color: var(--color-terra); }
  .site-logo .logo-majesty {
    display: inline !important;
    color: var(--color-sand);
    font-style: italic;
    font-size: 0.9em;
    margin-left: 0.2rem;
  }
  .header-actions {
    gap: 0.5rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .btn-auth {
    display: none; /* Login available inside mobile hamburger menu */
  }
  .btn-whatsapp-nav {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    padding: 0.45rem 0.85rem !important;
    background: #25D366 !important;
    color: #fff !important;
    border-radius: 100px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    width: auto !important;
    height: auto !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35) !important;
  }
  .btn-whatsapp-nav svg {
    width: 15px !important;
    height: 15px !important;
  }
  .btn-whatsapp-nav .btn-wa-text {
    display: inline !important;
  }
  .hamburger {
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ============================================================
   SLIDER — ALWAYS START FROM LEFT (ltr) ACROSS ALL DEVICES
   ============================================================ */
.btm-slider,
.tour-slider,
.btm-slider-track,
.tour-slider-track,
.tour-slider-slide,
.community-slider-track,
.community-slider-slide,
.btm-blog-slider-track,
.btm-blog-slider-slide,
.btm-ta-slider,
.btm-ta-slider-track,
.btm-ta-slide {
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: isolate !important;
}

@media (max-width: 600px) {
  .tour-slider {
    padding: 0 0.5rem 3.5rem !important;
    overflow: hidden;
  }
  .tour-slider-slide {
    padding: 0 0.5rem !important;
  }
  .tour-slider-btn {
    width: 38px !important;
    height: 38px !important;
    top: auto !important;
    bottom: 0.5rem !important;
    transform: none !important;
    background: var(--color-white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
  }
  .tour-slider-prev {
    left: 1rem !important;
  }
  .tour-slider-next {
    right: 1rem !important;
  }
  .tour-slider-dots {
    bottom: 1.1rem !important;
  }
}

/* ============================================================
   FLOATING BOOK NOW WHATSAPP FAB — 100% ALWAYS VISIBLE
   ============================================================ */
.btm-fab {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 999999 !important;
  position: fixed !important;
}

/* ============================================================
   PAGE TEMPLATES — ABOUT / PRIVACY / TERMS
   ============================================================ */
.btm-page-hero {
  background: linear-gradient(135deg, #2A1A10 0%, var(--color-terra) 60%, #4A2C1A 100%);
  padding: 5rem 0 4rem;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btm-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A96E' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.btm-page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  position: relative;
}

.btm-page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

.btm-page-hero .hero-breadcrumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-sand);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.btm-page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.btm-page-content h2 {
  color: var(--color-terra);
  margin: 2.5rem 0 1rem;
  font-size: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-sand-light);
}

.btm-page-content h3 {
  color: var(--color-ink);
  margin: 1.5rem 0 0.75rem;
  font-size: 1.2rem;
}

.btm-page-content p {
  color: var(--color-ink-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.btm-page-content ul, .btm-page-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--color-ink-muted);
}

.btm-page-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.btm-page-content a {
  color: var(--color-terra);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btm-page-content a:hover {
  color: var(--color-terra-dark);
}

/* About page team cards */
.btm-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.btm-team-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btm-team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.btm-team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--color-sand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-terra);
  font-family: var(--font-display);
}

.btm-team-card h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.btm-team-card .role { font-size: 0.8rem; color: var(--color-sand); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.btm-team-card p { font-size: 0.875rem; color: var(--color-ink-muted); margin: 0; }

/* Value proposition cards on about page */
.btm-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.btm-value-card {
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}

.btm-value-icon {
  width: 52px;
  height: 52px;
  background: var(--color-terra);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
}

.btm-value-card h4 { margin-bottom: 0.5rem; font-size: 1rem; }
.btm-value-card p { font-size: 0.85rem; color: var(--color-ink-muted); margin: 0; }

/* Policy section styling */
.btm-policy-section {
  background: var(--color-bg-warm);
  border-left: 4px solid var(--color-sand);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}

.btm-policy-section p { margin: 0; }

/* Contact CTA at bottom of info pages */
.btm-page-cta {
  background: linear-gradient(135deg, var(--color-terra) 0%, var(--color-terra-dark) 100%);
  padding: 3rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 3rem 0;
  color: #fff;
}

.btm-page-cta h3 { color: #fff; margin-bottom: 0.75rem; }
.btm-page-cta p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.btm-page-cta .btn-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   GRID & LAYOUT — ADDITIONAL MOBILE
   ============================================================ */
@media (max-width: 600px) {
  .btm-page-content { padding: 2.5rem 1rem; }
  .btm-page-cta { padding: 2rem 1.25rem; }
  .btm-team-grid { grid-template-columns: 1fr 1fr; }
  .btm-values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .btm-team-grid { grid-template-columns: 1fr; }
  .btm-values-grid { grid-template-columns: 1fr; }
}
