:root {
  --ink: #202324;
  --muted: #656868;
  --line: #d9dcda;
  --paper: #ffffff;
  --soft: #f4f5f2;
  --burgundy: #742638;
  --burgundy-dark: #511926;
  --sage: #3f6259;
  --gold: #b79552;
  --footer: #1e2423;
  --shadow: 0 14px 34px rgba(32, 35, 36, 0.12);
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--burgundy);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(32, 35, 36, 0.12);
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: var(--paper);
  box-shadow: 0 7px 22px rgba(32, 35, 36, 0.11);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 5px;
  height: 42px;
  border-radius: 2px;
  background: var(--burgundy);
  box-shadow: 8px 0 0 var(--gold);
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.site-nav a {
  position: relative;
  color: #3c3f3f;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--burgundy);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--ink);
  text-decoration: none;
}

.header-phone span {
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.header-phone strong {
  font-size: 16px;
  line-height: 1.25;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(700px, calc(100svh - var(--header-height) - 70px));
  overflow: hidden;
  background: #343838;
  color: var(--paper);
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: center 58%;
}

.hero-shade {
  z-index: -2;
  background: rgba(20, 24, 23, 0.66);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 72px 58px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f1dcae;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--burgundy);
}

.eyebrow.light {
  color: #f1dcae;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 64px;
}

h2 {
  font-size: 42px;
}

h3 {
  letter-spacing: 0;
}

.hero-lead {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
  background: var(--burgundy);
  color: var(--paper);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--burgundy-dark);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.09);
  color: var(--paper);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--paper);
  color: var(--ink);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 17px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.hero-points li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.image-note {
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.urgent-band {
  background: var(--sage);
  color: var(--paper);
}

.urgent-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.7fr;
  gap: 52px;
  padding-block: 45px;
}

.urgent-heading h2 {
  font-size: 32px;
}

.urgent-heading p:last-child {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.step-list li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #f1dcae;
  font-weight: 800;
}

.step-list strong {
  font-size: 16px;
}

.step-list p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.section {
  padding-block: 92px;
}

.section-heading > p:last-child,
.split-heading > p {
  color: var(--muted);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 42px;
}

.split-heading > p {
  margin: 0;
}

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

.service-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  min-height: 166px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.service-card img {
  width: 116px;
  height: 100%;
  object-fit: cover;
}

.service-card > div {
  padding: 22px 18px;
}

.service-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.25;
}

.service-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.catalog-section {
  background: var(--soft);
}

.catalog-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding: 0 0 7px;
  scrollbar-width: thin;
}

.catalog-tabs button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #c9cecb;
  border-radius: 6px;
  background: var(--paper);
  color: #363a39;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.catalog-tabs button[aria-selected="true"] {
  border-color: var(--burgundy);
  background: var(--burgundy);
  color: var(--paper);
}

.catalog-tabs button:focus-visible,
.carousel-controls button:focus-visible,
.menu-toggle:focus-visible,
.callback-form button:focus-visible,
.callback-form input:focus-visible,
a:focus-visible {
  outline: 3px solid #d8ae5d;
  outline-offset: 3px;
}

.catalog-pane[hidden] {
  display: none;
}

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

.catalog-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.carousel-controls {
  display: flex;
  gap: 7px;
}

.carousel-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #c8ccca;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
}

.carousel-controls button:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.product-track {
  display: grid;
  grid-auto-columns: minmax(235px, 268px);
  grid-auto-flow: column;
  gap: 15px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 15px;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-color: #aeb5b1 transparent;
  scrollbar-width: thin;
}

.product-card {
  display: grid;
  grid-template-rows: 224px 1fr;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  scroll-snap-align: start;
}

.product-card img {
  width: 100%;
  height: 224px;
  padding: 12px;
  background: #f9faf8;
  object-fit: contain;
}

.product-card > div {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.product-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.28;
}

.product-card .variant {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-card .price {
  margin: auto 0 0;
  padding-top: 16px;
  color: var(--burgundy);
  font-size: 20px;
  font-weight: 900;
}

.catalog-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.process-section {
  background: var(--paper);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 84px;
  align-items: start;
}

.process-copy {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.process-copy p:not(.eyebrow) {
  margin: 23px 0 0;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--burgundy);
  font-weight: 800;
  text-underline-offset: 4px;
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.process-list li > span {
  color: var(--burgundy);
  font-size: 15px;
  font-weight: 900;
}

.process-list h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.process-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.decision-section {
  padding-top: 0;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.decision-block {
  min-height: 410px;
  padding: 48px;
  background: var(--soft);
}

.decision-block h2 {
  font-size: 34px;
}

.accent-block {
  background: var(--sage);
  color: var(--paper);
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 27px;
}

.check-list li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--burgundy);
  border-radius: 50%;
  content: "";
}

.light-list li::before {
  border-color: #e4c985;
}

.callback-section {
  padding-block: 68px;
  background: var(--burgundy);
  color: var(--paper);
}

.callback-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
  gap: 70px;
  align-items: center;
}

.callback-layout h2 {
  font-size: 38px;
}

.callback-layout > div > p:last-child {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.callback-form {
  width: 100%;
}

.form-row > label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
}

.input-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.callback-form input[type="tel"] {
  width: 100%;
  min-height: 56px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px 0 0 6px;
  background: var(--paper);
  color: var(--ink);
}

.callback-form button[type="submit"] {
  min-height: 56px;
  padding: 12px 21px;
  border: 1px solid var(--gold);
  border-radius: 0 6px 6px 0;
  background: var(--gold);
  color: #1d211f;
  cursor: pointer;
  font-weight: 900;
}

.callback-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.72;
}

.consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 12px;
  line-height: 1.4;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--gold);
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: #fff1c8;
  font-size: 13px;
  font-weight: 700;
}

.honeypot,
.metrics-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.contacts-section {
  padding-bottom: 70px;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 78px;
}

.contacts-layout .section-heading > p:last-child {
  margin: 22px 0 0;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-style: normal;
}

.contact-list a,
.contact-list > div {
  display: flex;
  min-height: 126px;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-list span {
  color: var(--muted);
  font-size: 13px;
}

.contact-list strong {
  margin-top: 7px;
  color: var(--ink);
  font-size: 17px;
  overflow-wrap: anywhere;
}

.contact-list a:hover strong,
.contact-list a:focus-visible strong {
  color: var(--burgundy);
}

.local-copy {
  padding-top: 72px;
  background: var(--soft);
}

.prose-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 80px;
}

.prose-layout h2 {
  font-size: 37px;
}

.prose-columns {
  columns: 2 300px;
  column-gap: 34px;
}

.prose-columns p {
  margin: 0 0 21px;
  break-inside: avoid;
  color: #545857;
}

.site-footer {
  padding-block: 48px;
  background: var(--footer);
  color: var(--paper);
}

.footer-layout {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.footer-brand span {
  margin-top: 4px;
  color: #c6ccca;
  font-size: 14px;
}

.footer-contacts {
  display: grid;
  gap: 5px;
}

.footer-contacts a {
  color: var(--paper);
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.site-footer p {
  margin: 0;
  color: #b7bfbc;
  font-size: 12px;
}

.footer-privacy {
  display: flex;
  grid-column: 2 / -1;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}

.footer-privacy a,
.footer-privacy button {
  color: #dce1df;
  font-size: 13px;
}

.footer-privacy a {
  text-underline-offset: 3px;
}

.footer-privacy button {
  padding: 0;
  border: 0;
  border-bottom: 1px dashed rgba(220, 225, 223, 0.65);
  background: transparent;
  cursor: pointer;
}

.footer-privacy a:hover,
.footer-privacy a:focus-visible,
.footer-privacy button:hover,
.footer-privacy button:focus-visible {
  color: var(--paper);
}

.analytics-consent-open {
  padding-bottom: 176px;
}

.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 -12px 34px rgba(32, 35, 36, 0.16);
  color: var(--ink);
}

.analytics-consent__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 176px;
  margin-inline: auto;
  padding-block: 24px;
}

.analytics-consent__copy strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.analytics-consent__copy p {
  max-width: 760px;
  margin: 7px 0 0;
  color: #545857;
  font-size: 14px;
  line-height: 1.5;
}

.analytics-consent__copy a {
  color: var(--burgundy);
  font-weight: 700;
  text-underline-offset: 3px;
}

.analytics-consent__choice {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 13px;
  font-size: 14px;
  font-weight: 700;
}

.analytics-consent__choice[hidden] {
  display: none;
}

.analytics-consent__choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--burgundy);
}

.analytics-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(118px, 1fr));
  gap: 9px;
  min-width: 260px;
}

.analytics-consent__button {
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid #b8bebc;
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.analytics-consent__button--primary {
  border-color: var(--burgundy);
  background: var(--burgundy);
  color: var(--paper);
}

.analytics-consent__button:hover,
.analytics-consent__button:focus-visible {
  border-color: var(--burgundy);
}

.analytics-consent__button--primary:hover,
.analytics-consent__button--primary:focus-visible {
  background: var(--burgundy-dark);
}

.analytics-consent__link {
  grid-column: 1 / -1;
  justify-self: center;
  padding: 2px 8px;
  border: 0;
  background: transparent;
  color: var(--burgundy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-header-inner {
  grid-template-columns: auto 1fr auto;
}

.privacy-back {
  justify-self: center;
  color: var(--burgundy);
  font-size: 14px;
  font-weight: 800;
  text-underline-offset: 4px;
}

.privacy-intro {
  padding-block: 78px 68px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.privacy-intro__inner {
  max-width: 900px;
}

.privacy-intro h1 {
  max-width: 800px;
  margin-top: 12px;
  color: var(--ink);
  font-size: 56px;
}

.privacy-intro p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: #545857;
  font-size: 18px;
}

.privacy-intro .privacy-date {
  font-size: 13px;
  font-weight: 700;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 78px;
  justify-content: center;
}

.privacy-nav {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  display: grid;
  align-content: start;
  gap: 12px;
  height: max-content;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}

.privacy-nav a {
  color: #4b4f4e;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.privacy-nav a:hover,
.privacy-nav a:focus-visible {
  color: var(--burgundy);
}

.privacy-prose section + section {
  margin-top: 52px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.privacy-prose h2 {
  font-size: 34px;
}

.privacy-prose p {
  color: #515554;
}

.privacy-prose a {
  color: var(--burgundy);
  font-weight: 700;
}

.privacy-settings-button {
  min-height: 48px;
  margin-top: 8px;
  padding: 10px 18px;
  border: 1px solid var(--burgundy);
  border-radius: 5px;
  background: var(--paper);
  color: var(--burgundy);
  cursor: pointer;
  font-weight: 800;
}

.privacy-settings-button:hover,
.privacy-settings-button:focus-visible {
  background: var(--burgundy);
  color: var(--paper);
}

@media (max-width: 1080px) {
  .header-inner {
    gap: 18px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .header-phone strong {
    font-size: 14px;
  }

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

  .urgent-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(100% - 32px, 720px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    content: "";
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .menu-icon {
    position: relative;
  }

  .menu-icon::before,
  .menu-icon::after {
    position: absolute;
    left: 0;
  }

  .menu-icon::before {
    top: -6px;
  }

  .menu-icon::after {
    top: 6px;
  }

  .menu-toggle[aria-expanded="true"] .menu-icon {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 44px;
    padding: 11px 8px;
    border-bottom: 1px solid #eceeec;
    font-size: 15px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: min(700px, calc(100svh - var(--header-height) - 30px));
  }

  h1 {
    font-size: 49px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .split-heading,
  .process-layout,
  .contacts-layout,
  .prose-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split-heading {
    margin-bottom: 34px;
  }

  .process-copy {
    position: static;
  }

  .decision-block {
    padding: 38px;
  }

  .callback-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .site-footer p {
    grid-column: 1 / -1;
  }

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

  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand-mark {
    height: 36px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background: rgba(20, 24, 23, 0.72);
  }

  .hero-content {
    padding-block: 48px 38px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 17px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    margin-top: 26px;
  }

  .button {
    width: 100%;
  }

  .hero-points {
    display: grid;
    gap: 9px;
    margin-top: 25px;
  }

  .image-note {
    margin-top: 18px;
  }

  .urgent-layout {
    padding-block: 38px;
  }

  .step-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 68px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 150px;
  }

  .service-card img {
    width: 104px;
  }

  .service-card > div {
    padding: 20px 16px;
  }

  .catalog-tabs {
    margin-right: -16px;
    padding-right: 16px;
  }

  .product-track {
    grid-auto-columns: minmax(232px, 82vw);
  }

  .product-card {
    grid-template-rows: 214px 1fr;
  }

  .product-card img {
    height: 214px;
  }

  .process-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
  }

  .decision-grid {
    grid-template-columns: 1fr;
  }

  .decision-block {
    min-height: auto;
    padding: 32px 24px;
  }

  .decision-block h2 {
    font-size: 30px;
  }

  .callback-section {
    padding-block: 54px;
  }

  .callback-layout h2 {
    font-size: 32px;
  }

  .input-action {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .callback-form input[type="tel"],
  .callback-form button[type="submit"] {
    border-radius: 6px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .contact-list a,
  .contact-list > div {
    min-height: 104px;
  }

  .prose-layout h2 {
    font-size: 32px;
  }

  .prose-columns {
    columns: auto;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer p {
    grid-column: auto;
  }

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

  .analytics-consent-open {
    padding-bottom: 350px;
  }

  .analytics-consent__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(100% - 32px, 720px);
    min-height: 302px;
    padding-block: 20px;
  }

  .analytics-consent__copy strong {
    font-size: 20px;
  }

  .analytics-consent__actions {
    min-width: 0;
  }

  .privacy-header-inner {
    grid-template-columns: 1fr auto;
  }

  .privacy-back {
    display: none;
  }

  .privacy-header-inner .header-phone {
    display: flex;
  }

  .privacy-intro {
    padding-block: 58px 52px;
  }

  .privacy-intro h1 {
    font-size: 40px;
  }

  .privacy-nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
