﻿:root {
  --blue: #2563eb;
  --blue-dark: #011a78;
  --blue-soft: #f0f7ff;
  --green: #22c55e;
  --green-dark: #139e4b;
  --green-soft: #f0fff3;
  --text: #1f1f1f;
  --muted: #595959;
  --faint: #8c8c8c;
  --border: #d9d9d9;
  --surface: #f5f5f5;
  --white: #ffffff;
  --warning: #faad14;
  --radius: 8px;
  --shadow: 0 18px 60px rgba(1, 26, 120, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

a { color: inherit; }
button, input, select { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand img { width: 164px; max-width: 42vw; display: block; }
.topnav { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.topnav a { text-decoration: none; }
.topnav a:hover { color: var(--blue); }
.top-cta {
  text-decoration: none;
  color: var(--white);
  background: var(--blue);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--blue-dark);
}
.hero-media, .hero-media img, .hero-overlay { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { background: linear-gradient(90deg, rgba(1, 26, 120, .92), rgba(37, 99, 235, .72) 48%, rgba(1, 26, 120, .18)); }
.hero-content {
  position: relative;
  width: min(820px, calc(100% - 36px));
  margin: 0 0 clamp(28px, 8vh, 80px) clamp(18px, 6vw, 72px);
  color: var(--white);
  padding-top: 88px;
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--green);
}
.hero-content h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
  max-width: 780px;
}
.hero-copy {
  margin: 22px 0 0;
  max-width: 680px;
  font-size: 18px;
  color: rgba(255,255,255,.9);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--green); color: #052e15; }
.button.primary:hover { background: #45d174; }
.button.secondary { background: var(--white); color: var(--blue-dark); border-color: rgba(255,255,255,.7); }
.button.ghost { background: var(--white); color: var(--muted); border-color: var(--border); }
.button.whatsapp { background: var(--green-dark); color: var(--white); }

.process-section { padding: 80px clamp(18px, 6vw, 72px); background: var(--white); }
.authority-section { padding: 80px clamp(18px, 6vw, 72px); background: var(--surface); }
.org-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.org-grid article {
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.org-grid strong { color: var(--blue-dark); font-size: 16px; line-height: 1.25; }
.org-grid span { color: var(--muted); font-size: 14px; }
.authority-note {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-weight: 700;
}
.section-heading { max-width: 760px; }
.section-heading h2, .checklist-header h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
  letter-spacing: 0;
}
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}
.process-grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
}
.process-grid span { color: var(--blue); font-weight: 800; font-size: 13px; }
.process-grid h3 { margin: 14px 0 8px; font-size: 18px; }
.process-grid p { margin: 0; color: var(--muted); }

.checklist-shell {
  display: grid;
  grid-template-columns: minmax(0, 980px);
  justify-content: center;
  gap: 24px;
  padding: 80px clamp(18px, 6vw, 72px);
  background: linear-gradient(180deg, var(--blue-soft), #fff);
}
.checklist-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.checklist-panel { padding: clamp(20px, 4vw, 36px); }
.checklist-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.progress-copy { color: var(--muted); font-weight: 700; white-space: nowrap; }
.progress-track { height: 8px; background: var(--surface); border-radius: 999px; margin: 20px 0 26px; overflow: hidden; }
.progress-track span { display: block; width: 20%; height: 100%; background: var(--green); border-radius: inherit; transition: width .2s ease; }
.step-content { min-height: 360px; }
.question-group { display: grid; gap: 18px; }
.question { display: grid; gap: 10px; }
.question label, .question legend { font-weight: 800; color: var(--text); }
.hint { color: var(--muted); font-size: 13px; margin-top: -4px; }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.option {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 56px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--white);
}
.option:hover { border-color: var(--blue); background: var(--blue-soft); }
.option input { margin-top: 4px; accent-color: var(--blue); }
.option strong { display: block; line-height: 1.3; }
.option small { display: block; color: var(--muted); margin-top: 2px; }
.text-input, .select-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--white);
}
.text-input:focus, .select-input:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.form-actions.is-first-step { justify-content: flex-end; }
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 6vw, 72px);
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.footer img { width: 150px; }
.footer p { margin: 0; max-width: 680px; font-size: 13px; }

.is-hidden { display: none !important; }
.validation { color: #a8071a; background: #fff1f0; border: 1px solid #ffccc7; border-radius: var(--radius); padding: 10px 12px; margin-top: 12px; }
.completion-panel { display: grid; gap: 18px; max-width: 860px; }
.completion-panel h3 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.18;
  letter-spacing: 0;
}
.completion-panel p { margin: 0; color: var(--muted); font-size: 17px; }
.result-panel { gap: 20px; }
.result-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.result-summary-grid article {
  min-height: 118px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.result-summary-grid span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.result-summary-grid strong { color: var(--blue-dark); line-height: 1.3; }
.review-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.review-columns article {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.review-columns h4 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 17px;
}
.review-columns ul { margin: 0; padding-left: 20px; color: var(--muted); }
.review-columns li + li { margin-top: 5px; }
.review-columns.single-column { grid-template-columns: minmax(0, 1fr); }
.risk-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.risk-list article {
  min-height: 144px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--blue-soft);
}
.risk-list strong { color: var(--blue-dark); line-height: 1.3; }
.risk-list span { color: var(--muted); font-size: 14px; }
.completion-note { padding: 14px 16px; border-left: 4px solid var(--green); background: var(--green-soft); font-weight: 700; }
.risk-anchor {
  padding: 16px 18px;
  border: 1px solid #b7ebc6;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--text) !important;
  font-weight: 800;
}
.result-review-main article:last-child { background: var(--blue-soft); }
.result-review-main p { margin: 0; color: var(--muted); }
.result-panel-compact { max-width: 820px; gap: 14px; }
.result-panel-compact h3 { max-width: 620px; }
.result-short-list {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 700;
}
.result-next-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.result-next-step > div {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.result-next-step > div:last-child { background: var(--blue-soft); }
.result-next-step h4 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 17px;
}
.result-next-step ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.result-next-step li + li { margin-top: 4px; }
.result-next-step p { font-size: 15px; }
.pending-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pending-grid article {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.pending-grid strong { color: var(--blue-dark); line-height: 1.25; }
.pending-grid span { color: var(--muted); font-size: 14px; }

@media (max-width: 960px) {
  .topnav { display: none; }
  .checklist-shell { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .topbar { min-height: 64px; }
  .brand img { width: 136px; }
  .top-cta { display: none; }
  .hero-section { min-height: 680px; }
  .hero-content { margin: 0 18px 32px; padding-top: 84px; }
  .hero-copy { font-size: 16px; }
  .process-section, .checklist-shell { padding-left: 18px; padding-right: 18px; }
  .process-grid, .org-grid, .option-grid, .risk-list, .result-summary-grid, .review-columns, .pending-grid, .result-next-step { grid-template-columns: 1fr; }
  .checklist-header { display: block; }
  .progress-copy { margin-top: 8px; }
  .form-actions { flex-direction: column-reverse; }
  .button { width: 100%; }
  .footer { display: block; }
  .footer p { margin-top: 12px; }
}
