/* ============================================================
   VERTEXIUM ENVIRONMENTAL SOLUTIONS
   Premium Boutique Consultancy — Rebuilt with Soul
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Palette */
  --bg-deep:        #0d1117;
  --bg-primary:     #111820;
  --bg-secondary:   #151d27;
  --bg-elevated:    #1a2332;
  --bg-card:        #1c2736;
  --bg-card-hover:  #212f40;

  /* Borders */
  --border:         rgba(93, 173, 226, 0.08);
  --border-hover:   rgba(93, 173, 226, 0.18);
  --border-gold:    rgba(201, 168, 76, 0.2);

  /* Brand Colors */
  --blue:           #5dade2;
  --blue-dark:      #3498db;
  --blue-glow:      rgba(93, 173, 226, 0.12);
  --gold:           #c9a84c;
  --gold-light:     #d4b85e;
  --gold-dim:       rgba(201, 168, 76, 0.15);
  --gold-glow:      rgba(201, 168, 76, 0.08);
  --teal:           #1a6b5a;

  /* Text */
  --text-primary:   #e8eaed;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;
  --text-dim:       #475569;

  /* Typography */
  --font-heading:   'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Fluid Type Scale */
  --fs-xs:    0.75rem;
  --fs-sm:    0.875rem;
  --fs-base:  1rem;
  --fs-lg:    1.125rem;
  --fs-xl:    1.25rem;
  --fs-2xl:   clamp(1.5rem, 2vw, 1.75rem);
  --fs-3xl:   clamp(1.75rem, 3vw, 2.25rem);
  --fs-4xl:   clamp(2rem, 4vw, 3rem);
  --fs-5xl:   clamp(2.5rem, 5vw, 3.75rem);
  --fs-hero:  clamp(2.75rem, 6vw, 4.5rem);

  /* Spacing */
  --sp-xs:  0.5rem;
  --sp-sm:  0.75rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;
  --sp-5xl: 8rem;

  /* Radii */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(93,173,226,0.08);
  --shadow-gold: 0 0 30px rgba(201,168,76,0.1);

  /* Transitions */
  --t-fast:  150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base:  300ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:  500ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --nav-h:       80px;
  --container:   1200px;
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable both-edges;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--blue-dark); }

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

ul, ol { list-style: none; }

::selection {
  background: rgba(93, 173, 226, 0.25);
  color: var(--text-primary);
}


/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
  position: relative;
  z-index: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hide-mobile {
  display: inline;
}


/* ---------- Section Shared ---------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-3xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 18px;
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  background: var(--gold-glow);
  margin-bottom: var(--sp-lg);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--sp-md);
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ============================================================
   SCROLL PROGRESS INDICATOR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  z-index: 10000;
  transition: width 0.1s linear;
  pointer-events: none;
}


/* ============================================================
   SECTION DIVIDERS — Animated gold accent lines
   ============================================================ */
.section-divider {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5), transparent);
  margin: 0 auto;
  transition: width 1.2s ease-out;
  pointer-events: none;
}

.section-divider.visible {
  width: 200px;
}


/* ============================================================
   FLOATING PARTICLES (CSS-only dots)
   ============================================================ */
@keyframes floatDot {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  50% { transform: translateY(-20px) translateX(10px); opacity: 0.6; }
}

@keyframes floatDotAlt {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
  50% { transform: translateY(-15px) translateX(-8px); opacity: 0.5; }
}

@keyframes floatDotSlow {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.25; }
  50% { transform: translateY(-25px) translateX(5px); opacity: 0.5; }
}

.floating-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.floating-dot--gold {
  background: rgba(201,168,76,0.3);
  animation: floatDot 6s ease-in-out infinite;
}

.floating-dot--blue {
  background: rgba(93,173,226,0.25);
  animation: floatDotAlt 7s ease-in-out infinite;
}

.floating-dot--white {
  background: rgba(232,234,237,0.2);
  animation: floatDotSlow 8s ease-in-out infinite;
}


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--blue);
  color: var(--bg-deep);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(93, 173, 226, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--blue);
  filter: blur(16px);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--t-base);
}

.btn-glow:hover::after {
  opacity: 0.3;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-hover);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(93, 173, 226, 0.35);
  background: rgba(93, 173, 226, 0.05);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg-deep);
  border-color: var(--gold);
  font-weight: 700;
}

.btn-gold:hover {
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.3);
}

.btn-block { width: 100%; }

.btn-lg {
  padding: 18px 40px;
  font-size: var(--fs-base);
}

.btn-sm {
  padding: 10px 24px;
  font-size: var(--fs-sm);
}

.btn-arrow {
  transition: transform var(--t-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}


/* ============================================================
   TOPOGRAPHIC BACKGROUND PATTERN (CSS-only)
   ============================================================ */
.hero-topo-bg,
.services-topo,
.founder-topo,
.cta-topo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    repeating-radial-gradient(circle at 25% 25%, transparent 0, transparent 38px, rgba(93,173,226,0.5) 38px, rgba(93,173,226,0.5) 39px, transparent 39px, transparent 78px),
    repeating-radial-gradient(circle at 75% 75%, transparent 0, transparent 52px, rgba(201,168,76,0.4) 52px, rgba(201,168,76,0.4) 53px, transparent 53px, transparent 106px),
    repeating-radial-gradient(circle at 50% 10%, transparent 0, transparent 65px, rgba(93,173,226,0.3) 65px, rgba(93,173,226,0.3) 66px, transparent 66px, transparent 132px),
    repeating-radial-gradient(circle at 10% 80%, transparent 0, transparent 45px, rgba(201,168,76,0.3) 45px, rgba(201,168,76,0.3) 46px, transparent 46px, transparent 92px),
    repeating-radial-gradient(circle at 90% 30%, transparent 0, transparent 58px, rgba(93,173,226,0.25) 58px, rgba(93,173,226,0.25) 59px, transparent 59px, transparent 118px);
  background-size: 200px 200px, 260px 260px, 300px 300px, 180px 180px, 240px 240px;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: all var(--t-base);
}

.navbar.scrolled {
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  transition: opacity var(--t-fast);
}

.nav-logo:hover .nav-logo-img {
  opacity: 0.85;
}

/* Subtle glow on logo for extra pop on dark backgrounds */
.nav-logo-img,
.hero-logo,
.footer-logo-img {
  filter: drop-shadow(0 0 10px rgba(93, 173, 226, 0.2));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.nav-link {
  padding: 8px 16px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  text-decoration: none;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.nav-cta {
  color: var(--bg-deep);
  background: var(--blue);
  font-weight: 600;
  margin-left: var(--sp-sm);
  border-radius: var(--r-md);
  padding: 10px 22px;
}

.nav-link.nav-cta::after { display: none; }

.nav-link.nav-cta:hover {
  background: var(--blue-dark);
  color: var(--bg-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(93,173,226,0.25);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--t-base);
  transform-origin: center;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + var(--sp-3xl)) var(--sp-xl) var(--sp-4xl);
  background-image:
    linear-gradient(170deg, rgba(13, 17, 23, 0.72) 0%, rgba(17, 24, 32, 0.78) 30%, rgba(21, 29, 39, 0.84) 60%, rgba(26, 35, 50, 0.88) 100%),
    url('../images/hero-banner.jpg');
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, scroll;
  overflow: hidden;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 40%, rgba(93, 173, 226, 0.04) 0%, transparent 100%),
    radial-gradient(ellipse 50% 60% at 70% 60%, rgba(201, 168, 76, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
}

.hero-logo-wrap {
  margin-bottom: var(--sp-xl);
}

.hero-logo {
  max-width: 450px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.hero-gold-rule {
  width: 80px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto var(--sp-2xl);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--sp-lg);
  letter-spacing: -0.01em;
}

.hero-title-accent {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto var(--sp-2xl);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 0.7; transform: scaleY(1); transform-origin: top; }
}


/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding: var(--sp-xl) 0;
  background: linear-gradient(90deg, #101820 0%, #141e2a 50%, #101820 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  position: relative;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.trust-icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 16px;
  background: var(--border-hover);
}


/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: var(--sp-5xl) 0;
  background:
    /* Gold sphere glow from left edge */
    radial-gradient(ellipse 80% 100% at 0% 35%, rgba(201,168,76,0.06) 0%, rgba(201,168,76,0.03) 30%, transparent 70%),
    /* Geometric grid pattern overlay */
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(93,173,226,0.03) 59px, rgba(93,173,226,0.03) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(93,173,226,0.03) 59px, rgba(93,173,226,0.03) 60px),
    /* Base color */
    linear-gradient(to bottom, #0f1923, #0f1923);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xl);
  position: relative;
  z-index: 1;
}

/* Service Card with flip-reveal on hover */
.service-card {
  perspective: 800px;
  height: 320px;
  cursor: default;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.service-card:hover .service-card-inner,
.service-card:focus .service-card-inner {
  transform: rotateY(180deg);
}

.service-front,
.service-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: var(--sp-2xl);
  display: flex;
  flex-direction: column;
}

.service-front {
  background: var(--bg-card);
  justify-content: flex-start;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.service-card:hover .service-front {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(93,173,226,0.15), 0 0 60px rgba(93,173,226,0.05);
}

.service-back {
  background: linear-gradient(145deg, var(--bg-elevated), var(--bg-card));
  transform: rotateY(180deg);
  justify-content: center;
  border-color: var(--border-hover);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--blue);
  margin-bottom: var(--sp-xl);
  transition: color var(--t-base);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-name {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-sm);
  line-height: 1.25;
}

.service-brief {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: auto;
}


/* ============================================================
   THE VERTEXIUM DIFFERENCE
   ============================================================ */
.difference {
  padding: var(--sp-5xl) 0;
  background:
    /* Gold ambient glow on left — fades from transparent on all edges */
    linear-gradient(to right, transparent 0%, rgba(201,168,76,0.04) 20%, rgba(201,168,76,0.06) 50%, rgba(201,168,76,0.04) 80%, transparent 100%) left top / 300px 100% no-repeat,
    /* Blue ambient glow on the right — fades from transparent on all edges */
    linear-gradient(to right, transparent 0%, rgba(93,173,226,0.03) 20%, rgba(93,173,226,0.04) 50%, rgba(93,173,226,0.03) 80%, transparent 100%) right top / 200px 100% no-repeat,
    /* Base color */
    var(--bg-deep);
  position: relative;
}

.difference-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-3xl);
}

.difference-intro .section-title {
  font-size: var(--fs-3xl);
  font-style: italic;
}

.difference-lead {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  color: var(--gold);
  font-weight: 600;
  margin-top: var(--sp-sm);
  font-style: italic;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2xl);
  position: relative;
  z-index: 1;
}

.difference-card {
  position: relative;
  padding: var(--sp-2xl) var(--sp-sm);
}

.difference-number {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 5vw, 5rem);
  font-weight: 700;
  color: rgba(201, 168, 76, 0.25);
  line-height: 1;
  margin-bottom: var(--sp-md);
  transition: color var(--t-slow);
}

.difference-card:hover .difference-number {
  color: rgba(201, 168, 76, 0.4);
}

.difference-gold-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: var(--sp-lg);
  transition: width var(--t-slow);
}

.difference-card:hover .difference-gold-line {
  width: 60px;
}

.difference-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-md);
  line-height: 1.25;
}

.difference-text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.85;
}


/* ============================================================
   FOUNDER
   ============================================================ */
.founder {
  padding: var(--sp-5xl) 0;
  background:
    /* Blue sphere glow from right edge */
    radial-gradient(ellipse 80% 100% at 100% 40%, rgba(93,173,226,0.05) 0%, rgba(93,173,226,0.02) 30%, transparent 70%),
    /* Subtle diagonal stripe pattern */
    repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(201,168,76,0.02) 40px, rgba(201,168,76,0.02) 41px),
    /* Base color */
    linear-gradient(to bottom, #131b25, #131b25);
  position: relative;
}

.founder-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--sp-3xl);
  align-items: start;
  position: relative;
  z-index: 1;
}

.founder-credential {
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-xl));
}

.founder-credential-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-3xl) var(--sp-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.founder-credential-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue), var(--gold));
}

/* Founder Photo */
.founder-photo-wrap {
  width: 180px;
  height: 180px;
  margin: 0 auto var(--sp-xl);
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--gold), var(--blue), var(--gold));
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.15), 0 0 60px rgba(93, 173, 226, 0.08);
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 3px solid var(--bg-card);
  display: block;
}

.founder-degree {
  display: block;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-sm);
}

.founder-field {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: var(--sp-lg);
}

.founder-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto var(--sp-lg);
}

.founder-school {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.founder-content {
  padding-top: var(--sp-md);
  position: relative;
  z-index: 1;
}

.founder-role {
  font-size: var(--fs-lg);
  color: var(--gold);
  font-weight: 500;
  margin-bottom: var(--sp-xl);
}

.founder-story {
  margin-bottom: var(--sp-xl);
}

.founder-story p {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: var(--sp-lg);
}

.founder-story p:first-child {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: var(--sp-xl);
}

.founder-story p:last-child {
  color: var(--text-primary);
  font-weight: 500;
}

.founder-links {
  display: flex;
  gap: var(--sp-md);
}

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all var(--t-base);
}

.founder-link:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--blue-glow);
}


/* ============================================================
   ENGAGEMENT MODELS
   ============================================================ */
.engagement {
  padding: var(--sp-5xl) 0;
  background:
    /* Gold vertical strip on the left (250px wide) */
    linear-gradient(180deg, transparent 0%, rgba(201,168,76,0.03) 30%, rgba(201,168,76,0.04) 50%, rgba(201,168,76,0.03) 70%, transparent 100%) left top / 250px 100% no-repeat,
    /* Blue vertical light strip on right edge (250px wide) */
    linear-gradient(180deg, transparent 0%, rgba(93,173,226,0.03) 25%, rgba(93,173,226,0.05) 50%, rgba(93,173,226,0.03) 75%, transparent 100%) right top / 250px 100% no-repeat,
    /* Base color */
    var(--bg-deep);
  position: relative;
  overflow: hidden;
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow: hidden;
}

.engagement-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.engagement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  opacity: 0.3;
}

.engagement-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(93,173,226,0.12), 0 0 60px rgba(93,173,226,0.04);
}

/* Silver featured */
.engagement-card--silver {
  border-color: rgba(93, 173, 226, 0.25);
  background: linear-gradient(180deg, rgba(93, 173, 226, 0.04) 0%, var(--bg-card) 100%);
}

.engagement-card--silver::before {
  opacity: 1;
  height: 3px;
}

.engagement-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--bg-deep);
  background: var(--blue);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  white-space: nowrap;
}

/* Gold tier */
.engagement-card--gold {
  border-color: var(--border-gold);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.05) 0%, var(--bg-card) 100%);
}

.engagement-card--gold::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  opacity: 1;
  height: 3px;
}

.engagement-card--gold:hover {
  border-color: rgba(201, 168, 76, 0.35);
  box-shadow: 0 8px 32px rgba(201,168,76,0.12), 0 0 60px rgba(201,168,76,0.04);
}

.engagement-card--gold .engagement-tier {
  color: var(--gold);
}

.engagement-card--gold .engagement-features li::before {
  color: var(--gold);
}

.engagement-header {
  margin-bottom: var(--sp-lg);   /* Reduced from var(--sp-xl) */
}

.engagement-tier {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--sp-xs);
}

.engagement-name {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  overflow-wrap: break-word;     /* AGGRESSIVE FIX: prevent name from forcing width */
}

.engagement-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.engagement-price-wrap {
  margin-bottom: var(--sp-lg);   /* Reduced from var(--sp-xl) */
  padding-bottom: var(--sp-md);  /* Reduced from var(--sp-lg) */
  border-bottom: 1px solid var(--border);
}

.engagement-price {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, var(--fs-3xl));
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.engagement-period {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.engagement-features {
  margin-bottom: var(--sp-lg);   /* Reduced from var(--sp-xl) */
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  min-width: 0;                  /* AGGRESSIVE FIX: allow shrinking */
}

.engagement-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;                      /* Reduced from 10px */
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  min-width: 0;                  /* AGGRESSIVE FIX: allow text shrinking */
  word-break: break-word;        /* AGGRESSIVE FIX: break if needed */
}

.engagement-features li::before {
  content: '\2713';
  color: var(--blue);
  font-weight: 700;
  font-size: var(--fs-xs);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: var(--sp-5xl) 0;
  background:
    /* Gold vertical light strip on left — corridor of light (300px wide) */
    linear-gradient(180deg, transparent 0%, rgba(201,168,76,0.04) 20%, rgba(201,168,76,0.06) 50%, rgba(201,168,76,0.04) 80%, transparent 100%) left top / 300px 100% no-repeat,
    /* Blue vertical light strip on right — corridor of light (300px wide) */
    linear-gradient(180deg, transparent 0%, rgba(93,173,226,0.04) 20%, rgba(93,173,226,0.06) 50%, rgba(93,173,226,0.04) 80%, transparent 100%) right top / 300px 100% no-repeat,
    /* Base color */
    linear-gradient(to bottom, #0a0e14, #0a0e14);
  position: relative;
}

.cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: var(--sp-lg);
}

.cta-text {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--sp-2xl);
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: var(--sp-5xl) 0;
  background:
    /* Gold sphere glow from left edge */
    radial-gradient(ellipse 80% 100% at 0% 30%, rgba(201,168,76,0.05) 0%, rgba(201,168,76,0.02) 30%, transparent 70%),
    /* Topographic contour pattern (opacity baked into colors: 0.025 * original) */
    repeating-radial-gradient(circle at 30% 40%, transparent 0, transparent 45px, rgba(93,173,226,0.01) 45px, rgba(93,173,226,0.01) 46px, transparent 46px, transparent 90px),
    repeating-radial-gradient(circle at 70% 60%, transparent 0, transparent 55px, rgba(201,168,76,0.0075) 55px, rgba(201,168,76,0.0075) 56px, transparent 56px, transparent 110px),
    repeating-radial-gradient(circle at 50% 80%, transparent 0, transparent 35px, rgba(93,173,226,0.006) 35px, rgba(93,173,226,0.006) 36px, transparent 36px, transparent 72px),
    /* Base color */
    var(--bg-primary);
  background-size: 100% 100%, 220px 220px, 280px 280px, 190px 190px, 100% 100%;
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-3xl);
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
}

.form-group--full {
  width: 100%;
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-required {
  color: var(--gold);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--text-primary);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  outline: none;
  -webkit-appearance: none;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.form-input.invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}

.form-error {
  display: none;
  font-size: var(--fs-xs);
  color: #dc3545;
  margin-top: 4px;
}

.form-input.invalid + .form-error {
  display: block;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--blue-glow);
  border: 1px solid var(--border-hover);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--blue);
}

.form-success.show {
  display: flex;
}

.form-email-fallback {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--sp-xs);
}

.form-email-fallback a {
  color: var(--gold);
  font-weight: 500;
}

.form-email-fallback a:hover {
  color: var(--gold-light);
}

.form-booking-cta {
  margin-top: var(--sp-lg);
  padding: var(--sp-lg);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.06) 0%, rgba(201, 168, 76, 0.02) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-md);
  text-align: center;
}

.form-booking-cta p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-sm);
}

.form-booking-cta .btn {
  gap: 6px;
}

.form-success svg {
  flex-shrink: 0;
  color: var(--blue);
}

/* SMS Consent checkbox (A2P Compliance) */
.form-consent {
  margin-top: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.form-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.5;
}

.form-consent-checkbox {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
}

.form-consent-text {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.6;
}

.form-consent-text a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--t-fast);
}

.form-consent-text a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* Form disclosure text */
.form-disclosure {
  font-size: 0.6875rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: var(--sp-xs);
  margin-bottom: var(--sp-sm);
  text-align: center;
}

/* Contact sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  padding: var(--sp-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast);
}

.contact-card:hover {
  border-color: var(--border-hover);
}

.contact-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-glow);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-sm);
  color: var(--gold);
  flex-shrink: 0;
}

.contact-card-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-card-value {
  font-size: var(--fs-sm);
  color: var(--text-primary);
  font-weight: 500;
}

a.contact-card-value:hover {
  color: var(--blue);
}

.contact-direct {
  padding: var(--sp-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-align: center;
}

.contact-direct p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-md);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: var(--sp-2xl) 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
  gap: var(--sp-xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--t-fast);
}

.footer-logo-link:hover .footer-logo-img {
  opacity: 1;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  color: var(--text-dim);
  font-style: italic;
}

.footer-nav {
  display: flex;
  gap: var(--sp-xl);
}

.footer-nav a {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--t-fast);
}

.footer-nav a:hover {
  color: var(--text-primary);
}

.footer-social {
  display: flex;
  gap: var(--sp-sm);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}

.footer-social-link:hover {
  color: var(--gold);
  border-color: var(--border-gold);
  background: var(--gold-glow);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  margin-top: 8px;
}

.footer-legal a {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-legal a:hover {
  color: var(--gold);
}

.footer-legal-divider {
  font-size: var(--fs-xs);
  color: var(--text-dim);
  opacity: 0.5;
}


/* ============================================================
   ANIMATIONS
   ============================================================ */

/* Hero fade-up */
.animate-fade-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--stagger, 0ms);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   REDUCED MOTION — Respect user preference
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-progress {
    transition: none;
  }

  .section-divider {
    width: 200px;
    transition: none;
  }

  .floating-dot {
    animation: none;
    opacity: 0.3;
  }

  .hero-scroll-line {
    animation: none;
    opacity: 0.5;
  }

  .animate-fade-up {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet landscape */
@media (max-width: 1100px) {
  .engagement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 800px;
    margin: 0 auto;
  }

  .founder-layout {
    grid-template-columns: 280px 1fr;
    gap: var(--sp-2xl);
  }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .difference-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .founder-layout {
    grid-template-columns: 1fr;
  }

  .founder-credential {
    position: static;
    max-width: 340px;
    margin: 0 auto var(--sp-2xl);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
    --sp-5xl: 5rem;
  }

  .container {
    padding: 0 var(--sp-lg);
  }

  .hide-mobile { display: none; }

  /* Simplify ambient glow backgrounds on mobile for performance */
  .services {
    background: #0f1923;
  }
  .difference {
    background: var(--bg-deep);
  }
  .founder {
    background: #131b25;
  }
  .engagement {
    background: var(--bg-deep);
  }
  .cta-section {
    background: #0a0e14;
  }
  .contact {
    background: var(--bg-primary);
  }

  /* Hide floating dots on mobile */
  .floating-dot {
    display: none;
  }

  /* Nav mobile */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--nav-h) + var(--sp-xl)) var(--sp-xl) var(--sp-xl);
    background: var(--bg-elevated);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform var(--t-base);
    gap: var(--sp-xs);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-link {
    padding: 14px 16px;
    font-size: var(--fs-base);
    border-radius: var(--r-sm);
  }

  .nav-link::after { display: none; }

  .nav-link.nav-cta {
    margin-left: 0;
    margin-top: var(--sp-md);
    text-align: center;
    padding: 14px 22px;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + var(--sp-2xl)) var(--sp-lg) var(--sp-3xl);
  }

  .hero-logo {
    max-width: 280px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  /* Trust bar mobile */
  .trust-items {
    flex-direction: column;
    gap: var(--sp-sm);
  }

  .trust-divider {
    display: none;
  }

  /* Services mobile */
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .service-card {
    height: auto;
    min-height: 200px;
  }

  .service-card-inner {
    transform: none !important;
    transform-style: flat;
  }

  .service-front {
    position: relative;
    inset: auto;
  }

  .service-back {
    position: relative;
    inset: auto;
    transform: none;
    border-top: 1px solid var(--border);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    padding: var(--sp-lg) var(--sp-2xl) var(--sp-2xl);
    display: none;
  }

  .service-card:hover .service-back,
  .service-card:focus .service-back,
  .service-card.expanded .service-back {
    display: flex;
  }

  .service-front {
    border-radius: var(--r-lg);
  }

  .service-card.expanded .service-front {
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }

  /* Engagement mobile */
  .engagement-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 440px;
    margin: 0 auto;
  }

  /* Contact mobile */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer mobile */
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-md);
  }
}

/* Small mobile */
@media (max-width: 400px) {
  .container {
    padding: 0 var(--sp-md);
  }
}



/* ============================================================
   HONEYPOT & FORM STATUS
   ============================================================ */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.form-status {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  margin-top: var(--sp-sm);
}

.form-status--error {
  display: flex;
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.25);
  color: #dc3545;
}

.btn-loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn-loading .btn-text::after {
  content: '...';
  animation: dots 1.2s steps(4) infinite;
}

@keyframes dots {
  0% { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
}


/* ============================================================
   FOCUS STYLES (accessibility)
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}


/* ============================================================
   PRINT
   ============================================================ */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
  }

  .navbar,
  .hero-particles,
  .hero-scroll,
  .hero-topo-bg,
  .hero-gradient-overlay,
  .services-topo,
  .founder-topo,
  .cta-topo,
  .nav-overlay,
  .scroll-progress,
  .section-divider,
  .floating-dot {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }

  .hero-logo,
  .footer-logo-img,
  .nav-logo-img {
    filter: none;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }

  .btn {
    border: 1px solid #000;
    padding: 6px 12px;
  }
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq {
  padding: var(--sp-5xl) 0;
  background:
    /* Subtle blue radial from top-right */
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(93,173,226,0.04) 0%, transparent 70%),
    /* Subtle gold radial from bottom-left */
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(201,168,76,0.03) 0%, transparent 70%),
    /* Base */
    var(--bg-secondary);
  position: relative;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Individual FAQ item */
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

/* The clickable summary / question */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: var(--sp-xl) var(--sp-xs);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  transition: color var(--t-fast);
  -webkit-user-select: none;
  user-select: none;
}

/* Remove default marker in Safari / Chrome */
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  content: '';
}

.faq-question:hover {
  color: var(--blue);
}

.faq-question span {
  flex: 1;
  min-width: 0;
}

/* Chevron icon rotation */
.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--t-base), color var(--t-fast);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

/* The answer panel */
.faq-answer {
  padding: 0 var(--sp-xs) var(--sp-xl);
  animation: faqFadeIn 0.3s ease-out;
}

.faq-answer p {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.85;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover state for the whole item */
.faq-item:hover {
  background: rgba(93, 173, 226, 0.02);
}

.faq-item[open] {
  background: rgba(93, 173, 226, 0.03);
}

/* Focus visible for accessibility */
.faq-question:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
  border-radius: var(--r-sm);
}

/* FAQ Responsive: Mobile */
@media (max-width: 768px) {
  .faq {
    background: var(--bg-secondary);
  }

  .faq-question {
    padding: var(--sp-lg) 0;
    font-size: var(--fs-base);
  }

  .faq-answer {
    padding: 0 0 var(--sp-lg);
  }

  .faq-answer p {
    font-size: var(--fs-sm);
  }
}
