/* ═══════════════════════════════════════════════════════
   grandexis.css  —  Shared design system for all pages
   Grandexis Estates | 2024
   ═══════════════════════════════════════════════════════ */

/* ── Prevent horizontal overflow on all devices ── */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Hard stop: nothing may exceed the viewport width on small screens */
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  /* Decorative absolute accents must not create horizontal scroll */
  section,
  footer,
  #home {
    overflow-x: clip;
  }
}

/* ── Body text: solid black instead of faded grey-navy ──
   Overrides the reduced-opacity charcoal/navy text utilities so paragraph
   copy reads as dark/black. Full-strength headings (text-charcoal, text-navy
   without a /opacity) and white-on-dark text are left untouched. */
.text-charcoal\/40,
.text-charcoal\/45,
.text-charcoal\/48,
.text-charcoal\/50,
.text-charcoal\/55,
.text-charcoal\/60,
.text-charcoal\/65,
.text-charcoal\/70,
.text-charcoal\/75,
.text-navy\/40,
.text-navy\/45,
.text-navy\/50,
.text-navy\/55,
.text-navy\/60,
.text-navy\/70,
.text-navy\/75 {
  color: #1a1a1a !important;
}

/* ── Google Fonts fallback (already loaded per-page) ── */
:root {
  --navy: #0A2463;
  --blue: #1565C0;
  --blue-dk: #0D3B8C;
  --gold: #1565C0;
  --cream: #F0F6FF;
  --white: #ffffff;
}

/* ━━━━━━━━━━━━━━━━━━━━ PAGE TRANSITIONS ━━━━━━━━━━━━━━━━━━━━ */
/* NOTE: body uses transform-only — NO opacity — so the preloader
   logo is always fully visible (opacity never drops to 0 on body). */
body {
  animation: gxPageIn .42s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes gxPageIn {
  from {
    transform: translateY(10px);
  }

  to {
    transform: none;
  }
}

.gx-fade-out {
  animation: gxPageOut .3s cubic-bezier(.4, 0, .2, 1) forwards !important;
}

@keyframes gxPageOut {
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}



/* ━━━━━━━━━━━━━━━━━━━━ FLOATING BUTTONS ━━━━━━━━━━━━━━━━━━━━ */
/* WhatsApp — fixed bottom RIGHT */
.wa-fab {
  position: fixed !important;
  bottom: 1.75rem !important;
  right: 1.75rem !important;
  left: auto !important;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(18, 140, 80, .30), 0 2px 6px rgba(0, 0, 0, .12);
  z-index: 50 !important;
  text-decoration: none;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
}

.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(18, 140, 80, .42), 0 2px 6px rgba(0, 0, 0, .12);
}

.wa-fab svg {
  width: 30px;
  height: 30px;
  display: block;
}

/* Crisp expanding-ring pulse (box-shadow, not a blurry scaled border) */
.wa-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: waPulse 2.4s ease-out infinite;
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .45);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Back to top — fixed RIGHT, stacked above the WhatsApp FAB */
#gx-back-top {
  position: fixed !important;
  bottom: 6.25rem !important;
  right: 1.95rem !important;
  left: auto !important;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: #1565C0;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(21, 101, 192, .35);
  z-index: 39;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, box-shadow .3s, background .3s;
}

#gx-back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#gx-back-top:hover {
  background: #0D3B8C;
  box-shadow: 0 8px 28px rgba(21, 101, 192, .45);
  transform: translateY(-3px);
}

/* ━━━━━━━━━━━━━━━━━━━━ TOP INFO BAR ━━━━━━━━━━━━━━━━━━━━ */
#gx-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 51;
  /* sits above nav */
  height: 36px;
  background: linear-gradient(90deg, #0A2463 0%, #1565C0 100%);
  display: flex;
  align-items: center;
  padding: 0 4rem;
  border-bottom: 1px solid rgba(214, 234, 248, .08);
}

@media (max-width:768px) {
  #gx-topbar {
    padding: 0 1.25rem;
    height: 32px;
  }

  #gx-nav {
    top: 32px;
  }
}

.gx-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Left: contact links */
.gx-topbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.gx-topbar-left a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  letter-spacing: .06em;
  color: rgba(214, 234, 248, .78);
  text-decoration: none;
  transition: color .22s;
  min-height: unset;
  /* override 44px tap-target for top bar */
}

.gx-topbar-left a:hover {
  color: #fff;
}

.gx-topbar-left svg {
  flex-shrink: 0;
  opacity: .7;
}

/* Right: social icons */
.gx-topbar-right {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.gx-topbar-social {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(214, 234, 248, .65);
  text-decoration: none;
  transition: color .22s, transform .22s;
  min-height: unset;
}

.gx-topbar-social:hover {
  color: #fff;
  transform: translateY(-1px);
}

/* Hide left contact on very small screens */
@media (max-width:480px) {
  .gx-topbar-left a:last-child {
    display: none;
  }
}


/* ━━━━━━━━━━━━━━━━━━━━ STATIC WHITE NAV ━━━━━━━━━━━━━━━━━━━━ */
#gx-nav {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 50;
  background: #f0f6ff !important;
  box-shadow: 0 2px 24px rgba(10, 36, 99, .09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 4rem;
  transition: box-shadow .3s ease;
  backdrop-filter: none !important;
}

@media (max-width:768px) {
  #gx-nav {
    padding: .875rem 1.5rem;
  }
}

#gx-nav:hover {
  box-shadow: 0 4px 32px rgba(10, 36, 99, .12);
}

/* Desktop nav links */
.gx-nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

@media (max-width:768px) {
  .gx-nav-links {
    display: none;
  }
}

.gx-nav-link {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(10, 36, 99, .75);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color .25s ease;
}

.gx-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(to right, var(--blue), var(--gold));
  transition: width .3s ease;
}

.gx-nav-link:hover,
.gx-nav-link.gx-active {
  color: var(--blue);
}

.gx-nav-link.gx-active::after,
.gx-nav-link:hover::after {
  width: 100%;
}

/* Nav CTA pill */
.gx-nav-cta {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  background: var(--blue);
  color: #fff !important;
  text-decoration: none;
  padding: .6rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  position: relative;
  overflow: hidden;
  transition: background .3s, box-shadow .3s, transform .2s;
}

.gx-nav-cta:hover {
  background: var(--blue-dk);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, .18), 0 6px 22px rgba(21, 101, 192, .36);
  transform: translateY(-1px);
}

.gx-nav-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(214, 234, 248, .15);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform .45s ease;
}

.gx-nav-cta:hover::after {
  transform: translateX(200%) skewX(-15deg);
}

/* Mobile hamburger */
#gx-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

@media (max-width:768px) {
  #gx-menu-btn {
    display: flex;
  }
}

.gx-bar {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  transition: all .3s ease;
}

.gx-bar:nth-child(1) {
  background: var(--navy);
}

.gx-bar:nth-child(2) {
  width: 16px;
  background: var(--blue);
}

.gx-bar:nth-child(3) {
  background: var(--navy);
}

/* Hamburger → X */
#gx-menu-btn.open .gx-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 24px;
  background: var(--navy);
}

#gx-menu-btn.open .gx-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#gx-menu-btn.open .gx-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 24px;
  background: var(--navy);
}

/* Mobile full-screen menu */
#gx-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49; /* nav (50) + topbar (51) sit above — hamburger always tappable */
  background: rgba(240, 246, 255, .98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 120px;
  gap: 2rem;
  /* Hide with visibility so no transform needed (transform breaks fixed on iOS) */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}

#gx-mobile-menu.gx-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  /* Slide-in animation plays once on open */
  animation: gxMenuIn .35s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes gxMenuIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.gx-mob-link {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--navy) !important;
  text-decoration: none;
  /* Always visible — menu visibility is controlled by the parent overlay */
  opacity: 1;
  transition: color .22s;
}

.gx-mob-link:hover {
  color: var(--blue) !important;
}

/* Entrance animation runs ONLY when the menu opens (can't leave links hidden) */
#gx-mobile-menu.gx-open .gx-mob-link,
#gx-mobile-menu.gx-open .gx-nav-cta {
  animation: gxLinkIn .4s cubic-bezier(.4, 0, .2, 1) both;
}
#gx-mobile-menu.gx-open .gx-mob-link:nth-child(1) { animation-delay: .06s; }
#gx-mobile-menu.gx-open .gx-mob-link:nth-child(2) { animation-delay: .12s; }
#gx-mobile-menu.gx-open .gx-mob-link:nth-child(3) { animation-delay: .18s; }
#gx-mobile-menu.gx-open .gx-mob-link:nth-child(4) { animation-delay: .24s; }
#gx-mobile-menu.gx-open .gx-mob-link:nth-child(5) { animation-delay: .30s; }
#gx-mobile-menu.gx-open .gx-nav-cta              { animation-delay: .36s; }

@keyframes gxLinkIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ━━━━━━━━━━━━━━━━━━━━ BODY PADDING (for fixed nav) ━━━━━━━━━━━━━━━━━━━━ */
body {
  padding-top: 0;
}

/* hero sections handle their own spacing */

/* ━━━━━━━━━━━━━━━━━━━━ BUTTON OVERRIDES — ALL BLUE ━━━━━━━━━━━━━━━━━━━━ */
/* Override any gold-background buttons site-wide */
.btn-gold,
.btn-gold-warm {
  background: var(--blue) !important;
  color: #fff !important;
}

.btn-gold:hover,
.btn-gold-warm:hover {
  background: var(--blue-dk) !important;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, .18), 0 10px 30px rgba(21, 101, 192, .40) !important;
  transform: translateY(-2px) !important;
}

/* Primary blue button glow */
.btn-blue:hover,
.btn-primary:hover {
  box-shadow: 0 0 0 3px rgba(21, 101, 192, .18), 0 8px 28px rgba(21, 101, 192, .40) !important;
}

/* Shimmer button — blue */
.btn-shimmer {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dk) 100%) !important;
}

.btn-shimmer:hover {
  background: linear-gradient(135deg, var(--blue-dk) 0%, var(--blue) 100%) !important;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, .15), 0 8px 28px rgba(21, 101, 192, .38) !important;
}

/* Gold shimmer override — also blue */
.btn-shimmer-gold {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dk) 100%) !important;
}

.btn-shimmer-gold:hover {
  background: linear-gradient(135deg, var(--blue-dk) 0%, var(--blue) 100%) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━ COUNTER ANIMATION ━━━━━━━━━━━━━━━━━━━━ */
[data-counter] {
  display: inline-block;
  transition: transform .3s ease;
}

.gx-counter-pop {
  transform: scale(1.15);
  color: var(--blue) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━ SCROLL REVEAL ━━━━━━━━━━━━━━━━━━━━ */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity .85s cubic-bezier(.4, 0, .2, 1),
    transform .85s cubic-bezier(.4, 0, .2, 1);
}

.reveal {
  transform: translateY(38px);
}

.reveal-left {
  transform: translateX(-44px);
}

.reveal-right {
  transform: translateX(44px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* ━━━━━━━━━━━━━━━━━━━━ BACK TO TOP ━━━━━━━━━━━━━━━━━━━━ */
#gx-back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s, box-shadow .3s;
  z-index: 38;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(21, 101, 192, .28);
}

#gx-back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#gx-back-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, .15), 0 8px 24px rgba(21, 101, 192, .38);
}

/* ━━━━━━━━━━━━━━━━━━━━ MOBILE LUXURY POLISH ━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {

  /* Ensure tap targets are 44px+ */
  a,
  button {
    min-height: 44px;
  }

  .gx-nav-cta {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Generous hero text on mobile */
  h1,
  h2 {
    line-height: 1.08 !important;
  }

  /* Better card spacing on mobile */
  .svc-card,
  .proj-card,
  .vm-card,
  .why-block,
  .info-card {
    margin-bottom: .5rem;
  }

  /* Smooth scroll snap on project grid */
  #cardsGrid {
    scroll-snap-type: x mandatory;
    overflow-x: auto;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━ SECTION ENTRANCE ENHANCEMENTS ━━━━━━━━━━━━━━━━━━━━ */
/* Uniform section padding override for consistent vertical rhythm */
section {
  scroll-margin-top: 72px;
  /* nav height */
}

/* Subtle shimmer on section eyebrows */
.gx-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}

.gx-eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 1.5px;
  background: linear-gradient(to right, var(--blue), var(--gold));
}

/* ━━━━━━━━━━━━━━━━━━━━ HERO NAV OFFSET ━━━━━━━━━━━━━━━━━━━━ */
/* Hero sections are full-viewport and use absolute positioning internally,
   so we just need to ensure #hero images start from behind the nav visually.
   The actual hero content is centered in vh, which already accounts for nav. */
#hero {
  padding-top: 0;
}

/* hero images fill full viewport, content is flex-centred */

/* Non-hero first sections need top padding if they're the first content */
section:not(#hero):first-of-type {
  padding-top: calc(4rem + 68px);
}

/* ━━━━━━━━━━━━━━━━━━━━ BUTTON GLOW UNIVERSAL ━━━━━━━━━━━━━━━━━━━━ */
/* Any element with class starting btn- gets a subtle glow focus ring */
[class*="btn-"]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ━━━━━━━━━━━━━━━━━━━━ TYPOGRAPHY CONSISTENCY ━━━━━━━━━━━━━━━━━━━━ */
/* Inter for ALL elements sitewide */
*,
h1, h2, h3, h4, h5, h6,
p, span, a, button,
input, select, textarea, label {
  font-family: 'Inter', sans-serif !important;
}

body {
  font-family: 'Inter', sans-serif !important;
}

/* font-serif class also uses Inter (keeps weight/style rules intact) */
.font-serif,
.font-serif * {
  font-family: 'Inter', sans-serif !important;
}

/* ━━━━━━━━━━━━━━━━━━━━ FOCUS RING (accessibility) ━━━━━━━━━━━━━━━━━━━━ */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ━━━━━━━━━━━━━━━━━━━━ BODY & GLOBAL BACKGROUND ━━━━━━━━━━━━━━━━━━━━ */
body {
  background: #f0f6ff !important;
}

/* ━━━━━━━━━━━━━━━━━━━━ HERO SECTION — ALL TEXT WHITE ━━━━━━━━━━━━━━━━━━━━ */
/* Force hero h1, h2, stats to white */
#home h1, #home h2, #home h3,
#hero h1, #hero h2, #hero h3,
#home .font-serif, #hero .font-serif {
  color: #ffffff !important;
}

/* Remove italic from hero headings */
#home h1 em, #home h1 span,
#hero h1 em, #hero h1 span,
#home h1 *, #hero h1 * {
  font-style: normal !important;
  opacity: 1 !important;
  color: #ffffff !important;
}

/* Hero stat numbers — white */
#home .hero-line .font-serif,
#home .hero-line [class*="font-"] {
  color: #ffffff !important;
}

/* Hero stat accent (+, %) — keep blue */
#home h1 + * span[style*="color:#1565C0"],
#home [style*="color:#1565C0"] {
  color: #1565C0 !important;
}

/* ━━━━━━━━━━━━━━━━━━━━ EYEBROW / SECTION LABEL TEXT → BLUE ━━━━━━━━━━━━━━━━━━━━ */
/* Small uppercase tracking text in all non-hero sections → theme blue */
section:not(#home):not(#hero) .text-gold,
section:not(#home):not(#hero) span[class*="tracking"],
section:not(#home):not(#hero) div[class*="tracking"][class*="uppercase"],
.gx-eyebrow span {
  color: #1565C0 !important;
  font-weight: 700 !important;
}

/* ━━━━━━━━━━━━━━━━━━━━ BG-GOLD DIVIDER LINES → THEME BLUE ━━━━━━━━━━━━━━━━━━━━ */
/* All small bg-gold eyebrow lines forced to theme blue */
.bg-gold {
  background-color: #1565C0 !important;
}

/* ━━━━━━━━━━━━━━━━━━━━ SECTION ALT BACKGROUNDS ━━━━━━━━━━━━━━━━━━━━ */
/* bg-card sections → #f0f6ff */
.bg-card {
  background-color: #f0f6ff !important;
}

/* bg-cream sections */
.bg-cream {
  background-color: #ffffff !important;
}

/* ━━━━━━━━━━━━━━━━━━━━ FOOTER — BLUE THEME ━━━━━━━━━━━━━━━━━━━━ */
footer {
  background: linear-gradient(135deg, #0A2463 0%, #1565C0 100%) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

/* All text inside footer defaults to white */
footer *,
footer p,
footer span,
footer li,
footer h5,
footer h4,
footer h3,
footer h2 {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Section headings (Quick Links, Contact) — brighter white */
footer h5 {
  color: #ffffff !important;
  letter-spacing: .15em;
}

/* Links — semi-transparent white, brighten on hover */
footer a {
  color: rgba(255, 255, 255, 0.65) !important;
  transition: color .25s ease;
}

footer a:hover {
  color: #ffffff !important;
}

/* Copyright & bottom bar */
footer .pt-8 p,
footer .pt-8 a {
  color: rgba(255, 255, 255, 0.45) !important;
}

footer .pt-8 a:hover {
  color: #ffffff !important;
}

/* Social icon borders */
footer a[aria-label] {
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.65) !important;
}

footer a[aria-label]:hover {
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: #ffffff !important;
}

/* Bottom divider line — subtle white */
footer .pt-8 {
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

/* ═══════════════════════════════════════════════════════
   HERO CAROUSEL
   ═══════════════════════════════════════════════════════ */

/* Slides stack via absolute fill; section needs explicit height */
.gx-hero-carousel .gx-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
}

.gx-hero-carousel .gx-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Ken Burns keyframe — also in index.html <style> but defined here for carousel JS */
@keyframes heroKenBurns {
  from { transform: scale(1.14); }
  to   { transform: scale(1.02); }
}

/* Carousel images: explicit sizing + Ken Burns driven by JS inline style */
.gx-hero-carousel .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* Slide content fills the slide height */
.gx-hero-carousel .gx-slide-content {
  height: 100%;
}

/* Hide text overlay when show_overlay is off */
.gx-hero-carousel .gx-slide--no-overlay .gx-slide-content {
  display: none;
}

/* Dot navigation */
.gx-hero-dots {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.gx-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s, transform .3s;
}

.gx-hero-dot.active {
  background: #fff;
  transform: scale(1.25);
}

/* svh fallback for older browsers */
@supports not (height: 100svh) {
  .gx-hero-carousel { height: 100vh !important; }
  #home:not(.gx-hero-carousel) { height: 100vh !important; }
}