@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("../fonts/manrope-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("../fonts/manrope-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("../fonts/manrope-600-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("../fonts/manrope-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("../fonts/cormorant-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("../fonts/cormorant-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #2a8694;
  --brand-dark: #246078;
  --brand-mid: #4aa3b0;
  --brand-soft: #d4eef2;
  --wave: #b4d4dc;
  --paper: #eef7f9;
  --white: #fff;
  --ink: #1e4752;
  --muted: #4a7380;
  --line: #b4ccd8;
  --shadow: 0 12px 32px rgba(36, 96, 120, 0.1);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --container: 1120px;
  --header-h: 64px;
  --radius: 4px;
  --gutter-fab: 64px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section {
  padding: 64px 0;
}

@media (max-width: 719px) {
  .section--brand {
    padding-bottom: calc(72px + var(--gutter-fab));
  }
}

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

.section--white {
  background: var(--white);
}

.section--brand {
  background:
    radial-gradient(80% 90% at 100% 0%, #3d9aa8 0%, transparent 50%),
    linear-gradient(165deg, #246078 0%, #2a8694 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.section--brand .eyebrow {
  color: #c5e8ee;
}

.section--brand .lead,
.lead--on-brand {
  color: #e8f6f8;
}

.contacts__title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.doc h2 {
  margin: 32px 0 12px;
  font-size: 26px;
}

.doc p,
.doc li {
  max-width: 42em;
  color: var(--ink);
}

.doc ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

h1,
h2,
.display {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 7vw, 52px);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 40px);
}

.lead {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 42em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

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

.btn--ghost {
  background: transparent;
  color: var(--brand-dark);
  border: 1px solid var(--brand);
}

.btn--ghost:hover {
  background: var(--brand-soft);
}

.btn--light {
  background: var(--white);
  color: var(--brand-dark);
}

.btn--light:hover {
  background: var(--brand-soft);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.logo__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo__name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
}

.logo__sub {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.header__phone {
  display: none;
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.burger {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger span::before {
  top: -7px;
}

.burger span::after {
  top: 7px;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: rgba(26, 47, 56, 0.45);
  z-index: 30;
}

.nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  width: min(100%, 320px);
  background: var(--white);
  z-index: 35;
  padding: 24px 20px 96px;
  overflow: auto;
}

body.is-menu-open .nav,
body.is-menu-open .nav-backdrop {
  display: block;
}

.nav a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--brand-soft);
  font-weight: 600;
}

.nav a.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 12px 22px;
  border-bottom: 0;
  line-height: 1;
}

/* Hero */

.hero {
  position: relative;
  padding: 32px 0 72px;
  background:
    radial-gradient(90% 70% at 88% 12%, rgba(74, 163, 176, 0.22), transparent 58%),
    linear-gradient(180deg, #f7fcfd 0%, #e4f4f7 72%, #cfe8ee 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 56px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 48c240 32 480-32 720-8s480-32 720 0v40H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: 28px;
}

.hero__mark {
  width: min(220px, 56vw);
  margin: 0 auto;
  border-radius: 50%;
}

.hero__facts {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.hero__price,
.hero__prices {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.hero__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.hero__prices p {
  margin: 0;
}

.hero__price strong,
.hero__prices strong {
  color: var(--brand);
}

.hero__note {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--brand-dark);
}

/* Cards */

.grid-3,
.grid-2 {
  display: grid;
  gap: 16px;
}

.card {
  min-width: 0;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
}

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

.card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

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

.card .from {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--brand);
}

a.card.doc-file {
  text-decoration: none;
  color: inherit;
}

a.card.doc-file:hover {
  border-color: var(--brand);
}

.doc-file__links {
  display: flex;
  gap: 16px;
  margin: 12px 0 0;
}

.doc-file__links a {
  font-weight: 600;
  color: var(--brand);
}

/* Prices */

.price-block + .price-block {
  margin-top: 32px;
}

.price-block h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 24px;
}

.price-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
  padding: 8px 0;
  min-width: 0;
}

.price-row span:first-child {
  min-width: 0;
}

.price-row .dots {
  border-bottom: 1px dotted var(--line);
  min-width: 12px;
}

.price-row .sum {
  font-weight: 600;
  white-space: nowrap;
}

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

/* Why */

.why-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  min-width: 0;
}

.why-list i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

/* Steps */

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  min-width: 0;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--brand);
}

/* Form */

.form {
  display: grid;
  gap: 16px;
}

.form--card {
  max-width: 560px;
  padding: 24px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow);
}

.form__row {
  display: grid;
  gap: 16px;
}

.form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  min-width: 0;
  color: var(--ink);
}

.form__caption {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.form__hint {
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.form input::placeholder,
.form textarea::placeholder {
  color: #7a9aa3;
}

.form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23246078' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}

.form textarea {
  min-height: 88px;
  resize: vertical;
}

.form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--muted);
}

.form__check a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__check input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
  accent-color: var(--brand);
}

.form .btn {
  width: 100%;
}

.form__status {
  min-height: 1.4em;
  margin: 0;
  font-size: 14px;
}

.form__status.is-ok {
  color: #2a6a4a;
}

.form__status.is-err {
  color: #8a2a2a;
}

.price-more {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  color: var(--brand);
}

@media (min-width: 560px) {
  .form--card {
    padding: 28px;
  }

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

/* Contacts */

.contacts {
  display: grid;
  gap: 24px;
}

.contacts a {
  color: var(--brand-dark);
}

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

.req dt {
  font-weight: 600;
  color: var(--ink);
  margin-top: 10px;
}

.req dd {
  margin: 0;
}

/* Footer */

.footer {
  padding: 28px 0 calc(28px + var(--gutter-fab));
  background: linear-gradient(165deg, #1e5c6c 0%, #246078 55%, #2a8694 100%);
  color: #d7eef2;
  font-size: 13px;
}

.footer a {
  color: #fff;
}

.footer__top {
  display: grid;
  gap: 16px;
}

.footer__legal {
  margin: 16px 0 0;
  opacity: 0.8;
}

/* Sticky mobile bar */

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--line);
}

.sticky-bar .btn {
  min-height: 44px;
  width: 100%;
}

@media (min-width: 720px) {
  :root {
    --header-h: 72px;
  }

  .section {
    padding: 88px 0;
  }

  .hero {
    padding: 56px 0 80px;
  }

  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .hero__mark {
    width: min(340px, 100%);
  }

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

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

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

  .contacts {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .header__phone {
    display: inline;
    margin-left: auto;
    margin-right: 16px;
  }

  .burger {
    display: none;
  }

  .nav-backdrop {
    display: none !important;
  }

  .nav {
    display: flex;
    position: static;
    width: auto;
    padding: 0;
    overflow: visible;
    align-items: center;
    gap: 20px;
  }

  .nav a {
    display: inline;
    padding: 0;
    border: 0;
    font-size: 14px;
  }

  .nav a.btn {
    display: inline-flex;
    margin: 0;
    min-height: 40px;
    padding: 0 16px;
  }

  .section--brand {
    padding-bottom: 88px;
  }

  .sticky-bar {
    display: none;
  }

  .footer {
    padding-bottom: 28px;
  }

  .footer__top {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .header__phone {
    margin-right: 24px;
  }
}
