:root {
  --bg: #f5f0e6;
  --bg-soft: #fbf8f1;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-dark: #142023;
  --text: #172126;
  --text-soft: #596873;
  --text-muted: #7a858d;
  --text-inverse: #edf4f2;
  --line: rgba(23, 33, 38, 0.11);
  --line-strong: rgba(23, 33, 38, 0.2);
  --accent: #0b766e;
  --accent-deep: #07514c;
  --accent-soft: #d9efeb;
  --alert: #f1c96d;
  --shadow: 0 18px 44px rgba(23, 33, 38, 0.09);
  --shadow-strong: 0 28px 70px rgba(23, 33, 38, 0.13);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(11, 118, 110, 0.11), transparent 24rem),
    radial-gradient(circle at 92% 6%, rgba(241, 201, 109, 0.2), transparent 22rem),
    linear-gradient(180deg, #f8f4eb 0%, #f2ede4 100%);
  font-family: "Segoe UI", Tahoma, sans-serif;
  line-height: 1.55;
}

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

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
  padding-left: 1.15rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.7em;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h1 {
  max-width: 15ch;
  font-size: clamp(2.45rem, 3.9vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

h3 {
  font-size: 1.18rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(23, 33, 38, 0.08);
  background: rgba(248, 244, 235, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 76px;
  padding: 0.65rem 0;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  color: var(--text-inverse);
  box-shadow: 0 12px 26px rgba(11, 118, 110, 0.22);
  font: 800 0.86rem/1 "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 0.1rem;
}

.brand-copy strong {
  font: 800 1rem/1.15 "Segoe UI", Tahoma, sans-serif;
}

.brand-copy span {
  max-width: 31ch;
  color: var(--text-soft);
  font: 500 0.78rem/1.35 "Segoe UI", Tahoma, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  min-width: 0;
}

.site-nav a {
  padding: 0.58rem 0.72rem;
  border-radius: 999px;
  color: var(--text-soft);
  font: 700 0.86rem/1 "Segoe UI", Tahoma, sans-serif;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.84rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 800 0.94rem/1 "Segoe UI", Tahoma, sans-serif;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.site-nav .nav-cta,
.btn-primary {
  color: var(--text-inverse);
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  box-shadow: 0 13px 28px rgba(11, 118, 110, 0.21);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.62);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-1px);
}

.hero {
  padding: 2.35rem 0 1.25rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.88fr);
  gap: 1.25rem;
  align-items: stretch;
}

.hero-copy {
  min-width: 0;
  padding: 1rem 0 0.5rem;
}

.eyebrow,
.section-kicker,
.form-card-kicker {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0.85rem;
  padding: 0.42rem 0.75rem;
  border: 1px solid rgba(11, 118, 110, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent-deep);
  font: 800 0.7rem/1.15 "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 16ch;
  margin-bottom: 0.9rem;
}

.hero-lead {
  max-width: 56ch;
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.65;
}

.hero-text {
  max-width: 60ch;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.35rem 0 1rem;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0;
}

.hero-strip-item,
.metric-card,
.page-card,
.form-card,
.form-aside-card,
.hero-panel-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-strip-item {
  padding: 0.78rem 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.hero-strip-item span,
.metric-title,
.panel-label,
.footer-meta span,
.contact-card span {
  display: block;
  margin-bottom: 0.32rem;
  color: var(--text-muted);
  font: 800 0.68rem/1.2 "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-strip-item strong {
  display: block;
  font: 800 0.88rem/1.35 "Segoe UI", Tahoma, sans-serif;
}

.hero-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  max-width: 680px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(241, 201, 109, 0.52);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(241, 201, 109, 0.18), rgba(255, 255, 255, 0.48));
}

.hero-notice strong,
.hero-notice span {
  font-size: 0.91rem;
  line-height: 1.45;
}

.hero-notice span {
  color: var(--text-soft);
}

.hero-panel {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.hero-panel-main {
  padding: 1.1rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.8)),
    linear-gradient(145deg, rgba(11, 118, 110, 0.16), transparent);
}

.panel-flow {
  display: grid;
  gap: 0.58rem;
  margin-top: 0.8rem;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.panel-flow-inline {
  grid-template-columns: 1fr;
}

.panel-flow li {
  position: relative;
  min-height: 44px;
  padding: 0.72rem 0.8rem 0.72rem 2.25rem;
  border: 1px solid rgba(11, 118, 110, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  font: 700 0.9rem/1.25 "Segoe UI", Tahoma, sans-serif;
}

.panel-flow li::before {
  content: counter(flow);
  counter-increment: flow;
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font: 800 0.72rem/1 "Segoe UI", Tahoma, sans-serif;
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.metric-card {
  padding: 0.92rem 1rem;
  border-radius: 18px;
}

.metric-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.45;
}

.section {
  padding: 2.25rem 0 3.25rem;
}

.section-head {
  display: grid;
  gap: 0.25rem;
  max-width: 760px;
  margin-bottom: 1.05rem;
}

.section-head p:not(.section-kicker) {
  max-width: 66ch;
  color: var(--text-soft);
  line-height: 1.7;
}

.service-section {
  padding-top: 1.2rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.process-card,
.info-card,
.risk-shell,
.contact-strip,
.contact-card-large {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.process-card {
  min-height: 210px;
  padding: 1rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.64)),
    radial-gradient(circle at top right, rgba(11, 118, 110, 0.12), transparent 10rem);
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1.05rem;
  border-radius: 14px;
  color: var(--text-inverse);
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  font: 900 0.82rem/1 "Segoe UI", Tahoma, sans-serif;
}

.process-card h3 {
  margin-bottom: 0.45rem;
}

.process-card p,
.info-card li,
.risk-shell p,
.contact-strip p {
  color: var(--text-soft);
  line-height: 1.68;
}

.compact-section {
  padding-top: 1rem;
}

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

.info-card {
  padding: 1.25rem;
  border-radius: 24px;
}

.info-card-positive {
  background: linear-gradient(145deg, rgba(217, 239, 235, 0.88), rgba(255, 255, 255, 0.78));
}

.info-card-warning {
  border-color: rgba(241, 201, 109, 0.38);
  background: linear-gradient(145deg, rgba(241, 201, 109, 0.22), rgba(255, 255, 255, 0.76));
}

.clean-list {
  display: grid;
  gap: 0.62rem;
  padding-left: 1.05rem;
}

.risk-section {
  padding-top: 1rem;
}

.risk-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 1.15rem;
  align-items: start;
  padding: 1.35rem;
  border-radius: var(--radius-xl);
  color: var(--text-inverse);
  background:
    radial-gradient(circle at 95% 10%, rgba(11, 118, 110, 0.36), transparent 20rem),
    linear-gradient(145deg, var(--surface-dark), #0d171a);
  box-shadow: var(--shadow-strong);
}

.risk-shell h2 {
  color: var(--text-inverse);
}

.risk-shell .section-kicker {
  border-color: rgba(237, 244, 242, 0.16);
  background: rgba(237, 244, 242, 0.08);
  color: rgba(237, 244, 242, 0.84);
}

.risk-shell p {
  color: rgba(237, 244, 242, 0.72);
}

.risk-grid {
  display: grid;
  gap: 0.75rem;
}

.risk-grid article {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(237, 244, 242, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.risk-grid span,
.contact-card-large span {
  display: block;
  margin-bottom: 0.32rem;
  color: var(--text-muted);
  font: 800 0.68rem/1.2 "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.risk-grid span {
  color: rgba(237, 244, 242, 0.62);
}

.risk-grid p {
  margin: 0;
}

.form-section {
  background:
    radial-gradient(circle at 90% 10%, rgba(11, 118, 110, 0.11), transparent 24rem),
    rgba(255, 255, 255, 0.34);
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.form-copy {
  padding-top: 0.65rem;
}

.form-copy p,
.page-hero p,
.page-card p,
.page-card li {
  color: var(--text-soft);
  line-height: 1.72;
}

.form-aside-card {
  margin-top: 1.1rem;
  padding: 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.form-aside-card ul {
  display: grid;
  gap: 0.58rem;
}

.form-card {
  padding: 1.15rem;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 249, 242, 0.94)),
    var(--surface-strong);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.form-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.62fr);
  gap: 0.9rem;
  align-items: end;
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(23, 33, 38, 0.08);
}

.form-card-head h3 {
  margin-bottom: 0;
  font-size: 1.34rem;
}

.form-card-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.48;
}

#requestForm {
  display: grid;
  gap: 0.9rem;
}

.form-frame {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(23, 33, 38, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 238, 0.92)),
    #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.field {
  display: grid;
  min-width: 0;
  gap: 0.48rem;
}

.field-wide {
  grid-column: 1 / -1;
}

.field span {
  color: var(--text);
  font: 800 0.82rem/1.2 "Segoe UI", Tahoma, sans-serif;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(23, 33, 38, 0.14);
  border-radius: 15px;
  color: var(--text);
  background: linear-gradient(180deg, #fff, #fcfbf8);
  font: 500 0.98rem/1.35 "Segoe UI", Tahoma, sans-serif;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(11, 118, 110, 0.58);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11, 118, 110, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: rgba(89, 104, 115, 0.78);
}

.checkbox-stack {
  display: grid;
}

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
  padding: 0.88rem 0.95rem;
  border: 1px solid rgba(23, 33, 38, 0.08);
  border-radius: 16px;
  color: var(--text-soft);
  background: rgba(245, 240, 230, 0.68);
}

.checkline input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 0.15rem;
  padding: 0;
  flex: 0 0 auto;
}

.checkline span {
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkline a {
  color: var(--accent-deep);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.form-submit {
  width: 100%;
  min-height: 56px;
  margin-top: 0.1rem;
}

#result {
  margin-top: 0.95rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(23, 33, 38, 0.08);
  border-radius: 17px;
  background: rgba(245, 240, 230, 0.78);
  font: 500 0.95rem/1.58 "Segoe UI", Tahoma, sans-serif;
}

#result:empty {
  display: none;
}

.result-box-pending {
  border-color: rgba(241, 201, 109, 0.42) !important;
  background: rgba(241, 201, 109, 0.16) !important;
}

.result-box-success {
  border-color: rgba(11, 118, 110, 0.18) !important;
  background: rgba(217, 239, 235, 0.72) !important;
}

.result-box-error {
  border-color: rgba(176, 61, 61, 0.24) !important;
  background: rgba(255, 235, 232, 0.82) !important;
}

.page {
  padding: 2.25rem 0 3.5rem;
}

.page-hero {
  position: relative;
  padding: 2.3rem;
  border: 1px solid rgba(23, 33, 38, 0.08);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(11, 118, 110, 0.12), transparent 24rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(250, 247, 239, 0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(241, 201, 109, 0.18);
  pointer-events: none;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 16ch;
  margin-bottom: 0.85rem;
  font-size: clamp(2.25rem, 4vw, 3.85rem);
}

.page-hero p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 68ch;
  margin-bottom: 0;
  font-size: 1.02rem;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: 1rem;
}

.page-card {
  padding: 1.25rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
}

.page-card h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.25rem, 1.8vw, 1.62rem);
}

.page-card p,
.page-card li {
  font-size: 0.98rem;
}

.page-card p:last-child,
.page-card ul:last-child,
.page-card ol:last-child {
  margin-bottom: 0;
}

.page-card a {
  color: var(--accent-deep);
  font-weight: 800;
}

.page-card-accent {
  border-color: rgba(11, 118, 110, 0.18);
  background: linear-gradient(145deg, rgba(217, 239, 235, 0.9), rgba(255, 255, 255, 0.82));
}

.contact-card h2 {
  word-break: break-word;
}

.muted {
  color: var(--text-muted);
}

.page-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1.35rem;
  border-radius: 24px;
  color: var(--text-inverse);
  background:
    radial-gradient(circle at top right, rgba(11, 118, 110, 0.28), transparent 16rem),
    linear-gradient(145deg, var(--surface-dark), #0d171a);
  box-shadow: var(--shadow-strong);
}

.page-cta h2 {
  margin-bottom: 0.3rem;
  color: var(--text-inverse);
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
}

.page-cta p {
  max-width: 62ch;
  margin-bottom: 0;
  color: rgba(237, 244, 242, 0.72);
}

.contact-section {
  padding-top: 1rem;
}

.contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
}

.contact-card-large {
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
}

.contact-card-large strong {
  margin-bottom: 0.45rem;
  font: 900 1rem/1.35 "Segoe UI", Tahoma, sans-serif;
}

.contact-card-large a {
  color: var(--accent-deep);
}

.site-footer {
  padding: 2.35rem 0 2.8rem;
  color: var(--text-inverse);
  background:
    radial-gradient(circle at top right, rgba(11, 118, 110, 0.18), transparent 20rem),
    linear-gradient(180deg, #172025 0%, #10181b 100%);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
  gap: 1.4rem;
  align-items: start;
}

.footer-mark {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: rgba(237, 244, 242, 0.96);
  font: 800 1.02rem/1 "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand p {
  max-width: 38ch;
  color: rgba(237, 244, 242, 0.72);
  line-height: 1.68;
}

.footer-links {
  display: grid;
  gap: 0.62rem;
}

.footer-links a {
  width: fit-content;
  color: rgba(237, 244, 242, 0.86);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  border-color: rgba(237, 244, 242, 0.4);
}

.footer-meta {
  display: grid;
  gap: 0.42rem;
}

.footer-meta strong {
  margin-bottom: 0.45rem;
  color: rgba(237, 244, 242, 0.96);
  font: 800 0.94rem/1.4 "Segoe UI", Tahoma, sans-serif;
}

.footer-shell-legal {
  grid-template-columns: 1.15fr 0.72fr 1fr;
}

@media (max-width: 1120px) {
  .nav-shell {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    min-height: 0;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
  }
}

@media (max-width: 980px) {
  .hero-layout,
  .form-shell,
  .risk-shell,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1.7rem;
  }

  .hero-panel {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  }

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

  .footer-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .site-header {
    position: static;
  }

  .nav-shell {
    padding: 0.62rem 0;
  }

  .brand-copy span {
    white-space: normal;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    overflow: visible;
    width: 100%;
  }

  .site-nav a {
    padding: 0.58rem 0.42rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.46);
    font-size: 0.78rem;
  }

  .site-nav .nav-cta {
    grid-column: 1 / -1;
    min-height: 46px;
    margin: 0;
    font-size: 0.88rem;
  }

  h1 {
    max-width: 15ch;
    font-size: clamp(2.18rem, 9vw, 3.25rem);
  }

  .hero-copy {
    padding-top: 0.2rem;
  }

  .hero-actions,
  .hero-strip,
  .field-grid,
  .page-grid,
  .page-cta,
  .process-grid,
  .dual-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

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

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .form-card-head {
    grid-template-columns: 1fr;
  }

  .page {
    padding-top: 1.4rem;
  }

  .page-hero {
    padding: 1.55rem;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media (max-width: 560px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand-copy strong {
    font-size: 0.96rem;
  }

  .brand-copy span {
    font-size: 0.75rem;
  }

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

  .hero {
    padding: 1.1rem 0 0.9rem;
  }

  .hero-text {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .hero-panel {
    display: grid;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .hero-strip-item,
  .hero-notice,
  .hero-panel-main,
  .metric-card,
  .form-card,
  .form-aside-card,
  .form-frame,
  .checkline,
  #result,
  .page-hero,
  .page-card,
  .page-cta {
    border-radius: 18px;
  }

  .hero-panel-main,
  .form-card,
  .page-hero,
  .page-card,
  .page-cta {
    padding: 1rem;
  }

  .section {
    padding: 1.6rem 0 2.35rem;
  }

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

  .form-frame {
    padding: 0.85rem;
  }

  input,
  select,
  textarea {
    min-height: 50px;
  }

  textarea {
    min-height: 110px;
  }
}
