/* ===================================== */
/* ОБЩИЕ СТИЛИ */
/* ===================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(180deg, #ececec, #d7d7d7);
  color: #222;
  overflow-x: hidden;
}

.container {
  max-width: 1300px;
  margin: auto;
  padding: 0 20px;
}


/* ===================================== */
/* ШАПКА */
/* ===================================== */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #2d2d2d, #4c4c4c);
  border-bottom: 4px solid #ff7a00;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

/* Логотип: заглавные буквы крупнее остальных */
.company-name {
  font-weight: 900;
  text-transform: uppercase;
  color: white;
  letter-spacing: 1px;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}

.orange-letter {
  color: #ff7a00;
  font-size: 52px;
  line-height: 1;
}

.logo-rest {
  color: white;
  font-size: 32px;
  line-height: 1;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  font-weight: 700;
  transition: color 0.3s;
}

nav a:hover {
  color: #ff7a00;
}

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

/* Два телефона в одну строку */
.phones-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phones-row a {
  color: white;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
}

.phones-row a:hover {
  color: #ff7a00;
}

.phone-divider {
  color: #ff7a00;
  font-size: 18px;
  font-weight: 300;
}

.header-email {
  color: #ccc;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s;
}

.header-email:hover {
  color: #ff7a00;
}


/* ===================================== */
/* HERO */
/* ===================================== */

.hero {
  height: 100vh;
  position: relative;
  background: url("photo_1_main.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.80), rgba(0,0,0,.45));
  backdrop-filter: blur(4px);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero-text {
  max-width: 1100px;
}

.hero-label {
  font-size: 18px;
  font-weight: 500;
  color: #ff9a33;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 72px;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-sub {
  font-size: 26px;
  font-weight: 400;
  color: #e0e0e0;
  margin-bottom: 14px;
  line-height: 1.5;
}

.hero-tagline {
  font-size: 18px;
  font-weight: 300;
  color: #aaa;
  letter-spacing: 1px;
}


/* ===================================== */
/* КНОПКИ */
/* ===================================== */

.btn,
.consult-btn {
  background: linear-gradient(135deg, #ff9500, #ff7a00);
  border: none;
  padding: 20px 40px;
  font-size: 20px;
  font-weight: 800;
  border-radius: 18px;
  cursor: pointer;
  text-decoration: none;
  color: white;
  transition: transform 0.4s, box-shadow 0.4s;
  display: inline-block;
  box-shadow: 0 15px 30px rgba(255,122,0,.4);
  font-family: 'Roboto', sans-serif;
}

.btn:hover,
.consult-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255,122,0,.55);
}


/* ===================================== */
/* ЗАГОЛОВКИ СЕКЦИЙ */
/* ===================================== */

.section-title {
  font-size: 54px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 70px;
}


/* ===================================== */
/* ГНБ — АКЦЕНТНЫЙ БЛОК */
/* ===================================== */

.gnb-section {
  background: #111;
  padding: 100px 0 80px;
}

/* --- Три карточки установок --- */
.gnb-machines {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 80px;
  align-items: flex-end;
}

.gnb-machine-card {
  background: #1e1e1e;
  border-radius: 24px;
  padding: 30px 24px 24px;
  text-align: center;
  border: 1px solid #2e2e2e;
  transition: transform 0.3s, border-color 0.3s;
  flex: 1;
  max-width: 360px;
  position: relative;
}

.gnb-machine-card:hover {
  transform: translateY(-8px);
  border-color: #ff7a00;
}

/* Центральная карточка чуть больше */
.gnb-machine-center {
  transform: scale(1.05);
  border-color: #ff7a00;
  background: #1a1a1a;
}

.gnb-machine-center:hover {
  transform: scale(1.05) translateY(-8px);
}

.gnb-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff7a00;
  color: white;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.gnb-machine-img-wrap {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.gnb-machine-img-wrap img {
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.5));
  transition: transform 0.4s;
}

.gnb-machine-card:hover .gnb-machine-img-wrap img {
  transform: translateY(-6px);
}

.gnb-machine-name {
  font-size: 22px;
  font-weight: 900;
  color: white;
  margin-bottom: 4px;
}

.gnb-machine-label {
  font-size: 14px;
  color: #ff7a00;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Текстовый блок ГНБ --- */
.gnb-info {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.gnb-info-left {
  flex: 1;
}

.gnb-accent-line {
  width: 60px;
  height: 5px;
  background: #ff7a00;
  border-radius: 3px;
  margin-bottom: 20px;
}

.gnb-title {
  font-size: 42px;
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
  line-height: 1.15;
}

.gnb-desc {
  font-size: 19px;
  line-height: 1.8;
  color: #aaa;
  margin-bottom: 35px;
}

.gnb-consult-btn {
  font-size: 18px;
  padding: 18px 36px;
}

.gnb-info-right {
  flex: 1;
}

.gnb-apply-title {
  font-size: 16px;
  font-weight: 700;
  color: #ff7a00;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.gnb-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gnb-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 17px;
  color: #ccc;
  line-height: 1.5;
  padding-bottom: 14px;
  border-bottom: 1px solid #2a2a2a;
}

.gnb-list li:last-child {
  border-bottom: none;
}

.gnb-num {
  color: #ff7a00;
  font-size: 13px;
  font-weight: 900;
  min-width: 28px;
  padding-top: 2px;
}


/* ===================================== */
/* УСЛУГИ / СЛАЙДЕР */
/* ===================================== */

.services-section {
  padding: 120px 0;
  background: white;
}

.slider {
  position: relative;
}

.slide {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: white;
  padding: 70px;
  border-radius: 35px;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
  animation: fadeSlide 0.8s ease;
}

.slide.active {
  display: flex;
}

.slide-text {
  width: 45%;
}

.slide-text h3 {
  font-size: 48px;
  margin-bottom: 25px;
  line-height: 1.15;
}

.slide-text p {
  font-size: 22px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 35px;
}

.slide-image {
  width: 55%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-name {
  font-size: 50px;
  font-weight: 900;
  margin-bottom: 0;
  animation: floatTech 4s infinite ease-in-out;
}

.slide-image img {
  width: 100%;
  max-width: 650px;
  height: 450px;
  object-fit: contain;
  animation: floatTech 4s infinite ease-in-out;
  filter: drop-shadow(0 25px 35px rgba(0,0,0,.25));
}

@keyframes floatTech {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ===================================== */
/* СТРЕЛКИ СЛАЙДЕРА */
/* ===================================== */

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: #333;
  color: white;
  font-size: 28px;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}

.slider-btn:hover { background: #ff7a00; }
.prev { left: -30px; }
.next { right: -30px; }


/* ===================================== */
/* ТОЧКИ СЛАЙДЕРА */
/* ===================================== */

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.active-dot {
  background: #ff7a00;
  transform: scale(1.3);
}


/* ===================================== */
/* О КОМПАНИИ */
/* ===================================== */

.about-section {
  padding: 120px 0;
  background: #f4f4f4;
}

.about-text {
  font-size: 24px;
  line-height: 1.8;
  text-align: center;
  max-width: 1000px;
  margin: auto;
}


/* ===================================== */
/* СЕРТИФИКАТЫ */
/* ===================================== */

.certificates-section {
  padding: 120px 0;
  background: white;
  overflow: hidden;
}

.certificates-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: certScroll 60s linear infinite;
}

.certificates-track:hover {
  animation-play-state: paused;
}

.certificate-card {
  width: 330px;
  height: 470px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,.12);
  cursor: pointer;
  flex-shrink: 0;
}

.cert-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
  display: block;
}

.certificate-card:hover .cert-img {
  transform: scale(1.05);
}

@keyframes certScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ===================================== */
/* ПОПАПЫ (сертификаты + отзывы) */
/* ===================================== */

.certificate-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.certificate-popup.active {
  display: flex;
}

#popup-image,
#review-popup-image {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.close-popup {
  position: absolute;
  top: 30px;
  right: 45px;
  font-size: 50px;
  color: white;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
  user-select: none;
}

.close-popup:hover { color: #ff7a00; }


/* ===================================== */
/* ОТЗЫВЫ */
/* ===================================== */

.reviews-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #2f2f2f, #181818);
}

.reviews-section .section-title {
  color: white;
}

.reviews-grid {
  columns: 2;
  column-gap: 30px;
}

.review-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 30px;
  break-inside: avoid;
  background: white;
  padding: 30px 30px 60px;
  border-radius: 25px 25px 25px 8px;
  border-left: 6px solid #ff7a00;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  transition: transform 0.3s;
  position: relative;
  color: #222;
}

.review-card:hover { transform: translateY(-5px); }

.review-card::before {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 30px;
  width: 24px;
  height: 24px;
  background: white;
  transform: rotate(45deg);
}

.review-card p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 15px;
  border-top: 1px solid #e5e5e5;
}

.review-company {
  font-weight: 800;
  font-size: 16px;
  color: #111;
}

.review-person {
  font-size: 14px;
  color: #777;
}

/* Кнопка документа отзыва (стрелка снизу слева) */
.review-doc-btn {
  position: absolute;
  bottom: 18px;
  left: 20px;
  background: none;
  border: 2px solid #ff7a00;
  color: #ff7a00;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-family: 'Roboto', sans-serif;
  z-index: 2;
}

.review-doc-btn:hover {
  background: #ff7a00;
  color: white;
}


/* ===================================== */
/* КОНТАКТЫ */
/* ===================================== */

.contacts-section {
  padding: 120px 0;
  background: #f7f7f7;
}

.contacts-wrapper {
  display: flex;
  gap: 50px;
}

/* Два блока текста стоят рядом слева */
.contacts-columns {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-block {
  background: white;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,.07);
}

.contact-block-title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid #ff7a00;
  color: #111;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.contact-label {
  font-weight: 700;
  color: #444;
  white-space: nowrap;
}

/* Два телефона в контактах — на одном уровне */
.phones-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phones-contact a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.phones-contact a:hover { color: #ff7a00; }

.contact-row a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.contact-row a:hover { color: #ff7a00; }

/* Блок вакансий */
.contact-block-vacancy {
  border-left: 5px solid #ff7a00;
}

.vacancy-text {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 14px;
}

.vacancy-phone {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #ff7a00;
  text-decoration: none;
  margin-bottom: 8px;
  transition: opacity 0.3s;
}

.vacancy-phone:hover { opacity: 0.8; }

.vacancy-subtext {
  font-size: 14px;
  color: #888;
  margin-bottom: 6px;
}

.vacancy-email {
  color: #555;
  font-size: 16px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.vacancy-email:hover { color: #ff7a00; }

/* Карта */
.contact-map {
  flex: 1;
  height: 480px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.contact-map iframe {
  border: 0;
  width: 100%;
  height: 100%;
}


/* ===================================== */
/* ФОРМА */
/* ===================================== */

.question-section {
  padding: 100px 0;
  text-align: center;
}

.question-section h2 {
  font-size: 50px;
  margin-bottom: 15px;
}

.question-section p {
  font-size: 20px;
  margin-bottom: 40px;
  color: #444;
}

.question-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: auto;
}

.question-form input,
.question-form select,
.question-form textarea {
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  outline: none;
  transition: border-color 0.3s;
  background: white;
}

.question-form input:focus,
.question-form select:focus,
.question-form textarea:focus {
  border-color: #ff7a00;
}

.phone-row {
  display: flex;
  gap: 12px;
}

.phone-row select {
  width: 160px;
  flex-shrink: 0;
}

.phone-row input { flex: 1; }

.question-form textarea {
  min-height: 180px;
  resize: vertical;
}


/* ===================================== */
/* ПОПАП КОНСУЛЬТАЦИИ */
/* ===================================== */

.consult-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.consult-popup-overlay.active {
  display: flex;
}

.consult-popup-box {
  background: white;
  border-radius: 30px;
  padding: 50px 45px 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
}

.consult-popup-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 36px;
  cursor: pointer;
  color: #aaa;
  line-height: 1;
  transition: color 0.3s;
}

.consult-popup-close:hover { color: #ff7a00; }

.consult-popup-icon {
  font-size: 48px;
  margin-bottom: 14px;
}

.consult-popup-box h3 {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 10px;
  color: #111;
}

.consult-popup-box p {
  font-size: 16px;
  color: #666;
  margin-bottom: 28px;
}

.consult-popup-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.consult-option {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f9f9f9;
  border: 2px solid #eee;
  border-radius: 18px;
  padding: 16px 20px;
  text-decoration: none;
  color: #222;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  font-family: 'Roboto', sans-serif;
  width: 100%;
}

.consult-option:hover {
  border-color: #ff7a00;
  background: #fff8f2;
}

.consult-option-icon { font-size: 28px; flex-shrink: 0; }

.consult-option-label {
  font-size: 13px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.consult-option-value {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.consult-option-form .consult-option-value {
  font-size: 16px;
  font-weight: 600;
  color: #444;
}


/* ===================================== */
/* ФУТЕР */
/* ===================================== */

footer {
  background: linear-gradient(90deg, #2d2d2d, #4b4b4b);
  border-top: 4px solid #ff7a00;
  padding: 40px 20px;
  text-align: center;
  color: white;
}

footer nav ul {
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 30px;
}

.footer-copy {
  margin-top: 20px;
  font-size: 16px;
  color: #aaa;
}


/* ===================================== */
/* АДАПТИВ */
/* ===================================== */

@media (max-width: 1100px) {
  .gnb-info {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 992px) {

  .header-content {
    flex-direction: column;
    gap: 16px;
    padding: 15px 0;
  }

  .orange-letter { font-size: 38px; }
  .logo-rest     { font-size: 24px; }

  .header-contacts { align-items: center; }

  .phones-row {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .phone-divider { display: none; }

  .hero h1      { font-size: 38px; }
  .hero-sub     { font-size: 18px; }

  .section-title { font-size: 36px; margin-bottom: 40px; }

  /* ГНБ установки — вертикально */
  .gnb-machines {
    flex-direction: column;
    align-items: center;
  }

  .gnb-machine-center {
    transform: none;
    order: -1;
  }

  .gnb-machine-center:hover { transform: translateY(-8px); }

  .gnb-machine-card { max-width: 320px; width: 100%; }

  .gnb-title { font-size: 30px; }

  /* Слайдер */
  .slide.active {
    flex-direction: column;
    text-align: center;
    padding: 40px 25px;
  }

  .slide-text,
  .slide-image { width: 100%; }

  .slide-text h3 { font-size: 30px; }
  .slide-image img { height: 260px; }
  .tech-name { font-size: 30px; }

  .prev { left: 5px; }
  .next { right: 5px; }

  /* Отзывы */
  .reviews-grid { columns: 1; }

  /* Контакты */
  .contacts-wrapper { flex-direction: column; }
  .contacts-columns { width: 100%; }
  .contact-map { height: 350px; }

  /* Форма */
  .phone-row { flex-direction: column; }
  .phone-row select { width: 100%; }

  /* Попап консультации */
  .consult-popup-box { padding: 40px 24px 30px; }
}

@media (max-width: 480px) {
  .hero h1   { font-size: 28px; }
  .hero-sub  { font-size: 15px; }

  .btn,
  .consult-btn { padding: 15px 24px; font-size: 16px; }

  .question-section h2 { font-size: 28px; }

  .gnb-title { font-size: 26px; }
}

/* ===================================== */
/* ВЫПАДАЮЩЕЕ МЕНЮ */
/* ===================================== */

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  padding-top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: #2d2d2d;
  border-top: 3px solid #ff7a00;
  border-radius: 0 0 14px 14px;
  list-style: none;
  min-width: 190px;
  box-shadow: 0 15px 35px rgba(0,0,0,.35);
  z-index: 999;
  overflow: hidden;
}

.dropdown-menu li a {
  display: block;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: #ff7a00;
  color: white;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.machine-popup-inner {
  text-align: center;
}

.machine-popup-inner h3 {
  color: white;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

#machine-popup-image {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.6));
}

.gnb-machine-card {
  cursor: pointer;
}

/* ===================================== */
/* О КОМПАНИИ — СЕТКА */
/* ===================================== */

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.about-item {
  background: white;
  border-radius: 24px;
  padding: 35px 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,.07);
  border-top: 4px solid #ff7a00;
  transition: transform 0.3s;
}

.about-item:hover {
  transform: translateY(-5px);
}

.about-icon {
  font-size: 40px;
  margin-bottom: 14px;
}

.about-item h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #111;
}

.about-item p {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
}

@media (max-width: 640px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================== */
/* ПОПАП ОТЗЫВОВ — ЛИСТАЛКА */
/* ===================================== */

.review-popup-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.review-popup-counter {
    color: white;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.7;
}

.review-popup-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    display: none; /* скрыты если фото одно */
}

.review-popup-arrow:hover {
    background: #ff7a00;
    border-color: #ff7a00;
}

.review-popup-arrow.left  { left:  30px; }
.review-popup-arrow.right { right: 30px; }

/* ===================================== */
/* БУРГЕР-МЕНЮ */
/* ===================================== */

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.burger-btn span {
  display: block;
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s;
}

/* Анимация крестика */
.burger-btn.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.burger-btn.open span:nth-child(2) {
  opacity: 0;
}
.burger-btn.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Мобильное меню — выезжает сверху */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1e1e1e;
  z-index: 1050;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 30px 40px;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  margin-bottom: 40px;
}

.mobile-menu ul li {
  margin-bottom: 10px;
}

.mobile-menu ul li a {
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  display: block;
  padding: 12px 20px;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}

.mobile-menu ul li a:hover {
  background: #ff7a00;
  color: white;
}

.mobile-menu-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 30px;
  border-top: 1px solid #333;
  width: 100%;
}

.mobile-menu-contacts a {
  color: #ccc;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s;
}

.mobile-menu-contacts a:hover { color: #ff7a00; }

/* На мобильных показываем бургер, прячем десктоп-элементы */
@media (max-width: 992px) {
  .desktop-nav    { display: none; }
  .desktop-contacts { display: none; }
  .burger-btn     { display: flex; }

  /* Шапка компактная */
  .header-content {
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 !important;
    gap: 0 !important;
  }

  .orange-letter { font-size: 32px; }
  .logo-rest     { font-size: 20px; }
}

/* ===================================== */
/* СЛАЙДЕР — СТРЕЛКИ НА МОБИЛЬНЫХ */
/* ===================================== */

@media (max-width: 992px) {
  /* Стрелки внизу под слайдом, не поверх кнопки */
  .slider-btn {
    top: auto;
    bottom: 80px;
    transform: none;
    width: 46px;
    height: 46px;
    font-size: 20px;
  }

  .prev { left: 10px; }
  .next { right: 10px; }
}

.seo-text {
  padding: 40px 0;
  background: #f0f0f0;
}

.seo-text p {
  font-size: 15px;
  color: #777;
  line-height: 1.7;
  text-align: center;
  max-width: 1000px;
  margin: auto;
}