:root {
  --ink: #12151a;
  --paper: #f7f4ef;
  --paper-2: #fffaf2;
  --paper-3: #f4ede1;
  --muted: #65707c;
  --line: rgba(18, 21, 26, 0.12);
  --line-strong: rgba(18, 21, 26, 0.2);
  --green: #1f7a5a;
  --green-2: #2fa878;
  --green-soft: rgba(47, 168, 120, 0.1);
  --blue: #2367c7;
  --blue-soft: rgba(35, 103, 199, 0.1);
  --red: #b54646;
  --red-soft: rgba(181, 70, 70, 0.1);
  --gold: #c28a2c;
  --gold-soft: rgba(194, 138, 44, 0.12);
  --shadow: 0 24px 70px rgba(26, 35, 44, 0.12);
  --shadow-soft: 0 10px 30px rgba(26, 35, 44, 0.08);
  --radius: 8px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --max: 1240px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(194, 138, 44, 0.08), transparent 30%),
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 45%, #f3eee7 100%);
  line-height: 1.5;
}

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

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

button,
input,
select {
  font: inherit;
}

[hidden],
.is-conditional-hidden {
  display: none !important;
}

main {
  overflow: hidden;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 239, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.brand span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand strong {
  font-size: 0.98rem;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

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

.menu-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.menu-toggle span {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.menu-wrap.is-open .nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav a:hover {
  background: rgba(18, 21, 26, 0.05);
  color: var(--ink);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.76);
  box-shadow: var(--shadow-soft);
}

.language-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.language-button:hover {
  transform: translateY(-1px);
  color: var(--ink);
}

.language-button.is-active {
  background: var(--ink);
  color: #fff;
}

.language-button span {
  font-size: 1rem;
  line-height: 1;
}

.language-button strong {
  font-size: 0.72rem;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(31, 122, 90, 0.24);
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-link:hover {
  transform: translateY(-1px);
  background: var(--green-2);
}

.hero,
.result-section,
.law-section,
.kit-section,
.offer-section,
.faq-section,
.consultor-section,
.footer {
  padding-inline: clamp(18px, 4vw, 56px);
}

.hero-content,
.result-section,
.law-section,
.kit-section,
.offer-section,
.faq-section,
.consultor-section,
.footer {
  max-width: var(--max);
  margin-inline: auto;
}

.kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.06rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

.section-copy {
  max-width: 760px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:disabled {
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.button.is-loading::before {
  content: "";
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  animation: spin 0.78s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

.button.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 32px rgba(18, 21, 26, 0.18);
}

.button.primary:hover {
  box-shadow: 0 18px 36px rgba(18, 21, 26, 0.22);
}

.button.secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.button.secondary:hover {
  background: rgba(18, 21, 26, 0.04);
}

.button.ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
}

.button.full {
  width: 100%;
}

.hero {
  position: relative;
  padding-top: 116px;
  padding-bottom: 56px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(194, 138, 44, 0.16), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(35, 103, 199, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.9), rgba(247, 244, 239, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 32px;
  align-items: start;
}

.hero-copy {
  padding-top: clamp(16px, 4vw, 42px);
  max-width: 640px;
}

.hero-copy .lead {
  max-width: 58ch;
  font-size: 1.06rem;
  line-height: 1.7;
}

.deadline-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 16px 0 24px;
  padding: 10px 14px;
  border: 1px solid rgba(194, 138, 44, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.88);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.deadline-strip strong {
  color: var(--gold);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.deadline-strip span {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.diagnostic-panel {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 242, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.panel-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.contact-grid,
.question-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field > span,
.readiness-box legend,
.upload-box legend {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.field-hint {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field input::placeholder {
  color: #98a1ab;
}

.field input:focus,
.field select:focus {
  border-color: rgba(35, 103, 199, 0.35);
  box-shadow: 0 0 0 4px rgba(35, 103, 199, 0.08);
}

.readiness-box,
.upload-box,
.form-data-box {
  margin: 18px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.readiness-box legend,
.upload-box legend,
.form-data-box legend {
  padding: 0 8px;
}

.form-data-box summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-data-box .contact-grid {
  margin-top: 16px;
  margin-bottom: 0;
}

.prefill-upload-list {
  display: grid;
  gap: 0;
  margin-top: 14px;
}

.prefill-actions {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.extraction-note {
  min-height: 48px;
}

.client-area-message.is-error,
.extraction-note.is-error {
  color: var(--red);
  border-color: rgba(181, 70, 70, 0.2);
  background: var(--red-soft);
}

.client-area-message.is-success,
.extraction-note.is-success {
  color: var(--green);
  border-color: rgba(31, 122, 90, 0.2);
  background: var(--green-soft);
}

.client-area-message.is-loading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  border-color: rgba(35, 103, 199, 0.2);
  background: rgba(35, 103, 199, 0.08);
}

.client-area-message.is-loading::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  animation: spin 0.78s linear infinite;
}

.field.is-invalid > span {
  color: var(--red);
}

.field.is-invalid input,
.field.is-invalid select {
  border-color: rgba(181, 70, 70, 0.45);
  box-shadow: 0 0 0 4px rgba(181, 70, 70, 0.08);
}

.field-error {
  margin: -2px 0 0;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
}

.dehu-box {
  display: grid;
  gap: 12px;
}

.helper-text,
.helper-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.helper-note {
  padding: 12px 14px;
  border: 1px solid rgba(194, 138, 44, 0.2);
  border-radius: 12px;
  background: rgba(194, 138, 44, 0.08);
}

.consent.compact {
  margin-top: 0;
}

.readiness-box label,
.upload-item,
.consent {
  display: flex;
  align-items: start;
  gap: 10px;
}

.readiness-box label,
.upload-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(18, 21, 26, 0.06);
}

.readiness-box label:last-child,
.upload-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.readiness-box label:first-of-type,
.upload-item:first-of-type {
  padding-top: 4px;
}

.readiness-box span,
.consent span {
  color: var(--muted);
  font-size: 0.94rem;
}

.upload-item {
  position: relative;
  align-items: center;
  cursor: pointer;
}

.upload-item input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 0.95rem;
}

.upload-text {
  color: var(--muted);
  font-size: 0.94rem;
  flex: 1 1 auto;
}

.upload-status {
  color: #98a1ab;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: right;
}

.upload-item.has-file .upload-icon {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.upload-item.has-file .upload-text {
  color: var(--ink);
  font-weight: 700;
}

.upload-item.has-file .upload-status {
  color: var(--green);
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ink);
  flex: 0 0 auto;
}

.consent {
  margin-top: 14px;
}

.client-data-panel.is-locked {
  opacity: 0.76;
}

.result-section {
  display: grid;
  gap: 22px;
  padding-top: 18px;
  padding-bottom: 34px;
}

.result-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 242, 0.92);
  box-shadow: var(--shadow-soft);
}

.result-card h2 {
  margin-bottom: 10px;
}

.result-card.is-good {
  border-color: rgba(31, 122, 90, 0.18);
  background: linear-gradient(180deg, rgba(47, 168, 120, 0.08), rgba(255, 250, 242, 0.94));
}

.result-card.is-warning {
  border-color: rgba(194, 138, 44, 0.22);
  background: linear-gradient(180deg, rgba(194, 138, 44, 0.08), rgba(255, 250, 242, 0.94));
}

.result-card.is-stop {
  border-color: rgba(181, 70, 70, 0.18);
  background: linear-gradient(180deg, rgba(181, 70, 70, 0.07), rgba(255, 250, 242, 0.94));
}

.result-helper {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.result-helper h3 {
  margin-bottom: 10px;
}

.result-checklist {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.result-checklist li {
  padding-left: 2px;
}

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

.mini-flow article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
}

.mini-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
}

.mini-flow h3 {
  margin-bottom: 8px;
}

.mini-flow p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.law-section {
  padding-top: 34px;
  padding-bottom: 34px;
}

.law-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.law-article,
.official-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.84);
  box-shadow: var(--shadow-soft);
}

.law-article h3,
.official-box h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: -0.02em;
}

.law-article p:last-child,
.official-box ul {
  margin-bottom: 0;
}

.official-box {
  background: linear-gradient(180deg, rgba(35, 103, 199, 0.08), rgba(255, 250, 242, 0.84));
}

.official-box ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  color: var(--muted);
}

.official-box a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.text-link {
  display: inline-flex;
  margin-top: 4px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.kit-section {
  padding-top: 34px;
  padding-bottom: 34px;
}

.client-area-section {
  padding-top: 34px;
  padding-bottom: 34px;
}

.secure-area-page .client-area-section {
  padding-top: 118px;
  padding-inline: clamp(28px, 5vw, 72px);
}

.secure-area-page .client-area-section .section-copy {
  margin-bottom: 34px;
  padding-inline: clamp(6px, 1.2vw, 12px);
}

.secure-area-page .client-area-grid {
  gap: 22px;
}

.client-area-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: start;
}

.status-board,
.client-access-panel,
.client-data-panel,
.documents-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.84);
  box-shadow: var(--shadow-soft);
}

.status-board {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.status-row {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid rgba(18, 21, 26, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.status-row:last-child {
  border-bottom: 0;
}

.status-row > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(18, 21, 26, 0.08);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  flex: 0 0 auto;
}

.status-row strong {
  display: block;
  margin-bottom: 4px;
}

.status-row p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.status-row.is-done {
  background: linear-gradient(180deg, rgba(47, 168, 120, 0.12), rgba(47, 168, 120, 0.04));
}

.status-row.is-done strong {
  color: var(--green);
}

.status-row.is-done > span {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(31, 122, 90, 0.2);
}

.status-row.is-active {
  background: rgba(35, 103, 199, 0.08);
  box-shadow: inset 3px 0 0 var(--blue);
}

.status-row.is-active strong {
  color: var(--ink);
}

.status-row.is-active > span {
  background: var(--blue);
  color: #fff;
}

.client-access-panel {
  display: grid;
  gap: 10px;
  padding: 24px;
  min-height: 260px;
  align-content: center;
}

.client-access-panel h2 {
  margin-bottom: 4px;
}

.client-access-panel p:not(.kicker) {
  max-width: 62ch;
  margin-bottom: 8px;
}

.access-next-steps {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.access-next-steps li {
  position: relative;
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.access-next-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  transform: translateY(-50%);
}

.client-access-panel .button {
  justify-self: start;
}

.client-data-panel {
  padding: 24px;
}

.client-data-panel.is-locked {
  position: relative;
  border-color: rgba(35, 103, 199, 0.18);
  background: linear-gradient(180deg, rgba(35, 103, 199, 0.06), rgba(255, 250, 242, 0.9));
}

.client-data-panel.is-locked .field,
.client-data-panel.is-locked .consent {
  opacity: 0.58;
}

.client-area-message {
  margin: 14px 0 0;
  font-size: 0.94rem;
}

.documents-panel {
  grid-column: 2;
  padding: 24px;
}

.documents-panel .panel-head {
  margin-bottom: 14px;
}

.document-list {
  display: grid;
  gap: 12px;
}

.document-list > p {
  margin-bottom: 0;
}

.document-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.document-item strong {
  display: block;
  margin-bottom: 4px;
}

.document-item p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.document-item > span,
.document-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(18, 21, 26, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.document-download {
  border: 0;
  cursor: pointer;
  background: var(--green);
  color: #fff;
}

.document-download:disabled {
  cursor: wait;
  opacity: 0.68;
}

.document-fallback-link {
  flex: 1 1 100%;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.document-item.is-available {
  border-color: rgba(31, 122, 90, 0.18);
  background: rgba(47, 168, 120, 0.08);
}

.document-item.is-available > span {
  background: var(--green);
  color: #fff;
}

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

.kit-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.84);
  box-shadow: var(--shadow-soft);
}

.kit-grid h3 {
  margin-bottom: 10px;
}

.kit-grid p {
  margin-bottom: 0;
}

.offer-section {
  padding-top: 34px;
  padding-bottom: 34px;
}

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

.price-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
}

.price-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(18, 21, 26, 0.08);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.price-card strong {
  display: block;
  margin: 14px 0 10px;
  color: var(--ink);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.price-card p {
  margin-bottom: 0;
}

.price-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.price-actions .button {
  min-height: 44px;
  padding-inline: 16px;
  font-size: 0.88rem;
}

.price-card.featured {
  border-color: rgba(35, 103, 199, 0.18);
  background: linear-gradient(180deg, rgba(35, 103, 199, 0.08), rgba(255, 255, 255, 0.72));
  transform: translateY(-4px);
}

.faq-section {
  padding-top: 34px;
  padding-bottom: 34px;
}

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

.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-grid summary {
  min-height: 62px;
  padding: 18px 20px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  list-style-position: outside;
}

.faq-grid details p {
  margin: 0;
  padding: 0 20px 18px;
}

.consultor-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 34px;
  padding-bottom: 70px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at left top, rgba(194, 138, 44, 0.12), transparent 38%),
    rgba(255, 250, 242, 0.84);
  box-shadow: var(--shadow);
}

.consultor-section > div:first-child {
  max-width: 700px;
}

.consultor-section p:last-child {
  margin-bottom: 0;
}

.consultor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer {
  padding-top: 0;
  padding-bottom: 32px;
}

.footer p {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.article-topbar {
  position: sticky;
}

.article-page {
  padding: 96px clamp(18px, 4vw, 56px) 46px;
}

.article-content {
  max-width: 880px;
  margin-inline: auto;
}

.article-content h1 {
  margin-bottom: 18px;
}

.article-content h2 {
  margin-top: 34px;
  margin-bottom: 12px;
}

.article-content .lead {
  max-width: 72ch;
  font-size: 1.08rem;
  line-height: 1.72;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 34px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: var(--shadow-soft);
}

.article-cta h2 {
  margin-top: 0;
}

.article-cta p:last-child {
  margin-bottom: 0;
}

.article-links {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: var(--muted);
}

.article-links a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1120px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

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

  .mini-flow,
  .law-grid,
  .client-area-grid,
  .kit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consultor-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .consultor-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .topbar {
    position: sticky;
    top: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
  }

  .nav {
    right: 0;
  }

  .top-actions {
    order: 2;
  }

  .hero {
    padding-top: 28px;
  }

  .contact-grid,
  .question-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .panel-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.18rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 1.55rem;
  }

  .hero,
  .result-section,
  .law-section,
  .client-area-section,
  .kit-section,
  .offer-section,
  .faq-section,
  .consultor-section,
  .footer {
    padding-inline: 16px;
  }

  .hero {
    padding-top: 22px;
    padding-bottom: 34px;
  }

  .secure-area-page .client-area-section {
    padding-top: 136px;
    padding-inline: 18px;
  }

  .secure-area-page .client-area-section .section-copy {
    margin-bottom: 24px;
    padding-inline: 2px;
  }

  .article-page {
    padding-top: 28px;
  }

  .topbar {
    justify-content: stretch;
    gap: 8px;
    padding: 9px 12px;
  }

  .brand {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

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

  .brand strong {
    font-size: 0.9rem;
    white-space: normal;
    line-height: 1.08;
    text-align: left;
  }

  .brand small {
    font-size: 0.64rem;
    white-space: normal;
  }

  .language-button {
    min-height: 34px;
    padding-inline: 8px;
  }

  .whatsapp-link {
    min-height: 42px;
    font-size: 0.9rem;
  }

  .hero-content {
    gap: 20px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-copy .lead {
    font-size: 1rem;
    line-height: 1.62;
  }

  .deadline-strip {
    margin: 14px 0 20px;
  }

	  .diagnostic-panel,
	  .result-card,
	  .law-article,
	  .official-box,
	  .status-board,
	  .client-data-panel,
	  .documents-panel,
  .kit-grid article,
  .price-card,
  .faq-grid details,
  .mini-flow article,
  .consultor-section {
    border-radius: 20px;
  }

  .mini-flow,
  .law-grid,
  .client-area-grid,
  .kit-grid,
  .faq-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .documents-panel {
    grid-column: auto;
  }

  .hero-actions,
  .consultor-actions,
  .article-cta,
  .price-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .whatsapp-link {
    width: 100%;
  }

  .top-actions,
  .language-switcher {
    width: 100%;
  }

  .top-actions {
    align-items: stretch;
    flex-direction: row;
    gap: 8px;
  }

  .language-switcher {
    flex: 1 1 auto;
    justify-content: center;
  }

  .top-actions .whatsapp-link {
    flex: 1 1 42%;
    width: auto;
  }

  .menu-wrap {
    flex: 0 0 auto;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .deadline-strip {
    border-radius: 18px;
  }
}
