/* ================================================
   EVO-AXIS MARKETING — Style Sheet
   evo-axis.com
   Brand: Electric Blue gradient (#1565c0 → #42a5f5)
   ================================================ */

/* ---- DESIGN TOKENS ---- */
:root,
[data-theme='dark'] {
  /* Surfaces */
  --color-bg: #0a0f1a;
  --color-surface: #0d1421;
  --color-surface-2: #111b2e;
  --color-surface-offset: #162035;
  --color-border: #ffffff12;
  --color-divider: #ffffff08;

  /* Text */
  --color-text: #e8edf5;
  --color-text-muted: #8896aa;
  --color-text-faint: #4a5568;

  /* Brand blues — derived from logo */
  --color-accent: #2196f3;
  --color-accent-hover: #1976d2;
  --color-accent-deep: #1565c0;
  --color-accent-light: #42a5f5;
  --color-accent-glow: rgba(33, 150, 243, 0.22);
  --color-accent-glow-strong: rgba(33, 150, 243, 0.35);

  /* Solid accent — gradients removed for cleaner brand system */
  --gradient-brand: var(--color-accent);
  --gradient-brand-text: var(--color-accent);

  /* Typography */
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --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;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.5);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.55);
  --shadow-lg: 0 12px 44px rgba(0,0,0,0.65);
  --shadow-accent: 0 4px 28px rgba(33, 150, 243, 0.3);
  --shadow-accent-lg: 0 8px 40px rgba(33, 150, 243, 0.35);
}

[data-theme='light'] {
  --color-bg: #f0f4f8;
  --color-surface: #ffffff;
  --color-surface-2: #f7f9fc;
  --color-surface-offset: #edf2f7;
  --color-border: #00000010;
  --color-divider: #00000008;
  --color-text: #0d1421;
  --color-text-muted: #4a5568;
  --color-text-faint: #a0aec0;
  --color-accent: #1565c0;
  --color-accent-hover: #0d47a1;
  --color-accent-deep: #0a3880;
  --color-accent-light: #1976d2;
  --color-accent-glow: rgba(21, 101, 192, 0.14);
  --color-accent-glow-strong: rgba(21, 101, 192, 0.25);
  --gradient-brand: var(--color-accent);
  --gradient-brand-text: var(--color-accent);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 44px rgba(0,0,0,0.14);
  --shadow-accent: 0 4px 28px rgba(21, 101, 192, 0.22);
  --shadow-accent-lg: 0 8px 40px rgba(21, 101, 192, 0.28);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg: #f0f4f8;
    --color-surface: #ffffff;
    --color-surface-2: #f7f9fc;
    --color-surface-offset: #edf2f7;
    --color-border: #00000010;
    --color-divider: #00000008;
    --color-text: #0d1421;
    --color-text-muted: #4a5568;
    --color-text-faint: #a0aec0;
    --color-accent: #1565c0;
    --color-accent-hover: #0d47a1;
    --color-accent-deep: #0a3880;
    --color-accent-light: #1976d2;
    --color-accent-glow: rgba(21, 101, 192, 0.14);
    --color-accent-glow-strong: rgba(21, 101, 192, 0.25);
    --gradient-brand: var(--color-accent);
    --gradient-brand-text: var(--color-accent);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg: 0 12px 44px rgba(0,0,0,0.14);
    --shadow-accent: 0 4px 28px rgba(21, 101, 192, 0.22);
  }
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.1; }
p, li { text-wrap: pretty; }
button { cursor: pointer; background: none; border: none; }

::selection { background: var(--color-accent-glow); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: var(--radius-sm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

a { color: inherit; text-decoration: none; }
a, button, [role='button'] {
  transition: color var(--transition-interactive), background var(--transition-interactive), box-shadow var(--transition-interactive), transform var(--transition-interactive), border-color var(--transition-interactive);
}

/* ---- LAYOUT ---- */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
}

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  position: relative;
}

/* ---- SCROLL ANIMATIONS ---- */
.fade-in { opacity: 1; }

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
}

@keyframes reveal-fade { to { opacity: 1; } }

/* ---- LOGO ---- */
.logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
  /* Remove white background for dark mode elegance */
  border-radius: var(--radius-md);
}

.logo-img--footer {
  height: 44px;
}

/* On dark bg, show logo with slight brightness boost */
[data-theme='dark'] .logo-img {
  filter: brightness(1.05);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 0.85rem 1.7rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent-lg);
}
.btn--primary:active { transform: translateY(0); filter: brightness(0.95); }

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
[data-theme='dark'] .btn--outline { border-color: rgba(255,255,255,0.2); }
.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255,255,255,0.07);
  color: var(--color-text);
  border-color: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-2px);
}

.btn--text {
  background: transparent;
  color: var(--color-accent);
  border-color: transparent;
  padding-inline: 0;
  font-weight: 700;
}
.btn--text:hover { color: var(--color-accent-hover); }

.btn--full { width: 100%; }
.btn--lg { padding: 1rem 2rem; font-size: var(--text-base); }

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #dde3ed;
  transition: box-shadow 0.3s var(--ease-out);
}

.nav--scrolled { box-shadow: 0 2px 20px rgba(13, 30, 60, 0.12); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 68px;
}

.nav__logo { color: var(--color-text); line-height: 1; }

/* Logo has white bg — remove any radius so it blends into white nav */
.nav__logo .logo-img {
  border-radius: 0;
  background: transparent;
  filter: none !important;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: #1a3a6b;
}
.nav__links a:hover { color: #2196f3; }

.nav__cta {
  color: #2196f3 !important;
  font-weight: 700 !important;
  padding: 0 !important;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.nav__cta:hover {
  color: #1565c0 !important;
  text-decoration: underline;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: #1a3a6b;
  background: transparent;
}
.theme-toggle:hover { color: #2196f3; background: #eef4fb; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}
.hamburger:hover { background: #eef4fb; }
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #0d47a1;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--space-4) 0;
  border-top: 1px solid #dde3ed;
  background: #ffffff;
}
.mobile-menu.open { display: flex; }

.mobile-menu__link {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  font-weight: 500;
  color: #1a3a6b;
  border-bottom: 1px solid #dde3ed;
}
.mobile-menu__link:hover { color: #2196f3; background: #eef4fb; }
.mobile-menu__cta {
  margin: var(--space-4) var(--space-6);
  background: var(--color-accent);
  color: #fff !important;
  border-radius: 4px;
  text-align: center;
  font-weight: 700;
  border-bottom: none;
}
.mobile-menu__cta:hover { background: var(--color-accent-hover); color: #fff; }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .hamburger { display: flex; }
}

/* ---- HERO ---- */
/* ================================================
   PROOF BAR (sticky top)
   ================================================ */
.proof-bar {
  display: block;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
}
.proof-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding-block: 6px;
}
.proof-bar__bolt { font-size: 14px; line-height: 1; }
.proof-bar__text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
}
.proof-bar__arrow { font-weight: 700; margin-left: 2px; }
.proof-bar:hover .proof-bar__arrow { margin-left: 6px; }
.proof-bar__arrow { transition: margin-left 180ms var(--ease-out); }

@media (max-width: 768px) {
  .proof-bar__inner { min-height: 44px; }
  .proof-bar__text { font-size: 12.5px; }
}

/* ================================================
   HERO (rebuilt)
   ================================================ */
.hero {
  position: relative;
  background: var(--color-bg);
  padding-block: clamp(var(--space-16), 7vw, var(--space-24));
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  align-items: center;
  gap: clamp(var(--space-6), 3vw, var(--space-12));
}

.hero__copy { min-width: 0; }

/* Eyebrow — no pill, no dot */
.hero__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.hero__eyebrow-loc,
.hero__eyebrow-tag {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.hero__eyebrow-loc { color: var(--color-accent-light); }
.hero__eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* Headline — massive, single line, weight 900, block highlight behind 'grow' */
.hero__headline {
  font-family: 'Inter', var(--font-display);
  font-size: clamp(3.5rem, 5.5vw, 8rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  white-space: nowrap;
}

.hero__hl {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hero__hl-word { position: relative; z-index: 1; color: #fff; }
.hero__hl-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%) rotate(-1.5deg);
  width: 104%;
  height: 0.68em;
  background: var(--color-accent);
  z-index: 0;
  border-radius: 2px;
}

.hero__sub {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 46ch;
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.hero__secondary {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-light);
  text-underline-offset: 4px;
  text-decoration: none;
}
.hero__secondary:hover { text-decoration: underline; text-decoration-thickness: 2px; color: var(--color-accent); }

/* Hero visual — stacked overlapping browser mockups */
.hero__visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-stack {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 460px;
}
.mock-card {
  position: absolute;
  width: 320px;
  background: #0e1626;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.mock-card__chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  background: #172033;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.28); flex-shrink: 0; }
.mock-card__url {
  margin-left: 8px;
  font-family: var(--font-body);
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-card__shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.mock-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.mock-card__chip {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(10,15,26,0.85);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 9px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.mock-card--1 { top: 0px;   left: -8%;  transform: rotate(-7deg);  z-index: 4; }
.mock-card--2 { top: 40px;  left: 22%;  transform: rotate(4deg);   z-index: 3; }
.mock-card--3 { top: 220px; left: -4%;  transform: rotate(-3deg);  z-index: 2; }
.mock-card--4 { top: 260px; left: 28%;  transform: rotate(6deg);   z-index: 1; }

.mock-card:hover { z-index: 10; box-shadow: 0 28px 70px rgba(0,0,0,0.55); }
.mock-card--1:hover { transform: rotate(-7deg) translateY(-8px); }
.mock-card--2:hover { transform: rotate(4deg) translateY(-8px); }
.mock-card--3:hover { transform: rotate(-3deg) translateY(-8px); }
.mock-card--4:hover { transform: rotate(6deg) translateY(-8px); }

/* ================================================
   RECENT CLIENT WINS
   ================================================ */
.client-wins { background: var(--color-surface); }
.client-wins__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.win-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.win-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(33,150,243,0.4);
}
.win-card__shot { aspect-ratio: 16 / 10; overflow: hidden; background: #0a0f1c; }
.win-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.win-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.win-card__name { font-family: var(--font-display); font-size: var(--text-base); font-weight: 700; color: var(--color-text); }
.win-card__stat { font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-text-muted); }
.win-card__link {
  margin-top: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-light);
  text-underline-offset: 3px;
}
.win-card__link:hover { text-decoration: underline; color: var(--color-accent); }

@media (max-width: 1024px) {
  .client-wins__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Hero responsive */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .hero__headline { white-space: normal; font-size: clamp(3.5rem, 11vw, 7rem); }
  .hero__visual { min-height: 460px; order: 3; }
  .mock-stack { max-width: 420px; margin-inline: auto; height: 460px; }
}

/* ---- SECTION HEADERS ---- */
.section__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  max-width: 20ch;
}

.section__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  line-height: 1.7;
}

.section__header { margin-bottom: clamp(var(--space-10), 5vw, var(--space-16)); }

.section__cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-top: clamp(var(--space-10), 4vw, var(--space-12));
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.section__cta-row p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ---- SERVICE CARDS ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
  align-items: start;
}

.cards-grid--2col {
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive), border-color var(--transition-interactive);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(33,150,243,0.35);
}

.service-card--featured {
  background: rgba(33,150,243,0.08);
  border-color: rgba(33,150,243,0.45);
  box-shadow: 0 0 0 1px rgba(33,150,243,0.15), var(--shadow-md);
}

.service-card--featured:hover {
  box-shadow: 0 0 0 1px rgba(33,150,243,0.5), 0 0 50px rgba(33,150,243,0.15), var(--shadow-lg);
}

.service-card__icon {
  width: 52px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-glow);
  border: 1px solid rgba(33,150,243,0.25);
  border-radius: var(--radius-xl);
  color: var(--color-accent-light);
  flex-shrink: 0;
}

.service-card__tag {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  background: var(--color-accent-glow);
  border: 1px solid rgba(33,150,243,0.3);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-2);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.service-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  margin-block: var(--space-2);
}

.service-card__features li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-6);
  position: relative;
}

.service-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.service-card__price { margin-top: auto; }

.price__from {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-1);
}

.price__amount {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
}

.price__period {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text-muted);
}

/* ---- CONTENT SECTION BG ---- */
.content-section { background: var(--color-bg); }

/* ---- AD SECTION ---- */
.ad-section { background: var(--color-surface); }

.ad-section__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 75% 50%, rgba(21,101,192,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(33,150,243,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Metrics */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.metric-card {
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}

.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(33,150,243,0.3);
}

.metric-card__icon { font-size: 1.5rem; margin-bottom: var(--space-3); line-height: 1; }

.metric-card__val {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent-light);
  display: block;
  margin-bottom: var(--space-2);
}

.metric-card__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

/* Platforms */
.platforms-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-12);
}

.platform-badge {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.process-step {
  padding: var(--space-6);
  border-left: 2px solid rgba(33,150,243,0.3);
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  left: -5px;
  top: var(--space-6);
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent-glow);
}

.process-step__num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.process-step__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ---- PORTFOLIO ---- */
.portfolio-section { background: var(--color-bg); }

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.filter-btn {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  cursor: pointer;
  min-height: 44px;
  transition: all var(--transition-interactive);
}

.filter-btn:hover { color: var(--color-text); border-color: var(--color-accent); }

.filter-btn--active {
  background: var(--color-accent);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-accent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: var(--space-6);
}

.portfolio-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(33,150,243,0.4);
}

.portfolio-card.hidden { display: none; }

.portfolio-card__img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.portfolio-card__img-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s var(--ease-out);
}

.portfolio-card:hover .portfolio-card__img-bg { transform: scale(1.05); }

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-interactive);
  backdrop-filter: blur(4px);
}

.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }

.portfolio-card__view {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

/* Screenshot variant — replaces mockup with real site image */
.portfolio-card__img--screenshot {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0a0f1c;
}

.portfolio-card__screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.portfolio-card:hover .portfolio-card__screenshot { transform: scale(1.04); }

.portfolio-card__img--screenshot .portfolio-card__overlay {
  z-index: 2;
}

.portfolio-card__mockup {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

/* Web mockup */
.web-mockup {
  background: rgba(0,0,0,0.4);
  border-radius: var(--radius-lg);
  width: 80%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.mockup-bar {
  height: 24px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  padding-inline: var(--space-3);
}

.mockup-bar::before {
  content: '';
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,100,100,0.6);
  box-shadow: 14px 0 rgba(255,165,0,0.6), 28px 0 rgba(100,200,100,0.6);
}

.mockup-body { padding: var(--space-4); }
.mockup-line {
  height: 8px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  margin-bottom: var(--space-3);
}
.mockup-line.w-90 { width: 90%; }
.mockup-line.w-80 { width: 80%; }
.mockup-line.w-70 { width: 70%; }
.mockup-line.w-60 { width: 60%; }
.mockup-line.w-50 { width: 50%; }
.mockup-line.w-40 { width: 40%; }

.mockup-2col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.mockup-btn { height: 20px; width: 60%; background: rgba(33,150,243,0.55); border-radius: 4px; margin-top: var(--space-4); }
.mockup-img-block { background: rgba(255,255,255,0.06); border-radius: var(--radius-md); height: 60px; }

/* Ads mockup */
.ads-mockup {
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  width: 85%;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.ads-stat { display: flex; align-items: baseline; gap: var(--space-2); }
.ads-stat__num { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: #fff; }
.ads-stat__lbl { font-size: var(--text-xs); color: rgba(255,255,255,0.5); }

.ads-bar-group { display: flex; align-items: flex-end; gap: var(--space-2); height: 50px; }
.ads-bar { flex: 1; background: rgba(255,255,255,0.2); border-radius: 2px 2px 0 0; }
.ads-bar--accent { background: var(--color-accent); }

/* Content mockup */
.content-mockup { display: flex; justify-content: center; align-items: center; width: 100%; }

.tiktok-card {
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  text-align: center;
  width: 70%;
}

.tiktok-bar {
  height: 6px;
  width: 100%;
  background: var(--color-accent);
  border-radius: 3px;
  margin-bottom: var(--space-3);
}

.tiktok-views { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: #fff; }
.tiktok-views span { font-size: var(--text-xs); font-weight: 400; color: rgba(255,255,255,0.5); margin-left: 4px; }

/* Brand mockup */
.brand-mockup { display: flex; align-items: center; gap: var(--space-4); }
.brand-circle {
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 3px solid rgba(33,150,243,0.7);
  background: rgba(33,150,243,0.18);
  flex-shrink: 0;
}
.brand-lines { display: flex; flex-direction: column; gap: var(--space-2); }
.brand-line { height: 10px; background: rgba(255,255,255,0.25); border-radius: 4px; }

/* Portfolio info */
.portfolio-card__info {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.portfolio-card__tag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.portfolio-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}

.portfolio-card__result {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ---- TESTIMONIALS ---- */
.testimonials-section { background: var(--color-surface); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
  align-items: start;
}

.testimonial {
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.testimonial--featured {
  background: rgba(33,150,243,0.07);
  border-color: rgba(33,150,243,0.4);
  box-shadow: 0 0 0 1px rgba(33,150,243,0.1), var(--shadow-md);
}

.testimonial__quote {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
}

.testimonial__footer { display: flex; align-items: center; gap: var(--space-4); }

.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-accent-glow);
  border: 2px solid rgba(33,150,243,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

.testimonial__name { display: block; font-weight: 700; color: var(--color-text); font-style: normal; font-size: var(--text-sm); }
.testimonial__role { display: block; font-size: var(--text-xs); color: var(--color-text-muted); }

/* ---- CONTACT ---- */
.contact-section { background: var(--color-bg); }

.contact-section__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 20% 50%, rgba(21,101,192,0.09) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(var(--space-10), 5vw, var(--space-16));
  align-items: start;
  position: relative;
}

@media (max-width: 768px) { .contact-inner { grid-template-columns: 1fr; } }

.contact-left .section__title { margin-bottom: var(--space-4); }
.contact-left p { color: var(--color-text-muted); font-size: var(--text-base); margin-bottom: var(--space-8); }

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  list-style: none;
  margin-bottom: var(--space-8);
}

.contact-perks li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact-detail svg { flex-shrink: 0; color: var(--color-accent); }

/* Form */
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: var(--space-2); }

.form-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-input {
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0.75rem var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text);
  min-height: 44px;
  width: 100%;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.form-input::placeholder { color: var(--color-text-faint); }
.form-input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-glow); }

.form-textarea { resize: vertical; min-height: 100px; }
.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238896aa' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-note { font-size: var(--text-xs); color: var(--color-text-faint); text-align: center; }

/* ---- FOOTER ---- */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-12);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: var(--space-10);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.footer__tagline { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-4); line-height: 1.6; }

.footer__domain {
  font-size: var(--text-xs);
  color: var(--color-accent);
  margin-top: var(--space-2);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.footer__nav { display: flex; gap: var(--space-12); flex-wrap: wrap; }

.footer__col { display: flex; flex-direction: column; gap: var(--space-3); }

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.footer__col a { font-size: var(--text-sm); color: var(--color-text-muted); }
.footer__col a:hover { color: var(--color-accent-light); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.footer__bottom p { font-size: var(--text-xs); color: var(--color-text-faint); }

.footer__legal { display: flex; gap: var(--space-6); }
.footer__legal a { font-size: var(--text-xs); color: var(--color-text-faint); }
.footer__legal a:hover { color: var(--color-text-muted); }

/* ---- LIGHT MODE ADJUSTMENTS ---- */
[data-theme='light'] .btn--ghost {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.12);
  color: var(--color-text);
}

[data-theme='light'] .metric-card__val { color: var(--color-accent); }

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  .hero__headline { white-space: normal; font-size: clamp(3rem, 14vw, 4.5rem); line-height: 0.98; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .hero__actions .btn { width: 100%; }
  .client-wins__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 500px; }
  .mock-stack { height: 500px; max-width: 340px; }
  .mock-card { width: 82%; }
  .mock-card--1 { top: 0; left: 2%; }
  .mock-card--2 { top: 118px; left: 16%; }
  .mock-card--3 { top: 236px; left: 2%; }
  .mock-card--4 { top: 340px; left: 16%; }
  .section__cta-row { flex-direction: column; align-items: flex-start; }
  .footer__inner { flex-direction: column; }
  .footer__nav { gap: var(--space-8); }
  .metrics-row { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
}

/* ---- FORM SUCCESS ---- */
.form-success {
  text-align: center;
  padding: var(--space-10);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.form-success.show { display: flex; }
.form-success__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-accent-glow);
  border: 2px solid rgba(33,150,243,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.form-success__title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--color-text); }
.form-success__sub { font-size: var(--text-sm); color: var(--color-text-muted); }

/* Calendly CTA inside success state */
.form-success__calendly-cta {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.form-success__calendly-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* ---- CONTACT TABS ---- */
.contact-tabs {
  display: flex;
  gap: 0;
  margin-bottom: var(--space-6);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.contact-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--transition-interactive), color var(--transition-interactive);
  letter-spacing: 0.01em;
}

.contact-tab:hover {
  background: var(--color-surface-alt);
  color: var(--color-text);
}

.contact-tab--active {
  background: var(--color-accent);
  color: #fff;
}

.contact-tab--active:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

/* ---- CONTACT PANELS ---- */
.contact-panel {
  display: none;
}
.contact-panel--active {
  display: block;
}

/* ---- CALENDLY PANEL ---- */
.calendly-inline-widget {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

/* Override Calendly iframe background for dark theme */
.calendly-inline-widget iframe {
  border-radius: 12px;
}

.calendly-note {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}

.form-note__link {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-accent);
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== VIDEO SHOWCASE ===== */
.video-showcase {
  margin-top: var(--space-12);
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-border);
}

.video-showcase__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.video-showcase__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin: var(--space-2) 0 var(--space-3);
  letter-spacing: -0.02em;
}

.video-showcase__desc {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.video-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 900px) {
  .video-showcase__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .video-showcase__grid {
    grid-template-columns: 1fr;
  }
}

.video-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.video-card__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-card__player--vertical {
  aspect-ratio: 9 / 16;
}

.video-card__player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card__info {
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.video-card__tag {
  display: inline-block;
  background: rgba(33, 150, 243, 0.12);
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.video-card__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  margin: 0;
}

/* ===== CALENDLY-ONLY CONTACT LAYOUT ===== */
.contact-right--calendly-only {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  width: 100%;
}

/* Make the contact grid 40/60 to give Calendly more room */
.contact-inner:has(.contact-right--calendly-only) {
  grid-template-columns: 1fr 1.6fr;
}

@media (max-width: 768px) {
  .contact-inner:has(.contact-right--calendly-only) {
    grid-template-columns: 1fr;
  }
}

.calendly-cta-header {
  background: #0d1e3a;
  border: 1px solid rgba(33, 150, 243, 0.25);
  border-radius: 14px;
  padding: var(--space-8) var(--space-8) var(--space-7);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.calendly-cta-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(33,150,243,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.calendly-cta-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2196f3;
  margin-bottom: var(--space-3);
}

.calendly-cta-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
}

.calendly-cta-sub {
  font-size: var(--text-sm);
  color: #94a3b8;
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto;
}

/* Calendly widget wrapper — remove dark bg border radius mismatch */
.contact-right--calendly-only .calendly-inline-widget {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(33, 150, 243, 0.15);
}

/* ============================================================
   TABBED CONTACT SECTION (Calendly + Lead Form)
   ============================================================ */
.contact-right--tabbed {
  display: flex;
  flex-direction: column;
}
.contact-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin-bottom: 20px;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
}
.contact-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.contact-tab:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
}
.contact-tab.is-active {
  color: #0d1117;
  background: var(--color-accent, #2196f3);
  font-weight: 600;
}
.contact-tab.is-active svg { stroke: #0d1117; }
.contact-tab svg {
  flex-shrink: 0;
  transition: stroke 0.2s ease;
}

.contact-panel { display: none; }
.contact-panel.is-active { display: block; animation: contactPanelFade 0.25s ease; }
@keyframes contactPanelFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Lead form header */
.lead-form-header { margin-bottom: 22px; }
.lead-form-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent, #2196f3);
  font-weight: 600;
  margin-bottom: 8px;
}
.lead-form-headline {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #ffffff;
  line-height: 1.2;
}
.lead-form-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

/* Form */
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 640px) {
  .lead-form__row { grid-template-columns: 1fr; }
}
.lead-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lead-form__field--full { grid-column: 1 / -1; }
.lead-form__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.req { color: var(--color-accent, #2196f3); }
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--color-accent, #2196f3);
  background: rgba(255, 255, 255, 0.06);
}
.lead-form textarea { resize: vertical; min-height: 92px; }
.lead-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.lead-form select option { background: #0d1117; color: #fff; }

.lead-form__submit {
  margin-top: 6px;
  padding: 14px 24px;
  background: var(--color-accent, #2196f3);
  color: #0d1117;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.15s ease;
}
.lead-form__submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(33, 150, 243, 0.28);
}
.lead-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}
.lead-form__submit.is-sending .lead-form__submit-label::after {
  content: '';
  display: inline-block;
  width: 12px; height: 12px;
  margin-left: 10px;
  border: 2px solid rgba(13, 17, 23, 0.35);
  border-top-color: #0d1117;
  border-radius: 50%;
  animation: leadFormSpin 0.7s linear infinite;
  vertical-align: -2px;
}
@keyframes leadFormSpin { to { transform: rotate(360deg); } }

.lead-form__error {
  margin: 4px 0 0;
  padding: 10px 14px;
  background: rgba(220, 60, 60, 0.12);
  border: 1px solid rgba(220, 60, 60, 0.3);
  border-radius: 8px;
  color: #ffb4b4;
  font-size: 0.9rem;
}
.lead-form__note {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* Success */
.lead-form-success {
  text-align: center;
  padding: 40px 20px;
  background: rgba(33, 150, 243, 0.06);
  border: 1px solid rgba(33, 150, 243, 0.18);
  border-radius: 14px;
}
.lead-form-success__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--color-accent, #2196f3);
  color: #0d1117;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 56px;
}
.lead-form-success__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}
.lead-form-success__sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}
.lead-form-success__sub a {
  color: var(--color-accent, #2196f3);
  font-weight: 500;
  text-decoration: none;
}
.lead-form-success__sub a:hover { text-decoration: underline; }

/* ============================================================
   BRAND LOCKUP — Icon + Wordmark (transparent, light/dark aware)
   ============================================================ */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  line-height: 1;
}
.brand-lockup:hover { opacity: 0.82; }

.brand-lockup__icon {
  display: block;
  height: 44px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(30, 144, 255, 0.25));
}

.brand-lockup__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-lockup__line1 {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: #1a3a6b;
  font-family: var(--font-heading, inherit);
}

.brand-lockup__evo { color: #1a3a6b; }
.brand-lockup__axis { color: #2196f3; }

[data-theme='dark'] .brand-lockup--footer .brand-lockup__evo { color: #ffffff; }
[data-theme='dark'] .brand-lockup--footer .brand-lockup__axis { color: #7EC5FF; }

.brand-lockup__line2 {
  font-size: 9.5px;
  letter-spacing: 0.26em;
  color: #2196f3;
  margin-top: 3px;
  white-space: nowrap;
  font-weight: 600;
}

/* Main site nav has always-white background — always dark text */
/* (No theme override for base .brand-lockup — dark blue text stays regardless of theme) */

/* Footer variant — slightly smaller + follows theme */
.brand-lockup--footer .brand-lockup__icon { height: 38px; }
.brand-lockup--footer .brand-lockup__line1 { font-size: 15px; }
.brand-lockup--footer .brand-lockup__line2 { font-size: 8.5px; letter-spacing: 0.24em; }

/* Footer is themed — dark bg needs white text */
[data-theme='dark'] .brand-lockup--footer .brand-lockup__line1 { color: #ffffff; }
[data-theme='dark'] .brand-lockup--footer .brand-lockup__line2 { color: #7EC5FF; }

/* Mobile */
@media (max-width: 640px) {
  .brand-lockup { gap: 10px; }
  .brand-lockup__icon { height: 36px; }
  .brand-lockup__line1 { font-size: 15px; }
  .brand-lockup__line2 { font-size: 8.5px; letter-spacing: 0.22em; }
}
