/* ================= ШРИФТЫ ================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Inter:wght@300;400;500&display=swap');

/* ================= ПЕРЕМЕННЫЕ ================= */
:root {
  --bg: #fdf8f6;
  --text: #2b2b2b;
  --accent: #d4a5a5;
  --accent-dark: #c48b8b;
  --accent-light: #f3dede;
  --glass: rgba(255, 255, 255, 0.6);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --border-radius-card: 20px;
  --transition: 0.3s ease;
}

body.dark {
  --bg: #1a1a1a;
  --text: #f5f5f5;
  --accent: #e6b8b8;
  --accent-dark: #d49c9c;
  --accent-light: #2a2a2a;
  --glass: rgba(40, 40, 40, 0.6);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* ================= БАЗА ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Активное состояние при скролле к форме */
html {
  scroll-behavior: smooth;
}

/* Подсветка селекта при авто-выборе (опционально) */
.custom-select.highlight {
  animation: pulse 0.5s ease;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 165, 165, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(212, 165, 165, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(212, 165, 165, 0);
  }
}

.page {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, var(--bg), #fff);
  color: var(--text);
  transition: background-color var(--transition), color var(--transition);
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
  margin: 0 0 1rem 0;
}

/* Скрытый визуально, но видимый для скринридеров */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

/* Фокус для клавиатуры (важно для доступности) */
a:focus-visible,
button:focus-visible,
.gallery__image:focus-visible {
  outline: 3px solid #ff6b6b;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Затемнение для модалок */
.lightbox.active, .modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}
.lightbox, .modal {
  display: none;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ================= КНОПКИ ================= */
.button {
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  cursor: pointer;
  font-weight: 500;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 14px rgba(212, 165, 165, 0.3);
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(212, 165, 165, 0.4);
}

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: var(--glass);
  box-shadow: var(--shadow);
  z-index: 100;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  position: relative;
  z-index: 102;
}

.header__logo {
  font-weight: 700;
  font-size: 1.3rem;
  position: relative;
  z-index: 102;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 102;
}

/* ================= ДЕСКТОПНАЯ НАВИГАЦИЯ ================= */
.nav {
  display: flex;
  gap: 1.5rem;
}

.nav__link {
  text-decoration: none;
  color: var(--text);
  position: relative;
  font-weight: 500;
  padding: 5px 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

/* ================= БУРГЕР-КНОПКА ================= */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 103;
  transition: all 0.3s ease;
}

.burger__line {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Анимация бургера при открытом меню */
.burger.active .burger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active .burger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.active .burger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Добавьте в body при открытом меню */
body.menu-open .header {
  background: var(--glass);
}

/* Эффект затемнения основного контента */
.mobile-menu.active~* {
  filter: blur(0px);
}


/* ================= МОБИЛЬНОЕ МЕНЮ (FULLSCREEN) ================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  z-index: 101;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
  overflow-y: auto;
}

/* Когда меню открыто */
.mobile-menu.active {
  visibility: visible;
  opacity: 1;
}

/* Контейнер для контента внутри меню */
.mobile-menu__container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 100px 30px 50px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--accent-light) 100%);
  backdrop-filter: blur(20px);
}

/* Тёмная тема для меню */
body.dark .mobile-menu__container {
  background: linear-gradient(135deg, var(--bg) 0%, #2a1a1a 100%);
}

.mobile-menu__profile {
  text-align: center;
  margin-bottom: 10px;
}

.mobile-menu__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: left;
  border: 3px solid var(--accent);
  margin-bottom: 10px;
}

.mobile-menu__name {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 5px 0;
}

.mobile-menu__title {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Навигация в мобильном меню */
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 40px;
}

/* Ссылки в мобильном меню */
.mobile-menu__link {
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  width: fit-content;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInLink 0.4s forwards;
  animation-delay: calc(var(--index, 0) * 0.05s);
}

/* Задержка для анимации каждой ссылки */
.mobile-menu__link:nth-child(1) {
  --index: 1;
}

.mobile-menu__link:nth-child(2) {
  --index: 2;
}

.mobile-menu__link:nth-child(3) {
  --index: 3;
}

.mobile-menu__link:nth-child(4) {
  --index: 4;
}

.mobile-menu__link:nth-child(5) {
  --index: 5;
}

@keyframes slideInLink {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu__link:hover {
  color: var(--accent);
  transform: translateX(10px);
}

/* Подчёркивание при наведении */
.mobile-menu__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.mobile-menu__link:hover::after {
  width: 100%;
}

/* Футер мобильного меню */
.mobile-menu__footer {
  margin-top: auto;
  padding-top: 50px;
  text-align: center;
}

/* Социальные ссылки */
.mobile-menu__social {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.mobile-menu__social-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 30px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.mobile-menu__social-link:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

/* Контактный телефон */
.mobile-menu__contact {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: 15px;
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass);
  border: none;
  backdrop-filter: blur(4px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.theme-toggle:hover {
  transform: scale(1.05);
}

.theme-toggle__icon {
  font-size: 22px;
}

/* ================= HERO ================= */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./images/front-img.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero__container {
  max-width: 800px;
  padding: 20px;
}

.hero__title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

/* ================= ADVANTAGES ================= */
.advantage-list {
  display: flex;
  gap: 30px;
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
}

.advantage-card {
  flex: 1;
  min-width: 200px;
  padding: 20px;
  background: var(--glass);
  backdrop-filter: blur(8px);
  border-radius: var(--border-radius-card);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.advantage-card:hover {
  transform: translateY(-6px);
}

.advantage-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.advantage-card__text {
  opacity: 0.8;
  margin: 0;
}

/* ================= SERVICES ================= */
.service-list {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  padding: 0;
}

.service-card {
  flex: 1;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-card);
  padding: 25px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card__info {
  margin-bottom: 20px;
}

.service-card__title {
  margin-bottom: 8px;
}

.service-card__description {
  opacity: 0.7;
  font-size: 0.9rem;
}

.service-card__aside {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 20px;
}

.service-card__price {
  font-weight: 600;
  font-size: 1.2rem;
}

.promo-banner {
  margin-top: 40px;
  padding: 25px;
  border-radius: var(--border-radius-card);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  text-align: center;
}

.promo-banner__badge {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.promo-banner__text {
  margin: 0;
}

/* ================= GALLERY ================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.gallery__item {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: var(--border-radius-card);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.gallery__item:hover {
  transform: scale(1.02);
}

.gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery__item:hover .gallery__image {
  transform: scale(1.06);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

.lightbox__image {
  max-width: 90%;
  max-height: 90%;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

/* ================= ABOUT ================= */
.about-section {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
}

.about-section__image {
  flex: 1;
  min-width: 250px;
  border-radius: var(--border-radius-card);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
}

.about-section__content {
  flex: 1;
}

.about-section__title {
  text-align: left;
}

.about-section__text {
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ================= REVIEWS ================= */
.review-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-card {
  background: var(--glass);
  backdrop-filter: blur(8px);
  padding: 25px;
  border-radius: var(--border-radius-card);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.review-card__avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card__name {
  font-size: 1.1rem;
}

.review-card__stars {
  color: #f5b301;
  font-size: 0.9rem;
  margin-top: 4px;
}

.review-card__text {
  line-height: 1.5;
  margin: 0;
  opacity: 0.9;
}

/* ================= FORM ================= */
.form-section {
  max-width: 600px;
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.appointment-form__group {
  position: relative;
  width: 100%;
}

.appointment-form__input,
.appointment-form__select {
  width: 100%;
  padding: 18px 16px 8px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--glass);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
  color: var(--text);
  font-family: inherit;
}

.appointment-form__input:focus,
.appointment-form__select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 165, 165, 0.2);
}

.appointment-form__label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 0.9rem;
  pointer-events: none;
  transition: 0.2s;
  background: transparent;
}

.appointment-form__input:focus+.appointment-form__label,
.appointment-form__input:valid+.appointment-form__label,
.appointment-form__select:focus+.appointment-form__label,
.appointment-form__select:valid+.appointment-form__label {
  top: 8px;
  font-size: 0.7rem;
  background: var(--bg);
  padding: 0 6px;
  color: var(--accent);
}

.appointment-form__button {
  width: 100%;
  margin-top: 10px;
}

/* ================= КАСТОМНЫЙ СЕЛЕКТ ================= */
.custom-select {
  position: relative;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.custom-select__trigger {
  width: 100%;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--glass);
  backdrop-filter: blur(10px);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  color: var(--text);
}

.custom-select__trigger:hover {
  border-color: var(--accent);
}

.custom-select.open .custom-select__trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 165, 165, 0.2);
}

.custom-select__value {
  user-select: none;
}

.custom-select__arrow {
  transition: transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  opacity: 0.6;
}

.custom-select.open .custom-select__arrow {
  transform: rotate(180deg);
}

.custom-select__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg);
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  z-index: 100;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.custom-select.open .custom-select__dropdown {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
}

.custom-select__option {
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
  color: var(--text);
}

.custom-select__option:hover {
  background: var(--accent-light);
}

.custom-select__option.selected {
  background: var(--accent);
  color: white;
}

.custom-select__option.disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* Тёмная тема для селекта */
body.dark .custom-select__dropdown {
  background: var(--bg);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark .custom-select__option:hover {
  background: rgba(230, 184, 184, 0.2);
}

/* ================= FAQ ================= */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--glass);
}

.faq-item__question {
  padding: 18px 20px;
  background: var(--accent-light);
  cursor: pointer;
  font-weight: 500;
}

.faq-item__answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-item__answer {
  padding: 15px 20px;
  max-height: 500px;
}

/* ================= CONTACTS ================= */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: stretch;
}

.contacts-info {
  padding: 30px;
  border-radius: var(--border-radius-card);
  background: var(--glass);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.contacts-info__title {
  margin-top: 0;
  margin-bottom: 20px;
}

.contacts-info__item {
  margin-bottom: 12px;
}

.contacts-info__link {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.contacts-info__link:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-links__link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-links__link:hover {
  color: var(--accent);
}

.contacts-map__container {
  position: relative;
  aspect-ratio: 16 / 9;
}

.contacts-map__iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: none;
  border-radius: var(--border-radius-card);
  box-shadow: var(--shadow);
}

/* ================= COOKIE ================= */
.cookie {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--glass);
  backdrop-filter: blur(12px);
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: var(--shadow);
  z-index: 99;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  white-space: nowrap;
}

.cookie__text {
  margin: 0;
  font-size: 0.9rem;
}

.cookie__button {
  background: var(--accent);
  border: none;
  padding: 6px 18px;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

/* ================= MODAL ================= */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.modal__content {
  background: var(--bg);
  padding: 30px;
  border-radius: 20px;
  max-width: 400px;
  text-align: center;
}

.modal__close-button {
  margin-top: 20px;
  padding: 8px 24px;
  background: var(--accent);
  border: none;
  border-radius: 30px;
  color: white;
  cursor: pointer;
}



/* ================= FOOTER ================= */
.footer {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 60px;
  padding: 40px 0 30px;
}

.footer__container {
  padding: 0 20px;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer__copyright {
  text-align: left;
}

.footer__copyright p {
  margin: 8px 0;
  opacity: 0.8;
  font-size: 14px;
}

.footer__credit {
  font-size: 13px;
}

.footer__credit a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer__credit a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.footer__disclaimer {
  font-size: 12px;
  opacity: 0.6;
  font-style: italic;
}

/* Альтернативная структура (для второго варианта) */
.footer__author {
  margin: 12px 0 8px;
}

.footer__author-name {
  font-size: 14px;
  margin-bottom: 4px;
}

.footer__author-name a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.footer__author-name a:hover {
  text-decoration: underline;
}

.footer__author-divider {
  margin: 0 8px;
  opacity: 0.5;
}

.footer__author-badge {
  font-size: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  color: white;
  font-weight: 500;
}

.footer__legal {
  text-align: right;
}

.footer__p,
.footer__policy-button {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 14px;
  padding: 8px 16px;
}

.footer__policy-button {
  cursor: pointer;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.footer__policy-button:hover {
  opacity: 0.7;
}

/* Адаптив для футера */
@media (max-width: 768px) {
  .footer {
    padding: 30px 0 20px;
  }

  .footer__content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer__copyright {
    text-align: center;
  }

  .footer__legal {
    text-align: center;
  }

  .footer__author-badge {
    font-size: 11px;
  }
}

/* ================= АДАПТИВ ================= */
/* Планшеты */
@media (max-width: 1024px) {
  .service-list {
    flex-direction: column;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .container {
    padding: 30px 20px;
  }
}

/* Мобильные */
@media (max-width: 768px) {
  .header__container {
    flex-wrap: wrap;
  }

  /* Скрываем десктопную навигацию */
  .nav {
    display: none;
  }

  /* Показываем бургер */
  .burger {
    display: flex;
  }

  /* Блокируем скролл body при открытом меню */
  body.menu-open {
    overflow: hidden;
  }

  .hero {
    min-height: 70vh;
  }

  .hero__title {
    font-size: 2rem;
  }

  .advantage-list {
    flex-direction: column;
    gap: 15px;
  }

  .about-section {
    flex-direction: column;
    text-align: center;
  }

  .about-section__title {
    text-align: center;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .cookie {
    white-space: normal;
    width: 90%;
    border-radius: 20px;
    text-align: center;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery__item {
    height: 240px;
  }
}

/* Touch устройства (убираем лишние hover эффекты, увеличиваем таргеты) */
@media (hover: none) and (pointer: coarse) {

  .button:hover,
  .service-card:hover,
  .advantage-card:hover,
  .review-card:hover,
  .gallery__item:hover {
    transform: none;
  }

  .button {
    padding: 14px 28px;
  }

  .nav__link {
    padding: 12px 0;
    font-size: 1.2rem;
  }

  .burger__line {
    height: 3px;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
  }

  .faq-item__question {
    padding: 18px 20px;
  }
}

/* Планшеты (меню тоже показываем, так как экран меньше) */
@media (max-width: 1024px) and (min-width: 769px) {
  .nav {
    gap: 0.8rem;
  }

  .nav__link {
    font-size: 0.9rem;
  }
}