@charset "UTF-8";
/**
  Нормализация блочной модели
 */
*,
::before,
::after {
  box-sizing: border-box;
}

/**
  Убираем внутренние отступы слева тегам списков,
  у которых есть атрибут class
 */
:where(ul, ol):where([class]) {
  padding-left: 0;
}

/**
  Убираем внешние отступы body и двум другим тегам,
  у которых есть атрибут class
 */
body,
:where(blockquote, figure, fieldset):where([class]) {
  margin: 0;
}

/**
  Убираем внешние отступы вертикали нужным тегам,
  у которых есть атрибут class
 */
:where(h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl):where([class]) {
  margin-block: 0;
}

:where(dd[class]) {
  margin-left: 0;
}

:where(fieldset[class]) {
  padding: 0;
  border: none;
}

/**
  Убираем стандартный маркер маркированному списку,
  у которого есть атрибут class
 */
:where(ul[class]) {
  list-style: none;
}

:where(address[class]) {
  font-style: normal;
}

/**
  Обнуляем вертикальные внешние отступы параграфа,
  объявляем локальную переменную для внешнего отступа вниз,
  чтобы избежать взаимодействие с более сложным селектором
 */
p {
  --paragraphMarginBottom: 24px;
  margin-block: 0;
}

/**
  Внешний отступ вниз для параграфа без атрибута class,
  который расположен не последним среди своих соседних элементов
 */
p:where(:not([class]):not(:last-child)) {
  margin-bottom: var(--paragraphMarginBottom);
}

/**
  Упрощаем работу с изображениями и видео
 */
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/**
  Наследуем свойства шрифт для полей ввода
 */
input,
textarea,
select,
button {
  font: inherit;
}

html {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  height: 100%;
  /**
    Убираем скачок интерфейса по горизонтали
    при появлении / исчезновении скроллбара
   */
  scrollbar-gutter: stable;
  /**
    Плавный скролл
   */
  scroll-behavior: smooth;
}

body {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  min-height: 100%;
  /**
    Унифицированный интерлиньяж
   */
  line-height: 1.5;
}

/**
  Нормализация высоты элемента ссылки при его инспектировании в DevTools
 */
a:where([class]) {
  display: inline-flex;
}

/**
  Курсор-рука при наведении на элемент
 */
button,
label {
  cursor: pointer;
}

/**
  Убирает серую подсветку при тапе на мобильных устройствах (iOS/Android)
 */
button {
  -webkit-tap-highlight-color: transparent;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут fill со значением 'none' или начинается с 'url')
 */
:where([fill]:not([fill=none],
[fill^=url])) {
  fill: currentColor;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут stroke со значением 'none')
 */
:where([stroke]:not([stroke=none],
[stroke^=url])) {
  stroke: currentColor;
}

/**
  Чиним баг задержки смены цвета при взаимодействии с svg-элементами
 */
svg * {
  transition-property: fill, stroke;
}

/**
  Приведение рамок таблиц в классический 'collapse' вид
 */
:where(table) {
  border-collapse: collapse;
  border-color: currentColor;
}

/**
  Удаляем все анимации и переходы для людей,
  которые предпочитают их не использовать
 */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@font-face {
  font-family: "Gerbera";
  src: url("../fonts/Gerbera.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gerbera";
  src: url("../fonts/Gerbera-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gerbera";
  src: url("../fonts/Gerbera-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/Unbounded-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Glina Script em.";
  src: url("../fonts/GlinaScriptem.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
button {
  background-color: lightblue;
}
@media (hover: hover) {
  button:hover {
    background-color: lightcoral;
  }
}
@media (hover: none) {
  button:active {
    background-color: lightcoral;
  }
}

:root {
  --color-dark: #323232;
  --color-light: #ffffff;
  --color-accent: #237d83;
  --color-gray: #484848;
  --color-gray-alt: #5a5a5a;
  --color-gray-alt2: #a1a1a1;
  --color-gray-alt3: #f6f6f8;
  --color-red: #be484a;
  --color-green: #23755a;
  --border-radius: 40px;
  --border-radius-small: 20px;
  --border-radius-large: 77px;
  --font-family-base: "Gerbera", sans-serif;
  --font-family-title: "Unbounded", sans-serif;
  --font-family-speech-bubbles: "Glina Script em.", sans-serif;
  --container-width: 1316px;
  --container-padding-x: 33px;
  --section-padding-y: 30px;
  --button-height: 95px;
  --transition-duration: 0.2s;
}
@media (max-width: 1280px) {
  :root {
    --container-width: 887px;
    --section-padding-y: 28px;
  }
}
@media (max-width: 767px) {
  :root {
    --container-width: 606px;
    --section-padding-y: 9px;
  }
}

.container {
  max-width: calc(var(--container-width) + var(--container-padding-x) * 2);
  margin-inline: auto;
  padding-inline: var(--container-padding-x);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  border: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  -webkit-clip-path: inset(100%) !important;
          clip-path: inset(100%) !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
}

@media (max-width: 767px) {
  .hidden-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .visible-mobile {
    display: none !important;
  }
}

body {
  font-size: clamp(9px, 1.5625vw, 30px);
  font-family: var(--font-family-base);
  font-weight: 500;
  line-height: 1.41;
  color: var(--color-gray);
  background-color: var(--color-gray-alt3);
}

.content {
  background-image: url("../images/figures.svg"), url("../images/gray-texture.png");
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  min-height: 100vh;
  padding-top: 100px;
}
@media (max-width: 767px) {
  .content {
    padding-top: 50px;
  }
}

a,
button,
input,
textarea,
svg * {
  transition-duration: var(--transition-duration);
}

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

h1 {
  font-size: clamp(54.2px, 6.953125vw, 133.5px);
}

h2 {
  font-size: clamp(12.9px, 3.125vw, 60px);
}

h3 {
  font-size: clamp(9px, 1.5625vw, 30px);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-light);
}
.header__inner {
  display: flex;
  padding-block: 35px;
  align-items: center;
  background-color: var(--color-light);
}
@media (max-width: 767px) {
  .header__inner {
    padding-block: 13px;
  }
}
.header__logo:hover {
  opacity: 0.7;
}
@media (max-width: 767px) {
  .header__logo {
    max-height: 13px;
  }
}
.header__menu {
  flex-grow: 1;
}
@media (max-width: 767px) {
  .header__menu {
    justify-content: flex-end;
  }
}
.header__menu-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 59px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 1279px) {
  .header__menu-list {
    gap: 40px;
  }
}
@media (max-width: 767px) {
  .header__menu-list {
    gap: 20px;
  }
}
.header__menu-item {
  margin: 0;
}
.header__menu-link {
  display: block;
  font-size: clamp(14px, 1.3541666667vw, 26px);
  font-weight: 500;
  color: var(--color-gray-alt2);
  transition: color var(--transition-duration);
  white-space: nowrap;
  text-transform: uppercase;
}
.header__menu-link:hover {
  color: var(--color-accent);
}
.header__age-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-family-base);
  font-size: clamp(18px, 1.3541666667vw, 26px);
  font-weight: 700;
  color: var(--color-gray-alt2);
  line-height: 1;
}
@media (max-width: 767px) {
  .header__age-rating {
    padding: 4px 8px;
  }
}
.header__burger-button {
  padding: 0;
  background-color: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-left: auto;
  margin-right: 16px;
  cursor: pointer;
  position: relative;
  z-index: 101;
}
.header__mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: var(--color-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, transform 0.3s ease-in-out, padding 0.3s ease-in-out;
  padding: 0 var(--container-padding-x);
}
.header--menu-open .header__mobile-menu {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  padding: 18px var(--container-padding-x) 24px;
}
.header__mobile-menu .header__menu-list {
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.logo__image {
  width: auto;
  max-height: 35px;
}
@media (max-width: 1280px) {
  .logo__image {
    max-height: 18px;
  }
}
@media (max-width: 767px) {
  .logo__image {
    max-height: 13px;
  }
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__people {
  display: flex;
  justify-content: center;
  width: 100%;
}
.hero__person {
  position: relative;
  width: 100%;
  max-width: 599px;
  aspect-ratio: 599/430;
  background: url("../images/boy-and-girl.png") center bottom/contain no-repeat;
}
@media (max-width: 1280px) {
  .hero__person {
    max-width: 344px;
  }
}
@media (max-width: 839px) {
  .hero__person {
    max-width: 112px;
  }
}
@supports not (aspect-ratio: 1) {
  .hero__person {
    padding-top: 71.78%;
  }
}
.hero__title {
  font-family: var(--font-family-title);
  font-weight: 800;
  text-align: center;
  color: var(--color-gray);
  margin-bottom: 216px;
  line-height: 1.16;
}
@media (max-width: 767px) {
  .hero__title {
    margin-bottom: 40px;
  }
}
.hero__text-box {
  border-radius: var(--border-radius-small);
  padding: 30px;
}
.hero__text-box--white {
  background: var(--color-light);
}
.hero__text-box--teal {
  background: #3c989e;
  position: relative;
  opacity: 0.8;
}
@media (max-width: 767px) {
  .hero__text-box {
    padding: 15px;
  }
}
.hero__text {
  font-family: var(--font-family-base);
  font-weight: 500;
  font-size: clamp(9px, 1.5625vw, 30px);
  line-height: 1.41;
  color: #484848;
}
.hero__text--white {
  color: var(--color-light);
}

.cta-heading {
  padding-top: 80px;
  padding-bottom: 80px;
  background: transparent;
}
@media (max-width: 1279px) {
  .cta-heading {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}
@media (max-width: 767px) {
  .cta-heading {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}
.cta-heading__inner {
  text-align: center;
}
.cta-heading__title {
  font-family: var(--font-family-title);
  font-weight: 800;
  margin-bottom: 2rem;
  color: #484848;
  line-height: 1.16;
  text-align: left;
  text-transform: none;
}
@media (max-width: 767px) {
  .cta-heading__title {
    margin-bottom: 14px;
  }
}

.questions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 33px;
}
@media (max-width: 767px) {
  .questions__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.question-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  background-color: var(--color-light);
  border-radius: var(--border-radius-small);
  padding: 40px 30px;
  height: 307px;
  transition: all var(--transition-duration);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  position: relative;
}
@media (max-width: 1480px) {
  .question-card {
    height: 204px;
    padding: 82px 26px 20px 28px;
  }
}
@media (max-width: 767px) {
  .question-card {
    min-height: auto;
    padding: 25px 20px;
  }
}
.question-card:hover {
  box-shadow: 0 4px 20px rgba(35, 125, 131, 0.15);
  transform: translateY(-2px);
}
.question-card__icon {
  position: absolute;
  top: -30%;
  right: 10%;
  height: 100%;
}
@media (max-width: 767px) {
  .question-card__icon {
    height: 40px;
    top: 10%;
    right: 10%;
  }
}
.question-card__title {
  font-size: clamp(16px, 1.5625vw, 30px);
  font-weight: 700;
  line-height: 1.24;
  color: var(--color-dark);
}

.final-cta {
  background: transparent;
  position: relative;
}
.final-cta__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.final-cta__title {
  font-family: var(--font-family-title);
  font-weight: 800;
  line-height: 1.16;
  color: var(--color-gray);
  text-transform: none;
  margin-bottom: 3rem;
  text-align: left;
}
@media (max-width: 767px) {
  .final-cta__title {
    line-height: 1.5;
  }
}
.final-cta__highlight {
  background-color: var(--color-red);
  color: var(--color-light);
  padding: 4px 6px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  font: inherit;
}
@media (max-width: 767px) {
  .final-cta__highlight {
    padding: 1px;
  }
}
.final-cta__highlight:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 3px;
}

.footer {
  padding-top: 80px;
  padding-bottom: 107px;
}
@media (max-width: 1280px) {
  .footer {
    padding-block: 50px;
  }
}
@media (max-width: 767px) {
  .footer {
    padding-top: 50px;
    padding-bottom: 40px;
  }
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 108px;
}
@media (max-width: 767px) {
  .footer__inner {
    flex-direction: column;
    gap: 0;
  }
}
.footer__illustration {
  height: 250px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 767px) {
  .footer__illustration {
    height: auto;
  }
}
.footer__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer__logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 50px;
}
@media (max-width: 767px) {
  .footer__logo img {
    max-height: 35px;
  }
}
.footer__heading {
  margin: 0;
  font-size: clamp(18px, 1.5625vw, 30px);
  font-weight: 400;
  line-height: 1.34;
  color: var(--color-gray-alt);
}
.footer__details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}
.footer__org {
  margin: 0;
  font-size: clamp(14px, 1.0416666667vw, 20px);
  line-height: 1.24;
  color: var(--color-gray);
}
.footer__address {
  font-size: clamp(12px, 1.0416666667vw, 20px);
  line-height: 1.24;
  color: var(--color-gray);
  max-width: 540px;
}
.footer__links {
  display: flex;
  gap: 30px;
  margin-top: 5px;
}
.footer__link {
  font-size: clamp(14px, 1.0416666667vw, 20px);
  color: var(--color-gray);
  transition: color var(--transition-duration);
  text-decoration: underline;
}
.footer__link:hover {
  color: var(--color-accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--button-height);
  padding: 24px;
  font-family: var(--font-family-base);
  font-size: clamp(18px, 1.9270833333vw, 37px);
  font-weight: 500;
  color: var(--color-light);
  background-color: var(--color-dark);
  border: none;
  text-transform: uppercase;
  border-radius: var(--border-radius-large);
  cursor: pointer;
  transition: all var(--transition-duration);
  white-space: nowrap;
}
@media (max-width: 1279px) {
  .button {
    padding: 0 50px;
  }
}
@media (max-width: 767px) {
  .button {
    padding: 0 35px;
    height: 56px;
  }
}
.button:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(35, 125, 131, 0.3);
}
.button:active {
  transform: translateY(0);
}
.button--green {
  background-color: var(--color-accent);
}
.button--green:hover {
  background-color: var(--color-green);
}

.section {
  padding-block: var(--section-padding-y);
}
.section--hidden-x {
  overflow-x: hidden;
}

.speech-bubble {
  position: absolute;
  font-family: var(--font-family-speech-bubbles);
  font-size: 28px;
  font-weight: 400;
  padding: 2px 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 1480px) {
  .speech-bubble {
    font-size: 20px;
    padding: 5px 20px;
  }
}
@media (max-width: 1280px) {
  .speech-bubble {
    font-size: 16px;
    padding: 3px 16px;
  }
}
@media (max-width: 839px) {
  .speech-bubble {
    font-size: 6px;
    padding: 2px 5px;
  }
}

.speech-bubble--top-left-1 {
  top: -17%;
  left: -5%;
  rotate: 30deg;
  background-color: var(--color-red);
  color: var(--color-light);
}
@media (max-width: 1480px) {
  .speech-bubble--top-left-1 {
    top: -13%;
    left: 2%;
  }
}
@media (max-width: 1280px) {
  .speech-bubble--top-left-1 {
    top: -18%;
    left: -4%;
  }
}
@media (max-width: 767px) {
  .speech-bubble--top-left-1 {
    top: -21%;
    left: -9%;
  }
}

.speech-bubble--top-left-2 {
  top: -5%;
  left: -35%;
  rotate: 15deg;
  background-color: var(--color-light);
  color: var(--color-red);
}
@media (max-width: 1480px) {
  .speech-bubble--top-left-2 {
    top: -4%;
    left: -20%;
  }
}
@media (max-width: 1280px) {
  .speech-bubble--top-left-2 {
    top: -7%;
    left: -33%;
  }
}
@media (max-width: 767px) {
  .speech-bubble--top-left-2 {
    top: -8%;
    left: -43%;
  }
}

.speech-bubble--middle-left-1 {
  top: 20%;
  left: -73%;
  background-color: var(--color-light);
  color: var(--color-red);
}
@media (max-width: 1480px) {
  .speech-bubble--middle-left-1 {
    top: 14%;
    left: -46%;
  }
}
@media (max-width: 1280px) {
  .speech-bubble--middle-left-1 {
    top: 14%;
    left: -70%;
  }
}
@media (max-width: 767px) {
  .speech-bubble--middle-left-1 {
    top: 18%;
    left: -86%;
  }
}

.speech-bubble--middle-left-2 {
  top: 40%;
  left: -55%;
  rotate: -9deg;
  background-color: var(--color-light);
  color: var(--color-red);
}
@media (max-width: 1480px) {
  .speech-bubble--middle-left-2 {
    top: 33%;
    left: -36%;
  }
}
@media (max-width: 1280px) {
  .speech-bubble--middle-left-2 {
    top: 33%;
    left: -55%;
  }
}
@media (max-width: 767px) {
  .speech-bubble--middle-left-2 {
    top: 43%;
    left: -64%;
  }
}

.speech-bubble--bottom-left-1 {
  top: 54%;
  left: -14%;
  rotate: -12deg;
  background-color: var(--color-red);
  color: var(--color-light);
}
@media (max-width: 1480px) {
  .speech-bubble--bottom-left-1 {
    top: 44%;
    left: -4%;
  }
}
@media (max-width: 1280px) {
  .speech-bubble--bottom-left-1 {
    top: 43%;
    left: -7%;
  }
}
@media (max-width: 767px) {
  .speech-bubble--bottom-left-1 {
    top: 59%;
    left: -19%;
  }
}

.speech-bubble--top-right-1 {
  top: -17%;
  right: -10%;
  rotate: -21deg;
  background-color: var(--color-green);
  color: var(--color-light);
}
@media (max-width: 1480px) {
  .speech-bubble--top-right-1 {
    top: -7%;
    right: -6%;
  }
}
@media (max-width: 1280px) {
  .speech-bubble--top-right-1 {
    top: -13%;
    right: -13%;
  }
}
@media (max-width: 767px) {
  .speech-bubble--top-right-1 {
    top: -13%;
    right: -25%;
  }
}

.speech-bubble--top-right-2 {
  top: -5%;
  right: -40%;
  rotate: -12deg;
  background-color: var(--color-light);
  color: var(--color-green);
}
@media (max-width: 1480px) {
  .speech-bubble--top-right-2 {
    top: 3%;
    right: -27%;
  }
}
@media (max-width: 1280px) {
  .speech-bubble--top-right-2 {
    top: -2%;
    right: -44%;
  }
}
@media (max-width: 767px) {
  .speech-bubble--top-right-2 {
    top: 4%;
    right: -61%;
  }
}

.speech-bubble--middle-right-1 {
  top: 10%;
  right: -62%;
  rotate: -6deg;
  background-color: var(--color-light);
  color: var(--color-green);
}
@media (max-width: 1480px) {
  .speech-bubble--middle-right-1 {
    top: 16%;
    right: -40%;
  }
}
@media (max-width: 1280px) {
  .speech-bubble--middle-right-1 {
    top: 15%;
    right: -63%;
  }
}
@media (max-width: 767px) {
  .speech-bubble--middle-right-1 {
    top: 25%;
    right: -81%;
  }
}

.speech-bubble--middle-right-2 {
  top: 31%;
  right: -61%;
  rotate: 3deg;
  background-color: var(--color-light);
  color: #23755a;
}
@media (max-width: 1480px) {
  .speech-bubble--middle-right-2 {
    top: 31%;
    right: -40%;
  }
}
@media (max-width: 1280px) {
  .speech-bubble--middle-right-2 {
    top: 36%;
    right: -62%;
  }
}
@media (max-width: 767px) {
  .speech-bubble--middle-right-2 {
    top: 51%;
    right: -81%;
  }
}

.speech-bubble--middle-right-3 {
  top: 49%;
  right: -57%;
  background-color: var(--color-light);
  rotate: 8deg;
  color: var(--color-green);
}
@media (max-width: 1480px) {
  .speech-bubble--middle-right-3 {
    top: 46%;
    right: -37%;
  }
}
@media (max-width: 1280px) {
  .speech-bubble--middle-right-3 {
    top: 53%;
    right: -55%;
  }
}
@media (max-width: 767px) {
  .speech-bubble--middle-right-3 {
    top: 71%;
    right: -79%;
  }
}

.speech-bubble--bottom-right-1 {
  top: 66%;
  right: -39%;
  rotate: 18deg;
  background-color: var(--color-green);
  color: var(--color-light);
}
@media (max-width: 1480px) {
  .speech-bubble--bottom-right-1 {
    top: 60%;
    right: -24%;
  }
}
@media (max-width: 1280px) {
  .speech-bubble--bottom-right-1 {
    top: 69%;
    right: -36%;
  }
}
@media (max-width: 767px) {
  .speech-bubble--bottom-right-1 {
    top: 88%;
    right: -49%;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
@media (max-width: 767px) {
  .modal-overlay {
    align-items: flex-start;
  }
}

.modal-overlay[aria-hidden=false] {
  display: flex;
}

.modal {
  background: var(--color-light);
  border-radius: var(--border-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  width: min(857px, 92vw);
  padding: 80px 55px;
  position: relative;
}
@media (max-width: 767px) {
  .modal {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}
.modal__title {
  font-size: clamp(12px, 1.5625vw, 30px);
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 12px;
}
.modal__text {
  font-size: clamp(14px, 0.9375vw, 18px);
  line-height: 1.24;
  color: var(--color-dark);
  margin-bottom: 44px;
}
.modal__button {
  font-size: clamp(11px, 1.4583333333vw, 28px);
  line-height: 1.24;
  padding: 12px;
  background-color: var(--color-red);
  color: var(--color-light);
  transition: all var(--transition-duration);
  width: 100%;
  border-radius: var(--border-radius);
  text-align: center;
  display: block;
}
.modal__button:hover {
  background-color: var(--color-accent);
}
.modal__close {
  position: absolute;
  background-image: url("../images/close.svg");
  background-color: transparent;
  background-repeat: no-repeat;
  top: 40px;
  right: 40px;
  width: 36px;
  color: transparent;
  height: 36px;
  border: none;
  cursor: pointer;
}
.modal__close:hover {
  background-color: transparent;
  opacity: 0.6;
}

.contact-modal {
  background: #dbe4e4;
  padding: 48px 42px 36px;
  width: min(980px, 94vw);
}
@media (max-width: 767px) {
  .contact-modal {
    padding: 32px 24px;
    width: 100%;
    height: 100%;
  }
}
.contact-modal__title {
  font-size: clamp(28px, 2.5vw, 48px);
  font-family: var(--font-family-title);
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.15;
  margin-bottom: 14px;
}
.contact-modal__lead {
  font-size: clamp(15px, 1.0416666667vw, 20px);
  line-height: 1.4;
  color: var(--color-gray);
  margin-bottom: 28px;
}
.contact-modal__lead a {
  color: var(--color-red);
  font-weight: 700;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin-bottom: 18px;
}
@media (max-width: 767px) {
  .contact-form__grid {
    grid-template-columns: 1fr;
  }
}
.contact-form__field {
  width: 100%;
}
.contact-form__field--wide {
  grid-column: 1/-1;
}
.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--border-radius);
  background: #e6efee;
  padding: 18px 22px;
  font: inherit;
  color: var(--color-gray);
  transition: border-color var(--transition-duration), box-shadow var(--transition-duration);
  outline: none;
}
.contact-form__field input::-moz-placeholder, .contact-form__field textarea::-moz-placeholder {
  color: var(--color-gray-alt2);
  opacity: 0.9;
}
.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: var(--color-gray-alt2);
  opacity: 0.9;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(190, 72, 74, 0.15);
}
.contact-form__field textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.4;
}
.contact-form__consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--color-gray);
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 18px;
}
@media (max-width: 767px) {
  .contact-form__consent {
    font-size: 12px;
  }
}
.contact-form__consent a {
  color: var(--color-red);
  font-weight: 700;
  text-decoration: none;
}
.contact-form__consent a:hover {
  text-decoration: underline;
}
.contact-form__checkbox {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--color-red);
  flex-shrink: 0;
}
.contact-form__status {
  min-height: 20px;
  margin-bottom: 10px;
  color: var(--color-gray);
  font-size: 14px;
}
.contact-form__submit {
  width: 100%;
  height: 78px;
  border: none;
  border-radius: 36px;
  background: var(--color-red);
  color: var(--color-light);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color var(--transition-duration);
  font-size: clamp(14px, 1.1458333333vw, 22px);
}
.contact-form__submit:hover {
  background: var(--color-accent);
}/*# sourceMappingURL=styles.css.map */