/* Core theme variables */
:root {
  --primary: #471396;
  --secondary: #7A1CAC;
  --third: #DDE6ED;
  --sixth: #471396;
  --accent: #2D5F9E;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-400: #9CA3AF;
  --blue-50: #eff6ff;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --nav-h: 80px;
  --font-body: 'DM Sans', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Space Grotesk', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  /* Transparent navbar — floats over hero; mobile menu uses its own bg */
  --nav-bg: rgba(240, 225, 255, 0.96);
  --nav-bg-scrolled: rgba(240, 225, 255, 0.99);
  --nav-fg: #471396;
  --nav-fg-hover: #07020f;
  --nav-border: rgba(122, 28, 172, 0.22);
  --nav-indicator-start: var(--secondary);
  --nav-indicator-end: #a855f7;
  --nav-overlay: rgba(220, 200, 255, 0.50);
}


/* Final: remove all interactive effects on mobile menu links */
@media (max-width: 767.98px) {
  #mobile-menu.open,
  #mobile-menu.active {
    align-items: center !important;
    background: var(--nav-bg) !important;
  }

  #mobile-menu.open > a,
  #mobile-menu.active > a {
    color: var(--sixth) !important;
    background: transparent !important;
    text-decoration: none !important;
    transition: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
    width: auto !important;
    text-align: center !important;
    -webkit-tap-highlight-color: transparent;
  }

  #mobile-menu.open > a:hover,
  #mobile-menu.open > a:focus,
  #mobile-menu.open > a:active,
  #mobile-menu.active > a:hover,
  #mobile-menu.active > a:focus,
  #mobile-menu.active > a:active {
    color: var(--sixth) !important;
    background: transparent !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
  }
}

/* Final mobile menu overrides: center links with primary color on nav background */
@media (max-width: 767.98px) {
  /* Center the stack and use nav background */
  .mobile-menu.open,
  .mobile-menu.active {
    align-items: center !important;
    background: var(--nav-bg) !important;
  }

  /* Make each link size to content and center text */
  .mobile-menu.open a,
  .mobile-menu.active a {
    width: auto !important;
    text-align: center !important;
    color: var(--sixth) !important;
  }

  /* Keep states consistent */
  .mobile-menu.open a:hover,
  .mobile-menu.open a:focus,
  .mobile-menu.open a:active,
  .mobile-menu.active a:hover,
  .mobile-menu.active a:focus,
  .mobile-menu.active a:active {
    color: var(--sixth) !important;
  }
}

/* Strong specificity overrides for mobile menu (uses #mobile-menu) */
@media (max-width: 767.98px) {
  #mobile-menu.open,
  #mobile-menu.active {
    align-items: center !important;
    background: var(--nav-bg) !important;
  }

  #mobile-menu.open > a,
  #mobile-menu.active > a {
    width: auto !important;
    text-align: center !important;
    color: var(--sixth) !important;
    background: transparent !important;
  }

  #mobile-menu.open > a:hover,
  #mobile-menu.open > a:focus,
  #mobile-menu.open > a:active,
  #mobile-menu.active > a:hover,
  #mobile-menu.active > a:focus,
  #mobile-menu.active > a:active {
    color: var(--sixth) !important;
  }
}

/* Robust mobile menu overlay sizing and scroll lock (final override) */
@media (max-width: 767.98px) {
  /* Lock background scroll defensively when menu is open */
  body.nav-open {
    overflow: hidden !important;
    overscroll-behavior: contain;
    touch-action: none;
  }

  /* Ensure full, stable viewport height using real-vh var with dvh fallback */
  .mobile-menu.open,
  .mobile-menu.active,
  #mobile-menu.open,
  #mobile-menu.active {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: calc(var(--real-vh, 1dvh) * 100) !important;
    min-height: calc(var(--real-vh, 1dvh) * 100) !important;
    box-sizing: border-box !important;
    padding-bottom: max(24px, env(safe-area-inset-bottom)) !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
}

/* Base reset and media */
* { 
  box-sizing: 
  border-box; 
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* Ensure vertical scrolling is always enabled on mobile */
  overflow-y: auto;
  height: auto;
  min-height: 100%;
  -webkit-overflow-scrolling: touch;
}
img, video { 
  max-width: 100%; 
  height: auto; 
  display: block; 
}
body { 
  background: #fff; 
  color: #000; 
  line-height: 1.5; 
  font-family: var(--font-body); 
}
h1, h2, h3, h4, h5, h6 { 
  font-family: var(--font-heading); 
}

/* Simple layout helpers (new semantic set) */
.wrap { 
  max-width: 80rem; 
  margin: 0 auto; 
  padding: 0 1rem; 
}
@media (min-width: 640px) { 
  .wrap { padding: 0 1.5rem; } 
}
@media (min-width: 1024px) { 
  .wrap { padding: 0 2rem; } 
}

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.2rem;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
}
.btn-primary:hover,
.btn-primary:focus-visible,
.btn-primary:active {
  background-color: var(--secondary);
}
.btn-ghost {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.2rem;
  text-align: center;
  text-decoration: none;
  color: rgba(243, 232, 255, 0.88);
  border: 2px solid rgba(122, 28, 172, 0.60);
  background: transparent;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.btn-ghost:hover,
.btn-ghost:focus-visible,
.btn-ghost:active {
  background: rgba(122, 28, 172, 0.22);
  border-color: var(--secondary);
  color: #ffffff;
}

/* Hero CTA buttons — smaller, equal size */
.btn-hero {
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  width: 13rem;
  box-sizing: border-box;
}
@media (max-width: 639px) {
  .btn-hero {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    width: 14rem;
  }
}
.btn-ghost.btn-hero {
  color: #000000;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  z-index: 50;
  border-bottom: none;
  transition: background 200ms ease, box-shadow 200ms ease;
  box-shadow: none;
}
.site-header.scrolled {
  background: linear-gradient(to right, rgba(52, 14, 90, 0.96) 0%, rgba(18, 5, 35, 0.96) 40%, rgba(5, 1, 12, 0.96) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(122, 28, 172, 0.38);
  box-shadow: 0 2px 32px rgba(71, 19, 150, 0.28);
}
/* When scrolled, flip nav text to light so it reads on the dark background */
.site-header.scrolled .nav-link {
  color: rgba(243, 232, 255, 0.80);
}
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link:focus-visible,
.site-header.scrolled .nav-link.active {
  color: #ffffff;
}
.site-header.scrolled .mobile-toggle {
  background: rgba(122, 28, 172, 0.18);
  border-color: rgba(122, 28, 172, 0.50);
  color: rgba(243, 232, 255, 0.88);
}
.site-header.scrolled .mobile-toggle .bar {
  background: rgba(243, 232, 255, 0.85);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0; /* compact by default; we’ll adjust on scroll */
}
.brand { 
  display: inline-flex; 
  align-items: center; 
  text-decoration: none; 
}
.logo {
  display: block;
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  transition: transform 200ms ease;
}
.site-header.scrolled .logo { 
  transform: none; 
}
.nav-links {
  display: none;
  gap: 1.25rem;
  align-items: center;
  position: relative;
}
.nav-link {
  position: relative;
  color: var(--nav-fg);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: .2px;
  padding: 0.5rem 0.25rem;
  transition: color 150ms ease;
}
.nav-link:hover,
.nav-link:focus-visible { 
  color: var(--nav-fg-hover); 
}
.nav-link.active { 
  color: var(--nav-fg-hover); 
}
.nav-indicator {
  position: absolute;
  bottom: -6px;
  left: 0;
  height: 2px;
  width: var(--indicator-w, 0px);
  transform: translateX(var(--indicator-x, 0px));
  background: linear-gradient(90deg, var(--nav-indicator-start), var(--nav-indicator-end));
  border-radius: 9999px;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), width 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease;
  opacity: 0.7;
}
.mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--nav-border);
  background: rgba(122, 28, 172, 0.10);
  color: #471396;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}
.mobile-toggle:hover {
  background: rgba(122, 28, 172, 0.18);
  border-color: rgba(122, 28, 172, 0.40);
}
.mobile-toggle:active {
  transform: scale(0.98);
}
.mobile-toggle i {
  font-size: 20px;
  line-height: 1;
}
.mobile-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #471396;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.mobile-toggle .bar + .bar {
  margin-top: 5px;
}

@media (min-width: 768px) { .nav-links { display: flex; } .mobile-toggle { display: none; } }

/* Mobile dropdown (compact, right-aligned) */
.mobile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 150ms ease, transform 150ms ease;
  visibility: hidden; /* prevent any flash when not open */
}
.mobile-menu,
#mobile-menu {
  box-sizing: border-box;
  max-width: 100vw;
  overflow-x: hidden;
}
.mobile-menu.open { 
  pointer-events: auto; 
  opacity: 1; 
  transform: translateY(0); 
  visibility: visible;
}
/* Ensure no flash under header while closing */
.mobile-menu.closing {
  pointer-events: none !important;
  opacity: 0 !important;
  transform: translateY(-8px) !important;
  visibility: hidden !important;
}

/* Mobile: Follow us block inside mobile drawer */
@media (max-width: 767.98px) {
  #mobile-menu .mobile-follow {
    margin-top: 5rem;
    padding: 1.5rem;
    border-top: 1px solid var(--nav-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: var(--nav-bg);
    overflow: hidden;
  }
  #mobile-menu .mobile-follow__title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    font-weight: 600;
    color: var(--nav-fg);
    opacity: .85;
  }
  #mobile-menu .mobile-follow__icons {
    display: flex;
    gap: 1.5rem; /* more space between icons */
  }

  #mobile-menu .mobile-follow__icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px !important;
    height: 45px !important;
    border-radius: 9999px !important;
    color: #471396 !important;
    background: rgba(122, 28, 172, 0.10) !important;
    border: 1px solid rgba(122, 28, 172, 0.28) !important;
    text-decoration: none;
    box-shadow: none;
    transition: color 150ms ease, transform 150ms ease, background-color 150ms ease;
    -webkit-tap-highlight-color: transparent;
  }
  #mobile-menu .mobile-follow__icons a:hover,
  #mobile-menu .mobile-follow__icons a:focus-visible,
  #mobile-menu .mobile-follow__icons a:active {
    color: #07020f !important;
    background: rgba(122, 28, 172, 0.22) !important;
    transform: none;
    box-shadow: none;
  }
  #mobile-menu .mobile-follow__icons i { 
    font-size: 28px; 
    line-height: 1; 
  }
}

/* Mobile menu: prevent X/Y overflow on small screens */
@media (max-width: 767.98px) {
  .mobile-menu,
  #mobile-menu {
    width: 100vw;
    max-width: 100vw;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-left: 20px;
    padding-right: 20px;
  }
  .mobile-menu a,
  #mobile-menu > a {
    max-width: 100%;
    word-break: break-word;
    white-space: normal;
    font-weight: 700;
  }
}
.mobile-menu__backdrop { 
  display: none; 
}
.mobile-menu__panel {
  position: relative;
  width: max-content;
  min-width: 220px;
  max-width: 90vw;
  background: #fff;
  border: 1px solid var(--nav-border);
  border-radius: 0.75rem;
  padding: 0.5rem;
  box-shadow: 0 12px 24px rgba(0,0,0,0.10);
  display: flex; flex-direction: column; gap: .25rem;
}
.mobile-menu__panel a {
  display: block;
  padding: 0.625rem 0.75rem;
  color: var(--nav-fg);
  text-decoration: none;
  font-weight: 600;
  border-radius: 0.5rem;
}
.mobile-menu__panel a:hover { 
  background: #eef2f7; 
  color: var(--nav-fg-hover); 
}

/* Sections */
.section {
  padding: 3rem 0;
  margin: 4rem 0;
}
@media (max-width: 639px) {
  .section {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
  }
}
/* Ensure anchored sections account for fixed header height */
.scroll-offset {
  scroll-margin-top: var(--nav-h);
}
.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 1rem;
  text-align: center;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-700);
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 639px) {
  .section {
    padding: 3rem 0;
  }
  .section-title {
    font-size: 2rem;
    padding-top: 1.25rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  /* Services overrides margin-top: 0 globally — restore on mobile */
  .services {
    margin-top: 2.5rem;
  }
  /* why-us and contact don't use .section — apply same top margin */
  .why-us,
  .contact {
    margin-top: 2.5rem;
  }
}

/* Hero */
.hero {
  padding-top: var(--nav-h);
  position: relative;
  background: conic-gradient(
    from 60deg at 50% 35%,
    #cfeefc,
    #fccddd,
    #fae9b4,
    #d5f7d8,
    #d2eefa);
  min-height: calc(var(--real-vh, 1dvh) * 100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

/* Animated gradient mesh — hidden on light pastel hero background */
.hero-bg-mesh {
  display: none;
}
@keyframes heroMeshPulse {
  0%   { opacity: 0.75; transform: scale(1);    }
  100% { opacity: 1;    transform: scale(1.08); }
}

/* Glowing orbs — hidden on light pastel hero background */
.hero-orb {
  display: none;
}
.hero-orb--1 {
  display: none;
}
.hero-orb--2 {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-mesh       { animation: none; }
  .hero-orb--1,
  .hero-orb--2        { animation: none; }
}

/* Hero content */
.hero-inner {
  padding: 4rem 0 7rem;
  position: relative;
  z-index: 1;
  width: 100%;
}
@media (max-width: 639px) {
  .hero-inner {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
.hero-content {
  max-width: 56rem;
  margin: 0 auto;
}

/* Headline */
.hero-headline {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1.25;
  font-weight: 700;
  margin: 0;
  display: block;
  background: linear-gradient(100deg, #471396 0%, #7A1CAC 60%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.3px;
  filter: none;
}
.hero-headline-main {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  color: #07020f;
  -webkit-text-fill-color: #07020f;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  filter: none;
  letter-spacing: normal;
  margin-top: 0.35rem;
}
@media (max-width: 639px) {
  .hero-headline-main {
    text-align: center;
    margin-top: 0.65rem;
  }
}
@media (min-width: 640px) {
  .hero-headline      { font-size: 2.25rem; }
  .hero-headline-main { font-size: 3rem;    }
}
@media (min-width: 1024px) {
  .hero-headline      { font-size: 2.5rem;  }
  .hero-headline-main { font-size: 3.5rem; }
}

/* Subheadline */
.hero-sub {
  margin: 1.5rem auto 0;
  font-size: 1.15rem;
  color: #374151;
  line-height: 1.75;
  max-width: 42rem;
}
@media (max-width: 639px) {
  .hero-sub {
    margin-left: 0;
    margin-top: 1.1rem;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* Service pill badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 2.25rem auto 0;
  max-width: 36rem;
}
@media (max-width: 639px) {
  .hero-badges {
    justify-content: center;
    max-width: 100%;
    margin-top: 1.4rem;
    gap: 0.5rem;
  }
}
.hero-badge {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(122, 28, 172, 0.40);
  color: #471396;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
@media (max-width: 639px) {
  .hero-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.6rem;
  }
}

/* CTA row */
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}
@media (max-width: 639px) {
  .hero-ctas { margin-top: 1.75rem; }
}
@media (min-width: 480px) {
  .hero-ctas { flex-direction: row; }
}

/* Services */
.services {
  margin-top: 0;
}
.services {
  background: #e3f6f2;
}
.services .section-title {
  color: #000000;
}
.services .section-subtitle {
  color: var(--gray-700);
}
.cards-3 {
  display: grid; 
  gap: 2rem; 
  grid-template-columns: 1fr; 
}

@media (min-width: 640px)  { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.service-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 2rem;
  transition: translate 600ms ease, box-shadow 600ms ease;
}
.service-card:hover {
  translate: 0 -3px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}
.icon-box {
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card .icon-box {
  background: var(--primary);
}
.icon-box i {
  font-size: 2rem;
  color: var(--primary);
}
.service-card .icon-box i {
  color: #fff;
}
.service-card h3 { 
  font-size: 1.3rem; 
  font-weight: 700; 
  color: #0b0b0b; 
  margin: 0 0 0.75rem; 
  letter-spacing: .2px;
}
.service-card p { 
  color: #111827; 
  margin: 0 0 1rem; 
  line-height: 1.7;
}
.service-card ul { 
  color: black; 
  padding-left: 0; 
  margin: 0; 
  list-style: none; 
  display: grid; 
  gap: .5rem; 
}
.service-card li { 
  list-style: none; 
  color: var(--gray-600);
  margin: 0; 
  padding: .5rem .75rem; 
  background: #f8f8f8; 
  border: none; 
  border-radius: 10px; 
}

/* Services reveal animations */
@media (prefers-reduced-motion: no-preference) {
  .services .service-card {
    opacity: 0;
    transform: translateY(24px);
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), opacity 600ms ease;
    will-change: transform, opacity;
  }
  .services .service-card:nth-child(1) { transform: translateX(-48px); }
  .services .service-card:nth-child(2) { transform: translateY(48px); }
  .services .service-card:nth-child(3) { transform: translateX(48px); }
  .services .service-card:nth-child(4) { transform: translateY(-48px); }
  .services .service-card:nth-child(5) { transform: translateX(-48px); }
  .services .service-card:nth-child(6) { transform: translateY(48px); }

  /* Staggered delays for a cascading entrance */
  .services.in-view .service-card { opacity: 1; transform: none; }
  .services.in-view .service-card:nth-child(1) { transition-delay: 0ms; }
  .services.in-view .service-card:nth-child(2) { transition-delay: 80ms; }
  .services.in-view .service-card:nth-child(3) { transition-delay: 160ms; }
  .services.in-view .service-card:nth-child(4) { transition-delay: 240ms; }
  .services.in-view .service-card:nth-child(5) { transition-delay: 320ms; }
  .services.in-view .service-card:nth-child(6) { transition-delay: 400ms; }
}


/* ── Products Section ─────────────────────────────────────────────── */
.products-section {
  background: #fff;
  padding-top: 0;
  position: relative;
}
.products-wave {
  line-height: 0;
  height: 56px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.products-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}
@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* ── Featured product card ── */
.product-card--featured {
  background: rgba(147, 51, 234, 0.08);
  border: 1px solid rgba(147, 51, 234, 0.15);
  border-radius: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card-inner {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem 1rem 0 0;
}
.products-grid .product-card:nth-child(2) .product-cover,
.products-grid .product-card:nth-child(3) .product-cover {
  aspect-ratio: 1344 / 599;
  object-fit: cover;
  object-position: top;
}
.product-card-header {
  margin-bottom: 1.5rem;
}

/* Live badge */
.product-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 9999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #22c55e;
  letter-spacing: 0.3px;
  margin-bottom: 1.25rem;
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  position: relative;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.50);
  will-change: opacity;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 0;   }
}

.product-name-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin-bottom: 0.35rem;
}
.product-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 0;
  line-height: 1.1;
}
.product-origin {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-weight: 400;
}
.product-tagline {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.1px;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin: 0 0 1.75rem;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.65rem;
}
.product-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.product-features li i {
  color: var(--primary);
  font-size: 0.9rem;
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  align-self: flex-start;
}
.product-cta i {
  font-size: 0.8rem;
}
.btn-ghost.product-cta {
  color: #000000;
}

.product-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}
.product-cta-group .product-cta {
  margin-top: 0;
  width: 100%;
  justify-content: center;
}

.product-badge-client {
  display: inline-flex;
  align-items: center;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 9999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #60a5fa;
  letter-spacing: 0.3px;
  margin-bottom: 1.25rem;
}


/* Vision Section*/

/* background image */
.why-us { 
  background-image: url('../images/AI-book.png'); 
  background-size: cover; 
  background-position: center 30%; }

.backdrop-blur-lg {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.why-us {
  position: relative;
  background-size: cover;
  background-position: center 30%;
  padding: 6rem 0;
  color: #fff;
}
@media (max-width: 639px) {
  .why-us {
    padding: 3rem 0;
  }
}
.why-us .overlay { 
  position: absolute; 
  inset: 0; 
  background: rgba(0,0,0,0.60); 
}
.why-us .content { 
  position: relative; 
  z-index: 1; 
  text-align: center; 
}
.reasons-grid { 
  display: grid; 
  gap: 1.5rem; 
  grid-template-columns: 1fr; 
  max-width: 64rem; 
  margin: 0 auto; 
  text-align: left; 
}
@media (min-width: 640px) { .reasons-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .reasons-grid { grid-template-columns: repeat(3, 1fr); } }

.reason-card {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 1rem;
  transition: background-color 150ms;
}
.reason-card:hover { 
  background: rgba(255,255,255,0.2); 
}
.reason-card .icon-box {
  margin: 0 auto 1rem;
  display: flex;
  justify-content: center;
}
.why-us .icon-box i {
  color: white;
  font-size: 2.5rem;
}
.reason-card h3 { 
  font-size: 1.25rem; 
  font-weight: 600; 
  color: #22c55e; 
  margin: 0 0 0.5rem; 
}
.reason-card p { 
  color: #f3f4f6; 
  font-size: 0.875rem; 
  margin: 0; 
}


/* Pricing */
.pricing {
  background: #fff;
}
@media (max-width: 639px) {
  .pricing {
    padding-top: 0;
  }
}

.pricing .pricing-intro {
  margin-bottom: 3.5rem;
}

.pricing-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: start;
}
@media (min-width: 768px) {
  .pricing-tiers {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 1.5rem;
  }
}

.pricing-tier {
  background: #fff;
  border: 1.5px solid #e9e1f8;
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: border-color 0.25s, transform 0.25s;
}
.pricing-tier:hover {
  border-color: rgba(139, 92, 246, 0.45);
  transform: translateY(-4px);
}

.pricing-tier--featured {
  background: #0d0520;
  border: none;
  box-shadow: none;
  transform: translateY(-10px) scale(1.02);
}
.pricing-tier--featured:hover {
  transform: translateY(-14px) scale(1.02);
  box-shadow: none;
}
@media (max-width: 767px) {
  .pricing-tier--featured {
    transform: none;
  }
  .pricing-tier--featured:hover {
    transform: translateY(-4px);
  }
}

.pricing-tier-badge {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f59e0b, #f97316);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.28rem 1.1rem;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.pricing-tier-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.pricing-tier--featured .pricing-tier-icon {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.pricing-tier-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 0.35rem;
}
.pricing-tier--featured .pricing-tier-name {
  color: #fff;
}

.pricing-tier-price {
  margin: 1.25rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid #e9e1f8;
  border-bottom: 1px solid #e9e1f8;
}
.pricing-tier--featured .pricing-tier-price {
  border-color: rgba(255, 255, 255, 0.25);
}

.pricing-tier-from {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 0.3rem;
}
.pricing-tier--featured .pricing-tier-from {
  color: rgba(255, 255, 255, 0.65);
}

.pricing-tier-amount {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}
.pricing-tier--featured .pricing-tier-amount {
  color: #fff;
}

.pricing-tier-retainer {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 0.4rem;
}
.pricing-tier--featured .pricing-tier-retainer {
  color: rgba(255, 255, 255, 0.5);
}

.pricing-tier-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.pricing-tier--featured .pricing-tier-desc {
  color: rgba(255, 255, 255, 0.75);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.65rem;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.875rem;
}
.pricing-features li.included {
  color: var(--gray-700);
}
.pricing-tier--featured .pricing-features li.included {
  color: rgba(255, 255, 255, 0.92);
}
.pricing-features li.excluded {
  color: var(--gray-400);
}
.pricing-tier--featured .pricing-features li.excluded {
  color: rgba(255, 255, 255, 0.2);
}
.pricing-features li i {
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.pricing-features li.included i {
  color: var(--primary);
}
.pricing-tier--featured .pricing-features li.included i {
  color: #c4b5fd;
}
.pricing-features li.excluded i {
  color: #d1d5db;
}

.pricing-tier-cta {
  display: block;
  text-align: center;
  margin-top: auto;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.2s;
  text-decoration: none;
}
.pricing-tier:not(.pricing-tier--featured) .pricing-tier-cta {
  background: transparent;
  border: 1.5px solid rgba(139, 92, 246, 0.4);
  color: var(--primary);
  box-shadow: none;
}
.pricing-tier:not(.pricing-tier--featured) .pricing-tier-cta:hover,
.pricing-tier:not(.pricing-tier--featured) .pricing-tier-cta:focus-visible {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pricing-tier--featured .pricing-tier-cta {
  background: #fff;
  color: #5b21b6;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.pricing-tier--featured .pricing-tier-cta:hover,
.pricing-tier--featured .pricing-tier-cta:focus-visible {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: none;
}

.pricing-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.65rem;
  margin: 2.5rem auto 0;
  font-size: 0.875rem;
  color: var(--gray-600);
  text-align: center;
  max-width: 44rem;
  line-height: 1.6;
  background: rgba(139, 92, 246, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}
.pricing-note i {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: large;
}

/* Contact */
.contact {
  position: relative;
  background: none;
  padding: 2rem 0;
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 5rem;
    align-items: center;
  }
  .contact-grid .contact-info {
    order: 2;
  }
  .contact-grid .contact-form-card {
    order: 1;
  }
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}
.form-row { 
  display: grid; 
  gap: 1rem; 
  grid-template-columns: 1fr; 
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-field { 
  position: relative; 
}
.input { 
  width: 100%; 
  padding: 1rem 1rem 1rem 2.75rem; 
  border: 1px solid #e5e7eb; 
  border-radius: 0.75rem; 
  font-size: 1rem; 
  outline: none; 
  background: #fff; 
  transition: border-color 150ms, box-shadow 150ms; 
}
.input:focus {
  border-color: var(--primary);
  box-shadow: none;
  outline: none;
}
.textarea { 
  resize: vertical; 
  min-height: 8rem; 
}
.input-icon { 
  position: absolute; 
  left: 0.9rem; 
  top: 50%; 
  transform: translateY(-50%); 
  font-size: 1.1rem; 
  color: var(--primary); 
}

/* Hide icon and placeholder label when user has typed */
.form-field.has-value .input-icon { 
  opacity: 0; 
  transition: opacity 120ms ease; 
}
.form-field.has-value .floating-label { 
  opacity: 0; 
  transition: opacity 120ms ease; 
}

/* Also hide while the field is focused */
.form-field:focus-within .input-icon { 
  opacity: 0; 
  transition: opacity 120ms ease; 
}
.form-field:focus-within .floating-label { 
  opacity: 0; 
  transition: opacity 120ms ease; 
}

/* Floating label */
.floating-label { 
  position: absolute; 
  left: 2.75rem; 
  top: 50%; 
  transform: translateY(-50%); 
  color: var(--gray-600); 
  pointer-events: none; 
  transition: all 150ms; 
  background: transparent; 
}
.input:focus + .floating-label,
.input:not(:placeholder-shown) + .floating-label,
.textarea:focus + .floating-label,
.textarea:not(:placeholder-shown) + .floating-label { 
  top: 0.15rem; 
  transform: translateY(0); 
  font-size: 0.75rem; 
  color: var(--secondary); 
  padding: 0 0.25rem; 
  background: #fff; 
}

.form-actions { 
  margin-top: .5rem; 
}
.w-full { width: 100%;
  
  font-size: 1.2rem;
} 

.form-hint { 
  margin-top: .5rem; 
  font-size: .875rem; 
  color: var(--gray-600); 
  min-height: 1.25rem; 
}
.form-hint.error { 
  color: #ef4444; 
}
.form-hint.success { 
  color: var(--green-600); 
}

/* Input validation states */
.input.invalid { 
  border-color: #ef4444; 
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12); 
}
.input.valid { 
  border-color: var(--green-600); 
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12); 
}

/* ── Left info column ── */
.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 0 0 1rem;
  line-height: 1.2;
}
@media (max-width: 639px) {
  .contact-heading {
    font-size: 2rem;
  }
}

.contact-intro-text {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin: 0 0 2rem;
}
@media (max-width: 639px) {
  .contact-intro-text {
    font-size: 1rem;
  }
}

/* Icon buttons */
.contact-icons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.contact-icon-btn {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(147, 51, 234, 0.08);
  border: 1px solid rgba(147, 51, 234, 0.15);
  border-radius: 0.625rem;
  color: var(--primary);
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.contact-icon-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.contact-icon-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-900);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: 0.4rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 150ms ease;
  z-index: 10;
}
.contact-icon-btn::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--gray-900);
  pointer-events: none;
  opacity: 0;
  transition: opacity 150ms ease;
  z-index: 10;
}
.contact-icon-btn:hover::after,
.contact-icon-btn:hover::before {
  opacity: 1;
}

.contact-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0 0 1.75rem;
}

/* Business hours */
.contact-hours {
  margin-bottom: 1.75rem;
}
.contact-hours-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-hours-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 0.45rem;
}
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot--green { background: #22c55e; }
.status-dot--red   { background: #ef4444; }

/* Response badge */
.contact-response-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  color: var(--green-600);
  font-weight: 500;
}

/* ── Form card (right column) ── */
.contact-form-card {
  background: rgba(147, 51, 234, 0.08);
  border: 1px solid rgba(147, 51, 234, 0.15);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(71, 19, 150, 0.07);
}
.contact-form-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 1rem;
}
.contact-form-card .input {
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
}
@media (max-width: 639px) {
  .form-submit-btn {
    width: 100%;
    justify-content: center;
  }
}
.contact-form-card .select-input {
  padding-right: 2.5rem;
}
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.3rem;
}

/* Phone input combo */
.phone-input {
  display: flex;
}
.phone-code {
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
  border-right: none;
  border-radius: 0.75rem 0 0 0.75rem;
  padding: 0.85rem 0.75rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: #f9fafb;
  color: var(--gray-700);
  cursor: pointer;
  outline: none;
  transition: border-color 150ms;
}
.phone-code:focus {
  border-color: var(--secondary);
}
.phone-input .phone-number {
  border-radius: 0 0.75rem 0.75rem 0;
  flex: 1;
}

/* Select */
.select-input {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

/* Submit row */
.form-submit-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.25rem;
}
.form-privacy {
  font-size: 0.82rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.form-privacy i {
  color: var(--primary);
  font-size: 0.75rem;
}
.form-submit-btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
}

/* Mobile nav: centered primary links on nav background */
@media (max-width: 767.98px) {
  /* Ensure the mobile menu uses the nav background */
  .mobile-menu.open,
  .mobile-menu.active {
    background: var(--nav-bg) !important;
  }

  /* Center each link, use primary text, and nav background */
  .mobile-menu.open a,
  .mobile-menu.active a {
    text-align: center !important;
    width: 100% !important;
    color: var(--sixth) !important;
    background: var(--nav-bg) !important;
  }

  /* Keep interactive states consistent */
  .mobile-menu.open a:hover,
  .mobile-menu.open a:focus,
  .mobile-menu.open a:active,
  .mobile-menu.active a:hover,
  .mobile-menu.active a:focus,
  .mobile-menu.active a:active {
    color: var(--sixth) !important;
    background: var(--nav-bg) !important;
  }
}
.info-intro h3 { 
  font-size: 1.5rem; 
  font-weight: 700; 
  margin: 0 0 .25rem; 
  color: #111827; 
}
.info-intro p { 
  margin: 0; 
  color: var(--gray-700); 
}

.info-list { 
  display: grid; 
  gap: 0.9rem; 
}
.info-item { 
  display: grid; 
  grid-template-columns: auto 1fr; 
  gap: 1rem; align-items: start; 
  padding: 1rem; 
  background: #fff; 
  border: 1px solid #e5e7eb; 
  border-radius: 0.75rem; 
}
.info-badge { 
  width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; 
  display: grid; place-items: center; color: #fff; 
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}
.info-item h4 { 
  margin: 0 0 0.15rem; 
  font-size: 1rem; 
  line-height: 1.3; 
  color: var(--gray-900); 
}
.info-item p { 
  margin: 0; 
  line-height: 1.4; 
}
.info-item a { 
  color: inherit; 
  text-decoration: none; 
}
.info-item a:hover { 
  color: var(--secondary); 
  text-decoration: underline; 
}

.socials-block h4 { 
  margin: .25rem 0 .5rem; 
}
.socials { 
  display: flex; 
  gap: 1rem; 
}
.socials.modern a { 
  width: 2.75rem; 
  height: 2.75rem; 
  border-radius: 0.75rem; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  background: #f3f4f6; 
  color: #000; 
  text-decoration: none; 
  border: 1px solid #e5e7eb; 
  transition: transform 150ms, background-color 150ms, color 150ms; 
}
.socials.modern a:hover { 
  background: var(--secondary); 
  color: #fff; 
  transform: translateY(-2px); 
}

/* Footer */
.site-footer { 
  background: #111827; 
  color: #fff; 
  padding: 0 0 3rem; 
  position: relative;
  overflow: hidden;
}
/* Wave separator at top of footer */
.footer-wave { line-height: 0; height: 110px; color: #111827; }
.footer-wave svg { display: block; width: 100%; height: 100%; }
@media (min-width: 768px) { .footer-wave { height: 150px; } }
/* Accessibility utility for hidden headings */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Ambient animated accents using theme colors */
@media (prefers-reduced-motion: no-preference) {
  .site-footer::before,
  .site-footer::after {
    content: "";
    position: absolute;
    width: 28rem; height: 28rem;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    pointer-events: none;
    transform: translate3d(0,0,0);
  }
  .site-footer::before {
    background: radial-gradient(closest-side, var(--secondary), transparent 70%);
    left: -6rem; bottom: -10rem;
    animation: orbFloat 14s ease-in-out infinite;
  }
  .site-footer::after {
    background: radial-gradient(closest-side, var(--primary), transparent 70%);
    right: -8rem; top: -12rem;
    animation: orbFloatAlt 18s ease-in-out infinite;
  }
  @keyframes orbFloat { 0%, 100% { transform: translate(0, 0) scale(1); }  50% { transform: translate(40px, -30px) scale(1.05); } }
  @keyframes orbFloatAlt { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30px, 40px) scale(1.07); } }
}
.footer-grid { 
  display: grid; 
  gap: 2rem; 
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; justify-items: stretch; column-gap: 1.5rem; } }

/* Make all footer columns equal width */
.footer-grid .span-2 { grid-column: auto; }
@media (min-width: 1024px) {
  /* Desktop: 5 columns; Versolix spans 2, Follow us sits below Versolix */
  .footer-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 2.5rem; row-gap: 2rem; }
  .footer-grid .span-2 { grid-column: span 2; }
  .footer-grid .follow-col { grid-column: 1 / span 2; grid-row: 2; }
}
.site-footer h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
@media (min-width: 1024px) {
  .footer-grid .span-2 h3 {
    font-size: 4.5rem;
    line-height: 1;
    margin: 0 0 1.25rem;
  }
}
.site-footer h4 { 
  font-size: 1.25rem; 
  font-weight: 600; 
  margin: 0 0 1rem; 
}
.site-footer p { 
  color: var(--gray-400); 
}
.site-footer a { 
  color: var(--gray-400); 
  text-decoration: none; 
  transition: color 150ms, background-size 200ms ease;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
}
.site-footer a:hover { 
  color: white; 
  background-size: 100% 2px;
}

.site-footer .socials {
  font-size: x-large;
}
.site-footer .socials.modern {
  font-size: 1rem;
}
.site-footer .socials.modern a {
  background: #f3f4f6;
  color: #000;
  border-color: #e5e7eb;
}
.site-footer .socials.modern a:hover {
  background: var(--primary);
  color: #fff;
  border: none;
  transform: translateY(-3px) scale(1.03) rotate(-1deg);
}
.site-footer .links { 
  color: var(--gray-400); 
  list-style: none; 
  padding-left: 0; 
  margin: 0; 
}
.site-footer .links li { 
  margin: 0.5rem 0; 
}
.site-footer .links a.nav-link { padding: 0; }
.site-footer .bottom { 
  border-top: 1px solid #1f2937; 
  margin-top: 3rem; 
  padding-top: 2rem; 
  color: var(--gray-400); 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 1rem; 
  flex-wrap: wrap;
}

/* Footer reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .footer-grid > div { opacity: 0; transform: translateY(24px); transition: transform 600ms cubic-bezier(0.22,1,0.36,1), opacity 600ms ease; will-change: transform, opacity; }
  .site-footer.in-view .footer-grid > div { opacity: 1; transform: none; }
  .site-footer.in-view .footer-grid > div:nth-child(1) { transition-delay: 0ms; }
  .site-footer.in-view .footer-grid > div:nth-child(2) { transition-delay: 80ms; }
  .site-footer.in-view .footer-grid > div:nth-child(3) { transition-delay: 160ms; }
  .site-footer.in-view .footer-grid > div:nth-child(4) { transition-delay: 240ms; }
  .site-footer.in-view .footer-grid > div:nth-child(5) { transition-delay: 320ms; }
}

/* Back-to-top button */
.footer-actions { 
  margin-top: 0; 
  margin-left: auto; 
  display: flex; 
  justify-content: flex-end; 
}
.to-top { 
  display: inline-grid; 
  place-items: center;
  width: 2.75rem; 
  height: 2.75rem;
  background: #fff;
  color: black;
  font-size: 1.1rem; 
  line-height: 1; 
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 150ms, color 150ms, border-color 150ms, transform 150ms;
}

.to-top i { color: #000; font-size: 1.25rem; line-height: 1; }
.to-top:hover i { color: #fff; }

.to-top:hover { 
  background: var(--primary); 
  color: white;
  border-color: var(--primary); 
  transform: translateY(-2px); 
}

/* Modal (generic) */
.modal { position: fixed; inset: 0; display: none; z-index: 1000; }
.modal.open { display: block; }
.modal[aria-hidden="false"] { display: block; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.modal-dialog { 
  position: relative; 
  max-width: 56rem; 
  margin: 4rem auto; 
  background: #fff; 
  color: #000; 
  border-radius: 1rem; 
  border: 1px solid #e5e7eb; 
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  padding: 1rem 1rem 1.5rem; 
}
@media (min-width: 640px) { .modal-dialog { padding: 1.25rem 1.5rem 2rem; margin: 6rem auto; } }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #e5e7eb; padding-bottom: .75rem; }
.modal-header h3 { margin: 0; font-size: 1.5rem; font-weight: 700; color: #111827; }
.modal-close { background: #f3f4f6; border: 1px solid #e5e7eb; color: #111827; width: 2.25rem; height: 2.25rem; border-radius: .5rem; display: grid; place-items: center; cursor: pointer; }
.modal-close:hover { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.modal-body { max-height: min(70vh, 32rem); overflow: auto; padding-top: 1rem; }
.modal-body h4 { margin: 1rem 0 .25rem; font-size: 1.125rem; font-weight: 700; color: #111827; }
.modal-body p { margin: 0 0 .75rem; color: #111827; }
.modal-body ul { margin: 0 0 .75rem 1rem; color: #111827; }


/* === Mobile Nav Override: Force Full-Screen Overlay (<= 767px) === */
@media (max-width: 767.98px) {
  .nav-menu.open,
  .nav-menu.active,
  .navbar-nav.open,
  .navbar-nav.active,
  .mobile-menu.open,
  .mobile-menu.active,
  nav.open .nav-menu,
  nav.active .nav-menu,
  header.nav-open .nav-menu,
  .header.nav-open .nav-menu,
  body.menu-open .nav-menu,
  body.nav-open .nav-menu {
    position: fixed !important;
    inset: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    background: #07020f !important;
    box-shadow: none !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    padding: 56px 20px 24px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
}
/* === Mobile Nav: Right-align items (full-screen) (<= 767px) === */
@media (max-width: 767.98px) {
  .nav-menu.open,
  .nav-menu.active,
  .navbar-nav.open,
  .navbar-nav.active,
  .mobile-menu.open,
  .mobile-menu.active,
  nav.open .nav-menu,
  nav.active .nav-menu,
  header.nav-open .nav-menu,
  .header.nav-open .nav-menu,
  body.menu-open .nav-menu,
  body.nav-open .nav-menu {
    align-items: flex-end !important;   /* right side for column layout */
    justify-content: flex-start !important; /* start from top */
    padding: 56px 20px 24px !important;    /* keep top-right padding */
  }

  /* Make links align to the right edge */
  .nav-menu.open a,
  .nav-menu.active a,
  .navbar-nav.open a,
  .navbar-nav.active a,
  .mobile-menu.open a,
  .mobile-menu.active a,
  nav.open .nav-menu a,
  nav.active .nav-menu a,
  header.nav-open .nav-menu a,
  .header.nav-open .nav-menu a,
  body.menu-open .nav-menu a,
  body.nav-open .nav-menu a {
    text-align: center !important;
    width: 100%;
  }
}
/* === Mobile Nav: Pin close (×) to top-right === */
@media (max-width: 767.98px) {
  .nav-menu .nav-close,
  .mobile-menu .nav-close,
  .navbar-nav .nav-close {
    position: fixed !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 10000 !important; /* above overlay */
    pointer-events: auto !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: rgba(122, 28, 172, 0.30) !important;
    color: rgba(243, 232, 255, 0.90) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15) !important;
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease !important;
    -webkit-backdrop-filter: saturate(140%) blur(2px);
    backdrop-filter: saturate(140%) blur(2px);
  }

  /* Subtle entrance animation when menu opens */
  .nav-menu.open .nav-close,
  .nav-menu.active .nav-close,
  .mobile-menu.open .nav-close,
  .mobile-menu.active .nav-close,
  .navbar-nav.open .nav-close,
  .navbar-nav.active .nav-close,
  nav.open .nav-menu .nav-close,
  nav.active .nav-menu .nav-close,
  header.nav-open .nav-menu .nav-close,
  .header.nav-open .nav-menu .nav-close,
  body.menu-open .nav-menu .nav-close,
  body.nav-open .nav-menu .nav-close {
    animation: navClosePopIn 240ms cubic-bezier(.2,.8,.2,1) both;
  }

  .nav-menu.open .nav-close,
  .nav-menu.active .nav-close,
  .mobile-menu.open .nav-close,
  .mobile-menu.active .nav-close,
  .navbar-nav.open .nav-close,
  .navbar-nav.active .nav-close,
  nav.open .nav-menu .nav-close,
  nav.active .nav-menu .nav-close,
  header.nav-open .nav-menu .nav-close,
  .header.nav-open .nav-menu .nav-close,
  body.menu-open .nav-menu .nav-close,
  body.nav-open .nav-menu .nav-close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Hover/active effects for a stylish feel */
  .nav-menu .nav-close:hover,
  .mobile-menu .nav-close:hover,
  .navbar-nav .nav-close:hover {
    transform: scale(1.07) rotate(90deg);
    background: rgba(122, 28, 172, 0.55) !important;
    box-shadow: 0 10px 24px rgba(71, 19, 150, 0.35) !important;
  }

  .nav-menu .nav-close:active,
  .mobile-menu .nav-close:active,
  .navbar-nav .nav-close:active {
    transform: scale(0.97) rotate(90deg);
  }

  /* Focus ring for accessibility */
  .nav-menu .nav-close:focus-visible,
  .mobile-menu .nav-close:focus-visible,
  .navbar-nav .nav-close:focus-visible {
    outline: 2px solid rgba(192, 132, 252, 0.80) !important;
    outline-offset: 2px !important;
  }

  /* Optional subtle ripple/highlight */
  .nav-menu .nav-close::after,
  .mobile-menu .nav-close::after,
  .navbar-nav .nav-close::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: radial-gradient(closest-side, rgba(0,0,0,0.06), transparent 70%);
    transform: scale(0.8);
    opacity: 0;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .nav-menu .nav-close:hover::after,
  .mobile-menu .nav-close:hover::after,
  .navbar-nav .nav-close:hover::after {
    transform: scale(1);
    opacity: 1;
  }

  @keyframes navClosePopIn {
    from { opacity: 0; transform: translateY(-10px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  /* Respect reduced motion preferences */
  @media (prefers-reduced-motion: reduce) {
    .nav-menu .nav-close,
    .mobile-menu .nav-close,
    .navbar-nav .nav-close { transition: none !important; }
    .nav-menu .nav-close:hover,
    .mobile-menu .nav-close:hover,
    .navbar-nav .nav-close:hover { transform: none !important; }
    .nav-menu.open .nav-close,
    .nav-menu.active .nav-close,
    .mobile-menu.open .nav-close,
    .mobile-menu.active .nav-close,
    .navbar-nav.open .nav-close,
    .navbar-nav.active .nav-close { animation: none !important; }
  }
}
/* === Mobile Nav: Remove text underline on links === */
@media (max-width: 575.98px) {
  .nav-menu.open a,
  .nav-menu.active a,
  .navbar-nav.open a,
  .navbar-nav.active a,
  .mobile-menu.open a,
  .mobile-menu.active a,
  nav.open .nav-menu a,
  nav.active .nav-menu a,
  header.nav-open .nav-menu a,
  .header.nav-open .nav-menu a,
  body.menu-open .nav-menu a,
  body.nav-open .nav-menu a,
  .nav-menu.open a:hover,
  .nav-menu.active a:hover,
  .navbar-nav.open a:hover,
  .navbar-nav.active a:hover,
  .mobile-menu.open a:hover,
  .mobile-menu.active a:hover,
  nav.open .nav-menu a:hover,
  nav.active .nav-menu a:hover,
  header.nav-open .nav-menu a:hover,
  .header.nav-open .nav-menu a:hover,
  body.menu-open .nav-menu a:hover,
  body.nav-open .nav-menu a:hover,
  .nav-menu.open a:focus,
  .nav-menu.active a:focus,
  .navbar-nav.open a:focus,
  .navbar-nav.active a:focus,
  .mobile-menu.open a:focus,
  .mobile-menu.active a:focus,
  nav.open .nav-menu a:focus,
  nav.active .nav-menu a:focus,
  header.nav-open .nav-menu a:focus,
  .header.nav-open .nav-menu a:focus,
  body.menu-open .nav-menu a:focus,
  body.nav-open .nav-menu a:focus,
  .nav-menu.open a:active,
  .nav-menu.active a:active,
  .navbar-nav.open a:active,
  .navbar-nav.active a:active,
  .mobile-menu.open a:active,
  .mobile-menu.active a:active,
  nav.open .nav-menu a:active,
  nav.active .nav-menu a:active,
  header.nav-open .nav-menu a:active,
  .header.nav-open .nav-menu a:active,
  body.menu-open .nav-menu a:active,
  body.nav-open .nav-menu a:active {
    text-decoration: none !important;
  }
}
/* === Mobile Nav: Larger light link text === */
@media (max-width: 575.98px) {
  .nav-menu.open a,
  .nav-menu.active a,
  .navbar-nav.open a,
  .navbar-nav.active a,
  .mobile-menu.open a,
  .mobile-menu.active a,
  nav.open .nav-menu a,
  nav.active .nav-menu a,
  header.nav-open .nav-menu a,
  .header.nav-open .nav-menu a,
  body.menu-open .nav-menu a,
  body.nav-open .nav-menu a {
    color: var(--sixth) !important;
    font-size: clamp(22px, 6vw, 30px) !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
  }

  /* Keep light color on hover/focus/active as well */
  .nav-menu.open a:hover,
  .nav-menu.active a:hover,
  .navbar-nav.open a:hover,
  .navbar-nav.active a:hover,
  .mobile-menu.open a:hover,
  .mobile-menu.active a:hover,
  nav.open .nav-menu a:hover,
  nav.active .nav-menu a:hover,
  header.nav-open .nav-menu a:hover,
  .header.nav-open .nav-menu a:hover,
  body.menu-open .nav-menu a:hover,
  body.nav-open .nav-menu a:hover,
  .nav-menu.open a:focus,
  .nav-menu.active a:focus,
  .navbar-nav.open a:focus,
  .navbar-nav.active a:focus,
  .mobile-menu.open a:focus,
  .mobile-menu.active a:focus,
  nav.open .nav-menu a:focus,
  nav.active .nav-menu a:focus,
  header.nav-open .nav-menu a:focus,
  .header.nav-open .nav-menu a:focus,
  body.menu-open .nav-menu a:focus,
  body.nav-open .nav-menu a:focus,
  .nav-menu.open a:active,
  .nav-menu.active a:active,
  .navbar-nav.open a:active,
  .navbar-nav.active a:active,
  .mobile-menu.open a:active,
  .mobile-menu.active a:active,
  nav.open .nav-menu a:active,
  nav.active .nav-menu a:active,
  header.nav-open .nav-menu a:active,
  .header.nav-open .nav-menu a:active,
  body.menu-open .nav-menu a:active,
  body.nav-open .nav-menu a:active {
    color: #ffffff !important;
    background-color: transparent;
  }
}
/* === Mobile Nav: Larger, bolder close (×) === */
@media (max-width: 575.98px) {
  .nav-menu .nav-close,
  .mobile-menu .nav-close,
  .navbar-nav .nav-close {
    font-size: 30px !important; /* larger × */
    font-weight: 800 !important; /* bold × */
    line-height: 1 !important;
  }
}
/* === Mobile Nav: Extra spacing below close (×) === */
@media (max-width: 575.98px) {
  .nav-menu .nav-close,
  .mobile-menu .nav-close,
  .navbar-nav .nav-close {
    top: 20px !important;           /* nudge down for more space */
    margin-bottom: 5px !important; /* additional visual spacing */
  }
}
/* === Mobile Nav: More spacing around close (×) === */
@media (max-width: 575.98px) {
  .nav-menu .nav-close,
  .mobile-menu .nav-close,
  .navbar-nav .nav-close {
    top: 28px !important;
    right: 20px !important;
    margin: 12px !important;
  }
}
/* === Mobile Nav: Separate close button and menu links (no overlap) === */
@media (max-width: 575.98px) {
  /* Add safe top padding equal to close button area */
  .nav-menu.open,
  .nav-menu.active,
  .navbar-nav.open,
  .navbar-nav.active,
  .mobile-menu.open,
  .mobile-menu.active,
  nav.open .nav-menu,
  nav.active .nav-menu,
  header.nav-open .nav-menu,
  .header.nav-open .nav-menu,
  body.menu-open .nav-menu,
  body.nav-open .nav-menu {
    box-sizing: border-box !important;
    padding-top: 96px !important; /* close btn top (≈28px) + size (≈44px) + extra spacing */
    gap: 20px !important; /* consistent vertical rhythm between items */
  }

  /* Ensure first link doesn’t sit too close to the top */
  .nav-menu.open a:first-of-type,
  .nav-menu.active a:first-of-type,
  .navbar-nav.open a:first-of-type,
  .navbar-nav.active a:first-of-type,
  .mobile-menu.open a:first-of-type,
  .mobile-menu.active a:first-of-type,
  nav.open .nav-menu a:first-of-type,
  nav.active .nav-menu a:first-of-type,
  header.nav-open .nav-menu a:first-of-type,
  .header.nav-open .nav-menu a:first-of-type,
  body.menu-open .nav-menu a:first-of-type,
  body.nav-open .nav-menu a:first-of-type {
    margin-top: 8px !important;
  }

  /* Add a little spacing between each link for readability */
  .nav-menu.open a,
  .nav-menu.active a,
  .navbar-nav.open a,
  .navbar-nav.active a,
  .mobile-menu.open a,
  .mobile-menu.active a,
  nav.open .nav-menu a,
  nav.active .nav-menu a,
  header.nav-open .nav-menu a,
  .header.nav-open .nav-menu a,
  body.menu-open .nav-menu a,
  body.nav-open .nav-menu a {
    margin: 6px 0 !important;
  }
}
/* === Mobile Nav: Dark background, light text on link click === */
@media (max-width: 575.98px) {
  /* Base link style inside open mobile menu */
  .nav-menu.open a,
  .nav-menu.active a,
  .navbar-nav.open a,
  .navbar-nav.active a,
  .mobile-menu.open a,
  .mobile-menu.active a,
  nav.open .nav-menu a,
  nav.active .nav-menu a,
  header.nav-open .nav-menu a,
  .header.nav-open .nav-menu a,
  body.menu-open .nav-menu a,
  body.nav-open .nav-menu a {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--sixth) !important;
  }

  /* Interactive states: keep background clear and text light */
  .nav-menu.open a:hover,
  .nav-menu.open a:focus,
  .nav-menu.open a:active,
  .nav-menu.active a:hover,
  .nav-menu.active a:focus,
  .nav-menu.active a:active,
  .navbar-nav.open a:hover,
  .navbar-nav.open a:focus,
  .navbar-nav.open a:active,
  .navbar-nav.active a:hover,
  .navbar-nav.active a:focus,
  .navbar-nav.active a:active,
  .mobile-menu.open a:hover,
  .mobile-menu.open a:focus,
  .mobile-menu.open a:active,
  .mobile-menu.active a:hover,
  .mobile-menu.active a:focus,
  .mobile-menu.active a:active,
  nav.open .nav-menu a:hover,
  nav.open .nav-menu a:focus,
  nav.open .nav-menu a:active,
  nav.active .nav-menu a:hover,
  nav.active .nav-menu a:focus,
  nav.active .nav-menu a:active,
  header.nav-open .nav-menu a:hover,
  header.nav-open .nav-menu a:focus,
  header.nav-open .nav-menu a:active,
  .header.nav-open .nav-menu a:hover,
  .header.nav-open .nav-menu a:focus,
  .header.nav-open .nav-menu a:active,
  body.menu-open .nav-menu a:hover,
  body.menu-open .nav-menu a:focus,
  body.menu-open .nav-menu a:active,
  body.nav-open .nav-menu a:hover,
  body.nav-open .nav-menu a:focus,
  body.nav-open .nav-menu a:active,
  /* common active class variants */
  .nav-menu.open a.active,
  .nav-menu.active a.active,
  .navbar-nav.open a.active,
  .navbar-nav.active a.active,
  .mobile-menu.open a.active,
  .mobile-menu.active a.active,
  .nav-menu.open li.active > a,
  .nav-menu.active li.active > a,
  .navbar-nav.open li.active > a,
  .navbar-nav.active li.active > a,
  .mobile-menu.open li.active > a,
  .mobile-menu.active li.active > a {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--sixth) !important;
    box-shadow: none !important;
  }
}
/* === Responsive Nav: Normalize for tablet/desktop and prevent mobile overlay bleed === */
@media (min-width: 576px) {
  .nav-menu.open,
  .nav-menu.active,
  .navbar-nav.open,
  .navbar-nav.active,
  .mobile-menu.open,
  .mobile-menu.active,
  nav.open .nav-menu,
  nav.active .nav-menu,
  header.nav-open .nav-menu,
  .header.nav-open .nav-menu,
  body.menu-open .nav-menu,
  body.nav-open .nav-menu {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 16px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .nav-menu.open a,
  .nav-menu.active a,
  .navbar-nav.open a,
  .navbar-nav.active a,
  .mobile-menu.open a,
  .mobile-menu.active a,
  nav.open .nav-menu a,
  nav.active .nav-menu a,
  header.nav-open .nav-menu a,
  .header.nav-open .nav-menu a,
  body.menu-open .nav-menu a,
  body.nav-open .nav-menu a {
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    text-align: left !important;
    width: auto !important;
    margin: 0 !important;
    color: inherit !important;
    background: transparent !important;
  }

  /* Hide mobile-only close button on larger screens */
  .nav-menu .nav-close,
  .mobile-menu .nav-close,
  .navbar-nav .nav-close {
    display: none !important;
  }
}
/* === Tablet Support: Treat up to 768px as mobile overlay === */
@media (max-width: 767.98px) {
  /* Force full-screen overlay for open menus (wins over earlier desktop reset) */
  .nav-menu.open,
  .nav-menu.active,
  .navbar-nav.open,
  .navbar-nav.active,
  .mobile-menu.open,
  .mobile-menu.active,
  nav.open .nav-menu,
  nav.active .nav-menu,
  header.nav-open .nav-menu,
  .header.nav-open .nav-menu,
  body.menu-open .nav-menu,
  body.nav-open .nav-menu {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    background: #07020f !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    padding: 96px 20px 24px !important;
    gap: 20px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: none !important;
  }

  /* Show and pin the close (×) button */
  .nav-menu .nav-close,
  .mobile-menu .nav-close,
  .navbar-nav .nav-close {
    position: fixed !important;
    top: 28px !important;
    right: 20px !important;
    display: inline-flex !important;
    z-index: 10000 !important;
  }

  /* Link typography and alignment (light text on dark background) */
  .nav-menu.open a,
  .nav-menu.active a,
  .navbar-nav.open a,
  .navbar-nav.active a,
  .mobile-menu.open a,
  .mobile-menu.active a,
  nav.open .nav-menu a,
  nav.active .nav-menu a,
  header.nav-open .nav-menu a,
  .header.nav-open .nav-menu a,
  body.menu-open .nav-menu a,
  body.nav-open .nav-menu a {
    color: var(--sixth) !important;
    background: transparent !important;
    text-decoration: none !important;
    text-align: right !important;
    width: 100% !important;
    font-size: clamp(20px, 5.5vw, 28px) !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    margin: 6px 0 !important;
  }

  /* Keep interactive states clean */
  .nav-menu.open a:hover,
  .nav-menu.open a:focus,
  .nav-menu.open a:active,
  .nav-menu.active a:hover,
  .nav-menu.active a:focus,
  .nav-menu.active a:active,
  .navbar-nav.open a:hover,
  .navbar-nav.open a:focus,
  .navbar-nav.open a:active,
  .navbar-nav.active a:hover,
  .navbar-nav.active a:focus,
  .navbar-nav.active a:active,
  .mobile-menu.open a:hover,
  .mobile-menu.open a:focus,
  .mobile-menu.open a:active,
  .mobile-menu.active a:hover,
  .mobile-menu.active a:focus,
  .mobile-menu.active a:active {
    color: #ffffff !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}
/* === Tablet Nav (<=768px): Close (×) same as mobile === */
@media (max-width: 767.98px) {
  .nav-menu .nav-close,
  .mobile-menu .nav-close,
  .navbar-nav .nav-close {
    position: fixed !important;
    top: 28px !important;
    right: 20px !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: rgba(122, 28, 172, 0.30) !important;
    color: rgba(243, 232, 255, 0.90) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15) !important;
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease !important;
    -webkit-backdrop-filter: saturate(140%) blur(2px);
    backdrop-filter: saturate(140%) blur(2px);
    font-size: 30px !important; /* larger × */
    font-weight: 800 !important; /* bold × */
    line-height: 1 !important;
  }

  .nav-menu.open .nav-close,
  .nav-menu.active .nav-close,
  .mobile-menu.open .nav-close,
  .mobile-menu.active .nav-close,
  .navbar-nav.open .nav-close,
  .navbar-nav.active .nav-close,
  nav.open .nav-menu .nav-close,
  nav.active .nav-menu .nav-close,
  header.nav-open .nav-menu .nav-close,
  .header.nav-open .nav-menu .nav-close,
  body.menu-open .nav-menu .nav-close,
  body.nav-open .nav-menu .nav-close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    animation: navClosePopIn 240ms cubic-bezier(.2,.8,.2,1) both;
  }

  .nav-menu .nav-close:hover,
  .mobile-menu .nav-close:hover,
  .navbar-nav .nav-close:hover { 
    transform: scale(1.07) rotate(90deg);
    background: rgba(122, 28, 172, 0.55) !important;
    box-shadow: 0 10px 24px rgba(71, 19, 150, 0.35) !important; 
  }

  .nav-menu .nav-close:active,
  .mobile-menu .nav-close:active,
  .navbar-nav .nav-close:active { 
    transform: scale(0.97) rotate(90deg);
  }

  .nav-menu .nav-close:focus-visible,
  .mobile-menu .nav-close:focus-visible,
  .navbar-nav .nav-close:focus-visible {
    outline: 2px solid rgba(192, 132, 252, 0.80) !important;
    outline-offset: 2px !important;
  }

  @keyframes navClosePopIn {
    from { opacity: 0; transform: translateY(-10px) scale(0.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  @media (prefers-reduced-motion: reduce) {
    .nav-menu .nav-close,
    .mobile-menu .nav-close,
    .navbar-nav .nav-close { transition: none !important; }
    .nav-menu .nav-close:hover,
    .mobile-menu .nav-close:hover,
    .navbar-nav .nav-close:hover { transform: none !important; }
    .nav-menu.open .nav-close,
    .nav-menu.active .nav-close,
    .mobile-menu.open .nav-close,
    .mobile-menu.active .nav-close,
    .navbar-nav.open .nav-close,
    .navbar-nav.active .nav-close { animation: none !important; }
  }
}

/* ── FAQ Section ──────────────────────────────────────────────────── */
.faq {
  background: #e3f6f2;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .faq-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
    gap: 5rem;
    align-items: center;
  }
}

.faq-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.faq-left-headline {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.25;
  color: #07020f;
  margin: 0 0 1.25rem;
}
@media (max-width: 639px) {
  .faq-left-headline {
    font-size: 2rem;
  }
}

.faq-left-desc {
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin: 0 0 2rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.faq-card:has(.faq-question[aria-expanded="true"]) {
  box-shadow: 0 4px 16px rgba(71, 19, 150, 0.10);
  border-color: rgba(122, 28, 172, 0.25);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  color: var(--gray-900);
  transition: background-color 150ms ease;
}
.faq-question:hover {
  background-color: #f9fafb;
}
.faq-question:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: -2px;
}

.faq-tag {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  margin-top: 0.15rem;
  white-space: nowrap;
}
.faq-tag--blue   { background: #dbeafe; color: #1d4ed8; }
.faq-tag--green  { background: #dcfce7; color: #15803d; }
.faq-tag--purple { background: #f3e8ff; color: #7e22ce; }
.faq-tag--amber  { background: #fef3c7; color: #b45309; }

.faq-q-text {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.faq-chevron {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), color 150ms ease;
}
.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--secondary);
}

/* Smooth grid-row animation for accordion body */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-answer.open {
  grid-template-rows: 1fr;
}
.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 1.5rem;
  transition: padding-bottom 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-answer.open .faq-answer-inner {
  padding-bottom: 1.25rem;
}
.faq-answer-inner p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.faq-cta-btn {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

@media (max-width: 767px) {
  .faq-contact,
  .faq-cta-btn {
    display: none !important;
  }
  .faq-left-desc {
    font-size: 1rem;
    margin-bottom: 0;
  }
}
