:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #172635;
  background: #fff;
  --navy: #102637;
  --teal: #00665f;
  --mint: #b1ebe1;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #2b8ec5;
  outline-offset: 3px;
}

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 3;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  transform: translateY(calc(-100% - 16px));
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  box-shadow: 0 1px 0 #1726351a;
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -.045em;
  text-decoration: none;
}
.brand span { color: var(--teal); }
.brand small { margin-left: 7px; font-size: .66rem; letter-spacing: .025em; }
nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
nav a, .header-phone a { text-decoration: none; }
nav a { display: block; padding-block: 12px; font-size: .89rem; font-weight: 650; }
nav a:hover, nav a[aria-current="page"] { color: var(--teal); }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .32em; }
.header-phone { white-space: nowrap; font-weight: 750; }
.header-phone a:hover, .hero-phones a:hover, .footer-phones a:hover { text-decoration: underline; }
.menu-button { display: none; }
#content { scroll-margin-top: 82px; }

.hero {
  color: #fff;
  background: linear-gradient(117deg, #102637 18%, #18374a 74%, #194451);
}
.hero-inner {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-items: center;
  gap: clamp(30px, 7vw, 105px);
  padding-block: 72px;
}
h1, h2, p { margin-top: 0; }
h1 {
  max-width: 16ch;
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  line-height: 1.07;
  letter-spacing: -.038em;
}
h1::first-letter { text-transform: uppercase; }
.consultation { margin-bottom: 22px; font-size: clamp(1.1rem, 2.1vw, 1.45rem); font-weight: 650; }
.hero-prompt { margin-bottom: 16px; color: #e2edf0; line-height: 1.55; }
.hero-phones { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hero-phones a, .footer-phones a {
  color: var(--mint);
  font-weight: 750;
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}

.order {
  background: #fff;
  color: #172635;
  border-radius: 16px;
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 16px 48px #09192645;
}
.order h2 { margin-bottom: 4px; font-size: 1.7rem; line-height: 1.2; }
.order-subtitle { margin-bottom: 22px; color: #4a5c69; }
.order form { display: grid; }
.order label { margin-bottom: 6px; font-size: .92rem; font-weight: 650; }
.order input {
  width: 100%;
  min-height: 46px;
  margin-bottom: 15px;
  padding: 9px 12px;
  border: 1px solid #8494a1;
  border-radius: 6px;
  color: inherit;
}
.order-button {
  min-height: 48px;
  padding: 10px 14px;
  color: #fff;
  background: var(--teal);
  border: 0;
  border-radius: 6px;
  font-weight: 750;
  cursor: pointer;
}
.order-button:hover { background: #00534d; }
.form-status { margin: 12px 0 0; color: #4a5c69; font-size: .83rem; line-height: 1.45; }

.description { padding-block: 54px 66px; }
.description-text { max-width: 75ch; font-size: 1.0625rem; line-height: 1.7; }
.description-text p { margin-bottom: 1rem; }
.description-text :last-child { margin-bottom: 0; }
.description-text ul { margin: 0 0 1.25rem; padding-inline-start: 1.4em; }
.description-text li::marker { color: var(--teal); }
.site-footer { background: var(--navy); }
.footer-phones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 36px;
  padding-block: 27px;
}

@media (max-width: 1050px) {
  .header-inner { flex-wrap: wrap; padding-block: 12px; min-height: 62px; gap: 12px; }
  .header-phone { margin-left: auto; }
  nav { order: 3; flex-basis: 100%; }
  nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  nav a { padding-block: 11px; }
  .menu-ready nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    max-height: 60vh;
    overflow: auto;
    padding: 10px 24px 16px;
    background: #fff;
    box-shadow: 0 12px 18px #10263721;
  }
  .menu-ready .menu-button[aria-expanded="true"] + nav { display: block; }
  .menu-ready .menu-button {
    display: block;
    order: 2;
    min-height: 40px;
    padding: 5px 12px;
    border: 1px solid #8494a1;
    border-radius: 6px;
    background: #fff;
    color: #172635;
    font-weight: 650;
    cursor: pointer;
  }
}

@media (max-width: 740px) {
  .container { width: calc(100% - 32px); }
  .menu-ready nav { padding-inline: 16px; }
  .header-phone { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-block: 40px; }
  h1 { margin-bottom: 18px; }
  .consultation { margin-bottom: 14px; }
  .hero-phones { column-gap: 18px; }
  .hero-phones a, .footer-phones a { font-size: 1.12rem; }
  .order { max-width: 430px; }
  .description { padding-block: 36px 44px; }
}
