:root {
  --navy: #0f2a4a;
  --navy-dark: #0a1d34;
  --blue: #1c6dd0;
  --blue-light: #eaf2fd;
  --orange: #f5a623;
  --orange-dark: #d98a0f;
  --green: #25d366;
  --green-dark: #1ebc5a;
  --ink: #14213d;
  --ink-soft: #4c5c74;
  --line: #dde6f1;
  --paper: #f6f9fd;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(15, 42, 74, 0.08);
  --shadow-md: 0 12px 32px rgba(15, 42, 74, 0.12);
  --font-head: 'Poppins', 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, legend {
  font-family: var(--font-head);
  color: var(--navy-dark);
  margin: 0 0 12px;
}

p { margin: 0 0 16px; color: var(--ink-soft); }

a { color: var(--blue); }

button { font-family: inherit; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 40px;
  width: auto;
}

.header-call {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--navy-dark);
  font-weight: 700;
  background: var(--blue-light);
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.header-call:hover { background: #dcebfc; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--orange);
  color: var(--navy-dark);
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.35);
}
.btn-primary:hover { background: var(--orange-dark); }
.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-lg { padding: 16px 34px; font-size: 16px; }

.btn-secondary {
  background: var(--white);
  color: var(--navy-dark);
  border: 2px solid var(--line);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-secondary:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  text-decoration: underline;
  padding: 8px 4px;
}

.btn-whatsapp {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: var(--green-dark); }

.btn-email {
  background: var(--navy);
  color: var(--white);
}
.btn-email:hover { background: var(--navy-dark); }

/* Hero */
.hero {
  background: radial-gradient(circle at 85% 20%, #163f6d 0%, var(--navy) 55%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 64px 0 96px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #cfe1fb;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.12;
  margin-bottom: 18px;
}

.hero p { color: #cddaee; font-size: 17px; max-width: 46ch; }

.hero-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-points li {
  color: #dce8fb;
  font-weight: 600;
  font-size: 14px;
  padding-left: 26px;
  position: relative;
}
.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}

.hero-badge { display: flex; justify-content: center; }
.badge-ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.25);
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(255,255,255,0.06);
}
.badge-number {
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.badge-label {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #cfe1fb;
  margin-top: 4px;
}

/* Quote section */
.quote-section {
  margin-top: -56px;
  padding-bottom: 72px;
}

.quote-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 32px;
  max-width: 720px;
  margin: 0 auto;
}

.quote-progress {
  height: 8px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}

.quote-progress-bar {
  height: 100%;
  width: 12.5%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 999px;
  transition: width 0.3s ease;
}

.quote-steps-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
#stepTitleLabel { color: var(--blue); }

.q-step { border: none; margin: 0; padding: 0; display: none; }
.q-step.active { display: block; animation: fadein 0.25s ease; }

@keyframes fadein {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.q-step legend {
  font-size: 1.25rem;
  padding: 0;
  width: 100%;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.option-card {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 16px 14px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy-dark);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.option-card:hover { border-color: var(--blue); }
.option-card.selected {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue);
}

.field-block { margin-top: 22px; }
.field-block label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.15s ease;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
input.invalid, textarea.invalid { border-color: #d64545; }

textarea { resize: vertical; }

.field-error {
  color: #d64545;
  font-size: 13px;
  font-weight: 600;
  margin: 6px 0 0;
  min-height: 16px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
.checkbox-row input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }

.quote-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

#summaryStep h3 { font-size: 1.35rem; }
.summary-intro { margin-bottom: 20px; }

.summary-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.summary-list > div {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.summary-list > div:last-child { border-bottom: none; }
.summary-list > div:nth-child(odd) { background: var(--paper); }
.summary-list dt { font-weight: 700; color: var(--navy-dark); font-size: 13.5px; margin: 0; }
.summary-list dd { margin: 0; color: var(--ink-soft); font-size: 13.5px; }

.handoff-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.handoff-actions .btn { flex: 1; min-width: 200px; }

/* Trust */
.trust-section { padding: 64px 0 88px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.trust-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.trust-item h3 { font-size: 1.05rem; }
.trust-item p { margin: 0; font-size: 14.5px; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #b9c8e0;
  padding: 40px 0 20px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand strong { color: var(--white); font-family: var(--font-head); font-size: 17px; }
.footer-brand p { margin: 4px 0 0; color: #93a7c7; font-size: 14px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.footer-contact a { color: #cfe1fb; text-decoration: none; font-weight: 600; font-size: 14.5px; }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom { padding-top: 18px; }
.footer-bottom p { color: #7c8fae; font-size: 12.5px; margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-badge { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-contact { align-items: flex-start; }
}

@media (max-width: 560px) {
  .header-call span { display: none; }
  .hero { padding: 44px 0 80px; }
  .quote-card { padding: 22px 18px; border-radius: 16px; }
  .option-grid { grid-template-columns: 1fr; }
  .handoff-actions { flex-direction: column; }
  .handoff-actions .btn { min-width: 0; }
  .quote-nav { flex-direction: column-reverse; }
  .quote-nav .btn { width: 100%; }
}
