:root {
  --ink: #14213d;
  --muted: #5d6b82;
  --line: #dbe3ee;
  --paper: #f8fafc;
  --white: #ffffff;
  --accent: #00a884;
  --accent-dark: #08775f;
  --gold: #f4b942;
  --navy: #0f2742;
  --shadow: 0 24px 70px rgba(20, 33, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(219, 227, 238, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-small {
  min-height: 42px;
  padding: 10px 16px;
}

.btn-large {
  min-width: 220px;
  min-height: 56px;
}

.btn-whatsapp {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(0, 168, 132, 0.24);
}

.btn-whatsapp:hover {
  background: var(--accent-dark);
}

.btn-outline {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hero {
  display: grid;
  min-height: calc(100vh - 76px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(34px, 6vw, 90px);
  padding: clamp(54px, 8vw, 98px) clamp(18px, 5vw, 72px) clamp(36px, 6vw, 70px);
  background:
    radial-gradient(circle at 85% 12%, rgba(244, 185, 66, 0.22), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #eef5fb 58%, #e7f7f2 100%);
}

.hero-content {
  max-width: 720px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.75rem, 6vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.7vw, 1.22rem);
}

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

.hero-panel {
  padding: clamp(22px, 4vw, 38px);
  color: var(--white);
  background: linear-gradient(160deg, var(--navy), #183b59);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.route-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 180px;
  margin-bottom: 24px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.route-card strong {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.route-label {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.route-line {
  position: relative;
  display: block;
  width: 88px;
  height: 2px;
  background: var(--gold);
}

.route-line::after {
  position: absolute;
  top: -5px;
  right: 0;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid div {
  min-height: 116px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
}

.metric-grid span,
.service-card span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}

.metric-grid p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: -24px auto 0;
  padding: 0 clamp(18px, 4vw, 28px);
  position: relative;
  z-index: 2;
}

.trust-strip div {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(20, 33, 61, 0.08);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
}

.section,
.split-section,
.cta-band {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 112px) clamp(18px, 4vw, 28px);
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 270px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card p,
.split-section p,
.cta-band p {
  color: var(--muted);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 6vw, 70px);
  align-items: start;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent-dark);
  font-weight: 800;
}

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

.process-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-list span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--ink);
  background: #eef7f4;
  border-radius: 8px;
  font-weight: 800;
}

.process-list p {
  margin-bottom: 0;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #204f64);
  border-radius: 8px;
}

.cta-band .eyebrow,
.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band h2 {
  margin-bottom: 10px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  color: var(--white);
  background: var(--accent);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(0, 168, 132, 0.32);
  font-weight: 800;
}

.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lead-popup.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lead-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 39, 66, 0.58);
  backdrop-filter: blur(8px);
}

.lead-popup-card {
  position: relative;
  width: min(100%, 520px);
  padding: clamp(26px, 5vw, 42px);
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(0, 168, 132, 0.18), transparent 36%),
    linear-gradient(145deg, #ffffff, #f5fbf9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(15, 39, 66, 0.32);
  transform: translateY(18px) scale(0.98);
  transition: transform 220ms ease;
}

.lead-popup.is-visible .lead-popup-card {
  transform: translateY(0) scale(1);
}

.lead-popup-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.lead-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.lead-popup-close:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.popup-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  color: var(--accent-dark);
  background: #e9f8f4;
  border: 1px solid rgba(0, 168, 132, 0.16);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-popup-card h2 {
  max-width: 380px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.lead-popup-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.02rem;
}

.popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.popup-actions .btn-outline {
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--accent-dark);
  font-weight: 800;
}

@media (max-width: 960px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero-actions,
  .cta-band,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-band .btn {
    width: 100%;
  }

  .route-card,
  .metric-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .route-card {
    gap: 12px;
  }

  .route-line {
    width: 2px;
    height: 54px;
  }

  .route-line::after {
    top: auto;
    right: -5px;
    bottom: 0;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }

  .lead-popup {
    align-items: end;
    padding: 14px;
  }

  .lead-popup-card {
    width: 100%;
  }

  .popup-actions {
    flex-direction: column;
  }

  .popup-actions .btn {
    width: 100%;
  }
}
