/*
Theme Name: Coopol Landing
Theme URI: https://coopol.space/
Author: Coopol.space
Description: Одностраничная тема Coopol.space с нативным редактором контента и калькулятора в админ-панели WordPress.
Version: 1.0.5
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: coopol-landing
*/

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/font-primary.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Alumni Sans";
  src: url("assets/fonts/alumni-sans-medium-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Alumni Sans";
  src: url("assets/fonts/alumni-sans-medium-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-024F;
}

:root {
  --color-black: #0a0c02;
  --color-gray: #444444;
  --color-light: #fbfdfd;
  --color-white: #ffffff;
  --color-accent: #d0fe63;
  --color-accent-dark: #9ce627;
  --color-border: #e7e9e4;
  --radius-card: 16px;
  --container-width: 1410px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--color-black) #eef0eb;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

html::-webkit-scrollbar {
  width: 12px;
}

html::-webkit-scrollbar-track {
  background: #eef0eb;
}

html::-webkit-scrollbar-thumb {
  border: 3px solid #eef0eb;
  border-radius: 999px;
  background: var(--color-black);
}

html::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-dark);
}

html::-webkit-scrollbar-corner {
  background: #eef0eb;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--color-black);
  background: var(--color-light);
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

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

button,
select {
  cursor: pointer;
}

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

body.admin-bar .header {
  top: 54px;
}

@media (max-width: 782px) {
  body.admin-bar .header {
    top: 64px;
  }
}

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

.container {
  width: calc(100% - 48px);
  max-width: var(--container-width) !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.visually-hidden {
  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;
}

.section-title {
  margin: 0;
  font-family: "Alumni Sans", sans-serif;
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .006em;
  text-align: center;
}

.section-title span {
  display: block;
  margin-top: 23px;
  color: var(--color-black);
  font-family: "Alumni Sans", sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  min-height: 44px;
  padding: 9px 27px;
  border: 1px solid transparent;
  border-radius: 32px;
  font-family: "Alumni Sans", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.button img {
  flex: 0 0 auto;
}

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

.button--accent {
  color: var(--color-black);
  background: var(--color-accent);
}

.button--accent:hover {
  background: #dcff8a;
}

.button--dark {
  color: var(--color-white);
  background: var(--color-black);
}

.button--dark:hover {
  background: #25281c;
}

.button--outline {
  gap: 10px;
  color: var(--color-black);
  background: rgba(255, 255, 255, .18);
  border-color: var(--color-black);
}

.button--outline:hover {
  background: rgba(255, 255, 255, .72);
}

.header {
  position: absolute;
  z-index: 20;
  top: 25px;
  right: 0;
  left: 0;
}

.header__container {
  display: flex;
  align-items: center;
  height: 40px;
}

.header__logo {
  flex: 0 0 273px;
  width: 273px;
}

.header__logo-image {
  width: 273px;
  height: 40px;
  object-fit: contain;
  filter: none;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.header__link,
.header__phone {
  font-size: 13px;
  line-height: 1.2;
  transition: opacity .2s ease;
}

.header__link:hover,
.header__phone:hover {
  opacity: .58;
}

.header__phone {
  margin-left: 44px;
  font-family: "Alumni Sans", sans-serif;
  font-size: 22px;
  font-weight: 500;
  white-space: nowrap;
}

.header__button {
  gap: 9px;
  min-width: 250px;
  min-height: 40px;
  margin-left: 25px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.header__menu-button {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: "Alumni Sans", sans-serif;
  font-size: 20px;
}

.hero {
  position: relative;
  height: 870px;
  background-color: #d8ddd6;
  background-image: linear-gradient(90deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 54%), var(--coopol-hero-image, url("assets/images/raw-01.jpeg"));
  background-position: center center;
  background-size: cover;
}

.hero__container {
  height: 100%;
  padding-top: 175px;
}

.hero__content {
  width: 530px;
}

.hero__title {
  margin: 0 0 20px;
  font-family: "Alumni Sans", sans-serif;
  font-size: 70px;
  font-weight: 500;
  line-height: .91;
  letter-spacing: .004em;
}

.hero__subtitle {
  margin-bottom: 52px;
  font-size: 22px;
  line-height: 1.35;
}

.hero__features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero__icon-wrap {
  display: flex;
  flex: 0 0 62px;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), 0 8px 24px rgba(10, 12, 2, .05);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
}

.hero__feature-icon {
  width: 32px;
  height: 32px;
}

.hero__feature-title {
  margin: 0 0 2px;
  font-family: "Alumni Sans", sans-serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
}

.hero__feature-text {
  margin: 0;
  color: var(--color-gray);
  font-size: 13px;
}

.hero__actions {
  display: flex;
  gap: 30px;
  margin-top: 47px;
}

.hero__actions .button {
  gap: 10px;
}

.features {
  padding-top: 80px;
}

.features__title {
  margin-bottom: 40px;
}

.features__row,
.concept__row {
  display: flex;
  margin-right: 0;
  margin-left: 0;
  column-gap: 30px;
  row-gap: 30px;
}

.features__row > [class*="col-"],
.concept__row > [class*="col-"] {
  flex: 0 0 calc((100% - 60px) / 3);
  width: calc((100% - 60px) / 3);
  padding: 0;
}

.feature-card {
  min-height: 360px;
  padding: 30px;
  border: 1px solid #f1f2ef;
  border-radius: var(--radius-card);
  background: var(--color-white);
}

.feature-card__icon {
  width: 62px;
  height: 62px;
  margin-bottom: 28px;
  padding: 15px;
  border-radius: 8px;
  background: var(--color-accent);
}

.feature-card__title {
  margin: 0 0 23px;
  font-family: "Alumni Sans", sans-serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.feature-card__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card__item {
  position: relative;
  padding-left: 23px;
  color: var(--color-gray);
  font-size: 14px;
  line-height: 1.45;
}

.feature-card__item::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 14px;
  height: 11px;
  background: url("assets/icons/check.svg") center / contain no-repeat;
  content: "";
}

.concept {
  padding-top: 80px;
  padding-bottom: 75px;
}

.concept__title {
  margin-bottom: 40px;
}

.concept-card__image {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.concept-card__title {
  margin: 20px 0 10px;
  font-family: "Alumni Sans", sans-serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.concept-card__text {
  max-width: 390px;
  margin: 0;
  color: var(--color-gray);
  font-size: 14px;
  line-height: 1.45;
}

.atmosphere__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 170px;
  padding: 32px 40px;
  overflow: hidden;
  border-radius: var(--radius-card);
  color: var(--color-white);
  background: radial-gradient(circle at 31% 116%, rgba(208, 254, 99, .36), transparent 39%), var(--color-black);
}

.atmosphere__copy {
  flex: 0 0 490px;
}

.atmosphere__title,
.calculator__title,
.guide__title,
.booking__title {
  margin: 0 0 7px;
  font-family: "Alumni Sans", sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.atmosphere__text,
.booking__text {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.atmosphere__form {
  position: relative;
  display: grid;
  grid-template-columns: 190px 190px 190px 175px;
  gap: 20px;
  align-items: center;
}

.atmosphere__form .form__submit {
  width: 100%;
  min-width: 0;
  gap: 8px;
  padding-right: 20px;
  padding-left: 20px;
}

.form__field {
  display: block;
  min-width: 0;
}

.form__input {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 17px;
  border: 1px solid rgba(10, 12, 2, .08);
  border-radius: 8px;
  outline: none;
  color: var(--color-black);
  background: var(--color-white);
  font-size: 12px;
  line-height: 1;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form__input::placeholder {
  color: #9b9c97;
  opacity: 1;
}

.form__input:focus {
  border-color: var(--color-accent-dark);
  box-shadow: 0 0 0 3px rgba(208, 254, 99, .18);
}

.form__input--textarea {
  height: 67px;
  padding-top: 14px;
  resize: none;
}

.form__input.is-invalid {
  border-color: #d84a4a;
}

.form__status {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  margin: 0;
  color: var(--color-accent);
  font-size: 11px;
}

.form__status--dark {
  color: var(--color-black);
}

.workflow {
  padding-top: 80px;
  padding-bottom: 99px;
}

.workflow__title {
  margin-bottom: 40px;
}

.workflow__track {
  position: relative;
}

.workflow__line {
  position: absolute;
  z-index: 0;
  top: 31px;
  right: 0;
  left: 0;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    #bfc1ba 0,
    #bfc1ba 4px,
    transparent 4px,
    transparent 9px
  );
}

.workflow__items {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}

.workflow__item {
  min-width: 0;
  padding-right: 20px;
}

.workflow__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  font-family: "Alumni Sans", sans-serif;
  font-size: 25px;
  line-height: 1;
}

.workflow__name {
  margin: 0 0 9px;
  font-family: "Alumni Sans", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: .95;
}

.workflow__description {
  max-width: 150px;
  margin: 0;
  color: var(--color-gray);
  font-size: 14px;
  line-height: 1.35;
}

.calculator {
  padding-bottom: 80px;
}

.calculator__inner {
  min-height: 607px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: 0 18px 48px rgba(49, 60, 27, .08);
}

.calculator__main-col,
.calculator__form-col {
  padding: 0;
}

.calculator__main {
  min-height: 607px;
  padding: 34px 37px 28px 40px;
}

.calculator__lead {
  margin: 0 0 21px;
  color: var(--color-gray);
  font-size: 14px;
}

.calculator__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: 10px;
  padding: 0 20px;
  border-radius: 8px;
  color: var(--color-white);
  background: var(--color-black);
  font-size: 13px;
}

.calculator__base strong {
  font-weight: 500;
}

.calculator__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calculator__option {
  display: grid;
  grid-template-columns: 120px minmax(240px, 1fr) 90px;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  font-size: 14px;
}

.calculator__label {
  color: var(--color-gray);
}

.calculator__select-wrap {
  position: relative;
  display: block;
  min-width: 0;
}

.calculator__select-wrap::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 12px;
  height: 12px;
  background: url("assets/icons/icon-chevron.svg") center / contain no-repeat;
  content: "";
  pointer-events: none;
  transform: translateY(-50%) rotate(90deg);
  transition: transform .2s ease;
}

.calculator__select-wrap.is-open::after {
  transform: translateY(-50%) rotate(-90deg);
}

.calculator__select {
  width: 100%;
  min-height: 38px;
  padding: 0 38px 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  outline: none;
  color: var(--color-gray);
  background: var(--color-white);
  appearance: none;
  font-size: 12px;
  cursor: pointer;
  transition: border-color .2s ease;
}

.calculator__select:focus {
  border-color: #c8cbc4;
}

.calculator__price {
  text-align: right;
}

.calculator__counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}

.counter__label {
  color: var(--color-gray);
  font-size: 14px;
}

.counter__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 128px;
  min-height: 38px;
  padding: 6px 8px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.counter__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef0eb;
}

.counter__button img {
  width: 10px;
  height: 10px;
}

.counter__value {
  min-width: 16px;
  font-size: 12px;
  text-align: center;
}

.calculator__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  margin-top: 10px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--color-accent);
}

.calculator__checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  cursor: pointer;
}

.calculator__checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calculator__checkmark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(10,12,2,.38);
  border-radius: 4px;
  background: transparent;
}

.calculator__checkmark img {
  width: 12px;
  height: 12px;
  opacity: 0;
}

.calculator__checkbox:checked + .calculator__checkmark {
  background: var(--color-black);
}

.calculator__checkbox:checked + .calculator__checkmark img {
  opacity: 1;
  filter: brightness(0) invert(1);
}

.calculator__total {
  font-family: "Alumni Sans", sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}

.calculator-form {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 527px;
  margin: 40px;
  padding: 34px 40px 28px;
  border-radius: var(--radius-card);
  color: var(--color-white);
  background: var(--color-black);
}

.calculator-form__title {
  margin: 0 0 6px;
  font-family: "Alumni Sans", sans-serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1;
}

.calculator-form__text {
  margin: 0 0 22px;
  color: rgba(255,255,255,.66);
  font-size: 14px;
}

.calculator-form .form__field {
  margin-bottom: 10px;
}

.calculator-form__submit {
  width: 100%;
  min-width: 0;
  gap: 8px;
  margin-top: auto;
}

.projects {
  padding-bottom: 86px;
}

.projects__title {
  margin-bottom: 40px;
}

.projects__slider {
  --projects-gap: 30px;
  --projects-slide-width: calc((100% - 60px) / 3);
  position: relative;
  outline: none;
}

.projects__viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  touch-action: pan-y;
}

.projects__viewport::-webkit-scrollbar {
  display: none;
}

.projects__viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.projects__gallery {
  display: flex;
  gap: var(--projects-gap);
}

.projects__slide {
  flex: 0 0 var(--projects-slide-width);
  min-width: 0;
  scroll-snap-align: start;
}

.projects__zoom {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-card);
  background: #eef0eb;
  cursor: zoom-in;
}

.projects__zoom:focus-visible {
  outline: 3px solid var(--color-accent-dark);
  outline-offset: 3px;
}

.projects__image {
  width: 100%;
  aspect-ratio: 1.57 / 1;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2, .75, .25, 1);
}

@media (hover: hover) and (pointer: fine) {
  .projects__zoom:hover .projects__image {
    transform: scale(1.08);
  }
}

.projects__arrow {
  position: absolute;
  z-index: 2;
  top: calc(50% - 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(10, 12, 2, .1);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(10, 12, 2, .14);
  transition: background-color .2s ease, transform .2s ease;
  transform: translateY(-50%);
}

.projects__arrow:hover {
  background: var(--color-accent);
}

.projects__arrow:active {
  transform: translateY(-50%) scale(.94);
}

.projects__arrow:focus-visible {
  outline: 3px solid var(--color-accent-dark);
  outline-offset: 2px;
}

.projects__arrow img {
  width: 20px;
  height: 20px;
}

.projects__arrow--prev {
  left: 14px;
}

.projects__arrow--prev img {
  transform: rotate(180deg);
}

.projects__arrow--next {
  right: 14px;
}

.projects__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 10px;
  margin-top: 22px;
}

.projects__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d2d5ce;
  transition: width .2s ease, background-color .2s ease;
}

.projects__dot.is-active {
  width: 26px;
  background: var(--color-black);
}

.projects__dot:focus-visible {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 3px;
}

.projects__note {
  margin: 20px 0 0;
  color: #a9aaa5;
  font-size: 13px;
  text-align: center;
}

.guide {
  padding-bottom: 80px;
}

.guide__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 240px;
  padding: 40px 50px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: linear-gradient(285deg, #88C200 20.79%, #D0FE63 79.21%);
}

.guide__inner::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 254px;
  height: 247px;
  background: var(--coopol-guide-image, url("assets/images/guide-center.png")) center / contain no-repeat;
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.guide__content {
  position: relative;
  z-index: 1;
  flex: 0 0 550px;
}

.guide__title {
  margin-bottom: 2px;
}

.guide__name {
  margin: 0 0 17px;
  font-family: "Alumni Sans", sans-serif;
  font-size: 28px;
  line-height: 1;
}

.guide__text {
  max-width: 520px;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.guide__form {
  position: relative;
  z-index: 1;
  flex: 0 0 485px;
}

.guide__fields {
  display: grid;
  grid-template-columns: 215px 250px;
  gap: 20px;
}

.guide__button {
  min-width: 0;
  gap: 10px;
}

.guide__button img {
  filter: brightness(0) invert(1);
}

.guide__small {
  margin: 10px 0 0;
  font-size: 9px;
}

.faq {
  padding-bottom: 80px;
}

.faq__title {
  margin-bottom: 46px;
}

.faq__list {
  padding: 6px 40px 0;
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .03);
}

.faq__item {
  border-bottom: 1px dashed #d9dcd5;
}

.faq__item:last-child {
  border-bottom: 0;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 66px;
  padding: 0;
  border: 0;
  text-align: left;
  background: transparent;
  font-family: "Alumni Sans", sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}

.faq__arrow {
  width: 28px;
  height: 28px;
  transform: rotate(90deg);
  transition: transform .25s ease;
}

.faq__item--open .faq__arrow {
  transform: rotate(-90deg);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  opacity: 0;
  transition: grid-template-rows .25s ease, opacity .25s ease, visibility .25s ease;
}

.faq__answer p {
  max-width: 730px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--color-gray);
  font-size: 14px;
  line-height: 1.45;
}

.faq__item--open .faq__answer {
  grid-template-rows: 1fr;
  padding-bottom: 18px;
  visibility: visible;
  opacity: 1;
}

.booking {
  padding-bottom: 80px;
}

.booking__inner {
  display: flex;
  min-height: 438px;
  overflow: hidden;
  border-radius: var(--radius-card);
  color: var(--color-white);
  background: radial-gradient(circle at 20% 110%, rgba(208, 254, 99, .28), transparent 46%), var(--color-black);
}

.booking__content {
  position: relative;
  z-index: 2;
  flex: 0 0 556px;
  padding: 50px 0 45px 53px;
}

.booking__title {
  max-width: none;
  margin-bottom: 9px;
  font-size: 40px;
}

.booking__text {
  max-width: 425px;
  margin-bottom: 30px;
  font-size: 14px;
}

.booking__form {
  position: relative;
  width: 425px;
}

.booking__fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 16px;
  margin-bottom: 30px;
}

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

.booking__button {
  width: 100%;
  gap: 8px;
}

.booking__visual {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.booking__visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, var(--color-black) 0%, rgba(10,12,2,.82) 9%, transparent 45%);
  content: "";
}

.booking__image {
  width: 100%;
  height: 438px;
  object-fit: cover;
  object-position: center 48%;
}

@media (min-width: 768px) {
  .booking__inner {
    background: var(--color-black) var(--coopol-faq-image, url("assets/images/image_blog_228.png")) center / cover no-repeat;
  }

  .booking__visual::before,
  .booking__image {
    display: none;
  }
}

.footer {
  padding-bottom: 29px;
}

.footer__main {
  display: flex;
  align-items: center;
  min-height: 111px;
  padding: 0 40px;
  border-radius: var(--radius-card);
  color: var(--color-white);
  background: var(--color-black);
}

.footer__logo {
  width: 273px;
}

.footer__logo img {
  width: 273px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer__contacts {
  display: flex;
  gap: 42px;
  margin-left: auto;
  font-family: "Alumni Sans", sans-serif;
  font-size: 22px;
  font-weight: 500;
}

.footer__socials {
  display: flex;
  gap: 22px;
  margin-left: 60px;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.footer__social img {
  width: 32px;
  height: 32px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: #444;
  font-size: 14px;
}

.footer__bottom a,
.footer__legal-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__legal-link {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.footer__bottom a + a,
.footer__legal-link + .footer__legal-link {
  margin-left: 40px;
}

.footer__legal-link:hover {
  color: var(--color-black);
}

.footer__legal-link:focus-visible {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 3px;
}

.footer__bottom span {
  margin-left: auto;
}

.form-success-modal {
  position: fixed;
  z-index: 130;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 48px 24px;
  overflow: hidden;
  color: var(--color-white);
  background: radial-gradient(circle at 50% 115%, rgba(208, 254, 99, .3), transparent 43%), var(--color-black);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility .35s ease, opacity .35s ease;
}

.form-success-modal::before,
.form-success-modal::after {
  position: absolute;
  border: 1px solid rgba(208, 254, 99, .16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.form-success-modal::before {
  width: min(76vw, 900px);
  aspect-ratio: 1;
}

.form-success-modal::after {
  width: min(54vw, 640px);
  aspect-ratio: 1;
}

.form-success-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.form-success-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: 50px 30px;
  text-align: center;
}

.form-success-modal__close {
  position: fixed;
  top: 28px;
  right: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0 0 4px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  color: var(--color-white);
  background: rgba(255, 255, 255, .08);
  appearance: none;
  -webkit-appearance: none;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.form-success-modal__close:hover {
  color: var(--color-black);
  background: var(--color-accent);
  transform: rotate(5deg);
}

.form-success-modal__close:focus-visible,
.form-success-modal__button:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 4px;
}

.form-success-modal__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  margin: 0 auto 28px;
  border-radius: 50%;
  color: var(--color-black);
  background: var(--color-accent);
  box-shadow: 0 0 0 14px rgba(208, 254, 99, .08), 0 18px 55px rgba(156, 230, 39, .18);
  font-family: "Inter", sans-serif;
  font-size: 48px;
  font-weight: 700;
}

.form-success-modal__eyebrow {
  margin: 0 0 8px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.form-success-modal__title {
  margin: 0;
  font-family: "Alumni Sans", sans-serif;
  font-size: clamp(58px, 7vw, 88px);
  font-weight: 500;
  line-height: .94;
}

.form-success-modal__message {
  max-width: 520px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, .76);
  font-size: 17px;
  line-height: 1.5;
}

.form-success-modal__button {
  min-width: 230px;
  margin-top: 34px;
  background-color: var(--color-accent);
  appearance: none;
  -webkit-appearance: none;
}

@media (max-width: 575.98px) {
  .form-success-modal {
    padding: 70px 20px 36px;
  }

  .form-success-modal::before {
    width: 150vw;
  }

  .form-success-modal::after {
    width: 105vw;
  }

  .form-success-modal__dialog {
    padding: 28px 0;
  }

  .form-success-modal__close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
  }

  .form-success-modal__mark {
    width: 86px;
    height: 86px;
    margin-bottom: 24px;
    font-size: 40px;
  }

  .form-success-modal__title {
    font-size: 56px;
  }

  .form-success-modal__message {
    margin-top: 18px;
    font-size: 15px;
  }

  .form-success-modal__button {
    width: 100%;
    max-width: 310px;
    margin-top: 28px;
  }
}

.legal-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.legal-modal.is-open {
  display: flex;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 12, 2, .86);
  backdrop-filter: blur(7px);
}

.legal-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(980px, 100%);
  height: min(860px, calc(100vh - 48px));
  height: min(860px, calc(100dvh - 48px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 24px;
  background: #f5f7f2;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .38);
}

.legal-modal__dialog::before {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--color-accent);
  content: "";
}

.legal-modal__header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 38px 30px;
  color: var(--color-white);
  background: radial-gradient(circle at 12% 140%, rgba(208, 254, 99, .3), transparent 42%), var(--color-black);
}

.legal-modal__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-modal__title {
  max-width: 760px;
  margin: 0;
  font-family: "Alumni Sans", sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.02;
}

.legal-modal__close {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0 0 4px;
  border: 0;
  border-radius: 50%;
  color: var(--color-black);
  background: var(--color-accent);
  font-size: 35px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.legal-modal__close:hover {
  background: var(--color-white);
  transform: rotate(5deg);
}

.legal-modal__close:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 3px;
}

.legal-modal__content {
  flex: 1 1 auto;
  padding: 34px 38px 46px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--color-gray);
  background: #f5f7f2;
  font-size: 15px;
  line-height: 1.62;
  scrollbar-color: var(--color-accent-dark) transparent;
  scrollbar-width: thin;
}

.legal-modal__content:focus-visible {
  outline: 3px solid var(--color-accent-dark);
  outline-offset: -5px;
}

.legal-modal__content::-webkit-scrollbar {
  width: 8px;
}

.legal-modal__content::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background: var(--color-accent-dark);
}

.legal-modal__content p {
  margin: 0 0 12px;
}

.legal-modal__content a {
  color: #4f7910;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-modal__subtitle {
  max-width: 780px;
  margin-bottom: 22px !important;
  color: var(--color-black);
  font-family: "Alumni Sans", sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.16;
}

.legal-modal__meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: -7px 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #cdd2c7;
  color: var(--color-black);
  font-size: 13px;
  font-weight: 700;
}

.legal-modal__section {
  padding-top: 22px;
}

.legal-modal__section + .legal-modal__section {
  margin-top: 12px;
  border-top: 1px dashed #cdd2c7;
}

.legal-modal__section h3 {
  margin: 0 0 16px;
  color: var(--color-black);
  font-family: "Alumni Sans", sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
}

.legal-modal__section ul {
  display: grid;
  gap: 9px;
  margin: 8px 0 16px;
  padding: 0;
  list-style: none;
}

.legal-modal__section li {
  position: relative;
  padding-left: 22px;
}

.legal-modal__section li::before {
  position: absolute;
  top: .62em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-dark);
  content: "";
}

.legal-modal__note {
  margin-top: 18px !important;
  padding: 16px 18px;
  border-left: 4px solid var(--color-accent-dark);
  border-radius: 0 12px 12px 0;
  color: var(--color-black);
  background: rgba(208, 254, 99, .28);
}

.legal-modal__table-wrap {
  margin: 18px 0 8px;
  overflow: hidden;
  border: 1px solid #dce0d8;
  border-radius: 14px;
  background: var(--color-white);
}

.legal-modal__table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  color: var(--color-gray);
  font-size: 13px;
  line-height: 1.45;
}

.legal-modal__table th,
.legal-modal__table td {
  padding: 13px 15px;
  border-right: 1px solid #e4e7e1;
  border-bottom: 1px solid #e4e7e1;
  text-align: left;
  vertical-align: top;
}

.legal-modal__table tr > :last-child {
  border-right: 0;
}

.legal-modal__table tbody tr:last-child > * {
  border-bottom: 0;
}

.legal-modal__table thead th {
  color: var(--color-black);
  background: var(--color-accent);
  font-weight: 700;
}

.legal-modal__table--purposes th:first-child,
.legal-modal__table--purposes td:first-child {
  width: 48px;
  text-align: center;
}

.legal-modal__table--purposes th:nth-child(2) {
  width: 31%;
}

.legal-modal__table--details th {
  width: 34%;
  color: var(--color-black);
  background: #edf0e9;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .legal-modal {
    padding: 12px;
  }

  .legal-modal__dialog {
    height: calc(100vh - 24px);
    height: calc(100dvh - 24px);
    border-radius: 18px;
  }

  .legal-modal__header {
    align-items: center;
    gap: 16px;
    padding: 26px 20px 22px;
  }

  .legal-modal__eyebrow {
    font-size: 10px;
  }

  .legal-modal__title {
    font-size: 30px;
  }

  .legal-modal__close {
    width: 40px;
    height: 40px;
  }

  .legal-modal__content {
    padding: 25px 20px 34px;
    font-size: 14px;
    line-height: 1.56;
  }

  .legal-modal__subtitle {
    font-size: 22px;
  }

  .legal-modal__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .legal-modal__section h3 {
    font-size: 27px;
  }

  .legal-modal__table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .legal-modal__table,
  .legal-modal__table tbody,
  .legal-modal__table tr,
  .legal-modal__table th,
  .legal-modal__table td {
    display: block;
    width: 100%;
  }

  .legal-modal__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .legal-modal__table tr {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #dce0d8;
    border-radius: 12px;
    background: var(--color-white);
  }

  .legal-modal__table th,
  .legal-modal__table td {
    padding: 11px 13px;
    border-right: 0;
    border-bottom: 1px solid #e4e7e1;
  }

  .legal-modal__table tr > :last-child {
    border-bottom: 0;
  }

  .legal-modal__table--purposes td:first-child {
    width: 100%;
    text-align: left;
  }

  .legal-modal__table--purposes td::before {
    display: block;
    margin-bottom: 3px;
    color: #697063;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    content: attr(data-label);
  }

  .legal-modal__table--details th {
    width: 100%;
    background: var(--color-accent);
  }
}

.video-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 12, 2, .78);
}

.video-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-black);
}

.video-modal__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--color-white);
  background: rgba(10, 12, 2, .72);
  font-size: 34px;
  line-height: 1;
}

.video-modal__video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 48px);
  background: var(--color-black);
  object-fit: contain;
}

.photo-modal {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.photo-modal.is-open {
  display: flex;
}

.photo-modal__backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 12, 2, .88);
}

.photo-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1180px, 100%);
  max-height: calc(100vh - 64px);
}

.photo-modal__figure {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  max-width: 100%;
  max-height: calc(100vh - 64px);
  margin: 0;
  touch-action: pan-y;
}

.photo-modal__image {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 104px);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .35);
  object-fit: contain;
}

.photo-modal__counter {
  margin-top: 12px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.photo-modal__close,
.photo-modal__arrow {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  color: var(--color-white);
  background: rgba(10, 12, 2, .72);
  transition: background-color .2s ease, transform .2s ease;
}

.photo-modal__close:hover,
.photo-modal__arrow:hover {
  color: var(--color-black);
  background: var(--color-accent);
}

.photo-modal__close:focus-visible,
.photo-modal__arrow:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.photo-modal__close {
  top: 12px;
  right: 12px;
  font-size: 34px;
  line-height: 1;
}

.photo-modal__arrow {
  top: 50%;
  transform: translateY(-50%);
}

.photo-modal__arrow:active {
  transform: translateY(-50%) scale(.94);
}

.photo-modal__arrow img {
  filter: brightness(0) invert(1);
}

.photo-modal__arrow:hover img {
  filter: none;
}

.photo-modal__arrow--prev {
  left: 14px;
}

.photo-modal__arrow--prev img {
  transform: rotate(180deg);
}

.photo-modal__arrow--next {
  right: 14px;
}

@media (max-width: 1399.98px) {
  .header__nav {
    gap: 16px;
  }

  .header__phone {
    margin-left: 24px;
  }

  .header__button {
    min-width: 210px;
    margin-left: 16px;
  }

  .atmosphere__form {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    flex: 1 1 auto;
    margin-left: 35px;
  }

  .atmosphere__form .form__submit {
    grid-column: 3;
  }

  .guide__inner::after {
    opacity: .55;
  }
}

@media (max-width: 1199.98px) {
  .header__container {
    position: relative;
  }

  .header__menu-button {
    display: block;
    margin-left: auto;
  }

  .header__nav {
    position: absolute;
    top: 52px;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 260px;
    padding: 22px;
    border-radius: 12px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 36px rgba(10,12,2,.15);
  }

  .header__nav.is-open {
    display: flex;
  }

  .header__link {
    width: 100%;
    font-size: 15px;
  }

  .header__phone {
    margin-left: 28px;
  }

  .header__button {
    min-width: 190px;
  }

  .features__row,
  .concept__row {
    flex-wrap: wrap;
  }

  .features__row > [class*="col-"],
  .concept__row > [class*="col-"] {
    flex-basis: calc((100% - 30px) / 2);
    width: calc((100% - 30px) / 2);
  }

  .atmosphere__copy {
    flex-basis: 390px;
  }

  .workflow__track {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .workflow__line {
    width: 1250px;
  }

  .workflow__items {
    width: 1250px;
  }

  .calculator__option {
    grid-template-columns: 90px minmax(160px, 1fr) 90px;
  }

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

  .counter {
    min-height: 42px;
  }

  .guide__content {
    flex-basis: 470px;
  }

  .guide__form {
    flex-basis: 390px;
  }

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

  .footer__contacts {
    gap: 20px;
  }
}

@media (max-width: 991.98px) {
  .section-title {
    font-size: 52px;
  }

  .header__phone {
    display: none;
  }

  .hero {
    height: 820px;
    background-position: 58% center;
  }

  .hero__container {
    padding-top: 150px;
  }

  .features,
  .concept,
  .workflow {
    padding-top: 70px;
  }

  .concept,
  .workflow,
  .calculator,
  .projects,
  .guide,
  .faq,
  .booking {
    padding-bottom: 70px;
  }

  .features__row > [class*="col-"],
  .concept__row > [class*="col-"] {
    flex-basis: 100%;
    width: 100%;
  }

  .feature-card {
    min-height: auto;
  }

  .concept-card__image {
    height: auto;
    aspect-ratio: 1.607 / 1;
  }

  .atmosphere__inner {
    display: block;
    padding: 40px;
  }

  .atmosphere__copy {
    margin-bottom: 25px;
  }

  .atmosphere__form {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 0;
  }

  .atmosphere__form .form__submit {
    grid-column: auto;
  }

  .calculator__main {
    min-height: auto;
  }

  .calculator-form {
    min-height: auto;
    margin: 0;
    border-radius: 0;
  }

  .calculator-form__submit {
    margin-top: 12px;
  }

  .projects__slider {
    --projects-slide-width: calc((100% - 30px) / 2);
  }

  .guide__inner {
    display: block;
    padding: 40px;
  }

  .guide__content {
    max-width: 560px;
    margin-bottom: 28px;
  }

  .guide__form {
    width: min(100%, 500px);
  }

  .guide__fields {
    grid-template-columns: 1fr 250px;
  }

  .booking__content {
    flex-basis: 52%;
    padding-left: 40px;
  }

  .booking__form {
    width: calc(100% - 40px);
  }

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

  .footer__main {
    flex-wrap: wrap;
    gap: 20px 40px;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .footer__contacts {
    flex-direction: column;
    gap: 6px;
  }

  .footer__socials {
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  .container {
    width: calc(100% - 40px);
  }

  .header {
    top: 18px;
  }

  .header__logo,
  .header__logo-image {
    width: 205px;
    height: auto;
  }

  .header__button {
    display: none;
  }

  .hero {
    height: 790px;
    background-position: 64% center;
  }

  .hero::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(242,245,239,.86) 0%, rgba(242,245,239,.58) 52%, rgba(242,245,239,.08) 100%);
    content: "";
  }

  .hero__container {
    position: relative;
    z-index: 1;
    padding-top: 126px;
  }

  .hero__content {
    width: 100%;
  }

  .hero__title {
    font-size: 58px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__actions {
    gap: 12px;
  }

  .hero__actions .button {
    min-width: 0;
    flex: 1;
  }

  .section-title {
    font-size: 46px;
    line-height: .9;
  }

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

  .calculator__main {
    padding: 32px 24px;
  }

  .calculator__option {
    grid-template-columns: 76px 1fr;
    gap: 5px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .calculator__price {
    grid-column: 2;
    text-align: left;
  }

  .calculator__result {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .calculator-form {
    padding: 32px 24px;
  }

  .photo-modal {
    padding: 16px;
  }

  .photo-modal__dialog {
    max-height: calc(100vh - 32px);
  }

  .photo-modal__figure {
    max-height: calc(100vh - 32px);
  }

  .photo-modal__image {
    max-height: calc(100vh - 76px);
  }

  .photo-modal__arrow {
    width: 42px;
    height: 42px;
  }

  .photo-modal__arrow--prev {
    left: 8px;
  }

  .photo-modal__arrow--next {
    right: 8px;
  }

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

  .faq__list {
    padding-right: 24px;
    padding-left: 24px;
  }

  .faq__question {
    font-size: 23px;
  }

  .booking__inner {
    display: block;
  }

  .booking__content {
    padding: 40px 24px;
  }

  .booking__form {
    width: 100%;
  }

  .booking__visual {
    height: 300px;
  }

  .booking__visual::before {
    background: linear-gradient(180deg, var(--color-black) 0%, transparent 42%);
  }

  .booking__image {
    height: 300px;
  }

  .footer__main {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .footer__contacts {
    align-items: center;
    margin-left: 0;
  }

  .footer__bottom {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding-top: 12px;
    text-align: center;
  }

  .footer__bottom a + a,
  .footer__legal-link + .footer__legal-link,
  .footer__bottom span {
    margin-left: 0;
  }
}

@media (max-width: 575.98px) {
  .container {
    width: calc(100% - 32px);
  }

  .header__logo,
  .header__logo-image {
    width: 180px;
  }

  .header__nav {
    right: -2px;
    width: min(280px, calc(100vw - 32px));
  }

  .hero {
    height: 780px;
    background-position: 68% center;
  }

  .hero__title {
    font-size: 51px;
    line-height: .9;
  }

  .hero__subtitle {
    max-width: 330px;
    margin-bottom: 30px;
    font-size: 16px;
  }

  .hero__features {
    gap: 22px;
  }

  .hero__icon-wrap {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .hero__feature-title {
    font-size: 24px;
  }

  .hero__feature-text {
    font-size: 11px;
  }

  .hero__actions {
    flex-direction: column;
    margin-top: 30px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .section-title {
    font-size: 42px;
  }

  .features,
  .concept,
  .workflow {
    padding-top: 56px;
  }

  .concept,
  .workflow,
  .calculator,
  .projects,
  .guide,
  .faq,
  .booking {
    padding-bottom: 56px;
  }

  .features__title,
  .concept__title,
  .workflow__title,
  .projects__title,
  .faq__title {
    margin-bottom: 30px;
  }

  .feature-card {
    padding: 24px;
  }

  .feature-card__icon {
    margin-bottom: 28px;
  }

  .concept-card__title {
    font-size: 30px;
  }

  .atmosphere__inner,
  .guide__inner {
    padding: 32px 24px;
  }

  .atmosphere__title,
  .calculator__title,
  .guide__title {
    font-size: 35px;
  }

  .workflow__line,
  .workflow__items {
    width: 1180px;
  }

  .workflow__item {
    padding-right: 12px;
  }

  .calculator__base {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

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

  .projects__slider {
    --projects-gap: 16px;
    --projects-slide-width: 100%;
  }

  .projects__arrow {
    top: calc(50% - 18px);
    width: 42px;
    height: 42px;
  }

  .projects__arrow--prev {
    left: 10px;
  }

  .projects__arrow--next {
    right: 10px;
  }

  .projects__pagination {
    margin-top: 18px;
  }

  .projects__note {
    margin-top: 18px;
  }

  .photo-modal__close {
    top: 8px;
    right: 8px;
    width: 42px;
    height: 42px;
  }

  .photo-modal__counter {
    margin-top: 10px;
  }

  .guide__content {
    margin-bottom: 24px;
  }

  .guide__name {
    font-size: 25px;
  }

  .faq__list {
    background-image: none;
  }

  .booking__title {
    font-size: 42px;
  }

  .footer__main {
    padding-right: 24px;
    padding-left: 24px;
  }

  .footer__logo,
  .footer__logo img {
    width: 220px;
    height: auto;
  }
}

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

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