 :root {
      --primary: #1a1a1a;
      --secondary: #2c3e50;
      --accent: #d4af37;
      --light: #f8f9fa;
      --gray: #6c757d;
      --light-gray: #e9ecef;
      --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
      --transition: all 0.3s ease;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html {
      scroll-behavior: smooth;
    }
    body {
      font-family: 'Inter', sans-serif;
      background-color: #ffffff;
      color: var(--primary);
      line-height: 1.6;
      overflow-x: hidden;
    }
    h1, h2, h3, h4 {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 600;
      line-height: 1.2;
    }
    .container {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
    }
    /* Telegram кнопка */
    .telegram-float {
      position: fixed;
      bottom: 25px;
      right: 25px;
      background: #0088cc;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
      z-index: 1000;
      transition: var(--transition);
      border: 2px solid white;
    }
    .telegram-float:hover {
      transform: scale(1.1);
      background: #006699;
    }
    .telegram-float svg {
      fill: white;
      width: 28px;
      height: 28px;
    }
    /* Шапка */
  .header {
  background: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 15px 0;
  transition: transform 0.3s ease;
}
.header.hide {
  transform: translateY(-100%);
}
.header.show {
  transform: translateY(0);
  opacity: 1;
}
    .header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.2rem;
      font-weight: 600;
      color: var(--secondary);
      text-decoration: none;
    }
    .nav {
      display: flex;
      gap: 28px;
    }
    .nav a {
      font-weight: 500;
      color: var(--primary);
      text-decoration: none;
      position: relative;
      padding: 5px 0;
      transition: var(--transition);
    }
    .nav a:hover {
      color: #0088cc;
    }
    .nav a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: #0088cc;
      transition: var(--transition);
    }
    .nav a:hover::after {
      width: 100%;
    }
    .btn-telegram-header {
      background: #0088cc;
      color: white;
      padding: 8px 20px;
      border-radius: 30px;
      font-weight: 600;
      font-size: 0.95rem;
      transition: var(--transition);
      border: 2px solid #0088cc;
      cursor: pointer;
    }
    .btn-telegram-header:hover {
      background: transparent;
      color: #0088cc;
    }
   

    .burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px; /* ← важно: чуть больше, чтобы линии имели пространство */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  appearance: none;
}
.burger span {
  display: block;
  height: 6px;
  width: 100%;
  background: var(--secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
/* Анимация → крестик */
.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: var(--light);
  padding: 0 20px 30px; /* ← убрали отступ сверху */
  transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1000;
  overflow-y: auto;
}

.mobile-nav {
  padding-top: 80px; /* ← перенесли отступ сюда */
}

.mobile-menu.active {
  left: 0;
}
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--light-gray);
  transition: color 0.2s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover {
  color: var(--accent);
}
.btn-telegram-mobile {
  display: inline-block;
  background: #0088cc;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  text-align: center;
  max-width: 240px;
  cursor: pointer;
  border: 2px solid #0088cc;
}
.btn-telegram-mobile:hover {
  background: transparent;
  color: #0088cc;
}
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  z-index: 999;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
/* Адаптивность */
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .btn-telegram-header {
    display: none;
  }
  .logo {
    font-size: 1.9rem;
  }
}
   .hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #eef2f7 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 136, 204, 0.03) 0%, transparent 70%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 24px;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.25;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-primary,
.btn-outline {
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.btn-primary {
  background: #0088cc;
  color: white;
  border: 2px solid #0088cc;
  cursor: pointer;
}
.btn-primary:hover {
  background: #006699;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.btn-outline:hover {
  background: rgba(44, 62, 80, 0.04);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.1);
}
/* Адаптивность Hero */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 80px 0 60px;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 30px;
  }
  .btn-primary,
  .btn-outline {
    padding: 12px 28px;
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-cta {
    gap: 12px;
  }
  .btn-primary,
  .btn-outline {
    padding: 10px 24px;
    width: 100%;
    max-width: 280px;
  }
}
    /* Секции */
    .section {
      padding: 40px 0;
    }
    .section-title {
      text-align: center;
      font-size: 2.5rem;
      margin-bottom: 20px;
      position: relative;
      display: inline-block;
      left: 50%;
      transform: translateX(-50%);
    }
    .section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 3px;
      background: var(--accent);
    }
    .section-text {
      text-align: center;
      max-width: 800px;
      margin: 25px auto 50px;
      font-size: 1.1rem;
      color: var(--gray);
    }
    /* Карточки */
    .cards-grid {
      display: grid;
      gap: 28px;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .card {
      background: white;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: var(--transition);
      cursor: pointer;
      display: flex;
      flex-direction: column;
    }
    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }
    .card-img {
      width: 100%;
      aspect-ratio: 2 / 3;
      object-fit: contain;
      object-position: center;
      display: block;
    }

    .card-im {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Единый размер фото для карточек услуг (включая дополнительные) */
#services .card-im,
#additional-services .card-im {
  aspect-ratio: 16 / 9;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

/* Только для "Наши предложения" — горизонтальные изображения */
#services .card-im {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  height: 200px;
}

    .card-content {
      padding: 20px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }
    .card-content h3 {
      font-size: 1.3rem;
      margin-bottom: 10px;
      color: var(--secondary);
    }
    .card-content p {
      color: var(--gray);
      margin-bottom: 15px;
      font-size: 0.95rem;
      flex-grow: 1;
    }
    .btn-telegram {
      background: #0088cc;
      color: white;
      padding: 10px;
      border-radius: 8px;
      text-align: center;
      font-weight: 600;
      transition: var(--transition);
      display: block;
      width: 100%;
      text-decoration: none;
      border: 2px solid #0088cc;
      font-size: 0.95rem;
      cursor: pointer;
    }
    .btn-telegram:hover {
      background: transparent;
      color: #0088cc;
    }
    /* Подзаголовки категорий */
    .category-title {
      font-size: 1.8rem;
      margin: 50px 0 25px;
      color: var(--secondary);
      text-align: center;
    }
    /* О нас */
    .about-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
      margin-top: 40px;
    }
    .about-text h3 {
      font-size: 2rem;
      margin-bottom: 20px;
      color: var(--secondary);
    }
    .about-text p {
      margin-bottom: 15px;
      color: var(--gray);
    }
    /* Галерея */
    .gallery {
      margin-top: 40px;
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--shadow);
      height: 320px;
    }
    .gallery-images {
      display: flex;
      height: 100%;
      transition: transform 0.5s ease;
    }
    .gallery-images img {
      min-width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .gallery-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.9);
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      color: var(--primary);
      border: none;
      cursor: pointer;
      z-index: 10;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      transition: var(--transition);
    }
    .gallery-btn:hover {
      background: white;
      transform: translateY(-50%) scale(1.1);
    }
    .gallery-btn.prev { left: 20px; }
    .gallery-btn.next { right: 20px; }
    .gallery-dots {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
    }
    .gallery-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.7);
      cursor: pointer;
      transition: var(--transition);
    }
    .gallery-dot.active {
      background: white;
      transform: scale(1.2);
    }
    /* Контакты — НОВЫЙ БЛОК */
    .contacts {
      background: var(--secondary);
      color: white;
      padding: 50px 0;
    }
    .contacts .section-title {
      color: white;
    }
    .contacts .section-title::after {
      background: var(--accent);
    }
    .contact-section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: start;
    }
    .contact-info h3 {
      font-size: 1.8rem;
      margin-bottom: 20px;
      color: white;
    }
    .contact-info p {
      font-size: 1.15rem;
      line-height: 1.8;
      margin: 12px 0;
    }
    .contact-info strong {
      color: var(--accent);
      display: block;
      margin-top: 15px;
    }
    .btn-contact {
      background: var(--accent);
      color: var(--primary);
      padding: 14px 32px;
      border-radius: 30px;
      font-weight: 600;
      font-size: 1.1rem;
      margin-top: 25px;
      display: inline-block;
      transition: var(--transition);
      text-decoration: none;
      border: 2px solid var(--accent);
      cursor: pointer;
    }
    .btn-contact:hover {
      background: transparent;
      color: var(--accent);
    }
    .map-container {
      width: 100%;
      height: 400px;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }
    .map-container iframe {
      width: 100%;
      height: 100%;
      border: none;
    }
    /* Футер */
    .footer {
  background: #0f1011;
  color: #d1d1d1;
  padding: 50px 0 25px;
  font-size: 0.95rem;
  border-top: 1px solid #222;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: #fff;
  position: relative;
  padding-bottom: 6px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #d4af37;
}
.footer-col p,
.footer-links li {
  margin-bottom: 8px;
  line-height: 1.5;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #d4af37;
}
.footer-col a[href^="tel"] {
  color: #bbb;
  text-decoration: none;
}
.footer-col a[href^="tel"]:hover {
  color: #d4af37;
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #0088cc;
  transition: all 0.3s ease;
  border: 1px solid #333;
}
.social-link:hover {
  background: #0088cc;
  color: white;
  border-color: #0088cc;
  transform: translateY(-2px);
}
.footer-note {
  font-size: 0.9rem;
  color: #888;
  margin-top: 12px;
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #222;
  color: #777;
  font-size: 0.85rem;
}
/* Мобильная адаптация */
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }
  .footer-grid {
    gap: 25px;
  }
  .footer-col h4 {
    font-size: 1.15rem;
  }
}
    /* Кнопка наверх */
    .back-to-top {
      position: fixed;
      bottom: 100px;
      right: 30px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--secondary);
      color: white;
      border: none;
      font-size: 1.2rem;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transition: var(--transition);
      z-index: 999;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    .back-to-top.visible {
      opacity: 1;
      visibility: visible;
    }
    .back-to-top:hover {
      background: #0088cc;
      transform: scale(1.1);
    }
    /* Модальное окно */
    .modal {
      display: none;
      position: fixed;
      z-index: 2000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.85);
      overflow-y: auto;
      padding: 20px;
    }
    .modal-content {
      background: white;
      margin: 80px auto;
      padding: 40px;
      border-radius: 20px;
      max-width: 800px;
      position: relative;
      animation: fadeIn 0.5s ease;
      box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .close-button {
      position: absolute;
      top: 20px;
      right: 25px;
      font-size: 32px;
      font-weight: bold;
      color: #000000;
      cursor: pointer;
      transition: var(--transition);
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
    }
    .close-button:hover {
      color: var(--secondary);
      background: #808284;
    }
    .modal-info {
      text-align: center;
    }
    .modal-info img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 25px;
    display: block;
  }
    .modal-info h2 {
      font-size: 2.2rem;
      margin-bottom: 20px;
      color: var(--secondary);
    }
    .modal-info p {
      font-size: 1.1rem;
      color: var(--gray);
      margin-bottom: 25px;
      line-height: 1.7;
    }

    /* === МОДАЛЬНОЕ ОКНО ВЫБОРА TELEGRAM === */
    #telegramModal .modal-content {
      text-align: center;
      padding: 30px;
    }
    #telegramModal h2 {
      margin-bottom: 20px;
      color: var(--secondary);
    }
    #telegramModal p {
      margin-bottom: 25px;
      color: var(--gray);
    }
    #telegramModal .btn-telegram {
      max-width: 300px;
      margin: 8px auto;
    }

    /* Мобильная адаптация */
    @media (max-width: 992px) {
      .contact-section,
      .about-content {
        grid-template-columns: 1fr;
      }
      .gallery {
        height: 350px;
      }
      .map-container {
        height: 350px;
      }
    }
    @media (max-width: 768px) {
      .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
      }
      .nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
      }
      .hero {
        padding: 70px 0 40px;
      }
      .hero h1 {
        font-size: 2.2rem;
      }
      .section {
        padding: 60px 0;
      }
      .section-title {
        font-size: 2rem;
      }
      .category-title {
        font-size: 1.6rem;
        margin: 40px 0 20px;
      }
      .gallery,
      .map-container {
        height: 300px;
      }
      .telegram-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
      }
      .back-to-top {
        bottom: 80px;
        right: 15px;
        width: 45px;
        height: 45px;
      }
    }
    @media (max-width: 480px) {
      .hero h1 {
        font-size: 1.8rem;
      }
      .section-title {
        font-size: 1.8rem;
      }
      .modal-content {
        padding: 25px;
        margin: 40px 10px;
      }
      .gallery,
      .map-container {
        height: 250px;
      }
    }
 .advantages-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 50px;
}
.advantages-text h2.section-title {
  text-align: left;
  display: block;
  left: 0;
  transform: none;
  margin-bottom: 20px;
}
.advantages-text .section-text {
  text-align: left;
  margin: 0 0 36px;
  max-width: none;
  font-size: 1.15rem;
  color: var(--gray);
}
.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.advantage-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.advantage-marker {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 4px;
}
.advantage-item h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: var(--secondary);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.3;
}
.advantage-item p {
  margin: 0;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.6;
}
.advantages-cta {
  margin-top: 32px;
}
.advantages-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: fit-content;
}
.advantages-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
}
/* Адаптивность */
@media (max-width: 992px) {
  .advantages-wrapper {
    gap: 40px;
  }
  .advantages-image {
    max-width: 500px;
    justify-self: center;
  }
}
@media (max-width: 768px) {
  .advantages-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .advantages-text .section-text,
  .advantage-item p {
    text-align: left;
  }
  .advantages-list {
    align-items: center;
  }
  .advantage-item {
    text-align: left;
    justify-content: flex-start;
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .review-card {
    padding: 28px 24px;
  }
  .review-text::before {
    font-size: 3.5rem;
    top: -18px;
  }
}
@media (max-width: 480px) {
  .review-header {
    gap: 12px;
  }
  .review-avatar {
    width: 50px;
    height: 50px;
  }
  .review-avatar svg {
    width: 24px;
    height: 24px;
  }
  .review-card h3 {
    font-size: 1.2rem;
  }
}
                /* FAQ — современный аккордеон */
.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  border: 1px solid var(--light-gray);
  border-radius: 16px;
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--light-gray);
  transition: var(--transition);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  width: 100%;
  background: white;
  padding: 24px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  color: var(--secondary);
  font-weight: 600;
  text-align: left;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question:hover {
  background: rgba(212, 175, 55, 0.04);
}
.faq-icon {
  font-size: 1.8rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fafafa;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer p {
  padding: 0 28px 28px;
  color: var(--gray);
  line-height: 1.7;
  font-size: 1.02rem;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-cta {
  text-align: center;
  margin-top: 50px;
}


.faq-cta p {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 20px;
}
                /* Галерея — адаптивный слайдер */
.gallery-section {
  background: #ffffff;
}
.gallery-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 50px auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
  height: auto;
}
.gallery-slides {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}
.gallery-slides img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}
.gallery-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}
.gallery-nav.prev { left: 20px; }
.gallery-nav.next { right: 20px; }
.gallery-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.gallery-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: var(--transition);
}
.gallery-indicator.active {
  background: white;
  transform: scale(1.2);
}
/* Адаптивность */
@media (max-width: 768px) {
  .gallery-wrapper {
    aspect-ratio: 4/3;
  }
  .gallery-nav {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
}
.btn-phone {
  background: #2c3e50;
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  transition: var(--transition);
  display: block;
  width: 100%;
  text-decoration: none;
  border: 2px solid #2c3e50;
  font-size: 0.95rem;
  margin-top: 8px;
}
.btn-phone:hover {
  background: transparent;
  color: #2c3e50;
}

.header-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.header-phone {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.header-phone:hover {
  color: #0088cc;
}

/* Скрыть телефоны на мобильных */
@media (max-width: 768px) {
  .header-phones {
    display: none;
  }
}