/* ===== Обнуление и базовая настройка только внутри .page-frontend ===== */
.page-frontend,
.page-frontend * {
  box-sizing: border-box;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}

.page-frontend {
  font-family: 'Manrope', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  scroll-behavior: smooth;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 100%;
  margin: 0;
}

.site-main {
  flex: 1;
  position: relative;
}

/* ===== Общие ===== */

.btn-icon-rounded {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.btn-primary {
  color: var(--color-text);
  background: linear-gradient(90deg, #E98200 0%, #FFAC42 100%);
  border: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    color: var(--color-primary);
    background: var(--color-bg-light);
  }
}

.btn-ghost {
  border: none;
  background-color: rgba(173, 168, 168, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-text);
  transition: background-color 0.2s ease;
}

.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(110deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover {
    background-color: var(--color-primary);
  }
}

.section-header {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding-bottom: 35px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--color-primary);
}

.section-header--light {
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.section-title {
  margin: 0;
  color: var(--color-text);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.section-title--light {
  color: var(--color-text-dark);
}

.highlighted-text {
  color: var(--color-primary);
}

.muted-text {
  opacity: 0.5;
}

.semi-bold-text {
  font-weight: 600;
}

.show-more-btn {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 65px;
  border: none;
  border-radius: 3px;
  outline: none;
  margin: 20px 0 0 0;
  padding: 20px;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.show-more-btn .show-more-btn__text--open {
  display: none;
}
.show-more-btn.open .show-more-btn__text--closed {
  display: none;
}
.show-more-btn.open .show-more-btn__text--open {
  display: inline;
}
.show-more-btn.open svg {
  transform: rotate(180deg);
}

.hidden-content {
  display: none;
}
.hidden-content.show {
  display: flex;
}

@media (hover: hover) and (pointer: fine) {
  .show-more-btn:hover {
    cursor: pointer;
    background-color: var(--color-bg-light);
    color: var(--color-primary);
  }
}

@media (max-width: 1200px) {
  .section-header {
    padding-bottom: 25px;
    gap: 10px;
  }

  .section-header svg {
    width: 18px;
    height: 18px;
  }

  .section-title {
    font-size: 24px;
    line-height: 1.2;
  }
}

@media (max-width: 1000px) {
  .show-more-btn {
    margin-top: 10px;
    font-size: 14px;
  }

  .show-more-btn svg {
    width: 17px;
    height: 17px;
  }
}

/* ===== Хидер ===== */

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 90px;
  z-index: 100;
}

.site-header__content-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.site-header__logo-wrapper {
  width: 61px;
  height: 60px;
}

.site-header__logo {
  width: 61px;
  height: 60px;
  color: var(--color-text);
}

.site-header__nav {
  height: 100%;
}

.site-header__menu {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.site-header__menu-item {
  height: 100%;
  transition: color 0.3s ease;
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .site-header__menu-item:hover {
    color: var(--color-primary);
  }
}

.site-header__menu-item:active {
  color: var(--color-primary);
}

.site-header__menu-link {
  width: 100%;
  height: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  gap: 6px;
  transition: color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .site-header__menu-link:hover {
    color: var(--color-primary);
  }
}

.site-header__menu-link:active {
  color: var(--color-primary);
}

.site-header__menu-link--button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown--open .site-header__menu-link--button {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
}

.site-header__menu-arrow {
  transition: transform 0.3s ease;
}

.dropdown--open .site-header__menu-arrow {
  transform: rotate(180deg);
}

.site-header__submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: -0;
  background-color: var(--color-bg-light);
  min-width: 100%;
  padding: 10px 0;
  list-style: none;
  box-shadow: 0px 45px 50px 0px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-radius: 0 0 3px 3px;
}

.dropdown--open .site-header__submenu {
  display: block;
}

.site-header__submenu-link {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--color-text-dark);
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: -0.9px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-header__submenu-link:hover {
  cursor: pointer;
  color: var(--color-primary);
}

.site-header__btns-group {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.site-header__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  background-color: transparent;
  border: none;
  color: var(--color-text);
  transition: color 0.2s ease;
  opacity: 1;
  padding: 0;
}

@media (hover: hover) and (pointer: fine) {
  .site-header__btn:hover {
    cursor: pointer;
    color: var(--color-primary);
  }
}

.site-header--mobile {
  display: none;
}

@media (max-width: 1200px) {
  .site-header--desktop {
    display: none;
  }

  .site-header--mobile {
    width: 100%;
    background-color: var(--color-bg);
    display: block;
    height: 60px;
    width: 100%;
    left: auto;
    transform: none;
    top: auto;
  }

  .site-header--mobile.open {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
    background-color: var(--color-bg);
  }

  .site-header--mobile.open::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    z-index: 100;
  }

  .site--header-mobile__top {
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    z-index: 100;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  }

  .header-btns--mobile {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-right: 10px;
  }

  .site-header__btn {
    width: 25px;
    height: 25px;
  }

  .site-header__btn svg {
    width: 25px;
    height: 25px;
  }

  .site-header__logo-wrapper {
    width: 41px;
    height: 40px;
  }

  .header-logo--mobile {
    width: 41px;
    height: 40px;
  }

  .custom-burger-btn__icon--close {
    display: none;
  }

  .custom-burger-btn__icon--open {
    display: block;
  }

  .custom-burger-btn.open .custom-burger-btn__icon--close {
    display: block;
  }

  .custom-burger-btn.open .custom-burger-btn__icon--open {
    display: none;
  }

  .site-header-mobile__menu {
    background-color: var(--color-bg);
    flex-direction: column;
    height: 100vh;
    padding-top: 70px;
    padding-bottom: 10px;
    display: none;
  }

  .site-header-mobile__menu.open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    padding-top: 60px;
    overflow-y: auto;
  }

  .site-header__menu-link, .site-header__submenu-link {
    justify-content: space-between;
    padding: 0;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    color: var(--color-text);
  }

  .site-header__submenu-link {
    font-size: 14px;
    letter-spacing: 0;
    font-weight: 500;
  }

  .site-header__menu-link {
    font-weight: 600;
  }

  .site-header-mobile__menu .site-header__menu-link--active {
    color: var(--color-primary);
  }

  .page-frontend--theme-kids .site-header-mobile__menu .site-header__menu-link--active {
    color: var(--color-primary-alt);
  }

  .site-mobile-nav {
    margin: 20px 0 30px 0;
    padding: 0 10px;
    background-color: rgba(255, 255, 255, 0.05);
    list-style: none;
    border-radius: 3px;
  }

  .site-mobile-nav__item {
    position: relative;
    padding: 20px 30px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    color: var(--color-text);
  }

  .site-header__submenu-link {
    white-space: wrap;
  }

  .dropdown--open .site-header__menu-link--button {
    background-color: transparent;
  }

  .site-mobile-nav__item:not(:last-child) {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  }

  .site-header__menu-link--button {
    width: 100%;
    padding: 0;
    justify-content: space-between;
  }

  .mobile-search__input-wrapper {
    width: 100%;
    position: relative;
  }

  .mobile-search__input {
    width: 100%;
    padding: 21px 18px 21px 60px;
    border: none;
    outline: none;
    color: var(--color-text);
    background-color: rgba(203, 214, 219, 0.2);
    border-radius: 100px;
    font-size: 16px;
    line-height: 1.3;
    border-radius: 3px;
  }

  .mobile-search__input::placeholder {
    color: var(--color-text-muted);
  }

  .mobile-search__input:focus {
    outline: none;
    border: none;
  }

  .mobile-search__icon-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
  }

  .mobile-search__icon {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    display: none;
  }

  .mobile-search__icon-button.show-search .mobile-search__icon--search {
    display: block;
  }

  .mobile-search__icon-button.show-clear .mobile-search__icon--clear {
    display: block;
  }

  .mobile-search__highlight-text {
    color: var(--color-primary);
  }

  .site-header__submenu {
    background-color: transparent;
    position: relative;
    margin: 0;
    width: 100%;
    padding: 0;
    left: auto;
    top: auto;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header__submenu-list {
    background-color: transparent;
    padding: 0;
    list-style: none;
  }

  .site-header__submenu-item {
    margin-top: 20px;
  }

  .ite-header__submenu-link {
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: -1px;
  }
}

/* ===== Поиск ===== */

.site-search {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: transparent;
  padding-top: 21px;
  padding-bottom: 21px;
  z-index: 100;
  display: none;
}

.site-search.is-open {
  display: block;
}

.site-search__input-wrapper {
  position: relative;
}

.site-search__input {
  width: 100%;
  height: 105px;
  padding-left: 40px;
  padding-right: 210px;
  background-color: var(--color-bg-light);
  border: none;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  border-radius: 0;
  border-radius: 3px;
}

.site-search__input:focus {
  outline: none;
  color: var(--color-text-dark);
}

.site-search__button {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  height: 65px;
  width: 180px;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 3px;
  transition: transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .site-search__button:hover {
    color: var(--color-text);
    background: linear-gradient(90deg, #E98200 0%, #FFAC42 100%);
    transform: translateY(-50%) scale(0.95);
  }
}

.filter-button {
  height: 80px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  border-radius: 100px;
  letter-spacing: 0;
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99;
  display: none;
}

.search-overlay.is-open {
  display: block;
}

.mobile-search__submenu {
  display: none;
  width: 100%;
  background-color: var(--color-bg-light);
  padding: 0 40px 30px 40px;
  list-style: none;
  box-shadow: 0px 40px 50px 0px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 0 0 3px 3px;
}

.mobile-search__item {
  margin: 0;
  padding: 10px 0;
  color: var(--color-text-dark);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.mobile-search__item:not(:last-child) {
  border-bottom: 1px solid rgba(36, 37, 39, 0.1);
}

.mobile-search__highlight-text {
  font-weight: 600;
  color: var(--color-primary);
}

.site-search__close-btn {
  width: 36px;
  height: 36px;
  margin: 20px auto;
}

.site-search__close-btn:hover {
  cursor: pointer;
}

@media (max-width: 1200px) {
  .search-overlay {
    background-color: var(--color-bg);
  }

  .site-search__input {
    height: 60px;
    padding-left: 30px;
    padding-right: 110px;
    font-size: 16px;
  }

  .site-search__button {
    right: 6px;
    height: 50px;
    width: 100px;
  }

  .mobile-search__submenu {
    max-height: 154px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px 33px 30px 30px;
    overflow-y: auto;
    scrollbar-color: var(--color-primary) transparent;
    scrollbar-width: thin;
  }

  .mobile-search__submenu::-webkit-scrollbar {
    width: 5px;
  }

  .mobile-search__submenu::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 4px;
  }

  .mobile-search__submenu::-webkit-scrollbar-track {
    background-color: transparent;
  }

  .mobile-search__item {
    color: var(--color-text);
    font-size: 14px;
  }

  .mobile-search__item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 639px) {
  .site-search__input {
    padding-left: 20px;
    padding-right: 100px;
  }

  .site-search__button {
    right: 10px;
    height: 40px;
    width: 80px;
    font-size: 12px;
  }

  .mobile-search__submenu {
    max-height: 300px;
    padding: 20px;
  }
}

/* ===== Контейнер ===== */
.site-container {
  width: 100%;
  max-width: 1440px;
  padding: 0 40px;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .site-container {
    padding: 0 30px;
  }
}

@media (max-width: 639px) {
  .site-container {
    padding: 0 10px;
  }
}

/* ===== Футер ===== */

.site-footer {
  width: 100%;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.site-footer__top {
  position: relative;
  padding: 50px;
  padding-left: 0;
}

.site-footer__top-right {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 30px;
  margin-left: 440px;
}

.footer__logo-col {
  position: absolute;
  top: 50px;
  left: 0;
  bottom: 50px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo {
  width: 62px;
  height: 60px;
  color: var(--color-text);
}

.footer__company-name {
  margin: 0;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer__col {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer__contacts-col {
  gap: 40px;
  margin-right: 20px;
  width: 350px;
}

.footer-contact__description {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-contact__value {
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-text);
}

.footer-contact__value--row {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
}

.footer-contact__link {
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-text);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer-contact__link:hover {
  color: var(--color-primary);
}

.footer-contact__tel {
  display: inline-block;
  margin-right: 10px;
}

.footer-contact__icon-link {
  width: 30px;
  height: 30px;
  color: var(--color-text);
}

.footer__nav-col {
  width: 160px;
  gap: 25px;
}

.footer__nav-link {
  position: relative;
  text-decoration: none;
  color: var(--color-text);
  line-height: 1;
}

.footer__nav-text {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  position: relative;
  background-image: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(255, 255, 255, 0.35) 100%);
  background-position: 0 98%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  white-space: nowrap;
  transition: background-image 0.2s ease, color 0.2s ease;
}

.footer__nav-link:hover .footer__nav-text {
  color: var(--color-primary);
  background-image: linear-gradient(to bottom, var(--color-primary), var(--color-primary));
}

.footer__signal {
  display: inline-block;
  transform: translateY(-10px);
  line-height: 0;
  color: var(--color-primary);
}

.footer__services-counter {
  display: inline-block;
  transform: translateY(-6px);
  line-height: 0;
  font-size: 6px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__bottom {
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  align-items: center;
  padding: 19px 0;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom-right--desktop {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-left: 440px;
}

.footer__copyright {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 146px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom-link {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
  font-size: 12px;
}

.footer__bottom-link:hover {
  color: var(--color-primary);
}

.scroll-top-btn {
  width: 24px;
  height: 24px;
  padding: 0;
  color: var(--color-text);
  background-color: transparent;
  border: none;
  outline: none;
  flex-shrink: 0;
  transition: color 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-top-btn svg {
  width: 100%;
  height: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .scroll-top-btn:hover {
    cursor: pointer;
    color: var(--color-primary);
  }
}

.scroll-top-btn svg {
  width: 24px;
  height: 24px;
}

.footer__icon-links--tablet {
  display: none;
}

.site-footer__bottom--mobile {
  display: none;
}

.site-footer__border-top-mobile {
  display: none;
}

.footer__counter--mobile {
  display: none;
}

@media (max-width: 1250px) {
  .site-footer__bottom-right--desktop,
  .site-footer__top-right {
    margin-left: 300px;
  }
}

.transparent-elem--tablet {
  display: none;
}

.logo-name--tablet {
  display: none;
}
 
@media (max-width: 1100px) {
  .transparent-elem--tablet {
    display: block;
    opacity: 0;
    width: 182px;
    margin-left: 28px;
  }

  .logo-name--tablet {
    display: flex;
    align-items: center;
  }

  .footer-logo--desktop {
    display: none;
  }

  .footer__company-name--desktop {
    display: none;
  }

  .footer__copyright {
    position: relative;
  }

  .footer__company-details--tablet {
    margin-right: 182px;
  }

  .footer__counter--tablet {
    width: 182px;
  }

  .scroll-top-btn {
    margin-left: 156px;
  }

  .site-footer {
    border: none;
  }

  .site-footer__border-top-mobile {
    display: block;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .site-footer__bottom--desktop {
    display: none;
  }

  .site-footer__bottom--mobile {
    display: flex;
  }

  .site-footer__top {
    position: relative;
    justify-content: space-between;
    margin-right: -30px;
    padding-top: 100px;
    padding-right: 0;
    padding-bottom: 35px;
    gap: 0;
  }

  .footer__logo-col {
    position: absolute;
    top: 26px;
    bottom: auto;
    left: 0;
    right: 0;
    margin-right: 0;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
  }

  .site-footer__bottom-right--desktop,
  .site-footer__top-right {
    margin-left: 0;
  }

  .footer-logo {
    width: 41px;
    height: 40px;
    margin-right: 19px;
  }

  .footer__company-name {
    margin-right: 100px;
  }

  .footer__icon-links--tablet {
    display: flex;
    flex-flow: row nowrap;
    gap: 10px;
    width: 182px;
  }

  .footer__nav-col {
    width: 182px;
    gap: 20px;
  }

  .footer__nav-col:last-child {
    margin-right: 28px;
  }

  .footer__contacts-col {
    width: 300px;
    margin-right: 0;
    gap: 25px;
  }

  .footer-contact__icon-link--desktop {
    display: none;
  }

  .footer-contact__description {
    margin-bottom: 15px;
  }

  .footer-contact__link {
    font-size: 18px;
  }

  .footer__nav-text {
    font-size: 12px;
  }

  .site-footer__bottom {
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 25px;
    padding: 25px 0;
  }

  .footer-bottom__navlinks--mobile {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .footer-bottom__bottom--mobile {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
}

@media (max-width: 790px) {
  .transparent-elem--tablet {
    display: none;
  }

  .footer__icon-links--tablet {
    display: none;
  }

  .footer-contact__icon-link--desktop {
    display: block;
  }

  .site-footer__top {
    flex-wrap: wrap;
    margin-right: 0;
  }

  .site-footer__top-right {
    flex-wrap: wrap;
  }

  .footer__counter--tablet {
    display: none;
  }

  .footer__company-details--tablet {
    margin-right: 0;
  }

  .footer__copyright {
    margin-right: 0;
  }

  .footer__contacts-col {
    width: 100%;
    gap: 35px;
    margin-bottom: 35px;
  }

  .footer-contact__description {
    margin-bottom: 20px;
  }

  .footer-contact__link {
    font-size: 20px;
  }

  .footer__nav-col {
    width: 45%;
  }

  .footer__nav-col:last-child {
    margin-left: auto;
    margin-right: 0;
  }

  .site-footer__bottom {
    gap: 30px;
  }

  .footer-bottom__navlinks--mobile {
    position: relative;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
  }

  .footer__counter--mobile {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
  }
}

/* ===== СВЯжитесь С НАМИ ===== */

.contacts {
  padding-bottom: 90px;
}

.contacts__container {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contacts__form-wrapper,
.contacts__map-wrapper--outer {
  flex: 1 1 calc(50% - 10px);
  min-width: 280px;
  aspect-ratio: 670/480;
}

.contacts__form {
  background-color: rgba(255, 255, 255, 0.05);
  height: 100%;
  padding: 0 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  border-radius: 3px;
}

.contacts__text {
  margin: 0;
  margin-bottom: 10px;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.contacts__field {
  position: relative;
}

.field {
  position: relative;
}

.contacts__label {
  position: relative;
  display: block;
}

.label {
  position: relative;
  display: block;
}

.contacts__floating-label {
  display: none;
  position: absolute;
  left: 18px;
  top: 14px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-primary);
  pointer-events: none;
  transition: 0.2s ease;
}

.floating-label {
  display: none;
  position: absolute;
  left: 18px;
  top: 14px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-primary);
  pointer-events: none;
  transition: 0.2s ease;
}

.input:focus + .contacts__floating-label {
  display: block;
}

.input:focus + .floating-label {
  display: block;
}

.input {
  width: 100%;
  height: 65px;
  padding: 18px 16px 18px 16px;
  font-size: 18px;
  line-height: 0.9;
  border: 1px solid transparent;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.input::placeholder {
  display: block;
  color: #7E7E7E;
  transform: none;
  transition: opacity 0.2s ease;
}

.input--bright::placeholder {
  color: var(--color-text);
}

/* Фокус */
.input:focus {
  border-color: var(--color-primary);
  background-color: rgba(241, 135, 0, 0.1);
  padding: 35px 16px 18px 16px;
}

/* Показываем лейбл, скрываем плейсхолдер */
.input:focus::placeholder {
  opacity: 0;
}

/* Кастомный чекбокс */
.contacts__form-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.contacts__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  cursor: pointer;
}

.contacts__checkbox-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contacts__checkbox-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid transparent;
  background-color: rgba(255, 255, 255, 0.1);
  position: relative;
  flex-grow: 0;
  flex-shrink: 0;
  border-radius: 2px;
}

.contacts__checkbox.error .contacts__checkbox-custom {
  border: 1px solid #C1000F;
  background-color: rgba(193, 0, 15, 0.1);
}

.contacts__checkbox-icon {
  display: none;
  width: 8px;
  height: 6px;
  color: #8C8C8C;
}

.contacts__checkbox-input:checked + .contacts__checkbox-custom .contacts__checkbox-icon {
  display: block;
}

.contacts__checkbox-text {
  color: #8C8C8C;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.contacts__checkbox-text a {
  color: #8C8C8C;
  text-decoration: underline;
}

.contacts__submit {
  width: 260px;
  height: 65px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 3px;
}

/* Невалидный инпут */
.input--error {
  border-color: #C1000F;
  background-color: rgba(193, 0, 15, 0.1);
  padding: 35px 16px 18px 16px;
}

.input--error + .contacts__floating-label {
  display: block;
  color: #FF0014;
}

.input--error + .floating-label {
  display: block;
  color: #FF0014;
}

.input--error:focus {
  border-color: #C1000F;
  background-color: rgba(193, 0, 15, 0.1);
}

/* В состоянии ошибки всегда скрываем плейсхолдер */
.input--error::placeholder {
  margin-top: 12px;
  transform: none;
}

/* Карта */
.contacts__map-wrapper--outer {
  min-height: 440px;
  flex-shrink: 0;
  position: relative;
}

.contacts__map-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-radius: 3px;
}

.map {
  width: 100%;
  height: 100%;
}

[class*=ymaps][class*=-ground-pane] {
  filter: grayscale(1);
  -ms-filter: grayscale(1);
  -webkit-filter: grayscale(1);
  -moz-filter: grayscale(1);
  -o-filter: grayscale(1);
}

.contacts__map-corner {
  display: none;
}

@media (max-width: 1300px) {
  .contacts__form {
    padding: 0 70px;
  }
}

@media (max-width: 1200px) {
  .contacts {
    padding-bottom: 85px;
  }

  .contacts__container {
    margin-top: 25px;
  }

  .contacts__form {
    padding: 0;
    background-color: transparent;
    justify-content: flex-end;
    gap: 10px;
  }

  .contacts__text {
    margin-bottom: 15px;
    font-size: 14px;
  }

  .input {
    font-size: 16px;
  }

  .contacts__form-bottom {
    position: relative;
  }

  .contacts__checkbox {
    position: absolute;
    top: 100%;
    padding-top: 10px;
  }

  .contacts__submit {
    width: 100%;
  }

  .contacts__map-wrapper--outer::before {
    content: "";
    position: absolute;
    top: -1.5px;
    right: -1.5px;
    width: 50px;
    height: 50px;
    background-image: url('../img/map-corner.svg');
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 3;
  }

  .contacts__map-corner {
    position: absolute;
    top: -0.5px;
    right: -0.5px;
    z-index: 2;
    display: block;
    width: 50px;
    height: 50px;
  }

  .contacts__map-wrapper--outer {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .contacts__form-wrapper,
  .contacts__map-wrapper--outer {
    aspect-ratio: auto;
  }
}

@media (max-width: 639px) {
  .contacts {
    padding-bottom: 60px;
  }

  .contacts__container {
    gap: 35px;
  }

  .contacts__checkbox {
    position: relative;
    width: 190px;
    top: 0;
    padding-top: 0;
  }

  .contacts__form-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .contacts__submit {
    width: 100%;
  }

  .contacts__form-wrapper {
    aspect-ratio: auto;
  }

  .contacts__map-wrapper--outer {
    aspect-ratio: 1/1;
  }
}

/* ===== Хлебные крошки ===== */

.breadcrumbs {
  display: flex;
  flex-flow: row wrap;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.breadcrumbs__link {
  text-decoration: none;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
  white-space: nowrap;
}
.breadcrumbs__link:hover {
  color: var(--color-text);
}
.cutted-breadcrumb {
  white-space: nowrap;
}

@media (max-width: 639px) {
  .breadcrumbs {
    gap: 5px;
  }
}

/* ===== бегущая строка с картинками ===== */

.marquee {
  overflow: hidden;
  width: 100%;
}

.marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-marquee 20s linear infinite;
}

.marquee__track img {
  width: 440px;
  height: 350px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 3px;
}

/* Анимация прокрутки */
@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 639px) {
  .marquee__track {
    gap: 10px;
  }

  .marquee__track img {
    width: 260px;
    height: 220px;
  }
}

/* ===== маленький поиск ===== */

.small-search {
  position: relative;
}

.small-search__form {
  width: 307px;
}

.small-search__input-wrapper {
  width: 100%;
  position: relative;
}

.small-search__input {
  width: 100%;
  height: 60px;
  padding: 21px 18px 21px 60px;
  border: none;
  outline: none;
  color: var(--color-text);
  background-color: rgba(203, 214, 219, 0.05);
  border-radius: 100px;
  font-size: 16px;
  line-height: 1.3;
  border-radius: 3px;
}
.small-search__input::placeholder {
  font-size: 14px;
  color: var(--color-text);
  opacity: 0.5;
}
.small-search__input:focus {
  outline: none;
  border: none;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}
.small-search.open .small-search__input {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

.small-search__icon-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.small-search__icon {
  width: 16px !important;
  height: 16px !important;
  color: var(--color-text);
}
.small-search__icon.primary {
  color: var(--color-primary);
}
.small-search.open .small-search__icon {
  color: var(--color-primary);
}

.small-search__item {
  display: block;
  padding: 10px 0;
  color: rgba(36, 37, 39, 0.5);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  transition: color 0.2s ease;
}
.small-search__item:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.small-search__item:hover {
  cursor: pointer;
  color: var(--color-text-dark);
}
.small-search__item--not-found:hover {
  cursor: auto;
  color: rgba(36, 37, 39, 0.5);
}

.small-search__highlight-text {
  color: var(--color-primary);
  font-weight: 600;
}

.small-search__submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: -1px;
  max-height: 232px;
  width: 100%;
  background-color: var(--color-bg-light);
  padding: 30px;
  padding-top: 0;
  list-style: none;
  box-shadow: 0px 45px 50px 0px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow-y: auto;
  scrollbar-color: var(--color-primary) transparent;
  scrollbar-width: thin;
  border-radius: 0 0 3px 3px;
}

.small-search__submenu::-webkit-scrollbar {
  width: 5px;
}

.small-search__submenu::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  border-radius: 4px;
}

.small-search__submenu::-webkit-scrollbar-track {
  background-color: transparent;
}

@media (max-width: 1000px) {
  .small-search__form {
    width: 213px;
  }

  .small-search.open .small-search__form {
    width: 270px;
  }
  .small-search.focus .small-search__form {
    width: 270px;
  }

  .small-search__input {
    padding-left: 55px;
  }
}

@media (max-width: 639px) {
  .small-search__input {
    height: 50px;
  }

  .small-search__input::placeholder {
    font-size: 12px;
  }

  .small-search.open {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  .small-search.focus {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  .small-search.open .small-search__form {
    width: 100%;
  }
  .small-search.focus .small-search__form {
    width: 100%;
  }
}

/* ===== селект ===== */

.select {
  position: relative;
  width: max-content;
  user-select: none;
}

.sort-select {
  width: 223px;
  flex-shrink: 0;
}

/* Кнопка (в закрытом и открытом состоянии) */
.select__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1px;
  padding: 19px 30px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  cursor: pointer;
  border-radius: 3px;
}

.select__value {
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.select[data-open="true"] .select__button {
  background: var(--color-text);
  color: var(--color-primary);
}

/* Иконка — просто поворот */
.select__icon {
  display: inline-flex;
  width: 16px;
  height: 12px;
  transition: transform 0.3s ease;
}
.select__icon svg {
  width: 16px;
  height: 12px;
}

.select[data-open="true"] .select__icon {
  transform: rotate(180deg);
}

/* Выпадающий список */
.select__dropdown {
  display: none;
  flex-flow: column nowrap;
  justify-content: flex-start;
  gap: 10px;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: -1px;
  max-height: 232px;
  width: 100%;
  background-color: var(--color-bg-light);
  padding: 0 13px 23px 30px;
  padding-top: 0;
  list-style: none;
  box-shadow: 0px 45px 50px 0px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow-y: auto;
  scrollbar-color: var(--color-primary) transparent;
  scrollbar-width: thin;
  border-radius: 0 0 3px 3px;
}

.select[data-open="true"] .select__dropdown {
  display: flex;;
}

.select__dropdown::-webkit-scrollbar {
  width: 5px;
}

.select__dropdown::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  border-radius: 4px;
}

.select__dropdown::-webkit-scrollbar-track {
  background-color: transparent;
}

/* Пункты */

.select__option {
  display: block;
  color: rgba(36, 37, 39, 0.5);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.select__option:hover {
  cursor: pointer;
  color: var(--color-text-dark);
}

@media (max-width: 639px) {
  .select__button {
    height: 50px;
  }

  .select__value {
    font-size: 12px;
  }
}

/* ===== модалка ===== */

.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  display: none;
}

.modal-wrapper.visible {
  display: block;
}

.search-overlay.is-open {
  display: block;
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  padding: 40px;
  border-radius: 3px;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}

.modal h1 {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: 'Jost', sans-serif;
  color: var(--color-text);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.modal p {
  margin: 27px 0 0 0;
  padding: 0;
  text-align: center;
  font-family: 'Jost', sans-serif;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.modal .close-modal-btn,
.modal .primary-link {
  height: 65px;
  width: 100%;
  margin-top: 35px;
  padding: 20px;
  border-radius: 3px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
}
.modal .close-modal-btn:hover,
.modal .primary-link:hover {
  cursor: pointer;
}

.modal a {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .modal {
    width: 360px;
    padding: 30px;
  }

  .modal h1 {
    font-size: 24px;
  }
  
  .modal p {
    font-size: 14px;
  }
  
  .modal .close-modal-btn {
    margin-top: 25px;
    font-size: 16px;
  }
}

@media (max-width: 450px) {
  .modal {
    width: 300px;
  }
}

/* ===== cookie ===== */

.cookie {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 392px;
  padding: 20px;
  border-radius: 3px;
  background-color: var(--color-bg-light);
  z-index: 100;
  clip-path: polygon(
    0 0, 
    100% 0, 
    100% calc(100% - 55px), 
    calc(100% - 50px) 100%, 
    0 100%
  );
}

.cookie__text {
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-text-dark);
}

.cookie__text--highlighted {
  font-weight: 600;
}

.cookie__btns {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}

.cookie__confirm-btn {
  padding: 10px 30px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  border-radius: 3px;
}

.cookie__cancel-btn {
  padding: 10px 0;
  margin: 0;
  border: none;
  background-color: transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cookie__confirm-btn:hover {
    cursor: pointer;
  }

  .cookie__cancel-btn:hover {
    opacity: 1;
    cursor: pointer;
  }

  .cookie__link:hover {
    opacity: 1;
  }
}

@media (max-width: 450px) {
  .cookie {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    clip-path: polygon(
    0 0, 
    100% 0, 
    100% calc(100% - 35px), 
    calc(100% - 30px) 100%, 
    0 100%
  );
  }
}