/* ============================================================================
   RENTMAN24 — style.css (YouTube Shorts-inspired layout)
   ============================================================================ */

:root {
  --bg: #f9f9f9;
  --card: #ffffff;
  --gold: #f7eb01;
  --line: #e5e5e5;
  --black: #000;
  --text: #0f0f0f;
  --muted: #606060;
  --red: #E11A2B;
  --tg: #0088cc;
  --wa: #25D366;
  --header-bg: #000000;
  --hero-text: #333;
  --service-bg: #ffffff;
  --service-card-bg: #f2f2f2;
  --review-card-bg: #ffffff;
  --hero-attention-color: #0f0f0f;
  --review-text: #555;
  --review-name: #0f0f0f;
  --modal-bg: #ffffff;
  --modal-text: #0f0f0f;
  --input-border: #ddd;
  --contacts-box-bg: #000000;
  --contacts-text: #ffffff;
  --contacts-small: #7a7a7a;
  --menu-bg: #121212;
  --menu-text: #ffffff;
  --dropdown-bg: #1a1a1a;
  --filter-bg: #f2f2f2;
  --filter-text: #0f0f0f;
  --filter-border: #ddd;
  --watermark-color: rgba(255, 255, 255, 0.747);
}

.dark-theme {
  --bg: #0f0f0f;
  --card: #272727;
  --line: #303030;
  --text: #f1f1f1;
  --muted: #aaaaaa;
  --header-bg: #0f0f0f;
  --hero-text: #b0b0b0;
  --service-bg: #1e1e1e;
  --service-card-bg: #2a2a2a;
  --review-card-bg: #1e1e1e;
  --review-text: #b0b0b0;
  --review-name: #e0e0e0;
  --modal-bg: #1e1e1e;
  --hero-attention-color: #ffffff;
  --modal-text: #e0e0e0;
  --input-border: #3a3a3a;
  --contacts-box-bg: #0a0a0a;
  --contacts-text: #ffffff;
  --contacts-small: #a0a0a0;
  --menu-bg: #121212;
  --menu-text: #e0e0e0;
  --dropdown-bg: #1a1a1a;
  --filter-bg: #272727;
  --filter-text: #f1f1f1;
  --filter-border: #3a3a3a;
  --watermark-color: rgba(255, 255, 255, 0.783);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body, header, .top-cats, .services-container, .service-card, .review-card,
.contacts-box, .base-stars-reviews, h1, h2, h3, p, span, a {
  transition: background-color 0.3s ease, color 0.3s ease,
              border-color 0.3s ease, box-shadow 0.3s ease;
}

button { font: inherit; cursor: pointer; }

/* ============================================================================
   HEADER
   ============================================================================ */
.header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1400px;
  height: 56px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-logo {
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .4px;
  white-space: nowrap;
}
.header-logo span { color: var(--red); }

a.header-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* ===== COUNTRY DROPDOWN ===== */
.country-selector {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.country-selector .country-btn {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  white-space: nowrap;
}
.country-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.country-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--dropdown-bg);
  border-radius: 16px;
  min-width: 160px;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  padding: 6px;
}
.country-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.country-option {
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
}
.country-option:hover { background: rgba(255, 255, 255, 0.1); }
.country-option img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ===== CITY DROPDOWN ===== */
.city-dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.city-dropdown .city {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}
.city-dropdown .city.active-city {
  color: #fff;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1;
  min-height: 34px;
  white-space: nowrap;
  font-size: 14px;
}
.city-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--dropdown-bg);
  border-radius: 16px;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  overflow: hidden;
  padding: 6px;
}
.city-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.city-option {
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  border-radius: 10px;
  text-decoration: none;
  display: block;
}
.city-option:hover { background: rgba(255, 255, 255, 0.1); }

/* ===== LANG SELECTOR ===== */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  min-height: 34px;
}
.lang-selector img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
}
.lang-selector .lang {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.lang-selector svg {
  width: 10px;
  height: 10px;
  color: #fff;
  flex-shrink: 0;
}
.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--dropdown-bg);
  border-radius: 16px;
  min-width: 150px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  overflow: hidden;
  padding: 6px;
}
.lang-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  padding: 10px 14px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  text-decoration: none;
}
.lang-option:hover { background: rgba(255, 255, 255, 0.1); }
.lang-option img { width: 20px; height: 20px; border-radius: 50%; }

/* ============================================================================
   TOP CATS (CHIPS) — как <a>
   ============================================================================ */
.top-cats {
  max-width: 1400px;
  margin: 0 auto;
  background: transparent;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.top-cats::-webkit-scrollbar { display: none; }

.top-cats button,
.top-cats a {
  border: none;
  background: var(--card);
  cursor: pointer;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
  line-height: 1.2;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.top-cats button:hover,
.top-cats a:hover { background: var(--line); }
.top-cats button.active,
.top-cats a.active {
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
}

/* ============================================================================
   FILTERS ROW
   ============================================================================ */
.filters-row {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px 4px;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.filters-row::-webkit-scrollbar { display: none; }

.filter-wrapper {
  flex: 0 0 auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: stretch;
}
.filter-wrapper .top-cats {
  padding: 0;
  margin: 0;
  border-bottom: none;
  background: none;
  gap: 8px;
  width: auto;
  justify-content: flex-start;
  align-items: center;
}

/* ===== ORIENTATION / CONDITIONS ===== */
.filter-orientation,
.filter-conditions {
  background: none;
  border-bottom: none;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: nowrap !important;
  display: flex;
  overflow-x: auto;
  padding: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  height: auto;
  align-items: center;
  width: auto;
  scroll-behavior: smooth;
}
.filter-orientation::-webkit-scrollbar,
.filter-conditions::-webkit-scrollbar { display: none; }

.filter-orientation button,
.filter-orientation a,
.filter-conditions .condition-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  background: var(--card);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  height: 40px;
  flex: 0 0 auto;
  cursor: pointer;
  text-decoration: none;
}
.filter-orientation button:hover,
.filter-orientation a:hover,
.filter-conditions .condition-btn:hover { background: var(--line); }

.filter-orientation button.active,
.filter-orientation a.active,
.filter-conditions .condition-btn.active {
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  box-shadow: none;
  border-color: transparent;
}

/* В активном состоянии иконки формата встречи (домик и машинка) остаются
   красными — без инверсии в цвет фона и без чёрной обводки. */
.filter-conditions .condition-btn.active .condition-icon svg,
.filter-conditions .condition-btn.active .condition-icon svg path,
.filter-conditions .condition-btn.active .condition-icon svg line,
.filter-conditions .condition-btn.active .condition-icon svg rect,
.filter-conditions .condition-btn.active .condition-icon svg polyline,
.filter-conditions .condition-btn.active .condition-icon svg polygon {
  stroke: #E11A2B !important;
}
.filter-conditions .condition-btn.active .condition-icon svg circle {
  fill: #E11A2B !important;
  stroke: #E11A2B !important;
}
/* У машины убираем лишнюю обводку ТОЛЬКО у заливных path (у них есть fill),
   чтобы случайно не убить stroke у домика. */
.filter-conditions .condition-btn.active .condition-icon svg path[fill] {
  stroke: none !important;
}

.condition-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.condition-icon svg { width: 18px; height: 18px; display: block; }
.condition-label { font-size: 14px; font-weight: 500; white-space: nowrap; }

/* ============================================================================
   SEARCH
   ============================================================================ */
.search-wrapper {
  max-width: 1400px;
  margin: 8px auto 0;
  padding: 0 16px;
}

.search-container {
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 2px 0 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: none;
  min-height: 48px;
  overflow: hidden;
}
.search-container:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 26, 43, 0.15);
}

.search-container input {
  flex: 1 1 auto;
  border: none;
  outline: none;
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 400;
  background: transparent;
  color: var(--text);
  min-width: 0;
  width: 100%;
}
.search-container input::placeholder {
  color: var(--muted);
  font-weight: 400;
  opacity: 0.7;
}

#searchButton {
  flex-shrink: 0;
  width: 48px;
  align-self: stretch;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: var(--text);
}
#searchButton svg {
  width: 22px;
  height: 22px;
  stroke: var(--text);
  stroke-width: 2.5;
}

.search-filter-divider {
  flex-shrink: 0;
  width: 1px;
  align-self: stretch;
  background: var(--line);
  margin: 0 1px 0 0;
}

.search-filter-btn {
  flex: 0 0 auto;
  min-width: 48px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  margin: 4px 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.15s ease;
}
.search-filter-btn:hover { background: var(--line); }
.search-filter-btn .filter-sliders-icon {
  width: 20px;
  height: 20px;
  color: var(--text);
  stroke: var(--text);
  flex-shrink: 0;
  display: block;
}
.search-filter-btn .filter-sliders-icon line { stroke: var(--text); }
.search-filter-btn .filter-sliders-icon circle { fill: var(--text); stroke: none; }

/* ============================================================================
   GRID
   ============================================================================ */
.grid-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.anket-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
  aspect-ratio: 9/16;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 0;
}
.anket-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.anket-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #b9b9b9;
  -webkit-tap-highlight-color: transparent;
  border-radius: 0;
}
.anket-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none !important;
  -webkit-user-drag: none !important;
}

.no-data {
  grid-column: 1/-1;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  width: 100%;
}

/* ============================================================================
   GALLERY
   ============================================================================ */
.gallery-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #b9b9b9;
  border-radius: 0;
}
.gallery-wrapper {
  width: 100%;
  height: 100% !important;
  position: relative;
}
.gallery-track {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  will-change: transform;
  cursor: grab;
}
.gallery-track:active { cursor: grabbing; }
.gallery-slide {
  flex: 0 0 100% !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  position: relative;
  background: #b9b9b9;
  overflow: hidden;
}
.gallery-slide .media-frame {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #b9b9b9;
  overflow: hidden;
  position: relative;
}
.gallery-slide .media-frame img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  background: #b9b9b9;
}
.photo-counter-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 20;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  pointer-events: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  height: 28px;
}

/* ===== CARD OVERLAY ===== */
.anket-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 14px 14px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0));
  z-index: 11;
  pointer-events: none;
  gap: 2px;
  border-radius: 0;
}
.anket-overlay > div > div:first-child > span:first-child { font-size: 16px !important; line-height: 1.15 !important; }
.anket-overlay > div > div:first-child > span:last-child  { font-size: 16px !important; line-height: 1.15 !important; }
.anket-overlay > div > div:last-child > span:last-child   { font-size: 12px !important; line-height: 1.15 !important; }

/* ===== HEART BUTTON ===== */
.heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  background: transparent;
}
.heart-btn:hover { transform: scale(1.08); }
.heart-btn:active { transform: scale(0.92); }
.heart-btn svg {
  width: 28px;
  height: 28px;
  stroke: white;
  fill: rgba(0, 0, 0, 0.5);
  transition: fill 0.2s ease;
}
.heart-btn.active svg { fill: #E11A2B; stroke: none; }

/* ===== DOTS BUTTON ===== */
.dots-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 20;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  background: transparent;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.dots-btn:hover { transform: scale(1.08); background: rgba(0, 0, 0, 0.28); }
.dots-btn:active { transform: scale(0.92); }
.dots-btn.open { background: rgba(0, 0, 0, 0.45); }
.dots-btn svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
  pointer-events: none;
  display: block;
}

/* ===== DOTS DROPDOWN ===== */
.dots-dropdown {
  position: fixed;
  display: none;
  background: #1a1a1a;
  border-radius: 12px;
  padding: 6px;
  min-width: 170px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1500;
  white-space: nowrap;
}
.dots-dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: inherit;
  line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
}
.dots-dropdown-item:hover { background: rgba(255, 255, 255, 0.1); }
.dots-dropdown-item:active { background: rgba(255, 255, 255, 0.16); }

/* ===== COPY NOTIFICATION ===== */
.copy-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--card);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 9999;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.copy-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== WATERMARK ===== */
.media-watermark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none !important;
  z-index: 5;
  overflow: hidden;
}
.media-watermark-text {
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.10);
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
  font-size: min(5vw, 28px);
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

/* ============================================================================
   CATEGORY STATS
   ============================================================================ */
.category-stats {
  max-width: 1400px;
  margin: 16px auto 0;
  padding: 0 16px;
}
.category-stats-inner {
  padding: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stats-top {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.stats-label {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}
.stats-count-wrapper { display: flex; align-items: baseline; gap: 2px; }
.stats-count-number { font-size: 20px; font-weight: 800; color: var(--red); }
.stats-count-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}
.stats-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.stats-arrow {
  width: 20px;
  height: 20px;
  stroke: var(--red);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.category-stats-inner:hover .stats-arrow { transform: translateY(4px); }

/* ============================================================================
   LOAD MORE
   ============================================================================ */
#loadMoreWrapper {
  width: 100%;
  box-sizing: border-box;
}

.load-more-btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.load-more-btn:hover { background: var(--line); }
.dark-theme .load-more-btn { background: var(--card); color: var(--text); }
.dark-theme .load-more-btn:hover { background: var(--line); }
.load-more-arrow {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}
.load-more-arrow.up { transform: rotate(180deg); }

/* ============================================================================
   VIP BANNERS
   ============================================================================ */
.vip-banners-section {
  max-width: 1400px;
  margin: 16px auto 0;
  padding: 0 16px;
  display: none;
}
.vip-banners-header { margin-bottom: 12px; text-align: left; }
.vip-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.3px;
}
.vip-banners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.vip-banner-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  aspect-ratio: 1.5/1;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  display: block;
}
.vip-banner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.vip-banner-card .vip-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vip-banner-card.empty {
  background: var(--card);
  border: 1px dashed rgba(255, 215, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}
.vip-banner-card.empty:hover { transform: none; box-shadow: none; }
.vip-empty-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
  width: 100%;
  height: 100%;
}
.vip-star { width: 36px; height: 36px; fill: var(--gold); flex-shrink: 0; }
.vip-empty-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
  text-align: center;
  word-break: break-word;
}
.vip-premium-btn {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 16px 16px;
  text-align: center;
}
.hero-box {
  background: var(--card);
  border: none;
  border-radius: 20px;
  padding: 24px 28px;
  margin: 0 auto;
  max-width: 100%;
  text-align: left;
}
.hero-attention {
  font-size: 22px;
  font-weight: 800;
  color: var(--hero-attention-color, #0f0f0f);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.hero-box p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--hero-text);
  margin: 0;
}

/* ============================================================================
   SERVICES
   ============================================================================ */
.services-section {
  max-width: 1400px;
  margin: 24px auto;
  padding: 0 16px;
}
.services-container {
  background: var(--service-bg);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: none;
  border: 1px solid var(--line);
}
.services-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 24px;
  text-align: left;
  letter-spacing: -0.3px;
  color: var(--text);
}
.services-title span { padding-bottom: 10px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-card {
  text-align: left;
  padding: 12px 42px 12px 20px;
  border-radius: 16px;
  background: var(--service-card-bg);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  aspect-ratio: 4 / 1;
  height: auto;
  min-height: 64px;
  transition: transform 0.2s, background 0.2s;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.service-card:hover {
  transform: translateY(-2px);
  background: var(--line);
}

.service-card svg {
  width: 40px;
  height: 40px;
  color: var(--red);
  display: block;
  flex-shrink: 0;
  transform: none !important;
}

.service-card:nth-child(1) svg,
.service-card:nth-child(2) svg,
.service-card:nth-child(3) svg,
.service-card:nth-child(4) svg,
.service-card:nth-child(6) svg,
.service-card:nth-child(7) svg {
  transform: none !important;
}

.service-card:nth-child(8) svg {
  transform: rotate(45deg) !important;
}

.service-name {
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  color: var(--text);
  letter-spacing: 0.2px;
  text-align: left;
  line-height: 1.15;
  flex: 1;
  min-width: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  overflow: visible;
}

.service-card::after {
  content: '';
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
  background-size: 25px 25px;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* ============================================================================
   REVIEWS
   ============================================================================ */
.reviews-section {
  max-width: 1400px;
  margin: 32px auto 20px;
  padding: 0 16px;
}
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.reviews-header h2 { font-size: 26px; font-weight: 700; color: var(--text); }
.write-review-btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.write-review-btn:hover { opacity: 0.85; }

.base-stars-reviews {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.base-stars-reviews .reviews-total-stars { color: var(--text); letter-spacing: 2px; }
.base-stars-reviews .reviews-total-count { color: var(--text); font-size: 18px; font-weight: 600; }

.reviews-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0 20px;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.reviews-slider::-webkit-scrollbar { height: 6px; }
.reviews-slider::-webkit-scrollbar-track { background: transparent; border-radius: 10px; }

.review-card {
  background: var(--review-card-bg);
  border-radius: 16px;
  padding: 20px;
  min-width: 280px;
  max-width: 320px;
  flex-shrink: 0;
  scroll-snap-align: start;
  box-shadow: none;
  border: 1px solid var(--line);
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.review-name { font-weight: 600; font-size: 16px; color: var(--review-name); }
.stars { font-size: 14px; letter-spacing: 1px; color: var(--text); }
.review-text {
  color: var(--review-text);
  line-height: 1.5;
  font-size: 14px;
  word-break: break-word;
}
.no-reviews-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  background: var(--card);
  border-radius: 16px;
  border: 1px dashed var(--line);
  min-height: 200px;
}
.no-reviews-placeholder .empty-star { margin-bottom: 16px; }
.no-reviews-placeholder .empty-star svg { width: 56px; height: 56px; stroke: var(--red); }
.no-reviews-placeholder .empty-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.no-reviews-placeholder .empty-subtitle { font-size: 14px; font-weight: 400; opacity: 0.8; }

/* ============================================================================
   CONTACTS
   ============================================================================ */
.contacts-section { margin-top: 22px; background: transparent; padding: 0; }
.contacts-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px 34px;
}
.contacts-section h2 { font-size: 26px; margin-bottom: 12px; color: var(--text); }
.contacts-box {
  background: var(--dropdown-bg);
  border: none;
  border-radius: 16px;
  padding: 20px 18px;
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.contacts-col { flex: 1; }
.social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  margin-top: 10px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.social-row:hover { opacity: 0.8; }
.s-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.s-icon img { width: 50px; height: 50px; }
.social-row b { display: block; font-size: 24px; color: #ffffff; }
.social-row small { font-size: 16px; color: var(--contacts-small); }
.v-divider { width: 1px; background: rgba(255,255,255,0.1); }
.contacts-col.right { text-align: center; }
.contacts-col.right .clock { font-size: 36px; color: var(--red); }
.contacts-col.right p {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}
.contacts-col.right p span { color: var(--red); font-weight: 800; }
.litle-text { font-size: 13px; color: #a2a2a2; }

/* ===== CONTACT FLOAT MODAL ===== */
.contact-modal-overlay { display: none; position: fixed; inset: 0; z-index: 2100; }
.contact-modal-overlay.active { display: flex; align-items: flex-start; justify-content: flex-start; }
.contact-card {
  position: absolute;
  top: 72px;
  left: 12px;
  background: var(--dropdown-bg);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  padding: 10px;
  width: 235px;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  padding: 8px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s;
}
.contact-row:hover { background: rgba(255, 255, 255, 0.1); }
.cm-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cm-icon img { width: 34px; height: 34px; }
.cm-text b { display: block; font-size: 16px; }
.cm-text small { display: block; color: #bdbdbd; font-size: 12px; }

/* ============================================================================
   MODALS
   ============================================================================ */
.review-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2200;
  align-items: center;
  justify-content: center;
}
.review-modal-overlay.active { display: flex; }
.review-modal {
  background: var(--modal-bg);
  border-radius: 20px;
  padding: 24px;
  width: 90%;
  max-width: 450px;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.review-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s;
}
.review-close:hover { color: var(--text); }
.review-modal h3 { font-size: 24px; margin-bottom: 20px; color: var(--modal-text); }
.rating-stars { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }
.star { font-size: 32px; cursor: pointer; color: #666; transition: color 0.2s; }
#reviewComment {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--input-border);
  border-radius: 12px;
  font-size: 14px;
  resize: vertical;
  margin-bottom: 20px;
  font-family: inherit;
  background: var(--card);
  color: var(--text);
}
#reviewComment:focus { outline: none; border-color: var(--red); }
.review-submit {
  width: 100%;
  padding: 12px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.review-submit:hover { opacity: 0.85; }

.login-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2300;
  align-items: center;
  justify-content: center;
}
.login-modal-overlay.active { display: flex; }
.login-modal {
  background: var(--modal-bg);
  border-radius: 20px;
  padding: 24px;
  width: 90%;
  max-width: 400px;
  position: relative;
}
.login-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s;
}
.login-close:hover { color: var(--text); }
.login-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.login-tab {
  background: none;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s;
}
.login-tab.active { color: var(--text); border-bottom: 2px solid var(--red); }
.login-form input,
.register-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--input-border);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  background: var(--card);
  color: var(--text);
}
.login-form input:focus,
.register-form input:focus { outline: none; border-color: var(--red); }
.login-form input::placeholder,
.register-form input::placeholder { color: var(--muted); }
.login-form button,
.register-form button {
  width: 100%;
  padding: 12px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.login-form button:hover,
.register-form button:hover { opacity: 0.85; }

/* ===== VERIFICATION MODAL ===== */
.verification-modal-overlay {
  display: flex !important;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}
.verification-modal {
  background: var(--modal-bg);
  border-radius: 20px;
  padding: 32px 28px;
  width: 90%;
  max-width: 440px;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.verification-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s;
}
.verification-close:hover { color: var(--red); }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================================
   SIDEBAR MENU
   ============================================================================ */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 2000;
  cursor: pointer;
}
.menu-overlay.active { opacity: 1; visibility: visible; }

.menu-sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  height: 100dvh;
  background: #121212;
  color: #ffffff;
  z-index: 2001;
  transition: left .3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}
.menu-sidebar.active { left: 0; }
.menu-sidebar-header {
  display: flex;
  align-items: center;
  padding: 20px 16px 10px;
  gap: 16px;
}
.menu-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  transition: opacity 0.2s;
  padding: 0 8px;
}
.menu-close:hover { opacity: 0.7; }
.menu-header-logo {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.4px;
  pointer-events: none;
  line-height: 1;
}
.menu-header-logo span { color: var(--red); }
.menu-nav { display: flex; flex-direction: column; flex-grow: 1; }

.menu-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #1c1c1e;
  cursor: pointer;
  transition: background 0.2s;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.menu-item-row:hover:not(.no-hover) { background: #1c1c1e; }
.menu-item-left { display: flex; align-items: center; gap: 14px; color: #ffffff; }
.menu-icon { width: 20px; height: 20px; color: #ffffff; stroke-width: 1.8; }
.menu-item-arrow {
  font-size: 20px;
  color: #8e8e93;
  line-height: 1;
  transition: transform 0.2s, color 0.2s;
}
.tg-logo { width: 25px; height: 25px; }

.submenu { display: none; position: relative; background: #121212; }
.menu-dropdown.open > .submenu { display: block; }
.submenu-line {
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #2c2c2e;
  z-index: 1;
}
.submenu-items { display: flex; flex-direction: column; }
.submenu-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 14px 40px;
  border-bottom: 1px solid #1c1c1e;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.submenu-item:hover { background: #1c1c1e; }
.red-dot {
  position: absolute;
  left: 22px;
  width: 7px;
  height: 7px;
  background-color: var(--red);
  border-radius: 50%;
  z-index: 2;
}
.nested-toggle {
  padding-left: 40px !important;
  border-bottom: 1px solid #1c1c1e !important;
}
.nested-submenu { background: #181818 !important; }
.nested-line { left: 45px !important; }
.nested-submenu .submenu-item { padding-left: 60px !important; }
.nested-submenu .red-dot { left: 42px !important; }
.toggle-arrow.open { transform: rotate(90deg); color: var(--red); }

/* ===== THEME SWITCH ===== */
.theme-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.theme-switch input { opacity: 0; width: 0; height: 0; }
.theme-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #3a3a3c;
  transition: .3s;
  border-radius: 24px;
}
.theme-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}
.theme-switch input:checked + .theme-slider { background-color: #30d158; }
.theme-switch input:checked + .theme-slider:before { transform: translateX(20px); }
.menu-footer {
  padding: 24px 16px;
  font-size: 12px;
  color: #8e8e93;
  text-align: left;
  border-top: 1px solid #1c1c1e;
  margin-top: auto;
}

/* ============================================================================
   BOTTOM NAV
   ============================================================================ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--header-bg);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0 20px;
  z-index: 999;
  min-height: 60px;
  height: auto;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 10px;
  gap: 2px;
  padding: 4px 12px;
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
  flex: 1;
  max-width: 80px;
  text-decoration: none;
}
.bottom-nav-item svg { width: 24px; height: 24px; stroke: currentColor; transition: stroke 0.2s; }
.bottom-nav-item span { font-size: 9px; font-weight: 500; color: currentColor; transition: color 0.2s; }
.bottom-nav-item:hover,
.bottom-nav-item.active { color: var(--red); }
.bottom-nav-item .favorites-badge {
  position: absolute;
  top: -2px;
  right: 4px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ============================================================================
   FOOTERS — как на странице «О сервисе»
   ============================================================================ */
.site-footer {
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 14px 18px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.site-footer-first {
  max-width: 980px;
  margin: 12px auto 0;
  padding: 14px 14px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-content-first {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.footer-text-first {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}
.dot { margin: 0 8px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.2px;
}
.footer-logo .footer-brand span { color: var(--red); }
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-year { font-size: 12px; font-weight: 700; color: var(--muted); }
.footer-brand { font-size: 16px; font-weight: 900; color: var(--text); }
.footer-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  max-width: 400px;
  margin: 0 auto;
}

/* ============================================================================
   FILTERS SIDEBAR
   ============================================================================ */
.filters-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 2050;
  cursor: pointer;
}
.filters-overlay.active { opacity: 1; visibility: visible; }

.filters-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 420px;
  max-width: 92%;
  height: 100vh;
  height: 100dvh;
  background: #121212;
  color: #ffffff;
  z-index: 2051;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
}
.filters-sidebar.active { right: 0; }

.filters-sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid #1c1c1e;
  flex-shrink: 0;
}
.filters-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
  padding: 0 6px;
  transition: opacity 0.2s;
}
.filters-close:hover { opacity: 0.7; }
.filters-header-title {
  font-size: 18px;
  font-weight: 700;
  flex: 1;
  letter-spacing: 0.2px;
}
.filters-reset {
  background: none;
  border: 1px solid #3a3a3c;
  color: #e0e0e0;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.filters-reset:hover { border-color: var(--red); color: var(--red); }

.filters-sidebar-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: #3a3a3c #121212;
}
.filters-sidebar-body::-webkit-scrollbar { width: 6px; }
.filters-sidebar-body::-webkit-scrollbar-track { background: #121212; }
.filters-sidebar-body::-webkit-scrollbar-thumb { background: #3a3a3c; border-radius: 6px; }

.filters-sidebar-footer {
  padding: 12px 16px 24px;
  border-top: 1px solid #1c1c1e;
  background: #0a0a0a;
  flex-shrink: 0;
}
.filters-apply-btn {
  width: 100%;
  padding: 14px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.2px;
}
.filters-apply-btn:hover { opacity: 0.88; }
.filters-apply-btn:active { transform: scale(0.98); }
.filters-apply-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ===== FILTER SECTIONS ===== */
.filter-section {
  padding: 12px 16px;
  border-bottom: 1px solid #1c1c1e;
}
.filter-section-header {
  display: block;
  user-select: none;
  margin-bottom: 10px;
}
.filter-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #3a3a3c;
  background: transparent;
  color: #e0e0e0;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
  line-height: 1.3;
}
.filter-chip:hover,
.filter-chip.active { border-color: var(--red); }
.filter-chip.active { background: rgba(225, 26, 43, 0.15); }

/* ===== FILTER SLIDERS ===== */
.filter-slider { padding: 6px 4px 4px; }
.filter-slider-values {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  padding: 0 4px;
}
.filter-slider-values .filter-slider-value {
  background: #1c1c1e;
  border: 1px solid #3a3a3c;
  border-radius: 10px;
  padding: 3px 10px;
  min-width: 44px;
  text-align: center;
  font-size: 13px;
}
.filter-slider-track {
  position: relative;
  height: 4px;
  background: #3a3a3c;
  border-radius: 4px;
  margin: 16px 10px 12px;
}
.filter-slider-fill {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--red);
  border-radius: 4px;
  pointer-events: none;
}
.filter-range {
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 20px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  outline: none;
  margin: 0;
}
.filter-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid #fff;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.filter-range::-moz-range-thumb {
  pointer-events: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid #fff;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.filter-range-min { z-index: 3; }
.filter-range-max { z-index: 4; }
.filter-range-min::-webkit-slider-thumb { z-index: 3; }
.filter-range-max::-webkit-slider-thumb { z-index: 4; }

.filters-loading { padding: 40px 20px; text-align: center; color: #8e8e93; font-size: 14px; }

/* ============================================================================
   ANIMATIONS
   ============================================================================ */
@keyframes shimmer {
  0% { background-position: -400% 0; }
  100% { background-position: 400% 0; }
}

/* ============================================================================
   RESPONSIVE — 1200px
   ============================================================================ */
@media (max-width: 1200px) {
  .profiles-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
  .vip-banners-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}

/* ============================================================================
   RESPONSIVE — 768px
   ============================================================================ */
@media (max-width: 768px) {
  .header-inner { height: 52px; padding: 0 10px; }
  .header-logo { font-size: 22px; }
  .header-right { gap: 6px; }
  .country-selector .country-btn { font-size: 13px; min-height: 28px; padding: 2px 10px; border-width: 1.5px; }
  .country-flag { width: 18px !important; height: 18px !important; }
  .country-option { font-size: 13px; padding: 8px 12px; }
  .country-option img { width: 18px; height: 18px; }
  .city-dropdown .city.active-city { font-size: 12px; min-height: 28px; padding: 2px 8px; border-width: 1.5px; }
  .lang-selector { padding: 2px 6px; min-height: 28px; border-width: 1.5px; gap: 3px; }
  .lang-selector img { width: 16px; height: 16px; }
  .lang-selector .lang { font-size: 12px; }
  .lang-selector svg { width: 9px; height: 9px; }

  .top-cats { padding: 10px 12px; gap: 6px; }
  .top-cats button,
  .top-cats a { font-size: 14px; padding: 0 14px; height: 36px; }

  .filters-row { padding: 0 12px 4px; gap: 6px; }
  .filter-orientation button,
  .filter-orientation a,
  .filter-conditions .condition-btn { padding: 7px 14px; font-size: 13px; height: 36px; }
  .filter-conditions .condition-btn .condition-icon svg { width: 16px; height: 16px; }
  .filter-conditions .condition-btn .condition-label { font-size: 13px; }

  .search-wrapper { padding: 0 12px; margin: 6px auto 0; }
  .search-container { min-height: 44px; padding: 0 2px 0 0; }
  #searchButton { width: 44px; }
  #searchButton svg { width: 19px; height: 19px; }
  .search-container input { padding: 8px 10px; font-size: 15px; }
  .search-filter-btn { min-width: 40px; gap: 4px; padding: 0 6px; font-size: 13px; }
  .search-filter-btn .filter-sliders-icon { width: 18px; height: 18px; }
  .search-filter-divider { margin: 0 1px 0 0; }

  .grid-wrap { padding: 0; }
  .profiles-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }

  .anket-overlay { padding: 12px 10px 10px 7px !important; gap: 2px !important; border-radius: 0; }
  .anket-overlay > div > div:first-child > span:first-child { font-size: 15px !important; }
  .anket-overlay > div > div:first-child > span:last-child { font-size: 15px !important; }
  .anket-overlay > div > div:last-child > span:last-child { font-size: 11px !important; }

  .photo-counter-badge { font-size: 12px !important; padding: 2px 8px !important; bottom: 10px !important; right: 10px !important; height: 22px !important; }
  .heart-btn { width: 28px; height: 28px; top: 8px; right: 8px; }
  .heart-btn svg { width: 22px; height: 22px; }
  .dots-btn { width: 28px; height: 28px; top: 8px; left: 8px; }
  .dots-btn svg { width: 18px; height: 18px; }
  .media-watermark-text { font-size: min(4vw, 18px) !important; }

  .category-stats { padding: 0 12px; margin: 12px auto 0; }
  .stats-label, .stats-count-number, .stats-count-text { font-size: 17px; }
  .stats-hint { font-size: 14px; gap: 4px; }
  .stats-arrow { width: 18px; height: 18px; }

  #loadMoreWrapper { padding: 0 12px; }

  .load-more-btn { padding: 10px 20px; font-size: 14px; min-width: 240px; }
  .load-more-arrow { width: 18px; height: 18px; }

  .vip-banners-section { padding: 0 12px; margin: 12px auto 0; }
  .vip-banners-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vip-banner-card { border-radius: 12px; }
  .vip-title { font-size: 15px; }
  .vip-star { width: 26px; height: 26px; }
  .vip-empty-text { font-size: 11px; }
  .vip-premium-btn { font-size: 10px; padding: 4px 14px; border-width: 1.5px; }
  .vip-empty-content { gap: 4px; padding: 8px; }

  .hero { padding: 16px 12px 12px; }
  .hero-box { padding: 16px 18px; border-radius: 16px; }
  .hero-attention { font-size: 18px; margin-bottom: 10px; }
  .hero-box p { font-size: 14px; }

  .services-section { padding: 0 12px; margin: 16px auto; }
  .services-container { padding: 20px 14px; border-radius: 16px; }
  .services-title { font-size: 20px; margin-bottom: 16px; }

  .services-grid { gap: 10px; grid-template-columns: repeat(2, 1fr); }
  .service-card {
    padding: 10px 36px 10px 14px;
    aspect-ratio: 4 / 1;
    height: auto;
    min-height: 56px;
    border-radius: 12px;
    gap: 10px;
  }
  .service-card svg { width: 32px; height: 32px; }
  .service-card::after { width: 26px; height: 26px; right: 5px; background-size: 13px 13px; }
  .service-name { font-size: 8px; }

  .reviews-section { padding: 0 12px; margin: 24px auto 15px; }
  .reviews-header h2 { font-size: 20px; }
  .write-review-btn { padding: 6px 14px; font-size: 13px; }
  .review-card { min-width: 260px; padding: 16px; border-radius: 14px; }
  .review-text { font-size: 13px; }

  .contacts-container { padding: 0 12px 26px; }
  .contacts-section h2 { font-size: 20px; }
  .contacts-box { padding: 14px 14px; border-radius: 14px; gap: 14px; }
  .s-icon { width: 44px; height: 44px; }
  .s-icon img { width: 40px; height: 40px; }
  .social-row b { font-size: 18px; }
  .social-row small { font-size: 13px; }
  .contacts-col.right .clock { font-size: 32px; }
  .contacts-col.right p { font-size: 15px; }

  .review-modal { padding: 20px; width: 95%; }
  .review-modal h3 { font-size: 20px; }
  .star { font-size: 28px; }
  .login-modal { padding: 20px; width: 95%; }

  .menu-sidebar { width: 280px; }
  .menu-item-row { font-size: 15px; padding: 12px 14px; }
  .contact-card { top: 60px; left: 12px; width: 220px; }

  .filters-sidebar { width: 78%; max-width: 78%; right: -100%; }
  .filters-sidebar.active { right: 0; }
  .filter-chip { font-size: 12px; padding: 5px 12px; }
  .filter-section { padding: 10px 14px; }
  .filter-section-title { font-size: 14px; }
  .filters-sidebar-footer { padding: 12px 14px 24px; }

  .bottom-nav {
    display: flex;
    min-height: 56px;
    height: auto;
    padding-bottom: 20px;
  }

  /* === Футер (768px) — как на странице «О сервисе» === */
  .footer-logo { font-size: 13px; }
  .footer-brand { font-size: 13px; }
  .footer-copy, .footer-year { font-size: 10px; }
  .footer-text { font-size: 8px; max-width: 300px; }
  .dot { margin: 0 6px; }

  /* Отступ под фиксированную нижнюю навигацию — ТОЛЬКО у последнего футера.
     У .site-footer-first отступа нет — расстояние между текстом
     и следующей полоской симметричное (14px / 14px). */
  .site-footer { margin-bottom: 80px; }
}

/* ============================================================================
   RESPONSIVE — 480px
   ============================================================================ */
@media (max-width: 480px) {
  .header-logo { font-size: 20px; }
  .country-selector .country-btn { font-size: 12px; min-height: 26px; padding: 2px 8px; }
  .country-flag { width: 14px !important; height: 14px !important; }
  .country-option { font-size: 12px; padding: 6px 10px; }
  .country-option img { width: 16px; height: 16px; }
  .city-dropdown .city.active-city { font-size: 11px; min-height: 26px; padding: 2px 6px; }
  .lang-selector { min-height: 26px; padding: 2px 6px; gap: 3px; }
  .lang-selector img { width: 14px; height: 14px; }
  .lang-selector .lang { font-size: 11px; }
  .lang-selector svg { width: 8px; height: 8px; }

  .top-cats { padding: 8px 10px; gap: 6px; }
  .top-cats button,
  .top-cats a { font-size: 13px; padding: 0 12px; height: 32px; }

  .filters-row { padding: 0 10px 4px; gap: 6px; }
  .filter-orientation button,
  .filter-orientation a,
  .filter-conditions .condition-btn { padding: 6px 12px; font-size: 12px; height: 32px; }
  .filter-conditions .condition-btn .condition-label { font-size: 12px; }
  .filter-conditions .condition-btn .condition-icon svg { width: 14px; height: 14px; }

  .search-wrapper { padding: 0 10px; margin: 4px auto 0; }
  .search-container { min-height: 40px; padding: 0 2px 0 0; }
  #searchButton { width: 40px; }
  #searchButton svg { width: 17px; height: 17px; }
  .search-container input { padding: 6px 8px; font-size: 14px; }
  .search-filter-btn { min-width: 36px; padding: 0 6px; font-size: 12px; gap: 4px; }
  .search-filter-btn .filter-sliders-icon { width: 16px; height: 16px; }
  .search-filter-divider { margin: 0 1px 0 0; }

  .grid-wrap { padding: 0; }
  .profiles-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
  .anket-overlay { padding: 10px 8px 8px 6px !important; border-radius: 0; }

  .photo-counter-badge { font-size: 10px !important; padding: 2px 6px !important; bottom: 8px !important; right: 8px !important; height: 20px !important; }
  .heart-btn { width: 24px; height: 24px; top: 6px; right: 6px; }
  .heart-btn svg { width: 20px; height: 20px; }
  .dots-btn { width: 24px; height: 24px; top: 6px; left: 6px; }
  .dots-btn svg { width: 15px; height: 15px; }
  .media-watermark-text { font-size: min(3.5vw, 14px) !important; }

  .services-grid { gap: 8px; grid-template-columns: repeat(2, 1fr); }
  .service-card {
    padding: 8px 30px 8px 10px;
    aspect-ratio: 4 / 1;
    height: auto;
    min-height: 50px;
    border-radius: 10px;
    gap: 8px;
  }
  .service-card svg { width: 26px; height: 26px; }
  .service-card::after { width: 20px; height: 20px; right: 5px; background-size: 10px 10px; }

  .hero-box { padding: 14px 16px; border-radius: 14px; }
  .hero-attention { font-size: 16px; margin-bottom: 8px; }
  .hero-box p { font-size: 13px; }

  .stats-label, .stats-count-number, .stats-count-text { font-size: 15px; }
  .stats-hint { font-size: 13px; }
  .stats-arrow { width: 16px; height: 16px; }

  .vip-banners-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .vip-banner-card { border-radius: 10px; }
  .vip-title { font-size: 13px; }
  .vip-star { width: 20px; height: 20px; }
  .vip-empty-text { font-size: 9px; line-height: 1.2; }
  .vip-premium-btn { font-size: 8px; padding: 3px 10px; border-width: 1px; }
  .vip-empty-content { gap: 3px; padding: 4px; }

  .filters-sidebar { width: 82%; max-width: 82%; right: -100%; }
  .filters-sidebar.active { right: 0; }
  .filter-chip { font-size: 11px; padding: 4px 10px; }
  .filters-header-title { font-size: 16px; }
  .filters-apply-btn { font-size: 14px; padding: 12px; }

  /* === Футер (480px) === */
  .footer-text-first { font-size: 11px; max-width: 380px; }
}

/* ============================================================================
   RESPONSIVE — 400px & 380px
   ============================================================================ */
@media (max-width: 400px) {
  .profiles-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
  .photo-counter-badge { font-size: 9px !important; padding: 2px 5px !important; bottom: 6px !important; right: 6px !important; }
  .heart-btn { width: 22px; height: 22px; }
  .dots-btn { width: 22px; height: 22px; }
  .dots-btn svg { width: 14px; height: 14px; }
}

@media (max-width: 380px) {
  .search-wrapper { padding: 0 8px; }
  #searchButton { width: 36px; }
  #searchButton svg { width: 15px; height: 15px; }
  .search-container input { padding: 5px 6px; font-size: 13px; }
  .search-filter-btn { min-width: 32px; padding: 0 4px; font-size: 11px; }

  .vip-banners-grid { gap: 6px; }
  .vip-banner-card { border-radius: 8px; }
  .vip-star { width: 16px; height: 16px; }
  .vip-empty-text { font-size: 7px; }
  .vip-premium-btn { font-size: 7px; padding: 2px 8px; }
}

/* ============================================================================
   DARK THEME OVERRIDES
   ============================================================================ */
.dark-theme .reviews-slider::-webkit-scrollbar-track { background: transparent; }
.dark-theme .reviews-slider::-webkit-scrollbar-thumb { background: #555; }
.dark-theme .review-card { box-shadow: none; }
.dark-theme .services-container { box-shadow: none; }
.dark-theme .search-container { box-shadow: none; }
.dark-theme .search-container:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(225, 26, 43, 0.25); }
.dark-theme .social-row b { color: #ffffff !important; }
.dark-theme .social-row small { color: #a0a0a0 !important; }
.dark-theme .contacts-col.right p { color: #ffffff !important; }
.dark-theme .contacts-col.right .clock { color: var(--red); }

/* ============================================================================
   LINK STYLES — <a> вместо <button>/<div onclick>
   ============================================================================ */

#reviews,
#contacts {
  scroll-margin-top: 80px;
}

a.city-option,
a.lang-option,
a.country-option {
  text-decoration: none;
}

a.menu-item-row {
  text-decoration: none;
}

a.submenu-item {
  text-decoration: none;
}

a.bottom-nav-item {
  text-decoration: none;
}

a.vip-banner-card {
  text-decoration: none;
}

a.service-card {
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}