/*
Theme Name: YHAYSMAH
Theme URI: https://yhaysmah.com
Author: YHAYSMAH Digital Agency
Author URI: https://yhaysmah.com
Description: Premium digital agency WordPress theme featuring GSAP animations, Lenis smooth scroll, responsive design, and full WordPress Customizer support. Converts the YHAYSMAH static site to a fully manageable WordPress theme.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yhaysmah
Tags: custom-logo, custom-menu, responsive-layout, full-width-template, dark
*/

/* ============================
   YHAYSMAH - Global Styles
   ============================ */

/* Lenis smooth scroll (recommended, from lenis dist/lenis.css) */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

:root {
  --bg-primary: #06060c;
  --bg-secondary: #0b0b14;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.055);
  /* Solid fallback (dropdowns, etc.) */
  --bg-solid: #0c0c16;
  --accent-blue: #4400ff;
  --accent-blue-light: #5b2bff;
  --accent-blue-dark: #2d00b8;
  --accent-glow: rgba(68, 0, 255, 0.22);
  --accent-cyan: #4400ff;
  --text-primary: #f0f0ff;
  --text-secondary: #9090b0;
  --text-muted: #60607a;
  --border: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(255, 255, 255, 0.16);
  /* Glass */
  --glass-blur: 18px;
  --glass-sat: 140%;
  --glass-panel: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.025) 45%,
    rgba(255, 255, 255, 0.04) 100%
  );
  --glass-shade: rgba(5, 5, 12, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.24);
  --shadow-soft: 0 6px 28px rgba(0, 0, 0, 0.18);
  --shadow-glow: 0 12px 48px rgba(68, 0, 255, 0.14);
  --transition: 0.22s ease;
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --t-smooth: 0.28s ease;
  /* Prevents hero/header layout jump before main.js measures nav (~72-84px) */
  --banner-h: 0px;
  --nav-h: 76px;
  --header-total: 76px;

  /* Spacing scale (8px base) + shared section / grid rhythm */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --section-pad-y: clamp(2.5rem, 5vw, 4rem);
  --section-pad-y-sm: clamp(1.5rem, 3.5vw, 2.25rem);
  --section-pad-y-strip: clamp(2rem, 4vw, 3rem);
  --section-pad-y-mobile: clamp(2.5rem, 6vw, 3.25rem);

  --grid-gap: var(--space-6);
  --grid-gap-lg: var(--space-8);
  --grid-gap-split: clamp(2.5rem, 5vw, 4rem);
  --stack-block-y: clamp(3rem, 6vw, 5rem);

  --section-header-trail: var(--space-10);
  --section-label-mb: var(--space-4);
  /* Centered section stacks (label + title + subtitle): match width site-wide */
  --section-heading-title-max: min(42rem, 100%);
  --section-heading-subtitle-max: min(42.5rem, 100%); /* 680px */
}

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

html {
  /* Lenis handles smoothing; native smooth fights the library */
  scroll-behavior: auto;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Reserve scrollbar width from first paint - stops whole page (hero + right side) jumping when scrollbar appears */
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 100% 80% at 50% -35%, rgba(68, 0, 255, 0.09), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 20%, rgba(68, 0, 255, 0.04), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(68, 0, 255, 0.035), transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.5;
  letter-spacing: 0.008em;
  overflow-x: hidden;
  padding-top: var(--header-total, 0px);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

/* ============================
   UTILITY CLASSES
   ============================ */

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(18px, 2.2vw, 28px);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.section-pad {
  padding: var(--section-pad-y) 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted-white {
  color: var(--text-secondary);
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(220, 210, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(14px) saturate(var(--glass-sat));
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  margin-bottom: var(--section-label-mb);
  box-shadow: var(--shadow-soft);
  transition: border-color var(--t-smooth), color var(--t-smooth), background var(--t-smooth);
}

/* Center the pill when it’s the first thing in a section row */
section:not(.hero) > .container > .section-label:first-child {
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.section-label:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.18);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
  text-wrap: balance;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: var(--section-heading-subtitle-max);
  line-height: 1.48;
  margin-bottom: var(--section-header-trail);
}

/* Homepage: centered headers share the same title / subtitle width as each other */
.pillars .section-label,
.services-overview .section-label,
.process-section .section-label,
.testimonials .section-label,
.faq .section-label {
  text-align: center;
}

.pillars .section-title,
.pillars .section-subtitle,
.services-overview .section-title,
.services-overview .section-subtitle,
.pricing .section-title,
.pricing .section-subtitle,
.process-section .section-title,
.process-section .section-subtitle,
.testimonials .section-title,
.faq .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.pillars .section-title,
.services-overview .section-title,
.pricing .section-title,
.process-section .section-title,
.testimonials .section-title,
.faq .section-title {
  max-width: var(--section-heading-title-max);
}

.pillars .section-subtitle,
.services-overview .section-subtitle,
.pricing .section-subtitle,
.process-section .section-subtitle {
  max-width: var(--section-heading-subtitle-max);
}

/* No subtitle: extra space before grid / list */
.testimonials .section-title,
.faq .section-title {
  margin-bottom: var(--section-header-trail);
}

/* Centered CTA row below grids (replaces ad-hoc margin-top) */
.section-actions {
  margin-top: var(--section-header-trail);
  text-align: center;
}

/* Surfaces: soft glass + shared radius */
.pillar-card,
.service-card,
.pricing-card,
.testimonial-card,
.team-card,
.portfolio-card,
.contact-form-card,
.audit-box,
.stat-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.trust-badge {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

/* ============================
   BUTTONS
   ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition), background var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 24px rgba(68, 0, 255, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-blue));
  box-shadow: 0 6px 28px rgba(68, 0, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(68, 0, 255, 0.08);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn:focus-visible {
  outline: 2px solid rgba(68, 0, 255, 0.6);
  outline-offset: 2px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================
   NAVBAR
   ============================ */

.navbar {
  position: fixed;
  top: var(--banner-h, 0px);
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  /* Transparent over hero; glass once scrolled */
  background: none;
  background-color: transparent;
  background-image: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.35s ease,
    backdrop-filter 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.3s ease;
}

.navbar:hover,
.navbar:focus-within {
  background: none;
  background-color: transparent;
  background-image: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* Same vertical padding; frosted bar after scroll (height stable for --header-total) */
.navbar.scrolled {
  padding: 18px 0;
  background-color: rgba(6, 6, 14, 0.76);
  backdrop-filter: blur(20px) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(20px) saturate(var(--glass-sat));
  border-bottom-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
}

.logo {
  position: relative;
  z-index: 1002;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.logo span {
  color: var(--accent-blue);
}

/* Center menu: absolute so logo + CTA stay left/right */
.nav-center {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 1001;
}

.nav-actions {
  position: relative;
  z-index: 1002;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  pointer-events: auto;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Nav pills: white ~25% of prior opacity + glass ~25% strength (75% kam) */
.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-main);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(1px) saturate(102%);
  -webkit-backdrop-filter: blur(1px) saturate(102%);
  border: 1px solid rgba(255, 255, 255, 0.028);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.015),
    inset 0 1px 0 rgba(255, 255, 255, 0.01);
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.048);
  backdrop-filter: blur(1px) saturate(103%);
  -webkit-backdrop-filter: blur(1px) saturate(103%);
  border-color: rgba(255, 255, 255, 0.045);
  box-shadow:
    0 1px 5px rgba(0, 0, 0, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.015);
}

.nav-links a.active {
  color: #ffffff;
  background:
    rgba(68, 0, 255, 0.07),
    rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(1px) saturate(104%);
  -webkit-backdrop-filter: blur(1px) saturate(104%);
  border-color: rgba(140, 110, 255, 0.12);
  box-shadow:
    0 0 6px rgba(68, 0, 255, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.015);
}

.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  /* Minimum 44×44px touch target (iOS/Android HIG) */
  min-width: 44px;
  min-height: 44px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================
   HERO
   ============================ */

/* Pull hero under fixed navbar so azure/grid/glow show behind transparent header */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-total, 0px));
  min-height: 80vh;
  min-height: 80dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--header-total, 0px) + 64px) 0 80px;
  text-align: center;
  /* Background opening motion timing (desktop) */
  --hero-bg-dur: 2.45s;
  --hero-bg-ease: cubic-bezier(0.33, 1, 0.27, 1);
}

@media (max-width: 1000px) {
  .hero {
    --hero-bg-dur: 1.75s;
    padding: calc(var(--header-total, 0px) + 48px) 0 64px;
    min-height: 65vh;
    min-height: 65dvh;
    align-items: center;
  }

  .hero-content {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Opening only: start slightly “zoomed in” (large), settle to 1 - smooth, not snappy */
@keyframes heroDepthOpen {
  0% {
    opacity: 0.92;
    transform: scale(1.085);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroGridOpen {
  0% {
    opacity: 0.65;
    transform: scale(1.1);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroCurvedOpen {
  0% {
    opacity: 0.5;
    transform: scale(1.08);
  }

  100% {
    opacity: 0.9;
    transform: scale(1);
  }
}

@keyframes heroGlow1Open {
  0% {
    opacity: 0.68;
    transform: translateX(-50%) scale(1.12);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes heroGlow2Open {
  0% {
    opacity: 0.58;
    transform: scale(1.12);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-azure-depth {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 130% at 50% 100%, #000000 36%, #02024a 100%),
    linear-gradient(180deg, #040410 0%, #06061c 100%);
  transform-origin: 50% 55%;
  animation: heroDepthOpen var(--hero-bg-dur) var(--hero-bg-ease) 0s both;
  will-change: transform, opacity;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(107, 84, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 84, 255, 0.116) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 8%, black 58%, transparent 92%);
  transform-origin: 50% 22%;
  animation: heroGridOpen var(--hero-bg-dur) var(--hero-bg-ease) 0.12s both;
  will-change: transform, opacity;
}

.hero-curved-line {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
  transform-origin: 50% 32%;
  animation: heroCurvedOpen var(--hero-bg-dur) var(--hero-bg-ease) 0.2s both;
  will-change: transform, opacity;
}

.hero-curved-line svg {
  width: 100%;
  height: 100%;
}

.curve-path {
  fill: none;
  stroke: #4400ff42;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  filter: drop-shadow(0 0 8px rgba(68, 0, 255, 0.35));
  animation: drawCurve 4s ease-in-out infinite;
}

@keyframes drawCurve {
  0% { stroke-dashoffset: 1000; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1000; }
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(68, 0, 255, 0.16) 0%, transparent 72%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: 50% 45%;
  animation: heroGlow1Open var(--hero-bg-dur) var(--hero-bg-ease) 0.08s both;
  will-change: transform, opacity;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(68, 0, 255, 0.1) 0%, transparent 72%);
  bottom: 0;
  right: 10%;
  transform-origin: 70% 80%;
  animation: heroGlow2Open var(--hero-bg-dur) var(--hero-bg-ease) 0.16s both;
  will-change: transform, opacity;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1070px;
  margin: 0 auto;
  width: 100%;
}

/* h1 + absolutely positioned SVG label images (files in /SVG/) */
.hero-title-stage {
  position: relative;
  width: 100%;
  z-index: 2;
  overflow: visible;
}

/* One placement for all breakpoints - same geometry as former desktop (1200px+) */
.hero-svg {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  display: block;
  width: auto;
  height: 42px;
  max-width: 250px;
  object-fit: contain;
  /* Global `img { border-radius: 12px }` clips SVG artwork (cursor + pill corners) */
  border-radius: 0;
  overflow: visible;
}

.hero-svg--cpa {
  position: absolute;
  top: -86px;
  right: 4%;
  left: auto;
  bottom: auto;
  height: 38px;
  max-width: 185px;
  transform: translate(-35px, 50px);
  transition: none;
}

.hero-svg--influencer {
  position: absolute;
  left: -8%;
  top: 152%;
  right: auto;
  bottom: auto;
  transform: translate(115px, 4px);
  max-width: 250px;
  transition: none;
}

.hero-svg--marketing {
  position: absolute;
  top: 196%;
  right: -8%;
  left: auto;
  bottom: auto;
  transform: translate(-60px, -39px);
  max-width: 250px;
  transition: none;
}

/*
 * Hero label SVGs - tweak per viewport (≤1199px). Steps every 75px; narrower tiers listed last
 * so edits in a smaller max-width block override wider ones for that range.
 */
@media (max-width: 1199px) {
  .hero-svg {
    position: absolute;
    height: 42px;
    max-width: 250px;
  }

  .hero-svg--cpa {
    position: absolute;
    top: -89px;
    right: 7%;
    left: auto;
    bottom: auto;
    height: 38px;
    max-width: 185px;
    transform: translate(-35px, 50px);
  }

  .hero-svg--influencer {
    position: absolute;
    left: -5%;
    top: 152%;
    right: auto;
    bottom: auto;
    transform: translate(115px, 4px);
    max-width: 250px;
  }

  .hero-svg--marketing {
    position: absolute;
    top: 199%;
    right: -2%;
    left: auto;
    bottom: auto;
    transform: translate(-60px, -39px);
    max-width: 250px;
  }
}

@media (max-width: 1124px) {
  .hero-svg {
    position: absolute;
    height: 42px;
    max-width: 250px;
  }

  .hero-svg--cpa {
    position: absolute;
    top: -89px;
    right: 7%;
    left: auto;
    bottom: auto;
    height: 38px;
    max-width: 185px;
    transition: none;
    opacity: 1;
    visibility: inherit;
    transform: translate(-17px, 56px);
  }

  .hero-svg--influencer {
    position: absolute;
    left: -5%;
    top: 152%;
    right: auto;
    bottom: auto;
    transform: translate(140px, 4px);
    max-width: 250px;
  }

  .hero-svg--marketing {
    position: absolute;
    top: 199%;
    right: -2%;
    left: auto;
    bottom: auto;
    transform: translate(-60px, -39px);
    max-width: 250px;
  }
}

@media (max-width: 1049px) {
  .hero-svg {
    position: absolute;
    height: 42px;
    max-width: 250px;
  }

  .hero-svg--cpa {
    position: absolute;
    top: -89px;
    right: 7%;
    left: auto;
    bottom: auto;
    height: 38px;
    max-width: 185px;
    transform: translate(-17px, 56px);
  }

  .hero-svg--influencer {
    position: absolute;
    left: -5%;
    top: 152%;
    right: auto;
    bottom: auto;
    transform: translate(115px, 4px);
    max-width: 250px;
  }

  .hero-svg--marketing {
    position: absolute;
    top: 199%;
    right: -2%;
    left: auto;
    bottom: auto;
    transform: translate(-60px, -39px);
    max-width: 250px;
  }
}

/* CPA nudge for (974px, 1029px] viewports - overridden again at 974px and below */
@media (max-width: 1029px) {
  .hero-svg--cpa {
    transform: translate(22px, 56px);
  }
}

@media (max-width: 974px) {
  .hero-svg {
    position: absolute;
    height: 42px;
    max-width: 250px;
  }

  .hero-svg--cpa {
    position: absolute;
    top: -89px;
    right: 7%;
    left: auto;
    bottom: auto;
    height: 38px;
    max-width: 185px;
    transform: translate(8px, 32px);
  }

  .hero-svg--influencer {
    position: absolute;
    left: -5%;
    top: 152%;
    right: auto;
    bottom: auto;
    transform: translate(115px, -20px);
    max-width: 250px;
  }

  .hero-svg--marketing {
    position: absolute;
    top: 199%;
    right: -2%;
    left: auto;
    bottom: auto;
    transform: translate(-57px, -117px);
    max-width: 250px;
  }
}

@media (max-width: 899px) {
  .hero-svg {
    position: absolute;
    height: 42px;
    max-width: 250px;
  }

  .hero-svg--cpa {
    position: absolute;
    top: -89px;
    right: 7%;
    left: auto;
    bottom: auto;
    height: 38px;
    max-width: 185px;
    transform: translate(-17px, 56px);
  }

  .hero-svg--influencer {
    position: absolute;
    left: -5%;
    top: 152%;
    right: auto;
    bottom: auto;
    transform: translate(115px, 4px);
    max-width: 250px;
  }

  .hero-svg--marketing {
    position: absolute;
    top: 199%;
    right: -2%;
    left: auto;
    bottom: auto;
    transform: translate(-60px, -39px);
    max-width: 250px;
  }
}

@media (max-width: 824px) {
  .hero-svg {
    position: absolute;
    height: 42px;
    max-width: 250px;
  }

  .hero-svg--cpa {
    position: absolute;
    top: -89px;
    right: 7%;
    left: auto;
    bottom: auto;
    height: 38px;
    max-width: 185px;
    transform: translate(-17px, 56px);
  }

  .hero-svg--influencer {
    position: absolute;
    left: -5%;
    top: 152%;
    right: auto;
    bottom: auto;
    transform: translate(115px, 4px);
    max-width: 250px;
  }

  .hero-svg--marketing {
    position: absolute;
    top: 199%;
    right: -2%;
    left: auto;
    bottom: auto;
    transform: translate(-60px, -39px);
    max-width: 250px;
  }
}

@media (max-width: 749px) {
  /* ~40% smaller than default (60% scale) */
  .hero-svg {
    position: absolute;
    height: calc(42px * 0.6);
    max-width: calc(250px * 0.6);
  }

  .hero-svg--cpa {
    position: absolute;
    top: -89px;
    right: 7%;
    left: auto;
    bottom: auto;
    height: calc(38px * 0.6);
    max-width: calc(185px * 0.6);
    transform: translate(-17px, 56px);
  }

  .hero-svg--influencer {
    position: absolute;
    left: -5%;
    top: 152%;
    right: auto;
    bottom: auto;
    transform: translate(115px, 4px);
    max-width: calc(250px * 0.6);
  }

  .hero-svg--marketing {
    position: absolute;
    top: 199%;
    right: -2%;
    left: auto;
    bottom: auto;
    transform: translate(-60px, -39px);
    max-width: calc(250px * 0.6);
  }
}

@media (max-width: 674px) {
  .hero-svg {
    position: absolute;
    height: calc(42px * 0.6);
    max-width: calc(250px * 0.6);
  }

  .hero-svg--cpa {
    position: absolute;
    top: -74px;
    right: 7%;
    left: auto;
    bottom: auto;
    height: calc(38px * 0.6);
    max-width: calc(185px * 0.6);
    transform: translate(-17px, 56px);
  }

  .hero-svg--influencer {
    position: absolute;
    left: -11%;
    top: 152%;
    right: auto;
    bottom: auto;
    transform: translate(115px, 4px);
    max-width: calc(250px * 0.6);
  }

  .hero-svg--marketing {
    position: absolute;
    top: 199%;
    right: -2%;
    left: auto;
    bottom: auto;
    transform: translate(-60px, -39px);
    max-width: calc(250px * 0.6);
  }
}

@media (max-width: 599px) {
  .hero-svg {
    position: absolute;
    height: calc(42px * 0.6);
    max-width: calc(250px * 0.6);
  }

  .hero-svg--cpa {
    position: absolute;
    top: -89px;
    right: 7%;
    left: auto;
    bottom: auto;
    height: calc(38px * 0.6);
    max-width: calc(185px * 0.6);
    transform: translate(-17px, 56px);
  }

  .hero-svg--influencer {
    position: absolute;
    left: -5%;
    top: 152%;
    right: auto;
    bottom: auto;
    transform: translate(48px, 4px);
    max-width: calc(250px * 0.6);
  }

  .hero-svg--marketing {
    position: absolute;
    top: 199%;
    right: -2%;
    left: auto;
    bottom: auto;
    transform: translate(-34px, -49px);
    max-width: calc(250px * 0.6);
  }
}

@media (max-width: 524px) {
  .hero-svg {
    position: absolute;
    height: calc(42px * 0.6);
    max-width: calc(250px * 0.6);
  }

  .hero-svg--cpa {
    position: absolute;
    top: -89px;
    right: 7%;
    left: auto;
    bottom: auto;
    height: calc(38px * 0.6);
    max-width: calc(185px * 0.6);
    transform: translate(-17px, 56px);
  }

  .hero-svg--influencer {
    position: absolute;
    left: -5%;
    top: 152%;
    right: auto;
    bottom: auto;
    transform: translate(115px, 4px);
    max-width: calc(250px * 0.6);
  }

  .hero-svg--marketing {
    position: absolute;
    top: 199%;
    right: -2%;
    left: auto;
    bottom: auto;
    transform: translate(-60px, -39px);
    max-width: calc(250px * 0.6);
  }
}

@media (max-width: 449px) {
  .hero-svg {
    position: absolute;
    height: calc(42px * 0.6);
    max-width: calc(250px * 0.6);
  }

  .hero-svg--cpa {
    position: absolute;
    top: -89px;
    right: 7%;
    left: auto;
    bottom: auto;
    height: calc(38px * 0.6);
    max-width: calc(185px * 0.6);
    transform: translate(18px, 56px);
  }

  .hero-svg--influencer {
    position: absolute;
    left: -5%;
    top: 152%;
    right: auto;
    bottom: auto;
    transform: translate(48px, 4px);
    max-width: calc(250px * 0.6);
  }

  .hero-svg--marketing {
    position: absolute;
    top: 199%;
    right: -2%;
    left: auto;
    bottom: auto;
    transform: translate(-29px, -39px);
    max-width: calc(250px * 0.6);
  }
}

@media (max-width: 374px) {
  .hero-svg {
    position: absolute;
    height: calc(42px * 0.6);
    max-width: calc(250px * 0.6);
  }

  .hero-svg--cpa {
    position: absolute;
    top: -89px;
    right: 7%;
    left: auto;
    bottom: auto;
    height: calc(38px * 0.6);
    max-width: calc(185px * 0.6);
    transform: translate(20px, 54px);
  }

  .hero-svg--influencer {
    position: absolute;
    left: -5%;
    top: 152%;
    right: auto;
    bottom: auto;
    transform: translate(26px, 23px);
    max-width: calc(250px * 0.6);
  }

  .hero-svg--marketing {
    position: absolute;
    top: 199%;
    right: -2%;
    left: auto;
    bottom: auto;
    transform: translate(-9px, -15px);
    max-width: calc(250px * 0.6);
  }
}

@media (max-width: 299px) {
  .hero-svg {
    position: absolute;
    height: calc(42px * 0.6);
    max-width: calc(250px * 0.6);
  }

  .hero-svg--cpa {
    position: absolute;
    top: -89px;
    right: 7%;
    left: auto;
    bottom: auto;
    height: calc(38px * 0.6);
    max-width: calc(185px * 0.6);
    transform: translate(-17px, 56px);
  }

  .hero-svg--influencer {
    position: absolute;
    left: -5%;
    top: 152%;
    right: auto;
    bottom: auto;
    transform: translate(115px, 4px);
    max-width: calc(250px * 0.6);
  }

  .hero-svg--marketing {
    position: absolute;
    top: 199%;
    right: -2%;
    left: auto;
    bottom: auto;
    transform: translate(-60px, -39px);
    max-width: calc(250px * 0.6);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: rgba(68, 0, 255, 0.08);
  border: 1px solid rgba(68, 0, 255, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  text-align: center;
}

/* Line 1: “Turn Your Marketing” stays one row; line 2 may wrap */
.hero-title-line1 {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  white-space: nowrap;
}

.hero-title-line2 {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  white-space: normal;
  margin-top: 0.14em;
  line-height: 1.14;
}

.hero-keyword {
  position: relative;
  display: inline-block;
  margin: 0 0.08em;
  padding: 0.08em 0.32em 0.12em;
  border: 2px solid rgba(138, 112, 255, 0.95);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(68, 0, 255, 0.18), rgba(68, 0, 255, 0.08));
  box-shadow: 0 0 24px rgba(68, 0, 255, 0.22);
  vertical-align: baseline;
  line-height: 1;
  transform: rotate(-3deg);
  transform-origin: center;
}

.hero-keyword-text {
  color: #f8f7ff;
  letter-spacing: -0.01em;
  line-height: 1;
}

.hero-keyword-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8b6ff;
  box-shadow: 0 0 10px rgba(200, 182, 255, 0.85);
}

.hero-keyword-dot.dot-tl { top: -5px; left: -5px; }
.hero-keyword-dot.dot-tr { top: -5px; right: -5px; }
.hero-keyword-dot.dot-bl { bottom: -5px; left: -5px; }
.hero-keyword-dot.dot-br { bottom: -5px; right: -5px; }

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  line-height: 1.5;
  text-align: center;
}

.hero-proof {
  font-size: 0.92rem;
  color: rgba(240, 240, 255, 0.75);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.35rem;
  /* GSAP scales this block - keep origin centered so flex row doesn’t “pull” sideways */
  transform-origin: 50% 50%;
}

/* Hero CTA: white pill + theme circle (balanced proportions) */
.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 5px 6px 5px 1.5rem;
  min-height: 52px;
  background: #ffffff;
  color: #0a0a0a;
  border-radius: 999px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 8px 28px rgba(0, 0, 0, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.12);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition),
    color var(--transition);
}

.btn-hero-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-blue));
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 2px 16px rgba(68, 0, 255, 0.45),
    0 14px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-hero-cta:hover .btn-hero-cta-icon {
  background: #ffffff;
  color: var(--accent-blue);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-hero-cta-text {
  line-height: 1.15;
  white-space: nowrap;
}

.btn-hero-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-blue-light), var(--accent-blue));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 2px 8px rgba(68, 0, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  overflow: visible;
  transition:
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.btn-hero-cta-svg {
  display: block;
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.35, 0.64, 1);
}

.btn-hero-cta:hover .btn-hero-cta-svg {
  transform: translate(5px, -6px);
}

.btn-hero-cta:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

/* Header Contact: theme gradient, text only (no icon) */
.btn-hero-cta.btn-hero-cta--nav {
  min-height: 46px;
  padding: 0.55rem 1.35rem;
  gap: 0;
  font-size: 0.82rem;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-blue));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 2px 16px rgba(68, 0, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-hero-cta.btn-hero-cta--nav .btn-hero-cta-icon {
  display: none;
}

.btn-hero-cta.btn-hero-cta--nav:hover {
  transform: translateY(-2px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow:
    0 8px 28px rgba(68, 0, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-hero-cta.btn-hero-cta--nav:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

/* Header Contact - smaller on tablet (hamburger still hidden above 768) */
@media (max-width: 1199px) and (min-width: 769px) {
  .btn-hero-cta.btn-hero-cta--nav {
    min-height: 42px;
    padding: 0.48rem 1.05rem;
    font-size: 0.75rem;
  }
}

.hero-trust-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-trust-row i {
  color: var(--accent-blue-light);
  margin-right: 6px;
}

.hero-trust-row .trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding: 4px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent-blue);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

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

.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s forwards;
}

/*
 * index.html homepage hero: GSAP runs the entrance. Turn off CSS fadeUp from first paint
 * so it doesn’t play briefly (~0.2s) then stop when JS hands off - looks like two animations.
 * html.gsap-hero is removed in main.js if GSAP didn’t load (fallback to CSS fadeUp).
 */
html.gsap-hero .hero .animate-fade-up {
  animation: none;
  animation-delay: 0s;
}

/* GSAP runs hero-svg intro - hide until JS runs (avoids flash then re-hide, “double” feel) */
html.gsap-hero .hero .hero-svg {
  opacity: 0;
  visibility: hidden;
}

.animate-on-scroll {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* IO fallback / no-JS - GSAP adds .is-inview instead and clears inline styles */
.animate-on-scroll.visible,
.animate-on-scroll.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  visibility: visible;
  will-change: auto;
}

.delay-1 {
  animation-delay: 0.15s;
  transition-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.3s;
  transition-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.45s;
  transition-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.6s;
  transition-delay: 0.4s;
}

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

/* ============================
   PILLARS: reference layout (01-03, kickers, site accent)
   ============================ */

.pillars {
  position: relative;
  background: transparent;
  overflow: hidden;
}

.pillars::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 45% at 50% -20%, rgba(68, 0, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 60%, rgba(68, 0, 255, 0.06), transparent 50%);
  pointer-events: none;
}

.pillars .container {
  position: relative;
  z-index: 1;
}

.pillars .section-subtitle {
  color: var(--text-secondary);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2.2vw, 1.65rem);
  margin-top: var(--section-header-trail);
  align-items: stretch;
}

.pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.75rem, 3.6vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(
    168deg,
    rgba(14, 14, 22, 0.98) 0%,
    rgba(8, 8, 14, 0.99) 48%,
    rgba(6, 6, 12, 1) 100%
  );
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 0.5s var(--ease-premium),
    border-color 0.35s ease,
    box-shadow 0.5s var(--ease-premium);
}

/* Large background index (top-right), subtle; only homepage pillars grid */
.pillars-grid .pillar-card:nth-child(1)::before {
  content: '01';
}

.pillars-grid .pillar-card:nth-child(2)::before {
  content: '02';
}

.pillars-grid .pillar-card:nth-child(3)::before {
  content: '03';
}

.pillars .pillar-card::before {
  position: absolute;
  top: 0.15rem;
  right: -0.2rem;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 6.5rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.065em;
  color: rgba(68, 0, 255, 0.1);
  text-shadow: 0 0 42px rgba(68, 0, 255, 0.15);
}

.pillars .pillar-card > * {
  position: relative;
  z-index: 1;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(68, 0, 255, 0.35);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(68, 0, 255, 0.12),
    0 0 48px rgba(68, 0, 255, 0.14);
}

/* Accent icon box (matches each pillar topic) */
.pillar-num {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  color: var(--accent-blue-light);
  background: linear-gradient(150deg, rgba(68, 0, 255, 0.2) 0%, rgba(68, 0, 255, 0.06) 100%);
  border: 1px solid rgba(68, 0, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(68, 0, 255, 0.08),
    0 12px 32px rgba(68, 0, 255, 0.22);
}

.pillar-num i {
  font-size: 1.15rem;
  line-height: 1;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0 0 0.55rem;
  color: var(--text-primary);
}

.pillar-kicker {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--accent-blue-light);
  text-shadow: 0 0 22px var(--accent-glow);
}

.pillar-body {
  margin: 0 0 1.35rem;
  flex: 1;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.48;
}

.pillars .pillar-card-link.card-link {
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue-light);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 0.12rem;
  border-bottom: 1px solid rgba(91, 43, 255, 0.45);
  transition: color 0.25s ease, gap 0.25s ease, border-color 0.25s ease;
}

.pillars .pillar-card-link.card-link:hover {
  color: var(--accent-blue);
  border-color: rgba(68, 0, 255, 0.5);
  gap: 0.58rem;
}

@media (prefers-reduced-motion: reduce) {
  .pillar-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .pillar-card:hover {
    transform: none;
  }
}

/* Icon variant (e.g. about page): same accent box language as .pillar-num */
.pillar-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.12rem;
  color: var(--accent-blue);
  background: linear-gradient(150deg, rgba(68, 0, 255, 0.2) 0%, rgba(68, 0, 255, 0.06) 100%);
  border: 1px solid rgba(68, 0, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(68, 0, 255, 0.08),
    0 12px 32px rgba(68, 0, 255, 0.22);
}

/* ============================
   TRANSFORMATION
   ============================ */

.transformation {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.transform-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap-split);
  align-items: center;
}

.transform-text .section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

.transform-text p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  font-size: 0.97rem;
}

.transform-text .btn-outline {
  margin-top: var(--space-6);
}

.transform-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.stat-card {
  background: var(--glass-panel);
  background-color: var(--glass-shade);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}

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

.stat-card.accent {
  background: linear-gradient(135deg, rgba(68, 0, 255, 0.12), rgba(255, 255, 255, 0.03));
  border-color: rgba(91, 43, 255, 0.25);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}

.stat-big {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-blue);
  min-width: 100px;
  line-height: 1;
}

.stat-card.accent .stat-big {
  color: var(--accent-blue);
}

.stat-card span:last-child {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================
   SERVICES OVERVIEW
   ============================ */

.services-overview {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.service-card {
  background: var(--glass-panel);
  background-color: var(--glass-shade);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}

.service-card:hover {
  border-color: var(--border-hover);
  background-color: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow-card);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(68, 0, 255, 0.1);
  border: 1px solid rgba(68, 0, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-blue);
  margin-bottom: 1.2rem;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(68, 0, 255, 0.14);
  border-color: rgba(68, 0, 255, 0.22);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ============================
   PRICING
   ============================ */

.pricing {
  background: var(--bg-primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  align-items: stretch;
  margin-top: var(--section-header-trail);
}

.pricing-card {
  background: var(--glass-panel);
  background-color: var(--glass-shade);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}

.pricing-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}

.pricing-card.featured {
  background: linear-gradient(165deg, rgba(68, 0, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 55%, rgba(255, 255, 255, 0.025) 100%);
  border-color: rgba(91, 43, 255, 0.38);
  box-shadow: var(--shadow-glow);
  z-index: 1;
}

.pricing-card.featured:hover {
  border-color: rgba(140, 110, 255, 0.45);
  box-shadow: 0 14px 48px rgba(68, 0, 255, 0.18);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.featured-badge i {
  font-size: 0.42rem;
}

.plan-tier {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.pricing-card.featured .plan-tier {
  color: var(--accent-blue-light);
}

.plan-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
  line-height: 1.5;
}

.plan-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
  margin-bottom: 1.25rem;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex: 1;
}

.pricing-card .btn {
  margin-top: auto;
}

/* Dual-button wrapper inside pricing cards */
.pricing-card__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* Override the auto margin on individual buttons inside the actions wrapper */
.pricing-card__actions .btn {
  margin-top: 0;
}

/* WhatsApp CTA button */
.btn-whatsapp {
  background: transparent;
  color: #25d366 !important;
  border: 1px solid #25d366;
  gap: 0.5rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: #25d366;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.18);
}

.btn-whatsapp i {
  font-size: 1.15em;
  flex-shrink: 0;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.plan-features li i {
  color: var(--accent-blue);
  font-size: 0.9rem;
  flex-shrink: 0;
  opacity: 0.9;
}

.pricing-footnote {
  margin-top: var(--space-8);
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.pricing-footnote-link {
  color: var(--accent-blue-light);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* Homepage: Investment in Growth — full viewport (desktop), horizontal cards (mobile) */
.pricing--invest {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(2.25rem, 5vh, 3.5rem);
  box-sizing: border-box;
  background: var(--bg-primary);
}

.pricing--invest .pricing-invest__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.25rem, 3vh, 2rem);
  width: 100%;
}

.pricing--invest .pricing-invest__head {
  text-align: center;
}

.pricing-invest__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto clamp(0.85rem, 2vw, 1.1rem);
  padding: 0.45rem 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-blue-light);
  border: 1px solid rgba(91, 43, 255, 0.45);
  border-radius: 9999px;
  background: rgba(68, 0, 255, 0.08);
  box-shadow: 0 0 24px rgba(68, 0, 255, 0.12);
}

.pricing--invest .pricing-invest__lead {
  margin-bottom: 0;
}

.pricing-invest__track-wrap {
  width: 100%;
  min-width: 0;
}

.pricing-invest__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: stretch;
}

.pricing--invest .pricing-card--invest {
  padding: clamp(1.35rem, 2.2vw, 2rem) clamp(1.25rem, 2vw, 1.85rem);
}

.pricing-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.pricing-card__top .plan-tier {
  margin-bottom: 0;
  color: var(--text-muted);
  letter-spacing: 0.2em;
}

.plan-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.plan-icon--outline {
  border: 1px solid rgba(91, 43, 255, 0.45);
  color: var(--accent-blue-light);
  background: rgba(68, 0, 255, 0.06);
}

.plan-icon--solid {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(68, 0, 255, 0.35);
}

.plan-price-block {
  margin-bottom: 0.85rem;
}

.plan-price-main {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}

.plan-currency {
  font-size: 0.55em;
  font-weight: 600;
  opacity: 0.85;
  margin-right: 0.06em;
}

.plan-period {
  font-size: 0.42em;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 0.12em;
}

.plan-price-setup {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.plan-blurb {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.plan-desc--accent {
  color: var(--accent-blue-light);
  font-weight: 600;
}

.pricing-card__cta {
  justify-content: center;
  gap: 0.5rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.pricing-card__cta .fa-arrow-up-right {
  font-size: 0.78em;
  opacity: 0.9;
}

.pricing-card__cta:hover {
  transform: translateY(-1px);
}

.pricing--invest .pricing-card.featured {
  padding-top: 50px;
  box-shadow:
    0 0 0 1px rgba(91, 43, 255, 0.35),
    0 12px 48px rgba(68, 0, 255, 0.22);
}

.pricing--invest .pricing-card.featured:hover {
  box-shadow:
    0 0 0 1px rgba(140, 110, 255, 0.45),
    0 16px 52px rgba(68, 0, 255, 0.26);
}

.pricing--invest .pricing-footnote {
  margin-top: clamp(0.75rem, 2vh, 1.25rem);
}

/* Slider nav — hidden on desktop, shown on mobile */
.pricing-slider-nav {
  display: none;
}

@media (max-width: 900px) {
  .pricing--invest {
    min-height: 0;
    justify-content: flex-start;
    padding-block: var(--section-pad-y-mobile);
    overflow-x: hidden;
  }

  .pricing-invest__track-wrap {
    container-type: inline-size;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pricing-invest__track-wrap::-webkit-scrollbar {
    display: none;
  }

  .pricing-invest__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
  }

  .pricing--invest .pricing-invest__track .pricing-card--invest {
    flex: 0 0 100cqi;
    width: 100cqi;
    box-sizing: border-box;
    padding: clamp(1.35rem, 2.2vw, 2rem) clamp(1.1rem, 4.5vw, 1.5rem);
    scroll-snap-align: start;
    transform: none;
  }

  .pricing--invest .pricing-invest__track .pricing-card.featured {
    transform: none;
    /* Match other cards — badge is inside flow, not floating above */
    padding-top: clamp(1.35rem, 2.2vw, 2rem) !important;
  }

  /* Pull badge back inside the card on mobile — no more sticking out above */
  .pricing--invest .pricing-invest__track .pricing-card.featured .featured-badge {
    position: static;
    transform: none;
    margin: 0 auto 0.85rem;
    width: fit-content;
  }

  /* Slider nav */
  .pricing-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: -0.25rem;
  }

  .pricing-slider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid rgba(91, 43, 255, 0.4);
    border-radius: 50%;
    background: rgba(68, 0, 255, 0.08);
    color: var(--accent-blue-light);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
  }

  .pricing-slider-btn:hover {
    background: rgba(68, 0, 255, 0.18);
    border-color: rgba(91, 43, 255, 0.7);
  }

  .pricing-slider-dots {
    display: flex;
    gap: 0.45rem;
    align-items: center;
  }

  .pricing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(91, 43, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
  }

  .pricing-dot.is-active {
    background: var(--accent-blue-light);
    transform: scale(1.35);
  }

  .pricing--invest .plan-features {
    gap: var(--space-2);
    margin-bottom: var(--space-4);
  }

  .pricing--invest .plan-features li {
    font-size: 0.84rem;
  }

  .pricing--invest .plan-blurb {
    font-size: 0.8rem;
  }
}

/* ============================
   TESTIMONIALS
   ============================ */

.testimonials {
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.testimonial-card {
  background: var(--glass-panel);
  background-color: var(--glass-shade);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}

.testimonial-card::after {
  content: '\201C';
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 5rem;
  color: var(--accent-blue);
  opacity: 0.1;
  font-family: serif;
  line-height: 1;
}

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

.stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 4px;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================
   FAQ
   ============================ */

.faq {
  background: var(--bg-primary);
}

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

.faq-item {
  background: var(--glass-panel);
  background-color: var(--glass-shade);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 1.8rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: color var(--transition);
  font-family: var(--font-main);
}

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

.faq-icon {
  flex-shrink: 0;
  color: var(--accent-blue);
  transition: transform 0.3s ease;
  font-size: 0.85rem;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 1.8rem 1.4rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.48;
}

/* ============================
   FREE AUDIT / LEAD CAPTURE
   ============================ */

.audit {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

/* Tighter than global .section-pad - audit card already carries padding */
.audit.section-pad {
  padding: var(--section-pad-y-sm) 0;
}

.audit-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 32rem);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}

.audit-aside {
  text-align: left;
  padding-top: 0.35rem;
  max-width: 36rem;
}

.audit-aside-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-blue-light);
  margin-bottom: var(--space-4);
}

.audit-aside-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.audit-aside-lead {
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.audit-aside-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.audit-aside-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.audit-aside-list li i {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(68, 0, 255, 0.12);
  border: 1px solid rgba(91, 43, 255, 0.28);
  color: var(--accent-blue-light);
  font-size: 0.85rem;
  margin-top: 0.1rem;
}

.audit-aside-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.audit-aside-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0;
}

.audit-aside-note i {
  color: var(--accent-blue);
  opacity: 0.9;
}

.audit-box {
  position: relative;
  background: var(--glass-panel);
  background-color: rgba(8, 8, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: clamp(1.35rem, 3.5vw, 2rem) clamp(1.15rem, 3.5vw, 1.75rem);
  max-width: 100%;
  width: 100%;
  margin: 0;
  margin-left: auto;
  text-align: left;
  overflow: hidden;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}

.audit-box .section-label {
  margin-bottom: 0.55rem;
  margin-left: 0;
  margin-right: 0;
  padding: 0.35rem 0.85rem;
  font-size: 0.68rem;
  justify-content: flex-start;
}

.audit-glow {
  position: absolute;
  top: -64px;
  right: -48px;
  left: auto;
  transform: none;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(68, 0, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.audit-box-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  color: var(--text-primary);
}

/* Only the intro blurb - avoid huge margins on nested diagnostic copy */
.audit-box > .audit-intro-copy {
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.audit-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.audit-form input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: var(--font-main);
  transition: border-color var(--transition);
}

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

.audit-form input:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(68, 0, 255, 0.05);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ── Audit: multi-step diagnostic ── */
.audit-intro-copy {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.audit-diagnostic {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 560px;
  margin: 0 auto;
}

.audit-tool-header {
  text-align: center;
  margin-bottom: 0.65rem;
}

.audit-tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200, 190, 255, 0.95);
  background: rgba(68, 0, 255, 0.12);
  border: 1px solid rgba(91, 43, 255, 0.35);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.25rem;
}

.audit-tool-badge i {
  font-size: 0.85rem;
  color: var(--accent-blue);
}

.audit-tool-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
}

.audit-progress {
  margin-bottom: 0.65rem;
}

.audit-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.audit-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  overflow: hidden;
}

.audit-progress-fill {
  height: 100%;
  width: 20%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-light));
  transition: width 0.45s var(--ease-premium);
}

.audit-steps {
  min-height: 0;
}

.audit-step {
  display: none;
  animation: auditStepIn 0.45s var(--ease-premium) both;
}

.audit-step.is-active {
  display: block;
}

.audit-step[hidden] {
  display: none !important;
}

.audit-step.is-active[hidden] {
  display: none !important;
}

@keyframes auditStepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.audit-step-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-blue-light);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.audit-step-tag i {
  opacity: 0.85;
}

.audit-q-title {
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 2.1vw, 1.12rem);
  font-weight: 700;
  line-height: 1.32;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.audit-options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.audit-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 600;
  font-family: var(--font-main);
  color: var(--text-primary);
  cursor: pointer;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.audit-option:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.055);
}

.audit-option.is-selected {
  border-color: rgba(91, 43, 255, 0.55);
  background: rgba(68, 0, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(68, 0, 255, 0.15);
}

.audit-option-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: transparent;
  flex-shrink: 0;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.audit-option.is-selected .audit-option-check {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
}

.audit-step--score .audit-q-title {
  margin-bottom: 0.55rem;
}

.audit-score-card {
  text-align: center;
  padding: 0.75rem 0.65rem 0.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.audit-score-hero {
  margin-bottom: 0.65rem;
}

.audit-score-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}

.audit-score-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.audit-score-suffix {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.85;
}

.audit-score-meter {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 240px;
  margin: 0 auto 0.55rem;
}

.audit-score-meter-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-light));
  transition: width 0.6s var(--ease-premium);
}

.audit-score-tier {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.3rem;
}

.audit-score-blurb {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 32rem;
}

.audit-score-insights {
  list-style: none;
  padding: 0;
  margin: 0.55rem 0 0;
  text-align: left;
}

.audit-score-insights li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.4rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.audit-score-insights li::before {
  content: '\f0eb';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.52rem;
  font-size: 0.68rem;
  color: var(--accent-blue-light);
  opacity: 0.9;
}

.audit-score-next-hint {
  font-size: 0.75rem;
  line-height: 1.4;
  margin: 0.65rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.audit-step--form .audit-form-lead {
  font-size: 0.82rem;
  margin-bottom: 0.55rem;
  line-height: 1.45;
  text-align: left;
}

.audit-step--form .audit-form {
  margin-top: 0;
}

.audit-step--form .form-note {
  margin-top: 0.35rem;
  margin-bottom: 0;
  font-size: 0.75rem;
}

.audit-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
}

.audit-nav-spacer {
  flex: 1;
}

.audit-nav-back {
  flex-shrink: 0;
}

.audit-nav-next {
  min-width: 120px;
}

.audit-nav .btn-lg {
  padding: 0.55rem 1.05rem;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
}

.audit-step--form .btn-lg.btn-full {
  padding: 0.65rem 1.15rem;
  font-size: 0.9rem;
}

.audit-nav-next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 600px) {
  .audit-nav {
    flex-wrap: wrap;
  }

  .audit-nav-spacer {
    display: none;
  }

  .audit-nav-next {
    width: 100%;
    order: -1;
  }

  .audit-nav-back {
    width: 100%;
  }
}

/* ============================
   CTA BANNER
   ============================ */

.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(175deg, rgba(68, 0, 255, 0.06) 0%, rgba(6, 6, 12, 0.92) 55%, var(--bg-primary) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.cta-inner p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: var(--section-header-trail);
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================
   FOOTER
   ============================ */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: var(--section-pad-y) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--grid-gap-lg);
  padding-bottom: var(--section-pad-y);
  min-width: 0;
}

.footer-grid > * {
  min-width: 0;
}

.footer-brand .logo {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
  transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent-blue);
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-contact li i {
  flex-shrink: 0;
  margin-top: 0.2em;
  color: var(--accent-blue);
  font-size: 0.85rem;
  width: 16px;
}

.footer-contact a {
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--accent-blue);
}

.footer-contact a[href^="mailto:"] {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-muted);
  transition: color var(--transition);
}

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

/* ============================
   PAGE HERO (inner pages)
   ============================ */

.page-hero {
  /* Fixed nav: top = header + tight gap only */
  padding-top: max(0.75rem, calc(var(--header-total, 76px) + 0.65rem));
  padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  padding-left: 0;
  padding-right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

@media (min-width: 901px) {
  .page-hero {
    padding-top: max(0.75rem, calc(var(--header-total, 76px) + 0.6rem));
    padding-bottom: clamp(1.25rem, 2vw, 1.5rem);
  }
}

.page-hero-glow {
  position: absolute;
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(68, 0, 255, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

/* Inner pages (portfolio, contact, etc.): centered hero block */
.page-hero--inner .page-hero-content {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.page-hero--inner .breadcrumb {
  justify-content: center;
}

.page-hero--inner .hero-title {
  margin-left: auto;
  margin-right: auto;
}

/* Compact section-label margin inside every page-hero */
.page-hero .section-label {
  margin-bottom: 0.65rem;
}

/* Inner pages without --inner: breadcrumb is left; match headline + subcopy */
.page-hero:not(.page-hero--inner) .hero-title {
  text-align: left;
  font-size: clamp(1.85rem, 4vw, 3rem);
  margin-bottom: 0.65rem;
  margin-left: 0;
  margin-right: 0;
  max-width: 52rem;
}

.page-hero:not(.page-hero--inner) .hero-subtitle {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 42rem;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.48;
  margin-bottom: 0;
}

/* Inner (centered) hero: also compact title/subtitle */
.page-hero--inner .hero-title {
  font-size: clamp(1.85rem, 4vw, 3rem);
  margin-bottom: 0.65rem;
}

.page-hero--inner .hero-subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.48;
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.breadcrumb a {
  color: var(--accent-blue);
}

.breadcrumb i {
  font-size: 0.65rem;
}

/* ============================
   ABOUT PAGE
   ============================ */

.about-mission {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-founded-lead {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.45;
}

.about-founded-lead strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-purpose-head {
  text-align: center;
}

.about-purpose-head .section-label {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.about-purpose-head .section-title {
  margin-bottom: 2rem;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.about-mission-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.about-mission-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.42;
  text-align: left;
}

.about-mission-card p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.pillar-card.about-stat-card {
  align-items: center;
  text-align: center;
}

.about-purpose-foot {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.42;
}

.about-purpose-foot strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-stats {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-stats .section-title {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.about-stat-card {
  text-align: center;
}

.about-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.about-stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.45;
}

.page-hero .about-page-hero-title {
  font-size: clamp(1.85rem, 4vw, 3rem);
  margin-bottom: 0.65rem;
}

.about-intro {
  padding: var(--section-pad-y) 0;
  background: var(--bg-primary);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap-split);
  align-items: center;
}

.about-img-block {
  position: relative;
  padding-bottom: 0.5rem;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: 0;
  right: clamp(0.75rem, 3vw, 1.875rem);
  max-width: min(100% - 1.5rem, 280px);
  background: var(--glass-panel);
  background-color: var(--glass-shade);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(14px) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(14px) saturate(var(--glass-sat));
  box-shadow: var(--shadow-soft);
}

.about-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(68, 0, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.2rem;
}

.about-badge strong {
  display: block;
  font-size: 1.3rem;
  font-family: var(--font-display);
}

.about-badge span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-text .section-title {
  margin-bottom: var(--space-3);
}

.about-text p {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.5;
  margin-bottom: var(--space-5);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--section-header-trail);
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.value-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(68, 0, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 0.9rem;
  margin-top: 2px;
}

.value-item strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.value-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.values-grid--about {
  margin-top: 2.5rem;
}

/* Team section */
.team-section {
  background: var(--bg-secondary);
  padding: var(--section-pad-y) 0;
}

.team-section .section-label {
  text-align: center;
  margin-bottom: var(--section-label-mb);
}

.team-section .section-title {
  text-align: center;
  display: block;
  margin: 0 auto var(--space-3);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  margin-top: var(--section-header-trail);
}

.team-card {
  background: var(--glass-panel);
  background-color: var(--glass-shade);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}

.team-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.team-card .team-role {
  font-size: 0.82rem;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ============================
   PORTFOLIO PAGE
   ============================ */

.portfolio-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.portfolio-filter {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--section-header-trail);
  justify-content: center;
  padding-bottom: 2px;
}

@media (max-width: 640px) {
  .portfolio-filter {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin-left: calc(-1 * var(--space-4));
    margin-right: calc(-1 * var(--space-4));
    padding-left: var(--space-4);
    padding-right: var(--space-4);
    mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  }

  .portfolio-filter::-webkit-scrollbar {
    height: 4px;
  }

  .filter-btn {
    flex-shrink: 0;
  }
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  font-family: var(--font-main);
  backdrop-filter: blur(12px) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(12px) saturate(var(--glass-sat));
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.portfolio-card {
  background: var(--glass-panel);
  background-color: var(--glass-shade);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--t-smooth);
  cursor: pointer;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}

.portfolio-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.portfolio-card:focus-visible {
  outline: 2px solid rgba(91, 43, 255, 0.55);
  outline-offset: 3px;
}

.portfolio-img {
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, rgba(68, 0, 255, 0.2), rgba(45, 0, 184, 0.07));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.25rem, 5vw, 3rem);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.portfolio-img > i {
  position: relative;
  z-index: 1;
  color: var(--accent-blue-light);
  opacity: 0.92;
  filter: drop-shadow(0 2px 12px rgba(68, 0, 255, 0.35));
}

.portfolio-img--t2 {
  background: linear-gradient(145deg, rgba(91, 43, 255, 0.18), rgba(68, 0, 255, 0.06));
}

.portfolio-img--t3 {
  background: linear-gradient(145deg, rgba(45, 0, 184, 0.2), rgba(91, 43, 255, 0.08));
}

.portfolio-img--t4 {
  background: linear-gradient(145deg, rgba(68, 0, 255, 0.14), rgba(91, 43, 255, 0.12));
}

.portfolio-img--t5 {
  background: linear-gradient(145deg, rgba(91, 43, 255, 0.12), rgba(45, 0, 184, 0.14));
}

.portfolio-img--t6 {
  background: linear-gradient(145deg, rgba(68, 0, 255, 0.1), rgba(91, 43, 255, 0.16));
}

.portfolio-img-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(160deg, rgba(68, 0, 255, 0.45), rgba(15, 10, 30, 0.72));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-smooth);
}

.portfolio-img-overlay__icon {
  color: #fff;
  font-size: 1.65rem;
  opacity: 0.95;
}

.portfolio-card:hover .portfolio-img-overlay {
  opacity: 1;
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-tag {
  font-size: 0.72rem;
  color: var(--accent-blue);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.portfolio-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  color: var(--text-primary);
}

.portfolio-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.portfolio-result {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #22c55e;
  font-weight: 600;
}

/* ============================
   SERVICES PAGE
   ============================ */

.services-page {
  background: var(--bg-primary);
}

.page-hero--services {
  /* Inherit compact .page-hero padding; services content carries its own rhythm */
  padding-bottom: clamp(2rem, 3.5vw, 2.85rem);
}

@media (min-width: 901px) {
  .page-hero--services {
    padding-bottom: clamp(1.85rem, 2.8vw, 2.5rem);
  }
}

.page-hero--services .page-hero-glow {
  width: min(720px, 90vw);
  height: min(420px, 55vh);
  top: -140px;
  right: -180px;
  background: radial-gradient(ellipse at center, rgba(68, 0, 255, 0.14) 0%, transparent 68%);
}

.services-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 78%);
  pointer-events: none;
}

.page-hero-content--services {
  max-width: 72rem;
}

.services-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.services-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
  text-align: left;
  color: var(--text-primary);
}

.services-hero-lead {
  max-width: 38rem;
  margin-bottom: 2rem;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.services-hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0;
  margin: 0;
}

.services-hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 5.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.services-hero-stat__value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.services-hero-stat__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.services-hero-aside {
  position: sticky;
  top: calc(var(--header-total, 76px) + 1rem);
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--glass-panel);
  background-color: var(--glass-shade);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  box-shadow: var(--shadow-soft);
}

.services-hero-aside__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.services-toc {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.services-toc a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.services-toc a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.services-toc__i {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(68, 0, 255, 0.12);
  color: var(--accent-blue-light);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Catalog + panels */
.services-catalog {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: clamp(2.25rem, 5vw, 3.5rem) 0 !important;
}

.services-catalog .section-subtitle {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.services-catalog-subtitle {
  max-width: 40rem;
}

/* Long-form panels: show on desktop only; mobile & tablet use preview cards + CTA */
@media (max-width: 1023px) {
  .services-page .services-catalog {
    display: none;
  }
}

.services-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

/* ── Service panel card ── */
.service-panel {
  scroll-margin-top: calc(var(--header-total, 76px) + 14px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-panel:hover {
  border-color: rgba(91, 43, 255, 0.28);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(68, 0, 255, 0.1);
}

.service-panel.panel--active {
  border-color: #22c55e;
  box-shadow:
    0 0 0 2px #22c55e,
    0 8px 40px rgba(34, 197, 94, 0.25);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Left accent bar */
.service-panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-blue-light) 0%, var(--accent-blue-dark) 100%);
  pointer-events: none;
}

.service-panel__inner {
  padding: 1.25rem 1.5rem 1.25rem 1.75rem;
}

/* ── Header row: icon + label + title in one tight row ── */
.service-panel__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.service-panel__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(145deg, var(--accent-blue-light), var(--accent-blue-dark));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 16px rgba(68, 0, 255, 0.28);
  flex-shrink: 0;
}

.service-panel__head-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.service-panel__eyebrow {
  margin: 0;
  font-size: 0.6rem;
  padding: 0.22rem 0.65rem;
  letter-spacing: 0.14em;
  line-height: 1;
}

.service-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0;
}

/* ── Body: copy left, features aside right ── */
.service-panel__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

/* Remove alternating order — keep layout consistent */
.service-panel:nth-child(even) .service-panel__copy,
.service-panel:nth-child(even) .service-panel__aside {
  order: 0;
}

.service-panel__copy p {
  color: var(--text-secondary);
  line-height: 1.48;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.service-panel__copy p:last-child {
  margin-bottom: 0;
}

/* ── Features aside ── */
.service-panel__aside {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(68, 0, 255, 0.18);
  background: rgba(68, 0, 255, 0.06);
}

.service-panel__aside-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue-light);
  margin-bottom: 0.65rem;
  opacity: 0.9;
}

.service-panel__cta {
  margin-top: 0.85rem;
  font-size: 0.84rem;
  padding: 9px 16px;
  border-radius: var(--radius-md);
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0;
}

.service-features--panel {
  gap: 0.38rem;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.service-features li i {
  color: #22c55e;
  font-size: 0.7rem;
  margin-top: 0.18rem;
  flex-shrink: 0;
}

/* Compact service cards (services page — reference layout) */
.services-preview {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.services-preview__head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto clamp(2rem, 4vw, 2.75rem);
}

.services-preview__head .section-label {
  margin-left: auto;
  margin-right: auto;
}

.services-preview__title {
  margin-bottom: 0;
}

.services-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.2vw, 1.65rem);
}

.service-preview-card {
  background: linear-gradient(
    155deg,
    rgba(68, 0, 255, 0.22) 0%,
    rgba(45, 0, 184, 0.14) 38%,
    rgba(10, 8, 20, 0.96) 72%,
    #06060c 100%
  );
  border: 1px solid rgba(91, 43, 255, 0.42);
  border-radius: 22px;
  padding: clamp(1.25rem, 2.2vw, 1.6rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 11.5rem;
  box-shadow: 0 0 0 1px rgba(68, 0, 255, 0.06), 0 12px 40px rgba(0, 0, 0, 0.4);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.service-preview-card:hover {
  border-color: rgba(91, 43, 255, 0.75);
  box-shadow:
    0 0 0 1px rgba(68, 0, 255, 0.12),
    0 20px 56px rgba(0, 0, 0, 0.5),
    0 0 48px var(--accent-glow);
  transform: translateY(-2px);
}

.service-preview-card__row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-preview-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--accent-blue-light), var(--accent-blue-dark));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 24px rgba(68, 0, 255, 0.35);
}

.service-preview-card__icon i {
  font-size: 1.22rem;
  line-height: 1;
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.service-preview-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.65vw, 1.18rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.service-preview-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.58;
  margin: 0;
  flex: 1;
  opacity: 0.88;
}
/* ── Service detail bottom-sheet modal ── */
.svc-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.svc-modal.is-open {
  pointer-events: all;
  opacity: 1;
}
.svc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.svc-modal__sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 88vh;
  background: #0e0c1a;
  border-top: 1px solid rgba(91, 43, 255, 0.35);
  border-radius: 20px 20px 0 0;
  overflow-y: auto;
  padding: 1.25rem 1.25rem 2.5rem;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}
.svc-modal.is-open .svc-modal__sheet {
  transform: translateY(0);
}
.svc-modal__handle {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  margin: 0 auto 1.1rem;
}
.svc-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s;
}
.svc-modal__close i {
  display: block;
  line-height: 1;
  margin: 0;
}
.svc-modal__close:hover { background: rgba(255, 255, 255, 0.12); }
.svc-modal__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding-right: 2.5rem;
}
.svc-modal__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(145deg, var(--accent-blue-light), var(--accent-blue-dark));
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(68, 0, 255, 0.28);
}
.svc-modal__eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue-light);
  margin: 0 0 0.2rem;
  opacity: 0.85;
}
.svc-modal__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}
.svc-modal__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0 0 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.svc-modal__includes-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-blue-light);
  margin: 0 0 0.7rem;
}
.svc-modal__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}
.svc-modal__features li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.svc-modal__features li i {
  color: #22c55e;
  font-size: 0.68rem;
  margin-top: 0.22rem;
  flex-shrink: 0;
}
.svc-modal__cta {
  text-align: center;
  justify-content: center;
}

.service-preview-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-preview-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.58rem 1rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-main);
  text-decoration: none;
  color: #f4f4f5;
  border: 1px solid transparent;
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 8.5rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.service-preview-card__btn i {
  font-size: 0.72rem;
  opacity: 0.92;
}

.service-preview-card__btn--secondary {
  background: rgba(6, 6, 12, 0.65);
  border-color: rgba(91, 43, 255, 0.45);
  color: var(--text-primary);
}

.service-preview-card__btn--secondary:hover {
  background: rgba(68, 0, 255, 0.18);
  border-color: rgba(91, 43, 255, 0.75);
  color: #fff;
}

.service-preview-card__btn--accent {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 0 20px rgba(68, 0, 255, 0.3);
}

.service-preview-card__btn--accent:hover {
  background: linear-gradient(135deg, var(--accent-blue-light), var(--accent-blue));
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: 0 6px 28px rgba(68, 0, 255, 0.38);
}

/* ============================
   CONTACT PAGE
   ============================ */

.contact-section {
  padding: var(--section-pad-y) 0;
  background: var(--bg-primary);
}

.contact-selective-pitch {
  max-width: 56rem;
  margin: 0 auto var(--section-header-trail);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(91, 43, 255, 0.25);
  background: rgba(68, 0, 255, 0.07);
  box-shadow: var(--shadow-soft);
}

.contact-selective-pitch__title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 700;
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.contact-selective-pitch__title i {
  color: var(--accent-blue);
  font-size: 1rem;
  opacity: 0.95;
}

.contact-selective-pitch p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0 0 0.85rem;
}

.contact-selective-pitch p:last-of-type {
  margin-bottom: 0;
}

.contact-callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  margin-top: 2rem;
}

.contact-callout__title {
  font-family: var(--font-display);
  margin: 0 0 1.15rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-callout__steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-callout__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-callout__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(68, 0, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-callout__step strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.contact-callout__step span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-follow {
  margin-top: 2rem;
}

.contact-follow__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.contact-trust {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 6vw, 3.75rem) 0;
}

.contact-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}

.contact-trust__value {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1.1;
}

.contact-trust__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
  line-height: 1.45;
}

.contact-form-card > .section-label {
  margin-bottom: 0.8rem;
}

.contact-detail span a {
  color: var(--accent-blue-light);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-detail span a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--grid-gap-split);
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: var(--section-header-trail);
  line-height: 1.5;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--section-header-trail);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(68, 0, 255, 0.1);
  border: 1px solid rgba(68, 0, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1rem;
}

.contact-detail strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.contact-detail span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-form-card {
  background: var(--glass-panel);
  background-color: var(--glass-shade);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.contact-form-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form .form-group select {
  padding-right: 2.75rem;
  background-color: rgba(255, 255, 255, 0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' stroke='%23a29fe0' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}

.contact-form .form-group select:focus {
  background-color: rgba(68, 0, 255, 0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' stroke='%23c4b8ff' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.93rem;
  font-family: var(--font-main);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(68, 0, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(68, 0, 255, 0.16);
}

.form-group select {
  appearance: none;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-solid);
}

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

.form-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ============================
   SUCCESS NOTIFICATION
   ============================ */

.success-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Toast: safe-area on notched/gesture-navigation phones */
@media (max-width: 600px) {
  .success-toast {
    left: max(16px, env(safe-area-inset-left, 16px));
    right: max(16px, env(safe-area-inset-right, 16px));
    bottom: max(20px, env(safe-area-inset-bottom, 20px));
    width: auto;
  }
}

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

@media (max-width: 1000px) {

  .pillars-grid,
  .services-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .transform-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .services-hero-aside {
    position: relative;
    top: auto;
  }

  .services-preview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-panel__body {
    grid-template-columns: 1fr;
  }

  .service-panel:nth-child(even) .service-panel__copy,
  .service-panel:nth-child(even) .service-panel__aside {
    order: 0;
  }

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

  .contact-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .services-toc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .services-toc a {
    font-size: 0.82rem;
    padding: 0.5rem 0.55rem;
  }

  .services-preview__grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .services-preview__head {
    margin-bottom: 1.25rem;
  }

  .service-preview-card {
    padding: 1rem 1.1rem;
    gap: 0.5rem;
    min-height: 0;
    border-radius: 16px;
  }

  .service-preview-card__row {
    gap: 0.65rem;
  }

  .service-preview-card__btn {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    justify-content: center;
    font-size: 0.78rem;
    padding: 7px 10px;
  }
  .service-preview-card__actions {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .service-preview-card__desc {
    display: none;
  }

  .section-pad {
    padding: var(--section-pad-y-mobile) 0;
  }

  /* Consistent label / title / subtitle rhythm on small screens */
  .section-label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    padding: 0.42rem 0.95rem;
  }

  .section-title {
    font-size: clamp(1.45rem, 5.5vw, 2.25rem);
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: clamp(0.92rem, 3.2vw, 1.05rem);
    line-height: 1.48;
    margin-bottom: clamp(1.75rem, 5vw, 2.25rem);
  }

  .audit.section-pad {
    padding: clamp(2rem, 6vw, 2.75rem) 0;
  }

  .pillars-grid,
  .services-grid,
  .pricing-grid,
  .team-grid,
  .portfolio-grid,
  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 5vw, 2.25rem);
    padding-bottom: clamp(1.75rem, 5vw, 2.5rem);
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding-top: 1.25rem;
    padding-bottom: max(1.5rem, calc(1rem + env(safe-area-inset-bottom, 0px)));
  }

  .footer-bottom p {
    margin: 0;
    line-height: 1.5;
    max-width: 100%;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1.25rem;
  }

  .footer .social-links {
    flex-wrap: wrap;
  }

  .cta-inner {
    padding: clamp(1.65rem, 5vw, 2.25rem) clamp(1.1rem, 4vw, 1.5rem);
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    gap: var(--space-3);
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-two-col {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: calc(-1 * var(--header-total, 0px));
    padding: calc(var(--header-total, 0px) + 48px) 0 64px;
    min-height: 65vh;
    min-height: 65dvh;
  }

  .hero-proof {
    font-size: 0.82rem;
    margin-bottom: 1.6rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.25rem;
  }

  .hero-stats {
    gap: 1.5rem;
    justify-content: center;
  }

  .stat-item {
    align-items: center;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .stat-divider {
    height: 32px;
  }

  .hero-scroll-indicator {
    bottom: 24px;
  }

  .hero-trust-row {
    gap: 0.6rem;
    font-size: 0.72rem;
    letter-spacing: 0.035em;
  }

  .hero-azure-depth {
    background:
      radial-gradient(145% 132% at 50% 100%, #000000 31%, #02024a 100%),
      linear-gradient(180deg, #040410 0%, #06061c 100%);
  }

  .hero-curved-line {
    opacity: 0.72;
  }

  .curve-path {
    stroke-width: 2;
    animation-duration: 4.5s;
  }

  .nav-center {
    position: static;
    transform: none;
    flex: 0 0 0;
    width: 0;
    height: 0;
    min-height: 0;
    overflow: visible;
    pointer-events: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 10, 18, 0.98);
    backdrop-filter: blur(8px);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 3rem 2rem;
    gap: 0.75rem;
    transition: right 0.3s ease;
    z-index: 999;
    pointer-events: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
    font-size: 0.82rem;
    padding: 0.65rem 1.1rem;
  }

  .btn-hero-cta.btn-hero-cta--nav {
    min-height: 40px;
    padding: 0.4rem 0.9rem;
    font-size: 0.72rem;
  }

  .hamburger {
    display: flex;
    z-index: 1000;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .audit-box {
    padding: 1.35rem 1.1rem;
  }

  .contact-form-card {
    padding: 2rem 1.5rem;
  }
}

/* Homepage hero: below 1200px only - full-width headline; desktop (>=1200px) unchanged */
@media (max-width: 1199px) and (min-width: 481px) {
  .hero .hero-content {
    padding-left: max(25px, env(safe-area-inset-left, 0px));
    padding-right: max(25px, env(safe-area-inset-right, 0px));
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero .hero-title-stage {
    padding-inline: 0;
  }

  .hero .hero-badge {
    font-size: clamp(0.72rem, 1.55vw, 0.84rem);
    padding: 7px 16px;
    margin-bottom: clamp(1.2rem, 2.8vw, 1.65rem);
    letter-spacing: 0.11em;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero .hero-title {
    font-weight: 400;
    font-size: clamp(2.55rem, 5.5vw + 1.2rem, 4.4rem);
    line-height: 1.05;
    margin-bottom: clamp(1rem, 2.2vw, 1.3rem);
  }

  .hero .hero-keyword {
    border-width: 2px;
    border-radius: 0;
    margin: 0 0.06em;
    padding: 0.07em 0.28em 0.1em;
    transform: rotate(-2.5deg);
  }

  .hero .hero-keyword-dot {
    width: 6px;
    height: 6px;
  }

  .hero .hero-subtitle {
    font-size: clamp(1.04rem, 2.15vw, 1.2rem);
    line-height: 1.45;
    max-width: min(40rem, 100%);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.95rem;
  }

  .hero .hero-buttons {
    margin-bottom: clamp(1.1rem, 2.4vw, 1.35rem);
  }

  .hero-buttons .btn-hero-cta {
    width: auto;
    max-width: min(22rem, 100%);
    margin-left: auto;
    margin-right: auto;
    padding: 5px 6px 5px clamp(1.25rem, 3.2vw, 1.45rem);
    gap: clamp(0.65rem, 1.8vw, 0.85rem);
    min-height: 48px;
    font-size: clamp(0.9rem, 1.45vw, 0.97rem);
  }

  .hero-buttons .btn-hero-cta-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .hero-buttons .btn-hero-cta-svg {
    width: 21px;
    height: 21px;
  }

  .hero-buttons .btn-hero-cta:hover .btn-hero-cta-svg {
    transform: translate(4px, -5px);
  }
}

@media (max-width: 480px) {
  .btn-hero-cta.btn-hero-cta--nav {
    min-height: 38px;
    padding: 0.35rem 0.78rem;
    font-size: 0.68rem;
  }

  .hero .hero-content {
    padding-left: max(15px, env(safe-area-inset-left, 0px));
    padding-right: max(15px, env(safe-area-inset-right, 0px));
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero .hero-title-stage {
    padding-inline: 0;
  }

  .hero .hero-badge {
    font-size: clamp(0.68rem, 2.8vw, 0.78rem);
    padding: 6px 12px;
    margin-bottom: 1.15rem;
    letter-spacing: 0.1em;
    line-height: 1.35;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero {
    padding: calc(var(--header-total, 0px) + 40px) 0 56px;
  }

  .hero-azure-depth {
    background:
      radial-gradient(162% 138% at 50% 100%, #000000 28%, #02024a 100%),
      linear-gradient(180deg, #040410 0%, #06061c 100%);
  }

  .hero-curved-line {
    opacity: 0.58;
  }

  .curve-path {
    stroke-width: 1.7;
  }

  .hero .hero-title {
    font-weight: 400;
    /* Slightly tighter min so “Turn Your Marketing” fits one line inside 15px gutters */
    font-size: clamp(1.68rem, 5.85vw + 0.58rem, 2.45rem);
    line-height: 1.08;
    margin-bottom: 1.1rem;
  }

  .hero .hero-title-line1 {
    letter-spacing: -0.04em;
  }

  .hero .hero-keyword {
    margin: 0 0.05em;
    border-radius: 0;
    padding: 0.06em 0.22em 0.09em;
    transform: rotate(-2.7deg);
  }

  .hero .hero-keyword-dot {
    width: 5px;
    height: 5px;
  }

  .hero .hero-subtitle {
    font-size: clamp(0.8125rem, 3.15vw, 0.9375rem);
    line-height: 1.42;
    max-width: 100%;
    margin-bottom: 0.8rem;
    letter-spacing: 0.01em;
  }

  .hero .hero-proof {
    font-size: 0.78rem;
    margin-bottom: 1.4rem;
  }

  .hero .hero-buttons {
    margin-bottom: 1.15rem;
  }

  .hero-buttons .btn-hero-cta {
    width: auto;
    max-width: 100%;
    padding: 4px 5px 4px clamp(1.05rem, 4vw, 1.25rem);
    gap: 0.6rem;
    min-height: 46px;
    font-size: clamp(0.84rem, 3.5vw, 0.9rem);
  }

  .hero-buttons .btn-hero-cta-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .hero-buttons .btn-hero-cta-svg {
    width: 18px;
    height: 18px;
  }

  .hero-buttons .btn-hero-cta:hover .btn-hero-cta-svg {
    transform: translate(3px, -4px);
  }

  .hero .hero-trust-row {
    flex-direction: column;
    gap: 0.45rem;
  }

  .hero .hero-trust-row .trust-dot {
    display: none;
  }

  .hero .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero .stat-divider {
    width: 60px;
    height: 1px;
  }
}

/* ============================
   STATS MARQUEE (scroll-driven strip, light rail)
   ============================ */

.stats-marquee-section {
  position: relative;
  background: transparent;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(1.2rem, 2.4vw, 1.75rem) 0;
  overflow: hidden;
  /* Avoid 100vw children causing horizontal scroll on mobile */
  max-width: 100%;
}

.stats-marquee-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.stats-marquee-viewport::before,
.stats-marquee-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 7vw, 80px);
  z-index: 2;
  pointer-events: none;
}

.stats-marquee-viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 100%);
}

.stats-marquee-viewport::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-primary) 0%, transparent 100%);
}

.stats-marquee-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
}

.stats-marquee-group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(1.15rem, 3vw, 2.75rem);
  padding-right: clamp(1.15rem, 3vw, 2.75rem);
  flex-shrink: 0;
}

.stats-marquee-item {
  /* Grid avoids flex + aspect-ratio cycles that stack/overlap pct + label */
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(0.4rem, 0.9vw, 0.75rem);
  min-width: 0;
  flex-shrink: 0;
  --stat-label-fs: clamp(1.3rem, 1.85vw, 1.65rem);
}

.stats-marquee-pct {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1;
  box-sizing: border-box;
  flex-shrink: 0;
  /* Square ~ two label lines + gap (no flex stretch / width:auto bugs) */
  width: calc(2.35 * var(--stat-label-fs));
  height: calc(2.35 * var(--stat-label-fs));
  max-width: 100%;
  aspect-ratio: 1;
  padding: 0;
  background: linear-gradient(145deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%);
  color: #f7f7f8;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  border-radius: 0;
  overflow: hidden;
  font-size: clamp(1.35rem, calc(var(--stat-label-fs) * 0.82), 3.25rem);
}

.stats-marquee-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-column: 2;
  min-width: 0;
  gap: 0.14em;
  font-family: var(--font-main);
  font-size: var(--stat-label-fs);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
  max-width: min(40.5rem, 72vw);
  letter-spacing: -0.012em;
}

.stats-marquee-line {
  display: block;
  line-height: 1.18;
}

@media (max-width: 640px) {
  .stats-marquee-section {
    padding: clamp(0.85rem, 3.5vw, 1.15rem) 0;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: hidden;
  }

  .stats-marquee-viewport {
    max-width: 100%;
    overflow-x: clip;
  }

  .stats-marquee-viewport::before,
  .stats-marquee-viewport::after {
    width: 12px;
  }

  .stats-marquee-group {
    /* Slide = one viewport row; JS debounces measure when vw shifts (toolbar, etc.) */
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    justify-items: stretch;
    column-gap: 0.24rem;
    flex: 0 0 100vw;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    padding-left: max(8px, env(safe-area-inset-left, 0px));
    padding-right: max(8px, env(safe-area-inset-right, 0px));
  }

  .stats-marquee-track {
    will-change: auto;
  }

  .stats-marquee-item {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    column-gap: 0.18rem;
    align-items: center;
    /* Thinner left column → more width for label (2 lines, less wrap) */
    grid-template-columns: minmax(min(1.75rem, 14vw), auto) minmax(0, 1fr);
    --stat-label-fs: clamp(0.66rem, 2.65vw, 0.8rem);
    overflow: hidden;
  }

  .stats-marquee-pct {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    grid-column: 1;
    align-self: center;
    justify-self: start;
    flex-shrink: 0;
    white-space: nowrap;
    --pct-side: min(calc(2.05 * var(--stat-label-fs)), 15.5vw);
    width: var(--pct-side);
    height: var(--pct-side);
    min-width: var(--pct-side);
    min-height: var(--pct-side);
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    font-size: clamp(0.5rem, calc(var(--stat-label-fs) * 0.82), 0.78rem);
    letter-spacing: -0.055em;
    line-height: 1;
  }

  .stats-marquee-label {
    align-self: center;
    min-width: 0;
    max-width: 100%;
    gap: 0.08em;
    font-size: var(--stat-label-fs);
    line-height: 1.18;
    font-weight: 500;
    letter-spacing: -0.012em;
    hyphens: none;
    overflow: hidden;
  }

  /* Exactly two visual lines: one row per kicker phrase */
  .stats-marquee-line {
    display: block;
    line-height: 1.18;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stats-marquee-track {
    will-change: auto;
  }
}

/* ============================
   MARQUEE / TICKER STRIP
   ============================ */

.marquee-section {
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-5) 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}


@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
}

.marquee-item i {
  color: var(--accent-blue);
  font-size: 0.8rem;
}

/* ============================
   HOW IT WORKS / PROCESS
   ============================ */

.process-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border);
}

.process-section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(68, 0, 255, 0.16), transparent 58%),
    radial-gradient(ellipse 50% 45% at 100% 40%, rgba(68, 0, 255, 0.07), transparent 52%),
    radial-gradient(ellipse 40% 50% at 0% 80%, rgba(68, 0, 255, 0.06), transparent 48%);
  opacity: 1;
}

.process-section .container {
  position: relative;
  z-index: 1;
}

.process-section-intro {
  position: relative;
}

.process-section .section-subtitle {
  position: relative;
  padding-bottom: var(--space-6);
}

.process-section .section-subtitle::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(5.5rem, 28vw);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-blue-light), var(--accent-blue), transparent);
  opacity: 0.75;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
  margin-top: calc(var(--section-header-trail) + var(--space-2));
  align-items: stretch;
  position: relative;
}

.process-step {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.process-step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-6) var(--space-6) var(--space-8);
  text-align: left;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--glass-panel);
  background-color: var(--glass-shade);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  overflow: hidden;
  transition:
    border-color 0.35s var(--ease-premium),
    background-color 0.4s ease,
    transform 0.5s var(--ease-premium);
}

.process-step-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent-blue-light) 55%, rgba(68, 0, 255, 0.35) 100%);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  opacity: 0.9;
}

.process-step-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%, rgba(68, 0, 255, 0.05) 100%);
  pointer-events: none;
  opacity: 0.65;
}

.process-step:hover .process-step-card {
  border-color: rgba(91, 43, 255, 0.42);
  background-color: rgba(255, 255, 255, 0.045);
  transform: translateY(-4px);
}

.process-step-watermark {
  position: absolute;
  right: -0.08em;
  top: 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 11vw, 5.75rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.07em;
  color: rgba(255, 255, 255, 0.035);
  text-shadow: 0 0 40px rgba(68, 0, 255, 0.12);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.process-step-head {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-4);
}

.process-step-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-main);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(68, 0, 255, 0.92);
  padding: 0.4em 0.85em;
  border-radius: 999px;
  border: 1px solid rgba(68, 0, 255, 0.22);
  background: linear-gradient(135deg, rgba(68, 0, 255, 0.08), rgba(68, 0, 255, 0.06));
}

.process-step-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.05vw, 1.12rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.process-step-copy {
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.48;
  max-width: 32ch;
}

/* ============================
   TRUST BADGES
   ============================ */

.trust-section {
  background: var(--bg-primary);
  padding: var(--section-pad-y-strip) 0;
  border-top: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  background: var(--glass-panel);
  background-color: var(--glass-shade);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}

.trust-badge:hover {
  border-color: var(--border-hover);
}

.trust-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(68, 0, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1rem;
}

.trust-badge strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1px;
}

.trust-badge span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================
   Marquee edge fades + calm FAQ / audit
   (Homepage hero is not styled here.)
   ============================ */

.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(36px, 9vw, 64px);
  z-index: 2;
  pointer-events: none;
}

.marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-secondary), transparent);
}

.marquee-section::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-secondary), transparent);
}

.stars i {
  display: inline-block;
}

.faq-item.open {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-soft);
}

.audit-box {
  transition: border-color var(--transition), box-shadow var(--transition);
}

.audit-box:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}

.service-card,
.pricing-card {
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

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

@media (max-width: 1000px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .audit-split {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.25rem);
  }

  .audit-aside {
    max-width: none;
    padding-top: 0;
  }

  .audit-box {
    max-width: 100%;
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .audit-aside-title {
    font-size: clamp(1.15rem, 5vw, 1.45rem);
  }

  .audit-aside-lead {
    font-size: 0.875rem;
  }

  .audit-aside-list li {
    font-size: 0.84rem;
  }

  .audit-aside-list li i {
    width: 2rem;
    height: 2rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .audit-aside-list {
    gap: var(--space-3);
  }

  .audit.section-pad {
    padding: clamp(2rem, 8vw, 3rem) 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .process-steps::before {
    animation: none !important;
  }

  .animate-fade-up,
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    will-change: auto !important;
  }

  html.gsap-hero .hero .hero-svg {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .hero-azure-depth,
  .hero-bg-grid,
  .hero-curved-line,
  .hero-glow-1,
  .hero-glow-2 {
    animation: none !important;
    will-change: auto !important;
  }

  .hero-azure-depth,
  .hero-bg-grid {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-curved-line {
    transform: none !important;
  }

  .hero-glow-1 {
    opacity: 1 !important;
    transform: translateX(-50%) !important;
  }

  .hero-glow-2 {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ======================================================
   MOBILE RESPONSIVE POLISH
   All rules below are wrapped in mobile-only breakpoints.
   Desktop layout is completely untouched.
   Hero section is intentionally excluded per design brief.
   ====================================================== */

/* ── Services page: hide stats on desktop, hide aside on mobile ── */

/* Stats (6 Core offerings / 72hr / 24/7) — hidden everywhere */
.services-hero-stats {
  display: none;
}

/* "Jump to a service" aside — hidden on mobile */
@media (max-width: 768px) {
  .services-hero-aside {
    display: none;
  }
}

/* ── Main mobile breakpoint ≤ 768px ── */
@media (max-width: 768px) {

  /* Reduce glass blur: 18px is GPU-heavy on mid-range Android / older iPhones */
  :root {
    --glass-blur: 8px;
    --glass-sat: 120%;
  }

  /* iOS Safari zooms when input font-size < 16px — lock at exactly 1rem (16px) */
  .audit-form input,
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1rem;
  }

  /* Trust badges: 2×2 grid is far better than 4 stacked items */
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

  .trust-badge {
    padding: var(--space-4) var(--space-4);
    gap: var(--space-3);
  }

  /* Testimonials: auto-looping horizontal marquee on mobile */
  .testimonials {
    overflow: hidden;
  }
  .testimonials-grid {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: max-content;
    animation: testimonial-marquee 22s linear infinite;
  }
  .testimonials-grid:hover {
    animation-play-state: paused;
  }
  .testimonial-card {
    width: 82vw;
    max-width: 320px;
    min-width: 260px;
    flex-shrink: 0;
    padding: 1.35rem;
  }
  @keyframes testimonial-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* FAQ: tighter horizontal padding — easier to read on narrow screens */
  .faq-question {
    padding: 1.2rem 1.25rem;
    font-size: 0.95rem;
    gap: 0.75rem;
    line-height: 1.45;
  }

  .faq-answer p {
    padding: 0 1.25rem 1.2rem;
  }

  /* Process steps: let copy fill the full card width (single-col) */
  .process-step-copy {
    max-width: 100%;
  }

  /* Process step title: slightly more visible at single-col size */
  .process-step-title {
    font-size: clamp(1.05rem, 4vw, 1.2rem);
  }

  /* Section-actions CTA: center + max constrain */
  .section-actions .btn-lg {
    display: flex;
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  /* Transformation stat cards: scale down the big number */
  .stat-big {
    font-size: 2.1rem;
    min-width: auto;
  }

  .stat-card {
    padding: var(--space-5) var(--space-6);
    gap: var(--space-5);
  }

  /* Pillar card body text */
  .pillar-body {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  /* Service cards: reduce padding so they breathe on 1-col */
  .service-card {
    padding: 1.5rem;
  }

  /* CTA banner paragraph */
  .cta-inner p {
    font-size: 0.97rem;
    line-height: 1.48;
  }

  /* Top marquee strip: reduce horizontal item spacing on mobile */
  .marquee-item {
    padding: 0 1.6rem;
    font-size: 0.8rem;
    gap: 8px;
  }

  /* Pricing section: min-height doesn't need to be 100vh on mobile */
  .pricing--invest {
    min-height: 0;
    padding-block: var(--section-pad-y-mobile);
    overflow-x: hidden;
  }

  /* Pricing footnote padding */
  .pricing-invest__footnote {
    padding: 0 var(--space-2);
    font-size: 0.82rem;
    line-height: 1.5;
  }

  /* Audit: remove unneeded top padding on aside when stacked */
  .audit-aside {
    padding-top: 0;
  }

  /* Stats marquee: guard against overflow */
  .stats-marquee-section {
    overflow-x: hidden;
  }

  /* CTA banner buttons: reduce size for mobile — they look massive at btn-lg defaults */
  .cta-buttons .btn-lg {
    padding: 11px 22px;
    font-size: 0.88rem;
    border-radius: var(--radius-md);
  }

  /* Section-actions btn-lg (e.g. "Explore All Services"): same compact sizing */
  .section-actions .btn-lg {
    padding: 11px 24px;
    font-size: 0.88rem;
    border-radius: var(--radius-md);
  }
}

/* ── Small mobile ≤ 540px ── */
@media (max-width: 540px) {

  /* Trust badges: stack to single column on the smallest phones */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .trust-badge {
    padding: var(--space-4) var(--space-5);
  }

  /* Pillar cards: reduce padding so content gets more room */
  .pillar-card {
    padding: 1.5rem;
  }

  /* Testimonial cards: tighter */
  .testimonial-card {
    padding: 1.25rem;
  }

  /* FAQ: compact on small screens */
  .faq-question {
    font-size: 0.9rem;
    padding: 1.05rem 1rem;
  }

  .faq-answer p {
    padding: 0 1rem 1.05rem;
    font-size: 0.87rem;
  }

  /* Section actions button: full-width on narrow screens */
  .section-actions .btn-lg {
    max-width: 100%;
  }

  /* Stat big: scale down */
  .stat-big {
    font-size: 1.85rem;
  }

  /* Process step watermark: smaller so it doesn't overpower card */
  .process-step-watermark {
    font-size: clamp(3rem, 9vw, 4.5rem);
  }

  /* CTA banner heading: tighter at narrow widths */
  .cta-inner h2 {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  /* Pricing card invest: tighter padding on very small viewports */
  .pricing--invest .pricing-card--invest {
    padding: 1.35rem 1.15rem;
  }

  /* Transform text paragraph */
  .transform-text p {
    font-size: 0.93rem;
  }

  /* Transformation "Learn Our Story" btn: full width */
  .transform-text .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* Testimonial quote mark: scale down */
  .testimonial-card::after {
    font-size: 3.5rem;
    top: 1rem;
    right: 1.25rem;
  }

  /* Testimonial stars: keep visible */
  .stars {
    margin-bottom: 1rem;
  }

  /* Trust badge icon: slightly smaller */
  .trust-icon {
    width: 36px;
    height: 36px;
    font-size: 0.92rem;
  }

  .trust-badge strong {
    font-size: 0.84rem;
  }

  .trust-badge span {
    font-size: 0.75rem;
  }

  /* Stats strip marquee: handled at 640px already */

  /* Process step card: tighter padding */
  .process-step-card {
    padding: var(--space-5) var(--space-5) var(--space-6);
  }

  /* Service icon: comfortable size */
  .service-icon {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
    margin-bottom: 1rem;
  }

  /* Service card h3 */
  .service-card h3 {
    font-size: 1rem;
  }

  /* Section-pad adjustment: use tighter strip on very small screens */
  .trust-section {
    padding: var(--section-pad-y-strip) 0;
  }

  /* CTA buttons: even more compact on small phones */
  .cta-buttons .btn-lg {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  /* Audit submit button: compact */
  .audit-step--form .btn-lg.btn-full {
    padding: 10px 20px;
    font-size: 0.88rem;
  }
}

/* ── Extra-small mobile ≤ 375px ── */
@media (max-width: 375px) {

  /* Section label: compact pill */
  .section-label {
    font-size: 0.63rem;
    padding: 0.36rem 0.78rem;
    letter-spacing: 0.13em;
  }

  /* Top marquee strip: minimal item padding */
  .marquee-item {
    padding: 0 1.1rem;
    font-size: 0.74rem;
  }

  /* Pillar cards: minimal padding */
  .pillar-card {
    padding: 1.25rem;
  }

  /* Service cards: minimal padding */
  .service-card {
    padding: 1.25rem;
  }

  /* FAQ: very compact */
  .faq-question {
    font-size: 0.87rem;
    padding: 0.95rem 0.9rem;
  }

  .faq-answer p {
    padding: 0 0.9rem 0.95rem;
    font-size: 0.84rem;
  }

  /* Testimonial card: minimal */
  .testimonial-card {
    padding: 1.1rem;
  }

  /* Trust badge: tight */
  .trust-badge {
    padding: var(--space-3) var(--space-4);
  }

  /* Stat big */
  .stat-big {
    font-size: 1.65rem;
  }

  /* CTA banner heading */
  .cta-inner h2 {
    font-size: clamp(1.4rem, 8vw, 1.65rem);
  }

  /* Footer links: comfortable spacing */
  .footer-links h4,
  .footer-contact h4 {
    margin-bottom: 1rem;
  }

  .footer-links ul {
    gap: 0.55rem;
  }

  .footer-contact ul {
    gap: 0.65rem;
  }

  /* Pricing invest: tightest padding */
  .pricing--invest .pricing-card--invest {
    padding: 1.1rem 1rem;
  }

  /* Process step card: tighter */
  .process-step-card {
    padding: var(--space-4) var(--space-4) var(--space-5);
  }

  /* Audit nav buttons: tightest */
  .audit-nav .btn-lg {
    padding: 0.5rem 0.9rem;
    font-size: 0.84rem;
  }
}

/* ============================
   NAV OVERLAY + SCROLL LOCK
   ============================ */

/* Dark backdrop behind the slide-in mobile nav */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
}

/* Prevent body scroll while nav is open */
body.nav-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .nav-overlay {
    display: block;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s 0s;
  }
}
