:root {
  --bg: #f3f3f3;
  --card: #fff;
  --line: #e6e6e6;
  --black: #000;
  --text: #121212;
  --muted: #6d6d6d;
  --red: #E11A2B;
  --tg: #0088cc;
  --wa: #25D366;
  --header-bg: #000;
  --hero-text: #333;
  --service-bg: #fff;
  --service-card-bg: #fafafa;
  --review-card-bg: #fff;
  --review-text: #555;
  --review-name: #222;
  --modal-bg: #fff;
  --modal-text: #121212;
  --input-border: #ddd;
  --contacts-box-bg: #000;
  --contacts-text: #fff;
  --contacts-small: #7a7a7a;
  --menu-bg: #121212;
  --menu-text: #fff;
  --dropdown-bg: #1a1a1a;
  --filter-bg: #fff;
  --filter-text: #333;
  --filter-border: #ddd;
  --watermark-color: rgba(255, 255, 255, 0.747);
}

.dark-theme {
  --bg: #121212;
  --card: #1e1e1e;
  --line: #2a2a2a;
  --black: #1a1a1a;
  --text: #e0e0e0;
  --muted: #a0a0a0;
  --red: #E11A2B;
  --tg: #0088cc;
  --wa: #25D366;
  --header-bg: #0a0a0a;
  --hero-text: #b0b0b0;
  --service-bg: #1e1e1e;
  --service-card-bg: #2a2a2a;
  --review-card-bg: #1e1e1e;
  --review-text: #b0b0b0;
  --review-name: #e0e0e0;
  --modal-bg: #1e1e1e;
  --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: #2a2a2a;
  --filter-text: #e0e0e0;
  --filter-border: #444;
  --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: 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: 980px;
  height: 64px;
  margin: 0 auto;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 2px;
  position: relative;
  z-index: 2;
}

.h-icon-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.h-icon-btn:hover {
  opacity: 0.8;
}

.h-icon-btn svg {
  width: 22px;
  height: 22px;
}

.header-logo {
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: .4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.header-logo span {
  color: var(--red);
}

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

.header-right img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.2s;
}

.header-right img:hover {
  opacity: 0.8;
}

.header-right .lang {
  font-size: 22px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.header-right .lang:hover {
  opacity: 0.8;
}

/* ===== CITY DROPDOWN ===== */
.city-dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.city-dropdown .city {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s;
}

.city-dropdown:hover {
  opacity: 0.8;
}

.city-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--dropdown-bg);
  border-radius: 12px;
  min-width: 180px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  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;
}

.city-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.city-option {
  padding: 12px 16px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.city-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

/* ===== TOP CATS ===== */
.top-cats {
  max-width: 980px;
  margin: 0 auto;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  overflow: visible;
  flex-wrap: wrap;
  position: relative;
}

.top-cats button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 10px 12px;
  font-size: 18px;
  color: var(--text);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}

.top-cats button.active {
  font-weight: 700;
  border-bottom-color: var(--red);
}

/* ===== ФИЛЬТРЫ ОРИЕНТАЦИИ ===== */
.filter-orientation {
  background: none;
  border-bottom: none;
  margin-top: 8px;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  display: flex;
  overflow-x: visible;
}

.filter-orientation button {
  padding: 8px 24px;
  border-radius: 40px;
  border: 1.5px solid var(--filter-border);
  background: var(--filter-bg);
  font-size: 16px;
  font-weight: 500;
  color: var(--filter-text);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-orientation button:hover {
  border-color: var(--red);
  background: var(--filter-bg);
}

.filter-orientation button.active {
  border-color: var(--red);
  background: var(--filter-bg);
  color: var(--red);
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--red);
}

/* ===== HERO ===== */
.hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 14px 16px;
  text-align: center;
}

.hero h1 {
  font-size: 36px;
  line-height: 1.05;
  font-weight: 800;
  margin: 10px 0;
  color: var(--text);
}

.hero p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--hero-text);
  max-width: 780px;
  margin: 0 auto;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
  max-width: 980px;
  margin: 40px auto 20px;
  padding: 0 14px;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.reviews-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}

.write-review-btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.write-review-btn:hover {
  opacity: 0.8;
}

.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: #f1f1f1;
  border-radius: 10px;
}

.dark-theme .reviews-slider::-webkit-scrollbar-track {
  background: #2a2a2a;
}

.dark-theme .reviews-slider::-webkit-scrollbar-thumb {
  background: #555;
}

.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: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dark-theme .review-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.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;
}

/* ===== GRID ===== */
.grid-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 8px 14px 24px;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.anket-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #b9b9b9;
  aspect-ratio: 3/4;
  transition: transform 0.2s;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

.anket-card:hover {
  transform: scale(0.98);
}

/* Контейнер для изображения */
.anket-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #b9b9b9;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent;
}

.anket-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  pointer-events: none !important;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-drag: none !important;
}

/* CSS водяной знак - основной */
.css-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  font-size: 50px;
  color: rgba(255, 255, 255, 0.1);
  pointer-events: none !important;
  z-index: 10;
  white-space: nowrap;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-touch-callout: none !important;
  letter-spacing: 4px;
  opacity: 1;
  display: block !important;
  width: 100%;
  text-align: center;
}

/* Паттерн водяного знака */
.watermark-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none !important;
  z-index: 9;
  user-select: none !important;
  -webkit-user-select: none !important;
  background-image: repeating-linear-gradient(
    -25deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.03) 40px,
    rgba(255, 255, 255, 0.03) 45px
  );
  display: block !important;
}

/* Защитный оверлей */
.protect-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
  pointer-events: none;
  cursor: default;
  background: transparent;
}

/* Оверлей с именем и количеством фото */
.anket-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0));
  z-index: 11;
  pointer-events: none;
}

.anket-name {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

.anket-count {
  color: #fff;
  font-size: 20px;
  background: rgba(0, 0, 0, .55);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

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

/* ===== SERVICES SECTION ===== */
.services-section {
  max-width: 980px;
  margin: 20px auto 20px;
  padding: 0 14px;
}

.services-container {
  background: var(--service-bg);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.dark-theme .services-container {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.services-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 28px;
  text-align: left;
  letter-spacing: -0.5px;
  color: var(--text);
}

.services-title span {
  padding-bottom: 10px;
  border-bottom: 3px solid var(--red);
}

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

.service-card {
  text-align: center;
  padding: 16px 12px;
  border-radius: 16px;
  background: var(--service-card-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-card svg {
  width: 44px;
  height: 44px;
  color: var(--red);
  display: inline-block;
}

.service-card:nth-child(1) svg,
.service-card:nth-child(2) svg,
.service-card:nth-child(3) svg {
  transform: scale(1.25);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.service-name {
  font-size: 18px;
  font-weight: 800;
  margin-top: 12px;
  color: var(--text);
  letter-spacing: 0.3px;
}

/* ===== CONTACTS SECTION ===== */
.contacts-section {
  margin-top: 22px;
  background: transparent;
  padding: 0;
}

.contacts-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 14px 34px;
}

.contacts-section h2 {
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--text);
}

.contacts-box {
  background: var(--dropdown-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 14px;
  display: flex;
  gap: 14px;
  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: 26px;
  color: #ffffff;
}

.social-row small {
  font-size: 18px;
  color: var(--contacts-small);
}

.v-divider {
  width: 1px;
  background: var(--line);
}

.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;
}

/* ===== SIDEBAR ===== */
.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;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  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: 28px;
  cursor: pointer;
  line-height: 1;
  transition: opacity 0.2s;
}

.menu-close:hover {
  opacity: 0.8;
}

.menu-header {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.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;
}

.menu-item-row:hover:not(.no-hover) {
  background: #1c1c1e;
}

.menu-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.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;
}

/* ===== DROPDOWNS & SUBMENUS ===== */
.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 {
  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;
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ ОТЗЫВОВ ===== */
.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;
}

/* ===== 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: 12px;
  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: 8px;
  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;
}

/* ===== REVIEW MODAL ===== */
.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: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.review-submit:hover {
  opacity: 0.8;
}

/* ===== LOGIN MODAL ===== */
.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: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.login-form button:hover,
.register-form button:hover {
  opacity: 0.8;
}

/* ===== ЯЗЫКОВОЙ ДРОПДАУН ===== */
.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--dropdown-bg);
  border-radius: 12px;
  min-width: 150px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  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;
}

.lang-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  padding: 12px 16px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

.lang-option img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.header-right {
  position: relative;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.lang-selector:hover {
  opacity: 0.8;
}

/* ===== MOBILE ADAPTATION ===== */
@media (max-width: 768px) {
  .services-grid {
    gap: 8px;
  }
  
  .service-card {
    padding: 8px 4px;
  }
  
  .service-card svg {
    width: 28px;
    height: 28px;
  }
  
  .service-name {
    font-size: 10px;
    margin-top: 6px;
  }
  
  .services-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .services-container {
    padding: 20px 16px;
  }

  .header-inner {
    height: 56px;
  }
  
  .header-logo {
    font-size: 20px;
  }
  
  .header-right .lang {
    font-size: 13px;
  }
  
  .city-dropdown .city {
    font-size: 13px;
  }
  
  .city-dropdown-menu {
    min-width: 150px;
    right: -10px;
  }
  
  .city-option {
    padding: 10px 14px;
    font-size: 14px;
  }
  
  .h-icon-btn {
    width: 28px;
    height: 28px;
  }
  
  .h-icon-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .top-cats {
    justify-content: center;
    overflow: visible;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 10px;
  }
  
  .top-cats button {
    font-size: 14px;
    padding: 8px 10px;
  }
  
  .filter-orientation {
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 10px;
  }
  
  .filter-orientation button {
    padding: 6px 18px;
    font-size: 13px;
  }
  
  .hero h1 {
    font-size: 22px;
  }
  
  .hero p {
    font-size: 14px;
  }
  
  .grid-wrap {
    padding: 8px 12px 20px;
  }
  
  .profiles-grid {
    gap: 8px;
  }
  
  .anket-name {
    font-size: 20px;
  }
  
  .anket-count {
    font-size: 11px;
    padding: 3px 8px;
  }
  
  .css-watermark {
    font-size: 18px !important;
  }
  
  .reviews-section {
    margin: 30px auto 15px;
  }
  
  .reviews-header h2 {
    font-size: 18px;
  }
  
  .write-review-btn {
    padding: 4px 8px;
    font-size: 14px;
  }
  
  .review-card {
    min-width: 260px;
    padding: 16px;
  }
  
  .review-text {
    font-size: 13px;
  }
  
  .menu-sidebar {
    width: 280px;
  }
  
  .menu-header {
    font-size: 20px;
  }
  
  .menu-item-row {
    font-size: 15px;
    padding: 12px 14px;
  }
  
  .contact-card {
    top: 60px;
    left: 12px;
    width: 220px;
  }
  
  .contacts-container {
    padding: 0 12px 26px;
  }
  
  .contacts-section h2 {
    font-size: 18px;
  }
  
  .contacts-box {
    padding: 14px 14px;
    border-radius: 14px;
    flex-direction: row;
    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;
  }
  
  .v-divider {
    display: block;
    width: 1px;
  }
  
  .contacts-col.right .clock {
    font-size: 36px;
  }
  
  .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%;
  }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ ПРАВИЛА ДЛЯ ТЕМНОЙ ТЕМЫ (КОНТАКТЫ) ===== */
.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);
}

/* ===== ДЕСКТОПНАЯ ВЕРСИЯ TOP CATS ===== */
@media (min-width: 769px) {
  .top-cats {
    justify-content: center;
    overflow: visible;
    flex-wrap: wrap;
  }
}

/* ===== ЗАЩИТА ИЗОБРАЖЕНИЙ ===== */
.anket-image-container {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent;
}

.anket-image-container img {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    pointer-events: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-drag: none !important;
}

.anket-card {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}

/* CSS водяной знак */
.css-watermark {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important;
    display: block !important;
}

/* Запрет выделения */
img {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
}

.anket-image-container * {
    -webkit-user-drag: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}

::selection {
    background: transparent !important;
}

::-moz-selection {
    background: transparent !important;
}

/* ===== 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);
}

.verification-code-block {
    background: var(--card);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    border: 2px solid var(--red);
}

.verification-code-label {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 8px;
}

.verification-code-number {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 8px;
    color: var(--red);
    font-family: monospace;
}

.verification-code-hint {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}

.verification-tg-block {
    background: var(--card);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
}

.verification-tg-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.verification-tg-left svg {
    width: 32px;
    height: 32px;
}

.verification-tg-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.verification-tg-link {
    background: #0088cc;
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.verification-tg-link:hover {
    opacity: 0.8;
}

.verification-description {
    font-size: 13px;
    text-align: center;
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.verification-close-btn {
    width: 100%;
    padding: 14px;
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.verification-close-btn:hover {
    opacity: 0.8;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}