:root {
  --bg: #eef7f6;
  --bg-soft: #dfeff0;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --surface-light: rgba(11, 62, 169, 0.05);
  --text: #17304b;
  --muted: #57718c;
  --line: rgba(23, 48, 75, 0.1);
  --brand: #27c9a5;
  --brand-strong: #15a487;
  --accent: #2f80ff;
  --gov-blue: #0b3ea9;
  --gov-yellow: #ffcf36;
  --shadow: 0 24px 70px rgba(47, 92, 145, 0.12);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(39, 201, 165, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(47, 128, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #f8fdfc 0%, #edf6f8 54%, #f7fbff 100%);
  line-height: 1.6;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding-bottom: 4rem;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(238, 247, 246, 0.84) 100%),
    radial-gradient(circle at 20% 15%, rgba(39, 201, 165, 0.15), transparent 24%),
    radial-gradient(circle at 80% 22%, rgba(47, 128, 255, 0.16), transparent 22%);
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand__badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  box-shadow: 0 18px 38px rgba(39, 201, 165, 0.2);
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__text strong,
.section-heading h2,
.hero h1,
.final-cta h2,
.founder__copy h2 {
  font-family: "Space Grotesk", sans-serif;
}

.brand__text small {
  color: var(--muted);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.link-button {
  color: var(--muted);
  transition: color 0.25s ease;
}

.link-button:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  box-shadow: 0 18px 40px rgba(39, 201, 165, 0.2);
}

.button--primary:hover {
  box-shadow: 0 24px 48px rgba(47, 128, 255, 0.22);
}

.button--ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.button--ghost:hover {
  border-color: rgba(23, 48, 75, 0.14);
  background: rgba(255, 255, 255, 0.9);
}

.button--large {
  min-height: 60px;
  padding-inline: 1.8rem;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: center;
  padding-top: 4.2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow--stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.gov-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(11, 62, 169, 0.12);
  border-radius: 999px;
  color: var(--gov-blue);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.gov-badge__mark {
  width: 24px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gov-blue) 0 44%, var(--gov-yellow) 44% 72%, #2eb67d 72% 100%);
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero__lead,
.section-heading p,
.service-card p,
.pain-card p,
.timeline__item p,
.founder__copy p,
.faq__answer p,
.final-cta p,
.cta-strip p,
.footer p {
  color: var(--muted);
}

.hero__lead {
  max-width: 62ch;
  margin: 1.4rem 0 0;
  font-size: 1.08rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.trust-list li,
.founder__points span,
.audience span,
.pill,
.status-dot {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.trust-list li,
.founder__points span,
.audience span {
  padding: 0.75rem 1rem;
}

.hero__panel {
  justify-self: end;
  width: 100%;
  max-width: 420px;
}

.hero-card,
.card,
.final-cta,
.faq,
.cta-strip {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-card {
  border-radius: 32px;
  padding: 1.5rem;
}

.hero-card__header,
.hero-card__footer,
.cta-strip,
.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pill,
.status-dot {
  padding: 0.5rem 0.8rem;
  color: var(--text);
  font-size: 0.82rem;
}

.status-dot::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(39, 201, 165, 0.14);
}

.hero-metrics {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0;
}

.hero-illustration {
  margin: 1.2rem 0 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(23, 48, 75, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(226, 246, 243, 0.92));
}

.scene-banner {
  margin: 0 0 1.6rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.hero-metrics article,
.timeline__item,
.faq__item + .faq__item {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.hero-metrics strong,
.service-card h3,
.pain-card h3,
.timeline__item h3,
.mini-card h3,
.faq__question,
.final-cta h2 {
  font-size: 1.05rem;
}

.hero-metrics span,
.hero-card__footer p,
.hero-card__footer a {
  color: var(--muted);
}

.hero-card__footer a {
  color: var(--brand);
  font-weight: 700;
}

.section {
  padding: 5.5rem 0;
}

.section--tight {
  padding-top: 3rem;
}

.section--accent {
  background: linear-gradient(180deg, rgba(47, 128, 255, 0.05), rgba(39, 201, 165, 0.02));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2,
.final-cta h2,
.founder__copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

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

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

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

.card {
  border-radius: var(--radius);
  padding: 1.6rem;
}

.pain-card,
.service-card,
.mini-card,
.process-card {
  position: relative;
  overflow: hidden;
}

.pain-card::after,
.service-card::after,
.mini-card::after,
.process-card::after,
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(39, 201, 165, 0.14), transparent 70%);
  pointer-events: none;
}

.split,
.founder {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 1rem;
  border-top: none;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
}

.timeline__item span:first-child {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(39, 201, 165, 0.16), rgba(47, 128, 255, 0.16));
  color: var(--accent);
}

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

.process-card {
  min-height: 100%;
}

.process-card__step {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.2rem;
  border-radius: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(39, 201, 165, 0.16), rgba(47, 128, 255, 0.16));
}

.cta-strip {
  margin-top: 1.5rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
}

.diagnostic-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.4rem;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(47, 128, 255, 0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(39, 201, 165, 0.12), transparent 26%),
    rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.diagnostic-offer__copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.diagnostic-offer__copy p,
.diagnostic-offer__action p,
.offer-points li {
  color: var(--muted);
}

.diagnostic-offer__action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1.6rem;
  border: 1px solid rgba(23, 48, 75, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(226, 246, 243, 0.88));
}

.diagnostic-offer__action strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.offer-points {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.offer-points li {
  position: relative;
  padding-left: 1.4rem;
}

.offer-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--brand));
}

.founder__visual {
  min-height: 100%;
}

.portrait-frame {
  position: sticky;
  top: 2rem;
  display: grid;
  place-items: center;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(39, 201, 165, 0.1), rgba(255, 255, 255, 0.88)),
    rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait-frame svg {
  width: min(100%, 340px);
  height: auto;
}

.founder__points,
.audience {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.mini-card {
  min-height: 160px;
  display: flex;
  align-items: flex-end;
}

.audience span {
  font-weight: 700;
}

.final-cta {
  padding: 2.5rem;
  border-radius: 36px;
  text-align: center;
}

.faq {
  border-radius: 28px;
  padding: 0.5rem 1.5rem;
}

.faq__item {
  overflow: hidden;
}

.faq__question {
  width: 100%;
  padding: 1.25rem 0;
  border: 0;
  color: var(--text);
  text-align: left;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.faq__question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 1.4rem;
  transition: transform 0.25s ease;
}

.faq__question[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq__answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 2rem 1.2rem 0;
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}

.footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer strong,
.footer span,
.footer a {
  display: block;
}

.footer a {
  font-weight: 700;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem 0.8rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1fd16c, #63f7a1);
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(31, 209, 108, 0.35);
  font-weight: 800;
}

.floating-whatsapp__icon {
  width: 40px;
  height: 40px;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.floating-whatsapp svg {
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-delay {
  transition-delay: 0.12s;
}

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

@media (max-width: 1080px) {
  .hero__content,
  .split,
  .founder,
  .diagnostic-offer,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    justify-self: start;
    max-width: none;
  }

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

@media (max-width: 780px) {
  .topbar,
  .topbar__actions,
  .hero-card__header,
  .hero-card__footer,
  .cta-strip,
  .footer__content {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar__actions {
    width: 100%;
  }

  .topbar__actions .button,
  .topbar__actions .link-button {
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .section {
    padding: 4.5rem 0;
  }

  .hero__content {
    padding-top: 2rem;
  }

  .hero h1 {
    max-width: none;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

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

  .portrait-frame {
    position: static;
    min-height: 320px;
  }

  .diagnostic-offer,
  .diagnostic-offer__action,
  .final-cta,
  .faq {
    padding: 1.4rem;
  }

  .floating-whatsapp {
    right: 0.75rem;
    bottom: 0.75rem;
    padding-right: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
