/**
 * Bogosland Components — Luxury Moroccan Spa & Barbershop Edition
 * Premium dark theme: gold accents, Playfair Display headings,
 * Montserrat body, Moroccan geometric patterns, glass effects
 */


/* ════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bgl-black);
  color: var(--bgl-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: var(--font-features);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: var(--bgl-gold);
  text-decoration: none;
  transition: var(--transition-color);
}
a:hover { color: var(--bgl-gold-bright); }

ul, ol { list-style: none; }

hr {
  border: none;
  border-top: 1px solid var(--bgl-border);
}


/* ════════════════════════════════════════════
   TYPOGRAPHY SYSTEM
════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--bgl-white);
  letter-spacing: -0.01em;
  font-feature-settings: var(--font-features);
}

h1 { font-size: clamp(3rem, 6vw, 6rem);     font-weight: 700; }
h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 700; }
h3 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.2rem; font-weight: 500; }
h6 { font-size: 1rem;   font-weight: 500; font-family: var(--font-body); }

p {
  color: var(--bgl-muted);
  line-height: 1.8;
}

/* Label — eyebrow text universal style */
.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);    /* 11px */
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bgl-gold);
  line-height: 1;
}

/* Eyebrow — label with left decorative gold line */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bgl-gold);
  line-height: 1;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--bgl-gold);
  flex-shrink: 0;
}


/* ════════════════════════════════════════════
   LAYOUT UTILITIES
════════════════════════════════════════════ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--space-section) 0;
}
.section-sm { padding: var(--space-16) 0; }
.section-xs { padding: var(--space-8) 0; }

/* Dark background sections */
.section-alt      { background: var(--bgl-alt); }
.section-card     { background: var(--bgl-card); }
.section-charcoal { background: var(--bgl-charcoal); }

/* Moroccan pattern overlay mixin — add to any section */
.section--pattern {
  position: relative;
}
.section--pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--moroccan-pattern);
  background-size: var(--moroccan-size);
  background-repeat: repeat;
  opacity: var(--moroccan-opacity);
  pointer-events: none;
  z-index: 0;
}
.section--pattern > * {
  position: relative;
  z-index: 1;
}


/* ════════════════════════════════════════════
   SECTION HEADERS
════════════════════════════════════════════ */

.section-header {
  margin-bottom: var(--space-16);
}
.section-header.centered {
  text-align: center;
}
.section-header.centered .section-subtitle {
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bgl-gold);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--bgl-white);
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--bgl-muted);
  line-height: 1.85;
  max-width: 600px;
}


/* ════════════════════════════════════════════
   GOLD DECORATIVE ELEMENTS
════════════════════════════════════════════ */

/* Simple gold line */
.gold-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--bgl-gold), transparent);
  margin-bottom: var(--space-6);
}
.centered .gold-line,
.gold-line.centered {
  margin-left: auto;
  margin-right: auto;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--bgl-gold), transparent);
}

/* Full-width gradient divider */
.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--bgl-gold) 30%,
    var(--bgl-gold) 70%,
    transparent 100%
  );
  opacity: 0.25;
  margin: var(--space-16) 0;
}

/* Gold separator with Moroccan diamond center */
.gold-separator {
  display: flex;
  align-items: center;
  gap: 0;
  margin: var(--space-16) 0;
}
.gold-separator::before,
.gold-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 169, 110, 0.4)
  );
}
.gold-separator::after {
  background: linear-gradient(
    90deg,
    rgba(201, 169, 110, 0.4),
    transparent
  );
}
.gold-separator__diamond {
  width: 10px;
  height: 10px;
  background: var(--bgl-gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin: 0 1rem;
  opacity: 0.7;
}

/* Simple section hr */
.gold-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bgl-border), transparent);
  margin: var(--space-12) 0;
}


/* ════════════════════════════════════════════
   BUTTONS — Luxury flat / sharp = premium
════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2.4rem;
  border-radius: 0;                       /* Sharp corners = luxury */
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.3s var(--ease-out-expo),
    box-shadow 0.3s ease;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  line-height: 1;
}

/* Shimmer sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}
.btn:hover::before { left: 100%; }

/* PRIMARY — Solid gold */
.btn-gold,
.btn-primary {
  background: var(--bgl-gold);
  color: #000000;
  border-color: var(--bgl-gold);
  font-weight: 700;
}
.btn-gold:hover,
.btn-primary:hover {
  background: var(--bgl-gold-bright);
  border-color: var(--bgl-gold-bright);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(201, 169, 110, 0.45);
}
.btn-gold:active,
.btn-primary:active { transform: translateY(0); }

/* OUTLINE — Transparent with gold border */
.btn-outline-gold,
.btn-outline {
  background: transparent;
  color: var(--bgl-gold);
  border-color: var(--bgl-gold);
}
.btn-outline-gold:hover,
.btn-outline:hover {
  background: var(--bgl-gold);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 169, 110, 0.35);
}

/* GHOST — Subtle white border for dark sections */
.btn-ghost {
  background: transparent;
  color: var(--bgl-white);
  border-color: rgba(245, 240, 232, 0.2);
}
.btn-ghost:hover {
  border-color: var(--bgl-gold);
  color: var(--bgl-gold);
}

/* TEAL variant */
.btn-teal {
  background: var(--bgl-teal);
  color: var(--bgl-white);
  border-color: var(--bgl-teal);
}
.btn-teal:hover {
  background: var(--bgl-teal-light);
  border-color: var(--bgl-teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 90, 79, 0.4);
}

/* Sizes */
.btn-sm {
  padding: 0.6rem 1.6rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}
.btn-lg {
  padding: 1.1rem 3rem;
  font-size: 0.8rem;
}
.btn-full { width: 100%; justify-content: center; }


/* ════════════════════════════════════════════
   BADGES
════════════════════════════════════════════ */

.badge {
  display: inline-block;
  padding: 0.28rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}
.badge-gold {
  background: rgba(201, 169, 110, 0.1);
  color: var(--bgl-gold);
  border: 1px solid rgba(201, 169, 110, 0.3);
}
.badge-dark {
  background: var(--bgl-dark-2);
  color: var(--bgl-muted);
  border: 1px solid var(--bgl-border);
}
.badge-teal {
  background: rgba(45, 90, 79, 0.15);
  color: #5eb89f;
  border: 1px solid rgba(45, 90, 79, 0.3);
}


/* ════════════════════════════════════════════
   NAVIGATION — Fixed, glass on scroll
════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 0.85rem 0;
  transition:
    padding 0.4s var(--ease-out-expo),
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(26, 21, 18, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 0.5rem 0;
  border-bottom-color: var(--bgl-border);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

/* Logo — image tag */
.site-logo {
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.site-logo img {
  height: 75px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
/* Text fallback if no image */
.site-logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bgl-white);
  letter-spacing: 0.02em;
}
.site-logo-text span { color: var(--bgl-gold); }

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  font-family: var(--font-body);
  font-size: var(--text-xs);          /* 11px */
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.75);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

/* Underline slide animation */
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--bgl-gold);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-menu a:hover,
.nav-menu a.current-menu-item,
.nav-menu a.active {
  color: var(--bgl-gold);
}
.nav-menu a:hover::after,
.nav-menu a.current-menu-item::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Right side cluster */
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

/* Language switcher — pill badges */
.nav-lang {
  display: flex;
  gap: 0.25rem;
}
.nav-lang a {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bgl-muted);
  padding: 0.25rem 0.55rem;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  transition: var(--transition-color), border-color 0.2s ease;
}
.nav-lang a.current-lang,
.nav-lang a:hover {
  color: var(--bgl-gold);
  border-color: rgba(201, 169, 110, 0.4);
}

/* Nav CTA button */
.nav-cta {
  /* Inherits .btn .btn-gold but smaller */
  padding: 0.6rem 1.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--bgl-white);
  transition: var(--transition);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay backdrop */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: calc(var(--z-nav) - 1);
  backdrop-filter: blur(4px);
}
.nav-overlay.open { display: block; }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 88vw);
    background: var(--bgl-card);
    padding: 6rem 2.5rem 3rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    z-index: var(--z-nav);
    border-left: 1px solid var(--bgl-border);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out-expo);
  }
  .nav-menu.open {
    display: flex;
    transform: translateX(0);
  }
  .nav-menu li { width: 100%; }
  .nav-menu a {
    font-size: 0.72rem;
    padding: 1rem 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--bgl-border-light);
  }
  .nav-menu a::after { display: none; }
  .nav-right { gap: var(--space-3); }
  .nav-cta { display: none; }
}
@media (max-width: 640px) {
  .nav-lang { display: none; }
}


/* ════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bgl-black);
  padding-top: 7rem;
  padding-bottom: 3rem;
}

/* Background image — fixed parallax */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 0;
}

/* Dark overlay gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.65) 60%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 1;
}

/* Moroccan pattern over overlay */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: var(--moroccan-pattern);
  background-size: var(--moroccan-size);
  background-repeat: repeat;
  opacity: 0.035;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
}

/* Eyebrow label */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bgl-gold);
  margin-bottom: var(--space-6);
  line-height: 1;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 44px;
  height: 1px;
  background: var(--bgl-gold);
  flex-shrink: 0;
}

/* Main headline */
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);         /* clamp 3.5rem → 7rem */
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  color: var(--bgl-white);
  font-feature-settings: var(--font-features);
}
.hero-title em {
  font-style: italic;
  color: var(--bgl-gold);
}

/* Subtitle / tagline */
.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.85;
  margin-bottom: var(--space-12);
  max-width: 540px;
}

/* CTA group */
.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}

/* Stats strip at bottom of hero */
.hero-stats {
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(201, 169, 110, 0.2);
  align-items: flex-start;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hero-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--bgl-gold);
  line-height: 1;
  display: block;
  font-feature-settings: var(--font-features);
}
.hero-stat-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--bgl-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Dividers between stats */
.hero-stat:not(:last-child) {
  padding-right: var(--space-12);
  border-right: 1px solid var(--bgl-border);
}


/* ════════════════════════════════════════════
   VALUE PROPS STRIP
════════════════════════════════════════════ */

.value-props {
  background: var(--bgl-card);
  border-top: 1px solid var(--bgl-border);
  border-bottom: 1px solid var(--bgl-border);
  padding: var(--space-12) 0;
}
.value-props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}
.value-prop-icon {
  font-size: 1.8rem;
  margin-bottom: var(--space-3);
  color: var(--bgl-gold);
  display: block;
}
.value-prop-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bgl-white);
  margin-bottom: 0.35rem;
}
.value-prop-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--bgl-muted);
  line-height: 1.65;
}


/* ════════════════════════════════════════════
   FILTER TABS
════════════════════════════════════════════ */

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.filter-tab {
  padding: 0.5rem 1.4rem;
  border: 1px solid var(--bgl-border);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-color), border-color 0.2s ease, transform 0.2s ease;
  background: none;
  color: var(--bgl-muted);
  line-height: 1;
}
.filter-tab:hover {
  border-color: rgba(201, 169, 110, 0.4);
  color: var(--bgl-gold);
}
.filter-tab.active {
  background: var(--bgl-gold);
  color: #000000;
  border-color: var(--bgl-gold);
  font-weight: 700;
}


/* ════════════════════════════════════════════
   SERVICE CARDS
════════════════════════════════════════════ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bgl-card);
  border: 1px solid var(--bgl-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-out-expo),
    border-color 0.3s ease,
    box-shadow 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(201, 169, 110, 0.45);
  box-shadow: 0 0 0 1px rgba(201,169,110,0.25), 0 20px 60px rgba(201,169,110,0.15), 0 8px 32px rgba(0,0,0,0.6);
}

/* Top image */
.service-card-img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.service-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
  will-change: transform;
}
.service-card:hover .service-card-img {
  transform: scale(1.08);
}

/* Fade out bottom of image */
.service-card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--bgl-card) 0%, transparent 100%);
  z-index: 1;
}

/* Category badge on image */
.service-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

/* Card body */
.service-card-body {
  padding: 1.5rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-category {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bgl-gold);
  margin-bottom: 0.5rem;
}

.service-card-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--bgl-white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.service-card-desc {
  font-size: var(--text-sm);
  color: var(--bgl-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  flex: 1;
}

.service-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--bgl-border-light);
}
.service-card-duration {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--bgl-muted);
}
.service-card-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bgl-gold);
  line-height: 1;
}
.service-card-price-unit {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--bgl-muted);
  margin-left: 2px;
}


/* ════════════════════════════════════════════
   STATS COUNTER SECTION
════════════════════════════════════════════ */

.stats-section {
  background: var(--bgl-alt);
  border-top: 1px solid var(--bgl-border);
  border-bottom: 1px solid var(--bgl-border);
  position: relative;
  overflow: hidden;
}
/* Moroccan pattern background */
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--moroccan-pattern);
  background-size: var(--moroccan-size);
  background-repeat: repeat;
  opacity: 0.04;
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: var(--space-16) 0;
  text-align: center;
  position: relative;
}

.stat-item {
  position: relative;
  padding: var(--space-8);
}
/* Vertical dividers */
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--bgl-border) 30%,
    var(--bgl-border) 70%,
    transparent
  );
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  color: var(--bgl-gold);
  line-height: 1;
  margin-bottom: 0.6rem;
  display: block;
  font-feature-settings: var(--font-features);
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--bgl-gold-dim);
}

.stat-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bgl-muted);
}


/* ════════════════════════════════════════════
   TEAM CARDS
════════════════════════════════════════════ */

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

.team-card {
  background: var(--bgl-card);
  border: 1px solid var(--bgl-border);
  border-radius: var(--radius-sm);
  padding: 2.75rem 2.25rem;
  transition:
    transform 0.4s var(--ease-out-expo),
    border-color 0.3s ease,
    box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

/* Gold accent bar on left — appears on hover */
.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--bgl-gold), var(--bgl-gold-dim));
  transition: height 0.4s var(--ease-out-expo);
}
.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 169, 110, 0.4);
  box-shadow: 0 0 0 1px rgba(201,169,110,0.2), 0 16px 48px rgba(201,169,110,0.12), 0 6px 24px rgba(0,0,0,0.5);
}
.team-card:hover::before { height: 100%; }

/* Avatar — fixed 110px square, constrained regardless of parent width */
.team-avatar-wrap {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0 0 var(--space-6);
  border: 1px solid var(--bgl-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover .team-avatar-wrap {
  border-color: rgba(201, 169, 110, 0.4);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}
.team-avatar {
  width: 110px;
  height: 110px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-md);
  border: 1px solid var(--bgl-border);
  display: block;
  flex-shrink: 0;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--bgl-white);
  margin-bottom: 0.35rem;
}
.team-role {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bgl-gold);
  margin-bottom: var(--space-4);
}
.team-stars {
  color: var(--bgl-gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
}
.team-count {
  font-size: var(--text-xs);
  color: var(--bgl-muted);
  margin-bottom: var(--space-4);
}
.team-bio {
  font-size: var(--text-sm);
  color: var(--bgl-muted);
  line-height: 1.7;
}


/* ════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════ */

.testimonials-slider {
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform 0.55s var(--ease-out-expo);
  will-change: transform;
}
.testimonial-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--bgl-card);
  border: 1px solid var(--bgl-border);
  border-radius: var(--radius-sm);
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  border-color: rgba(201, 169, 110, 0.2);
  box-shadow: var(--shadow-gold);
}

/* Huge decorative quote mark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 1.2rem;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 900;
  color: var(--bgl-gold);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.testimonial-stars {
  color: var(--bgl-gold);
  font-size: 0.78rem;
  letter-spacing: 3px;
  margin-bottom: var(--space-4);
  position: relative;
}
.testimonial-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.9;
  margin-bottom: var(--space-6);
  flex: 1;
  position: relative;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-top: 1px solid var(--bgl-border-light);
  padding-top: var(--space-5);
}

/* Initial circle avatar in gold */
.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--bgl-border);
  background: rgba(201, 169, 110, 0.12);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bgl-gold);
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bgl-white);
}
.testimonial-meta {
  font-size: 0.72rem;
  color: var(--bgl-muted);
  margin-top: 2px;
}

/* Slider controls */
.slider-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-10);
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bgl-border);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  padding: 0;
}
.slider-dot.active,
.slider-dot:hover {
  background: var(--bgl-gold);
  transform: scale(1.5);
}


/* ════════════════════════════════════════════
   SUBSCRIPTION CARDS
════════════════════════════════════════════ */

.subs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  align-items: start;
}

.sub-card {
  background: var(--bgl-card);
  border: 1px solid var(--bgl-border);
  border-radius: var(--radius-sm);
  padding: 3rem 2.5rem;
  position: relative;
  transition:
    transform 0.4s var(--ease-out-expo),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
  will-change: transform;
}
.sub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Popular card — gold glow */
.sub-card.popular {
  border-color: rgba(201, 169, 110, 0.5);
  box-shadow: var(--shadow-gold), inset 0 0 60px rgba(201, 169, 110, 0.03);
}
.sub-card.popular:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold-strong);
}

/* Popular badge — absolute pill */
.sub-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bgl-gold);
  color: #000000;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1.3rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.sub-tier {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bgl-gold);
  margin-bottom: var(--space-6);
  display: block;
}

.sub-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: var(--space-2);
}
.sub-currency {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--bgl-gold-dim);
  font-weight: 600;
  align-self: flex-start;
  margin-top: 0.8rem;
}
.sub-price {
  font-family: var(--font-display);
  font-size: clamp(3rem, 4vw, 4rem);
  font-weight: 700;
  color: var(--bgl-gold);
  line-height: 1;
  font-feature-settings: var(--font-features);
}
.sub-entries {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--bgl-muted);
  margin-bottom: var(--space-8);
}

/* Benefits checklist */
.sub-benefits {
  list-style: none;
  margin: 0 0 var(--space-10);
  border-top: 1px solid var(--bgl-border);
}
.sub-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bgl-border-light);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--bgl-white-dim);
}
.sub-benefits li::before {
  content: '✓';
  color: var(--bgl-gold);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.sub-benefits li.unavailable {
  color: var(--bgl-muted);
  opacity: 0.5;
}
.sub-benefits li.unavailable::before {
  content: '×';
  color: var(--bgl-muted);
  border-color: var(--bgl-border);
}


/* ════════════════════════════════════════════
   GALLERY GRID
════════════════════════════════════════════ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: var(--space-3);
}
.gallery-item {
  overflow: hidden;
  background: var(--bgl-dark-2);
  border: 1px solid var(--bgl-border);
}
.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item:nth-child(4) {
  grid-column: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
  will-change: transform;
}
.gallery-item:hover img { transform: scale(1.06); }


/* ════════════════════════════════════════════
   SITE FOOTER
════════════════════════════════════════════ */

.site-footer {
  background: var(--bgl-black);
  border-top: 1px solid var(--bgl-border);
  padding: var(--space-24) 0 var(--space-8);
  position: relative;
  overflow: hidden;
}

/* Moroccan pattern overlay — 3% opacity */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--moroccan-pattern);
  background-size: var(--moroccan-size);
  background-repeat: repeat;
  opacity: 0.03;
  pointer-events: none;
}

.site-footer > * { position: relative; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: var(--space-16);
}

/* Brand column — logo image */
.footer-logo {
  display: block;
  margin-bottom: var(--space-6);
}
.footer-logo img {
  height: 36px;
  width: auto;
}
/* Text fallback */
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bgl-white);
  margin-bottom: var(--space-4);
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--bgl-muted);
  line-height: 1.8;
  margin-bottom: var(--space-8);
  max-width: 300px;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--bgl-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bgl-muted);
  transition: var(--transition-color), border-color 0.25s ease, background-color 0.25s ease;
}
.footer-social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.footer-social-link:hover {
  border-color: var(--bgl-gold);
  color: var(--bgl-gold);
  background: rgba(201, 169, 110, 0.06);
}

/* Column headings */
.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bgl-gold);
  margin-bottom: var(--space-6);
}

/* Footer nav links */
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--bgl-muted);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-links a:hover {
  color: var(--bgl-gold);
  padding-left: 4px;
}

/* Contact items */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--bgl-muted);
  line-height: 1.55;
}
.footer-contact-icon {
  color: var(--bgl-gold);
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid var(--bgl-border);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--bgl-gray-dark);
  letter-spacing: 0.04em;
}
.footer-bottom-lang {
  display: flex;
  gap: var(--space-3);
}
.footer-bottom-lang a {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bgl-muted);
  transition: color 0.2s ease;
}
.footer-bottom-lang a:hover,
.footer-bottom-lang a.current-lang {
  color: var(--bgl-gold);
}


/* ════════════════════════════════════════════
   WHATSAPP FLOAT BUTTON
════════════════════════════════════════════ */

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--z-float);
  width: 60px;
  height: 60px;
  background: var(--bgl-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  animation: pulse-whatsapp 3s ease-in-out infinite;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
  will-change: transform;
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}
.whatsapp-float:hover {
  transform: scale(1.14);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.65);
  color: #ffffff;
  animation-play-state: paused;
}
@media (max-width: 640px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 1.25rem;
    right: 1rem;
  }
  .whatsapp-float svg { width: 22px; height: 22px; }
}


/* ════════════════════════════════════════════
   PAGE HERO (inner pages)
════════════════════════════════════════════ */

.page-hero {
  padding: 9rem 0 5rem;
  background: var(--bgl-card);
  border-bottom: 1px solid var(--bgl-border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 25% 50%,
    rgba(201, 169, 110, 0.06) 0%,
    transparent 65%
  );
}
.page-hero-content { position: relative; z-index: 1; }
.page-title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.page-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--bgl-muted);
  max-width: 540px;
  line-height: 1.8;
}


/* ════════════════════════════════════════════
   PARTNERS STRIP
════════════════════════════════════════════ */

.partners-strip {
  background: var(--bgl-alt);
  border-top: 1px solid var(--bgl-border);
  border-bottom: 1px solid var(--bgl-border);
  padding: var(--space-8) 0;
  overflow: hidden;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
  flex-wrap: wrap;
}
.partner-logo {
  opacity: 0.35;
  filter: grayscale(1);
  transition: opacity 0.35s ease, filter 0.35s ease;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--bgl-muted);
  font-weight: 600;
}
.partner-logo:hover {
  opacity: 0.9;
  filter: grayscale(0);
  color: var(--bgl-gold);
}


/* ════════════════════════════════════════════
   CONTACT PAGE
════════════════════════════════════════════ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-16);
  align-items: start;
}
.contact-info-card {
  background: var(--bgl-card);
  border: 1px solid var(--bgl-border);
  padding: 2.5rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--bgl-border-light);
}
.contact-info-item:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.contact-info-icon {
  width: 42px;
  height: 42px;
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid var(--bgl-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bgl-gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bgl-gold);
  margin-bottom: 0.3rem;
}
.contact-info-value {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--bgl-white-dim);
  line-height: 1.6;
}
.contact-info-value a { color: var(--bgl-white-dim); }
.contact-info-value a:hover { color: var(--bgl-gold); }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem var(--space-6);
  font-size: 0.85rem;
  margin-top: var(--space-4);
}
.hours-day { color: var(--bgl-muted); }
.hours-time { color: var(--bgl-white-dim); text-align: right; }
.hours-closed { color: var(--bgl-error); }


/* ════════════════════════════════════════════
   ABOUT PAGE
════════════════════════════════════════════ */

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.about-img-wrap {
  position: relative;
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}
.about-img-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 110px;
  height: 110px;
  border: 2px solid var(--bgl-gold);
  opacity: 0.4;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.value-card {
  background: var(--bgl-card);
  border: 1px solid var(--bgl-border);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-color), transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}
.value-card:hover {
  border-color: rgba(201, 169, 110, 0.3);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.value-card-icon {
  font-size: 2rem;
  color: var(--bgl-gold);
  margin-bottom: var(--space-4);
  display: block;
}
.value-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.value-card-text {
  font-size: var(--text-sm);
  color: var(--bgl-muted);
  line-height: 1.7;
}


/* ════════════════════════════════════════════
   PARTNERS PAGE — STEPS
════════════════════════════════════════════ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  text-align: center;
}
.step-card { padding: var(--space-8); }
.step-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(201, 169, 110, 0.1);
  line-height: 1;
  margin-bottom: var(--space-4);
  display: block;
  font-feature-settings: var(--font-features);
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
}
.step-text {
  font-size: var(--text-sm);
  color: var(--bgl-muted);
  line-height: 1.75;
}


/* ════════════════════════════════════════════
   WPFORMS OVERRIDES
════════════════════════════════════════════ */

.wpforms-container {
  background: var(--bgl-card) !important;
  border: 1px solid var(--bgl-border) !important;
  border-radius: 0 !important;
  padding: 2.5rem !important;
}
.wpforms-field-label {
  font-family: var(--font-body) !important;
  color: var(--bgl-white-dim) !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  margin-bottom: 0.5rem !important;
}
.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select {
  background: var(--bgl-alt) !important;
  border: 1px solid var(--bgl-border) !important;
  border-radius: 0 !important;
  color: var(--bgl-white) !important;
  padding: 0.9rem 1.1rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.88rem !important;
  width: 100% !important;
  transition: border-color 0.25s ease !important;
}
.wpforms-field input:focus,
.wpforms-field textarea:focus {
  border-color: var(--bgl-gold) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.08) !important;
}
.wpforms-submit-container .wpforms-submit {
  background: var(--bgl-gold) !important;
  color: #000000 !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0.9rem 2.4rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background-color 0.25s ease, transform 0.3s var(--ease-out-expo) !important;
}
.wpforms-submit-container .wpforms-submit:hover {
  background: var(--bgl-gold-bright) !important;
  transform: translateY(-2px) !important;
}


/* ════════════════════════════════════════════
   AMELIA BOOKING OVERRIDES
════════════════════════════════════════════ */

#amelia-app,
.amelia-container {
  --el-color-primary: var(--bgl-gold) !important;
  background: var(--bgl-card) !important;
  border: 1px solid var(--bgl-border) !important;
}
.el-button--primary {
  background: var(--bgl-gold) !important;
  border-color: var(--bgl-gold) !important;
  color: #000000 !important;
  border-radius: 0 !important;
}
.el-button--primary:hover {
  background: var(--bgl-gold-bright) !important;
  border-color: var(--bgl-gold-bright) !important;
}


/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */

@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > *:last-child { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .value-props-grid    { grid-template-columns: repeat(2, 1fr); }
  .about-story-grid    { grid-template-columns: 1fr; gap: var(--space-8); }
  .values-grid         { grid-template-columns: repeat(2, 1fr); }
  .contact-grid        { grid-template-columns: 1fr; }
  .steps-grid          { grid-template-columns: 1fr; }
  .team-grid           { grid-template-columns: repeat(2, 1fr); }
  .subs-grid           { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .testimonial-slide   { grid-template-columns: 1fr; }
  .gallery-grid        { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 1; grid-row: span 1; }
  .gallery-item:nth-child(4) { grid-column: span 1; }
}

@media (max-width: 768px) {
  .stats-grid         { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after  { display: none; }
  .stat-item:nth-child(4)::after  { display: none; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .hero-stats         { gap: var(--space-8); }
  .hero-stat:not(:last-child) { padding-right: var(--space-8); }
}

@media (max-width: 640px) {
  .services-grid      { grid-template-columns: 1fr; padding-right: 0; }
  .value-props-grid   { grid-template-columns: 1fr; }
  .team-grid          { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr; }
  .hero-stats         { flex-direction: column; gap: var(--space-6); }
  .hero-stat:not(:last-child) { padding-right: 0; border-right: none; border-bottom: 1px solid var(--bgl-border); padding-bottom: var(--space-6); }
  .hero-ctas          { flex-direction: column; align-items: flex-start; }
  .page-hero          { padding: 7rem 0 3rem; }
  .subs-grid          { grid-template-columns: 1fr; }
  .contact-info-card  { padding: 1.5rem; }
}

/* -- Override hello-elementor header max-width constraint -- */
.site-header:not(.dynamic-header) {
  max-width: 100% !important;
  width: 100% !important;
}


/* -----------------------------------------------------------
   RESPONSIVE  Full cross-device sweep
   Fixes: nav overflow, menu card, all sections, forms
----------------------------------------------------------- */

/* Global overflow guard */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }
* { min-width: 0; }

/* -- Nav fixes for small screens -- */
.site-header,
.nav-container {
  max-width: 100vw !important;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .nav-container { padding: 0 0.75rem; gap: 0.5rem; }
  .site-logo-img { height: 68px !important; }
  /* Hide lang buttons on very small screens - show in hamburger menu */
  .nav-lang { display: none !important; }
  .nav-account-btn { width: 30px; height: 30px; }
}

@media (max-width: 640px) {
  /* Already hidden by existing CSS, reinforce */
  .nav-lang { display: none; }
  .nav-social { display: none; }
}

/* Add lang switcher inside mobile menu */
@media (max-width: 1024px) {
  .nav-menu-lang {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0 0;
    border-top: 1px solid var(--bgl-border-light);
    margin-top: 0.5rem;
  }
}

/* -- Menu card responsive -- */
.bgl-menu-card {
  margin-left: 0;
  margin-right: 0;
}

.bgl-menu-item {
  flex-wrap: nowrap;
  min-width: 0;
}

@media (max-width: 600px) {
  .bgl-menu-card {
    border-radius: 12px;
    margin: 0;
  }
  .bgl-menu-card > div:first-child { padding: 1.5rem 1rem 1rem; }
  .bgl-menu-card > div:nth-child(2) { padding: 0 1rem 1.5rem; }

  /* Stack menu item: name on left, price+duration on right */
  .bgl-menu-item {
    flex-direction: row;
    align-items: center;
    padding: 0.6rem 0.25rem;
    gap: 0.25rem;
  }
  .bgl-menu-item > span:first-child {
    font-size: 0.82rem !important;
    flex: 1;
    min-width: 0;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
  /* Hide dot leader on mobile */
  .bgl-menu-item > span[aria-hidden=true],
  .bgl-menu-item > span[style*=dotted] {
    display: none !important;
  }
  /* Compact duration */
  .bgl-menu-item > span:nth-child(3) {
    font-size: 0.68rem !important;
    margin-right: 0.4rem !important;
    flex-shrink: 0;
  }
  /* Price stays gold and visible */
  .bgl-menu-item > span:nth-child(4) {
    font-size: 0.82rem !important;
    min-width: 56px;
    text-align: right;
    flex-shrink: 0;
  }
  /* Arrow */
  .bgl-menu-item > span:last-child { display: none; }

  /* Category header on mobile */
  .bgl-menu-section > div:first-child { margin-bottom: 0.75rem; }
}

/* -- Filter tabs responsive -- */
.bgl-menu-tabs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  padding-bottom: 0.25rem;
}
.bgl-menu-tabs::-webkit-scrollbar { display: none; }
.bgl-menu-tab { white-space: nowrap; flex-shrink: 0; }

/* -- Hero responsive -- */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.7rem, 8vw, 2.5rem) !important; }
  .hero-ctas { gap: 0.75rem; }
  .hero-ctas .btn { padding: 0.75rem 1.4rem; font-size: 0.8rem; }
  .hero-category-pills { gap: 0.4rem; }
  .hero-stats-strip { grid-template-columns: repeat(2, 1fr) !important; gap: 0 !important; }
}

/* -- Value props -- */
@media (max-width: 480px) {
  .value-props-grid { grid-template-columns: 1fr 1fr !important; gap: 1.25rem !important; }
  .value-prop-title { font-size: 0.82rem !important; }
  .value-prop-text { font-size: 0.72rem !important; }
}

/* -- Section containers -- */
.container {
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .section { padding-top: 3rem; padding-bottom: 3rem; }
}

/* -- Subscription cards -- */
@media (max-width: 640px) {
  .subs-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .sub-card { padding: 2rem 1.5rem !important; }
}

/* -- Page heroes -- */
@media (max-width: 480px) {
  .page-title { font-size: clamp(1.6rem, 7vw, 2.5rem) !important; }
  .page-subtitle { font-size: 0.9rem !important; }
  .page-hero-content { padding: 3rem 0 2rem !important; }
}

/* -- Account dashboard -- */
@media (max-width: 480px) {
  .bgl-dash-top { grid-template-columns: 1fr !important; }
  .bgl-dash-actions { grid-template-columns: 1fr !important; }
}

/* -- Blog grid -- */
@media (max-width: 480px) {
  .blog-grid { grid-template-columns: 1fr !important; }
}

/* -- Admin panel tables -- */
@media (max-width: 768px) {
  .bgl-acc-wrap table { font-size: 0.78rem; }
}

/* -- Gift cards grid -- */
@media (max-width: 480px) {
  .bgl-gift-grid { grid-template-columns: 1fr !important; }
}

/* -- Footer -- */
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
}

/* -- Prevent any element from causing horizontal scroll -- */
section, main, header, footer, div, article, aside {
  max-width: 100%;
  box-sizing: border-box;
}
img, video, iframe, table {
  max-width: 100%;
  height: auto;
}

/* -- Mobile button overflow fix -- */
@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
  /* Full-width menu card CTA */
  .bgl-menu-card .btn {
    width: 100%;
    box-sizing: border-box;
    padding: 0.8rem 1.5rem !important;
    font-size: 0.8rem !important;
  }
  /* Prevent any btn from overflowing */
  .btn { max-width: 100%; box-sizing: border-box; }
}

/* -- Container overflow isolation -- */
.container,
.section > .container,
main .container {
  overflow-x: clip;
}

/* -- Reveal divs -- */
.reveal, .reveal-stagger > * {
  max-width: 100%;
  box-sizing: border-box;
}

/* -- bgl-menu-tabs: horizontal scroll OK, no page overflow -- */
.bgl-menu-tabs {
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 480px) {
  /* Announcement bar doesn't wrap weirdly */
  .announcement-text {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }
  .announcement-sep { display: none; }
  /* Footer stacked */
  .footer-cols {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  /* Section headers */
  .section-title { font-size: clamp(1.5rem, 6vw, 2.5rem) !important; }
  .section-label { font-size: 0.65rem !important; }
  /* Gold line shorter on mobile */
  .gold-line { width: 48px !important; }
}

/* -- Announcement bar mobile -- */
@media (max-width: 480px) {
  .announcement-bar {
    height: auto;
    min-height: 36px;
    padding: 4px 2.5rem 4px 0.75rem;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
  }
  .announcement-text { gap: 0.35rem; flex-wrap: wrap; justify-content: center; }
  .site-header { top: auto; }
  .header-spacer { height: 112px; }
}

/* -- Force hide nav-lang on mobile -- */
@media screen and (max-width: 480px) {
  .nav-lang, .nav-lang * { display: none !important; visibility: hidden !important; }
}

/* -- Nav account btn smaller on mobile -- */
@media (max-width: 480px) {
  .nav-container { padding: 0 0.6rem; gap: 0.5rem; }
  .nav-account-btn { width: 28px !important; height: 28px !important; }
  .site-logo-img { height: 58px !important; }
}

/* -- Nav menu lang item  only visible inside hamburger menu -- */
.nav-menu-lang-item {
  display: none; /* hidden when hamburger closed */
}
@media (max-width: 1024px) {
  /* show inside open mobile menu */
  .nav-menu.open .nav-menu-lang-item { display: block; }
  /* hide on desktop (nav-menu always visible) */
}
@media (min-width: 1025px) {
  /* Desktop: nav-menu always visible, hide lang from menu (it's in nav-right) */
  .nav-menu-lang-item { display: none !important; }
}

/* -- Mobile header: always solid bg (no hero bleed-through) -- */
@media (max-width: 1024px) {
  .site-header {
    background: rgba(13, 9, 0, 0.97) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201,169,110,0.15) !important;
  }
}

/* -- Hero: ensure content starts below fixed header on mobile -- */
@media (max-width: 640px) {
  .hero { padding-top: 8rem; }
  .page-hero { padding-top: 6rem !important; }
  .page-hero-content { padding-top: 1.5rem !important; }
}

/* -- Resize safety: prevent nav-menu showing incorrectly during transition -- */
/* Smooth transition between transparent and solid header */
.site-header {
  transition: background 0.3s ease, border-color 0.3s ease, top 0.4s ease !important;
}

/* Desktop: ensure hamburger/overlay never visible */
@media (min-width: 1025px) {
  .nav-toggle { display: none !important; }
  .nav-overlay { display: none !important; }
  .nav-menu {
    display: flex !important;
    position: static !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    border-left: none !important;
    width: auto !important;
    overflow: visible !important;
    flex-direction: row !important;
    align-items: center !important;
  }
  .nav-menu-lang-item { display: none !important; }
  /* Reset body overflow if menu was open when resizing */
  body { overflow-x: hidden; }
}

/* Mobile: ensure desktop nav never shows outside hamburger */
@media (max-width: 1024px) {
  .nav-menu:not(.open) {
    display: none !important;
    pointer-events: none;
  }
  .nav-menu.open {
    display: flex !important;
    pointer-events: all;
  }
}

/* Prevent body overflow scroll lock from persisting on resize */
@media (min-width: 1025px) {
  body { overflow: visible !important; overflow-x: hidden !important; }
}
