:root {
  --green: #00a04b;
  --green-light: #6ccb22;
  --header: #282828;
  --red: #d90510;
  --ink: #101010;
  --muted: #666666;
  --white: #ffffff;
  --menu-line: #2a2a2a;
  --shadow: 0 18px 50px rgba(0, 0, 0, .24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.page {
  min-height: 100vh;
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: 80px;
  display: grid;
  grid-template-columns: 170px minmax(650px, 1fr) 196px 30px 184px;
  align-items: center;
  gap: 20px;
  padding: 0 40px;
  background: var(--header);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 140px;
  height: 58px;
}

.brand img {
  display: block;
  width: 140px;
  max-height: 58px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--green);
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .2s ease, transform .2s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.site-header.is-mega-open .nav-link--mega::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-link--arrow {
  padding-right: 13px;
}

.nav-link--arrow::before {
  content: "";
  position: absolute;
  right: 0;
  top: 17px;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform .2s ease;
}

.site-header.is-mega-open .nav-link--mega::before {
  transform: rotate(180deg);
}

.header-contacts {
  min-width: 196px;
  text-align: right;
  line-height: 1.22;
}

.header-phone,
.header-mail {
  display: block;
  text-decoration: none;
}

.header-phone {
  color: #00d161;
  font-size: 16px;
}

.header-mail {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.whatsapp-link {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: #333333;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.quote-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 184px;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 5px;
  background: var(--green);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.quote-link:hover,
.quote-link:focus-visible,
.hero__button:hover,
.hero__button:focus-visible {
  background: var(--green-light);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  background: #000000;
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: var(--shadow);
}

.site-header.is-mega-open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu__inner {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  padding: 28px 0 34px;
}

.mega-menu__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}

.mega-menu__head span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mega-menu__head h2 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.12;
}

.mega-menu__head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--menu-line);
  border-left: 1px solid var(--menu-line);
}

.mega-card {
  min-height: 292px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 13px;
  padding: 18px;
  border-right: 1px solid var(--menu-line);
  border-bottom: 1px solid var(--menu-line);
  color: var(--white);
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.mega-card:hover,
.mega-card:focus-visible {
  background: #111111;
  transform: translateY(-2px);
  outline: none;
}

.mega-card__title {
  min-height: 45px;
  margin: 0;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 800;
  line-height: 1.16;
  text-transform: uppercase;
}

.mega-card__media {
  min-height: 128px;
  overflow: hidden;
  border-radius: 4px;
}

.mega-card__media img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
  opacity: .9;
  transition: opacity .2s ease, transform .2s ease;
}

.mega-card:hover img,
.mega-card:focus-visible img {
  opacity: 1;
  transform: scale(1.03);
}

.mega-card__links {
  display: grid;
  gap: 4px;
  min-height: 82px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-card__links span {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.35;
}

.hero {
  position: relative;
  min-height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 125px 24px 140px;
  overflow: hidden;
  background: url("assets/hero-store.jpg") center / cover no-repeat;
  color: var(--white);
  text-align: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .48);
}

.hero__content {
  position: relative;
  z-index: 1;
  transform: translateY(-8px);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(44px, 4.1vw, 60px);
  font-weight: 800;
  line-height: 1.28;
  text-transform: uppercase;
}

.hero__lead {
  margin: 0 0 48px;
  font-size: clamp(22px, 2vw, 28px);
}

.hero__sublead {
  margin: 0 0 58px;
  font-size: clamp(20px, 1.8vw, 24px);
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  min-height: 72px;
  padding: 0 28px;
  border-radius: 5px;
  background: var(--green);
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.benefits {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  width: min(1216px, calc(100% - 96px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  transform: translateX(-50%);
}

.benefit-card {
  min-height: 120px;
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 7px;
  background: #2b2b2b;
  text-align: left;
}

.benefit-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.benefit-card p {
  margin: 0;
  color: var(--white);
  font-size: 16px;
  line-height: 1.42;
}

.ticker {
  position: relative;
  overflow: hidden;
  min-height: 70px;
  display: flex;
  align-items: center;
  background: var(--red);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 27s linear infinite;
}

.ticker__track span {
  display: inline-block;
  padding-right: 24px;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.intro-line {
  padding: 18px 0 42px;
}

.intro-line h2 {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.2;
}

.intro-line span {
  display: inline-block;
  width: 3px;
  height: 34px;
  margin-left: 8px;
  background: #62c892;
  vertical-align: -7px;
}

.catalog-section {
  padding: 0 0 90px;
}

.catalog-heading {
  max-width: 960px;
  margin: 0 auto 52px;
  text-align: center;
}

.catalog-heading h2 {
  margin: 0 0 12px;
  color: #6a6a6a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(35px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.catalog-heading p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.42;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
}

.catalog-card {
  position: relative;
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  background: #222222;
}

.catalog-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}

.catalog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .42);
  transition: background .24s ease;
}

.catalog-card strong {
  position: relative;
  z-index: 1;
  width: min(310px, calc(100% - 32px));
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.16;
  text-align: center;
}

.catalog-card:hover img,
.catalog-card:focus-visible img {
  transform: scale(1.04);
}

.catalog-card:hover::after,
.catalog-card:focus-visible::after {
  background: rgba(0, 0, 0, .32);
}

.side-button {
  position: fixed;
  right: 20px;
  top: 105px;
  z-index: 35;
  width: 40px;
  height: 40px;
  border: 1px solid #9b9b9b;
  border-radius: 50%;
  background: #efefef;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

.side-button::before,
.side-button::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.side-button::before {
  left: 11px;
  top: 10px;
  width: 13px;
  height: 13px;
  border: 1px solid #303030;
}

.side-button::after {
  left: 23px;
  top: 23px;
  width: 9px;
  height: 1px;
  background: #303030;
  transform: rotate(-45deg);
  transform-origin: left center;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 150px 1fr auto auto;
    gap: 18px;
    padding: 0 24px;
  }

  .main-nav {
    gap: 22px;
  }

  .quote-link {
    display: none;
  }

  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(760px, calc(100% - 48px));
  }

  .hero {
    min-height: 860px;
    padding-bottom: 300px;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 76px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 14px;
  }

  .brand {
    width: 88px;
    height: 46px;
  }

  .brand img {
    width: 88px;
    max-height: 46px;
  }

  .mobile-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    order: 10;
    flex: 0 0 100%;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.16);
    background: #222222;
  }

  .site-header.is-nav-open .main-nav {
    display: flex;
  }

  .nav-link {
    justify-content: flex-start;
    min-height: 42px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
  }

  .nav-link--arrow::before {
    top: 16px;
  }

  .header-contacts {
    order: 2;
    min-width: auto;
    margin-left: auto;
    text-align: right;
  }

  .header-phone {
    font-size: 12px;
  }

  .header-mail,
  .whatsapp-link,
  .quote-link {
    display: none;
  }

  .mega-menu {
    max-height: calc(100vh - 76px);
  }

  .mega-menu__inner {
    width: min(100% - 28px, 1240px);
    padding: 24px 0;
  }

  .mega-menu__head {
    display: block;
  }

  .mega-menu__head a {
    margin-top: 14px;
  }

  .mega-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .mega-card {
    min-height: 0;
  }

  .hero {
    min-height: 830px;
    padding: 118px 18px 390px;
    align-items: start;
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .hero__lead {
    margin-bottom: 34px;
  }

  .hero__sublead {
    margin-bottom: 38px;
  }

  .hero__button {
    min-height: 58px;
    min-width: 220px;
  }

  .benefits {
    bottom: 20px;
    grid-template-columns: 1fr;
    gap: 12px;
    width: min(420px, calc(100% - 28px));
  }

  .benefit-card {
    min-height: 96px;
    grid-template-columns: 70px 1fr;
    gap: 14px;
    padding: 14px 18px;
  }

  .benefit-card img {
    width: 58px;
    height: 58px;
  }

  .benefit-card p {
    font-size: 15px;
  }

  .ticker {
    min-height: 58px;
    font-size: 16px;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .intro-line {
    padding: 18px 0 32px;
  }

  .catalog-heading {
    margin-bottom: 30px;
  }

  .catalog-heading p {
    font-size: 20px;
  }

  .catalog-card {
    min-height: 260px;
  }

  .side-button {
    display: none;
  }
}

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

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