/* ═══════════════════════════════════════════════════════════════
   AVIN Engenharia — Premium Dark Theme
   Designed for impact. Built with precision.
   ═══════════════════════════════════════════════════════════════ */

/* ── 0. Design Tokens ─────────────────────────────────────────── */
:root {
  /* Palette */
  --bg:              #0e1f22;
  --bg-footer:       #0a1719;
  --surface:         rgba(42, 52, 54, 0.28);
  --surface-hover:   rgba(42, 52, 54, 0.42);
  --surface-raised:  rgba(18, 56, 59, 0.4);
  --primary:         #1bb7a4;
  --primary-dim:     rgba(27, 183, 164, 0.08);
  --primary-glow:    rgba(27, 183, 164, 0.15);
  --primary-border:  rgba(27, 183, 164, 0.3);
  --gold:            #f5c84b;
  --gold-end:        #e0a83a;
  --danger:          #ef5350;
  --text:            #f1f5f9;
  --text-muted:      #94a3b8;
  --line:            rgba(255, 255, 255, 0.06);

  /* Typography */
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing */
  --container:       1200px;
  --container-px:    clamp(20px, 4vw, 48px);
  --section-py:      clamp(80px, 10vw, 140px);
  --card-pad:        clamp(28px, 3vw, 40px);
  --card-radius:     20px;
  --radius-sm:       16px;
  --radius-xl:       24px;
  --gap:             clamp(20px, 2.5vw, 24px);

  /* Motion */
  --ease:            cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --speed:           0.35s;
}

/* ── 1. Reset & Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.15;
  text-wrap: balance;
}

p {
  color: var(--text-muted);
  max-width: 65ch;
}

::selection {
  background: var(--primary);
  color: var(--bg);
}

/* ── 2. Skip Link ─────────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--bg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 28px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 10000;
  transition: top var(--speed) var(--ease);
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ── 3. Utility: Container ────────────────────────────────────── */
.header-shell,
.hero-grid,
.priority-services > *:not(.glow-bg),
.problem-categories > *:not(.glow-bg),
.authority > *:not(.glow-bg),
.process > *:not(.glow-bg),
.audience-shell,
.differentials > *:not(.glow-bg),
.engineer-grid,
.hero-stat-bar,
.social-proof > *:not(.glow-bg),
.faq-grid,
.final-cta-shell,
.footer-content,
.inline-cta {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* ── 4. Glow Background Orbs ─────────────────────────────────── */
.glow-bg {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.35;
  will-change: transform;
}

.glow-gold {
  background: radial-gradient(circle, rgba(245, 200, 66, 0.45), rgba(240, 165, 0, 0.2), transparent 70%);
  opacity: 0.25;
}

/* allow parent sections to contain absolute orbs */
section,
.hero,
.priority-services,
.problem-categories,
.authority,
.process,
.audience,
.differentials,
.engineer,
.social-proof,
.faq,
.final-cta,
.premium-footer {
  position: relative;
  overflow: hidden;
}

/* ensure content stays above glows */
section > *:not(.glow-bg) {
  position: relative;
  z-index: 1;
}

/* ── 5. Site Header ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 8, 9, 0.75);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--line);
  transition: background var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-mark img,
.brand-mark svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color var(--speed) var(--ease);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--speed) var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

/* Nav CTA */
.nav-cta {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 10px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-end));
  color: #0f0f0f;
  flex-shrink: 0;
  transition: transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 24px rgba(245, 200, 66, 0.3);
}

/* Nav Toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--speed) var(--ease),
              opacity var(--speed) var(--ease);
}

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

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

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

/* Collapse to hamburger before the horizontal nav gets cramped */
@media (max-width: 1180px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 8, 9, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    padding: 16px var(--container-px) 24px;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--speed) var(--ease),
                opacity var(--speed) var(--ease),
                visibility var(--speed) var(--ease);
  }

  .nav-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav a {
    display: block;
    padding: 14px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 8px;
    width: 100%;
    text-align: center;
    display: block;
    padding: 14px 24px;
  }
}

/* ── 6. Section Heading (shared) ──────────────────────────────── */
.section-heading {
  margin-bottom: 64px;
}

.section-heading > span,
.section-kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  position: relative;
  padding-left: 20px;
}

.section-heading > span::before,
.section-kicker::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary-glow);
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-heading p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 55ch;
}

/* ── 7. Hero Section ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  padding-top: 160px;
  padding-bottom: clamp(60px, 8vw, 100px);
}

/* Hero Copy */
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-copy .section-kicker {
  margin-bottom: 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid rgba(27, 183, 164, 0.15);
  padding: 8px 18px;
  border-radius: 100px;
  width: fit-content;
}

.hero-kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  flex-shrink: 0;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-end), #ffe082);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 50ch;
}

/* Trust List */
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: 100px;
  transition: border-color var(--speed) var(--ease),
              color var(--speed) var(--ease);
}

.trust-list span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  flex-shrink: 0;
}

.trust-list span:hover {
  border-color: var(--primary-border);
  color: var(--text);
}

/* Hero Actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.cta-microcopy {
  font-size: 0.78rem;
  color: var(--text-muted);
  width: 100%;
  margin-top: -4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  min-height: 56px;
  padding: 14px 32px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease),
              background var(--speed) var(--ease),
              border-color var(--speed) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  border: none;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-end));
  color: #0f0f0f;
  box-shadow: 0 2px 16px rgba(245, 200, 66, 0.2);
}

.btn-primary:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 8px 36px rgba(245, 200, 66, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.btn-secondary:hover {
  border-color: var(--primary-border);
  background: rgba(27, 183, 164, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(27, 183, 164, 0.1);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hero Media */
.hero-media {
  position: relative;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
              0 0 80px rgba(27, 183, 164, 0.04);
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-xl) - 8px);
  object-fit: cover;
  aspect-ratio: 9 / 16;
}

/* Hero Stat Bar */
.hero-stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.hero-stat-bar > * {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  transition: border-color var(--speed) var(--ease),
              transform var(--speed) var(--ease);
}

.hero-stat-bar > *:hover {
  border-color: var(--primary-border);
  transform: translateY(-3px);
}

.hero-stat-bar svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-stat-bar strong {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  display: block;
  line-height: 1.2;
}

.hero-stat-bar span {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

/* ── 8. Section Spacing & Separators ──────────────────────────── */
.priority-services,
.problem-categories,
.authority,
.process,
.audience,
.differentials,
.engineer,
.social-proof,
.faq,
.final-cta {
  padding-block: var(--section-py);
}

.priority-services::after,
.problem-categories::after,
.authority::after,
.process::after,
.audience::after,
.differentials::after,
.engineer::after,
.social-proof::after,
.faq::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 70%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line) 20%,
    rgba(27, 183, 164, 0.12) 50%,
    var(--line) 80%,
    transparent
  );
  z-index: 1;
}

/* Alternating subtle backgrounds */
.problem-categories,
.process,
.differentials,
.faq {
  background: rgba(255, 255, 255, 0.008);
}

.authority,
.audience {
  background: radial-gradient(
    ellipse 80% 50% at 50% 50%,
    rgba(27, 183, 164, 0.02),
    transparent
  );
}

/* ── 9. Priority Services ─────────────────────────────────────── */
.priority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.priority-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              background var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
  overflow: hidden;
}

/* Radial spotlight following mouse */
.priority-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(27, 183, 164, 0.06),
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
  pointer-events: none;
  z-index: 0;
}

.priority-card:hover::before {
  opacity: 1;
}

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

.priority-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-border);
  background: var(--surface-hover);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3),
              0 0 40px rgba(27, 183, 164, 0.05);
}

/* Featured Card */
.priority-card.featured {
  border-color: rgba(27, 183, 164, 0.15);
}

.priority-card.featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 0 0 2px 2px;
  z-index: 2;
}

/* Card Icon */
.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-dim);
  transition: background var(--speed) var(--ease),
              color var(--speed) var(--ease);
  flex-shrink: 0;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
  transition: color var(--speed) var(--ease);
}

.priority-card:hover .card-icon {
  background: var(--primary);
}

.priority-card:hover .card-icon svg {
  color: var(--bg);
}

.priority-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.priority-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── 10. Problem Categories ───────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              background var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-border);
  background: var(--surface-hover);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3),
              0 0 30px rgba(27, 183, 164, 0.04);
}

.category-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  width: fit-content;
  background: var(--primary-dim);
  color: var(--primary);
}

.category-card.danger .category-label {
  background: rgba(239, 83, 80, 0.1);
  color: var(--danger);
}

.category-card.performance .category-label {
  background: rgba(245, 200, 66, 0.1);
  color: var(--gold);
}

.category-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.category-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.category-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.category-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.category-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.category-card.danger li::before {
  background: var(--danger);
}

.category-card.performance li::before {
  background: var(--gold);
}

/* ── 11. Authority Section ────────────────────────────────────── */
.metric-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-bottom: 48px;
}

.metric-item {
  text-align: center;
  padding: var(--card-pad);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  transition: transform var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}

.metric-item:hover {
  transform: translateY(-6px);
  border-color: var(--primary-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25),
              0 0 30px rgba(27, 183, 164, 0.05);
}

.metric-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.metric-item span {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── 12. Inline CTA ───────────────────────────────────────────── */
.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  margin-top: 48px;
  flex-wrap: wrap;
}

.inline-cta.contrast {
  background: linear-gradient(135deg, rgba(27, 183, 164, 0.06), rgba(27, 183, 164, 0.02));
  border-color: var(--primary-border);
}

.inline-cta p,
.inline-cta span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.inline-cta strong {
  font-family: var(--font-heading);
  color: var(--text);
  font-weight: 700;
}

.inline-cta a,
.inline-cta .btn {
  flex-shrink: 0;
}

/* ── 13. Text CTA ─────────────────────────────────────────────── */
.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap var(--speed) var(--ease),
              color var(--speed) var(--ease);
}

.text-cta::after {
  content: '→';
  transition: transform var(--speed) var(--ease);
}

.text-cta:hover {
  gap: 12px;
}

.text-cta:hover::after {
  transform: translateX(4px);
}

/* ── 14. Process Section ──────────────────────────────────────── */
.process-list {
  counter-reset: none;
}

.process-list ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  position: relative;
}

/* Connecting line */
.process-list ol::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-border), var(--line), var(--primary-border));
  z-index: 0;
}

.process-list li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: var(--card-pad);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  transition: transform var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              background var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}

.process-list li:hover {
  transform: translateY(-6px);
  border-color: var(--primary-border);
  background: var(--surface-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25),
              0 0 30px rgba(27, 183, 164, 0.05);
}

.process-list strong {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
  transition: background var(--speed) var(--ease),
              color var(--speed) var(--ease);
}

.process-list li:hover strong {
  background: var(--primary);
  color: var(--bg);
}

.process-list span {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.process-list p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 auto;
}

/* ── 15. Audience Section ─────────────────────────────────────── */
.audience {
  padding-block: var(--section-py);
}

.audience-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audience-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: transform var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              color var(--speed) var(--ease),
              background var(--speed) var(--ease);
}

.audience-list span:hover {
  transform: translateY(-3px);
  border-color: var(--primary-border);
  color: var(--text);
  background: var(--surface-hover);
}

.audience-list span svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ── 16. Differentials Section ────────────────────────────────── */
.differentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.differential-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.differential-list article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              background var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}

.differential-list article:hover {
  transform: translateY(-6px);
  border-color: var(--primary-border);
  background: var(--surface-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25),
              0 0 30px rgba(27, 183, 164, 0.05);
}

.differential-list h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.differential-list p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.differential-list svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

/* ── 17. Engineer Section ─────────────────────────────────────── */
.engineer {
  padding-block: var(--section-py);
}

.engineer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.portrait-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 3px;
  background: linear-gradient(
    160deg,
    var(--primary),
    rgba(27, 183, 164, 0.2) 40%,
    rgba(245, 200, 66, 0.15) 70%,
    var(--line)
  );
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 2px);
  display: block;
}

.engineer-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.engineer-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.engineer-copy h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
}

.engineer-copy p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.engineer-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.engineer-points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.engineer-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(27, 183, 164, 0.4);
}

/* ── 18. Social Proof ─────────────────────────────────────────── */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.proof-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: transform var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              background var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}

.proof-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(27, 183, 164, 0.1));
  border-radius: 0 0 2px 2px;
}

.proof-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-border);
  background: var(--surface-hover);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3),
              0 0 30px rgba(27, 183, 164, 0.04);
}

.proof-quote {
  position: relative;
  padding-top: 8px;
}

.proof-quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -4px;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  opacity: 0.12;
  pointer-events: none;
}

.proof-quote p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-style: italic;
}

.proof-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.proof-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), rgba(27, 183, 164, 0.6));
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--bg);
  flex-shrink: 0;
  overflow: hidden;
}

.proof-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.proof-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proof-author-info strong {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.proof-author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── 19. FAQ Section ──────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--speed) var(--ease),
              background var(--speed) var(--ease);
}

.faq-list details:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-list details[open] {
  border-left: 3px solid var(--primary);
  background: var(--surface-hover);
}

.faq-list summary {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  list-style: none;
  transition: color var(--speed) var(--ease);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::marker {
  content: '';
}

.faq-list summary::after {
  content: '+';
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--speed) var(--ease),
              color var(--speed) var(--ease);
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: '−';
  color: var(--primary);
  transform: rotate(180deg);
}

.faq-list summary:hover {
  color: var(--primary);
}

.faq-list details > p,
.faq-list details > div {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── 20. Final CTA ────────────────────────────────────────────── */
.final-cta {
  text-align: center;
  background: radial-gradient(
    ellipse 70% 60% at 50% 80%,
    rgba(27, 183, 164, 0.06),
    transparent
  );
}

.final-cta-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.final-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.final-cta p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 50ch;
  margin-inline: auto;
}

.final-cta .btn {
  margin-top: 8px;
}

/* ── 21. Premium Footer ───────────────────────────────────────── */
.premium-footer {
  background: var(--bg-footer);
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: 32px;
  position: relative;
}

.premium-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line) 20%,
    var(--primary-border) 50%,
    var(--line) 80%,
    transparent
  );
}

.footer-content {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  margin-bottom: 48px;
}

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

.footer-brand .brand {
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 30ch;
}

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

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-column a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--speed) var(--ease),
              padding-left var(--speed) var(--ease);
}

.footer-column a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--speed) var(--ease);
}

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

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 14px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-end));
  color: #0f0f0f;
  margin-top: 8px;
  transition: transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}

.footer-cta svg {
  flex-shrink: 0;
}

.footer-cta:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 8px 36px rgba(245, 200, 66, 0.3);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  border: none;
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p,
.footer-bottom span {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.6);
}

.footer-bottom a {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.6);
  transition: color var(--speed) var(--ease);
}

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

.footer-hover-word {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 18rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* ── 22. Floating WhatsApp ────────────────────────────────────── */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #25d366;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 100px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
  animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.45);
  animation: none;
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35),
                0 0 0 10px rgba(37, 211, 102, 0.08);
  }
}

/* ── 23. Scroll Reveal Animations ─────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s var(--ease-out),
              transform 0.9s var(--ease-out);
}

/* Stagger children if needed */
[data-reveal].is-visible:nth-child(2) { transition-delay: 0.08s; }
[data-reveal].is-visible:nth-child(3) { transition-delay: 0.16s; }
[data-reveal].is-visible:nth-child(4) { transition-delay: 0.24s; }
[data-reveal].is-visible:nth-child(5) { transition-delay: 0.32s; }
[data-reveal].is-visible:nth-child(6) { transition-delay: 0.40s; }

/* ── 24. Accessibility: Reduced Motion ────────────────────────── */
@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ── 25. Responsive: 1120px ───────────────────────────────────── */
@media (max-width: 1120px) {
  .priority-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-list ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list ol::before {
    display: none;
  }

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

  .proof-grid > :last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ── 26. Responsive: 900px ────────────────────────────────────── */
@media (max-width: 900px) {
  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 120px;
    text-align: center;
  }

  .hero-copy {
    align-items: center;
  }

  .hero-copy p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .trust-list {
    justify-content: center;
  }

  .hero-stat-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Grids */
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .engineer-grid,
  .faq-grid,
  .differentials-grid,
  .audience-shell {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .portrait-card {
    max-width: 400px;
    margin-inline: auto;
  }

  .section-heading {
    margin-bottom: 48px;
  }
}

/* ── 27. Responsive: 640px ────────────────────────────────────── */
@media (max-width: 640px) {
  .hero-grid {
    padding-top: 100px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero-stat-bar {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .priority-grid,
  .category-grid,
  .process-list ol,
  .metric-board,
  .differential-list,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid > :last-child {
    max-width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Full-width buttons */
  .btn {
    width: 100%;
  }

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

  .inline-cta {
    flex-direction: column;
    text-align: center;
  }

  /* WhatsApp circle-only */
  .floating-whatsapp {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    font-size: 0;
    gap: 0;
  }

  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }

  /* Reduce section padding */
  .priority-services,
  .problem-categories,
  .authority,
  .process,
  .audience,
  .differentials,
  .engineer,
  .social-proof,
  .faq,
  .final-cta {
    padding-block: clamp(48px, 8vw, 80px);
  }

  .section-heading {
    margin-bottom: 36px;
  }
}

/* ── 28. Focus Styles ─────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible {
  outline-offset: 4px;
}

/* ── 29. Scrollbar (Webkit) ───────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.08) var(--bg);
}

/* ── 30. Print ────────────────────────────────────────────────── */
@media print {
  .site-header,
  .floating-whatsapp,
  .glow-bg,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }
}

/* ── 31. Hero Kicker Badge ───────────────────────────────────── */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid rgba(27, 183, 164, 0.15);
  border-radius: 100px;
}

/* ── 32. Glow Variants ───────────────────────────────────────── */
.glow-gold {
  background: radial-gradient(circle, rgba(245, 200, 66, 0.1) 0%, transparent 70%) !important;
}

/* Professional polish overrides */
.glow-bg {
  display: none !important;
}

.brand-mark {
  display: grid;
  place-items: center;
  padding: 6px;
  background: linear-gradient(155deg, #12383b, #0e1f22);
  border: 1px solid rgba(27, 183, 164, 0.25);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(14, 31, 34, 0.35);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy small {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-muted);
}

.main-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.hero {
  min-height: clamp(700px, 94svh, 860px);
}

.hero-grid {
  min-height: auto;
  grid-template-columns: minmax(0, 0.96fr) minmax(380px, 0.82fr);
  padding-top: clamp(118px, 12vw, 154px);
  padding-bottom: clamp(44px, 5vw, 68px);
}

.hero-copy {
  gap: 22px;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 4.25vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.hero-subtitle,
.hero-copy p.hero-subtitle {
  max-width: 58ch;
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  color: rgba(241, 245, 249, 0.76);
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-list li,
.trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 14px;
  color: rgba(241, 245, 249, 0.78);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1;
}

.trust-list li::before,
.trust-list span::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(27, 183, 164, 0.45);
}

.hero-media {
  max-width: 380px;
  margin-left: auto;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.hero-media img {
  aspect-ratio: 9 / 16;
  object-position: center top;
  border-radius: 12px;
}

.hero-stat-bar {
  margin-top: 0;
  padding-bottom: clamp(42px, 5vw, 64px);
}

.category-label.danger {
  background: rgba(239, 83, 80, 0.1);
  color: var(--danger);
}

.category-label.performance {
  background: rgba(245, 200, 66, 0.1);
  color: var(--gold);
}

.category-card:has(.category-label.danger) li::before {
  background: var(--danger);
}

.category-card:has(.category-label.performance) li::before {
  background: var(--gold);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-list::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27, 183, 164, 0.28), transparent);
}

.process-list li {
  align-items: flex-start;
  text-align: left;
  min-height: 220px;
}

.process-list strong {
  margin-bottom: 18px;
}

.process-list span {
  min-height: 2.4em;
}

.proof-card {
  min-height: 260px;
}

.proof-quote {
  font-size: 0.95rem;
  line-height: 1.75;
}

.footer-hover-word {
  display: none;
}

.floating-whatsapp {
  bottom: 20px;
  right: 20px;
  padding: 11px 15px;
  border-radius: 999px;
  font-size: 0.78rem;
  animation: none;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  transition: none;
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    margin-inline: auto;
  }

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

  .process-list::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: clamp(2.05rem, 10vw, 2.8rem);
  }

  .hero-copy {
    gap: 18px;
  }

  .trust-list li,
  .trust-list span {
    width: 100%;
    justify-content: center;
  }

  .process-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-list li {
    min-height: auto;
  }
}
/* Light/dark balance overrides */
:root {
  --light-bg: #f5f8f9;
  --light-surface: #ffffff;
  --light-soft: #eef4f3;
  --light-ink: #0b1519;
  --light-muted: #5c6b73;
  --light-line: #dbe5e8;
  --light-shadow: 0 22px 54px rgba(11, 21, 25, 0.08);
}

body {
  background: var(--light-bg);
}

.priority-services,
.process,
.social-proof,
.final-cta {
  background: var(--light-surface);
  color: var(--light-ink);
}

.problem-categories,
.audience,
.faq {
  background: var(--light-bg);
  color: var(--light-ink);
}

.priority-services h2,
.problem-categories h2,
.process h2,
.audience h2,
.social-proof h2,
.faq h2,
.final-cta h2,
.priority-services h3,
.problem-categories h3,
.process h3,
.audience h3,
.social-proof h3,
.faq h3,
.final-cta h3,
.priority-card h3,
.category-card h3,
.process-list span,
.proof-author-info strong,
.faq-list summary {
  color: var(--light-ink);
}

.priority-services p,
.problem-categories p,
.process p,
.audience p,
.social-proof p,
.faq p,
.final-cta p,
.priority-card p,
.category-card li,
.category-card p,
.process-list p,
.proof-quote,
.proof-author-info span,
.faq-list details > p,
.faq-list details > div {
  color: var(--light-muted);
}

.priority-services .section-heading > span,
.problem-categories .section-heading > span,
.process .section-heading > span,
.audience .section-heading > span,
.social-proof .section-heading > span,
.faq .section-heading > span {
  color: #087f78;
}

.priority-services .section-heading > span::before,
.problem-categories .section-heading > span::before,
.process .section-heading > span::before,
.audience .section-heading > span::before,
.social-proof .section-heading > span::before,
.faq .section-heading > span::before {
  background: #087f78;
  box-shadow: 0 0 12px rgba(8, 127, 120, 0.18);
}

.priority-card,
.category-card,
.process-list li,
.proof-card,
.faq-list details {
  background: var(--light-surface);
  border-color: var(--light-line);
  box-shadow: 0 12px 34px rgba(11, 21, 25, 0.045);
}

.priority-card:hover,
.category-card:hover,
.process-list li:hover,
.proof-card:hover,
.faq-list details[open] {
  background: #ffffff;
  border-color: rgba(8, 127, 120, 0.28);
  box-shadow: var(--light-shadow);
}

.card-icon,
.proof-avatar,
.process-list strong {
  background: rgba(8, 127, 120, 0.09);
  color: #087f78;
}

.card-icon svg,
.audience-list span svg {
  color: #087f78;
}

.priority-card:hover .card-icon {
  background: #087f78;
}

.priority-card:hover .card-icon svg {
  color: #ffffff;
}

.inline-cta:not(.contrast) {
  background: #ffffff;
  border-color: var(--light-line);
  box-shadow: 0 12px 34px rgba(11, 21, 25, 0.04);
}

.inline-cta:not(.contrast) p,
.inline-cta:not(.contrast) span {
  color: var(--light-muted);
}

.inline-cta:not(.contrast) a,
.text-cta {
  color: #087f78;
}

.audience-list span {
  background: #ffffff;
  border-color: var(--light-line);
  color: var(--light-ink);
  box-shadow: 0 12px 28px rgba(11, 21, 25, 0.045);
}

.audience-list span:hover {
  background: #ffffff;
  border-color: rgba(8, 127, 120, 0.28);
  color: var(--light-ink);
  box-shadow: var(--light-shadow);
}

.faq-list details[open] {
  border-left-color: #087f78;
}

.faq-list summary::after,
.faq-list details[open] summary::after,
.faq-list summary:hover {
  color: #087f78;
}

.final-cta-shell {
  max-width: 980px;
  padding-block: clamp(34px, 5vw, 58px);
  background: linear-gradient(135deg, #ffffff, #f3f8f7);
  border: 1px solid var(--light-line);
  border-radius: 22px;
  box-shadow: var(--light-shadow);
}

.final-cta .btn-primary {
  box-shadow: 0 14px 34px rgba(245, 200, 66, 0.22);
}

.authority,
.differentials,
.engineer,
.premium-footer {
  background-color: var(--bg);
}

.authority .section-heading h2,
.differentials .section-heading h2,
.engineer h2,
.premium-footer h3,
.premium-footer p {
  color: var(--text);
}

.authority .section-heading p,
.differentials .section-heading p,
.engineer p,
.differential-list p,
.engineer-points li {
  color: var(--text-muted);
}

.differential-list article,
.metric-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  .final-cta-shell {
    border-radius: 16px;
  }
}
/* AVIN requested professional expansion */
:root {
  --bg: #0e1f22;
  --bg-footer: #0a1719;
  --surface: rgba(42, 52, 54, 0.34);
  --surface-hover: rgba(42, 52, 54, 0.52);
  --primary: #18b7a4;
  --primary-border: rgba(24, 183, 164, 0.32);
  --gold: #f5c84b;
  --gold-end: #efb42d;
  --ink: #0e1f22;
}

.brand--menu,
.brand--footer {
  gap: 0;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-logo-menu {
  height: 42px;
  max-width: 176px;
}

.brand-logo-footer {
  width: 104px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.nav-services {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-services > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-services > a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  order: 2;
  opacity: 0.8;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: 230px;
  padding: 10px;
  background: rgba(14, 31, 34, 0.97);
  border: 1px solid rgba(24, 183, 164, 0.18);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-services:hover .nav-dropdown,
.nav-services:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.main-nav .nav-dropdown a {
  display: flex;
  width: 100%;
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 10px;
  font-weight: 700;
}

.main-nav .nav-dropdown a::after {
  display: none;
}

.main-nav .nav-dropdown a:hover,
.main-nav .nav-dropdown a:focus-visible {
  background: rgba(24, 183, 164, 0.12);
  color: #ffffff;
}

.hero-grid {
  align-items: start;
}

.hero-copy {
  padding-top: clamp(4px, 1vw, 14px);
}

.hero-media {
  align-self: start;
  margin-top: clamp(8px, 1.35vw, 18px);
}

.hero-media img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center top;
}

.hero-stat-bar {
  margin-top: clamp(26px, 3vw, 42px);
  align-items: stretch;
}

.hero-stat {
  min-height: 94px;
}

.btn-primary,
.nav-cta,
.footer-cta,
.cookie-actions button {
  color: #0e1f22 !important;
  background: linear-gradient(135deg, #f8d367 0%, #f5c84b 48%, #ecad25 100%) !important;
  border: 1px solid rgba(255, 226, 132, 0.5);
  box-shadow: 0 14px 32px rgba(245, 200, 75, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  text-shadow: none;
}

.btn-primary:hover,
.nav-cta:hover,
.footer-cta:hover,
.cookie-actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(245, 200, 75, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.priority-card a,
.text-cta,
.inline-cta a {
  font-weight: 800;
}

.proof-grid {
  align-items: stretch;
}

.proof-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.proof-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 183, 164, 0.16), transparent 68%);
  pointer-events: none;
}

.proof-card:hover {
  transform: translateY(-8px);
}

.footer-bottom {
  gap: 18px;
}

.footer-bottom a {
  color: var(--gold);
  font-weight: 900;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: 980px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  background: rgba(14, 31, 34, 0.96);
  border: 1px solid rgba(24, 183, 164, 0.24);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  color: #ffffff;
}

.cookie-banner strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 4px;
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-actions a {
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.cookie-actions button {
  appearance: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-family: var(--font-heading);
  font-weight: 900;
  cursor: pointer;
}

.cookie-banner.is-hiding {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.service-main {
  background: #ffffff;
  color: #0e1f22;
}

.service-hero {
  padding: clamp(130px, 15vw, 170px) 0 clamp(70px, 8vw, 112px);
  background: radial-gradient(circle at 78% 24%, rgba(24, 183, 164, 0.18), transparent 30%), linear-gradient(135deg, #0e1f22 0%, #12383b 52%, #0e1f22 100%);
  color: #ffffff;
  overflow: hidden;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.service-hero h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(2.7rem, 5.7vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.service-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.24rem);
  line-height: 1.65;
}

.service-panel {
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.service-panel strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 0.95;
  margin-bottom: 8px;
}

.service-section {
  padding-block: clamp(64px, 8vw, 104px);
}

.service-section.alt {
  background: #f5f8f9;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.service-section h2 {
  margin: 0 0 18px;
  max-width: 620px;
  color: #0e1f22;
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  line-height: 1.02;
}

.service-section p {
  color: #4d5c61;
  line-height: 1.72;
}

.service-list,
.service-steps,
.service-faq-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li,
.service-steps li,
.service-faq-list li {
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(14, 31, 34, 0.1);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(11, 21, 25, 0.055);
}

.service-list strong,
.service-steps strong,
.service-faq-list strong {
  display: block;
  color: #0e1f22;
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 6px;
}

.service-cta-band {
  margin-block: clamp(28px, 5vw, 54px) 0;
  padding: clamp(28px, 5vw, 48px);
  background: linear-gradient(135deg, #0e1f22, #12383b);
  color: #ffffff;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.service-cta-band h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin: 0 0 8px;
}

.service-cta-band p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.privacy-main {
  background: #ffffff;
  color: #0e1f22;
}

.privacy-article {
  max-width: 880px;
  padding: clamp(136px, 14vw, 180px) 0 clamp(70px, 9vw, 120px);
}

.privacy-article h1 {
  color: #0e1f22;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.98;
  margin-bottom: 20px;
}

.privacy-article h2 {
  color: #0e1f22;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  margin-top: 38px;
}

.privacy-article p,
.privacy-article li {
  color: #4d5c61;
  line-height: 1.75;
}

@media (max-width: 980px) {
  .brand-logo-menu {
    height: 38px;
  }

  .main-nav .nav-dropdown {
    position: static;
    width: 100%;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-services {
    display: block;
    width: 100%;
  }

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

  .service-cta-band,
  .cookie-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .hero-media {
    margin-top: 0;
  }

  .brand-logo-menu {
    max-width: 145px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 16px;
  }

  .service-hero {
    padding-top: 118px;
  }
}
/* Service page containment fixes */
.service-hero-grid,
.service-layout,
.privacy-article {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.service-cta-band {
  max-width: min(calc(var(--container) - (var(--container-px) * 2)), calc(100% - (var(--container-px) * 2)));
  margin-inline: auto;
}

.service-hero h1 {
  font-size: clamp(2.55rem, 4.45vw, 4.65rem);
  line-height: 1;
  max-width: 760px;
}

.service-hero p {
  max-width: 700px;
}

.cookie-banner {
  z-index: 140;
}

body:has(.cookie-banner) .floating-whatsapp {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

@media (max-width: 640px) {
  .service-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.35rem);
    line-height: 1.03;
  }

  .cookie-banner {
    padding: 16px;
  }

  .cookie-actions {
    gap: 10px;
  }

  .cookie-actions button {
    padding: 11px 16px;
  }
}
/* AVIN menu dark sections and motion refresh */
.site-header {
  background: rgba(5, 12, 13, 0.96);
  border-bottom: 1px solid rgba(24, 183, 164, 0.16);
  backdrop-filter: blur(16px);
}

.header-shell {
  height: 82px;
}

.brand-logo-menu {
  height: 54px;
  max-width: 220px;
}

.main-nav {
  gap: clamp(24px, 3.2vw, 44px);
}

.main-nav > a:not(.nav-cta),
.nav-services > a {
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 800;
}

.main-nav > a:not(.nav-cta):hover,
.main-nav > a:not(.nav-cta):focus-visible,
.nav-services > a:hover,
.nav-services > a:focus-visible {
  color: var(--gold);
}

.hero-grid {
  padding-top: clamp(132px, 13vw, 168px);
}

.hero-media {
  max-width: 380px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(24, 183, 164, 0.055));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

.hero-media img {
  aspect-ratio: 9 / 16;
  object-position: center top;
}

.hero-stat-bar {
  gap: clamp(14px, 2vw, 24px);
  padding-block: clamp(28px, 4vw, 46px);
}

.hero-stat,
.hero-stat-bar > * {
  min-height: 112px;
  padding: clamp(18px, 2vw, 26px);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.hero-stat svg,
.hero-stat-bar svg {
  width: 34px;
  height: 34px;
  color: #18b7a4;
}

.hero-stat strong,
.hero-stat-bar strong {
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 2.85rem);
  line-height: 0.92;
  font-weight: 900;
}

.hero-stat span,
.hero-stat-bar span {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 700;
}

.problem-categories,
.authority,
.differentials,
.engineer,
.final-cta {
  background: radial-gradient(circle at 78% 12%, rgba(24, 183, 164, 0.12), transparent 28%), linear-gradient(135deg, #0e1f22 0%, #12383b 55%, #0e1f22 100%);
  color: #ffffff;
}

.problem-categories h2,
.problem-categories h3,
.authority h2,
.differentials h2,
.differentials h3,
.engineer h2,
.final-cta h2,
.final-cta h3 {
  color: #ffffff;
}

.problem-categories p,
.problem-categories li,
.authority p,
.differentials p,
.engineer p,
.engineer-points li,
.final-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.problem-categories .section-heading > span,
.authority .section-heading > span,
.differentials .section-heading > span,
.engineer .section-kicker,
.final-cta .section-heading > span {
  color: #18b7a4;
}

.category-card,
.differential-list article,
.final-cta-shell {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
}

.category-card:hover,
.differential-list article:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(24, 183, 164, 0.34);
}

.portrait-card {
  max-width: 480px;
  margin-inline: auto;
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.32);
}

.portrait-card img {
  aspect-ratio: 4 / 5;
  object-position: center top;
}

.service-media-card {
  display: grid;
  gap: 16px;
  align-self: start;
}

.service-media-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 56% center;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.26);
}

.service-media-card .service-panel {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

@keyframes avinFadeUp {
  from { opacity: 0; transform: translateY(30px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes avinPhotoIn {
  from { opacity: 0; transform: translateX(34px) scale(0.98); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes avinGlowPulse {
  0%, 100% { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18); }
  50% { box-shadow: 0 24px 62px rgba(24, 183, 164, 0.12); }
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    transition: opacity 820ms cubic-bezier(0.16, 1, 0.3, 1), transform 820ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .hero-copy {
    animation: avinFadeUp 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-media,
  .service-media-card {
    animation: avinPhotoIn 900ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
  }

  .hero-stat {
    animation: avinFadeUp 760ms cubic-bezier(0.16, 1, 0.3, 1) both, avinGlowPulse 4.8s ease-in-out infinite;
  }

  .hero-stat:nth-child(2) { animation-delay: 90ms, 900ms; }
  .hero-stat:nth-child(3) { animation-delay: 180ms, 1300ms; }
  .hero-stat:nth-child(4) { animation-delay: 270ms, 1700ms; }

  .priority-card,
  .category-card,
  .process-list li,
  .audience-list span,
  .differential-list article,
  .proof-card {
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease, background 240ms ease;
  }

  .priority-card:hover,
  .category-card:hover,
  .process-list li:hover,
  .audience-list span:hover,
  .differential-list article:hover,
  .proof-card:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 980px) {
  .header-shell {
    height: 76px;
  }

  .brand-logo-menu {
    height: 46px;
    max-width: 186px;
  }

  .main-nav > a:not(.nav-cta),
  .nav-services > a {
    color: #ffffff;
    font-size: 1rem;
  }

  .hero-grid {
    padding-top: 116px;
  }
}

@media (max-width: 640px) {
  .brand-logo-menu {
    height: 42px;
    max-width: 168px;
  }

  .hero-stat-bar {
    grid-template-columns: 1fr;
  }

  .hero-stat,
  .hero-stat-bar > * {
    min-height: 96px;
  }
}

/* ── 33. Quote Request Modal ─────────────────────────────────────── */
body.modal-open {
  overflow: hidden;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.quote-modal[hidden] {
  display: none;
}

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 13, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.quote-modal.is-open .quote-modal-backdrop {
  opacity: 1;
}

.quote-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(160deg, #12383b, #0e1f22);
  border: 1px solid rgba(24, 183, 164, 0.22);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 36px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.5);
  color: var(--text);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease;
}

.quote-modal.is-open .quote-modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.quote-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.quote-modal-close:hover {
  color: #ffffff;
  border-color: var(--primary-border);
}

.quote-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.quote-modal-dialog h2 {
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.quote-modal-subtitle {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quote-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.quote-field input,
.quote-field select,
.quote-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}

.quote-field textarea {
  resize: vertical;
  min-height: 80px;
}

.quote-field input::placeholder,
.quote-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
  outline: none;
  border-color: var(--primary-border);
  background: rgba(255, 255, 255, 0.07);
}

.quote-field select {
  cursor: pointer;
}

.quote-field select option {
  background: #12383b;
  color: #ffffff;
}

.quote-submit {
  width: 100%;
  margin-top: 4px;
}

@media (max-width: 480px) {
  .quote-modal-dialog {
    padding: 24px 20px;
    border-radius: 20px;
  }
}