/* ===== TOKENS ===== */
:root {
  --navy-950: #070c22;
  --navy-900: #0f1a3d;
  --blue-600: #2451f2;
  --blue-500: #3b63ff;
  --blue-400: #6f8dff;
  --blue-100: #e7ecff;
  --ink: #0d1330;
  --slate-600: #46516b;
  --slate-500: #5c6680;
  --slate-300: #ced5e2;
  --border: #e3e7f0;
  --paper: #f3f6fb;
  --white: #ffffff;
  --green: #22c55e;
  --green-dark: #16a34a;
  --amber: #f59e0b;
  --gradient-blue: linear-gradient(155deg, #3a63ff 0%, var(--blue-600) 45%, #1638b3 100%);
  --font-display: 'Sora', Helvetica, Arial, sans-serif;
  --font-body: 'Manrope', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
#hero, #quem-somos, #servicos, #contato { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 100;
  background: linear-gradient(90deg, var(--green), var(--blue-600), var(--blue-400));
  background-size: 200% 100%;
  animation: progress-shimmer 3s linear infinite;
  transition: transform 0.1s linear;
}
@media (prefers-reduced-motion: reduce) { .scroll-progress { animation: none; } }

h1, h2, h3,
.logo,
.card__title,
.stat-card__number,
.testimonial__name,
.specialty__name,
.footer__logo,
.footer__heading,
.expertise-row__title,
.pain-card__title,
.eyebrow {
  font-family: var(--font-display);
}

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--navy-900); }

h1, h2, h3, .section__title { text-wrap: balance; }
p { text-wrap: pretty; }

.container { max-width: 1200px; margin: 0 auto; }

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
@keyframes pulse-dot-amber {
  0% { box-shadow: 0 0 0 0 rgba(245,158,11,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(245,158,11,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -22px); }
}
@keyframes count-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
@keyframes progress-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal--delay-1.is-in { transition-delay: 0.08s; }
.reveal--delay-2.is-in { transition-delay: 0.16s; }
.reveal--delay-3.is-in { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== EYEBROW / LABELS ===== */
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 12px;
}
.eyebrow--on-dark { color: var(--blue-400); }
.eyebrow-text {
  display: block;
  color: var(--blue-600);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* ===== ORBS (signature ambient shapes) ===== */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: float-orb 9s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }
.orb--hero-a { width: 420px; height: 420px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(36,81,242,0.16), rgba(36,81,242,0) 70%); }
.orb--hero-b { width: 280px; height: 280px; bottom: -100px; left: -80px; background: radial-gradient(circle, rgba(34,197,94,0.12), rgba(34,197,94,0) 70%); animation-duration: 11s; animation-delay: -3s; }
.orb--cta { width: 500px; height: 500px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(36,81,242,0.08), rgba(36,81,242,0) 70%); animation-duration: 13s; }
.orb--pain-a { width: 360px; height: 360px; top: -140px; left: -100px; background: radial-gradient(circle, rgba(255,255,255,0.16), rgba(255,255,255,0) 70%); }
.orb--pain-b { width: 300px; height: 300px; bottom: -120px; right: -80px; background: radial-gradient(circle, rgba(111,141,255,0.35), rgba(111,141,255,0) 70%); animation-duration: 10s; animation-delay: -4s; }
.orb--stats { width: 380px; height: 380px; top: -60px; right: -140px; background: radial-gradient(circle, rgba(36,81,242,0.1), rgba(36,81,242,0) 70%); animation-duration: 12s; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 24px;
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 13px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15,26,61,0.1);
}
.logo { font-size: 21px; font-weight: 800; color: var(--navy-950); letter-spacing: -0.02em; }
.nav-desktop { display: flex; gap: 30px; }
.nav-desktop a {
  color: var(--slate-600);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-desktop a:hover { color: var(--blue-600); }

.btn-wa {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(34,197,94,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  width: fit-content;
}
.btn-wa:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(34,197,94,0.45); }
.btn-wa--block { justify-content: center; font-size: 16px; padding: 14px 20px; border-radius: 12px; box-shadow: 0 6px 18px rgba(34,197,94,0.35); }
.btn-wa--block:hover { box-shadow: 0 10px 26px rgba(34,197,94,0.45); }

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  padding: 132px 24px 48px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 78% 0%, rgba(36,81,242,0.10), transparent 65%),
    linear-gradient(180deg, #eef3ff 0%, #ffffff 68%);
}
.hero__container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }

h1 { font-family: var(--font-display); font-size: 54px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 20px; color: var(--navy-950); }
.hero__lead { font-size: 18px; line-height: 1.55; color: var(--slate-600); margin: 0 0 32px; max-width: 500px; }

.status-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 28px;
  max-width: 460px;
  box-shadow: 0 16px 36px rgba(15,26,61,0.08);
}
.status-card__row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.status-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.8s infinite;
}
.status-dot--sm { width: 10px; height: 10px; }
.status-dot--night { background: var(--amber); animation-name: pulse-dot-amber; }
.status-text { font-weight: 700; font-size: 15px; color: var(--navy-950); transition: opacity 0.35s; }
.status-text--sm { font-size: 14px; }
.status-card__line { font-size: 15px; color: var(--slate-600); margin-bottom: 20px; }
.status-card__line strong { color: var(--navy-950); }
.status-card__sub { font-size: 13px; color: var(--slate-600); }
.status-card__sub--below { margin-top: 16px; margin-bottom: 0; text-align: left; }
.status-card .btn-wa--block { width: 100%; }

.hero-video { position: relative; aspect-ratio: 4/5; border-radius: 26px; overflow: hidden; background: var(--navy-950); box-shadow: 0 24px 56px rgba(15,26,61,0.22); }
.hero-video__frame { position: relative; width: 100%; height: 100%; isolation: isolate; }
.hero-video__el { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video__badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(7,12,34,0.55); backdrop-filter: blur(6px);
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 12px;
  padding: 7px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,0.18);
}
.hero-video__overlay {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  border: 0; padding: 0; margin: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(7,12,34,0.12) 0%, rgba(7,12,34,0.02) 40%, rgba(7,12,34,0.45) 100%);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.hero-video__play-btn {
  width: 76px; height: 76px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(15,26,61,0.4), 0 0 0 12px rgba(255,255,255,0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-video__play-btn svg { margin-left: 3px; }
.hero-video__overlay:hover .hero-video__play-btn { transform: scale(1.08); box-shadow: 0 10px 30px rgba(15,26,61,0.5), 0 0 0 14px rgba(255,255,255,0.22); }
.hero-video__frame.is-playing .hero-video__overlay { opacity: 0; visibility: hidden; pointer-events: none; }
.hero-video__frame.is-playing .hero-video__badge { opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }

/* ===== SECTIONS ===== */
.section { position: relative; padding: 88px 24px; overflow: hidden; }
.section--muted { background: var(--paper); }
.section--dark { background: var(--navy-950); }
.section--blue { background: var(--gradient-blue); }
.section--tight-top { padding-top: 40px; }
.section--tight-bottom { padding-bottom: 40px; }
.section__head { position: relative; z-index: 1; max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section__title { text-align: center; font-size: 32px; font-weight: 800; letter-spacing: -0.01em; color: var(--navy-950); margin: 0; }
.section__title--left { text-align: left; }
.section__title--on-dark { color: #fff; }
.section__subtitle { text-align: center; font-size: 16px; color: var(--slate-600); margin: 12px 0 0; }
.section__subtitle--on-blue { color: #dbe3ff; }
.eyebrow--on-blue { color: #cfe0ff; }
.container--narrow { max-width: 640px; }

/* ===== DESAFIOS ===== */
.pain-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain-card {
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 20px 40px rgba(10,20,60,0.18);
  transition: transform 0.25s, box-shadow 0.25s;
}
.pain-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(10,20,60,0.26); }
.pain-card__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--blue-100);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.pain-card__title { font-weight: 700; font-size: 16px; color: var(--navy-950); margin-bottom: 8px; }
.pain-card__desc { font-size: 14px; color: var(--slate-600); line-height: 1.55; }

/* ===== COMO FUNCIONA (timeline) ===== */
.timeline { display: flex; flex-direction: column; }
.timeline__step {
  display: flex;
  gap: 24px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline__step.is-in { opacity: 1; transform: translateY(0); }
.timeline__marker-col { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.timeline__marker {
  font-family: var(--font-display);
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--slate-500); font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--slate-300);
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.timeline__connector {
  flex: 1;
  width: 3px;
  min-height: 36px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--slate-300);
  transition: background 0.5s ease 0.15s;
}
.timeline__content { flex: 1; padding: 10px 0 40px; min-width: 0; }
.timeline__step--last .timeline__content { padding-bottom: 4px; }

.timeline__step.is-active .timeline__marker {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
  box-shadow: 0 0 0 7px var(--blue-100);
  animation: count-pulse 0.5s ease;
}
.timeline__step.is-active .timeline__connector {
  background: linear-gradient(var(--blue-600), var(--blue-400));
}

.card__title { font-weight: 700; font-size: 17px; color: var(--navy-950); margin-bottom: 8px; }
.card__desc { font-size: 14.5px; color: var(--slate-600); line-height: 1.55; }
@media (prefers-reduced-motion: reduce) {
  .timeline__step { opacity: 1; transform: none; }
  .timeline__step.is-active .timeline__marker { animation: none; }
}

/* ===== SERVIÇOS (expertise panel) ===== */
.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
  gap: 24px;
  align-items: stretch;
}
.expertise-panel {
  background: var(--navy-950);
  border-radius: 28px;
  padding: 48px clamp(20px, 4vw, 56px) 40px;
}
.services-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(155deg, #dfe7fb 0%, #eef2fb 55%, #e5ecfb 100%);
}
.services-media__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.expertise-panel__head { margin-bottom: 24px; }
.expertise-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.09);
}
.expertise-row__icon {
  flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(111,141,255,0.14);
  display: flex; align-items: center; justify-content: center;
}
.expertise-row__body { flex: 1; min-width: 0; }
.expertise-row__title { font-weight: 700; font-size: 17px; color: #fff; margin-bottom: 4px; }
.expertise-row__desc { font-size: 14px; color: #9aa5c4; line-height: 1.5; }
.expertise-row__cta {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.expertise-row__cta:hover { background: var(--blue-600); color: #fff; transform: translateX(2px); }
.expertise-row--last { padding-bottom: 32px; }

.expertise-cta {
  margin-top: 28px;
  background: linear-gradient(120deg, var(--blue-600), #4a6bff);
  border-radius: 18px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.expertise-cta__text { display: flex; flex-direction: column; gap: 2px; color: #fff; }
.expertise-cta__text strong { font-family: var(--font-display); font-size: 16px; }
.expertise-cta__text span { font-size: 13px; color: #dbe3ff; }

/* ===== NÚMEROS ===== */
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-card {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(15,26,61,0.12); border-color: var(--blue-100); }
.stat-card__icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--blue-100);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.stat-card__number { font-size: 40px; font-weight: 800; color: var(--blue-600); font-variant-numeric: tabular-nums; }
.stat-card__label { font-size: 15px; color: var(--slate-600); margin-top: 6px; }

/* ===== DEPOIMENTOS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card--testimonial { background: var(--white); border-radius: 20px; padding: 28px; }
.testimonial__mark { display: block; margin-bottom: 8px; }
.testimonial__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  margin-bottom: 14px;
}
.card--testimonial:nth-child(2) .testimonial__avatar { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.card--testimonial:nth-child(3) .testimonial__avatar { background: linear-gradient(135deg, #f59e0b, #d97706); }
.testimonial__quote { font-size: 15px; color: var(--ink); line-height: 1.6; margin-bottom: 16px; }
.testimonial__name { font-weight: 700; font-size: 13.5px; color: var(--slate-600); }

.disclaimer { text-align: center; font-size: 12px; color: var(--slate-500); margin-top: 20px; }
.disclaimer--on-dark { color: rgba(255,255,255,0.55); }

/* ===== ESPECIALIDADES ===== */
.specialties-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.specialty {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--paper); border-radius: 16px; padding: 18px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.specialty:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(15,26,61,0.08); border-color: var(--blue-100); }
.specialty__icon {
  width: 36px; height: 36px; border-radius: 10px; background: var(--blue-100); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.specialty__name { font-weight: 700; font-size: 15px; color: var(--navy-950); }
.specialty__desc { font-size: 13px; color: var(--slate-600); margin-top: 2px; line-height: 1.4; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 2px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-950);
}
.faq-item__icon { flex-shrink: 0; color: var(--blue-600); transition: transform 0.3s ease; }
.faq-item.is-open .faq-item__icon { transform: rotate(180deg); }
.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.35s ease, opacity 0.3s ease;
}
.faq-item.is-open .faq-item__answer { grid-template-rows: 1fr; opacity: 1; }
.faq-item__answer p { overflow: hidden; min-height: 0; margin: 0; padding: 0 30px 22px 2px; color: var(--slate-600); font-size: 14.5px; line-height: 1.6; }

/* ===== CTA FINAL ===== */
.cta-final { position: relative; padding: 88px 24px; text-align: center; background: var(--paper); overflow: hidden; }
.cta-final--blue { background: var(--gradient-blue); }
.cta-final__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-final__inner h2 { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--navy-950); margin: 0 0 12px; }
.cta-final__inner p { font-size: 16px; color: var(--slate-600); margin: 0 0 28px; }
.cta-final--blue .cta-final__inner h2 { color: #fff; }
.cta-final--blue .cta-final__inner p { color: #dbe3ff; }
.cta-final--blue .trust-row__item { color: #fff; }
.cta-final__card {
  background: #ffffff; border-radius: 20px; padding: 24px;
  display: inline-flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center;
  box-shadow: 0 20px 48px rgba(15,26,61,0.12);
  border: 1px solid var(--border);
}
.cta-final__card .status-card__row { margin-bottom: 0; }
.trust-row { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: 32px; }
.trust-row__item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--slate-600); }

/* ===== RODAPÉ ===== */
.footer { background: var(--navy-950); color: #97a1bf; padding: 48px 24px 28px; }
.footer__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer__logo { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer__about { font-size: 13px; line-height: 1.6; color: #8891ae; max-width: 280px; }
.footer__heading { font-weight: 700; color: #fff; font-size: 13.5px; margin-bottom: 12px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a, .footer__links span { color: #8891ae; font-size: 13px; }
.footer__links a:hover { color: var(--blue-400); }
.footer__bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; font-size: 12px; color: #626b88; }

/* ===== POPUP DE QUALIFICAÇÃO (WhatsApp) ===== */
.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.wa-modal.is-open { opacity: 1; visibility: visible; }
.wa-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 34, 0.55);
  backdrop-filter: blur(3px);
}
.wa-modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  padding: 28px 26px;
  box-shadow: 0 30px 70px rgba(7, 12, 34, 0.35);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s ease;
}
.wa-modal.is-open .wa-modal__card { transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .wa-modal, .wa-modal__card { transition: none; }
}
.wa-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 0;
  background: var(--paper);
  color: var(--slate-600);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.wa-modal__close:hover { background: var(--blue-100); color: var(--blue-600); }
.wa-modal__head { padding-right: 24px; margin-bottom: 22px; }
.wa-modal__badge {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.wa-modal__head h3 {
  font-family: var(--font-display); font-size: 19px; font-weight: 800;
  color: var(--navy-950); margin: 0 0 6px;
}
.wa-modal__head p { font-size: 13.5px; color: var(--slate-600); margin: 0; line-height: 1.5; }

.wa-modal__question { margin-bottom: 20px; }
.wa-modal__label { font-weight: 700; font-size: 14px; color: var(--navy-950); margin-bottom: 10px; }
.wa-modal__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wa-chip {
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--slate-600);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 99px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.wa-chip:hover { border-color: var(--blue-400); color: var(--blue-600); }
.wa-chip.is-selected { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

.wa-modal__submit { width: 100%; justify-content: center; margin-top: 4px; }
.wa-modal__skip {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: 0;
  color: var(--slate-500);
  font-size: 12.5px;
  font-weight: 600;
  padding: 14px 0 2px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wa-modal__skip:hover { color: var(--blue-600); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  h1 { font-size: 44px; }
  .hero__grid { grid-template-columns: 1fr; }
  .services-layout { grid-template-columns: 1fr; }
  .services-media { min-height: 240px; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .nav-desktop { display: none; }
}
@media (max-width: 560px) {
  .pain-grid { grid-template-columns: 1fr; }
  .specialties-grid { grid-template-columns: 1fr; }
  h1 { font-size: 38px; }
  .section { padding: 64px 20px; }
  .expertise-panel { padding: 36px 20px 28px; }
  .expertise-row { flex-wrap: wrap; }
  .timeline__step { gap: 16px; }
  .timeline__marker { width: 44px; height: 44px; font-size: 13px; }
  .timeline__content { padding: 6px 0 32px; }
  .header { padding: 0 14px; top: 10px; }
  .header__inner { padding: 11px 16px; border-radius: 16px; }
  .hero { padding-top: 108px; }
  .wa-modal__card { padding: 24px 20px; border-radius: 20px; }
  .wa-chip { font-size: 12.5px; padding: 8px 12px; }
}
