:root {
  --blue-950: #032f56;
  --blue-900: #064473;
  --blue-800: #07538e;
  --blue-700: #0a67ad;
  --blue-100: #dceefb;
  --blue-50: #f2f8fd;
  --green-600: #32b84b;
  --green-500: #48d45b;
  --green-100: #dff8e4;
  --ink: #102a3f;
  --muted: #5c7080;
  --line: #dfe9f0;
  --surface: #ffffff;
  --warm: #f7f5ef;
  --shadow-sm: 0 12px 36px rgba(11, 73, 117, 0.09);
  --shadow-lg: 0 30px 80px rgba(3, 47, 86, 0.22);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

.header-cta-short,
.mobile-conversion-bar {
  display: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue-950);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(14, 77, 119, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 24px rgba(7, 64, 105, 0.05);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: #345266;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--green-600);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-800);
  font-size: 14px;
  font-weight: 800;
}

.phone-link span:first-child {
  color: var(--green-600);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--blue-800);
  box-shadow: none;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.button:focus-visible,
.choice:focus-visible,
.quiz-close:focus-visible,
.text-button:focus-visible,
.back-button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(72, 212, 91, 0.45);
  outline-offset: 3px;
}

.button-small {
  min-height: 46px;
  padding: 0 20px;
  background: var(--green-600);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.button-primary {
  background: linear-gradient(135deg, var(--green-600), #4bd65d);
  box-shadow: 0 18px 35px rgba(38, 175, 65, 0.25);
}

.button-primary:hover {
  box-shadow: 0 22px 44px rgba(38, 175, 65, 0.32);
}

.button-large {
  min-height: 64px;
  padding: 0 30px;
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.button-white {
  color: var(--blue-900);
  background: #fff;
  box-shadow: 0 18px 40px rgba(2, 34, 61, 0.28);
}

.button-outline {
  border: 1.5px solid var(--blue-800);
  color: var(--blue-800);
  background: transparent;
}

.button-full {
  width: 100%;
  min-height: 62px;
}

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  color: #fff;
  background: var(--blue-950);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 35, 63, 0.98) 0%, rgba(4, 57, 96, 0.92) 50%, rgba(4, 57, 96, 0.66) 100%),
    linear-gradient(180deg, transparent 60%, rgba(3, 47, 86, 0.95)),
    url("https://i.imgur.com/JyWePMS.jpg") center 42% / cover no-repeat;
  opacity: 0.98;
}

.hero::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-orb {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(3px);
}

.hero-orb-one {
  top: 70px;
  right: -160px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(79, 221, 97, 0.18);
  background: radial-gradient(circle, rgba(61, 205, 78, 0.18), transparent 66%);
}

.hero-orb-two {
  bottom: 40px;
  left: 45%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(34, 126, 187, 0.22), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 720px;
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.72fr);
  gap: 74px;
  padding-top: 42px;
  padding-bottom: 82px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #a9eeb3;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 6px rgba(72, 212, 91, 0.13);
}

.hero h1,
.section h2,
.final-cta h2 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 5.3vw, 76px);
  line-height: 1.04;
}

.hero h1 span {
  display: block;
  color: var(--green-500);
}

.hero-lead {
  max-width: 690px;
  margin: 26px 0 0;
  color: #d5e7f3;
  font-size: 18px;
  line-height: 1.75;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 26px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e6f1f7;
  font-size: 13px;
  font-weight: 700;
}

.trust-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-950);
  background: var(--green-500);
  font-size: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.microcopy {
  margin: 13px 0 0 18px;
  color: #abc7d9;
  font-size: 12px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.hero-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), #a9eeb3);
  content: "";
}

.hero-card-top,
.hero-card-footer,
.review-cta > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.google-letter {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  color: #4285f4;
  background: #fff;
  box-shadow: 0 9px 24px rgba(2, 27, 47, 0.18);
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.hero-card-top div,
.hero-card-footer span:last-child,
.review-cta span:last-child {
  display: flex;
  flex-direction: column;
}

.hero-card-top strong {
  font-size: 15px;
}

.hero-card-top span,
.hero-card-footer small {
  color: #bcd3e0;
  font-size: 12px;
}

.rating-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.rating-line strong {
  font-family: "Sora", sans-serif;
  font-size: 30px;
}

.rating-line > span:last-child {
  color: #c2d8e5;
  font-size: 12px;
}

.stars {
  color: #ffcc38;
  letter-spacing: 0.06em;
}

.hero-card blockquote {
  margin: 24px 0;
  color: #e1edf4;
  font-size: 15px;
  font-style: italic;
  line-height: 1.75;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-950);
  background: var(--green-500);
  font-weight: 800;
}

.hero-card-footer strong {
  font-size: 13px;
}

.hero-wave {
  position: absolute;
  z-index: 4;
  right: -5%;
  bottom: -1px;
  left: -5%;
  height: 70px;
  border-radius: 50% 50% 0 0 / 55% 55% 0 0;
  background: #fff;
}

.proof-strip {
  padding: 34px 0 26px;
  background: #fff;
}

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

.proof-grid div {
  display: flex;
  min-height: 68px;
  flex-direction: column;
  justify-content: center;
  padding: 0 28px;
  border-right: 1px solid var(--line);
}

.proof-grid div:first-child {
  padding-left: 0;
}

.proof-grid div:last-child {
  border-right: 0;
}

.proof-grid strong {
  color: var(--blue-800);
  font-family: "Sora", sans-serif;
  font-size: 22px;
}

.proof-grid span {
  color: var(--muted);
  font-size: 12px;
}

.services-section {
  background:
    radial-gradient(circle at 15% 0%, rgba(10, 103, 173, 0.08), transparent 26%),
    var(--blue-50);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 50px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.faq-intro h2 {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.12;
}

.section-heading p,
.split-copy > p,
.faq-intro > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 290px;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  overflow: hidden;
  border: 1px solid #e0eaf1;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card::after {
  position: absolute;
  right: -44px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--blue-50);
  content: "";
  transition: transform 0.25s ease;
}

.service-card:hover {
  border-color: rgba(50, 184, 75, 0.42);
  box-shadow: 0 20px 50px rgba(11, 73, 117, 0.14);
  transform: translateY(-6px);
}

.service-card:hover::after {
  transform: scale(1.18);
}

.featured-card {
  border-color: rgba(50, 184, 75, 0.42);
}

.card-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #207c31;
  background: var(--green-100);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px;
  color: var(--blue-800);
  background: var(--blue-100);
  font-family: "Sora", sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.icon-scorpion,
.icon-ant {
  color: #936219;
  background: #fff0d8;
}

.icon-termite,
.icon-other {
  color: #247e34;
  background: var(--green-100);
}

.icon-rat {
  color: #5d6076;
  background: #e9e9f0;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 22px 0 8px;
  font-family: "Sora", sans-serif;
  font-size: 21px;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.text-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 22px 0 0;
  border: 0;
  color: var(--blue-700);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.text-button span {
  color: var(--green-600);
  transition: transform 0.2s ease;
}

.text-button:hover span {
  transform: translateX(4px);
}

.blue-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 90% 15%, rgba(72, 212, 91, 0.15), transparent 24%),
    linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.blue-section::after {
  position: absolute;
  right: -180px;
  bottom: -220px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.split-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 82px;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  max-height: 620px;
  border: 7px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 80px rgba(2, 30, 52, 0.4);
  object-fit: cover;
}

.media-stamp {
  position: absolute;
  right: -30px;
  bottom: 38px;
  display: flex;
  min-width: 220px;
  flex-direction: column;
  padding: 20px 24px;
  border-radius: 18px;
  color: var(--blue-950);
  background: var(--green-500);
  box-shadow: 0 20px 50px rgba(2, 30, 52, 0.3);
}

.media-stamp span {
  font-size: 12px;
}

.split-copy h2 {
  max-width: 670px;
}

.split-copy > p {
  max-width: 680px;
  color: #c4d9e6;
}

.benefit-list {
  display: grid;
  gap: 2px;
  margin: 34px 0;
}

.benefit-list > div {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.benefit-list > div > span {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: var(--green-500);
  background: rgba(255, 255, 255, 0.08);
  font-family: "Sora", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.benefit-list div div {
  display: flex;
  flex-direction: column;
}

.benefit-list strong {
  font-size: 15px;
}

.benefit-list small {
  color: #bcd3e0;
  font-size: 12px;
}

.audience-section {
  background: #fff;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.audience-grid article {
  min-height: 250px;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.audience-grid article:hover {
  background: var(--blue-50);
  transform: translateY(-4px);
}

.audience-grid article > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 16px;
  color: var(--green-600);
  background: var(--green-100);
  font-size: 24px;
}

.audience-grid h3 {
  margin: 24px 0 8px;
  font-family: "Sora", sans-serif;
  font-size: 18px;
}

.audience-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.reviews-section {
  background: var(--warm);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid #e8e4da;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 14px 38px rgba(59, 55, 45, 0.07);
}

.review-card p {
  margin: 22px 0;
  color: #405766;
  font-size: 15px;
  line-height: 1.85;
}

.review-card footer {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.review-card footer strong {
  font-size: 14px;
}

.review-card footer span {
  color: var(--muted);
  font-size: 11px;
}

.review-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background: #fff;
}

.review-cta span:last-child {
  gap: 1px;
}

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

.faq-section {
  background: #fff;
}

.faq-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-intro .button {
  margin-top: 28px;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: border-color 0.2s ease;
}

.accordion details[open] {
  border-color: rgba(10, 103, 173, 0.3);
  box-shadow: var(--shadow-sm);
}

.accordion summary {
  position: relative;
  padding: 22px 58px 22px 24px;
  list-style: none;
  font-weight: 800;
  cursor: pointer;
}

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

.accordion summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  color: var(--green-600);
  content: "+";
  font-size: 24px;
  transform: translateY(-50%);
}

.accordion details[open] summary::after {
  content: "−";
}

.accordion details p {
  margin: 0;
  padding: 0 58px 24px 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 120%, rgba(72, 212, 91, 0.26), transparent 30%),
    var(--blue-950);
}

.final-cta::before {
  position: absolute;
  top: -200px;
  right: 15%;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.final-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.final-cta h2 {
  max-width: 700px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.13;
}

.final-cta p {
  margin: 14px 0 0;
  color: #bcd3e0;
}

.site-footer {
  padding: 60px 0 20px;
  color: #c5d5df;
  background: #02243f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr;
  gap: 70px;
}

.footer-brand img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
}

.footer-brand p {
  max-width: 360px;
  margin: 18px 0 0;
  color: #92adbe;
  font-size: 13px;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-grid strong {
  margin-bottom: 8px;
  color: #fff;
}

.footer-grid a,
.footer-grid address {
  color: #92adbe;
  font-size: 13px;
  font-style: normal;
}

.footer-grid a:hover {
  color: var(--green-500);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #6f8ea2;
  font-size: 11px;
}

.floating-whatsapp {
  position: fixed;
  z-index: 40;
  right: 24px;
  bottom: 24px;
  display: flex;
  height: 60px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--green-600);
  box-shadow: 0 18px 44px rgba(23, 126, 42, 0.34);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
}

.floating-whatsapp > span:first-child {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 14px;
}

.floating-label {
  font-size: 13px;
}

.mobile-conversion-bar {
  position: fixed;
  z-index: 80;
  right: 0;
  bottom: 0;
  left: 0;
  grid-template-columns: minmax(108px, 0.82fr) minmax(180px, 1.4fr);
  gap: 8px;
  padding:
    9px
    max(12px, env(safe-area-inset-right))
    calc(9px + env(safe-area-inset-bottom))
    max(12px, env(safe-area-inset-left));
  border-top: 1px solid rgba(3, 47, 86, 0.12);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -12px 32px rgba(3, 47, 86, 0.14);
  backdrop-filter: blur(16px);
}

.mobile-call,
.mobile-budget {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 800;
}

.mobile-call {
  border: 1.5px solid var(--blue-800);
  color: var(--blue-800);
  background: #fff;
}

.mobile-budget {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--green-600), #4bd65d);
  box-shadow: 0 10px 24px rgba(38, 175, 65, 0.24);
}

.quiz-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.quiz-modal.open {
  visibility: visible;
  opacity: 1;
}

.quiz-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 28, 49, 0.74);
  backdrop-filter: blur(8px);
}

.quiz-panel {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 32px));
  max-height: min(820px, calc(100dvh - 32px));
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 40px 110px rgba(1, 25, 44, 0.44);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.25s ease;
}

.quiz-modal.open .quiz-panel {
  transform: translateY(0) scale(1);
}

.quiz-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 30px 14px;
}

.quiz-kicker {
  color: var(--green-600);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.quiz-header h2 {
  margin: 4px 0 0;
  font-family: "Sora", sans-serif;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.quiz-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--blue-800);
  background: var(--blue-50);
  font-size: 26px;
  cursor: pointer;
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 30px 18px;
}

.progress-bar {
  height: 6px;
  flex: 1;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eef3;
}

.progress-bar span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-600), var(--green-500));
  transition: width 0.3s ease;
}

.quiz-progress small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

#lead-quiz {
  padding: 0 30px 24px;
}

.quiz-step {
  display: none;
  min-height: 425px;
  padding: 22px 0 8px;
  animation: step-in 0.3s ease both;
}

.quiz-step.active {
  display: block;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-number {
  color: var(--green-600);
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.quiz-step h3 {
  margin: 6px 0 4px;
  font-family: "Sora", sans-serif;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.quiz-step > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.choice-list {
  display: grid;
  gap: 10px;
}

.choice {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: 17px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.choice:hover,
.choice.selected {
  border-color: var(--green-600);
  background: #f2fbf3;
  transform: translateY(-2px);
}

.choice-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: var(--blue-800);
  background: var(--blue-100);
  font-family: "Sora", sans-serif;
  font-size: 16px;
}

.choice.selected .choice-symbol {
  color: #fff;
  background: var(--green-600);
}

.choice-wide {
  min-height: 76px;
  flex-direction: row;
  justify-content: flex-start;
  gap: 14px;
  padding: 12px 16px;
  text-align: left;
}

.choice-wide > span:last-child {
  display: flex;
  flex-direction: column;
}

.choice-wide small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.quiz-summary {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.quiz-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-radius: 13px;
  background: var(--blue-50);
}

.quiz-summary span {
  color: var(--muted);
  font-size: 11px;
}

.quiz-summary strong {
  color: var(--blue-800);
  font-size: 12px;
  text-align: right;
}

.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
}

.field-label small {
  color: var(--muted);
  font-weight: 500;
}

#neighborhood {
  width: 100%;
  height: 52px;
  margin-bottom: 14px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
}

#neighborhood:focus {
  border-color: var(--green-600);
}

.privacy-note {
  margin: 11px auto 0 !important;
  color: var(--muted) !important;
  font-size: 10px !important;
  text-align: center;
}

.quiz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.back-button {
  padding: 8px 0;
  border: 0;
  color: var(--blue-800);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.back-button:disabled {
  visibility: hidden;
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.72fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 54px;
  }

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

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

  .split-grid {
    gap: 54px;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .section {
    padding: 78px 0;
  }

  .header-actions .phone-link {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 70px;
    padding-bottom: 126px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-card {
    max-width: 580px;
  }

  .mobile-conversion-bar {
    display: grid;
  }

  .floating-whatsapp {
    display: none;
  }

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

  .proof-grid div {
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
  }

  .proof-grid div:nth-child(2) {
    border-right: 0;
  }

  .split-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .split-grid {
    gap: 56px;
  }

  .split-media img {
    max-height: 580px;
  }

  .media-stamp {
    right: 20px;
  }

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

  .review-card {
    min-height: auto;
  }

  .faq-grid {
    gap: 50px;
  }

  .faq-intro {
    position: static;
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-wrap {
    min-height: 64px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .header-cta-full {
    display: none;
  }

  .header-cta-short {
    display: inline;
  }

  .button-small {
    min-height: 44px;
    padding: 0 16px;
    font-size: 11px;
  }

  .hero-grid {
    min-height: 0;
    gap: 0;
    padding-top: 38px;
    padding-bottom: 86px;
  }

  .hero-backdrop {
    background:
      linear-gradient(180deg, rgba(2, 35, 63, 0.96), rgba(4, 57, 96, 0.9)),
      url("https://i.imgur.com/JyWePMS.jpg") center / cover no-repeat;
  }

  .hero h1 {
    font-size: clamp(35px, 10.7vw, 44px);
    line-height: 1.06;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
    margin-top: 20px;
  }

  .trust-item {
    font-size: 11px;
  }

  .trust-item:last-child {
    grid-column: 1 / -1;
  }

  .hero-actions {
    display: grid;
    margin-top: 24px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button-ghost {
    display: none;
  }

  .hero-actions .button-primary {
    min-height: 58px;
    padding: 0 18px;
    font-size: 13px;
  }

  .microcopy {
    margin: 10px 0 0;
    text-align: center;
  }

  .hero-card {
    display: none;
  }

  .hero-wave {
    height: 42px;
  }

  .proof-strip {
    padding-top: 14px;
  }

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

  .proof-grid div,
  .proof-grid div:first-child {
    min-height: 90px;
    padding: 14px 12px;
  }

  .proof-grid strong {
    font-size: 17px;
  }

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

  .section-heading h2,
  .split-copy h2,
  .faq-intro h2 {
    font-size: 34px;
  }

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

  .service-card {
    min-height: 250px;
  }

  .split-grid {
    gap: 44px;
  }

  .media-stamp {
    right: 12px;
    bottom: 18px;
    min-width: 190px;
  }

  .review-cta {
    align-items: stretch;
    flex-direction: column;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .quiz-panel {
    width: 100%;
    max-height: calc(100dvh - 6px);
    align-self: end;
    border-radius: 24px 24px 0 0;
  }

  .quiz-header {
    padding: 18px 18px 8px;
  }

  .quiz-header h2 {
    font-size: 21px;
  }

  .quiz-progress {
    padding: 5px 18px 10px;
  }

  #lead-quiz {
    padding: 0 18px calc(16px + env(safe-area-inset-bottom));
  }

  .quiz-step {
    min-height: 390px;
    padding-top: 12px;
  }

  .quiz-step h3 {
    font-size: 20px;
  }

  .quiz-step > p {
    margin-bottom: 16px;
  }

  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .choice {
    min-height: 84px;
    gap: 7px;
    padding: 10px;
  }

  .choice-symbol {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 14px;
  }

  .choice-wide {
    min-height: 66px;
    padding: 9px 12px;
  }

  .quiz-footer {
    padding-top: 12px;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

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

  .hero h1 {
    font-size: 33px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .mobile-call,
  .mobile-budget {
    font-size: 12px;
  }

  .quiz-header h2 {
    font-size: 19px;
  }

  .quiz-step h3 {
    font-size: 18px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .button,
  .text-button,
  .phone-link,
  .back-button,
  summary {
    min-height: 48px;
  }

  .button:hover,
  .choice:hover,
  .floating-whatsapp:hover {
    transform: none;
  }
}

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