:root {
  color-scheme: light;
  --ink: #242121;
  --muted: #655f5b;
  --paper: #f7f4ef;
  --paper-strong: #fffdfa;
  --line: #ded6cd;
  --accent: #e10707;
  --accent-dark: #b80505;
  --charcoal: #313131;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(36, 33, 33, 0.14);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.narrow {
  width: min(100% - 32px, 780px);
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 0;
}

.site-header.simple {
  position: static;
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  width: 170px;
  margin-left: max(16px, calc((100vw - var(--max)) / 2));
  text-decoration: none;
}

.section-band {
  position: relative;
  padding: 54px 0;
}

.hero {
  min-height: 94svh;
  padding: 114px 0 48px;
  background: var(--paper) url("assets/hero-local-visibility.webp") center / cover no-repeat;
  display: flex;
  align-items: flex-start;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.hero-grid {
  display: grid;
  gap: 32px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.35rem, 9vw, 4.65rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.45rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.13rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 610px;
  margin: 20px 0 28px;
  color: var(--charcoal);
  font-size: clamp(1.1rem, 4.3vw, 1.55rem);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 18px;
  font: inherit;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(225, 7, 7, 0.28);
}

.primary:hover,
.primary:focus-visible {
  background: var(--accent-dark);
}

.whatsapp-button,
.sticky-whatsapp {
  background: #118c4f;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(17, 140, 79, 0.24);
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible,
.sticky-whatsapp:hover,
.sticky-whatsapp:focus-visible {
  background: #0d7040;
}

.ghost {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--line);
}

.wide {
  width: 100%;
}

.hero-proof {
  display: none;
}

.audit-panel {
  width: min(100%, 360px);
  margin-left: auto;
  border: 1px solid rgba(49, 49, 49, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 250, 0.9);
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.panel-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.signal-row strong {
  color: var(--ink);
  font-size: 1.5rem;
}

.signal-bars {
  display: grid;
  grid-template-columns: 1fr 0.72fr 0.46fr;
  gap: 8px;
  margin: 18px 0;
}

.signal-bars span {
  height: 78px;
  border-radius: 6px 6px 2px 2px;
  background: var(--accent);
}

.signal-bars span:nth-child(2) {
  margin-top: 24px;
  background: #313131;
}

.signal-bars span:nth-child(3) {
  margin-top: 42px;
  background: #b8ada4;
}

.signal-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.signal-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.problem {
  background: var(--charcoal);
  color: var(--white);
}

.problem p {
  margin: 0;
  font-size: clamp(1.35rem, 5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
}

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

.section-heading.compact {
  margin-bottom: 20px;
}

.feature-grid,
.counter-grid {
  display: grid;
  gap: 14px;
}

.feature-item {
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  padding: 22px;
}

.feature-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

.icon-dot {
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent);
}

.steps {
  background: var(--paper-strong);
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.step-list span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
}

.step-list p {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
}

.authority {
  background: var(--charcoal);
  color: var(--white);
}

.counter-grid div {
  border-left: 4px solid var(--accent);
  padding: 4px 0 4px 16px;
}

.counter-grid strong {
  display: block;
  font-size: clamp(2.6rem, 13vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.counter-grid span {
  display: block;
  margin-top: 10px;
  color: #e8e0da;
  font-weight: 800;
}

.form-section {
  background: var(--paper);
}

.form-layout {
  display: grid;
  gap: 26px;
}

.form-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}

.whatsapp-note {
  margin-top: 18px;
  padding-left: 14px;
  border-left: 4px solid #118c4f;
}

.phone-note {
  margin-top: 10px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}

.whatsapp-note a {
  color: #0d7040;
  font-weight: 900;
}

.phone-note a {
  color: var(--accent-dark);
  font-weight: 900;
}

.lead-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  padding: 18px;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--charcoal);
  font-weight: 800;
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c9bfb6;
  border-radius: 6px;
  background: var(--white);
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

.lead-form small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.lead-form input:focus {
  outline: 3px solid rgba(225, 7, 7, 0.18);
  border-color: var(--accent);
}

.privacy-check {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 400;
}

.privacy-check input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.privacy-check a,
.footer-links a,
.legal-content a:not(.button) {
  color: var(--accent-dark);
  font-weight: 800;
}

.form-status {
  min-height: 0;
  color: var(--accent-dark);
  font-weight: 800;
}

.form-status:not(:empty) {
  border: 1px solid rgba(225, 7, 7, 0.25);
  border-radius: 6px;
  background: rgba(225, 7, 7, 0.06);
  padding: 10px 12px;
}

.site-footer {
  background: #1f1d1d;
  color: #f1ece6;
  padding: 34px 0 86px;
}

.footer-grid {
  display: grid;
  gap: 18px;
  font-size: 0.92rem;
}

.footer-grid p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: start;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #ffb3b3;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.sticky-actions {
  position: fixed;
  z-index: 9;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.sticky-cta,
.sticky-whatsapp {
  min-height: 50px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.sticky-cta {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(225, 7, 7, 0.34);
}

.sticky-whatsapp {
  min-width: 112px;
}

.cookie-banner {
  position: fixed;
  z-index: 10;
  right: 16px;
  bottom: 82px;
  left: 16px;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  padding: 16px;
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  margin: 4px 0 0;
  color: var(--muted);
}

.cookie-actions {
  display: grid;
  gap: 8px;
}

.thanks-page,
.legal-page {
  min-height: 62svh;
}

.legal-content h1,
.thanks-page h1 {
  font-size: clamp(2.4rem, 9vw, 4.6rem);
}

.legal-content h2 {
  margin-top: 32px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.legal-content p {
  color: var(--muted);
}

.legal-back {
  margin-top: 14px;
}

@media (min-width: 760px) {
  .brand {
    width: 221px;
  }

  .section-band {
    padding: 78px 0;
  }

  .hero {
    min-height: 92vh;
    padding-top: 162px;
    align-items: center;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.6fr);
    align-items: center;
  }

  .hero-proof {
    display: block;
  }

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

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

  .step-list li {
    grid-template-columns: 1fr;
    align-items: start;
    border-top: 0;
    border-left: 1px solid var(--line);
    padding: 0 20px;
  }

  .form-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
    align-items: start;
  }

  .lead-form {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr auto;
    align-items: start;
  }

  .sticky-actions {
    display: none;
  }

  .site-footer {
    padding-bottom: 38px;
  }

  .cookie-banner {
    left: auto;
    bottom: 20px;
    width: min(520px, calc(100vw - 40px));
  }

  .cookie-actions {
    grid-template-columns: 1fr 1fr;
  }
}

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