:root {
  --bg: #f3f4f6;
  --white: #ffffff;
  --text: #15171c;
  --nav: #8b919c;
  --nav-hover: #1c1f26;
  --phone: #2a2e36;
  --soft: #9aa1ab;
  --leaf: #3dcc4a;
  --shadow: 0 10px 30px rgba(22, 28, 40, 0.06);
  --radius: 20px;
  --header-max: 1392px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--white);
  color: var(--text);
  font-family: Manrope, "Segoe UI", sans-serif;
}

.hero-screen {
  margin: 32px 32px 0;
  overflow: hidden;
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, rgba(18, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 17, 17, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  border-radius: 40px;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

.site-header {
  padding: 20px 24px 0;
}

.site-header__bar {
  display: flex;
  align-items: center;
  max-width: var(--header-max);
  min-height: 76px;
  margin: 0 auto;
  padding: 12px 28px 12px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.logo {
  display: inline-flex;
  flex: 0 0 auto;
}

.logo img {
  display: block;
  width: 148px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 48px;
}

.site-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--nav);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--nav-hover);
}

.site-header__phone {
  margin-left: auto;
  font-size: 15px;
  font-weight: 600;
  color: var(--phone);
  white-space: nowrap;
}

.site-header__phone:hover,
.site-header__phone:focus-visible {
  color: #000;
}

.site-header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
}

.site-header__burger-lines,
.site-header__burger-lines::before,
.site-header__burger-lines::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #1c1f26;
  border-radius: 1px;
}

.site-header__burger-lines {
  position: relative;
}

.site-header__burger-lines::before,
.site-header__burger-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-header__burger-lines::before {
  top: -6px;
}

.site-header__burger-lines::after {
  top: 6px;
}

.mobile-menu {
  max-width: var(--header-max);
  margin: 8px auto 0;
}

.mobile-menu__panel {
  padding: 18px 20px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mobile-menu__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.mobile-menu__close {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}

.mobile-menu__close span[aria-hidden="true"] {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
}

.mobile-menu__close span[aria-hidden="true"]::before,
.mobile-menu__close span[aria-hidden="true"]::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: #1c1f26;
  border-radius: 1px;
}

.mobile-menu__close span[aria-hidden="true"]::before {
  transform: rotate(45deg);
}

.mobile-menu__close span[aria-hidden="true"]::after {
  transform: rotate(-45deg);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 36px;
}

.mobile-menu__nav a {
  font-size: 18px;
  font-weight: 600;
  color: #1c1f26;
}

.mobile-menu__nav a:hover,
.mobile-menu__nav a:focus-visible {
  color: #000;
}

.mobile-menu__phone {
  display: inline-block;
  margin-top: 32px;
  font-size: 16px;
  font-weight: 600;
  color: var(--phone);
}

@media (max-width: 1100px) {
  .hero-screen {
    margin: 20px 16px 0;
    border-radius: 28px;
  }

  .site-nav,
  .site-header__phone {
    display: none;
  }

  .site-header__burger {
    display: inline-flex;
  }

  .site-header {
    padding: 12px 12px 0;
  }

  .site-header__bar {
    min-height: 64px;
    padding: 10px 14px 10px 16px;
    border-radius: 16px;
  }

  .logo img {
    width: 124px;
  }

  .site-header.is-open .site-header__bar {
    display: none;
  }
}

@media (min-width: 1101px) {
  .mobile-menu {
    display: none;
  }
}
