/* =============================================================================
   APEX SOCIALS — style.css
   Core design system: tokens, typography, layout, components.
   Palette (brief): graphite #2E2E2E · teal #2CA6A4 · peach #FFBE92 · smoke #F5F5F5
   Type: Fraunces (display serif, echoes the monogram) + Inter (body / UI / data)
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --graphite: #2e2e2e;
  --teal: #2ca6a4;
  --peach: #ffbe92;
  --smoke: #f5f5f5;

  /* Derived neutrals */
  --ink: #1c1c1c;
  --graphite-700: #262626;
  --graphite-600: #383838;
  --graphite-500: #4a4a4a;
  --line: rgba(255, 255, 255, 0.10);
  --line-dark: rgba(28, 28, 28, 0.10);
  --white: #ffffff;

  /* Text */
  --text-on-dark: #f3f3f1;
  --text-on-dark-soft: rgba(243, 243, 241, 0.66);
  --text-on-light: #232323;
  --text-on-light-soft: rgba(35, 35, 35, 0.62);

  /* Accent variants */
  --teal-600: #248e8c;
  --teal-300: #6fc7c5;
  --teal-glow: rgba(44, 166, 164, 0.45);
  --peach-soft: rgba(255, 190, 146, 0.16);

  /* Surfaces */
  --surface-dark: #2e2e2e;
  --surface-dark-2: #272727;
  --surface-card-dark: #343434;
  --surface-light: #f5f5f5;
  --surface-card-light: #ffffff;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale */
  --fs-eyebrow: 0.78rem;
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-lead: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --fs-h1: clamp(2.6rem, 1.7rem + 4vw, 5rem);
  --fs-kpi: clamp(2.6rem, 1.8rem + 3.4vw, 4.4rem);

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 7rem;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem);

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;

  /* Effects */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.45);
  --shadow-teal: 0 16px 40px -16px var(--teal-glow);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 76px;
}

/* -----------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-on-light);
  background: var(--surface-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
svg { display: block; max-width: 100%; }

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

button { font: inherit; cursor: pointer; border: none; background: none; }

ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--teal); color: #fff; }

/* -----------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }

p { color: inherit; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-on-light-soft);
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow::before {
  content: "";
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid var(--teal); /* the apex / peak motif */
  transform: translateY(-1px);
}

.serif-accent { font-style: italic; color: var(--peach); }

/* Gradient text used sparingly on hero */
.grad-text {
  background: linear-gradient(100deg, var(--white) 0%, var(--teal-300) 60%, var(--peach) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -----------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 0.5rem + 3vw, 2.5rem);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }

.section--dark {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}
.section--dark-2 { background: var(--surface-dark-2); color: var(--text-on-dark); }
.section--light { background: var(--surface-light); color: var(--text-on-light); }

.section-head { max-width: 680px; margin-bottom: var(--space-5); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: var(--space-2); }
.section--dark .lead { color: var(--text-on-dark-soft); }

.stack-sm > * + * { margin-top: var(--space-2); }
.grid { display: grid; gap: var(--space-3); }

/* -----------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-pad-y: 0.85rem;
  --btn-pad-x: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  line-height: 1;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    background-color 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}

.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: var(--teal);
  color: #06302f;
  box-shadow: 0 10px 30px -12px var(--teal-glow);
}
.btn--primary:hover {
  background: var(--teal-300);
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -14px var(--teal-glow);
}

.btn--ghost {
  background: transparent;
  color: currentColor;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25);
}
.section--light .btn--ghost { box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

.btn--peach {
  background: var(--peach);
  color: #5a3417;
}
.btn--peach:hover { transform: translateY(-2px); filter: brightness(1.04); }

.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--lg { --btn-pad-y: 1.05rem; --btn-pad-x: 2rem; font-size: 1.02rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--teal);
  position: relative;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.text-link:hover::after { transform: scaleX(1); }
.text-link:hover .arrow { transform: translateX(3px); }
.text-link .arrow { transition: transform 0.4s var(--ease); }

/* -----------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(28, 28, 28, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 0.5rem + 3vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.brand img { height: 30px; width: auto; }
.brand .brand-name { font-size: 1.05rem; font-weight: 500; letter-spacing: 0.14em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.4rem + 1.4vw, 2.1rem);
}
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 100%;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: #fff; }

.nav-cta { display: inline-flex; align-items: center; gap: var(--space-2); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* -----------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: var(--space-6);
  background: var(--graphite);
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
}

/* animated gradient mesh + grain */
.hero__bg {
  position: absolute;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(42% 50% at 18% 22%, rgba(44, 166, 164, 0.30), transparent 60%),
    radial-gradient(38% 46% at 82% 30%, rgba(255, 190, 146, 0.20), transparent 62%),
    radial-gradient(50% 55% at 60% 90%, rgba(44, 166, 164, 0.16), transparent 60%);
  filter: blur(10px);
  animation: heroDrift 22s ease-in-out infinite alternate;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 78%);
  opacity: 0.5;
}
.hero__shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 30%;
  opacity: 0.5;
  will-change: transform;
}
.shape--1 {
  width: 220px; height: 220px;
  top: 14%; left: 6%;
  border: 1.5px solid rgba(44, 166, 164, 0.5);
  border-radius: 50%;
}
.shape--2 {
  width: 120px; height: 120px;
  top: 64%; left: 12%;
  background: linear-gradient(140deg, rgba(255, 190, 146, 0.5), transparent);
  border-radius: 28% 72% 60% 40% / 40% 40% 60% 60%;
  filter: blur(2px);
}
.shape--3 {
  width: 90px; height: 90px;
  top: 22%; right: 10%;
  border: 1.5px solid rgba(255, 190, 146, 0.45);
  transform: rotate(20deg);
  border-radius: 22px;
}
.shape--4 {
  width: 160px; height: 160px;
  bottom: 12%; right: 8%;
  background: radial-gradient(circle at 30% 30%, rgba(44, 166, 164, 0.4), transparent 70%);
  border-radius: 50%;
  filter: blur(4px);
}

.hero__inner { position: relative; z-index: 1; max-width: 920px; }

.hero h1 { margin-bottom: var(--space-3); }
.hero .lead {
  color: var(--text-on-dark-soft);
  max-width: 560px;
  margin-bottom: var(--space-4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem 0.5rem 0.6rem;
  margin-bottom: var(--space-3);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-on-dark-soft);
  backdrop-filter: blur(6px);
}
.hero__pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(44, 166, 164, 0.2);
}

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-dark-soft);
}
.hero__scroll .line {
  width: 1px; height: 38px;
  background: linear-gradient(var(--teal), transparent);
  animation: scrollLine 2.2s var(--ease) infinite;
}

/* -----------------------------------------------------------------------------
   8. Marquee / trusted-by
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-dark);
  padding-block: var(--space-4);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.section--dark .marquee { border-block-color: var(--line); }
.marquee__label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-light-soft);
  margin-bottom: var(--space-3);
}
.section--dark .marquee__label { color: var(--text-on-dark-soft); }
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.8vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--text-on-light-soft);
  transition: color 0.3s var(--ease);
}
.section--dark .marquee__item { color: rgba(243,243,241,0.55); }
.marquee__item:hover { color: var(--teal); }

/* -----------------------------------------------------------------------------
   9. Cards: services
   -------------------------------------------------------------------------- */
.cards { display: grid; gap: var(--space-3); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: var(--space-4);
  border-radius: var(--radius);
  background: var(--surface-card-light);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
  overflow: hidden;
}
.section--dark .card,
.card--dark {
  background: var(--surface-card-dark);
  border-color: var(--line);
  box-shadow: none;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--teal), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.card:hover::after { opacity: 1; }

.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--peach-soft);
  color: var(--teal);
  margin-bottom: var(--space-3);
}
.card--dark .card__icon,
.section--dark .card__icon { background: rgba(44, 166, 164, 0.14); }
.card__icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--text-on-light-soft); margin-bottom: var(--space-3); }
.card--dark p, .section--dark .card p { color: var(--text-on-dark-soft); }

.card__list { margin: 0 0 var(--space-3); }
.card__list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
  padding-block: 0.28rem;
  color: var(--text-on-light-soft);
}
.card--dark .card__list li, .section--dark .card__list li { color: var(--text-on-dark-soft); }
.card__list li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    var(--teal)
    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='%23063030' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

.card__cta { margin-top: auto; }

/* service tag pill */
.pill-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  background: rgba(44, 166, 164, 0.1);
  margin-bottom: var(--space-2);
}

/* -----------------------------------------------------------------------------
   10. Comparison (traditional vs Apex)
   -------------------------------------------------------------------------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.compare__col {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.compare__col--them {
  background: rgba(255, 255, 255, 0.02);
}
.compare__col--us {
  background: linear-gradient(160deg, rgba(44, 166, 164, 0.16), rgba(44, 166, 164, 0.04));
  border-color: rgba(44, 166, 164, 0.4);
  box-shadow: var(--shadow-teal);
}
.compare__title {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.compare__title h3 { font-size: 1.4rem; }
.compare__badge {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 100px;
}
.compare__col--them .compare__badge { background: rgba(255,255,255,0.08); color: var(--text-on-dark-soft); }
.compare__col--us .compare__badge { background: var(--teal); color: #06302f; }
.compare__row {
  display: flex; gap: 0.8rem; align-items: flex-start;
  padding-block: 0.7rem;
  color: var(--text-on-dark-soft);
  font-size: 0.98rem;
}
.compare__col--us .compare__row { color: var(--text-on-dark); }
.compare__mark { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.compare__mark--no { color: #ff7a7a; }
.compare__mark--yes { color: var(--teal-300); }

/* -----------------------------------------------------------------------------
   11. KPI counters
   -------------------------------------------------------------------------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.kpi {
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  text-align: left;
}
.section--light .kpi {
  background: var(--surface-card-light);
  border-color: var(--line-dark);
  box-shadow: var(--shadow-sm);
}
.kpi__num {
  font-family: var(--font-display);
  font-size: var(--fs-kpi);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--teal);
  display: flex;
  align-items: baseline;
  gap: 0.05em;
}
.kpi__num .suffix { color: var(--peach); font-size: 0.6em; }
.kpi__label {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  color: var(--text-on-dark-soft);
  letter-spacing: 0.01em;
}
.section--light .kpi__label { color: var(--text-on-light-soft); }
.kpi__note { font-size: 0.78rem; color: var(--text-on-dark-soft); opacity: 0.7; margin-top: 0.3rem; }

/* -----------------------------------------------------------------------------
   12. Process timeline
   -------------------------------------------------------------------------- */
.timeline { position: relative; display: grid; gap: var(--space-3); }
.timeline::before {
  content: "";
  position: absolute;
  left: 27px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--teal), rgba(44,166,164,0.15));
}
.tl-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-3);
  align-items: start;
}
.tl-step__num {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--teal);
  background: var(--surface-dark);
  border: 1.5px solid var(--teal);
}
.section--light .tl-step__num { background: var(--surface-light); }
.tl-step__body { padding-top: 0.5rem; }
.tl-step__body h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.tl-step__body p { color: var(--text-on-dark-soft); }
.section--light .tl-step__body p { color: var(--text-on-light-soft); }

/* -----------------------------------------------------------------------------
   13. Testimonials
   -------------------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.quote {
  padding: var(--space-4);
  border-radius: var(--radius);
  background: var(--surface-card-light);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.section--dark .quote { background: var(--surface-card-dark); border-color: var(--line); box-shadow: none; }
.quote__mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.5; color: var(--teal); height: 1.4rem; }
.quote p { font-size: 1.05rem; color: var(--text-on-light); }
.section--dark .quote p { color: var(--text-on-dark); }
.quote__person { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  background: var(--teal); color: #06302f; font-size: 1.1rem;
}
.quote__name { font-weight: 600; font-size: 0.95rem; }
.quote__role { font-size: 0.82rem; color: var(--text-on-light-soft); }
.section--dark .quote__role { color: var(--text-on-dark-soft); }

/* -----------------------------------------------------------------------------
   14. Results — before/after + proof
   -------------------------------------------------------------------------- */
.case {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--surface-card-dark);
  border: 1px solid var(--line);
  margin-bottom: var(--space-3);
}
.case__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-4); }
.case__client { display: flex; align-items: center; gap: 0.9rem; }
.case__client h3 { font-size: 1.5rem; }
.case__tag { font-size: 0.78rem; color: var(--text-on-dark-soft); }

.beforeafter { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-3); align-items: stretch; }
.ba-col {
  padding: var(--space-3);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: center;
}
.ba-col--before { background: rgba(255,255,255,0.02); }
.ba-col--after { background: linear-gradient(160deg, rgba(44,166,164,0.16), transparent); border-color: rgba(44,166,164,0.4); }
.ba-col__label { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-on-dark-soft); margin-bottom: 0.5rem; }
.ba-col--after .ba-col__label { color: var(--teal-300); }
.ba-col__num { font-family: var(--font-display); font-size: clamp(1.8rem,1.4rem+1.6vw,2.6rem); line-height: 1; }
.ba-col--after .ba-col__num { color: var(--teal); }
.ba-col__sub { font-size: 0.84rem; color: var(--text-on-dark-soft); margin-top: 0.4rem; }
.ba-arrow { display: grid; place-items: center; color: var(--peach); }
.ba-arrow svg { width: 30px; height: 30px; }

.case__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-4); }
.metric { padding: var(--space-3); border-radius: var(--radius); background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.metric__num { font-family: var(--font-display); font-size: clamp(1.6rem,1.3rem+1.2vw,2.2rem); color: var(--teal); line-height: 1; }
.metric__label { font-size: 0.86rem; color: var(--text-on-dark-soft); margin-top: 0.4rem; }

/* proof image placeholder */
.proof-shot {
  border-radius: var(--radius);
  border: 1px dashed rgba(255,255,255,0.22);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 12px, transparent 12px 24px);
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-3);
  color: var(--text-on-dark-soft);
}
.proof-shot span { display: block; font-size: 0.86rem; }
.proof-shot .tag { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.5rem; }
.proof-img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }

/* -----------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  background: linear-gradient(140deg, #1f1f1f, #2e2e2e 60%);
  border: 1px solid var(--line);
  text-align: center;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% 30% auto -10%;
  z-index: -1;
  height: 80%;
  background: radial-gradient(circle, rgba(44,166,164,0.35), transparent 60%);
  filter: blur(20px);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  z-index: -1;
  height: 80%;
  background: radial-gradient(circle, rgba(255,190,146,0.22), transparent 60%);
  filter: blur(20px);
}
.cta-band h2 { margin-bottom: var(--space-2); color: var(--text-on-dark); }
.cta-band .lead { color: var(--text-on-dark-soft); margin-inline: auto; max-width: 560px; margin-bottom: var(--space-4); }
.cta-band .hero__actions { justify-content: center; }

/* -----------------------------------------------------------------------------
   16. Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--graphite);
  color: var(--text-on-dark);
  padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 5vw, 6rem));
  padding-bottom: clamp(3rem, 2rem + 5vw, 6rem);
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(40% 60% at 80% 10%, rgba(44,166,164,0.22), transparent 60%),
    radial-gradient(40% 60% at 10% 90%, rgba(255,190,146,0.14), transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-block: var(--space-2); max-width: 14ch; }
.page-hero .lead { color: var(--text-on-dark-soft); max-width: 560px; }
.breadcrumb { font-size: 0.84rem; color: var(--text-on-dark-soft); }
.breadcrumb a:hover { color: var(--teal); }

/* -----------------------------------------------------------------------------
   17. Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem+3vw,4rem); align-items: start; }

.field { margin-bottom: var(--space-3); }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 0.45rem; color: var(--text-on-light); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.98rem;
  color: var(--text-on-light);
  background: #fff;
  border: 1.5px solid var(--line-dark);
  border-radius: 12px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(44,166,164,0.14);
}
.field--error input,
.field--error select,
.field--error textarea { border-color: #e2574c; }
.field__error { display: none; color: #c23b30; font-size: 0.8rem; margin-top: 0.35rem; }
.field--error .field__error { display: block; }

.form-note { font-size: 0.82rem; color: var(--text-on-light-soft); margin-top: var(--space-2); }
.form-status { margin-top: var(--space-2); font-weight: 600; }
.form-status.is-ok { color: var(--teal-600); }
.form-status.is-err { color: #c23b30; }

.contact-cards { display: grid; gap: var(--space-2); }
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  padding: var(--space-3);
  border-radius: var(--radius);
  background: var(--surface-card-dark);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.contact-card:hover { transform: translateX(4px); border-color: rgba(44,166,164,0.45); }
.contact-card__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(44,166,164,0.14); color: var(--teal); }
.contact-card__label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-on-dark-soft); }
.contact-card__value { font-weight: 600; color: var(--text-on-dark); }

.map-placeholder {
  margin-top: var(--space-3);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 260px;
  background:
    linear-gradient(rgba(46,46,46,0.6), rgba(46,46,46,0.6)),
    repeating-linear-gradient(45deg, #333 0 14px, #2c2c2c 14px 28px);
  display: grid; place-items: center; text-align: center;
  color: var(--text-on-dark-soft);
  position: relative;
}
.map-placeholder .pin {
  width: 18px; height: 18px; border-radius: 50% 50% 50% 0;
  background: var(--teal); transform: rotate(-45deg);
  margin-bottom: 0.8rem;
  box-shadow: 0 0 0 6px rgba(44,166,164,0.2);
}

/* -----------------------------------------------------------------------------
   18. About
   -------------------------------------------------------------------------- */
.about-lead { max-width: 760px; }
.about-lead p + p { margin-top: var(--space-3); }
.values { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--space-3); }
.value {
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: var(--surface-card-light);
}
.section--dark .value { background: var(--surface-card-dark); border-color: var(--line); }
.value__n { font-family: var(--font-display); font-size: 0.95rem; color: var(--teal); letter-spacing: 0.1em; }
.value h3 { margin-block: 0.6rem 0.4rem; font-size: 1.25rem; }
.value p { color: var(--text-on-light-soft); }
.section--dark .value p { color: var(--text-on-dark-soft); }

.stat-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-3); }
.stat-strip .kpi { text-align: center; }
.stat-strip .kpi__num { justify-content: center; }

/* -----------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark);
  padding-top: var(--space-6);
}
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-4); padding-bottom: var(--space-5); }
.footer-brand .brand { margin-bottom: var(--space-2); }
.footer-brand p { color: var(--text-on-dark-soft); max-width: 32ch; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-on-dark-soft); margin-bottom: var(--space-2); }
.footer-col a { display: block; padding-block: 0.32rem; color: rgba(243,243,241,0.78); font-size: 0.95rem; transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
.footer-col a:hover { color: var(--teal); transform: translateX(3px); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2);
  padding-block: var(--space-3);
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--text-on-dark-soft);
}
.footer-socials { display: flex; gap: 0.6rem; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--text-on-dark-soft);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-socials a:hover { color: var(--teal); border-color: var(--teal); transform: translateY(-2px); }

/* -----------------------------------------------------------------------------
   20. Helpers
   -------------------------------------------------------------------------- */
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.center { text-align: center; }
.muted { color: var(--text-on-light-soft); }
.section--dark .muted { color: var(--text-on-dark-soft); }
.maxw-60 { max-width: 60ch; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--teal); color: #06302f;
  padding: 0.6rem 1rem; border-radius: 8px; z-index: 200;
  font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 12px; }

.pricing-note {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.86rem; font-weight: 600; color: var(--peach);
}
.pricing-note::before { content: "•"; color: var(--teal); }

/* keyframes used outside animations.css trigger */
@keyframes heroDrift {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.08); }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
