@charset "UTF-8";
/* ********************
 * * Lark.sass v3.3
 * * Description: CSS reset and adaptive layout
 * * Author: Dima Boro
 * * LastUpd: 20.09.2022
 * ******************** */

/* ========= CSS Variables ========= */
:root {
  --padding-side: 15px;
  --content-width: calc(100vw - 10px);
  --body-width: calc(100vw - var(--scrollbar-width));
  --side-width: calc((var(--body-width) - var(--content-width) + 30px) / 2);
  --scrollbar-width: 17px;
  --primary-color: #d70000;
  --primary-dark: #8b0000;
  --primary-light: #fff5f5;
  --accent-color: #f82628;
}

/* ========= CSS Reset & Base Styles ========= */
*::-moz-selection {
  background: var(--accent-color);
  color: #fff;
}

*::selection {
  background: var(--accent-color);
  color: #fff;
}

body,
html {
  scroll-behavior: smooth;
}

html {
  touch-action: manipulation;
  overflow-x: hidden;
}
html.noscroll {
  overflow: hidden !important;
  padding-right: var(--scrollbar-width);
}

[class*="-box"] {
  position: relative;
}

* {
  margin: 0;
  padding: 0;
  outline: none;
  border: 0;
  box-sizing: border-box;
}

input,
textarea,
select,
pre,
blockquote,
button {
  font: inherit;
  background: transparent;
}

input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
input[type="number"] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

textarea {
  resize: none;
}

:focus {
  outline: 0;
}

[hidden] {
  display: none;
}

[draggable="false"] {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

img,
svg {
  pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

a {
  color: currentColor;
}

a,
a:hover {
  text-decoration: none;
}

li {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  cursor: pointer;
}

p:not(:last-child),
.p:not(:last-child) {
  margin-bottom: 1.45em;
}

.preload * {
  transition: none !important;
}

.text-box h1,
.text-box h2,
.text-box h3,
.text-box h4,
.text-box h5,
.text-box h6 {
  margin: 25px 0 15px;
}
.text-box a {
  text-decoration: underline;
}
.text-box ul,
.text-box ol {
  margin: 10px 10px 20px;
}
.text-box li {
  margin: 5px 0;
}
.text-box ul li {
  list-style: disc inside;
}
.text-box ol li {
  list-style: decimal inside;
}
.text-box p {
  margin: 0px 0 0.8em;
}
.text-box > *:first-child {
  margin-top: 0;
}
.text-box > *:last-child {
  margin-bottom: 0;
}

img,
svg {
  pointer-events: none;
}

.cover-image,
.details-box .s-image .s-bg,
.home-box .title-row .t-img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  pointer-events: none;
}

.row {
  padding-left: var(--padding-side);
  padding-right: var(--padding-side);
}

.container,
.container-full {
  position: relative;
  padding-left: var(--padding-side);
  padding-right: var(--padding-side);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.container {
  max-width: var(--content-width);
}

/* ========= Buttons ========= */
.btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  height: 100%;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0 32px;
  height: 50px;
  max-height: 50px;
  border-radius: 20px;
  background: var(--primary-color);
  color: #fff !important;
  border: 2px solid transparent;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.1);
}

.btn:before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover {
  color: #fff !important;
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(215, 0, 0, 0.3);
}

.btn:hover:before {
  left: 100%;
}

.btn-white {
  background: #fff;
  color: var(--primary-dark) !important;
  border: 2px solid var(--primary-color);
}
.btn-white:hover {
  color: #fff !important;
  background: var(--primary-color);
}

.btn-alt {
  top: 0;
  background: #fff;
  color: var(--primary-dark) !important;
  border-width: 2px 2px 4px 2px;
  border-style: solid;
  border-color: var(--primary-color);
  border-radius: 20px;
}
.btn-alt:hover {
  top: 2px;
  background: #fff;
  color: var(--primary-dark) !important;
  border-bottom-width: 2px;
}

/* ========= Links & Interactive Elements ========= */
a,
.a {
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  color: currentColor;
  text-decoration-thickness: 1px;
  position: relative;
}
a:hover,
.a:hover {
  color: var(--primary-color);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  transform: translateX(5px);
}

.color,
.primary {
  color: var(--primary-color);
}

.secondary {
  color: var(--primary-dark);
}

/* ========= Typography ========= */
.h1,
h1,
.h2,
h2,
.h3,
.footer-box .logo-title,
.header-box .logo-title,
h3,
.h4,
h4,
.h5,
.h6,
.h {
  font-family: "Sansation", sans-serif;
  font-weight: 400;
  line-height: 1.125;
  color: var(--primary-dark);
  position: relative;
}

.h1,
h1 {
  font-size: 64px;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.h2,
h2 {
  font-size: 32px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.h3,
.footer-box .logo-title,
.header-box .logo-title,
h3 {
  font-size: 24px;
  border-left: 4px solid var(--primary-color);
  padding-left: 15px;
  margin: 20px 0;
}

.h4,
h4 {
  font-size: 22px;
  border-left: 3px solid var(--primary-color);
  padding-left: 12px;
  margin: 15px 0;
}

.h5 {
  font-size: 20px;
}

.h6 {
  font-size: 18px;
}

/* ========= Forms ========= */
.form-input {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  width: 100%;
}
.form-input input,
.form-input textarea,
.form-input select {
  display: block;
  padding: 0 40px;
  height: 50px;
  width: 100%;
  background: transparent;
  font-weight: 500;
  line-height: 1;
  color: currentColor;
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 20px;
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(139, 0, 0, 0.1);
}
.form-input input::-moz-placeholder,
.form-input textarea::-moz-placeholder,
.form-input select::-moz-placeholder {
  color: #777;
}
.form-input input:-ms-input-placeholder,
.form-input textarea:-ms-input-placeholder,
.form-input select:-ms-input-placeholder {
  color: #777;
}
.form-input input::placeholder,
.form-input textarea::placeholder,
.form-input select::placeholder {
  color: #777;
}
.form-input input:focus,
.form-input textarea:focus,
.form-input select:focus {
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(215, 0, 0, 0.2);
}
.form-input textarea {
  padding-top: 15px;
  padding-bottom: 15px;
  min-height: 120px;
  border-radius: 15px;
}

/* ========= Header - Updated Styles ========= */
.header-box {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 50%,
    var(--primary-dark) 100%
  );
  color: #fff;
  filter: drop-shadow(0px 4px 12px rgba(139, 0, 0, 0.3));
  transition: all 0.3s ease;
  border-bottom: 3px solid var(--primary-light);
}
.header-box .container {
  display: flex;
  align-items: center;
  height: var(--header-height);
}

/* Логотип с ховер-эффектом */
.header-box .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  margin-right: auto;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 15px;
  border: 2px solid transparent;
}

.header-box .logo-img {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.header-box .logo-text {
  font-family: "Sansation", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
}

.header-box .logo-link:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-light);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.header-box .logo-link:hover .logo-img {
  transform: scale(1.1);
}

.header-box .logo-link:hover .logo-text {
  color: var(--primary-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Селектор городов с улучшенным стилем */
.city-selector {
  margin-left: 25px;
  position: relative;
  transition: all 0.3s ease;
}

.city-selector:hover {
  transform: translateY(-2px);
}

.city-selector select {
  display: block;
  padding: 0 45px 0 20px;
  height: 45px;
  width: 220px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  font-weight: 600;
  line-height: 1;
  color: #fff;
  transition: all 0.3s ease;
  border-radius: 20px;
  border: 2px solid #fff;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
  position: relative;
}

.city-selector select:hover {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-color)
  );
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(215, 0, 0, 0.4);
}

.city-selector select:focus {
  border-color: var(--primary-light);
  background: var(--primary-dark);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Кастомная стрелка для селектора */
.city-selector::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 12px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center;
  pointer-events: none;
  transition: transform 0.3s ease;
  z-index: 2;
}

.city-selector select:focus + ::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Стили для опций селектора */
.city-selector select option {
  background: var(--primary-dark);
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.city-selector select option:hover {
  background: var(--primary-color) !important;
}

.city-selector select option:checked {
  background: var(--primary-color)
    linear-gradient(0deg, var(--primary-color) 0%, var(--primary-color) 100%);
  color: #fff;
}

/* Счетчик с ховер-эффектом */
.counts {
  display: flex;
  align-items: center;
  margin-left: 25px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  padding: 8px 20px;
  border-radius: 20px;
  border: 2px solid #fff;
  flex-direction: row-reverse;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.counts::before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.counts:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(215, 0, 0, 0.4);
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-color)
  );
}

.counts:hover::before {
  left: 100%;
}

.counts .c-int {
  display: flex;
  align-items: center;
  margin-right: 0;
  margin-left: 10px;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.counts .c-text {
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Мини-меню с ховер-эффектами */
.header-box .mini-menu {
  display: flex;
  padding: 0 20px;
  gap: 15px;
}

.header-box .mini-menu a {
  margin-left: 0;
  padding: 10px 20px;
  border-radius: 15px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.header-box .mini-menu a::before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.header-box .mini-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.header-box .mini-menu a:hover::before {
  left: 100%;
}

/* ========= Home Section ========= */
.home-box {
  margin-top: var(--header-height);
  padding-top: 60px;
  padding-bottom: 60px;
  background: linear-gradient(135deg, #fbf3fd 0%, #fff5f5 100%);
}
.home-box .title-row {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.home-box .title-row .h1,
.home-box .title-row h1 {
  max-width: 440px;
  margin-right: auto;
  border: none;
  padding-bottom: 0;
}
.home-box .title-row .title-images {
  display: flex;
  width: 100%;
}
.home-box .title-row .t-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 40px;
  border-radius: 20px;
  height: 144px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.home-box .title-row .t-img-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
}

.home-box .tabs-row {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  padding: 8px 38px;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  height: 71px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.1);
}
.home-box .tabs-row .tabs-list {
  display: flex;
  align-items: center;
  margin: 0 26px;
  width: 100%;
}
.home-box .tabs-row .swiper-slide {
  width: auto;
}
.home-box .tabs-row .tab-item {
  display: block;
  padding: 15px 32px;
  border-radius: 20px;
  color: var(--primary-color);
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
}
.home-box .tabs-row .tab-item:before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}
.home-box .tabs-row .tab-item.active {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(215, 0, 0, 0.3);
  border-color: var(--primary-dark);
}
.home-box .tabs-row .tab-item:hover {
  background: var(--primary-light);
  color: var(--primary-color);
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--primary-color);
}
.home-box .tabs-row .tab-item:hover:before {
  left: 100%;
}

.home-box .map-row {
  display: flex;
  gap: 40px;
}
.home-box .map-col {
  margin-right: 0;
  max-width: 453px;
  width: 100%;
  min-height: 453px;
  background: #f9f7f9;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.home-box .map-col:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(139, 0, 0, 0.2);
}
.home-box .map-table-col {
  width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.1);
}
.home-box .m-table-wrap {
  margin-top: 26px;
  max-height: 401px;
  overflow-y: auto;
  border-radius: 15px;
}
.home-box .m-table {
  display: table;
  width: 100%;
}
.home-box .mt-top {
  display: table-row;
  background: var(--primary-light);
}
.home-box .mt-top .mt-col {
  color: var(--primary-dark);
  font-weight: 600;
  border-bottom: 2px solid var(--primary-color);
}
.home-box .mt-row {
  display: table-row;
  transition: all 0.3s ease;
}
.home-box .mt-row:hover {
  background: var(--primary-light);
  transform: scale(1.02);
}
.home-box .mt-row:not(:last-child) .mt-col {
  border-bottom: 1px solid #e0e0e0;
}
.home-box .mt-row .mt-col {
  padding-top: 18px;
  padding-bottom: 18px;
  transition: all 0.3s ease;
}
.home-box .mt-col {
  display: table-cell;
  padding-left: 18px;
  vertical-align: middle;
}
.home-box .mt-col:first-child {
  padding-left: 0;
  text-align: center;
}
.home-box .mt-int {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  font-weight: 600;
  transition: all 0.3s ease;
}
.home-box .mt-row:hover .mt-int {
  transform: scale(1.1);
  background: var(--primary-dark);
}
.home-box .mcs-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
}
.home-box .mcs-wrap .star-icon {
  margin-right: 7px;
  padding-right: 7px;
  border-right: 1px solid var(--primary-color);
}

/* Стили для телефонов */
.phone-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--primary-light);
}

.phone-link:hover {
  color: var(--primary-dark);
  text-decoration: none;
  background: var(--primary-color);
  color: #fff;
  transform: translateX(5px);
}

.no-phone {
  color: #999;
  font-style: italic;
}

/* ========= About Section - Enhanced Styles ========= */
.about-box {
  background: linear-gradient(135deg, #fff 0%, #fff5f5 50%, #fff 100%);
  padding: 80px 0;
  margin: 60px auto;
  max-width: 1400px;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(139, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-top: 5px solid var(--primary-color);
  border-left: 1px solid rgba(215, 0, 0, 0.1);
  border-right: 1px solid rgba(215, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.about-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-dark),
    var(--primary-color),
    var(--primary-light),
    var(--primary-color),
    var(--primary-dark)
  );
  border-radius: 25px 25px 0 0;
}

.about-box::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(215, 0, 0, 0.05) 0%,
    transparent 70%
  );
  z-index: 1;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.about-text {
  order: 1;
  padding-right: 20px;
}

.about-image {
  order: 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.about-img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(139, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 2px solid #fff;
  object-fit: cover;
}

.about-text h2 {
  color: var(--primary-dark);
  font-size: 42px;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
  padding-bottom: 20px;
  text-transform: none;
  letter-spacing: 0;
}

.about-text h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(215, 0, 0, 0.3);
}

.about-text h3 {
  color: var(--primary-dark);
  font-size: 28px;
  margin: 40px 0 25px;
  border-left: 5px solid var(--primary-color);
  padding-left: 20px;
  font-weight: 600;
  line-height: 1.3;
  background: linear-gradient(90deg, rgba(215, 0, 0, 0.05), transparent);
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 0 10px 10px 0;
}

.about-text p {
  line-height: 1.7;
  margin-bottom: 25px;
  color: #444;
  font-size: 17px;
  text-align: justify;
}

.about-text ol,
.about-text ul {
  margin: 25px 0;
  padding-left: 30px;
}

.about-text li {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #444;
  font-size: 16px;
  padding-left: 10px;
  position: relative;
}

.about-text li::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
}

.about-text ol li {
  counter-increment: list-counter;
  padding-left: 15px;
}

.about-text ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: -25px;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.about-text strong {
  color: var(--primary-dark);
  font-weight: 700;
}

.about-text ul li strong {
  color: var(--primary-color);
}

.about-image {
  max-width: 400px;
  position: relative;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(139, 0, 0, 0.25), 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 3px solid #fff;
  position: relative;
  z-index: 2;
}

.about-img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(139, 0, 0, 0.35), 0 15px 25px rgba(0, 0, 0, 0.15);
}

.about-image::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;

  border-radius: 25px;
  opacity: 0.1;
  z-index: 1;
  transition: all 0.4s ease;
}

.about-image:hover::before {
  opacity: 0.15;
  transform: scale(1.05);
}

/* Декоративные элементы */
.about-box .decoration {
  position: absolute;
  z-index: 1;
}

.about-box .decoration-1 {
  top: 50px;
  right: 50px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  opacity: 0.5;
}

.about-box .decoration-2 {
  bottom: 30px;
  left: 30px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  opacity: 0.3;
  border-radius: 50%;
}

/* Адаптивность */
@media (max-width: 1199.98px) {
  .about-content {
    grid-template-columns: 1fr 350px;
    gap: 60px;
  }

  .about-text h2 {
    font-size: 36px;
  }

  .about-text h3 {
    font-size: 24px;
  }
}

@media (max-width: 991.98px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-image {
    max-width: 500px;
    margin: 0 auto;
    order: 1;
  }

  .about-text {
    order: 2;
    padding-right: 0;
  }

  .about-box {
    padding: 60px 0;
    margin: 40px auto;
  }

  .about-text h2 {
    font-size: 32px;
    text-align: center;
  }

  .about-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 767.98px) {
  .about-box {
    padding: 50px 0;
    margin: 30px 15px;
    border-radius: 20px;
  }

  .about-text h2 {
    font-size: 28px;
    margin-bottom: 25px;
    padding-bottom: 15px;
  }

  .about-text h3 {
    font-size: 22px;
    margin: 30px 0 20px;
    padding-left: 15px;
  }

  .about-text p {
    font-size: 16px;
    line-height: 1.6;
  }

  .about-text ol,
  .about-text ul {
    padding-left: 25px;
  }

  .about-image {
    max-width: 100%;
  }

  .about-img {
    border-radius: 15px;
  }
}

@media (max-width: 575.98px) {
  .about-box {
    padding: 40px 20px;
    margin: 20px 10px;
  }

  .about-text h2 {
    font-size: 24px;
  }

  .about-text h3 {
    font-size: 20px;
  }

  .about-text p {
    font-size: 15px;
    text-align: left;
  }

  .about-text ol li::before {
    left: -20px;
    width: 18px;
    height: 18px;
    font-size: 11px;
  }
}

/* Анимация появления */
@keyframes aboutFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-box {
  animation: aboutFadeIn 0.8s ease-out;
}

.about-text h2 {
  animation: aboutFadeIn 0.8s ease-out 0.2s both;
}

.about-text p {
  animation: aboutFadeIn 0.8s ease-out 0.4s both;
}

.about-text h3 {
  animation: aboutFadeIn 0.8s ease-out 0.6s both;
}

.about-image {
  animation: aboutFadeIn 0.8s ease-out 0.8s both;
}

/* ========= Tabs Section - Enhanced Styles ========= */
.home-box .tabs-row {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  padding: 8px 38px;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  height: 71px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.home-box .tabs-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-dark),
    var(--primary-color),
    var(--primary-dark)
  );
}

.home-box .tabs-list {
  display: flex;
  align-items: center;
  margin: 0 26px;
  width: 100%;
}

.home-box .tabs-list .swiper-wrapper {
  align-items: center;
}

.home-box .tabs-row .swiper-slide {
  width: auto;
  flex-shrink: 0;
}

.home-box .tabs-row .tab-item {
  display: block;
  padding: 12px 24px;
  border-radius: 15px;
  color: var(--primary-color);
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(139, 0, 0, 0.1);
}

.home-box .tabs-row .tab-item::before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.home-box .tabs-row .tab-item.active {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(215, 0, 0, 0.3);
  border-color: var(--primary-dark);
}

.home-box .tabs-row .tab-item.active::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.home-box .tabs-row .tab-item:hover {
  background: var(--primary-light);
  color: var(--primary-color);
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(215, 0, 0, 0.2);
}

.home-box .tabs-row .tab-item:hover::before {
  left: 100%;
}

.home-box .tabs-row .tab-item.active:hover {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-color)
  );
  color: #fff;
  border-color: var(--primary-dark);
}

/* Стрелки навигации для слайдера */
.home-box .tabs-row .sw-arrow {
  flex-shrink: 0;
  height: 26px;
  width: 26px;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(139, 0, 0, 0.2);
}

.home-box .tabs-row .sw-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.home-box .tabs-row .sw-prev::before {
  transform: translate(-50%, -50%) rotate(135deg);
}

.home-box .tabs-row .sw-next::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.home-box .tabs-row .sw-arrow:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(215, 0, 0, 0.3);
}

.home-box .tabs-row .sw-arrow.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.home-box .tabs-row .sw-arrow.swiper-button-disabled:hover {
  background: var(--primary-color);
  transform: none;
  box-shadow: 0 2px 8px rgba(139, 0, 0, 0.2);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 991.98px) {
  .home-box .tabs-row {
    padding: 8px 25px;
    height: 60px;
  }

  .home-box .tabs-row .tab-item {
    padding: 10px 18px;
    font-size: 13px;
  }

  .home-box .tabs-list {
    margin: 0 15px;
  }

  .home-box .tabs-row .sw-arrow {
    height: 22px;
    width: 22px;
  }

  .home-box .tabs-row .sw-arrow::before {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 767.98px) {
  .home-box .tabs-row {
    padding: 6px 15px;
    height: 50px;
    border-radius: 15px;
  }

  .home-box .tabs-row .tab-item {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 12px;
  }

  .home-box .tabs-list {
    margin: 0 10px;
  }

  .home-box .tabs-row .sw-arrow {
    height: 20px;
    width: 20px;
  }
}

/* Анимация появления кнопок */
@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-box .tabs-row .tab-item {
  animation: tabFadeIn 0.4s ease-out;
}

.home-box .tabs-row .tab-item:nth-child(1) {
  animation-delay: 0.1s;
}
.home-box .tabs-row .tab-item:nth-child(2) {
  animation-delay: 0.2s;
}
.home-box .tabs-row .tab-item:nth-child(3) {
  animation-delay: 0.3s;
}
.home-box .tabs-row .tab-item:nth-child(4) {
  animation-delay: 0.4s;
}
.home-box .tabs-row .tab-item:nth-child(5) {
  animation-delay: 0.5s;
}

/* ========= Cities Section ========= */
.cities-section {
  background: #fff;
  padding: 60px 0;
  margin: 40px auto;
  max-width: 1400px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(139, 0, 0, 0.15);
  border-top: 5px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.cities-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-dark),
    var(--primary-color),
    var(--primary-dark)
  );
}

.section-title {
  text-align: center;
  color: var(--primary-dark);
  font-size: 36px;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  position: relative;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.cities-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 0 20px;
}

.cities-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.column-title {
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  text-align: center;
  position: relative;
}

.column-title:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--primary-dark);
}

.city-link {
  color: var(--primary-dark);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 500;
  border: 2px solid transparent;
  background: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(139, 0, 0, 0.1);
}

.city-link:before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.city-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateX(10px) translateY(-2px);
  border-color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(215, 0, 0, 0.3);
  text-decoration: none;
}

.city-link:hover:before {
  left: 100%;
}

/* ========= Details Section ========= */
.details-box {
  background: linear-gradient(135deg, #fbf3fd 0%, #fff5f5 100%);
  padding: 60px 0;
}
.details-box .salons-list {
  display: grid;
  gap: 30px;
}
.details-box .salon-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  padding: 30px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(139, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.details-box .salon-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(139, 0, 0, 0.2);
  border-color: var(--primary-color);
}
.details-box .salon-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
}
.details-box .s-yellow {
  background: var(--primary-light);
}
.details-box .s-image {
  position: relative;
  height: 250px;
  width: 220px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.details-box .s-image .hash {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  padding: 0 15px;
  height: 32px;
  background: var(--primary-color);
  border-radius: 15px 0px;
  color: #fff;
  z-index: 2;
  font-weight: 700;
  font-size: 14px;
}

/* ========= Reviews Section ========= */
.reviews-box .review-item {
  padding: 25px 30px;
  width: 100%;
  min-height: 320px;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.reviews-box .review-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
}
.reviews-box .review-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(139, 0, 0, 0.2);
}

/* ========= Footer ========= */
.footer-box {
  padding: 50px 0 30px;
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  color: #fff;
  position: relative;
}
.footer-box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
}
.footer-box a {
  transition: all 0.3s ease;
  position: relative;
}
.footer-box a:hover {
  color: #fff;
  transform: translateX(8px);
  text-decoration: none;
}

/* ========= Utility Classes ========= */
.more-link {
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.more-link:after {
  content: "→";
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.more-link:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

.more-link:hover:after {
  transform: translateX(3px);
}

/* Стили для иконок */
.icon {
  transition: all 0.3s ease;
}

a:hover .icon {
  transform: scale(1.1);
}

/* Стили для карточек */
.card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(139, 0, 0, 0.2);
  border-color: var(--primary-color);
}

.card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
}

/* Стили для разделителей */
.divider {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  margin: 30px 0;
  border: none;
}

/* Стили для бейджей */
.badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.badge:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.badge-secondary {
  background: var(--primary-dark);
}

/* ========= Media Queries ========= */
@media (min-width: 420px) {
  :root {
    --screen-name: sm;
    --content-width: 360px;
  }
  .hidden-sm {
    display: none !important;
  }
}
@media (max-width: 419.99px) {
  .visible-sm {
    display: none !important;
  }
}
@media (min-width: 768px) {
  :root {
    --screen-name: md;
    --content-width: 740px;
  }
  .hidden-md {
    display: none !important;
  }
}
@media (max-width: 767.99px) {
  .visible-md {
    display: none !important;
  }
}
@media (min-width: 992px) {
  :root {
    --screen-name: lg;
    --content-width: 960px;
  }
  .hidden-lg {
    display: none !important;
  }
}
@media (max-width: 991.99px) {
  .visible-lg {
    display: none !important;
  }
}
@media (min-width: 1200px) {
  :root {
    --screen-name: xl;
    --content-width: 1190px;
  }
  .hidden-xl {
    display: none !important;
  }
}
@media (max-width: 1199.99px) {
  .visible-xl {
    display: none !important;
  }
}
@media (min-width: 1540px) {
  :root {
    --screen-name: xxl;
    --content-width: 1470px;
  }
  .hidden-xxl {
    display: none !important;
  }
}
@media (max-width: 1539.99px) {
  .visible-xxl {
    display: none !important;
  }
}

/* Остальные стили из оригинального CSS файла остаются без изменений */
.w-100 {
  width: 100% !important;
}

.w-50 {
  width: 50% !important;
}

.w-25 {
  width: 25% !important;
}

.w-0 {
  width: 0 !important;
}

.w-auto {
  width: auto !important;
}

[tabs-here] [data-tab-name]:not(.tab-active) {
  cursor: pointer;
}
[tabs-here] [data-tab-content]:not(.tab-active) {
  display: none;
}

@font-face {
  font-family: "Ruda";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: local("Ruda"), url("../fonts/Ruda-Bold.woff2") format("woff2"),
    url("../fonts/Ruda-Bold.woff") format("woff");
}
@font-face {
  font-family: "Ruda";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: local("Ruda"), url("../fonts/Ruda-SemiBold.woff2") format("woff2"),
    url("../fonts/Ruda-SemiBold.woff") format("woff");
}
@font-face {
  font-family: "Ruda";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local("Ruda"), url("../fonts/Ruda-Regular.woff2") format("woff2"),
    url("../fonts/Ruda-Regular.woff") format("woff");
}
@font-face {
  font-family: "Sansation";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local("Sansation"),
    url("../fonts/sansationregular.woff2") format("woff2"),
    url("../fonts/sansationregular.woff") format("woff");
}
@font-face {
  font-family: "Sansation";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: local("Sansation"), url("../fonts/sansationitalic.woff2") format("woff2"),
    url("../fonts/sansationitalic.woff") format("woff");
}
@font-face {
  font-family: "Sansation";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: local("Sansation"), url("../fonts/sansationlight.woff2") format("woff2"),
    url("../fonts/sansationlight.woff") format("woff");
}
@font-face {
  font-family: "Sansation";
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  src: local("Sansation"),
    url("../fonts/sansationlightitalic.woff2") format("woff2"),
    url("../fonts/sansationlightitalic.woff") format("woff");
}
@-webkit-keyframes round {
  0% {
    transform: none;
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes round {
  0% {
    transform: none;
  }
  100% {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes blink {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 0.9;
  }
}
@keyframes blink {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 0.9;
  }
}
/* ========= General ========= */
::-moz-selection {
  background: #f82628;
  color: #fff;
}
::selection {
  background: #f82628;
  color: #fff;
}

body {
  font: 400 16px/1.3 "Ruda", sans-serif;
  color: #202020;
  background: #fff;
}

.wrapper {
  position: relative;
  margin: 0 auto;
  background: #fff;
  max-width: var(--body-width);
  width: 100%;
  overflow: hidden;
}

a,
.a {
  transition: color 0.2s, opacity 0.2s;
  text-decoration: none;
  cursor: pointer;
  color: currentColor;
  text-decoration-thickness: 1px;
}
a:hover,
.a:hover {
  color: #f82628;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.color,
.primary {
  color: #f82628;
}

.secondary {
  color: #d81b1d;
}

.text-box {
  line-height: 1.35;
}
.text-box p:not(:last-child),
.text-box .p:not(:last-child) {
  margin-bottom: 0.9em;
}

.h1,
h1,
.h2,
h2,
.h3,
.footer-box .logo-title,
.header-box .logo-title,
.h4,
.h5,
.h6,
.h {
  font-family: "Sansation", sans-serif;
  font-weight: 400;
  line-height: 1.125;
}

.h1,
h1 {
  font-size: 64px;
}

.h2,
h2 {
  font-size: 32px;
}

.h3,
.footer-box .logo-title,
.header-box .logo-title,
h3 {
  font-size: 24px;
}

.h4,
h4 {
  font-size: 22px;
}

.h5 {
  font-size: 20px;
}

.h6 {
  font-size: 18px;
}

p,
.p {
  line-height: 1.3;
}
p:not(:last-child),
.p:not(:last-child) {
  margin-bottom: 1.45em;
}

.custom-scroll {
  padding-right: 34px;
}
.custom-scroll::-webkit-scrollbar-thumb {
  background: #f82628;
  background-clip: content-box;
  border-radius: 10px;
}
.custom-scroll::-webkit-scrollbar-track {
  background: #d9d9d9;
  border: 4px solid #fff;
  border-radius: 10px;
}
.custom-scroll::-webkit-scrollbar {
  width: 15px;
  height: 15px;
  -webkit-appearance: none;
}
.custom-scroll::-webkit-scrollbar-corner {
  background: tranparent;
}

.h-title,
h2 {
  padding-top: 40px;
  padding-bottom: 40px;
}

.map-here {
  position: relative;
}
.map-here:not(.active)::after {
  content: "Кликните на карту";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fffd;
  cursor: pointer;
  transition: opacity 0.2s;
}
.map-here:not(.active):not(:hover)::after {
  opacity: 0;
}

.btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  height: 100%;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: all 0.2s;
  cursor: pointer;
  padding: 0 32px;
  height: 50px;
  max-height: 50px;
  border-radius: 20px;
  background: #f82628;
  color: #fff !important;
}
.btn:hover {
  color: #fff !important;
  background: #d81b1d;
}

.btn-white {
  background: #fff;
  color: #202020 !important;
}
.btn-white:hover {
  color: #fff !important;
  background: #f82628;
}

.btn-alt {
  top: 0;
  background: #fff;
  color: #202020 !important;
  border-width: 2px 2px 4px 2px;
  border-style: solid;
  border-color: #f82628;
  border-radius: 20px;
}
.btn-alt:hover {
  top: 2px;
  background: #fff;
  color: #202020 !important;
  border-bottom-width: 2px;
}

.form-title {
  margin-bottom: 15px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-input {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  width: 100%;
}
.form-input input,
.form-input textarea,
.form-input select {
  display: block;
  padding: 0 40px;
  height: 40px;
  width: 100%;
  background: transparent;
  font-weight: 500;
  line-height: 1;
  color: currentColor;
  background: #fff;
  transition: 0.2s;
  border-radius: 20px;
  border: 2px solid #f82628;
}
.form-input input::-moz-placeholder,
.form-input textarea::-moz-placeholder,
.form-input select::-moz-placeholder {
  color: #777;
}
.form-input input:-ms-input-placeholder,
.form-input textarea:-ms-input-placeholder,
.form-input select:-ms-input-placeholder {
  color: #777;
}
.form-input input::placeholder,
.form-input textarea::placeholder,
.form-input select::placeholder {
  color: #777;
}
.form-input input:focus,
.form-input textarea:focus,
.form-input select:focus {
  border-color: #d81b1d;
}
.form-input input.valid::-webkit-calendar-picker-indicator,
.form-input textarea.valid::-webkit-calendar-picker-indicator,
.form-input select.valid::-webkit-calendar-picker-indicator {
  opacity: 1;
}
.form-input input.invalid,
.form-input textarea.invalid,
.form-input select.invalid {
  box-shadow: inset 0 0 0 1px #e37a74;
  color: #e37a74;
}
.form-input input.valid ~ .valid-icon,
.form-input textarea.valid ~ .valid-icon,
.form-input select.valid ~ .valid-icon {
  display: block;
}
.form-input textarea {
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 153px;
}
.form-input select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.form-input select:not(:focus) ~ .icon:not(.valid-icon),
.form-input input:not(:focus) ~ .icon:not(.valid-icon) {
  transform: scale(-1);
}
.form-input select:not(:focus) ~ .options-list,
.form-input input:not(:focus) ~ .options-list {
  visibility: hidden;
  opacity: 0;
}
.form-input .options-list {
  position: absolute;
  top: 100%;
  left: 20px;
  right: 20px;
  max-height: 300px;
  min-height: 44px;
  padding-right: 5px;
  background: #fff;
  overflow: hidden;
  overflow-y: auto;
  border-radius: 0 0 6px 6px;
  z-index: 10;
  transition: visibility 0.2s, opacity 0.2s;
  border: 1px solid #f82628;
}
.form-input .options-value {
  display: flex;
  align-items: center;
  padding: 5px 20px;
  font-size: 14px;
  font-weight: 500;
  border-top: 1px solid #f1f1f1;
  transition: background 0.2s;
  cursor: pointer;
}
.form-input .options-value:hover {
  background: #f5f5f5;
}
.form-input .options-value.active {
  display: none;
}
.form-input .options-value .m-val {
  font-size: 0;
  opacity: 0;
}
.form-input .icon {
  position: absolute;
  right: 30px;
}
.form-input .valid-icon {
  display: none;
  right: 17px;
}

.form-select input {
  cursor: pointer;
}

.form-checkbox {
  display: flex;
  align-self: flex-start;
  align-items: center;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"],
.form-checkbox input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-right: 14px;
  background: no-repeat 50%;
  border-radius: 0;
  border: 0;
  outline: 0;
  pointer-events: none;
}
.form-checkbox input[type="checkbox"]:checked,
.form-checkbox input[type="radio"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.1454 0L5.01224 6.32097L1.99556 3.24593L0 5.03209L4.8736 10L14 1.92022L12.1454 0Z' fill='white'/%3E%3C/svg%3E");
  background-color: #f82628;
}
.form-checkbox input[type="checkbox"]:not(:checked),
.form-checkbox input[type="radio"]:not(:checked) {
  border: 1px solid #daddde;
}
.form-checkbox span {
  max-width: 520px;
  line-height: 1;
}

form.loading .form-input,
form.loading .form-file,
form.loading .btn,
form.loading input,
form.loading select,
form.loading textarea,
form.loading button,
form.done .form-input,
form.done .form-file,
form.done .btn,
form.done input,
form.done select,
form.done textarea,
form.done button {
  pointer-events: none;
}
form.loading .btn,
form.done .btn {
  color: transparent !important;
}
form.loading .btn .icon,
form.done .btn .icon {
  display: none;
}
form.loading {
  pointer-events: none;
  -webkit-animation: blink 0.5s infinite alternate;
  animation: blink 0.5s infinite alternate;
}
form.loading .btn {
  filter: grayscale(100%);
}
form.loading .btn::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid #fff;
  border-left-color: transparent;
  border-right-color: transparent;
  -webkit-animation: round 1s linear infinite;
  animation: round 1s linear infinite;
}
form.done .btn::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.1454 0L5.01224 6.32097L1.99556 3.24593L0 5.03209L4.8736 10L14 1.92022L12.1454 0Z' fill='white'/%3E%3C/svg%3E")
    no-repeat 50% 50%;
  background-size: contain;
  opacity: 0.7;
}

.sw-arrow {
  flex-shrink: 0;
  height: 26px;
  width: 13px;
  background: url("../images/icons/right-arrow.svg") no-repeat 50% 50%;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.sw-arrow:hover {
  opacity: 0.8;
}

.sw-prev {
  transform: scaleX(-1);
}

.swiper-button-disabled {
  pointer-events: none;
  opacity: 0.3;
}

.popup-boxes > .popup:not(.active) {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.popup-boxes > .popup:not(.active) .content-wrap {
  opacity: 0;
  transform: translateY(100%);
}

.popup {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  padding: 70px 10px;
  display: flex;
  background: rgba(248, 38, 40, 0.1);
  overflow-y: scroll;
  overflow-x: hidden;
  transition: opacity 0.5s;
  z-index: 700;
  cursor: pointer;
}
.popup > * {
  cursor: initial;
}
.popup .close-popup {
  cursor: pointer;
}
.popup .container {
  position: relative;
  margin: auto;
  max-width: 883px;
}
.popup .close-btn {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  width: 89px;
  transition: background 0.2s;
  z-index: 5;
}
.popup .close-btn svg {
  transition: transform 0.5s;
}
.popup .close-btn:hover svg {
  transform: rotate(90deg);
}
.popup .content-wrap {
  position: relative;
  margin: auto;
  padding: 52px 40px 60px;
  width: 100%;
  background: #fff;
  border-radius: 20px;
}

.popup-order .h2,
.popup-order h2 {
  text-align: center;
  margin-bottom: 40px;
}
.popup-order .form-wrap {
  display: grid;
  align-items: start;
  grid-template-columns: auto 320px;
  gap: 0 45px;
}
.popup-order p {
  margin-bottom: 15px;
}
.popup-order .master-names {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 15px;
}
.popup-order .check-label {
  display: block;
  max-width: 100%;
  overflow: hidden;
}
.popup-order .check-label input {
  display: none;
}
.popup-order .check-label input:checked ~ .check-item {
  background: #f82628;
}
.popup-order .check-item {
  display: block;
  padding: 10px 15px;
  background: #d81b1d;
  color: #fff;
  text-align: center;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 14px;
  text-overflow: ellipsis;
  overflow: hidden;
}
.popup-order .check-item:hover {
  background: #f82628;
}
.popup-order .form-input {
  max-width: 290px;
}
.popup-order .grid-full {
  grid-column: 1/-1;
}
.popup-order .h3,
.popup-order .footer-box .logo-title,
.footer-box .popup-order .logo-title,
.popup-order .header-box .logo-title,
.header-box .popup-order .logo-title,
.popup-order h3 {
  padding-bottom: 20px;
}
.popup-order .h3:not(:first-child),
.popup-order .footer-box .logo-title:not(:first-child),
.footer-box .popup-order .logo-title:not(:first-child),
.popup-order .header-box .logo-title:not(:first-child),
.header-box .popup-order .logo-title:not(:first-child),
.popup-order h3:not(:first-child) {
  padding-top: 10px;
}
.popup-order .popup-profile {
  padding-top: 30px;
}
.popup-order .profile-top-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
}
.popup-order .photo-img {
  overflow: hidden;
  border-radius: 15px;
}
.popup-order .profile-address {
  display: flex;
  align-items: center;
  margin-top: 25px;
}
.popup-order .profile-address .icon {
  flex-shrink: 0;
  margin-right: 5px;
}
.popup-order .right-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 15px;
}
.popup-order .bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 16px 20px;
  grid-column: 1/-1;
  background: #f82628;
  border-radius: 20px;
}
.popup-order .bottom-row .form-input {
  max-width: 298px;
  margin: 0;
}
.popup-order .bottom-row .prices {
  display: flex;
  align-items: flex-start;
  font-size: 32px;
}
.popup-order .bottom-row .price {
  color: #fff;
}
.popup-order .bottom-row .old-price {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -8px;
  margin-left: 7px;
  font-size: 0.75em;
  color: #fff7;
}
.popup-order .bottom-row .old-price::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  border-bottom: 1px solid #000;
  transform: rotate(-10deg);
}
.popup-order .bottom-row .btn:hover {
  box-shadow: 0 0 0 2px #fff;
}

.popup-done {
  text-align: center;
}
.popup-done .content-here {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.popup-done .p-description {
  margin-top: 18px;
  max-width: 485px;
  font-size: 24px;
}
.popup-done .heart {
  margin-bottom: 88px;
}

.popup-callback .content-wrap {
  max-width: 500px;
  text-align: center;
}
.popup-callback .form {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.popup-callback .h2,
.popup-callback h2 {
  margin-bottom: 40px;
}

:root {
  --header-height: 75px;
}

.header-box {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  /* background: #f1f1f1;*/
  color: #f1f1f1;
  filter: drop-shadow(0px 1px 4px rgba(0, 0, 0, 0.25));
}
.header-box .container {
  display: flex;
  align-items: center;
  height: var(--header-height);
}
.header-box .logo-title {
  color: #fff;
  max-width: 200px;
  margin-right: auto;
}
.header-box .counts {
  display: flex;
  align-items: center;
  margin-left: 25px;
}
.header-box .c-int {
  display: flex;
  align-items: center;
  margin-right: 10px;
  height: 2.4375em;
  padding: 0 0.625em;
  border-radius: 20px;
  background: #f82628;
}
.header-box .mini-menu {
  display: flex;
  padding: 0 20px;
}
.header-box .mini-menu a {
  margin-left: 15px;
}
.header-box .mini-menu a:hover {
  color: #fff;
}

/* ========= Suppliers Table - Fixed Styles ========= */
.home-box .m-table-wrap {
  margin-top: 26px;
  max-height: 401px;
  overflow-y: auto;
  border-radius: 15px;
  border: 2px solid var(--primary-light);
  background: #fff;
}

.home-box .m-table {
  display: table;
  width: 100%;
  border-collapse: collapse;
}

.home-box .mt-top {
  display: table-row;
  background: var(--primary-light);
  position: sticky;
  top: 0;
  z-index: 2;
}

.home-box .mt-top .mt-col {
  color: var(--primary-dark);
  font-weight: 600;
  border-bottom: 2px solid var(--primary-color);
  padding: 15px 18px;
  background: var(--primary-light);
}

.home-box .mt-row {
  display: table-row;
  transition: all 0.3s ease;
  background: #fff;
}

.home-box .mt-row:hover {
  background: var(--primary-light);
  transform: none; /* Убираем масштабирование */
  box-shadow: inset 0 0 0 2px var(--primary-color);
}

.home-box .mt-row:not(:last-child) .mt-col {
  border-bottom: 1px solid #e0e0e0;
}

.home-box .mt-row:hover:not(:last-child) .mt-col {
  border-bottom: 1px solid var(--primary-color);
}

.home-box .mt-col {
  display: table-cell;
  padding: 15px 18px;
  vertical-align: middle;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.home-box .mt-col:first-child {
  padding-left: 18px;
  text-align: center;
  width: 60px;
}

.home-box .mt-col:last-child {
  padding-right: 18px;
}

.home-box .mt-col-int {
  width: 60px;
}

.home-box .mt-col-name {
  min-width: 150px;
  max-width: 200px;
}

.home-box .mt-col-stars {
  width: 120px;
}

.home-box .mt-col-price {
  width: 100px;
  text-align: center;
}

.home-box .mt-col-phone {
  width: 140px;
  text-align: center;
}

.home-box .mt-int {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.home-box .mt-row:hover .mt-int {
  transform: scale(1.05);
  background: var(--primary-dark);
}

.home-box .mcs-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  flex-wrap: nowrap;
}

.home-box .mcs-wrap .star-icon {
  margin-right: 0;
  padding-right: 7px;
  border-right: 1px solid var(--primary-color);
  display: flex;
  align-items: center;
}

.home-box .mc-int {
  font-size: 12px;
  color: var(--primary-dark);
  font-weight: 600;
}

/* Стили для телефонов */
.phone-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--primary-light);
  display: inline-block;
  white-space: nowrap;
}

.phone-link:hover {
  color: #fff;
  background: var(--primary-color);
  text-decoration: none;
  transform: none; /* Убираем смещение */
  box-shadow: 0 2px 8px rgba(215, 0, 0, 0.2);
}

.no-phone {
  color: #999;
  font-style: italic;
  padding: 6px 12px;
  display: inline-block;
}

/* Кастомный скролл для таблицы */
.home-box .m-table-wrap.custom-scroll {
  padding-right: 0;
}

.home-box .m-table-wrap.custom-scroll::-webkit-scrollbar {
  width: 8px;
}

.home-box .m-table-wrap.custom-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0 15px 15px 0;
}

.home-box .m-table-wrap.custom-scroll::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.home-box .m-table-wrap.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 991.98px) {
  .home-box .mt-col {
    padding: 12px 15px;
    font-size: 14px;
  }

  .home-box .mt-col:first-child {
    padding-left: 15px;
    width: 50px;
  }

  .home-box .mt-col-name {
    min-width: 120px;
    max-width: 150px;
  }

  .home-box .mt-col-stars {
    width: 100px;
  }

  .home-box .mt-col-price {
    width: 90px;
  }

  .home-box .mt-col-phone {
    width: 120px;
  }

  .phone-link {
    padding: 4px 8px;
    font-size: 13px;
  }
}

@media (max-width: 767.98px) {
  .home-box .m-table-wrap {
    max-height: 350px;
    margin-top: 20px;
  }

  .home-box .mt-col {
    padding: 10px 12px;
    font-size: 13px;
  }

  .home-box .mt-col:first-child {
    padding-left: 12px;
    width: 40px;
  }

  .home-box .mt-int {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .home-box .mcs-wrap {
    gap: 3px;
  }

  .home-box .mcs-wrap .star-icon {
    padding-right: 5px;
  }

  .home-box .mcs-wrap .star-icon img {
    width: 12px;
    height: 12px;
  }

  .phone-link {
    padding: 3px 6px;
    font-size: 12px;
    border-radius: 8px;
  }

  .home-box .mt-col-name {
    min-width: 100px;
    max-width: 120px;
  }

  .home-box .mt-col-stars {
    width: 80px;
  }

  .home-box .mt-col-price {
    width: 70px;
  }

  .home-box .mt-col-phone {
    width: 100px;
  }
}

/* Скрываем заголовки на очень маленьких экранах */
@media (max-width: 575.98px) {
  .home-box .mt-top .mt-col {
    font-size: 12px;
    padding: 8px 10px;
  }

  .home-box .mt-col {
    padding: 8px 10px;
  }

  .home-box .mt-col:first-child {
    padding-left: 10px;
  }
}

/* Анимация для плавного появления строк */
@keyframes tableRowFadeIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.home-box .mt-row {
  animation: tableRowFadeIn 0.4s ease-out;
}

.home-box .mt-row:nth-child(1) {
  animation-delay: 0.1s;
}
.home-box .mt-row:nth-child(2) {
  animation-delay: 0.2s;
}
.home-box .mt-row:nth-child(3) {
  animation-delay: 0.3s;
}
.home-box .mt-row:nth-child(4) {
  animation-delay: 0.4s;
}
.home-box .mt-row:nth-child(5) {
  animation-delay: 0.5s;
}

.details-box {
  background: #fbf3fd;
  padding-bottom: 40px;
}
.details-box .salons-list {
  display: grid;
  gap: 40px;
}
.details-box .salon-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  padding-right: 40px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}
.details-box .salon-item:not(.opened) .services-list {
  max-height: 95px;
  overflow: hidden;
}
.details-box .salon-item:not(.opened) .close-link {
  opacity: 0;
  visibility: hidden;
}
.details-box .salon-item:not(.opened) .s-map-wrap {
  display: none;
}
.details-box .salon-item.opened .s-image {
  border-radius: 20px;
}
.details-box .salon-item.opened .more-link {
  display: none !important;
}
.details-box .salon-item .h3,
.details-box .salon-item .footer-box .logo-title,
.footer-box .details-box .salon-item .logo-title,
.details-box .salon-item .header-box .logo-title,
.header-box .details-box .salon-item .logo-title {
  padding-top: 20px;
  padding-bottom: 20px;
}
.details-box .s-yellow {
  background: #fff5f5;
}
.details-box .close-link {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 14px;
  height: 14px;
  background: url("../images/icons/popup-close.svg");
  cursor: pointer;
  transition: 0.2s;
  z-index: 8;
}
.details-box .s-left {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 40px;
}
.details-box .s-image {
  position: relative;
  height: 274px;
  width: 247px;
  flex-shrink: 0;
  overflow: hidden;
}
.details-box .s-image .hash {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  padding: 0 13px;
  height: 28px;
  background: #f82628;
  border-radius: 20px 0px;
  color: #fff;
  z-index: 2;
}
.details-box .s-info {
  width: 100%;
  max-width: 470px;
}
.details-box .s-info .sb-address {
  margin-top: 28px;
  margin-bottom: 15px;
}
.details-box .s-info .sba-top {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
.details-box .s-info .sba-top .icon {
  flex-shrink: 0;
  margin-right: 5px;
}
.details-box .s-info .more-link {
  margin-left: 26px;
}
.details-box .s-map-wrap {
  grid-column: 1/-1;
  padding: 40px;
}
.details-box .s-map-wrap .s-map {
  width: 100%;
  background: #f9f7f9;
  border: 1px solid #f82628;
  border-radius: 20px;
  overflow: hidden;
}
.details-box .s-bottom-services {
  display: flex;
  margin-left: 40px;
  padding-left: 40px;
  padding-bottom: 20px;
  border-left: 1px solid #f82628;
}
.details-box .s-bottom-services .ss-left .sbm-title {
  margin-bottom: 20px;
}
.details-box .s-bottom-services .ss-left .services-list {
  display: grid;
  grid-template-columns: auto auto;
  gap: 17px 20px;
  max-width: 342px;
}
.details-box .s-bottom-services .ss-left .services-list .sv-price {
  color: #f82628;
}
.details-box .s-bottom-services .ss-left .more-link {
  display: inline-block;
  margin-top: 19px;
  color: #f82628;
}
.details-box .s-bottom-services .ss-left .more-link:hover {
  color: #d81b1d;
}
.details-box .s-bottom-services .s-btn {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  margin-top: auto;
  margin-left: auto;
}
.details-box .s-bottom-services .s-btn .btn {
  margin-top: 10px;
}

.reviews-box .reviews-list {
  position: relative;
  display: flex;
  align-items: center;
}
.reviews-box .reviews-list .sw-arrow {
  position: absolute;
}
.reviews-box .reviews-list .sw-arrow.sw-prev {
  left: -40px;
}
.reviews-box .reviews-list .sw-arrow.sw-next {
  right: -40px;
}
.reviews-box .swiper {
  width: 100%;
  min-width: 1px;
}
.reviews-box .review-item {
  padding: 20px 25px;
  width: 100%;
  min-height: 358px;
  border: 2px solid #f82628;
  border-radius: 20px;
}
.reviews-box .review-item:not(.opened) .text-info {
  max-height: 188px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reviews-box .review-item .top-row {
  display: flex;
  justify-content: space-between;
  color: #f82628;
}
.reviews-box .review-item .r-date {
  opacity: 0.5;
}
.reviews-box .review-item .s-info {
  max-width: 150px;
  margin: 20px 0 10px;
  color: #f82628;
}
.reviews-box .review-item .read-more {
  margin-top: 10px;
  color: #f82628;
}

.feedback-box {
  padding-top: 40px;
  padding-bottom: 40px;
}
.feedback-box .form-grid {
  display: grid;
  grid-template-columns: 330px 1fr auto;
  gap: 40px;
  margin-bottom: -20px;
}
.feedback-box .form-middle {
  display: flex;
}
.feedback-box .form-middle textarea {
  height: 100%;
}

.faq-box {
  background: #111;
  color: #fff;
}
.faq-box .container {
  display: flex;
}
.faq-box .faq-left {
  max-width: 535px;
  width: 100%;
  padding-bottom: 40px;
}
.faq-box .faq-item {
  border-bottom: 1px solid #fff;
}
.faq-box .faq-item:not(.active) .faq-text {
  display: none;
}
.faq-box .faq-item:not(.active) .faq-title .icon {
  transform: rotate(90deg);
}
.faq-box .faq-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 61px;
  cursor: pointer;
}
.faq-box .faq-title .icon {
  position: absolute;
  right: 0;
  flex-shrink: 0;
  transform: rotate(-90deg);
  height: 16px;
}
.faq-box .faq-title .icon path {
  stroke: #fff;
}
.faq-box .faq-text {
  padding: 0 0 20px;
  max-width: 400px;
}
.faq-box .faq-right {
  margin-left: 328px;
  width: 100%;
  background: url("../images/main/faq-bg.png") no-repeat 50% 0%;
  background-size: cover;
  margin-right: calc(var(--side-width) * -1);
}

.footer-box {
  padding: 40px 0;
  background: #000000;
  color: #fff;
}
.footer-box .container {
  display: grid;
  grid-template-columns: 3fr 4fr 5fr;
  gap: 30px;
}
.footer-box a:not(:hover) {
  opacity: 0.5;
}
.footer-box a:hover {
  color: #fff;
}
.footer-box .left-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer-box .left-side a {
  max-width: 240px;
}
.footer-box .logo-title {
  color: #fff;
  max-width: 200px;
  opacity: 1;
}
.footer-box .f-title {
  margin-bottom: 20px;
}
.footer-box ul {
  display: grid;
  gap: 20px;
}
.footer-box ul a {
  display: flex;
  align-items: center;
}
.footer-box ul a .icon {
  flex-shrink: 0;
  margin-right: 10px;
}

.page-box {
  margin-top: var(--header-height);
  padding-top: 40px;
  padding-bottom: 40px;
}
.page-box .text-box {
  max-width: 800px;
  margin-top: 40px;
}

@media (max-width: 1539.98px) {
  .home-box .title-row .t-img-wrap {
    margin-left: 30px;
  }
  .home-box .title-row .t-img-wrap:last-child {
    display: none;
  }

  .home-box .map-col {
    margin-right: 30px;
  }

  .details-box .s-info {
    max-width: 340px;
  }

  .details-box .s-info .sb-address {
    margin-bottom: 25px;
  }
  .counts {
    padding: 6px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1px;
  }

  .counts .c-int {
    font-size: 16px;
    margin: 0;
  }

  .counts .c-text {
    font-size: 11px;
    white-space: nowrap;
    line-height: 1.1;
  }
}
@media (max-width: 1199.98px) {
  .h1,
  h1 {
    font-size: 57px;
  }

  .h2,
  h2 {
    font-size: 30px;
  }

  .h3,
  .header-box .logo-title,
  .footer-box .logo-title,
  h3 {
    font-size: 22px;
  }

  .header-box .mini-menu {
    display: grid;
    justify-content: end;
    padding: 0 13px;
    gap: 7px;
    font-size: 12px;
  }

  .header-box a.logo-title {
    font-size: 18px;
  }

  .home-box .title-row .title-images {
    display: none;
  }

  .home-box .title-row .h1,
  .home-box .title-row h1 {
    max-width: none;
  }

  .home-box .map-row {
    flex-direction: column-reverse;
  }

  .home-box .map-col {
    width: 100%;
    max-width: none;
    margin: 30px 0 0;
    height: 400px;
    min-height: 0;
  }

  .home-box .tabs-row {
    padding: 8px 25px;
  }

  .home-box .tabs-row .tab-item {
    padding: 12px 25px;
  }

  .details-box .salon-item {
    display: block;
  }

  .details-box .s-info {
    max-width: none;
  }

  .details-box .s-image {
    border-radius: 20px 0;
  }

  .details-box .s-left {
    gap: 0 30px;
  }

  .details-box .s-services .h3,
  .details-box .s-services .header-box .logo-title,
  .header-box .details-box .s-services .logo-title,
  .details-box .s-services .footer-box .logo-title,
  .footer-box .details-box .s-services .logo-title {
    display: none;
  }

  .details-box .s-bottom-services {
    margin: 0;
    padding: 30px 0 30px 30px;
    border: 0;
  }

  .details-box .s-bottom-services .ss-left .services-list {
    gap: 10px 20px;
  }

  .details-box .s-map-wrap {
    padding: 30px 0 0 30px;
  }

  .details-box .s-map-wrap .s-map {
    max-height: 360px;
  }

  .faq-box .faq-left {
    flex-shrink: 0;
  }

  .faq-box .faq-right {
    margin-left: 50px;
  }

  .footer-box .container {
    grid-template-columns: 220px auto auto;
    gap: 30px;
  }

  .reviews-box .reviews-list .sw-arrow.sw-prev {
    left: -30px;
  }

  .reviews-box .reviews-list .sw-arrow.sw-next {
    right: -30px;
  }
}
@media (max-width: 991.98px) {
  .h1,
  h1 {
    font-size: 47px;
  }

  .h2,
  h2 {
    font-size: 30px;
  }

  .h3,
  .header-box .logo-title,
  .footer-box .logo-title,
  h3 {
    font-size: 22px;
  }

  .header-box .mini-menu {
    display: none !important;
  }
  .city-selector {
    display: none !important;
  }

  .header-box .mini-menu a {
    padding: 8px 15px;
    font-size: 14px;
  }

  .city-selector select {
    width: 180px;
    font-size: 13px;
  }

  .counts {
    margin-left: 15px;
    padding: 6px 15px;
  }

  .btn {
    padding: 0 20px;
    max-height: 40px;
    font-size: 14px;
  }

  .home-box .mt-row .mt-col {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .home-box .mt-col {
    padding-left: 15px;
  }

  .home-box .m-table-wrap {
    padding-right: 0;
    max-height: none;
  }

  .footer-box .container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-box .left-side {
    grid-column: 1/-1;
  }
  .footer-box .left-side .logo-title {
    margin-bottom: 20px;
  }

  .popup-order .form-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }
}
@media (max-width: 767.98px) {
  :root {
    --scrollbar-width: 0px;
  }

  body {
    font-size: 14px;
  }

  .h1,
  h1 {
    font-size: 33px;
  }

  .h2,
  h2 {
    font-size: 24px;
  }

  .h3,
  .header-box .logo-title,
  .footer-box .logo-title,
  h3 {
    font-size: 19px;
  }

  .header-box .container {
    flex-wrap: wrap;
    padding: 10px 15px;
    height: auto;
  }

  .header-box .logo-link {
    margin-bottom: 10px;
  }

  .city-selector,
  .counts {
    margin-left: 0;
    margin-top: 10px;
  }

  .header-box .mini-menu {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    padding: 0;
  }

  .header-box .counts {
    display: none;
  }

  .header-box a.logo-title {
    font-size: 14px;
  }

  .header-box .btn {
    font-size: 12px;
    padding: 10px;
    max-height: 30px;
  }

  .home-box .title-row {
    margin-bottom: 25px;
  }

  .home-box .tabs-row {
    padding: 0 10px;
    margin-bottom: 25px;
  }

  .home-box .tabs-row .tabs-list {
    margin: 0 10px;
  }

  .home-box .tabs-row .tab-item {
    padding: 10px 15px;
  }

  .sw-arrow {
    width: 10px;
    background-size: contain;
  }

  .home-box .map-table-col {
    position: relative;
  }
  .home-box .map-table-col::before {
    content: "";
    position: absolute;
    top: 50px;
    right: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(to right, #fff0, #fff);
    z-index: 4;
  }

  .details-box .salon-item {
    padding: 0;
  }

  .details-box .s-left {
    grid-template-columns: 1fr;
  }

  .details-box .s-image {
    width: 100%;
  }

  .details-box .s-info .sb-address {
    margin-bottom: 0;
  }

  .details-box .s-info,
  .details-box .s-bottom-services {
    padding: 0 20px 20px;
  }

  .details-box .s-bottom-services {
    display: block;
  }

  .details-box .s-bottom-services .s-btn {
    padding: 0;
    margin: 20px 0 0;
  }

  .details-box .salon-item:not(.opened) .services-list {
    max-height: 77px;
  }

  .details-box .s-map-wrap {
    padding: 0 20px 20px;
  }

  .reviews-box .review-item {
    min-height: 270px;
  }

  .feedback-box .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq-box .faq-right {
    display: none;
  }

  .footer-box {
    text-align: center;
  }

  .footer-box .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .footer-box ul {
    gap: 10px;
  }
  .footer-box ul a {
    justify-content: center;
    text-align: left;
  }

  .footer-box .middle-side {
    margin: 20px 0;
  }

  .popup .content-wrap {
    padding: 60px 20px;
  }

  .popup-order .left-side {
    gap: 10px;
  }

  .popup-order .right-grid {
    gap: 10px;
  }

  .popup-order .check-item {
    font-size: 13px;
  }

  .popup-order .bottom-row {
    flex-direction: column;
    justify-content: center;
  }
  .popup-order .bottom-row .prices {
    margin: 13px 0 5px;
  }

  .popup-order .h2,
  .popup-order h2 {
    margin-bottom: 25px;
  }

  .city-selector {
    margin-left: 15px;
  }

  .city-selector select {
    width: 160px;
    height: 35px;
    font-size: 12px;
    padding: 0 15px;
  }
  .counts {
    margin-left: 15px;
    padding: 4px 12px;
  }

  .counts .c-int {
    font-size: 14px;
    margin-left: 6px;
  }

  .counts .c-text {
    font-size: 12px;
  }

  .about-box {
    padding: 40px 0;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-text h3 {
    font-size: 22px;
  }
}
@media (max-width: 575.98px) {
  :root {
    --header-height: 70px;
    --content-width: calc(100vw - 30px);
    --padding-side: 10px;
  }

  .reviews-box .reviews-list {
    padding: 0 30px;
  }

  .reviews-box .reviews-list .sw-arrow.sw-prev {
    left: 0;
  }

  .reviews-box .reviews-list .sw-arrow.sw-next {
    right: 0;
  }

  .form-input input,
  .form-input textarea,
  .form-input select {
    padding-left: 20px;
  }

  .header-box .mini-menu a {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .popup-order .profile-top-row {
    grid-template-columns: 1fr;
  }
  .popup-order .profile-top-row .p-photo {
    max-width: 150px;
  }

  .popup-order .master-names {
    grid-template-columns: repeat(2, auto);
  }

  .city-selector {
    margin-left: 10px;
  }

  .city-selector select {
    width: 140px;
    height: 30px;
    font-size: 11px;
    padding: 0 12px;
  }

  .city-selector::after {
    right: 12px;
    width: 8px;
    height: 5px;
  }
  .counts {
    margin-left: 10px;
    padding: 3px 10px;
  }

  .counts .c-int {
    font-size: 13px;
    margin-left: 5px;
  }

  .counts .c-text {
    font-size: 11px;
  }
}
@media (max-width: 359.98px) {
  .header-box .btn {
    display: none;
  }

  .popup-order .left-side {
    grid-template-columns: 1fr;
  }

  .popup-order .right-grid {
    grid-template-columns: 1fr 1fr;
  }

  .counts {
    display: none;
  }
}
.contract-box {
  overflow: hidden;
}
.contract-box .top-row {
  display: grid;
  grid-template-columns: auto 280px;
  gap: 0 60px;
}
.contract-box .c-photo {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
}
.contract-box .btn-mini {
  display: none;
}
.contract-box .line-title {
  padding: 0 10px 10px;
  margin-bottom: 10px;
  text-transform: uppercase;
  border-bottom: 1px solid #f82628;
}
.contract-box .sb-menu {
  font-size: 14px;
  margin: 0 0 60px;
}
.contract-box .sb-menu li {
  padding: 8px 0;
}
.contract-box .sb-menu li:not(.depth) + li.depth {
  margin-top: 2px;
}
.contract-box .sb-menu li.depth {
  color: #9c9c9c;
  font-size: 12px;
  line-height: 1.2;
  margin-left: 10px;
  padding-bottom: 3px;
  padding-top: 3px;
}
.contract-box .form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 40px;
  margin: 50px -50px;
  padding: 40px 50px;
  background: #fff5f5;
}
.contract-box .form .h2,
.contract-box .form h2 {
  grid-column: 1/-1;
  margin-bottom: 10px;
  text-align: center;
}
.contract-box .form .btn {
  margin: 0;
}
.contract-box .form .form-input {
  margin: 0;
  padding: 0;
}
.contract-box .form .form-input input {
  height: 50px;
}
.contract-box .contract-slider {
  margin-top: 50px;
  overflow: hidden;
}
.contract-box .contract-slider .h2,
.contract-box .contract-slider h2 {
  margin-bottom: 50px;
  text-align: center;
}
.contract-box .contract-slider .swiper-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}
.contract-box .contract-slider .sw-co {
  width: 100%;
  max-width: 100%;
  min-width: 1px;
}
.contract-box .contract-slider .swiper-container {
  overflow: hidden;
}
.contract-box .contract-slider .img-wrap {
  display: block;
  padding-bottom: 160%;
  position: relative;
  width: 100%;
  transition: 0.2s;
  overflow: hidden;
}
.contract-box .contract-slider .img-wrap:hover {
  opacity: 0.5;
}
.contract-box .contract-slider .img-wrap img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  pointer-events: none;
  position: absolute;
  width: 100%;
}
.contract-box .contract-slider .video-slide {
  background: #fff5f5;
}

@media (max-width: 991.98px) {
  .contract-box .top-row {
    display: flex;
    flex-direction: column-reverse;
  }
  .contract-box .top-row .btn {
    display: inline-flex;
    margin-bottom: 20px;
  }
  .contract-box .top-row .c-photo {
    display: none;
  }
  .contract-box .top-row .line-title {
    display: none;
  }
  .contract-box .top-row .sidebar:not(.active) .sb-menu {
    display: none;
  }
}
.catalog-box {
  margin-bottom: 90px;
}
.catalog-box .catalog-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 30px auto 0;
  gap: 60px 40px;
}
.catalog-box .product-item {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.catalog-box .product-item:hover .prod-preview img {
  transform: scale(1.05);
}
.catalog-box .product-item:hover .prod-preview .prod-more {
  opacity: 1;
}
.catalog-box .product-item a {
  text-decoration: none;
}
.catalog-box .product-item .prod-preview {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding-bottom: 100%;
  width: 100%;
  text-align: left;
}
.catalog-box .product-item .prod-preview img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  pointer-events: none;
  transition: 0.2s;
}
.catalog-box .product-item .prod-preview .prod-more {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.catalog-box .product-item .prod-preview .prod-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f82628;
  opacity: 0.7;
  transition: 0.2s;
}
.catalog-box .product-item .prod-title {
  padding: 25px 0 20px;
  margin: auto;
}
.catalog-box .product-item .prod-price {
  margin-bottom: 20px;
  font-size: 1.3em;
}
@media (max-width: 1539.98px) {
  .catalog-box .catalog-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 991.98px) {
  .catalog-box .catalog-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767.98px) {
  .catalog-box .catalog-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
  }
  .catalog-box .product-item .prod-title {
    font-size: 14px;
  }
  .catalog-box .product-item .prod-title {
    padding: 15px 0 10px;
  }
  .catalog-box .product-item .prod-price {
    margin-bottom: 10px;
  }
}
@media (max-width: 349.98px) {
  .catalog-box .catalog-list {
    grid-template-columns: 1fr;
  }
}

/* ========= Animations ========= */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cities-section,
.details-box,
.reviews-box {
  animation: slideIn 0.6s ease-out;
}

/* ========= Custom Scrollbar ========= */
.custom-scroll::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  background-clip: content-box;
  border-radius: 10px;
  border: 3px solid transparent;
}
.custom-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.custom-scroll::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

/* =========================
   APPENDED MOBILE / RESPONSIVE BLOCK (SAFE)
   - Adds burger fullscreen mobile menu
   - Adds structured media queries
   Placed at the end of the file. This block avoids overriding
   .container max-width or other global layout rules to prevent layout breaking.
   ========================= */

/* ========= Mobile header & burger ========= */
.header-box {
  z-index: 1200;
}

/* ========= Burger Menu - Fixed Styles ========= */
.header-box .burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  margin-left: 15px;
  position: relative;
  z-index: 1200;
}

.header-box .burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.header-box .burger span:nth-child(1) {
  transform: translateY(-6px);
}

.header-box .burger span:nth-child(3) {
  transform: translateY(6px);
}

/* Active state - превращение в крестик */
.header-box .burger.active span:nth-child(1) {
  transform: translateY(1px) rotate(45deg);
}

.header-box .burger.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.header-box .burger.active span:nth-child(3) {
  transform: translateY(-1px) rotate(-45deg);
}

/* Мобильное меню - исправленный крестик */
.mobile-menu .mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
  z-index: 1201;
  transition: all 0.3s ease;
}

.mobile-menu .mobile-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-menu .mobile-close svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Показывать бургер только на мобильных */
@media (max-width: 991.98px) {
  .header-box .burger {
    display: flex !important;
  }
}

/* ========= Fullscreen mobile menu ========= */
.mobile-menu {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  padding: 40px 20px;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  visibility: hidden;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  z-index: 1100;
  text-align: center;
}
.mobile-menu.active {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}
.mobile-menu a,
.mobile-menu .menu-item {
  display: block;
  font-weight: 700;
  font-family: "Sansation", sans-serif;
  font-size: 22px;
  color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  background: transparent;
  transition: all 0.18s ease;
  text-decoration: none;
}
.mobile-menu a:hover,
.mobile-menu .menu-item:hover {
  transform: translateY(-4px);
  color: var(--primary-light);
}
.mobile-menu .mobile-meta {
  margin-top: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #eee;
  opacity: 0.9;
}
.mobile-menu .mobile-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-menu .mobile-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
}

/* prevent page scroll when menu open */
html.noscroll,
body.noscroll {
  overflow: hidden !important;
  touch-action: none !important;
}

/* ========= Structured responsive overrides (safe, non-invasive) ========= */

/* 1539px and below */
@media (max-width: 1539.98px) {
  :root {
    --screen-name: xxl;
  }
  .home-box .title-row .t-img-wrap {
    margin-left: 30px;
  }
  .home-box .title-row .t-img-wrap:last-child {
    display: none;
  }
  .cities-container {
    gap: 32px;
  }
  .about-content {
    gap: 60px;
    grid-template-columns: 1fr 360px;
  }
}

/* 1199px and below */
@media (max-width: 1199.98px) {
  :root {
    --screen-name: xl;
    --content-width: 1100px;
  }
  .h1,
  h1 {
    font-size: 56px;
  }
  .h2,
  h2 {
    font-size: 30px;
  }
  .header-box .logo-text {
    font-size: 18px;
  }
  .home-box .title-row .title-images {
    display: none;
  }
  .home-box .map-row {
    flex-direction: column-reverse;
  }
  .cities-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .about-content {
    grid-template-columns: 1fr 340px;
    gap: 48px;
  }
  .details-box .salon-item {
    display: block;
    padding: 22px;
  }
  .details-box .s-image {
    width: 100%;
    height: 220px;
    max-width: none;
    margin-bottom: 16px;
  }
}

/* 991px and below */
@media (max-width: 991.98px) {
  :root {
    --screen-name: lg;
    --content-width: 720px;
    --header-height: 68px;
  }
  .header-box .mini-menu {
    display: none !important;
  }
  .header-box .burger {
    display: flex !important;
  }
  .city-selector {
    display: none !important;
  }
  .counts {
    display: none !important;
  }
  .header-box .container {
    padding-left: 12px;
    padding-right: 12px;
    height: var(--header-height);
  }
  .header-box .logo-img {
    width: 36px;
    height: 36px;
  }
  .header-box .logo-text {
    font-size: 18px;
  }
  .home-box {
    padding-top: calc(var(--header-height) + 28px);
    padding-bottom: 40px;
  }
  .home-box .title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .home-box .title-row .h1,
  .home-box .title-row h1 {
    font-size: 36px;
    max-width: 100%;
  }
  .home-box .tabs-row {
    padding: 8px 18px;
    height: 60px;
  }
  .about-box {
    padding: 60px 16px;
    margin: 30px auto;
    border-radius: 18px;
  }
  .about-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-image {
    order: 1;
    margin: 0 auto;
    max-width: 460px;
  }
  .about-text {
    order: 2;
    padding-right: 0;
    text-align: left;
  }
  .cities-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .details-box .s-image {
    width: 100%;
    height: 200px;
  }
  .footer-box .container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .home-box .m-table-wrap {
    max-height: 360px;
  }
}

/* 767px and below */
@media (max-width: 767.98px) {
  :root {
    --screen-name: md;
    --content-width: 540px;
    --header-height: 64px;
  }
  .header-box .container {
    height: var(--header-height);
    padding-left: 10px;
    padding-right: 10px;
  }
  .header-box .logo-img {
    width: 34px;
    height: 34px;
  }
  .header-box .logo-text {
    font-size: 16px;
  }
  .header-box .burger {
    width: 40px;
    height: 40px;
    padding: 8px;
  }
  .mobile-menu a {
    font-size: 20px;
    padding: 10px 14px;
  }
  .home-box {
    padding-top: calc(var(--header-height) + 18px);
    padding-bottom: 36px;
  }
  .home-box .title-row .h1,
  .home-box .title-row h1 {
    font-size: 28px;
    border-bottom: none;
  }
  .home-box .tabs-row {
    height: 52px;
    padding: 6px 12px;
    border-radius: 14px;
  }
  .card,
  .details-box .salon-item,
  .reviews-box .review-item {
    padding: 18px;
    border-radius: 14px;
  }
  .about-box {
    padding: 40px 14px;
    margin: 20px 12px;
  }
  .about-text h2 {
    font-size: 26px;
  }
  .cities-container {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 12px;
  }
  .home-box .m-table-wrap {
    max-height: 300px;
  }
  .form-input input,
  .form-input textarea,
  .form-input select {
    height: 44px;
    padding: 0 36px;
    font-size: 15px;
  }
}

/* 575px and below */
@media (max-width: 575.98px) {
  :root {
    --screen-name: sm;
    --content-width: 440px;
    --header-height: 62px;
  }
  .header-box .container {
    padding-left: 10px;
    padding-right: 10px;
    height: var(--header-height);
  }
  .header-box .logo-img {
    width: 30px;
    height: 30px;
  }
  .header-box .logo-text {
    font-size: 15px;
  }
  .header-box .burger {
    display: flex !important;
    width: 44px;
    height: 44px;
    padding: 8px;
  }
  .mobile-menu a {
    font-size: 18px;
  }
  .home-box .title-row .h1,
  .home-box .title-row h1 {
    font-size: 22px;
  }
  .home-box .tabs-row {
    height: 48px;
    padding: 6px 10px;
  }
  .about-text h2 {
    font-size: 22px;
  }
  .card,
  .details-box .salon-item,
  .reviews-box .review-item {
    padding: 14px;
    border-radius: 12px;
  }
  .home-box .m-table-wrap {
    max-height: 260px;
  }
  .btn {
    height: 44px;
    padding: 0 18px;
    font-size: 15px;
    border-radius: 14px;
  }
}

/* 420px and below */
@media (max-width: 419.98px) {
  :root {
    --screen-name: xs;
    --content-width: 360px;
    --header-height: 58px;
  }
  .header-box .logo-text {
    font-size: 14px;
  }
  .header-box .logo-img {
    width: 28px;
    height: 28px;
  }
  .mobile-menu {
    padding: 28px 16px;
    gap: 14px;
  }
  .mobile-menu a {
    font-size: 18px;
    padding: 10px 12px;
  }
  .container,
  .container-full {
    padding-left: 12px;
    padding-right: 12px;
  }
  .h1,
  h1 {
    font-size: 34px;
  }
  .h2,
  h2 {
    font-size: 22px;
  }
  .card,
  .details-box .salon-item,
  .reviews-box .review-item {
    padding: 12px;
    border-radius: 10px;
  }
}

/* 349px and below */
@media (max-width: 349.98px) {
  :root {
    --content-width: 320px;
  }
  .mobile-menu a {
    font-size: 16px;
    padding: 8px 10px;
  }
  .home-box .title-row .h1,
  .home-box .title-row h1 {
    font-size: 28px;
  }
  .h1,
  h1 {
    font-size: 30px;
  }
  .btn {
    font-size: 14px;
    padding: 0 12px;
    height: 42px;
  }
}

/* Disable hover transforms on touch devices */
@media (hover: none) {
  a:hover,
  .btn:hover {
    transform: none;
  }
}

/* Keep logo/link aligned with burger (non-invasive) */
.header-box .logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Ensure popups still sit above menu */
.popup {
  z-index: 1300;
}

/* Стили для мобильного селектора городов */
.city-selector-mobile {
  margin: 20px 0;
  display: none;
}

.city-selector-mobile select {
  width: 100%;
  max-width: 280px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  text-align: center;
}

/* Показывать мобильный селектор только на мобильных */
@media (max-width: 991.98px) {
  .city-selector-mobile {
    display: block;
  }
}

/* Улучшенные стили для бургера в мобильной версии */
@media (max-width: 991.98px) {
  .header-box .burger {
    display: flex !important;
    margin-left: 15px;
  }
}
