@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --font-family: "Montserrat", sans-serif;
  --second-family: "Inter", sans-serif;
  --third-family: "Roboto Condensed", sans-serif;
  --font3: "Arial", sans-serif;
  --font4: "Lato", sans-serif;
  --font5: "Anek Latin", sans-serif;
  --font6: "Tahoma", sans-serif;
}

:root {
  --krasnyy: #d24a43;
  --glavnyy-seryy: #414141;
  --chernyy: #090909;
  --belyy: #fdfdfd;
  --dop-seryy: #e6e6e6;
  --siniy: #5471b2;
  --fonovyy-goluboy: rgba(0, 0, 0, 0.2);
  --fon-goluboy: rgba(84, 113, 178, 0.1);
  --cvet-futera: #101623;
  --temno-seryy-fon: #414141;
}

.none {
  display: none !important;
}

body {
  margin: 0;
  padding: 0;
}

::marker {
  padding-left: 50px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
  font-family: var(--font-family);
}

a {
  text-decoration: none;
}

a,
button,
svg,
picture,
img,
div {
  transition: 0.2s;
}

ul,
ol,
li {
  padding: 0;
  list-style-type: none;
  margin: 0;
}

a:hover {
  opacity: 0.6;
  cursor: pointer;
}

.wrapper {
  max-width: 1172px;
  width: 100%;
  margin: 0 auto;
}

.header,
.excellence {
  padding-top: 40px;
  padding-bottom: 40px;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.logo__mobile {
  display: none;
}

.promo__right_blanket {
  display: none;
}

.nav__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}

.right__bottom {
  display: flex;
  gap: 0px;
  align-items: center;
}

.right__top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.right__top a {
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: var(--chernyy);
}

.right__bottom .nav__item a {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 22px;
  line-height: 109%;
  text-align: right;
  color: var(--glavnyy-seryy);
}

.right__bottom .nav__item:last-child a {
  font-weight: 400;
  font-size: 18px;
  line-height: 133%;
  text-align: right;
  color: var(--chernyy);
  border: 1px solid var(--chernyy);
  border-radius: 6px;
  padding: 8px 24px;
  width: auto;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer {
  padding-top: 40px;
  background: var(--cvet-futera);
  height: auto;
}

.footer__upper {
  display: flex;
}

.footer__upper_item {
  display: flex;
  flex-direction: column;
  margin-right: 140px;
}

.footer__upper_contacts {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  gap: 16px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 133%;
  color: var(--belyy);
}

.footer__link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 133%;
  color: var(--belyy);
}

.btn__footer {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 12px;
  line-height: 200%;
  text-align: right;
  color: var(--belyy);
  border: 1px solid var(--dop-seryy);
  border-radius: 4px;
  padding: 4px 16px;
  width: auto;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn__footer svg {
  fill: var(--belyy);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--dop-seryy);
  margin-top: 20px;
  padding: 0px 0px 20px;
  width: 100%;
  height: 44px;
}

.footer__bottom a {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  text-align: right;
  color: var(--belyy);
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer__policy {
  display: flex;
  padding-top: 40px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
}

.policy__docs {
  display: flex;
  gap: 40px;
}

.policy__title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dop-seryy);
}

.policy__docs a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  text-align: right;
  color: var(--dop-seryy);
}

.footer__upper_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 10px;
  margin-top: 40px;
}

.upper__list_title {
  color: white;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: var(--dop-seryy);
}

.footer__upper_list .footer__upper_item a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--belyy);
}

.footer__upper_list .footer__upper_item {
  display: block;
}

.footer__upper_list .footer__upper_item:nth-child(1) a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dop-seryy);
  margin-bottom: 30px;
}

.form__checkbox {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* Меню с продуктами */
:root {
  --bg: #fff;
  --text: #1e1e1e;
  --muted: #767676;
  --border: #e6e6e6;
  --radius: 14px;
  --gap: 14px;
  --shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

/* Обёртка модального окна */
.products-modal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 20px;
  width: 60%;
  margin: auto;
  position: absolute;
  display: none;
  left: calc(40% / 2);
  z-index: 2;
}

.nav__item {
  padding: 15px;
}

.nav__item:hover .products-modal {
  top: 150px;
  display: block;
}

/* Сетка */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gap);
}

/* Карточка-ссылка */
.product {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  grid-column-gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  background: #fafafa;
  transition: transform .1s ease, box-shadow .2s ease, background .2s ease;
}

.product:hover {
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  transform: translateY(-2px);
}

/* Кружок-иконка */
.badge {
  grid-row: 1 / span 2;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #eaf3ff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  color: #0c4cc9;
  border: 1px solid rgba(0, 0, 0, .06);
}

.badge::after {
  content: attr(data-short);
}

/* Подписи */
.brand {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.2;
}

.title {
  font-size: 15px;
  line-height: 1.35;
}

/* Адаптив */
@media (max-width:540px) {
  .nav__item:hover .products-modal {
    display: none;
  }
  
  .product {
    grid-template-columns: 48px 1fr;
    padding: 10px;
  }

  .badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 18px;
  }
}