:root {
  color-scheme: light;

  --blue: #004990;
  --blue-dark: #00386F;
  --blue-bright: #2D70B3;
  --navy: #003C8B;
  --navy-dark: #002E68;
  --ink: #202A36;
  --muted: #626D7A;
  --gray: #7A828D;
  --line: #D7DCE3;
  --line-dark: #BCC4CE;
  --surface: #F5F7F9;
  --surface-strong: #E9EEF3;
  --footer: #ABB4C1;
  --white: #FFFFFF;

  --radius-4: 4px;
  --radius-5: 5px;
  --radius-6: 6px;
  --radius-8: 8px;

  --header-height: 72px;

  --container:
    min(1180px, calc(100% - 36px));

  --shadow-small:
    0 4px 14px rgba(1, 26, 66, 0.07);

  --shadow:
    0 14px 34px rgba(1, 26, 66, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top:
    calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  font-size: 16px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size:
    clamp(2.55rem, 5.6vw, 5rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 15px;
  font-size:
    clamp(1.95rem, 4vw, 3.25rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 12px;
  font-size:
    clamp(1.08rem, 2vw, 1.34rem);
  letter-spacing: -0.015em;
}

p {
  margin-bottom: 16px;
  color: var(--muted);
}

main {
  min-height: 60vh;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.visually-hidden,
.route-status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 4000;
  top: 8px;
  left: 8px;
  padding: 9px 13px;
  border-radius: var(--radius-4);
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid
    rgba(45, 112, 179, 0.32);
  outline-offset: 3px;
}

.eyebrow {
  margin-bottom: 11px;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-5);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

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

.btn-primary {
  border-color: var(--navy);
  border-bottom-color: var(--navy-dark);
  border-bottom-width: 2px;
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-dark);
}

.btn-outline {
  border-color: #BFC7D2;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--white);
}

.btn-small {
  min-height: 38px;
  padding: 9px 14px;
  font-size: 0.88rem;
}

/* Header */

.site-header {
  position: sticky;
  z-index: 2000;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  width:
    min(1390px, calc(100% - 28px));
  height: 100%;
  margin-inline: auto;
  align-items: center;
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 222px;
  height: auto;
}

.site-nav {
  margin-left: auto;
}

.mobile-nav-scroll {
  display: contents;
}

.nav-list {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: stretch;
  list-style: none;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
  border-right: 1px solid var(--line-dark);
}

.nav-item:last-child {
  border-right: 0;
}

.nav-row {
  display: flex;
  align-items: stretch;
}

.nav-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 11px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover,
.nav-item.is-current > .nav-row > .nav-link {
  color: var(--navy);
}

.submenu-toggle {
  display: none;
}

.submenu {
  position: absolute;
  z-index: 50;
  top: calc(100% - 1px);
  left: 0;
  width: 280px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-top: 5px solid var(--navy);
  border-radius:
    0 0 var(--radius-5) var(--radius-5);
  background: var(--white);
  box-shadow: var(--shadow);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(7px);
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.submenu li {
  border-bottom:
    1px solid #E0E6EF;
}

.submenu li:last-child {
  border-bottom: 0;
}

.submenu a {
  display: block;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1.3;
  text-decoration: none;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: var(--navy);
  color: var(--white);
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.desktop-actions {
  display: flex;
  margin-left: 18px;
  align-items: center;
  gap: 14px;
}

.header-text-link {
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 700;
}

.menu-toggle,
.mobile-nav-footer {
  display: none;
}

/* Breadcrumb */

.breadcrumbs {
  width: var(--container);
  margin: 14px auto 0;
  padding: 8px 14px;
  border-radius: var(--radius-5);
  background: var(--surface);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 8px;
  color: var(--gray);
  font-size: 0.78rem;
  list-style: none;
}

.breadcrumbs a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: var(--navy);
  content: "›";
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  width:
    min(1420px, calc(100% - 20px));
  min-height:
    min(
      610px,
      calc(100vh - var(--header-height) - 18px)
    );
  margin: 10px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-6);
  background: var(--surface);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: var(--container);
  min-height: inherit;
  margin-inline: auto;
  padding: 62px 0;
  align-items: center;
  grid-template-columns:
    minmax(0, 1.28fr)
    minmax(280px, 0.72fr);
  gap: 58px;
}

.hero-copy {
  max-width: 820px;
}

.hero-copy::before {
  display: block;
  width: 112px;
  height: 3px;
  margin-bottom: 23px;
  background: var(--navy);
  content: "";
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 25px;
  font-size:
    clamp(1.03rem, 1.8vw, 1.2rem);
}

.hero-actions,
.hero-contact,
.section-actions,
.cta-actions,
.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.hero-contact {
  margin-top: 15px;
  align-items: center;
}

.messenger-links {
  display: flex;
  gap: 7px;
}

.messenger-link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #BFC7D2;
  border-radius: var(--radius-5);
  background: rgba(255, 255, 255, 0.92);
}

.messenger-link:hover {
  border-color: var(--navy);
}

.messenger-link svg {
  width: 20px;
  height: 20px;
}

.hero-summary {
  padding: 26px;
  border-top: 12px solid var(--navy);
  border-radius: var(--radius-5);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.summary-label {
  margin-bottom: 9px;
  color: var(--gray);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-price {
  margin-bottom: 22px;
  color: var(--navy);
  font-size:
    clamp(1.45rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.16;
}

.hero-summary dl {
  margin: 0 0 20px;
}

.hero-summary dl div {
  display: grid;
  padding: 10px 0;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.hero-summary dt {
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-summary dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.summary-link {
  color: var(--navy);
  font-weight: 700;
}

.hero-wave-background {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.hero-wave-svg {
  width: 100%;
  height: 100%;
}

.hero-wave-svg path {
  vector-effect: non-scaling-stroke;
}

.hero-wave-svg [data-wave-depth] {
  transform-box: fill-box;
  transform-origin: center;
  transition:
    transform 210ms ease-out;
}

/* Sections */

.section {
  padding: 72px 0;
}

.section-gray {
  background: var(--surface);
}

.section-heading {
  position: relative;
  max-width: 800px;
  margin-bottom: 31px;
  padding-bottom: 18px;
}

.section-heading::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 112px;
  height: 2px;
  background: var(--navy);
  content: "";
}

.section-intro,
.large-copy {
  font-size:
    clamp(1.04rem, 1.8vw, 1.2rem);
}

.split-layout {
  display: grid;
  align-items: start;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(290px, 0.8fr);
  gap: 38px;
}

.side-panel,
.price-panel,
.contact-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 12px solid var(--navy);
  border-radius: var(--radius-5);
  background: var(--white);
  box-shadow: var(--shadow-small);
}

.price-panel,
.contact-panel {
  position: sticky;
  top:
    calc(var(--header-height) + 18px);
}

.large-price {
  margin-bottom: 6px;
  color: var(--navy);
  font-size:
    clamp(2.8rem, 5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.price-panel .btn {
  width: 100%;
  margin: 17px 0 13px;
}

.panel-link {
  color: var(--navy);
  font-weight: 700;
}

/* Cards */

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

.service-card,
.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-5);
  background: var(--white);
}

.service-card {
  display: flex;
  min-height: 265px;
  padding: 23px;
  flex-direction: column;
  border-top: 6px solid var(--navy);
  transition:
    background-color 150ms ease,
    box-shadow 150ms ease;
}

.service-card:hover {
  background: #FBFCFE;
  box-shadow: var(--shadow-small);
}

.card-number {
  display: inline-grid;
  width: 40px;
  height: 34px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: var(--radius-4);
  background: var(--surface-strong);
  color: var(--navy);
  font-size: 0.77rem;
  font-weight: 800;
}

.card-price {
  color: var(--navy);
  font-weight: 800;
}

.card-link {
  margin-top: auto;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.feature-card {
  min-height: 165px;
  padding: 23px;
  border-left: 4px solid var(--navy);
}

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

.check-grid article {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius-5);
  background: var(--white);
}

.check-grid article > span {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 19px;
  place-items: center;
  border-radius: var(--radius-4);
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
}

.check-grid h3 {
  margin-bottom: 0;
}

/* Steps */

.steps-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 15px;
  list-style: none;
}

.steps-grid li {
  min-height: 225px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius-5);
  background: var(--white);
}

.steps-grid li > span {
  display: inline-block;
  margin-bottom: 27px;
  padding-bottom: 5px;
  border-bottom: 3px solid var(--navy);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

/* Notice */

.notice-panel {
  display: grid;
  padding: 28px;
  align-items: center;
  grid-template-columns:
    minmax(260px, 0.78fr)
    minmax(0, 1.22fr);
  gap: 36px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--navy);
  border-radius: var(--radius-5);
  background: var(--white);
}

.notice-panel h2,
.notice-panel p {
  margin-bottom: 0;
}

/* Tables */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-5);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 15px 17px;
  border-bottom: 1px solid #E0E2E7;
  vertical-align: middle;
}

.data-table th {
  background: var(--surface);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: #FAFBFC;
}

.table-link {
  color: var(--navy);
  font-weight: 700;
}

.section-actions {
  margin-top: 22px;
}

/* Toolbar */

.toolbar {
  display: flex;
  margin-bottom: 17px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.compact-field {
  width: min(340px, 100%);
}

/* CTA */

.cta-section {
  padding-top: 30px;
}

.cta-panel {
  display: grid;
  padding: 29px;
  align-items: center;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  gap: 28px;
  border: 1px solid var(--line);
  border-top: 12px solid var(--navy);
  border-radius: var(--radius-5);
  background: var(--surface);
}

/* Forms */

.form-layout {
  display: grid;
  align-items: start;
  grid-template-columns:
    minmax(280px, 0.7fr)
    minmax(0, 1.3fr);
  gap: 28px;
}

.contact-details {
  display: grid;
  margin: 26px 0 0;
  gap: 13px;
}

.contact-details div {
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.contact-details dt {
  color: var(--gray);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.form-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-top: 8px solid var(--navy);
  border-radius: var(--radius-5);
  background: var(--white);
  box-shadow: var(--shadow-small);
  scroll-margin-top:
    calc(var(--header-height) + 18px);
}

.form-card-wide {
  width: min(1060px, 100%);
  margin-inline: auto;
}

.form-heading {
  margin-bottom: 23px;
}

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

.form-grid-three {
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
}

.field {
  display: grid;
  align-content: start;
  gap: 7px;
}

.field > span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 45px;
  padding: 11px 12px;
  border: 1px solid #BEC0C4;
  border-radius: var(--radius-4);
  background: var(--white);
  color: var(--ink);
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--navy);
  outline: 0;
  box-shadow:
    0 0 0 3px
    rgba(0, 60, 139, 0.11);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--navy);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

button[disabled] {
  cursor: wait;
  opacity: 0.7;
}

/* Footer */

.site-footer {
  margin-top: 64px;
  border-top: 5px solid var(--navy);
  background: var(--footer);
}

.footer-main {
  display: grid;
  width:
    min(1390px, calc(100% - 36px));
  margin-inline: auto;
  padding: 46px 0 32px;
  grid-template-columns:
    1.4fr
    repeat(5, minmax(135px, 1fr));
  gap: 22px;
}

.footer-brand p {
  max-width: 310px;
  margin: 17px 0;
  color: var(--white);
  font-size: 0.88rem;
}

.footer-brand > a {
  color: var(--navy);
  font-weight: 700;
}

.footer-group h2 {
  margin-bottom: 13px;
  color: var(--navy);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-group ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 7px;
  list-style: none;
}

.footer-group a {
  color: #FFFFFF;
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-group a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  width:
    min(1390px, calc(100% - 36px));
  margin-inline: auto;
  padding: 17px 0;
  justify-content: space-between;
  gap: 20px;
  border-top:
    1px solid rgba(255, 255, 255, 0.4);
}

.footer-bottom p {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: 0.75rem;
}

/* Toast */

.toast {
  position: fixed;
  z-index: 4000;
  right: 18px;
  bottom: 18px;
  max-width:
    min(380px, calc(100% - 36px));
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--navy);
  border-radius: var(--radius-5);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 170ms ease,
    transform 170ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.is-navigating main {
  opacity: 0.5;
}

/* Responsive */

@media (max-width: 1320px) {
  .desktop-actions {
    display: none;
  }

  .nav-link {
    padding-inline: 8px;
    font-size: 0.74rem;
  }
}

/* Mobile menu */

@media (max-width: 1120px) {
  :root {
    --header-height: 64px;
  }

  .header-inner {
    justify-content: space-between;
  }

  .brand img {
    width: 196px;
  }

  .desktop-actions {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 2200;
    display: inline-flex;
    min-width: 94px;
    min-height: 42px;
    margin-left: auto;
    padding: 8px 10px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-5);
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
    font-weight: 700;
  }

  .menu-lines {
    position: relative;
    display: block;
    width: 21px;
    height: 16px;
  }

  .menu-lines span {
    position: absolute;
    left: 0;
    width: 21px;
    height: 2px;
    background: var(--navy);
    transition:
      top 170ms ease,
      transform 170ms ease,
      opacity 170ms ease;
  }

  .menu-lines span:nth-child(1) {
    top: 0;
  }

  .menu-lines span:nth-child(2) {
    top: 7px;
  }

  .menu-lines span:nth-child(3) {
    top: 14px;
  }

  .menu-toggle[aria-expanded="true"]
  .menu-lines span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"]
  .menu-lines span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"]
  .menu-lines span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 2100;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;

    display: grid;
    width: 100%;

    height:
      calc(100vh - var(--header-height));

    height:
      calc(100svh - var(--header-height));

    height:
      calc(100dvh - var(--header-height));

    margin: 0;

    grid-template-rows:
      minmax(0, 1fr)
      auto;

    overflow: hidden;
    background: var(--white);
    box-shadow:
      0 12px 24px rgba(0, 0, 0, 0.14);

    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);

    transition:
      transform 220ms ease,
      opacity 180ms ease,
      visibility 0s linear 220ms;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);

    transition:
      transform 220ms ease,
      opacity 180ms ease;
  }

  .mobile-nav-scroll {
    display: block;
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;

    padding:
      12px
      16px
      28px;

    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .nav-list {
    display: block;
    width: min(720px, 100%);
    margin-inline: auto;
  }

  .nav-item {
    display: block;
    width: 100%;
    border-right: 0;
    border-bottom:
      1px solid #E0E6EF;
  }

  .nav-row {
    display: grid;
    min-width: 0;

    grid-template-columns:
      minmax(0, 1fr)
      52px;
  }

  .nav-item:not(.has-submenu) .nav-row {
    grid-template-columns: 1fr;
  }

  .nav-link {
    display: flex;
    min-width: 0;
    min-height: 54px;
    padding: 14px 9px;
    align-items: center;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.3;
    white-space: normal;
  }

  .nav-item.is-current > .nav-row {
    box-shadow:
      inset 4px 0 var(--navy);
  }

  .submenu-toggle {
    display: grid;
    width: 52px;
    min-height: 54px;
    padding: 0;
    place-items: center;
    border: 0;
    border-left:
      1px solid #E0E6EF;
    background: transparent;
    color: var(--navy);
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 700;
  }

  .submenu {
    position: static;
    display: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-top:
      1px solid #E0E6EF;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .has-submenu:hover > .submenu,
  .has-submenu:focus-within > .submenu {
    opacity: 1;
    transform: none;
  }

  .has-submenu.submenu-open > .submenu {
    display: block;
  }

  .submenu li {
    border-bottom:
      1px solid #E8ECF1;
    box-shadow:
      inset 4px 0 #D0D4D9;
  }

  .submenu li:last-child {
    border-bottom: 0;
  }

  .submenu a {
    display: flex;
    min-height: 46px;
    padding:
      12px 12px 12px 30px;
    align-items: center;
    color: var(--gray);
    font-size: 0.92rem;
  }

  .submenu a:hover,
  .submenu a:focus-visible {
    background: var(--navy);
    color: var(--white);
  }

  .mobile-nav-footer {
    display: flex;
    padding:
      14px
      16px
      max(
        16px,
        env(safe-area-inset-bottom)
      );

    justify-content: center;
    gap: 10px;
    border-top: 1px solid var(--line);
    background: var(--surface);
    box-shadow:
      0 -8px 20px rgba(1, 26, 66, 0.07);
  }

  .mobile-nav-footer .btn {
    width: min(260px, 50%);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-summary {
    width: min(620px, 100%);
  }

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

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

  .footer-main {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --container:
      min(100% - 28px, 1180px);
  }

  .hero {
    width: calc(100% - 14px);
  }

  .hero-inner {
    padding: 43px 0;
  }

  .split-layout,
  .notice-panel,
  .form-layout,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .price-panel,
  .contact-panel {
    position: static;
  }

  .feature-grid,
  .form-grid,
  .form-grid-three {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 580px) {
  .brand img {
    width: 174px;
  }

  .menu-toggle {
    min-width: 44px;
    width: 44px;
    padding-inline: 10px;
  }

  .menu-toggle-label {
    display: none;
  }

  .mobile-nav-scroll {
    padding-inline: 10px;
  }

  .mobile-nav-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .mobile-nav-footer .btn {
    width: 100%;
  }

  .hero {
    min-height: 560px;
  }

  .hero-inner {
    padding: 35px 0;
  }

  .hero-actions,
  .hero-contact,
  .section-actions,
  .cta-actions,
  .toolbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .messenger-links {
    justify-content: flex-start;
  }

  .hero-actions .btn,
  .hero-contact .btn,
  .section-actions .btn,
  .cta-actions .btn,
  .toolbar-actions .btn {
    width: 100%;
  }

  .card-grid,
  .check-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .breadcrumbs,
  .hero-actions,
  .hero-contact,
  .hero-summary,
  .cta-section,
  .toast {
    display: none !important;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    display: block;
    min-height: auto;
    padding: 24px 0;
  }
}
