/* WealthEra Advisory — Minimal custom CSS (Tailwind CDN handles utilities) */

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* Fonts */
body { font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; color: rgba(255,255,255,0.82); }
.font-serif, h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; }

/* Global heading margin reset — prevents browser-default ~1em block margins
   from creating uneven spacing inside cards when title wraps to 1 vs 2 lines */
h1, h2, h3, h4, h5, h6 { margin: 0; }

/* Global gold headings — brand colour + correct weight across the whole site
   DM Serif Display only ships a 400 weight; browser-synthesised bold looks heavy */
h1, h2, h3, h4 { color: #C8A56A !important; font-weight: 400 !important; }

/* Marquee */
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.animate-marquee { animation: marquee 30s linear infinite; will-change: transform; }

/* Header tagline marquee — seamless loop via translateX(-50%) on max-content track */
@keyframes we-header-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.we-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

/* Keyboard focus ring — visually distinct for accessibility */
:focus-visible {
  outline: 2px solid #C8A56A !important;
  outline-offset: 3px !important;
  border-radius: 4px !important;
}

/* Hero float animations */
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.float1 { animation: float1 5s ease-in-out 1.8s infinite; }
.float2 { animation: float2 6s ease-in-out 2.3s infinite; }
.float3 { animation: float3 4.5s ease-in-out 2.8s infinite; }

/* Hover lift */
.we-hover-card { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s; }
.we-hover-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(200,165,106,0.18); }

/* Scroll progress */
#we-scroll-bar { transition: opacity 0.3s; }

/* Mobile header — scrolls with page (not sticky) */
#we-header {
  position: relative;
}

/* ── Scroll-triggered compact mobile/tablet nav ── */
#we-mob-scrollnav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9950;
  min-height: 52px;
  height: auto;
  background: rgba(10,26,17,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,165,106,0.14);
  align-items: center;
  padding: 10px 16px;
  gap: 12px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.38);
  transform: translateY(-110%);
  /* Exit animation: quick ease-in slide up + fast fade */
  transition: transform 0.22s ease-in, opacity 0.18s ease;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
@media (max-width: 1023px) {
  #we-mob-scrollnav { display: flex; }
}
#we-mob-scrollnav.we-scrollnav-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  /* Entry animation: smooth spring slide down */
  transition: transform 0.38s cubic-bezier(0.16,1,0.3,1), opacity 0.28s ease;
}

/* Hero curve height on mobile is set dynamically via PHP/Customizer (we_h_mob_curve_h) */
#we-scrollnav-toggle {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,165,106,0.2);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.18s;
}
#we-scrollnav-toggle:active { background: rgba(200,165,106,0.12); }

/* ── Floating WhatsApp button — phones only ── */
#we-float-wa {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 9980;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35), 0 2px 8px rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), opacity 0.22s;
}
#we-float-wa:active { transform: scale(0.92); }
@media (min-width: 768px) {
  #we-float-wa { display: none !important; }
}
#we-float-wa.we-float-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: scale(0.75) !important;
}

/* Desktop-only header — sticky at top (1024px+), overrides inline style */
@media (min-width: 1024px) {
  #we-header {
    position: sticky !important;
    top: 0 !important;
  }
}

/* Phone + tablet header never sticky — reinforces inline style */
@media (max-width: 1023px) {
  #we-header {
    position: relative !important;
    top: auto !important;
  }
}

/* Hide #we-mob-nav on desktop (Tailwind lg:hidden also covers this) */
@media (min-width: 1024px) {
  #we-mob-nav,
  .we-mob-brand,
  .we-mob-action-bar {
    display: none !important;
  }
}

/* ── Mobile/tablet action bar — PURE CSS STICKY ────────────────────────
   ROOT-CAUSE FIX:
   The action bar now lives in #we-mob-nav (outside #we-header) so it is
   a child of <body>, the scroll container.  position:sticky keeps it in
   normal flow (no CLS/layout-shift) while ensuring it sticks at top:0
   once the brand block scrolls off-screen.  No JS, no class toggling,
   no timers, no transform tricks — just one CSS property.
   ────────────────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  #we-mob-nav {
    /* Must NOT have overflow:hidden — that would break position:sticky */
    position: relative;
  }
  .we-mob-action-bar {
    position: sticky !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 9998;
    width: 100%;
    box-sizing: border-box;
    background: rgba(10, 26, 17, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: none;
    border-bottom: 1px solid rgba(200, 165, 106, 0.14);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
  }
}

/* Full-page mobile menu — open state */
#we-mobile-menu.is-open {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ── Mobile menu backdrop ── */
#we-mob-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0s linear 0.28s;
  cursor: pointer;
}
#we-mob-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.28s ease, visibility 0s linear 0s;
}

/* Custom scrollbar — theme colours */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0e2a1c; }
::-webkit-scrollbar-thumb { background: #C8A56A; border-radius: 9999px; border: 2px solid #0e2a1c; }
::-webkit-scrollbar-thumb:hover { background: #e8c98a; }
* { scrollbar-width: thin; scrollbar-color: #C8A56A #0e2a1c; }

/* Service image hover */
.we-hover-card img { transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.we-hover-card:hover img { transform: scale(1.05); }

/* Form inputs */
input, textarea, select {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
}
input:focus, textarea:focus { outline: none; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.3); }

/* Custom logo in header */
#we-header .custom-logo-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ── Marquee bar smooth hide/show on scroll ─────────────── */
#we-marquee-bar {
  max-height: 44px;
  opacity: 1;
  transition: max-height 0.38s cubic-bezier(0.22,1,0.36,1),
              opacity 0.3s ease;
  overflow: hidden;
}
#we-marquee-bar.we-marquee-hidden {
  max-height: 0;
  opacity: 0;
}

/* ── MOBILE MENU — smooth slide from right + fade ───────────
   Single authoritative block. No duplicates elsewhere.
   transform + opacity animate together; visibility delayed
   so the element stays reachable during the exit transition. */
#we-mobile-menu {
  display: flex !important;
  flex-direction: column;
  overflow: hidden !important;          /* hard-lock: never scrollable */
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
              opacity    0.32s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s   linear 0.44s;
}
#we-mobile-menu.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
              opacity    0.28s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s   linear 0s;
}

/* ── NAV ITEM STAGGER inside slide menu ──────────────────── */
#we-mobile-menu nav > div {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity  0.34s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
#we-mobile-menu.is-open nav > div:nth-child(1) { opacity:1; transform:none; transition-delay:0.10s; }
#we-mobile-menu.is-open nav > div:nth-child(2) { opacity:1; transform:none; transition-delay:0.16s; }
#we-mobile-menu.is-open nav > div:nth-child(3) { opacity:1; transform:none; transition-delay:0.22s; }
#we-mobile-menu.is-open nav > div:nth-child(4) { opacity:1; transform:none; transition-delay:0.28s; }
#we-mobile-menu.is-open nav > div:nth-child(5) { opacity:1; transform:none; transition-delay:0.34s; }

/* Fix Lucide icons alignment */
i[data-lucide] { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Hero section mobile bg */
@media (max-width: 1023px) {
  #home .hidden.lg\:block { display: none !important; }
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* FAQ content transition */
.faq-content { transition: max-height 0.3s ease; }

/* Wipe reveal (hero image panel) */
@keyframes wipe { 0%{transform:scaleX(1)} 100%{transform:scaleX(0)} }
.wipe-right { animation: wipe 1.1s cubic-bezier(0.76,0,0.24,1) 0.3s forwards; transform-origin: right; }

/* Bouncing chevron (hero scroll indicator) */
@keyframes bounceChevron { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }
.we-bounce-chevron { animation: bounceChevron 1.8s ease-in-out infinite; }

/* FadeInUp (page sections) */
@keyframes fadeInUp { from{opacity:0;transform:translateY(32px);filter:blur(8px)} to{opacity:1;transform:translateY(0);filter:blur(0)} }
.anim-fadeup { animation: fadeInUp 0.65s cubic-bezier(0.22,1,0.36,1) forwards; opacity:0; }
.anim-delay-1{animation-delay:0.1s} .anim-delay-2{animation-delay:0.2s} .anim-delay-3{animation-delay:0.3s}
.anim-delay-4{animation-delay:0.4s} .anim-delay-5{animation-delay:0.5s} .anim-delay-6{animation-delay:0.6s}

/* Gold accent bar expands on card hover */
.we-hover-card:hover .we-value-line { width: 64px !important; opacity: 1 !important; }

/* Bottom gradient line appears on card hover */
.we-hover-card:hover .we-bottom-line { opacity: 1 !important; }

/* Service image scale on card hover */
.we-hover-card:hover img { transform: scale(1.05); }

/* Print */
@media print { .we-hover-card { transform: none !important; } }


/* ═══════════════════════════════════════════════════════════
   V7 — PREMIUM CINEMATIC MOTION ENGINE
   ═══════════════════════════════════════════════════════════ */

/* Page load — hero entrance keyframes */
@keyframes heroReveal {
  from { opacity:0; transform:translateY(22px); filter:blur(5px); }
  to   { opacity:1; transform:translateY(0);    filter:blur(0);   }
}
@keyframes heroImgReveal {
  from { opacity:0; transform:scale(1.04); }
  to   { opacity:1; transform:scale(1);    }
}

/* Hero load classes */
.we-hero-load {
  opacity: 0;
  animation: heroReveal 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
}
.we-hero-load-img {
  opacity: 0;
  animation: heroImgReveal 1.1s cubic-bezier(0.22,1,0.36,1) 0.12s forwards;
}

/* Stagger delays for hero elements */
.we-ld1 { animation-delay: 0.05s; }
.we-ld2 { animation-delay: 0.18s; }
.we-ld3 { animation-delay: 0.30s; }
.we-ld4 { animation-delay: 0.42s; }
.we-ld5 { animation-delay: 0.54s; }
.we-ld6 { animation-delay: 0.68s; }

/* Enhanced scroll reveal — replaces plain fadeInUp */
@keyframes fadeUpScale {
  from { opacity:0; transform:translateY(18px) scale(0.99); filter:blur(2px); }
  to   { opacity:1; transform:translateY(0)    scale(1);    filter:blur(0);   }
}
.anim-fadeup { animation: fadeUpScale 0.42s cubic-bezier(0.22,1,0.36,1) forwards; opacity:0; }

/* Premium button micro-interactions */
.we-btn-gold {
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.22s ease,
              letter-spacing 0.22s ease;
}
.we-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200,165,106,0.32);
  letter-spacing: 0.14em;
}
.we-btn-gold:active { transform: translateY(0) scale(0.97); }

.we-btn-ghost-p {
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1),
              border-color 0.22s ease,
              background 0.22s ease;
}
.we-btn-ghost-p:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.38) !important;
  background: rgba(255,255,255,0.09) !important;
}
.we-btn-ghost-p:active { transform: translateY(0) scale(0.97); }

/* Navbar premium scroll state */
#we-header {
  transition: background 0.45s ease,
              box-shadow 0.45s ease,
              border-color 0.45s ease;
}
#we-header.is-scrolled {
  background: rgba(9,22,15,0.92) !important;
  border-bottom-color: rgba(200,165,106,0.18) !important;
}
#we-header.is-scrolled nav ul li a {
  letter-spacing: 0.115em;
  transition: letter-spacing 0.45s ease, color 0.2s;
}

/* Nav link hover shimmer */
#we-header nav ul li a:hover {
  color: rgba(255,255,255,0.92) !important;
}

/* Card stagger helper */
.we-stagger > * {
  opacity: 0;
}
.we-stagger > *.anim-fadeup {
  opacity: 1;
}

/* ── Initial hidden states — prevent flash before animation ── */
/* All scroll-triggered elements start invisible via CSS so JS
   never needs to race against render to hide them first.       */
[data-anim] {
  opacity: 0;
  will-change: opacity, transform;
  /* Self-healing: if JS never fires the observer (script error,
     very old browser), reveal content automatically after 0.5 s */
  animation: fadeUpScale 0.45s cubic-bezier(0.22,1,0.36,1) 0.5s both;
}
/* When JS does add anim-fadeup, it takes priority over the fallback
   because .anim-fadeup is defined later in this file               */

/* Hero load elements also start invisible before JS kicks in */
[data-hero-load] {
  opacity: 0;
}

/* Preserve visibility for elements inside already-animated parents */
.anim-fadeup [data-anim] {
  opacity: 1;
  animation: none;
}


/* ═══════════════════════════════════════════════════════════
   PHASE 2 — NAVBAR LOCK: desktop shrink only, mobile frozen
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Navbar padding is ALWAYS zero on the outer header — inner
     div controls height. JS can only add box-shadow on mobile. */
  #we-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   PHASE 3 — MOBILE MENU STYLE REFINEMENTS
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Nav link touch feedback */
  .we-mobile-link { -webkit-tap-highlight-color: transparent; }
  .we-mobile-link:active { background: rgba(200,165,106,0.07) !important; }
}


/* ═══════════════════════════════════════════════════════════
   PHASE 4 — MOBILE BUTTON ENGINE
   All buttons: centred, full-width on mobile, min 52px tall
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 639px) {

  /* Hero buttons stack */
  .we-hero-btns {
    flex-direction: column !important;
  }
  .we-hero-btns button,
  .we-hero-btns a {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    min-height: 54px !important;
  }

  /* Services strip CTA — stack on small phones */
  .we-svc-strip-btns {
    flex-direction: column !important;
    width: 100% !important;
  }
  .we-svc-strip-btns > a {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* Footer CTA buttons */
  .we-footer-cta-btns {
    flex-direction: column !important;
    width: 100% !important;
  }
  .we-footer-cta-btns > a {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Generic: any rounded-full inside a flex-col container */
  .flex.flex-col > a.rounded-full,
  .flex.flex-col > button.rounded-full {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    min-height: 52px !important;
  }

  /* Standalone CTA buttons (not in a flex-col parent) */
  .we-standalone-btn {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    min-height: 52px !important;
  }

  /* Form submit buttons — full width on mobile */
  form button[type="submit"].rounded-full,
  form button[type="submit"].w-full {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   PHASE 5 — MOBILE SECTION REFINEMENT
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* Hard stop on horizontal scroll.
     IMPORTANT: overflow-x:hidden creates a scroll container and breaks
     position:sticky on any ancestor element (i.e. the sticky navbar).
     Use clip instead — it clips overflow without creating a scroll container. */
  body { overflow-x: clip; }
  section, footer { max-width: 100vw; overflow-x: clip; }

  /* Consistent section vertical rhythm — exclude hero */
  section:not(#home) { padding-top: 48px; padding-bottom: 48px; }

  /* Cards: never wider than viewport */
  .we-hover-card { max-width: 100%; }

  /* Images: constrain inside containers */
  section img { max-width: 100%; height: auto; }

  /* Text: prevent orphan overflow */
  h1, h2, h3, h4, p { word-break: break-word; overflow-wrap: break-word; }

  /* Tags / badges: wrap gracefully */
  .flex.flex-wrap { flex-wrap: wrap !important; }

  /* Marquee: contain to screen */
  .animate-marquee { min-width: max-content; }
}


/* ═══════════════════════════════════════════════════════════
   PHASE 6 — TOUCH UX
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* Minimum tap target for all interactive elements */
  a, button, [role="button"] {
    min-height: 44px;
    min-width: 44px;
  }

  /* Instant active feedback on touch */
  a:active, button:active {
    opacity: 0.72;
    transition: opacity 0.08s ease;
  }

  /* Nav links — generous vertical padding for fat-finger tapping */
  nav a, .we-mobile-link { padding-top: 14px !important; padding-bottom: 14px !important; }

  /* Smooth momentum scrolling on iOS */
  html { -webkit-overflow-scrolling: touch; }

  /* Prevent text selection on tap for buttons */
  button, [role="button"] { -webkit-user-select: none; user-select: none; }

  /* Space between stacked interactive items */
  .space-mobile-interactive > * + * { margin-top: 12px !important; }
}


/* ═══════════════════════════════════════════════════════════
   V7 — PREMIUM LOADER
   ═══════════════════════════════════════════════════════════ */

#we-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a1a10;
  opacity: 1;
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              visibility 0s linear 0.75s;
}
#we-loader.we-loader-exit {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ── Loader inner container ─── */
.we-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ── Logo: softly appears 0→1s ─── */
@keyframes ldLogo {
  from { opacity:0; transform:translateY(14px) scale(0.96); filter:blur(6px); }
  to   { opacity:1; transform:translateY(0)    scale(1);    filter:blur(0);   }
}
.we-loader-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: ldLogo 0.9s cubic-bezier(0.22,1,0.36,1) 0.15s forwards;
  opacity: 0;
  margin-bottom: 28px;
}
.we-loader-logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1.5px solid rgba(200,165,106,0.38);
  background: rgba(200,165,106,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}
.we-loader-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.we-loader-brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #C8A56A;
  letter-spacing: 0.02em;
}
.we-loader-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C8A56A;
}

/* ── Gold line: expands 1→2s ─── */
@keyframes ldLine {
  from { transform:scaleX(0); opacity:0; }
  to   { transform:scaleX(1); opacity:1; }
}
.we-loader-line {
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #C8A56A 40%, #e8c98a 60%, #C8A56A 80%, transparent 100%);
  transform: scaleX(0);
  transform-origin: center;
  animation: ldLine 1s cubic-bezier(0.22,1,0.36,1) 1.0s forwards;
  margin-bottom: 22px;
}

/* ── Tagline: fades in 2→3s ─── */
@keyframes ldTagline {
  from { opacity:0; letter-spacing:0.4em; }
  to   { opacity:0.65; letter-spacing:0.28em; }
}
.we-loader-tagline {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(200,165,106,0.65);
  margin: 0;
  animation: ldTagline 0.9s cubic-bezier(0.22,1,0.36,1) 1.9s forwards;
  opacity: 0;
}

/* ── Ambient particles: drift in 2.5→5s ─── */
.we-loader-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
@keyframes ldParticle {
  0%   { opacity:0; transform:translateY(0)     translateX(0); }
  15%  { opacity:1; }
  85%  { opacity:0.5; }
  100% { opacity:0; transform:translateY(-80px) translateX(16px); }
}
.we-loader-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,165,106,0.7) 0%, transparent 70%);
  animation: ldParticle linear infinite;
  opacity: 0;
}

/* ── Navbar cinematic entry (every page load) ─── */
/* IMPORTANT: final keyframe uses transform:none (not translateY(0)).
   translateY(0) is a non-none transform value — any non-none transform on
   an ancestor creates a containing block for position:fixed descendants,
   which would permanently break the sticky mobile action bar after 0.75s. */
@keyframes navbarEntry {
  from { opacity:0; transform:translateY(-10px); }
  to   { opacity:1; transform:none;              }
}
#we-header {
  animation: navbarEntry 0.65s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}

/* ── Floating cards: initially hidden, JS reveals them ─── */
.we-hero-float {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1);
}

/* ── Improved scroll reveals on mobile ─── */
@media (max-width: 767px) {
  /* Reduce rootMargin so reveals happen sooner on small screens */
  [data-anim] { transition: none; }

  /* Smoother iOS momentum scroll */
  html { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }

  /* Section reveal feels lighter on mobile */
  .anim-fadeup {
    animation-duration: 0.5s !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   PHASE 7 — COMPREHENSIVE MOBILE & TABLET OPTIMIZATION
   Samsung Galaxy S25 Ultra + all premium devices
   Breakpoints: 320 · 375 · 390 · 430 · 768 · 820 · 1024 · 1280 · 1440+
   ═══════════════════════════════════════════════════════════ */

/* ── 7.0  Global overflow guard ─────────────────────────── */
/* overflow-x:hidden on <html> breaks position:sticky — use clip instead.
   clip prevents horizontal overflow without creating a scroll container.  */
html { overflow-x: clip; }
section, footer, header, div { max-width: 100%; }

/* ── 7.1  HERO — kill forced 90 vh on mobile / tablet ───── */
@media (max-width: 1023px) {
  #home,
  #home > div:first-of-type { min-height: auto !important; }

  /* Left text panel: flow from top, tight breathing room only.
     Header is sticky (in-flow), so hero starts right below it —
     no need to pad for header height, just add visual breathing room. */
  #home > div > div:first-child {
    min-height: auto !important;
    justify-content: flex-start !important;
    padding-top: 24px !important;
    padding-bottom: 48px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  /* Inner text wrapper: no max-width lock */
  #home > div > div:first-child > div { max-width: 100% !important; }
}

@media (max-width: 767px) {
  /* Heading: prevent overflow on small screens */
  #home h1 {
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1.08 !important;
  }
  /* Supporting headline: tighter */
  #home h1 ~ p:first-of-type {
    font-size: 0.93rem !important;
    line-height: 1.65 !important;
  }
  /* Description: softer */
  #home h1 ~ p:last-of-type {
    font-size: 0.86rem !important;
    line-height: 1.75 !important;
  }
  /* CTA buttons: full width, easy tap */
  #home button[data-book-btn],
  #home button[data-explore-btn] {
    width: 100% !important;
    justify-content: center !important;
    min-height: 54px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  /* Service pills: wrap cleanly, never overflow */
  #home .flex.flex-wrap {
    gap: 6px !important;
    row-gap: 6px !important;
  }
  #home .flex.flex-wrap span {
    font-size: 9px !important;
    padding: 5px 11px !important;
    letter-spacing: 0.1em !important;
  }
  /* Scroll hint: hide on small phones */
  #home .we-bounce-chevron { display: none !important; }
}

/* ── 7.2  TRUST BAR TICKER ──────────────────────────────── */
@media (max-width: 767px) {
  .we-ticker-wrap { padding: 10px 0 !important; }
}

/* ── 7.3  SECTION VERTICAL RHYTHM ──────────────────────── */
/* Override Tailwind py-20 (5rem) / py-32 (8rem) / py-28 (7rem)
   to a breathing but not excessive rhythm on small screens.   */
@media (max-width: 767px) {
  section:not(#home) { padding-top:  52px !important; padding-bottom: 52px !important; }
  section:not(#home)[style*="padding-top"]  { padding-top:  52px !important; }
  section:not(#home)[style*="padding-bottom"]{ padding-bottom: 52px !important; }
  #home { padding-top: 0 !important; padding-bottom: 0 !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  section:not(#home) { padding-top:  72px !important; padding-bottom: 72px !important; }
  #home { padding-top: 0 !important; padding-bottom: 0 !important; }
}

/* ── 7.4  CONTAINER HORIZONTAL PADDING ─────────────────── */
@media (max-width: 479px) {
  .container { padding-left: 20px !important; padding-right: 20px !important; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .container { padding-left: 24px !important; padding-right: 24px !important; }
}

/* ── 7.5  WHO WE ARE — image block ─────────────────────── */
@media (max-width: 767px) {
  /* Shrink 480 px forced height */
  [style*="min-height:480px"] { min-height: 280px !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  [style*="min-height:480px"] { min-height: 360px !important; }
}

/* ── 7.6  WHY WEALTHERA — pillar cards ─────────────────── */
@media (max-width: 767px) {
  /* Already grid-cols-1; ensure reasonable height */
  [style*="min-height:320px"] { min-height: 260px !important; }
  /* Card padding: slightly tighter on phone */
  .rounded-3xl.relative .relative.p-8 {
    padding: 28px !important;
  }
}

/* ── 7.7  FEATURED ADVISORY SOLUTIONS ──────────────────── */
@media (max-width: 767px) {
  /* Image section height: reduce from 380 px */
  [style*="min-height:380px"] { min-height: 240px !important; }

  /* Force image always on top when stacked */
  .flex.flex-col > div.w-full.lg\\:w-\\[46\\%\\] { order: -1; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  [style*="min-height:380px"] { min-height: 300px !important; }
}

/* ── 7.8  SERVICES GRID CARDS ──────────────────────────── */
@media (max-width: 479px) {
  /* Single col on tiny phones — image top, content bottom */
  .grid.grid-cols-1 { gap: 20px !important; }
  /* Service card image height: slightly shorter */
  .we-hover-card [style*="height:196px"] { height: 180px !important; }
}

/* ── 7.9  UAE PRESENCE — location cards ─────────────────── */
@media (max-width: 479px) {
  /* Force 1-col on tiny phones */
  .grid.grid-cols-2.gap-4 { grid-template-columns: 1fr !important; }
}

/* ── 7.10  HOW WE WORK — steps ──────────────────────────── */
@media (max-width: 479px) {
  /* Stay 2-col on phones (already set) but tighten padding */
  .grid.grid-cols-2 .rounded-2xl { padding: 16px !important; }
  .grid.grid-cols-2 .rounded-2xl h3 { font-size: 0.95rem !important; }
}

/* ── 7.11  WHY CHOOSE WEALTHERA — trust cards ───────────── */
@media (max-width: 767px) {
  /* Left intro block: remove bottom padding excess */
  .flex.flex-col.lg\\:flex-row > div:first-child { padding-bottom: 0 !important; }
}

/* ── 7.12  TRUST METRICS STRIP ──────────────────────────── */
@media (max-width: 767px) {
  /* 2-col already; tighten cell padding */
  .grid.grid-cols-2.lg\\:grid-cols-4 > div { padding: 24px 16px !important; }
}

/* ── 7.13  INSIGHTS GRID ───────────────────────────────── */
@media (max-width: 1023px) {
  /* Force single column: hero post + 2 smaller ones all stack */
  .grid.grid-cols-1.lg\\:grid-cols-3 { display: flex !important; flex-direction: column !important; gap: 16px !important; }
  /* Inner two-post column: flatten */
  .grid.grid-cols-1.lg\\:grid-cols-3 > div.flex.flex-col { display: flex !important; flex-direction: column !important; gap: 16px !important; }
  /* Feature post: full width */
  .grid.grid-cols-1.lg\\:grid-cols-3 > a.lg\\:col-span-2 { flex: none !important; width: 100% !important; }
}

/* ── 7.14  FINAL CTA ────────────────────────────────────── */
@media (max-width: 767px) {
  /* Stack CTA buttons */
  #home ~ section:last-of-type .flex.flex-col.sm\\:flex-row { flex-direction: column !important; gap: 12px !important; }
  #home ~ section:last-of-type a.rounded-full { width: 100% !important; justify-content: center !important; }
}

/* ── 7.15  FOOTER ───────────────────────────────────────── */
@media (max-width: 767px) {
  /* CTA banner: stack headline and buttons */
  .we-footer-cta-btns { flex-direction: column !important; width: 100% !important; }
  .we-footer-cta-btns > a { width: 100% !important; justify-content: center !important; box-sizing: border-box !important; }

  /* Footer link grid: 2-col on phones */
  .grid.grid-cols-2.md\\:grid-cols-4 { grid-template-columns: 1fr 1fr !important; gap: 32px 16px !important; }

  /* Contact spans full width */
  .col-span-2 { grid-column: span 2 !important; }

  /* Business hours box */
  .rounded-2xl.p-4.sm\\:p-5 { padding: 16px !important; }
}
@media (max-width: 479px) {
  /* Tiny phones: footer to single col */
  .grid.grid-cols-2.md\\:grid-cols-4 { grid-template-columns: 1fr !important; }
  .col-span-2 { grid-column: span 1 !important; }
}

/* ── 7.16  HEADER / NAV ─────────────────────────────────── */
@media (max-width: 767px) {
  /* Mobile logo circle: slightly smaller on tiny phones */
  .we-mob-brand div[style*="border-radius:50%"] {
    width: 60px !important;
    height: 60px !important;
  }
  /* Marquee: smaller text, less padding */
  #we-header .we-marquee-track span { font-size: 8px !important; padding-left: 14px !important; padding-right: 14px !important; letter-spacing: 0.22em !important; }
  /* Toggle button: compact size */
  #we-mobile-toggle { width: 36px !important; height: 36px !important; padding: 0 !important; }
  /* Action bar buttons: shrink text on tiny phones */
  .we-mob-action-btn { font-size: 8px !important; letter-spacing: 0.10em !important; }
}
/* Marquee strip: hide on very tiny phones to save space */
@media (max-width: 374px) {
  #we-header > div:last-of-type:not([class*="flex"]) { display: none !important; }
}

/* ── 7.17  MOBILE MENU POLISH ───────────────────────────── */
@media (max-width: 767px) {
  /* overflow:hidden set globally above — no scrolling allowed */
  #we-mobile-menu { overscroll-behavior: none; }
  /* Compact nav links on landscape / very short screens */
  @media (max-height: 600px) and (orientation: landscape) {
    #we-mobile-menu nav a { font-size: 18px !important; padding-top: 10px !important; padding-bottom: 10px !important; }
  }
}

/* ── 7.18  TYPOGRAPHY POLISH ────────────────────────────── */
@media (max-width: 767px) {
  /* Prevent clamp values from being too small */
  h2 { font-size: max(1.7rem, clamp(1.7rem, 6vw, 2.8rem)) !important; }
  h3 { font-size: max(1rem, clamp(1rem, 4.5vw, 1.6rem)) !important; }

  /* Line height: breathe more on mobile */
  p { line-height: 1.72 !important; }

  /* Badge / tag text: keep readable */
  [style*="letter-spacing:0.28em"],
  [style*="letter-spacing:0.3em"] { letter-spacing: 0.2em !important; }
}

/* ── 7.19  CARD HOVER: disable on touch devices ─────────── */
@media (hover: none) {
  .we-hover-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  .we-hover-card:hover img { transform: none !important; }
}

/* ── 7.20  TABLET LAYOUT ENHANCEMENTS (768–1023px) ──────── */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Hero: reasonable height */
  #home,
  #home > div:first-of-type { min-height: auto !important; }
  #home > div > div:first-child {
    min-height: auto !important;
    padding-top: 40px !important;
    padding-bottom: 72px !important;
  }

  /* Featured Advisory: use flex-col instead of lg:flex-row */
  .container > .flex.flex-col.lg\\:flex-row,
  .container > .flex.flex-col.lg\\:flex-row-reverse { flex-direction: column !important; }

  /* Service cards: 2 col (already sm:grid-cols-2) */

  /* Why Choose Us grid: 2 col */
  .grid.grid-cols-1.sm\\:grid-cols-2 { grid-template-columns: 1fr 1fr !important; }

  /* Insights: stack properly */
  .grid.grid-cols-1.lg\\:grid-cols-3 { grid-template-columns: 1fr !important; }
}

/* ── 7.21  SAFE AREA / NOTCH SUPPORT ────────────────────── */
@supports (padding: max(0px)) {
  #we-header {
    padding-left:  max(16px, env(safe-area-inset-left))  !important;
    padding-right: max(16px, env(safe-area-inset-right)) !important;
  }
  #we-mobile-menu { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  footer > div { padding-bottom: max(40px, calc(40px + env(safe-area-inset-bottom))); }
}

/* ── 7.22  HIGH-DPI / RETINA ────────────────────────────── */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  #we-header { border-bottom-width: 0.5px !important; }
}


/* ═══════════════════════════════════════════════════════════
   PHASE 8 — PREMIUM REFINEMENTS
   Hero hierarchy · Trust panel · About · Services · Why
   ═══════════════════════════════════════════════════════════ */

/* ── 8.1  HERO — credential panel item hover ──────────── */
.we-cred-item {
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1);
  cursor: default;
}
.we-cred-item:hover {
  transform: translateX(3px);
}
.we-cred-item:hover .w-9 {
  background: rgba(200,165,106,0.2) !important;
}

/* ── 8.2  SERVICES CARDS — premium hover ──────────────── */
.we-svc-card:hover {
  box-shadow: 0 24px 60px rgba(22,53,39,0.14), 0 0 0 1.5px rgba(22,53,39,0.16) !important;
  border-color: rgba(22,53,39,0.18) !important;
}
/* Arrow nudge on "Learn More" hover */
.we-svc-card:hover .we-svc-link {
  color: #C8A56A !important;
}
.we-svc-card:hover .we-svc-link svg {
  transform: translate(2px,-2px);
}

/* ── 8.3  WHY WEALTHERA — deeper hover lift ───────────── */
.we-why-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 32px 72px rgba(0,0,0,0.38), 0 0 0 1px rgba(200,165,106,0.22) !important;
}
.we-why-card:hover img {
  opacity: 0.28 !important;
}

/* ── 8.4  MOBILE — hero heading & separator ───────────── */
@media (max-width: 639px) {
  /* Tighten separator on small phones */
  #home .flex.items-center.gap-3 > div:last-of-type { display: none; }

  /* Why cards: single-col stack stays readable */
  .we-why-card { min-height: 340px !important; }
  .we-why-card .relative.p-10 { padding: 32px !important; }
  .we-why-card .font-serif[style*="2.5rem"] { font-size: 2rem !important; }

  /* Service card image: cap height on phones */
  .we-svc-card [style*="height:224px"] { height: 200px !important; }
  .we-svc-card .p-7 { padding: 20px !important; }

  /* About pillars: tighter on phones */
  .we-svc-card .p-5 { padding: 16px !important; }
}

@media (max-width: 767px) {
  /* About section: reduce huge py-28 on mobile */
  section.py-28 { padding-top: 56px !important; padding-bottom: 56px !important; }
  section.py-24 { padding-top: 52px !important; padding-bottom: 52px !important; }

  /* Why cards: disable 3-col gap; stack well */
  .we-why-card { min-height: 320px !important; }
}

/* ── 8.0  CONTACT FORM — select dropdown styling ─────── */
.we-ct-select {
  background-color: transparent !important;
}
.we-ct-select option {
  background: #ffffff;
  color: #163527;
  font-size: 14px;
}
.we-ct-select option[value=""] {
  color: rgba(22,53,39,0.45);
}
.we-ct-select:focus {
  border-bottom-color: rgba(200,165,106,0.6) !important;
}

/* ── 8.5  TOUCH: disable aggressive hover effects ─────── */
@media (hover: none) {
  .we-cred-item:hover { transform: none !important; }
  .we-why-card:hover { transform: none !important; box-shadow: none !important; }
  .we-why-card:hover img { opacity: inherit !important; }
  .we-svc-card:hover { box-shadow: 0 2px 20px rgba(22,53,39,0.05) !important; border-color: rgba(22,53,39,0.08) !important; }
}


/* ═══════════════════════════════════════════════════════════
   PHASE 9 — ABOUT PAGE REFINEMENTS
   Hero · Who We Are · Accordion · Pillars · Expertise · Why
   ═══════════════════════════════════════════════════════════ */

/* ── 9.1  WHO WE ARE — right-side pillar mini-cards ─────── */
.we-about-pillar {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.we-about-pillar:hover {
  border-color: rgba(22,53,39,0.18) !important;
  box-shadow: 0 8px 24px rgba(22,53,39,0.07);
}

/* ── 9.2  ACCORDION — hover + open state ─────────────────── */
.we-approach-btn:focus-visible {
  outline: 2px solid #C8A56A;
  outline-offset: -2px;
  border-radius: 0;
}
/* Icon spring bounce on open handled via JS cubic-bezier */

/* ── 9.3  EXPERTISE CARDS — premium hover ───────────────── */
.we-exp-card:hover {
  background: rgba(14,42,28,0.88) !important;
  border-color: rgba(200,165,106,0.28) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(200,165,106,0.1) !important;
}
.we-exp-card:hover .we-exp-icon {
  background: rgba(200,165,106,0.18) !important;
  border-color: rgba(200,165,106,0.3) !important;
}

/* ── 9.4  WHY CHOOSE cards — equalized heights + hover ───── */
.we-why-ab-card {
  transition: box-shadow 0.3s cubic-bezier(0.22,1,0.36,1), border-color 0.3s ease;
}
.we-why-ab-card:hover {
  box-shadow: 0 20px 48px rgba(22,53,39,0.1), 0 0 0 1.5px rgba(22,53,39,0.14) !important;
  border-color: rgba(22,53,39,0.18) !important;
}
.we-why-ab-card:hover .we-value-line {
  width: 52px !important;
  opacity: 0.7 !important;
}
.we-why-ab-card:hover .w-11 {
  background: rgba(22,53,39,0.1) !important;
}
/* Equalize card heights in each row via flexbox on the grid */
.grid:has(.we-why-ab-card) {
  align-items: stretch;
}

/* ── 9.5  MOBILE — about page section spacing ─────────────── */
@media (max-width: 767px) {
  /* Reduce pillar py on phones */
  .relative > .container.py-16 { padding-top: 52px !important; padding-bottom: 52px !important; }

  /* Who We Are: ensure left column doesn't stretch too wide */
  .we-approach-wrap { margin-top: 28px !important; }

  /* Expertise cards: 2-col on mobile, consistent */
  .we-exp-card { padding: 20px !important; }
  .we-exp-card .we-exp-icon { margin-bottom: 16px !important; }
}

@media (max-width: 479px) {
  /* S25 Ultra / very tall narrow phones */
  .we-exp-card { padding: 18px !important; }
  .we-why-ab-card { padding: 24px !important; }

  /* Pillar tag wrapping: ensure no overflow */
  .flex.flex-wrap.gap-2\\.5 span { max-width: 100%; white-space: normal !important; }
}

/* ── 9.6  TOUCH: disable hover on about cards ─────────────── */
@media (hover: none) {
  .we-exp-card:hover {
    background: rgba(14,42,28,0.65) !important;
    border-color: rgba(200,165,106,0.1) !important;
    box-shadow: none !important;
  }
  .we-why-ab-card:hover {
    box-shadow: 0 2px 20px rgba(22,53,39,0.04) !important;
    border-color: rgba(22,53,39,0.08) !important;
  }
  .we-why-ab-card:hover .we-value-line { width: 28px !important; opacity: 0.45 !important; }
}


/* ═══════════════════════════════════════════════════════════
   PHASE 10 — COMPREHENSIVE BUG FIXES & PREMIUM POLISH
   ═══════════════════════════════════════════════════════════ */

/* ── 10.1  SERVICE CARDS — premium advisory feel ─────────── */
.we-svc-card {
  position: relative;
}
/* Gold left-edge accent on hover */
.we-svc-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  border-radius: 9999px;
  background: #C8A56A;
  opacity: 0;
  transition: opacity 0.3s ease, top 0.3s ease, bottom 0.3s ease;
  z-index: 2;
}
.we-svc-card:hover::before {
  opacity: 1;
  top: 10%;
  bottom: 10%;
}
/* Icon container in advisory cards */
.we-svc-advisory-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22,53,39,0.07);
  border: 1px solid rgba(22,53,39,0.12);
  transition: background 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
}
.we-svc-card:hover .we-svc-advisory-icon {
  background: rgba(200,165,106,0.12);
  border-color: rgba(200,165,106,0.25);
}
/* Service card image: tighter on mobile */
@media (max-width: 639px) {
  .we-svc-card [style*="height:224px"] { height: 180px !important; }
  .we-svc-card .p-7 { padding: 18px 16px !important; }
}

/* ── 10.2  BUTTON TEXT OVERFLOW — universal fix ──────────── */
/* All anchor/button elements: prevent text overflow */
a.rounded-full, button.rounded-full,
a[style*="border-radius:9999"], button[style*="border-radius:9999"] {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
  hyphens: none;
}
/* Mobile: minimum height and padding for all pill buttons */
@media (max-width: 639px) {
  a.rounded-full, button.rounded-full {
    min-height: 48px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    font-size: 10px !important;
  }
  /* WhatsApp button in contact cards — prevent overflow */
  .rounded-full[style*="font-size:9px"] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ── 10.3  FOOTER MOBILE — comprehensive fix ─────────────── */
@media (max-width: 767px) {
  /* Logo + tagline row: always stack neatly */
  footer .flex.flex-col.sm\\:flex-row.sm\\:items-start.sm\\:justify-between {
    flex-direction: column !important;
    gap: 20px !important;
  }
  /* Social icons row: align to start on mobile */
  footer .flex.flex-col.items-start.sm\\:items-end {
    align-items: flex-start !important;
  }
  /* Bottom bar: stack neatly */
  footer .flex.flex-col.sm\\:flex-row.items-center.justify-between {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: center !important;
  }
  /* CTA banner heading: prevent oversizing */
  footer h3 { font-size: clamp(1.3rem, 5vw, 1.8rem) !important; }
  /* Footer link text: prevent wrap issues */
  footer .we-footer-link { font-size: 13px !important; }
  /* Ensure footer bottom bar items wrap */
  footer .flex.items-center.gap-1\\.5 {
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 479px) {
  /* Contact column: full width, smaller padding */
  footer .col-span-2 .rounded-2xl.p-4 { padding: 14px !important; }
  /* Footer link columns: readable font size */
  footer h4 { font-size: 13px !important; }
  footer ul li a { font-size: 13px !important; }
}

/* ── 10.4  NAVBAR MOBILE — sticky fix & no flicker ────────── */
/* Ensure iOS horizontal overflow is clipped, but do NOT add transform/
   backface-visibility/will-change to #we-header — any of those properties
   create a new containing block for position:fixed descendants, which
   prevents the mobile action bar from sticking to the viewport. */
@supports (-webkit-touch-callout: none) {
  html { overflow-x: clip; }
}
/* will-change:auto is a no-op (explicitly reset); backface-visibility removed
   because it can trigger the same compositing-layer containing-block issue. */
#we-header { will-change: auto; }

/* ── 10.5  HERO BUTTONS — mobile overflow guard ──────────── */
@media (max-width: 479px) {
  .we-hero-btns {
    gap: 10px !important;
  }
  .we-hero-btns > * {
    width: 100% !important;
    min-height: 52px !important;
    padding: 14px 18px !important;
    font-size: 10px !important;
    letter-spacing: 0.10em !important;
  }
}

/* ── 10.6  CONTACT PAGE — hero button overflow ───────────── */
@media (max-width: 479px) {
  #main-content section:first-child .flex.flex-col.sm\\:flex-row > a.rounded-full {
    padding: 16px 20px !important;
    font-size: 10px !important;
    letter-spacing: 0.08em !important;
  }
}

/* ── 10.7  COUNTRY SEARCHABLE INPUT — custom styling ─────── */
.we-country-wrap {
  position: relative;
}
.we-country-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  height: 44px;
  color: #fff;
  font-size: 14px;
  padding: 0;
  outline: none;
  width: 100%;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C8A56A' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}
.we-country-input:focus {
  border-bottom-color: rgba(200,165,106,0.6);
}
.we-country-input::placeholder { color: rgba(255,255,255,0.3); }

/* ═══════════════════════════════════════════════════════════
   PHASE 11 — HERO MOBILE & TABLET OPTIMIZATION
   Scoped strictly to max-width: 1023px.
   Desktop layout (≥1024px) is completely untouched.

   Root cause fixed:
     • Header is sticky-in-flow, NOT fixed — the hero already
       starts below it. No large padding-top needed.
     • About/Contact heroes: justify-center + min-height pushed
       content 140–180px below header. Override to flex-start.
     • Services hero: pt-10 (40px) was fine; refined slightly.
     • Homepage: was padding-top:120px — reduced to breathing room.
   ═══════════════════════════════════════════════════════════ */

/* ── 11.1  HOMEPAGE — tablet refinement ──────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  #home > div > div:first-child {
    padding-top: 52px !important;
    padding-bottom: 72px !important;
    padding-left: 36px !important;
    padding-right: 36px !important;
  }
  #home h1 { font-size: clamp(2.5rem, 5vw, 3.8rem) !important; }
}

/* ── 11.2  ABOUT HERO ────────────────────────────────────── */
@media (max-width: 1023px) {
  /* Section: allow natural content height */
  .we-ab-hero { min-height: auto !important; }

  /* Container: disable vertical centering — content flows from top */
  .we-ab-hero > div[style*="min-height"] {
    min-height: auto !important;
    justify-content: flex-start !important;
  }

  /* Inner content wrapper: replace large pt-16 with snug breathing room */
  .we-ab-hero .max-w-3xl {
    padding-top: 44px !important;
    padding-bottom: 52px !important;
  }
}

@media (max-width: 767px) {
  .we-ab-hero .max-w-3xl {
    padding-top: 36px !important;
    padding-bottom: 44px !important;
  }
  .we-ab-hero h1 {
    font-size: clamp(2rem, 9.5vw, 3rem) !important;
    margin-bottom: 14px !important;
    line-height: 1.08 !important;
  }
  .we-ab-hero .max-w-3xl > p {
    font-size: 0.9rem !important;
    line-height: 1.75 !important;
    margin-bottom: 22px !important;
    max-width: 100% !important;
  }
  .we-ab-hero .max-w-3xl > div.flex { margin-bottom: 22px !important; }
  /* Tag strip: wrap cleanly */
  .we-ab-hero .flex.flex-wrap.items-center { gap: 6px 14px !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .we-ab-hero .max-w-3xl {
    padding-top: 52px !important;
    padding-bottom: 60px !important;
  }
  .we-ab-hero h1 { font-size: clamp(2.5rem, 5.5vw, 4rem) !important; }
  .we-ab-hero .max-w-3xl { max-width: 100% !important; }
}

/* ── 11.3  SERVICES HERO ──────────────────────────────────── */
@media (max-width: 1023px) {
  .we-sv-hero { min-height: auto !important; }

  /* Container: no vertical centering on mobile-column layout */
  .we-sv-hero > div[style*="min-height"] {
    min-height: auto !important;
    align-items: flex-start !important;
  }

  /* Left text column: replace pt-10 with breathing room */
  .we-sv-hero .w-full.lg\\:w-1\/2:first-of-type,
  .we-sv-hero > div > div.w-full:first-child {
    padding-top: 44px !important;
    padding-bottom: 48px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 767px) {
  .we-sv-hero > div > div.w-full:first-child {
    padding-top: 36px !important;
    padding-bottom: 40px !important;
  }
  .we-sv-hero h1 {
    font-size: clamp(1.95rem, 9vw, 3rem) !important;
    margin-bottom: 12px !important;
    line-height: 1.08 !important;
  }
  .we-sv-hero > div > div.w-full:first-child > p {
    font-size: 0.88rem !important;
    line-height: 1.75 !important;
    margin-bottom: 20px !important;
    max-width: 100% !important;
  }
  .we-sv-hero > div > div.w-full:first-child > div.flex { margin-bottom: 20px !important; }
  /* Tag strip */
  .we-sv-hero .flex.flex-wrap.items-center { gap: 5px 12px !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .we-sv-hero > div > div.w-full:first-child {
    padding-top: 52px !important;
    padding-bottom: 56px !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
  .we-sv-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem) !important; }
}

/* ── 11.4  CONTACT HERO ───────────────────────────────────── */
@media (max-width: 1023px) {
  .we-ct-hero { min-height: auto !important; }

  /* Container: disable vertical centering */
  .we-ct-hero > div[style*="min-height"] {
    min-height: auto !important;
    justify-content: flex-start !important;
  }

  /* Inner content wrapper: replace pt-16 with tight breathing room */
  .we-ct-hero .max-w-2xl {
    padding-top: 44px !important;
    padding-bottom: 52px !important;
  }
}

@media (max-width: 767px) {
  .we-ct-hero .max-w-2xl {
    padding-top: 36px !important;
    padding-bottom: 44px !important;
  }
  .we-ct-hero h1 {
    font-size: clamp(2rem, 9.5vw, 3rem) !important;
    margin-bottom: 12px !important;
    line-height: 1.1 !important;
  }
  .we-ct-hero .max-w-2xl > p {
    font-size: 0.9rem !important;
    line-height: 1.75 !important;
    margin-bottom: 22px !important;
    max-width: 100% !important;
  }
  .we-ct-hero .max-w-2xl > div.flex { margin-bottom: 0 !important; }
  /* CTA buttons: full width on phone */
  .we-ct-hero .max-w-2xl > div > a.rounded-full {
    width: 100% !important;
    justify-content: center !important;
    padding: 18px 20px !important;
    font-size: 10.5px !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .we-ct-hero .max-w-2xl {
    padding-top: 52px !important;
    padding-bottom: 60px !important;
  }
  .we-ct-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem) !important; }
  .we-ct-hero .max-w-2xl { max-width: 100% !important; }
}

/* ── 11.5  GLOBAL — hero bg always covers full section ─────── */
@media (max-width: 1023px) {
  .we-ab-hero > div.absolute,
  .we-ct-hero > div.absolute {
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
  }
}

/* ── 11.6  GLOBAL — about/services/contact hero btn widths ── */
@media (max-width: 767px) {
  .we-ab-hero .flex.flex-col > a.rounded-full,
  .we-sv-hero .flex.flex-col > a.rounded-full {
    width: 100% !important;
    justify-content: center !important;
    min-height: 52px !important;
    padding: 18px 20px !important;
    font-size: 10.5px !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   PHASE 12 — HOMEPAGE MOBILE GAP + ABOUT HERO FADE FIX
   ═══════════════════════════════════════════════════════════ */

/* ── 12.1  HOMEPAGE HERO — remove vertical centering gap on mobile ── */
/* Root cause: left column uses justify-center + min-height:90vh.
   On mobile this creates ~45vh of dead space above the content.
   Fix: switch to flex-start with compact top padding instead.    */
@media (max-width: 767px) {
  #home,
  #home > div,
  #home > div > div:first-child {
    min-height: auto !important;
  }
  #home > div > div:first-child {
    justify-content: flex-start !important;
    padding-top: 24px !important;
    padding-bottom: 48px !important;
  }
}

/* Tablet: keep a bit of height but still anchor content to top */
@media (min-width: 768px) and (max-width: 1023px) {
  #home > div > div:first-child {
    justify-content: flex-start !important;
    min-height: auto !important;
    padding-top: 40px !important;
  }
  #home > div { min-height: auto !important; }
  #home       { min-height: auto !important; }
}

/* ── 12.2  ABOUT HERO — bottom white fade band ────────────── */
/* Was h-20 (80px) solid white bleed — too thick on small screens */
.we-ab-hero-fade {
  height: 56px;
  background: linear-gradient(to bottom, transparent, #ffffff);
}
@media (max-width: 767px) {
  .we-ab-hero-fade { height: 28px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .we-ab-hero-fade { height: 40px; }
}


/* ═══════════════════════════════════════════════════════════
   PHASE 13 — MOBILE POLISH: BUTTONS + FOOTER + HERO GAP
   All rules scoped to max-width: 767px unless noted.
   Desktop (≥1024px) and tablet (768–1023px) are untouched.
   ═══════════════════════════════════════════════════════════ */

/* ── 13.1  Homepage hero gap — reinforce Phase 12 ─────────── */
/* Belt-and-suspenders: override justify-center + min-height   */
@media (max-width: 767px) {
  #home { min-height: 0 !important; }
  #home > div { min-height: 0 !important; }
  #home > div > div:first-child {
    justify-content: flex-start !important;
    align-items:     flex-start !important;
    min-height:      0 !important;
    padding-top:     24px !important;
    padding-bottom:  48px !important;
  }
}

/* ── 13.2  Services CTA strip — stack buttons on mobile ──── */
/* Was flex-row with no col breakpoint → text overflow        */
@media (max-width: 767px) {
  .we-sv-strip-btns {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .we-sv-strip-btns > a {
    width: 100% !important;
    min-width: 0 !important;
    padding: 14px 18px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
}

/* ── 13.3  Footer CTA banner buttons ─────────────────────── */
@media (max-width: 767px) {
  .we-footer-cta-btns {
    flex-direction: column !important;
    width: 100% !important;
  }
  .we-footer-cta-btns > a {
    width: 100% !important;
    min-width: 0 !important;
    padding: 14px 18px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    text-align: center !important;
    font-size: 10.5px !important;
  }
}

/* ── 13.4  Footer link columns — tighten the 2-col grid ──── */
/* gap-8 (32px) crushes each column on narrow screens          */
@media (max-width: 767px) {
  footer .grid.grid-cols-2 {
    gap: 20px 14px !important;
  }
  footer .grid.grid-cols-2 h4 {
    font-size: 12px !important;
    margin-bottom: 14px !important;
  }
  footer .grid.grid-cols-2 li a {
    font-size: 12px !important;
  }
  footer .grid.grid-cols-2 ul {
    gap: 10px !important;
  }
  /* Contact column (col-span-2) — keep full width, tighten */
  footer .grid.grid-cols-2 .col-span-2 {
    padding-top: 4px !important;
  }
  footer .grid.grid-cols-2 .col-span-2 h4 {
    font-size: 13px !important;
  }
  footer .grid.grid-cols-2 .col-span-2 li a,
  footer .grid.grid-cols-2 .col-span-2 li span {
    font-size: 13px !important;
  }
}

/* ── 13.5  Footer business hours card ─────────────────────── */
.we-hours-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: rgba(200,165,106,0.6);
  margin-bottom: 12px;
}
.we-hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  row-gap: 8px;
  align-items: baseline;
}
.we-hours-label {
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  font-weight: 500;
}
.we-hours-label--dim {
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}
.we-hours-value {
  font-size: 13.5px;
  color: #C8A56A;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.we-hours-value--dim {
  color: rgba(255,255,255,0.35);
  font-weight: 400;
}
@media (max-width: 767px) {
  .we-hours-card {
    padding: 14px 16px !important;
  }
  .we-hours-grid {
    column-gap: 14px;
    row-gap: 9px;
  }
  .we-hours-label,
  .we-hours-value {
    font-size: 13px;
  }
}

/* ── 13.6  Footer bottom bar — prevent wrapping chaos ────── */
@media (max-width: 767px) {
  footer > div > .flex.flex-col.sm\:flex-row.items-center.justify-between {
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    text-align: center !important;
  }
  footer > div > .flex.flex-col.sm\:flex-row.items-center.justify-between > div.flex {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px 8px !important;
  }
  footer > div > .flex.flex-col.sm\:flex-row.items-center.justify-between span.text-xs,
  footer > div > .flex.flex-col.sm\:flex-row.items-center.justify-between a.text-xs {
    font-size: 11px !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   PHASE 14 — PREMIUM MOBILE OVERHAUL
   Sticky navbar · About pillars · Footer redesign · Audit
   Desktop (≥1024px) is completely untouched.
   ═══════════════════════════════════════════════════════════ */


/* ── 14.1  MOBILE/TABLET NAVBAR — scrolls with page ────────
   Desktop (1024px+) stays sticky; phone + tablet scroll normally. */
@media (max-width: 1023px) {
  body { overflow-x: clip !important; }
  #we-header {
    position: relative !important;
    top: auto !important;
    z-index: 9990 !important;
    width: 100% !important;
    -webkit-transform: none !important;
    transform: none !important;
  }
}


/* ── 14.2  ABOUT PAGE — PREMIUM PILLAR CARDS (mobile) ─────
   .we-pillar-mobile layout: icon row → gold line → h2 → p → tags */
@media (max-width: 1023px) {
  /* Section: tighter vertical rhythm */
  .we-pillars-section .we-pillar-block .container {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  /* Card feel: left gold accent stripe */
  .we-pillar-block {
    position: relative;
  }
  .we-pillar-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: linear-gradient(to bottom, #C8A56A, rgba(200,165,106,0.15));
    border-radius: 0 2px 2px 0;
  }
}

@media (max-width: 767px) {
  /* Mobile-specific pillar card sizing */
  .we-pillar-mobile {
    padding: 4px 0;
  }
  .we-pillar-mobile h2 {
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
  }
  .we-pillar-mobile p {
    font-size: 0.91rem !important;
    line-height: 1.82 !important;
    color: rgba(255,255,255,0.6) !important;
    margin-bottom: 18px !important;
  }
  .we-pillar-mobile .flex.flex-wrap {
    gap: 6px !important;
  }
  .we-pillar-icon-wrap {
    width: 48px !important;
    height: 48px !important;
  }
}


/* ── 14.3  FOOTER — PREMIUM MOBILE REDESIGN ────────────────
   Single-column layout, luxe spacing, clean hierarchy       */
@media (max-width: 767px) {

  /* Outer padding: generous but not wasteful */
  footer > div.container {
    padding-top: 40px !important;
    padding-bottom: 32px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Top row (logo + socials): stack vertically, nice gap */
  footer .flex.flex-col.sm\:flex-row.sm\:items-start.sm\:justify-between {
    flex-direction: column !important;
    gap: 24px !important;
    padding-bottom: 28px !important;
    margin-bottom: 28px !important;
  }

  /* Tagline text: show on mobile */
  footer .hidden.md\:block {
    display: block !important;
    margin-top: 8px !important;
    font-size: 13px !important;
    max-width: 100% !important;
    color: rgba(255,255,255,0.3) !important;
    line-height: 1.7 !important;
  }

  /* Social icons: align left */
  footer .flex.flex-col.items-start.sm\:items-end {
    align-items: flex-start !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }

  /* "Follow Us" label + icons on same row */
  footer .flex.flex-col.items-start.sm\:items-end > span {
    display: none !important; /* hide label on mobile, icons speak for themselves */
  }
  footer .flex.flex-col.items-start.sm\:items-end > .flex {
    gap: 8px !important;
  }

  /* Social icons: 44 × 44 px tap targets */
  footer .we-social-icon {
    width: 44px !important;
    height: 44px !important;
  }

  /* Link columns grid: single column stack */
  footer .grid.grid-cols-2.md\:grid-cols-4 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* Each column: separated by thin gold divider */
  footer .grid.grid-cols-2.md\:grid-cols-4 > div {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
    border-bottom: 1px solid rgba(200,165,106,0.08) !important;
  }
  footer .grid.grid-cols-2.md\:grid-cols-4 > div:first-child {
    padding-top: 0 !important;
  }
  footer .grid.grid-cols-2.md\:grid-cols-4 > div:last-child {
    padding-bottom: 0 !important;
    border-bottom: none !important;
  }

  /* Contact column: full width, no col-span needed */
  footer .grid.grid-cols-2.md\:grid-cols-4 > .col-span-2 {
    grid-column: span 1 !important;
  }

  /* Column headings: cleaner */
  footer .grid.grid-cols-2.md\:grid-cols-4 h4 {
    font-size: 11px !important;
    letter-spacing: 0.16em !important;
    margin-bottom: 14px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(200,165,106,0.12) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  footer .grid.grid-cols-2.md\:grid-cols-4 h4::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: #C8A56A;
    flex-shrink: 0;
  }

  /* Footer link list: tighter */
  footer .grid ul {
    gap: 10px !important;
  }
  footer .grid ul li a,
  footer .grid ul li span {
    font-size: 13.5px !important;
  }

  /* Contact items: slightly looser */
  footer .grid .col-span-2 > ul {
    gap: 14px !important;
    margin-bottom: 18px !important;
  }
  footer .grid .col-span-2 > ul li span,
  footer .grid .col-span-2 > ul li a {
    font-size: 13.5px !important;
  }

  /* Contact icon boxes: same size */
  footer .col-span-2 .w-8 {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
  }

  /* Business hours box: clean card */
  footer .rounded-2xl.p-4 {
    padding: 16px !important;
    border-radius: 14px !important;
    background: rgba(200,165,106,0.04) !important;
    border-color: rgba(200,165,106,0.12) !important;
  }
  footer .rounded-2xl .flex-col {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
  }
  footer .rounded-2xl span.text-sm {
    font-size: 13px !important;
  }

  /* Bottom bar: centred, minimal */
  footer .mb-6 ~ div {
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    text-align: center !important;
    padding-top: 24px !important;
  }
  footer .mb-6 {
    margin-bottom: 24px !important;
  }

  /* Copyright text */
  footer .flex.flex-col.sm\:flex-row.items-center.justify-between p {
    text-align: center !important;
    font-size: 11.5px !important;
  }

  /* Legal links row */
  footer .flex.items-center.gap-1\.5 {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 4px 8px !important;
  }
  footer .flex.items-center.gap-1\.5 a,
  footer .flex.items-center.gap-1\.5 span {
    font-size: 11px !important;
  }

  /* Pixocraft credit */
  footer .mt-4.text-center p {
    font-size: 11px !important;
    margin-top: 12px !important;
  }

  /* mb-12 above bottom bar: tighten */
  footer .mb-12 {
    margin-bottom: 0 !important;
  }
}


/* ── 14.4  ALL PAGES — MOBILE RESPONSIVENESS AUDIT ─────────

   Home, About, Services, Insights, Contact:
   Targeted fixes for padding, text, cards, spacing, touch.  */

@media (max-width: 767px) {

  /* ── GLOBAL ── */
  /* Sections: remove huge py-20+ so rhythm feels intentional */
  section.py-20  { padding-top: 52px !important; padding-bottom: 52px !important; }
  section.py-24  { padding-top: 56px !important; padding-bottom: 56px !important; }
  section.py-28  { padding-top: 56px !important; padding-bottom: 56px !important; }
  section.py-32  { padding-top: 60px !important; padding-bottom: 60px !important; }

  /* Container horizontal padding: consistent 20px on small */
  .container { padding-left: 20px !important; padding-right: 20px !important; }

  /* Headings: prevent orphan words, readable scale */
  h2 { font-size: clamp(1.6rem, 7vw, 2.4rem) !important; line-height: 1.2 !important; }
  h3 { font-size: clamp(1.05rem, 4.5vw, 1.5rem) !important; line-height: 1.35 !important; }

  /* Body copy: comfortable reading on phone */
  p { font-size: 0.9rem !important; line-height: 1.78 !important; }

  /* Touch targets: minimum 44px always */
  a, button { min-height: 44px; }

  /* ── HOME ── */
  /* Advisory process steps: tighter spacing */
  #advisory-process .rounded-2xl { padding: 18px !important; }
  #advisory-process .rounded-2xl h3 { font-size: 0.95rem !important; }
  #advisory-process .rounded-2xl p  { font-size: 0.82rem !important; }

  /* UAE presence grid: ensure 1-col on phones */
  #uae-presence .grid { gap: 12px !important; }

  /* ── ABOUT ── */
  /* Who We Are left column: tighter on phone */
  .we-approach-wrap { margin-top: 22px !important; }

  /* ── SERVICES ── */
  /* Service cards: better padding on phone */
  .we-svc-card { border-radius: 16px !important; }

  /* ── INSIGHTS ── */
  /* Article cards: full width, reasonable image height */
  article img, .we-insight-img { max-height: 220px !important; object-fit: cover !important; }

  /* ── CONTACT ── */
  /* Form fields: comfortable touch size */
  input, textarea, select {
    font-size: 16px !important; /* prevents iOS auto-zoom */
    min-height: 44px !important;
  }
  textarea { min-height: 120px !important; }
}

@media (max-width: 479px) {
  /* Tiny phones (≤479px): extra tightening */
  .container { padding-left: 16px !important; padding-right: 16px !important; }

  /* Service card image: cap height */
  .we-svc-card [style*="height:224px"],
  .we-svc-card [style*="height:196px"] { height: 170px !important; }

  /* About expertise grid: single column */
  .we-exp-card { padding: 16px !important; }

  /* Insight cards: tighten */
  .we-insight-card { padding: 14px !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  /* Tablet audit: sections use reasonable padding */
  section.py-28 { padding-top: 72px !important; padding-bottom: 72px !important; }
  section.py-32 { padding-top: 80px !important; padding-bottom: 80px !important; }

  /* Contact form: comfortable on tablet */
  input, textarea { font-size: 15px !important; }
}


/* ═══════════════════════════════════════════════════════════
   PHASE 15 — HERO OVERLAY MOBILE REFINEMENT
   Problem: 105deg diagonal gradient on desktop is designed to
   reveal the image on the right whilst keeping text dark on the
   left. On mobile/tablet (narrow viewport) that same diagonal
   creates a lighter zone in the centre/lower hero, washing the
   image out before the section ends and making the white-fade
   transition feel abrupt.
   Fix: switch to top-to-bottom gradient on mobile/tablet so the
   image is well covered at the text area (top) and gradually
   reveals toward the bottom — then the bottom fade bridges
   smoothly into the next section.
   Desktop (≥1024px) is completely untouched.
   ═══════════════════════════════════════════════════════════ */

/* ── 15.1  ABOUT HERO overlay — mobile ────────────────────── */
@media (max-width: 767px) {
  .we-ab-hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(14,42,28,0.94) 0%,
      rgba(14,42,28,0.86) 35%,
      rgba(14,42,28,0.58) 65%,
      rgba(14,42,28,0.28) 100%
    ) !important;
  }
}

/* ── 15.2  ABOUT HERO overlay — tablet ────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  .we-ab-hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(14,42,28,0.93) 0%,
      rgba(14,42,28,0.83) 38%,
      rgba(14,42,28,0.52) 68%,
      rgba(14,42,28,0.25) 100%
    ) !important;
  }
}

/* ── 15.3  ABOUT HERO bottom fade — mobile ─────────────────
   Increase height and keep the gradient transparent for the
   first quarter so the image is visible longer before the
   white of the next section appears.                        */
@media (max-width: 767px) {
  .we-ab-hero-fade {
    height: 80px !important;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 22%,
      rgba(255,255,255,0.50) 66%,
      #ffffff 100%
    ) !important;
  }
}

/* ── 15.4  ABOUT HERO bottom fade — tablet ─────────────────*/
@media (min-width: 768px) and (max-width: 1023px) {
  .we-ab-hero-fade {
    height: 104px !important;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 28%,
      rgba(255,255,255,0.52) 68%,
      #ffffff 100%
    ) !important;
  }
}

/* ── 15.5  CONTACT HERO overlay — mobile ──────────────────
   Same 105deg diagonal issue. The contact page transitions
   to a dark section so there is no white-wash, but the image
   is barely visible through the very heavy overlay on mobile.
   Switch to top-to-bottom so the image shows more naturally
   while keeping text fully readable.                        */
@media (max-width: 767px) {
  .we-ct-hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(14,42,28,0.94) 0%,
      rgba(14,42,28,0.84) 40%,
      rgba(14,42,28,0.58) 72%,
      rgba(14,42,28,0.40) 100%
    ) !important;
  }
}

/* ── 15.6  CONTACT HERO overlay — tablet ──────────────────*/
@media (min-width: 768px) and (max-width: 1023px) {
  .we-ct-hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(14,42,28,0.92) 0%,
      rgba(14,42,28,0.82) 42%,
      rgba(14,42,28,0.55) 74%,
      rgba(14,42,28,0.38) 100%
    ) !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   PHASE 16 — FOOTER RESPONSIVE AUDIT
   Fixes: top-row centering, touch targets, text wrapping,
   spacing, bottom-bar, tablet column layout.
   Phase 13 already handles: grid gap, font sizes, business
   hours row, bottom-bar stack/wrap. This phase fills the gaps.
   Desktop (≥1024px) is completely untouched.
   ═══════════════════════════════════════════════════════════ */

/* ── 16.1  TOP ROW — center on narrow mobile (< 640px) ────
   The row becomes flex-col on mobile. Without centering the
   logo block sits left-flushed and the social block also
   left-aligns (items-start). Force both to centre for a
   balanced, premium look.                                   */
@media (max-width: 639px) {
  /* Row: horizontal centre for the stacked children */
  footer > div > div:first-child {
    align-items: center !important;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
  }
  /* Logo + wordmark block: become a centred flex column */
  footer > div > div:first-child > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
  }
  /* Logo icon + wordmark inline row: centre within the block */
  footer > div > div:first-child > div:first-child > div.flex {
    justify-content: center !important;
  }
  /* Social section: override items-start → items-center */
  footer > div > div:first-child > div:last-child {
    align-items: center !important;
    width: 100% !important;
  }
  /* "Follow Us" label: centre */
  footer > div > div:first-child > div:last-child > span {
    text-align: center !important;
  }
  /* Social icons row: centre */
  footer > div > div:first-child > div:last-child > div.flex {
    justify-content: center !important;
  }
}

/* ── 16.2  SOCIAL ICONS — 44px minimum touch target ────────
   WCAG 2.5.5 / Apple HIG: interactive targets ≥ 44×44px.
   Current size is w-9 h-9 (36px). Expand on touch screens.  */
@media (max-width: 1023px) {
  .we-social-icon {
    width:      44px !important;
    height:     44px !important;
    min-width:  44px !important;
    min-height: 44px !important;
  }
}

/* ── 16.3  TEXT WRAPPING — all footer links & contact text ─
   Prevents long service names ("HR & Organisational Advisory")
   and the email address from overflowing their column.       */
@media (max-width: 1023px) {
  footer .grid li a,
  footer .grid li span {
    white-space:     normal !important;
    overflow-wrap:   break-word !important;
    word-break:      break-word !important;
  }
  /* Address span (not an <a>): same treatment */
  footer .col-span-2 li > span[style] {
    word-break:    break-word !important;
    overflow-wrap: break-word !important;
  }
}

/* ── 16.4  GRID BOTTOM MARGIN — tighten on mobile ──────────
   mb-12 (48px) is generous. Reduce on phones to keep the
   divider from feeling detached from the columns.            */
@media (max-width: 767px) {
  footer .grid.grid-cols-2 {
    margin-bottom: 32px !important;
  }
}

/* ── 16.5  BOTTOM BAR SEPARATORS — hide dots on tiny phones─
   On ≤360px the "·" separators can orphan onto their own
   line and look broken. Replace with a gap between items.    */
@media (max-width: 360px) {
  footer > div > .flex.flex-col.sm\:flex-row.items-center.justify-between > div.flex > span[style*="rgba(255,255,255,0.15)"] {
    display: none !important;
  }
  footer > div > .flex.flex-col.sm\:flex-row.items-center.justify-between > div.flex {
    gap: 6px 12px !important;
  }
}

/* ── 16.6  LINK COLUMNS — mobile 2-col visual balance ──────
   Quick Links (5 items) vs Services (6 items) creates uneven
   column heights. Align column headings to the top so the
   divider lines stay at the same y-position.                 */
@media (max-width: 767px) {
  footer .grid.grid-cols-2 > div:not(.col-span-2) {
    vertical-align: top;
    align-self: start !important;
  }
}

/* ── 16.7  TABLET FOOTER (768–1023px) — spacing polish ─────
   At md the grid becomes 4-col. At 768px each col is ~150px
   — tight but functional. Ensure the top-row gap and the
   overall vertical padding feel proportional.                */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Top row: comfortable side-by-side gap */
  footer > div > div:first-child {
    gap: 20px !important;
  }
  /* Link columns: slightly less vertical gap between column pairs */
  footer .grid {
    gap: 20px !important;
  }
  /* Column headings: match mobile scale */
  footer .grid h4 {
    font-size: 13px !important;
  }
  /* Column links: readable at tablet widths */
  footer .grid li a {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  /* Contact items: consistent with Quick Links / Services */
  footer .grid .col-span-2 li > span,
  footer .grid .col-span-2 li > a {
    font-size: 13px !important;
  }
  /* Social section: keep right-aligned on tablet */
  footer > div > div:first-child > div:last-child {
    align-items: flex-end !important;
  }
}

/* ── 16.8  TINY PHONES (≤ 375px) — column padding tighten ─ */
@media (max-width: 375px) {
  /* Reduce footer horizontal breathing room slightly */
  footer > div {
    padding-left:  18px !important;
    padding-right: 18px !important;
  }
  /* Contact icon badges: shrink slightly */
  footer .col-span-2 .w-8.h-8 {
    width:  28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   PHASE 17 — HOMEPAGE FINAL POLISH
   Targets: hero first-screen fit · ticker legibility ·
   service-card premium elevation · CTA button overflow fix ·
   About image height · section QA across 320–1024px.
   Desktop (≥1024px) is completely untouched.
   ═══════════════════════════════════════════════════════════ */

/* ── 17.1  HERO — reduce internal spacing to fit first screen
   The sum of Tailwind mb-* classes (badge+h1+sep+p+cta) is
   152px on mobile. On 320px phones (504px visible after nav)
   the hero overflows the fold. Tighten to ~80px total margins.*/
@media (max-width: 767px) {
  /* Tighten section bottom padding (was 48px) */
  #home > div > div:first-child {
    padding-top:    20px !important;
    padding-bottom: 36px !important;
  }
  /* Badge block: mb-7 (28px) → 16px */
  #home [data-hero-load="0.04"] { margin-bottom: 16px !important; }
  /* Separator row: mb-8 (32px) → 16px */
  #home [data-hero-load="0.24"] { margin-bottom: 16px !important; }
  /* Body paragraph: mb-9 (36px) → 18px */
  #home [data-hero-load="0.3"]  { margin-bottom: 18px !important; }
  /* CTA buttons group: mb-9 (36px) → 18px */
  #home [data-hero-load="0.36"] { margin-bottom: 18px !important; }
}
/* Tiny phones (≤ 375px): shave a bit more */
@media (max-width: 375px) {
  #home > div > div:first-child {
    padding-top:    14px !important;
    padding-bottom: 28px !important;
  }
  #home [data-hero-load="0.04"] { margin-bottom: 12px !important; }
  #home [data-hero-load="0.24"] { margin-bottom: 10px !important; }
  #home [data-hero-load="0.3"]  { margin-bottom: 14px !important; }
  #home [data-hero-load="0.36"] { margin-bottom: 14px !important; }
  #home h1 { margin-bottom: 8px !important; }
}

/* ── 17.2  TICKER — mobile legibility ───────────────────────
   Phase 7 had .we-ticker-wrap but that class never existed in
   the markup. Target the actual ticker structure via sibling.
   On mobile: reduce padding + font + letter-spacing.          */
@media (max-width: 767px) {
  /* Inner wrapper that carries padding:14px 0 */
  #home + div > div {
    padding-top:    8px !important;
    padding-bottom: 8px !important;
  }
  /* Each ticker item span */
  #home + div span.inline-flex {
    font-size:      9px !important;
    letter-spacing: 0.18em !important;
    padding-left:   18px !important;
    padding-right:  18px !important;
    gap:            12px !important;
  }
  /* Diamond separator: scale down slightly */
  #home + div span[style*="font-size:5px"] {
    font-size: 4px !important;
  }
}

/* ── 17.3  SERVICE CARDS — elevate to premium advisory feel ─
   Current cards feel blog-like: small 180px image + flat white
   content. Fixes: taller image, stronger shadow, persistent
   gold top-accent, more prominent CTA link.                  */

/* Stronger resting shadow: more depth than 0 2px 20px */
.we-svc-card {
  box-shadow: 0 4px 32px rgba(22,53,39,0.10),
              0 1px 4px  rgba(22,53,39,0.06) !important;
}

/* Gold top-edge accent — always visible, quiet luxury */
.we-svc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(200,165,106,0.55) 0%,
    rgba(200,165,106,0.18) 55%,
    transparent 100%
  );
  border-radius: 24px 24px 0 0;
  z-index: 4;
  pointer-events: none;
}

/* Image panel: increase height — sm/md get more visual impact */
@media (min-width: 640px) {
  .we-svc-card > div:first-child {
    height: 204px !important;
  }
}
/* Mobile (1-col full-width): 190px gives presence without bloat */
@media (max-width: 639px) {
  .we-svc-card > div:first-child {
    height: 190px !important;
  }
}

/* Content panel: slightly more breathing room */
.we-svc-card .p-6 {
  padding: 22px !important;
}
@media (max-width: 639px) {
  .we-svc-card .p-6 { padding: 18px !important; }
}

/* "Explore Advisory" link: subtle underline gives advisory authority */
.we-svc-link {
  border-bottom: 1px solid rgba(22,53,39,0.13) !important;
  padding-bottom: 2px !important;
  width: fit-content !important;
}
.we-svc-card:hover .we-svc-link {
  border-bottom-color: rgba(200,165,106,0.45) !important;
}

/* Icon container: stronger definition at rest */
.we-svc-advisory-icon {
  border: 1.5px solid rgba(22,53,39,0.14) !important;
}

/* ── 17.4  SERVICES CTA STRIP — fix button overflow ─────────
   Container is flex-row with white-space:nowrap buttons.
   At 320px only ~208px is available → buttons overflow badly.
   Stack vertically on mobile. Target the flex-shrink-0 wrapper. */
@media (max-width: 639px) {
  #services .rounded-3xl .flex-shrink-0 {
    flex-direction: column !important;
    width:          100% !important;
    gap:            10px !important;
  }
  #services .rounded-3xl .flex-shrink-0 > a {
    width:           100% !important;
    justify-content: center !important;
    text-align:      center !important;
    min-height:      48px !important;
    padding:         13px 18px !important;
    box-sizing:      border-box !important;
    white-space:     normal !important;
  }
  /* Strip itself: reduce heavy px-8 (32px) padding on small screens */
  #services .rounded-3xl {
    padding: 22px !important;
  }
}

/* ── 17.5  ABOUT SECTION IMAGE — reduce height on mobile ─────
   min-height:480px fills ~85% of iPhone SE screen.
   Reduce to a balanced visual weight on phones.               */
@media (max-width: 767px) {
  .relative.rounded-3xl[style*="min-height:480"] {
    min-height: 280px !important;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .relative.rounded-3xl[style*="min-height:480"] {
    min-height: 360px !important;
  }
}

/* ── 17.6  ABOUT SECTION BUTTONS — full-width on mobile ──────
   display:inline-block in markup → content-width only.
   In a flex-col container on mobile they should be full-width. */
@media (max-width: 639px) {
  /* Target inline-block buttons that sit inside a flex column */
  .flex.flex-col > a.rounded-full[style*="inline-block"],
  .flex-col > a.rounded-full[style*="inline-block"] {
    display:         flex !important;
    width:           100% !important;
    justify-content: center !important;
    align-items:     center !important;
    box-sizing:      border-box !important;
    text-align:      center !important;
  }
}

/* ── 17.7  WHY WEALTHERA CARDS — reduce mobile min-height ────
   3 stacked cards at min-height:320px = 960px of scroll.
   Reduce so content, not padding, drives card height.         */
@media (max-width: 767px) {
  .we-why-card            { min-height: 260px !important; }
  .we-why-card .relative.p-10 {
    padding:    28px !important;
    min-height: 260px !important;
  }
  .we-why-card .font-serif[style*="2.5rem"] {
    font-size: 1.9rem !important;
  }
}
@media (max-width: 375px) {
  .we-why-card            { min-height: 240px !important; }
  .we-why-card .relative.p-10 { min-height: 240px !important; }
}

/* ── 17.8  TABLET POLISH (768–1023px) ───────────────────────*/
@media (min-width: 768px) and (max-width: 1023px) {
  /* Service card image: 200px on tablet */
  .we-svc-card > div:first-child { height: 200px !important; }

  /* Services CTA strip: buttons wrap at narrow tablet */
  #services .rounded-3xl .flex-shrink-0 {
    flex-wrap: wrap !important;
    gap:       10px !important;
  }
  #services .rounded-3xl .flex-shrink-0 > a {
    min-height: 48px !important;
  }
  /* Why cards: reduce tall padding on tablet */
  .we-why-card { min-height: 300px !important; }
}

/* ── 17.9  UAE PRESENCE LOCATION GRID — mobile ───────────────
   2-col grid at 320px gives ~128px per card. Ensure text wraps
   cleanly and cards don't clip content.                       */
@media (max-width: 375px) {
  #uae-presence .grid.grid-cols-2 > div {
    padding: 14px !important;
  }
  #uae-presence .grid.grid-cols-2 .font-serif {
    font-size: 0.92rem !important;
  }
}

/* ── 17.10 ADVISORY PROCESS — mobile single-col tighten ─────*/
@media (max-width: 767px) {
  /* Step items: reduce gap between steps */
  #advisory-process .grid { gap: 20px !important; }
  /* Step title */
  #advisory-process h3 { font-size: 0.9rem !important; }
  /* Step body */
  #advisory-process p  { font-size: 0.78rem !important; }
  /* Step circle: keep centred */
  #advisory-process .w-\\[42px\\] { flex-shrink: 0 !important; }
}

/* ── 17.11 FINAL CTA SECTION — mobile tighten ────────────────*/
@media (max-width: 767px) {
  /* Heading: tighter line height */
  section[style*="background:#0e2a1c"]:last-of-type h2 {
    margin-bottom: 16px !important;
  }
  /* Body copy: reduce bottom margin */
  section[style*="background:#0e2a1c"]:last-of-type p {
    margin-bottom: 28px !important;
  }
  /* CTA tag strip: smaller gaps */
  section[style*="background:#0e2a1c"]:last-of-type .flex.flex-wrap {
    gap: 10px 16px !important;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PHASE 18 — LOGO FILL: make logo visually occupy 85–90% of its container
   Rule: reduce inner padding on all logo containers; override loader img size.
   Desktop (≥1024px) containers unchanged in outer size — only padding trimmed.
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── 18.1  LOADING SCREEN logo mark
       Container: .we-loader-logo-mark = 48×48px (CSS)
       Inline img: width:34px;height:34px → 71% fill → bump to 42px = 87.5%  */
.we-loader-logo-mark img {
  width:  42px !important;
  height: 42px !important;
  object-fit: contain !important;
}

/* ── 18.2  DESKTOP HEADER (sticky) logo container
       <div style="width:52px;height:52px;...padding:8px;">
       8px padding → effective 36px (69%). Reduce to 3px → 46px (88.5%)       */
#we-header a.group > div.rounded-2xl {
  padding: 3px !important;
}

/* ── 18.3  MOBILE MENU logo container
       <div style="width:44px;height:44px;...padding:7px;">
       7px padding → effective 30px (68%). Reduce to 3px → 38px (86.4%)       */
#we-mobile-menu div[style*="width:44px;height:44px"] {
  padding: 3px !important;
}

/* ── 18.4  FOOTER logo container
       class="w-10 h-10 rounded-xl …" + inline padding:7px
       40px container, 7px padding → effective 26px (65%). → 2px → 36px (90%) */
footer .w-10.h-10.rounded-xl {
  padding: 2px !important;
}

/* ── 18.5  FOOTER logo — remove grayscale filter so logo shows in full colour */
footer .w-10.h-10.rounded-xl img {
  filter: none !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PHASE 19 — Multi-fix: hero badge hide · loader overflow · marquee overlap
              · footer mobile compression
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── 19.1  Hero badge: hidden by default; keep PHP intact for WP re-enable */
#home [data-hero-load="0.04"] {
  display: none !important;
}

/* ── 19.2  Loader: prevent tagline & brand name from overflowing on narrow phones */
.we-loader-inner {
  max-width: calc(100vw - 40px) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 16px !important;
}
.we-loader-logo {
  flex-wrap: nowrap !important;
  min-width: 0 !important;
}
.we-loader-logo-text {
  min-width: 0 !important;
  overflow: hidden !important;
}
.we-loader-brand {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: clamp(16px, 5vw, 22px) !important;
}
.we-loader-tagline {
  max-width: 100% !important;
  text-align: center !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  letter-spacing: clamp(0.14em, 2vw, 0.28em) !important;
}
.we-loader-line {
  max-width: min(140px, 60vw) !important;
}

/* ── 19.3  Header marquee: tighter on mobile to prevent bleed/overlap */
@media (max-width: 767px) {
  #we-header .we-marquee-track span {
    font-size: 8px !important;
    letter-spacing: 0.14em !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    gap: 10px !important;
  }
}

/* ── 19.4  Footer mobile: 2-col link grid + overall height compression
       Overrides Phase 14's single-column grid — keeps Quick Links & Services
       side-by-side; Contact spans full width below. Saves ~40% vertical space. */
@media (max-width: 767px) {

  /* Overall container: tighter top/bottom */
  footer > div.container {
    padding-top: 28px !important;
    padding-bottom: 20px !important;
  }

  /* Top row (logo+tagline / socials): compact gap */
  footer .flex.flex-col.sm\:flex-row.sm\:items-start.sm\:justify-between {
    gap: 16px !important;
    padding-bottom: 18px !important;
    margin-bottom: 18px !important;
  }

  /* Tagline: tighter font */
  footer .hidden.md\:block {
    font-size: 12px !important;
    line-height: 1.6 !important;
    margin-top: 6px !important;
  }

  /* Link grid: 2 columns (Quick Links | Services) — saves a whole column of height */
  footer .grid.grid-cols-2.md\:grid-cols-4 {
    grid-template-columns: 1fr 1fr !important;
    gap: 0 16px !important;
    margin-bottom: 20px !important;
  }

  /* Each column: snug padding, gold-line divider below */
  footer .grid.grid-cols-2.md\:grid-cols-4 > div {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid rgba(200,165,106,0.07) !important;
  }

  /* First two columns: no top padding (they sit at the top) */
  footer .grid.grid-cols-2.md\:grid-cols-4 > div:first-child,
  footer .grid.grid-cols-2.md\:grid-cols-4 > div:nth-child(2) {
    padding-top: 0 !important;
    border-top: none !important;
  }

  /* Contact: full width, no bottom border */
  footer .grid.grid-cols-2.md\:grid-cols-4 > .col-span-2 {
    grid-column: span 2 !important;
    padding-top: 16px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
  }

  /* Link list items: tighter gap */
  footer .grid ul { gap: 8px !important; }
  footer .grid ul li a,
  footer .grid ul li span { font-size: 12.5px !important; }

  /* Contact items: tighter gap */
  footer .grid .col-span-2 > ul {
    gap: 10px !important;
    margin-bottom: 12px !important;
  }
  footer .grid .col-span-2 > ul li span,
  footer .grid .col-span-2 > ul li a { font-size: 12.5px !important; }

  /* Bottom bar: tighten */
  footer .mb-6 { margin-bottom: 16px !important; }
  footer .mb-6 ~ div {
    padding-top: 16px !important;
    gap: 6px !important;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PHASE 19.5 — Blog / article hero height: cap on mobile & tablet
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1023px) {
  .we-blog-hero,
  .we-article-hero {
    min-height: 52vh !important;
  }
  .we-blog-hero-inner,
  .we-article-hero-inner {
    min-height: 52vh !important;
    padding-bottom: 40px !important;
  }
}
@media (max-width: 767px) {
  .we-blog-hero,
  .we-article-hero {
    min-height: 44vh !important;
  }
  .we-blog-hero-inner,
  .we-article-hero-inner {
    min-height: 44vh !important;
    padding-bottom: 32px !important;
    padding-top: 0 !important;
  }
  .we-blog-hero-inner > div,
  .we-article-hero-inner > div {
    padding-top: 60px !important;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PHASE 20 — Mobile nav: new stacked header layout + menu polish
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── 20.1  Mobile header branding block */
@media (max-width: 767px) {
  .we-mob-brand {
    border-bottom: 1px solid rgba(200,165,106,0.08);
  }
}

/* ── 20.2  Mobile action buttons — hover / active states */
.we-mob-action-btn:active {
  opacity: 0.82;
}
@media (hover: hover) {
  a.we-mob-action-btn[href^="https://wa.me"]:hover {
    background: #d4ae74 !important;
  }
  a.we-mob-action-btn:not([href^="https://wa.me"]):hover {
    background: rgba(200,165,106,0.18) !important;
    border-color: rgba(200,165,106,0.72) !important;
  }
}

/* ── 20.3  Mobile slide menu — nav link hover state */
#we-mobile-menu .we-mobile-link:hover {
  color: #C8A56A !important;
}

/* ── 20.4  Mobile slide menu — bottom button hovers */
#we-mobile-menu a[href^="https://wa.me"]:hover {
  background: rgba(200,165,106,0.12) !important;
  border-color: rgba(200,165,106,0.75) !important;
}
#we-mobile-menu a[href]:not([href^="https://wa.me"]):last-child:hover {
  background: #d4ae74 !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PHASE 21 — Global: no white sections · no italic · readable body text
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── 21.1  Kill italics site-wide */
em { font-style: normal !important; }
i.not-lucide { font-style: normal !important; }
[style*="font-style:italic"] { font-style: normal !important; }
.italic { font-style: normal !important; }

/* ── 21.2  Dark-section text: override dark-green (#163527) headings → white
          Targets any element with color:#163527 inside a dark-bg section       */
section[style*="#0e2a1c"] [style*="color:#163527"],
section[style*="#112e1f"] [style*="color:#163527"],
#contact-form [style*="color:#163527"] {
  color: #ffffff !important;
}

/* ── 21.3  Dark-section body text: override rgba(22,53,39,…) → light white */
section[style*="#0e2a1c"] [style*="color:rgba(22,53,39"],
section[style*="#112e1f"] [style*="color:rgba(22,53,39"],
#contact-form [style*="color:rgba(22,53,39"] {
  color: rgba(255,255,255,0.68) !important;
}

/* ── 21.4  Dark-section icons: dark green → gold */
section[style*="#0e2a1c"] i[style*="color:#163527"],
section[style*="#112e1f"] i[style*="color:#163527"] {
  color: #C8A56A !important;
}

/* ── 21.5  Dark-section icon wrappers: dark-green bg → subtle gold */
section[style*="#0e2a1c"] [style*="background:rgba(22,53,39,0.06)"],
section[style*="#0e2a1c"] [style*="background:rgba(22,53,39,0.07)"],
section[style*="#0e2a1c"] [style*="background:rgba(22,53,39,0.08)"],
section[style*="#112e1f"] [style*="background:rgba(22,53,39,0.06)"],
section[style*="#112e1f"] [style*="background:rgba(22,53,39,0.07)"],
section[style*="#112e1f"] [style*="background:rgba(22,53,39,0.08)"],
#contact-form [style*="background:rgba(22,53,39,0.04)"],
#contact-form [style*="background:rgba(22,53,39,0.06)"] {
  background: rgba(200,165,106,0.07) !important;
}

/* ── 21.6  Dark-section borders: dark-green → subtle gold */
section[style*="#0e2a1c"] [style*="border:1px solid rgba(22,53,39"],
section[style*="#0e2a1c"] [style*="border-bottom:1px solid rgba(22,53,39"],
section[style*="#0e2a1c"] [style*="border-top:1px solid rgba(22,53,39"],
section[style*="#112e1f"] [style*="border:1px solid rgba(22,53,39"],
section[style*="#112e1f"] [style*="border-bottom:1px solid rgba(22,53,39"],
section[style*="#112e1f"] [style*="border-top:1px solid rgba(22,53,39"],
#contact-form [style*="border:1px solid rgba(22,53,39"],
#contact-form [style*="border-bottom:1px solid rgba(22,53,39"] {
  border-color: rgba(200,165,106,0.18) !important;
}

/* ── 21.7  Dark-section tag/pill badges: dark-green scheme → gold scheme */
section[style*="#0e2a1c"] span[style*="background:rgba(22,53,39"],
section[style*="#112e1f"] span[style*="background:rgba(22,53,39"] {
  background: rgba(200,165,106,0.08) !important;
  border-color: rgba(200,165,106,0.2) !important;
  color: rgba(200,165,106,0.85) !important;
}

/* ── 21.8  Dark-section category filter pills */
section[style*="#0e2a1c"] a[style*="background:rgba(22,53,39"] {
  background: rgba(200,165,106,0.07) !important;
  border-color: rgba(200,165,106,0.2) !important;
  color: rgba(200,165,106,0.75) !important;
}

/* ── 21.9  Contact form — inputs, labels, placeholders on dark bg */
#contact-form input,
#contact-form textarea,
#contact-form select,
#contact-form input[type="search"] {
  color: #ffffff !important;
  border-bottom-color: rgba(255,255,255,0.18) !important;
  caret-color: #C8A56A;
}
#contact-form input::placeholder,
#contact-form textarea::placeholder { color: rgba(255,255,255,0.28) !important; }
#contact-form select option { background: #0e2a1c; color: #ffffff; }
#contact-form label { color: rgba(200,165,106,0.75) !important; }

/* ── 21.10  About accordion button */
.we-approach-btn { border-color: rgba(200,165,106,0.12) !important; }
#we-approach-icon svg { stroke: #C8A56A !important; }

/* ── 21.11  Services page — process timeline line on dark section */
section[style*="#112e1f"] .hidden.lg\:block.absolute.h-px {
  background: linear-gradient(90deg,transparent,rgba(200,165,106,0.22) 15%,rgba(200,165,106,0.22) 85%,transparent) !important;
}
section[style*="#112e1f"] .w-1.h-6.rounded-full {
  background: linear-gradient(to bottom,rgba(200,165,106,0.25),transparent) !important;
}
section[style*="#112e1f"] [style*="border:2px solid rgba(22,53,39"] {
  border-color: rgba(200,165,106,0.25) !important;
}

/* ── 21.12  Search form on dark bg */
section[style*="#0e2a1c"] input[type="search"] {
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(200,165,106,0.22) !important;
  color: #ffffff !important;
}
section[style*="#0e2a1c"] input[type="search"]::placeholder {
  color: rgba(255,255,255,0.32) !important;
}

/* ── 21.13  Article body / single post on dark bg */
.we-post-content {
  color: rgba(255,255,255,0.72) !important;
}
.we-post-content h1, .we-post-content h2, .we-post-content h3,
.we-post-content h4, .we-post-content h5, .we-post-content h6 {
  color: #ffffff !important;
}
.we-post-content a { color: #C8A56A !important; }
.we-post-content blockquote {
  color: rgba(255,255,255,0.68) !important;
  border-left-color: #C8A56A !important;
}
.we-post-content strong, .we-post-content b { color: #ffffff !important; }
section[style*="#0e2a1c"] [style*="border-top:1px solid rgba(22,53,39,0.08)"] {
  border-top-color: rgba(255,255,255,0.08) !important;
}
section[style*="#0e2a1c"] a[style*="background:rgba(22,53,39"] {
  background: rgba(200,165,106,0.08) !important;
  border-color: rgba(200,165,106,0.2) !important;
  color: rgba(200,165,106,0.85) !important;
}

/* ── 21.14  Global: boost dull-white body text for readability */
p[style*="rgba(255,255,255,0.48"],
p[style*="rgba(255,255,255,0.45"],
p[style*="rgba(255,255,255,0.4"] {
  color: rgba(255,255,255,0.7) !important;
}

/* ── 21.15  Insights / archive article card text on dark bg */
#articles .rounded-2xl h3[style*="color:#163527"],
#articles article h3[style*="color:#163527"] { color: #ffffff !important; }
#articles .rounded-2xl p[style*="color:rgba(22,53,39"],
#articles article p[style*="color:rgba(22,53,39"] { color: rgba(255,255,255,0.62) !important; }
#articles [style*="color:rgba(22,53,39,0.4)"] { color: rgba(255,255,255,0.4) !important; }
#articles span[style*="color:#163527"] { color: #ffffff !important; }
#articles svg[stroke*="rgba(22,53,39"] { stroke: rgba(255,255,255,0.35) !important; }

/* ── 21.16  Homepage service card content on dark card */
.we-svc-card [style*="color:#163527"] { color: #ffffff !important; }
.we-svc-card [style*="color:rgba(22,53,39"] { color: rgba(255,255,255,0.62) !important; }
.we-svc-card [style*="background:rgba(22,53,39"] {
  background: rgba(200,165,106,0.08) !important;
  border-color: rgba(200,165,106,0.18) !important;
  color: rgba(200,165,106,0.8) !important;
}
.we-svc-card [style*="border:1px solid rgba(22,53,39"] {
  border-color: rgba(200,165,106,0.18) !important;
}
