
/* ============================================================
   ACCENT (ORANGE) SYSTEM
   ============================================================ */
:root {
  --accent: #ff6b00;
  --accent-hover: #e05e00;
}

.x3-orange { color: #ff6b00; }

/* ============================================================
   GLOBAL ICON COLOUR — all FontAwesome icons = orange
   ============================================================ */
i.fas, i.far, i.fab, i.fa {
  color: var(--accent) !important;
}

/* Icons inside buttons inherit the button text colour — always white on solid buttons */
.btn i.fas, .btn i.far, .btn i.fab, .btn i.fa {
  color: inherit !important;
}

/* ============================================================
   BOOK A MEETING — GLOBAL CTA BUTTON
   Solid orange · White text
   Hover: Transparent · Orange border · Orange text
   ============================================================ */
.btn-cta,
.btn-cta.btn-primary,
.btn-cta.btn-outline {
  background: var(--accent) !important;
  color: #ffffff !important;
  border: 1px solid var(--accent) !important;
  box-shadow: none !important;
  font-weight: 600;
}
.btn-cta:hover,
.btn-cta:focus,
.btn-cta.btn-primary:hover,
.btn-cta.btn-outline:hover {
  background: transparent !important;
  color: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

/* ============================================================
   SECTION LABELS — GLOBAL ORANGE
   Applies to .section-label and .hero-eyebrow text
   ============================================================ */
.section-label {
  color: var(--accent) !important;
  letter-spacing: 0.08em;
}

/* Hero eyebrow pill keeps its pill background but text goes orange */
.hero-eyebrow {
  color: var(--accent) !important;
}

/* ============================================================
   ALL CAPS HEADINGS (SITE-WIDE)
   ============================================================ */
h1, h2, h3, h4 { text-transform: uppercase; letter-spacing: 0.04em; }
.pkg-name, .pkg-billing, .card-title, .faq-question,
.process-title, .step-title, .feature-title, .stat-label,
.footer-heading { text-transform: uppercase; letter-spacing: 0.04em; }

p, li, label, input, select, textarea,
.review-text, .review-name, .pkg-desc, .pkg-price-note,
.pkg-guarantee, .hero-sub, .section-subtitle, .card-body,
.faq-answer, .footer-copy, .proof-label, .breadcrumb {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* ============================================================
   REVIEWS SLIDER
   ============================================================ */
.reviews-section { padding: 96px 0; }
.reviews-slider-wrap {
  position: relative;
  overflow: hidden;
  margin: 48px 0 32px;
  padding: 0 40px;
  max-width: 100%;
  box-sizing: border-box;
}
.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.review-slide {
  flex: 0 0 calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
}
@media (max-width: 900px) {
  .review-slide { flex: 0 0 calc(50% - 12px); min-width: calc(50% - 12px); }
}
@media (max-width: 600px) {
  .review-slide { flex: 0 0 100%; min-width: 100%; }
}
.review-slide .review-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 2px 8px rgba(16,24,40,0.07), 0 0 0 1px rgba(16,24,40,0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.review-slide .review-card:hover {
  box-shadow: 0 16px 48px rgba(16,24,40,0.12);
  transform: translateY(-2px);
}
.review-slide .review-stars {
  color: #F5A623;
  font-size: 20px;
  letter-spacing: 2px;
  line-height: 1;
}
.review-slide .review-text {
  font-size: 15px;
  color: #5B667A;
  line-height: 1.7;
  flex: 1;
}
.review-slide .review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.review-slide .review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #041d36;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  text-transform: uppercase;
}
.review-slide .review-name {
  font-size: 14px;
  font-weight: 600;
  color: #0B1220;
}
.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 2px 12px rgba(16,24,40,0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #041d36;
  z-index: 10;
  transition: box-shadow 0.18s, background 0.18s, color 0.18s;
}
.reviews-arrow:hover { background: #041d36; color: #fff; box-shadow: 0 4px 20px rgba(4,29,54,0.30); }
.reviews-arrow--prev { left: 0; }
.reviews-arrow--next { right: 0; }
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(4,29,54,0.25);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.reviews-dot.active { background: #041d36; transform: scale(1.3); }
.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(4,29,54,0.10);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  color: #041d36;
  font-weight: 500;
  margin-top: 32px;
}

/* ============================================================
   GLOBAL TYPOGRAPHY SYSTEM — v2
   Single source of truth for all text styles sitewide.
   ============================================================ */

/* --- Contact detail label (Email / Support / Phone etc) --- */
.contact-detail-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
  display: block;
}

/* --- Contact detail value (the actual email/phone/address) --- */
.contact-detail-value {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.5;
}
.contact-detail-value a {
  color: var(--text);
  text-decoration: none;
}
.contact-detail-value a:hover {
  color: #041d36;
}

/* --- Contact detail item wrapper --- */
.contact-detail-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-detail-item:last-child {
  border-bottom: none;
}

/* --- Card inner label (RETAINER / WEBSITE / META etc) --- */
.card-service-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #041d36;
  margin-bottom: 2px;
  display: block;
}

/* --- Body text helpers --- */
.text-body    { font-size: 17px; font-weight: 400; color: var(--muted); line-height: 1.7; }
.text-body-sm { font-size: 15px; font-weight: 400; color: var(--muted); line-height: 1.65; }
.text-body-xs { font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.6; }

/* --- Normalise paragraph text in cards --- */
.card p, .package-card p, .service-card p { font-weight: 400 !important; }

/* --- Section intro paragraph (below h2 in section-header) --- */
.section-header p {
  font-size: 17px !important;
  font-weight: 400 !important;
  color: var(--muted) !important;
  line-height: 1.7 !important;
}

/* ============================================================
   QUICK CONTACT FORM LAYOUT
   ============================================================ */
.qf-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.qf-info h2 { margin-bottom: 12px; }
.qf-info > p { color: var(--muted); margin-bottom: 32px; }
.qf-details { margin-top: 8px; }
.qf-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-xs);
}
.form-error-banner {
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.25);
  color: #b91c1c;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 15px;
}
input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
}
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.5;
  cursor: pointer;
}
@media (max-width: 768px) {
  .qf-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ===========================
   HERO SPLIT LAYOUT
   =========================== */
/* Override hero height for split layout — content determines height */
.hero.hero-split {
  height: auto;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 60px;
}
@media (max-width: 900px) {
  .hero.hero-split {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 48px;
  }
}
.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-centered-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}
.hero-split-left h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-split-left .hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-form-card {
  background: #fff;
  border-radius: var(--radius-xl, 16px);
  padding: 40px 32px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  margin-top: 16px;
}
.hero-form-card h3 {
  color: var(--dark, #041d36);
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.hero-form-card .form-group label {
  color: var(--dark, #041d36);
  font-size: 13px;
}
.hero-form-card input,
.hero-form-card select,
.hero-form-card textarea {
  font-size: 14px;
}
.hero-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 900px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-form-card .form-row {
    grid-template-columns: 1fr;
  }
  .hero-split-left {
    text-align: center;
  }
  .hero-split-left .hero-btns {
    justify-content: center;
  }
  .hero-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }
}


/* ============================================================
   MOBILE + HERO FIXES — v20260301c
   TARGETED FIXES ONLY — do not remove or modify above rules
   ============================================================ */

/* ── 1. HERO OVERLAY — CSS ::before guarantee (all pages) ──
   Ensures overlay is always present even if inline div is missing.
   The inline div (z-index:1) takes precedence where it exists;
   this ::before acts as a guaranteed fallback at z-index:0. */
.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(4,29,54,0.55) 0%,
    rgba(4,29,54,0.30) 50%,
    rgba(4,29,54,0.55) 100%
  );
  pointer-events: none;
}
/* Stronger overlay on mobile for readability */
@media (max-width: 768px) {
  .hero::before,
  .page-hero::before {
    background: linear-gradient(
      180deg,
      rgba(4,29,54,0.70) 0%,
      rgba(4,29,54,0.50) 50%,
      rgba(4,29,54,0.70) 100%
    );
  }
}
/* Ensure hero text container is always above the overlay */
.hero .container,
.page-hero .container {
  position: relative;
  z-index: 2;
}
/* Ensure hero picture/img sits below overlay */
.hero > picture,
.page-hero > picture {
  z-index: 0 !important;
}

/* ── 2. PREVENT HORIZONTAL SCROLL SITE-WIDE ── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Fix inline repeat(3,1fr) service cards grid on mobile */
@media (max-width: 768px) {
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* Logos bar — collapse to 4 cols on tablet, 2 on mobile */
  div[style*="grid-template-columns:repeat(8,1fr)"] {
    grid-template-columns: repeat(4,1fr) !important;
  }
}
@media (max-width: 480px) {
  div[style*="grid-template-columns:repeat(8,1fr)"] {
    grid-template-columns: repeat(2,1fr) !important;
  }
  /* Proof bar items — stack on very small screens */
  .proof-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* ── 3. MOBILE NAV — additions only (main rules are in style.css) ── */
@media (max-width: 768px) {
  /* Ensure nav has scrollable max-height on small screens */
  .main-nav {
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    padding: 16px 20px 24px;
  }
  .main-nav > a {
    font-size: 16px;
    padding: 13px 16px;
  }
  /* Services sub-links: always visible as flat list inside mobile nav */
  .nav-dropdown > a {
    font-size: 16px;
    padding: 13px 16px;
    display: block;
  }
  .dropdown-menu {
    margin: 4px 0 4px 16px;
    padding: 6px;
  }
  .dropdown-menu a {
    font-size: 14px;
    padding: 10px 14px;
  }
  /* Get in Touch CTA link inside mobile nav */
  .mobile-nav-cta {
    display: block !important;
    margin-top: 12px;
    padding: 13px 16px;
    background: var(--accent, #ff6b00);
    color: #fff !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
  }
}

/* ── 4. SMOOTH MOBILE SCROLLING — remove jank causes ── */
html {
  -webkit-overflow-scrolling: touch;
}
body {
  touch-action: pan-y;
}
/* Disable background-attachment:fixed on mobile (causes scroll jank) */
@media (max-width: 1024px) {
  * {
    background-attachment: scroll !important;
  }
}
/* Prevent layout shift from hero images loading */
.hero picture,
.page-hero picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero picture img,
.page-hero picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* Reserve space so no layout shift */
  display: block;
}
/* Remove will-change on hero images — reduces GPU memory pressure on mobile */
@media (max-width: 768px) {
  .hero picture img,
  .page-hero picture img {
    will-change: auto;
  }
  /* Disable fade-up animations on mobile to prevent scroll stutter */
  .fade-up {
    animation: none !important;
  }
}

/* ── Additional mobile grid overflow fixes ──
   minmax(300px) and minmax(280px) grids can overflow on narrow screens.
   Force single column on mobile for all auto-fit/auto-fill grids. */
@media (max-width: 600px) {
  div[style*="minmax(300px"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="minmax(280px"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="minmax(260px"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="minmax(240px"] {
    grid-template-columns: 1fr !important;
  }
  /* packages.php repeat(3,1fr) grid */
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* Ensure all containers never exceed viewport */
  .container {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

/* ── Mobile nav: Add Get in Touch CTA at bottom of open menu ──
   Uses a sibling selector trick — the CTA is already in header-cta
   which is hidden on mobile. We show a duplicate via CSS content on
   the nav's last child. Instead, we make the existing header-cta
   move inside the nav on mobile using a different approach:
   We show it as a block element after the nav links. */
/* CTA sibling selector removed — CTA is now a .mobile-nav-cta link inside the nav */

/* ── Prevent any element from causing horizontal overflow ──
   NOTE: site-header is intentionally excluded — overflow:hidden on the header
   clips the position:fixed mobile nav and makes it invisible. */
@media (max-width: 768px) {
  .site-footer,
  .section,
  .section-alt,
  .hero,
  .page-hero,
  .guarantee-bar,
  .proof-bar,
  .stats-bar,
  .cta-section,
  .booking-section,
  .reviews-section {
    max-width: 100vw;
    overflow-x: hidden;
  }
  /* Prevent wide tables or pre blocks from overflowing */
  table, pre {
    max-width: 100%;
    overflow-x: auto;
  }
}

/* ============================================================
   FOOTER BOTTOM BAR + CARD STACKING MOBILE FIXES — v20260301d
   ============================================================ */

/* ── Footer bottom bar: wrap links on mobile ── */
.footer-bottom {
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
  }
  .footer-bottom p {
    font-size: 12px;
    line-height: 1.6;
  }
  .footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    width: 100%;
  }
  .footer-bottom-links a {
    font-size: 12px;
    white-space: nowrap;
  }
  /* Footer grid: single column on mobile */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
}

/* ── All card grids: stack on mobile ──
   Covers every named grid class used site-wide */
@media (max-width: 768px) {
  .services-grid,
  .packages-grid,
  .pricing-grid,
  .why-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .process-steps,
  .reviews-grid,
  .contact-info-grid,
  .benefits-grid,
  .stats-grid,
  .team-grid,
  .team-grid--row1,
  .team-grid--row2 {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }
  /* Proof bar: stack items vertically */
  .proof-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .proof-divider {
    display: none;
  }
  /* Booking inner: single column */
  .booking-inner {
    grid-template-columns: 1fr !important;
  }
  /* About teaser: single column */
  .about-teaser {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  /* QF layout: single column */
  .qf-layout {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  /* Hero split grid: single column */
  .hero-split-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  /* Form rows: single column */
  .form-row,
  .hero-form-card .form-row {
    grid-template-columns: 1fr !important;
  }
  /* Pkg summary strip: wrap */
  .pkg-summary-strip .container {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  .pkg-summary-divider {
    display: none;
  }
  /* Prevent any card from having a fixed min-width that overflows */
  .card,
  .service-card,
  .package-card,
  .pkg-card,
  .review-card,
  .benefit-card,
  .why-item,
  .process-step,
  .contact-info-card,
  .team-card {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
}

/* ── Global overflow lock ──
   Belt-and-suspenders: nothing can cause horizontal scroll */
html {
  overflow-x: hidden !important;
}
body {
  overflow-x: hidden !important;
  max-width: 100vw;
}
* {
  box-sizing: border-box;
}

/* ============================================================
   REVIEWS SLIDER + FINAL OVERFLOW FIX — v20260301e
   ============================================================ */

/* Reviews section must clip its slider overflow */
.reviews-section {
  overflow: hidden;
  max-width: 100%;
}
.reviews-slider-wrap {
  overflow: hidden !important;
  position: relative;
  max-width: 100%;
}
/* The track itself must not cause page-level overflow */
.reviews-track {
  overflow: visible; /* slides extend beyond — clipped by wrapper */
  max-width: none;   /* allow translateX to work */
}

/* ── Footer bottom bar: definitive fix ── */
.footer-bottom {
  flex-wrap: wrap !important;
  gap: 12px !important;
}
.footer-bottom-links {
  flex-wrap: wrap !important;
  gap: 6px 14px !important;
  max-width: 100%;
}
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .footer-bottom p {
    font-size: 12px;
    line-height: 1.7;
    max-width: 100%;
  }
  .footer-bottom-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 12px !important;
    width: 100% !important;
  }
  .footer-bottom-links a {
    font-size: 12px;
    white-space: normal;
  }
}

/* ── Nuclear overflow lock — applied after all other rules ──
   This is the last rule in the file so it wins specificity. */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* ============================================================
   DEFINITIVE FIXES v20260301g
   1. Mobile nav — guaranteed visible above everything
   2. Hero overlay — always present
   3. Sideways scroll — eliminated
   4. Smooth mobile scrolling
   ============================================================ */

/* ── 1. MOBILE NAV — absolute guarantee it shows above everything ──
   The nav is position:fixed so it escapes any parent overflow.
   z-index:9999 puts it above the hero (z-index:2), header (z-index:1000),
   and any other stacking context on the page. */
@media (max-width: 768px) {
  /* CRITICAL: header must NOT have overflow:hidden — that clips fixed children */
  .site-header {
    overflow: visible !important;
  }
  .site-header.scrolled {
    background: rgba(4,29,54,0.96) !important;
  }
  /* The nav itself */
  #main-nav {
    position: fixed !important;
    top: 68px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    background: rgba(4,29,54,0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    z-index: 9999 !important;
    display: none;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 16px 20px 24px !important;
    gap: 0 !important;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4) !important;
    border-top: 3px solid #ff6b00 !important;
    max-height: calc(100vh - 68px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
  #main-nav.open {
    display: flex !important;
  }
  #main-nav > a,
  #main-nav .nav-dropdown > a {
    display: block !important;
    padding: 14px 16px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  }
  #main-nav > a:last-child,
  #main-nav .nav-dropdown:last-child > a {
    border-bottom: none !important;
  }
  #main-nav > a.active {
    color: #ff6b00 !important;
    font-weight: 600 !important;
  }
  /* Services sub-menu inside mobile nav */
  #main-nav .nav-dropdown {
    position: static !important;
  }
  #main-nav .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    position: static !important;
    box-shadow: none !important;
    background: rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
    margin: 4px 0 8px 16px !important;
    padding: 6px !important;
    pointer-events: auto !important;
  }
  #main-nav .dropdown-menu a {
    font-size: 14px !important;
    padding: 10px 14px !important;
    border-bottom: none !important;
  }
  /* Mobile CTA link at bottom of nav */
  #main-nav .mobile-nav-cta {
    display: block !important;
    margin-top: 12px !important;
    padding: 14px 16px !important;
    background: #ff6b00 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-align: center !important;
    border-bottom: none !important;
  }
}

/* ── 2. HERO OVERLAY — guaranteed on all pages ──
   The ::before pseudo-element is the overlay.
   The inline overlay div (if present) is z-index:1 and also works.
   Both are belt-and-suspenders. */
.hero::before,
.page-hero::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(
    180deg,
    rgba(4,29,54,0.60) 0%,
    rgba(4,29,54,0.35) 50%,
    rgba(4,29,54,0.60) 100%
  ) !important;
  pointer-events: none !important;
}
/* Ensure hero text is above overlay */
.hero .container,
.page-hero .container {
  position: relative !important;
  z-index: 2 !important;
}

/* ── 3. SIDEWAYS SCROLL — eliminated ──
   html/body overflow-x:hidden is the primary lock.
   The header is excluded to avoid clipping the fixed nav. */
html {
  overflow-x: hidden !important;
}
body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* ── 4. SMOOTH MOBILE SCROLLING ──
   Remove causes of scroll sticking:
   - No background-attachment:fixed on mobile (causes jank on iOS/Android)
   - No scroll-snap
   - Enable momentum scrolling */
@media (max-width: 768px) {
  html {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto; /* disable smooth scroll on mobile to prevent jank */
  }
  body {
    -webkit-overflow-scrolling: touch;
  }
  /* Remove fixed background attachment — causes layout recalc on every scroll frame */
  .hero,
  .page-hero,
  .cta-section,
  .guarantee-bar,
  .stats-bar,
  [style*="background-attachment:fixed"],
  [style*="background-attachment: fixed"] {
    background-attachment: scroll !important;
  }
  /* Prevent will-change on hero images from creating stacking contexts */
  .hero > picture img,
  .page-hero > picture img {
    will-change: auto !important;
  }
}

/* =============================================
   ENQUIRY MODAL
   ============================================= */
.x3-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,29,54,0.72);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: x3-modal-fade-in 0.18s ease;
}
@keyframes x3-modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.x3-modal-wrap {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 40px 32px;
  position: relative;
  animation: x3-modal-slide-in 0.22s ease;
  box-shadow: 0 24px 64px rgba(4,29,54,0.22);
}
@keyframes x3-modal-slide-in {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.x3-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--grey);
  cursor: pointer;
  padding: 6px 8px;
  line-height: 1;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.x3-modal-close:hover {
  color: var(--brand);
  background: var(--brand-soft);
}
.x3-modal-header {
  margin-bottom: 24px;
}
.x3-modal-header h3 {
  font-size: 22px;
}
@media (max-width: 600px) {
  .x3-modal-wrap {
    padding: 28px 20px 24px;
    max-height: 95vh;
  }
  .x3-modal-header h3 {
    font-size: 18px;
  }
}

/* ============================================================
   Overlay stacking fix
   Keeps the Google reCAPTCHA badge above the fixed site header/nav.
   Also prevents normal site elements from covering third-party setup overlays.
   ============================================================ */
.grecaptcha-badge {
  z-index: 9998 !important;
}


/* ============================================================
   TRANSPARENT HEADER — full override
   Header is transparent by default, dark navy when scrolled.
   All nav text white, accent orange, dropdown 50% white.
   ============================================================ */

/* ── Logo: show as-is (uploaded logo is the correct version) ── */
.site-header .logo img {
  filter: none;
  transition: filter 0.3s;
}

/* ── Nav links: always white ── */
.site-header .main-nav > a,
.site-header .nav-dropdown > a {
  color: #ffffff !important;
}
.site-header .main-nav > a:hover,
.site-header .nav-dropdown > a:hover {
  color: #ff6b00 !important;
  background: rgba(255,255,255,0.10) !important;
}
.site-header .main-nav > a.active,
.site-header .nav-dropdown > a.active {
  color: #ff6b00 !important;
}

/* ── Chevron icon in Services link ── */
.site-header .nav-dropdown > a i.fa-chevron-down {
  color: rgba(255,255,255,0.7) !important;
}

/* ── Dropdown: 50% transparent white with blur ── */
.site-header .dropdown-menu {
  background: rgba(255,255,255,0.80) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  box-shadow: 0 8px 32px rgba(4,29,54,0.18) !important;
}
.site-header .dropdown-menu a {
  color: #0B1220 !important;
}
.site-header .dropdown-menu a:hover {
  background: rgba(255,255,255,0.55) !important;
  color: #ff6b00 !important;
}
.site-header .dropdown-menu a i {
  color: #ff6b00 !important;
}

/* ── Client Zone button: orange solid ── */
.site-header .header-cta .btn-cta {
  background: #ff6b00 !important;
  color: #ffffff !important;
  border-color: #ff6b00 !important;
}
.site-header .header-cta .btn-cta:hover {
  background: transparent !important;
  color: #ff6b00 !important;
  border-color: #ff6b00 !important;
}
.site-header .main-nav > a.nav-all-inclusive {
  background: #ff6b00;
  color: #ffffff;
  border-radius: 10px;
  padding: 9px 14px;
}
.site-header .main-nav > a.nav-all-inclusive:hover,
.site-header .main-nav > a.nav-all-inclusive.active {
  background: #ffffff;
  color: #041d36;
}

/* ── Hamburger lines: white ── */
.site-header .nav-toggle span {
  background: #ffffff !important;
}

/* ── When scrolled: keep everything white/orange (already dark bg) ── */
.site-header.scrolled .logo img {
  filter: none;
}
.site-header.scrolled .main-nav > a,
.site-header.scrolled .nav-dropdown > a {
  color: #ffffff !important;
}
.site-header.scrolled .nav-toggle span {
  background: #ffffff !important;
}

/* ── Non-hero pages: header needs dark bg immediately (no hero video behind it) ── */
body:not(.has-hero) .site-header,
.page-hero ~ * .site-header {
  background: rgba(4,29,54,0.96);
}

/* ── Mobile nav: dark navy transparent background (matches header) ── */
@media (max-width: 768px) {
  #main-nav {
    background: rgba(4,29,54,0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
  }
  #main-nav > a,
  #main-nav .nav-dropdown > a {
    color: #ffffff !important;
  }
  #main-nav > a:hover,
  #main-nav .nav-dropdown > a:hover {
    color: #ff6b00 !important;
    background: rgba(255,255,255,0.08) !important;
  }
  #main-nav > a.active {
    color: #ff6b00 !important;
  }
  #main-nav .dropdown-menu {
    background: rgba(255,255,255,0.1) !important;
    backdrop-filter: none !important;
    border: none !important;
  }
  #main-nav .dropdown-menu a {
    color: #ffffff !important;
  }
}

/* ── Non-hero pages: header is dark navy immediately (no hero behind it) ── */
body.no-hero .site-header {
  background: rgba(4,29,54,0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* ============================================================
   MOBILE SCROLL JITTER FIX
   Disables will-change and reveal animations on mobile to prevent
   the "loose" / detached scroll effect on iOS and Android.
   will-change:transform creates GPU compositing layers that can
   scroll independently from the page on mobile browsers.
   ============================================================ */
@media (max-width: 768px) {
  /* Remove will-change from all animated elements */
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .card,
  .pkg-card,
  .service-card,
  .why-item,
  .stat-item,
  .proof-item,
  .review-card,
  .team-member,
  .step-item,
  .benefit-item,
  .faq-item {
    will-change: auto !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  /* Disable all scroll-reveal animations on mobile */
  .js .reveal,
  .js .reveal-left,
  .js .reveal-right,
  .js .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  /* Prevent any element from creating a new stacking context via transform */
  * {
    will-change: auto !important;
  }

  /* Ensure smooth native scroll */
  html, body {
    -webkit-overflow-scrolling: touch;
  }

  /* Stats bar and proof bar: no transform, no animation */
  .stats-bar,
  .proof-bar,
  .stats-grid,
  .proof-grid {
    transform: none !important;
    will-change: auto !important;
  }
}

/* ============================================================
   MOBILE SCROLL GUARANTEE — overrides any conflicting rules
   Ensures vertical scrolling always works on iOS and Android
   ============================================================ */
html {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  height: auto !important;
}
body {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  height: auto !important;
  min-height: 100vh;
  touch-action: pan-y !important;
}
@media (max-width: 768px) {
  html, body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    height: auto !important;
    touch-action: pan-y !important;
  }
}

/* Featured All-Inclusive Package on Home */
.home-ai-feature{background:#f4f6f8;padding:100px 0}
.home-ai-shell{display:grid;grid-template-columns:1.15fr .85fr;gap:64px;align-items:center;background:#041d36;border-radius:28px;padding:56px;box-shadow:0 28px 70px rgba(4,29,54,.18)}
.home-ai-copy h2{color:#fff;margin-bottom:18px}.home-ai-copy>p{color:rgba(255,255,255,.78);font-size:17px}
.home-ai-prices{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:30px 0}
.home-ai-prices article{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:22px}
.home-ai-prices article>span{display:block;color:#ff6b00;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.home-ai-prices h3{color:#fff;font-size:17px;margin:8px 0 14px}.home-ai-prices strong{display:block;color:#fff;font-size:32px}.home-ai-prices small{color:rgba(255,255,255,.62)}
.home-ai-placeholder{min-height:480px;border:2px dashed #ff6b00;border-radius:22px;background:repeating-linear-gradient(135deg,rgba(255,255,255,.05) 0,rgba(255,255,255,.05) 14px,rgba(255,255,255,.1) 14px,rgba(255,255,255,.1) 28px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;gap:8px}
.home-ai-placeholder strong{font-size:32px}.home-ai-placeholder span{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
@media(max-width:900px){.home-ai-shell{grid-template-columns:1fr;padding:40px}.home-ai-placeholder{min-height:340px}}
@media(max-width:600px){.home-ai-feature{padding:70px 0}.home-ai-shell{padding:28px 22px;border-radius:20px}.home-ai-prices{grid-template-columns:1fr}.home-ai-copy .btn{width:100%;justify-content:center}.home-ai-placeholder{min-height:280px}}
