*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  transition: all .3s;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  color: #333;
  font-family: "Nunito Sans", sans-serif;
}

ul {
  list-style: none;
}

a {
  color: #000;
  cursor: pointer;
  text-decoration: unset;
}

h1 {
  font-size: 80px;
  font-weight: 700;
  line-height: 125%;
  letter-spacing: -1.6px;
}

h2 {
  font-size: 70px;
  font-weight: 700;
  line-height: 125%;
  letter-spacing: -1.4px;
}
@media (max-width: 480px) {
  h2 {
    font-size: 28px;
  }
}

.container {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 1136px;
  padding: 0 18px;
}

.pre-header {
  padding: 10px 0;
  background: #FAE348;
  border-radius: 0 0 10px 10px;
}
.pre-header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pre-header__contacts {
  gap: 25px;
  display: flex;
  align-items: center;
}
.pre-header__contacts-link {
  color: #009CB1;
  font-size: 16px;
  line-height: 120%;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
}
.pre-header__contacts-link__icon {
  max-width: 22px;
}
.pre-header__contacts-divider {
  width: 1px;
  height: 18px;
  background-color: #009CB1;
}
.pre-header__social {
  display: flex;
  gap: 17px;
}
.pre-header__social-link {
  max-height: 30px;
}

.header {
  padding-top: 30px;
}
.header__inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.header__logo {
  gap: 4px;
  display: flex;
  align-items: center;
}
.header__logo-icon {
  width: 36px;
  height: 36px;
}
.header__logo-name {
  color: #000;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.header__menu {
  gap: 60px;
  display: flex;
  align-items: center;
}
.header__menu-nav__list {
  gap: 40px;
  display: flex;
  align-items: center;
}
.header__menu-nav__list li a {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0.07px;
}
.header__menu-nav__phone {
  display: none;
}
.header__menu-phone {
  color: #FFF;
  font-size: 18px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 8px;
  background-color: #009CB1;
  border: 2px solid #009CB1;
}
.header__menu-toggle {
  display: none;
}
.header__menu-toggle__burger {
  display: none;
}
.header__menu-toggle__cross {
  display: none;
}

.footer {
  background-color: #333;
  color: #fff;
  padding: 65px 0 50px;
}
.footer a {
  color: #fff;
}
.footer__container {
  width: 100%;
  margin: 0 auto;
  max-width: 1276px;
  padding: 0 18px;
}
.footer__inner {
  width: 100%;
}
.footer__main {
  padding-bottom: 49px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer__main-summary__logo {
  font-size: 26px;
  font-weight: 900;
  line-height: 113.5%;
  letter-spacing: 0.13px;
  margin-bottom: 48px;
}
.footer__main-summary__copyright {
  font-size: 14px;
  max-width: 244px;
  line-height: 152%;
  letter-spacing: 0.07px;
}
.footer__main-sitemap__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.09px;
  margin-bottom: 16px;
}
.footer__main-sitemap__links ul li + li {
  margin-top: 11px;
}
.footer__main-sitemap__links ul li a {
  font-size: 14px;
  letter-spacing: 0.07px;
  text-transform: uppercase;
}
.footer__main-contacts__title {
  font-size: 18px;
  line-height: 140%;
  margin-bottom: 12px;
}
.footer__main-contacts__cta {
  font-size: 14px;
  line-height: 155.5%;
  letter-spacing: 0.07px;
  margin-bottom: 6px;
}
.footer__main-contacts__phone {
  display: flex;
  height: 52px;
  margin-bottom: 29px;
}
.footer__main-contacts__phone .footer__contacts-phone__number {
  color: #009CB1;
  font-size: 20px;
  font-weight: 700;
  line-height: 113.5%;
  letter-spacing: 1px;
  border-radius: 0 0 0 10px;
  background-color: #fff;
  padding: 16px 0 16px 16px;
  max-width: 230px;
  width: 100%;
  border: 2px solid #fff;
}
.footer__main-contacts__phone .footer__contacts-phone__link {
  background-color: #009CB1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 69px;
  border-radius: 0 10px 0 0;
}
.footer__main-contacts__social {
  display: flex;
  gap: 20px;
}
.footer__main-scroll {
  border-radius: 10px 0;
  background-color: #fff;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.15);
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer__bottom {
  gap: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.footer__bottom-privacy {
  gap: 35px;
  display: flex;
  align-items: center;
}
.fixed-phone {
  display: none;
}

@media (max-width: 950px) {
  .pre-header {
    display: none;
  }

  .header {
    padding-top: 20px;
  }
  .header__menu {
    gap: 20px;
  }
  .header__menu-nav__list {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .pre-header.opened {
    display: block;
    border-radius: unset;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  .pre-header.opened .pre-header__contacts-divider, .pre-header.opened .pre-header__contacts-link:last-child {
    display: none;
  }
  .pre-header.opened .pre-header__social {
    gap: 10px;
  }
  .pre-header.opened .pre-header__social-link:first-child {
    display: none;
  }

  .pre-header.opened ~ main::before {
    content: '';
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: #393939B2;
    z-index: 10;
  }

  .header__inner {
    align-items: center;
  }
  .header__menu-nav {
    position: absolute;
    background-color: #fff;
    left: 0;
    right: 0;
    top: 50px;
    z-index: 1000;
    padding: 13px 18px 37px 18px;
    display: none;
  }
  .header__menu-nav.opened {
    display: block;
  }
  .header__menu-nav__list {
    display: block;
    margin-bottom: 70px;
  }
  .header__menu-nav__list li {
    padding: 20px 0;
  }
  .header__menu-nav__list li a {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 113.5%;
    letter-spacing: 0.12px;
    padding: 20px 0;
  }
  .header__menu-nav__phone {
    display: block;
    border-radius: 10px 0;
    background-color: #FAE348;
    width: 100%;
    max-width: 357px;
    color: #333;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 140%;
    text-transform: uppercase;
    padding: 10px 0;
  }
  .header__menu-nav__phone div {
    text-decoration: underline;
  }
  .header__menu-phone {
    display: none;
  }
  .header__menu-toggle {
    display: block;
    background-color: unset;
    border: unset;
    cursor: pointer;
  }
  .header__menu-toggle__burger {
    display: block;
  }
  .header__menu-toggle.opened {
    position: absolute;
    z-index: 1001;
    top: 63px;
    right: 18px;
  }
  .header__menu-toggle.opened .header__menu-toggle__burger {
    display: none;
  }
  .header__menu-toggle.opened .header__menu-toggle__cross {
    display: block;
  }
}

@media (max-width: 480px) {
  .pre-header.opened .pre-header__contacts-link:first-child {
    font-size: 14px;
    color: #000;
    gap: 8px;
  }
  .pre-header__social-link img {
    width: 24px;
    height: 24px;
  }

  .footer {
    padding: 20px 0 120px;
  }
  .footer__main {
    gap: 28px;
  }
  .footer__main-summary__logo {
    margin-bottom: 24px;
  }
  .footer__main-summary__copyright {
    max-width: unset;
  }
  .footer__main-contacts {
    width: 100%;
  }
  .footer__main-contacts__social {
    justify-content: space-between;
  }
  .footer__main-scroll {
    display: none;
  }
  .fixed-phone {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 0 10px 5px;
  }
  .fixed-phone__inner {
    background-color: #FAE348;
    border: 1px solid #FAE348;
    padding: 15px 0;
    display: inline-flex;
    border-radius: 0 20px;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    width: 100%;
  }
  .fixed-phone__text {
    width: 100%;
    transition: unset;
  }
  .fixed-phone__number {
    width: 100%;
    text-decoration: underline;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: unset;
  }
  .fixed-phone__number svg {
    margin-left: -24px;
  }
}

@media (max-width: 400px) {
  .footer a {
    font-size: 12px;
  }
}

@media (hover: hover) {
  .pre-header__contacts-link:hover, .pre-header__social-link:hover {
    opacity: .6;
  }

  .header__logo:hover {
    opacity: .6;
  }
  .header__menu-phone:hover {
    color: #009CB1;
    background-color: #fff;
  }
  .header__menu-nav__list li a:hover {
    color: #009CB1;
  }

  .footer__contacts-phone__link:hover {
    background-color: #fff;
  }
  .footer__contacts-phone__link:hover svg path {
    fill: #009CB1;
  }
  .footer__main-scroll:hover {
    background-color: #009CB1;
  }
  .footer__main-scroll:hover svg path {
    fill: #fff;
  }
  .footer__main-sitemap__links ul li a:hover {
    color: #009CB1;
  }
  .footer__main-contacts__social a:hover {
    opacity: .6;
  }
  .footer__bottom a:hover {
    color: #009CB1;
  }
}

@media (hover: none) {
  .pre-header__contacts-link:active, .pre-header__social-link:active {
    opacity: .6;
  }

  .header__logo:active {
    opacity: .6;
  }
  .header__menu-phone:active {
    color: #009CB1;
    background-color: #fff;
  }
  .header__menu-nav__list li a:active {
    color: #009CB1;
  }

  .footer__contacts-phone__link:active {
    background-color: #fff;
  }
  .footer__contacts-phone__link:active svg path {
    fill: #009CB1;
  }
  .footer__main-scroll:active {
    background-color: #009CB1;
  }
  .footer__main-scroll:active svg path {
    fill: #fff;
  }
  .footer__main-sitemap__links ul li a:active {
    color: #009CB1;
  }
  .footer__main-contacts__social a:active {
    opacity: .6;
  }
  .footer__bottom a:active {
    color: #009CB1;
  }
}