body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  background: url('bg.jpg') center/cover no-repeat;
  padding-top: 20px;

}

/* HEADER (логотип + телефон) */
.header-top {
  position: absolute;
  top: 0px;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.logo {
  height: 50px;
  display: block;
}

.header-phone {
  font-size: 18px;
  letter-spacing: 1px;
  color: white;
  text-decoration: none;
  font-weight: 600;

  display: flex;
  align-items: center;
  gap: 10px;

  height: 50px;
}

.header-phone:visited,
.header-phone:active,
.header-phone:hover {
  color: white;
}

a[href^="tel"] {
  color: white;
  text-decoration: none;
}

/* ПК и ноутбуки */
@media (min-width: 1024px) {

  .header-top {
    top: 18px;
  }

  .logo {
    height: 72px;
    margin-left: 10px;
  }

  .header-phone {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1.5px;
    height: 72px;
    gap: 14px;
  }

  /* белая svg трубка в кружке */
  .header-phone::before {
    content: "";

    width: 42px;
    height: 42px;

    border: 2px solid white;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.6 10.8c1.5 3 3.9 5.4 6.9 6.9l2.3-2.3c.3-.3.7-.4 1.1-.3 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V21c0 .6-.4 1-1 1C10.3 22 2 13.7 2 3c0-.6.4-1 1-1h4.3c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1l-2 1.9z'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px;

    box-sizing: border-box;
  }
}

/* мобилка */
@media (max-width: 768px) {

  .header-top {
    top: 15px;
    left: 15px;
    right: 15px;
  }

  .logo {
    height: 42px;
  }

  .header-phone {
    font-size: 20px;
    height: 42px;
    gap: 0;
  }

  .header-phone::before {
    display: none;
    content: none;
  }
}

/* затемнение */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.7) 100%
  );
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.6));
  z-index: 1;
}

/* контент */
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-inner {
  animation: fadeUp 1s ease forwards;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
}

/* TRUST */

.trust {
  background: #fff;
  max-width: 1100px;
  margin: 0 auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.trust-item {
  padding: 25px;
  border-radius: 12px;
  background: #f9f9f9;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  text-align: center;
}

.trust-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.trust-item h3 {
  color: #ff9900;
  margin-bottom: 10px;
  font-weight: 700;
}

.trust-note {
  margin-top: 25px;
  font-size: 14px;
  color: #888;
  text-align: center;
}

@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* КНОПКИ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
  color: white;
  margin: 10px;
}

.main-btn {
  animation: pulse 2.5s infinite;
}

.btn svg {
  margin-right: 8px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-3px);
}

/* CTA кнопки */
.cta-equal {
  min-width: 200px;
  text-align: center;
}

/* КНОПКА ЗВОНКА — зеленая */
.btn.cta-equal {
  background: linear-gradient(135deg, #25D366, #4BE37B);
  color: white;
  box-shadow: 0 10px 25px rgba(37,211,102,0.4);
}

.btn.cta-equal:hover {
  box-shadow: 0 15px 35px rgba(37,211,102,0.6);
}

/* КНОПКА SMS — оранжевая */
.btn.secondary.cta-equal {
  background: linear-gradient(135deg, #ff9900, #ffb84d);
  color: white;
  box-shadow: 0 10px 25px rgba(255,153,0,0.35);
}

.btn.secondary.cta-equal:hover {
  box-shadow: 0 15px 35px rgba(255,153,0,0.5);
}

/* большая кнопка */
.btn.big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff9900, #ffb84d);
  color: black;
  box-shadow: 0 12px 28px rgba(255,153,0,0.5);
}

.btn.big svg {
  margin-right: 10px;
  width: 24px;
  height: 24px;
}

.btn.big:hover {
  box-shadow: 0 15px 35px rgba(255,153,0,0.6);
}

/* CTA ряд */
.cta-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* секции */
section {
  padding: 80px 20px;
  text-align: center;
}

/* мобильная версия CTA кнопок */
@media (max-width: 768px) {

  .cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .btn.cta-equal,
  .btn.secondary.cta-equal {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    margin: 8px 0;

    font-size: 15px;
    line-height: 1.3;

    padding: 14px 16px;

    display: flex;
    align-items: center;

    justify-content: center;
    gap: 10px;

    text-align: center;

    overflow: hidden;
  }

  .btn.cta-equal span,
  .btn.secondary.cta-equal span {
    min-width: 0;
    white-space: normal;
    word-break: break-word;
  }

  .btn svg {
    width: 18px;
    height: 18px;

    margin-right: 0;
    flex-shrink: 0;

    position: static;
  }
}

/* карточки */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background: white;
  padding: 25px;
  width: 220px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
  cursor: pointer;
}

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

.catalog .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Цены от в продукции */
.price-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #e53935; /* можно заменить на свой цвет */
  border-radius: 20px;
}

.price-note {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #777;
}

/* КВИЗ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 360px;
  text-align: center;
  animation: fadeUp 0.3s ease;
}

.close {
  float: right;
  font-size: 22px;
  cursor: pointer;
}

/* КНОПКИ В МОДАЛКЕ */
.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.modal-buttons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-size: 16px;
  font-weight: 600;
  color: black;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 14px;
  transition: 0.2s;
}

.modal-buttons .btn:hover {
  background: #ececec;
}

/* КВИЗ */
.hidden {
  display: none;
}

.quiz button {
  display: block;
  width: 100%;
  margin: 8px 0;
  padding: 14px;

  background: #f5f5f5;
  border: none;
  border-radius: 10px;

  font-size: 15px;
  font-weight: 600;
  cursor: pointer;

  transition: all 0.2s ease;
}

/* hover */
.quiz button:hover {
  background: #ececec;
}

/* эффект нажатия */
.quiz button:active {
  transform: scale(0.95);
}

/* выбранный вариант */
.quiz button.active {
  background: linear-gradient(135deg, #ff9900, #ffb84d);
  color: black;
  transform: scale(0.97);
  box-shadow: 0 6px 18px rgba(255,153,0,0.4);
}

/* адаптив */
@media (max-width: 480px) {
  .modal-content {
    padding: 20px 15px;
  }

  .quiz button {
    font-size: 14px;
    padding: 12px;
  }
}

/* ===== STEPS ===== */
.steps {
  text-align: center;
  padding: 60px 20px;
}

/* сетка */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;

  max-width: 900px;
  margin: 0 auto;
  padding: 0 10px; /* ВАЖНО: убирает смещение на мобилке */
  box-sizing: border-box;
}

/* отдельный шаг */
.step-item {
  background: #f9f9f9;
  padding: 25px 20px;
  border-radius: 12px;

  width: 100%;
  box-sizing: border-box;

  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;

  text-align: center;
}

.step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.step-number {
  font-size: 36px;
  font-weight: 700;
  color: #ff9900;
  margin-bottom: 10px;
}

.step-text {
  font-size: 16px;
  color: #555;
}

/* ===== МОБИЛКА ===== */
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 20px; /* даёт равные отступы слева/справа */
  }
}

/* CTA */
.cta {
  background: #222;
  color: white;
}

/* плавающая кнопка */
.floating-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #ff9900;
  color: white;
  font-size: 0;
  padding: 16px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  animation: pulse-btn 2.5s infinite;
}

.floating-btn svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.floating-btn:hover {
  transform: scale(1.1);
}

/* ===== ГАЛЕРЕЯ ===== */
.gallery {
  background: #f9f9f9;
  padding: 100px 20px;
}

/* сетка: 3 колонки на ПК */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;

  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* карточка */
.gallery-item {
  text-align: center;
}

/* изображение */
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: block;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* подпись */
.gallery-item p {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
  transition: 0.3s;
}

.gallery-item:hover p {
  color: #ff9900;
}

/* ===== МОБИЛКА ===== */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-grid img {
    height: 200px;
  }
}

/* Текст внизу сайта */
.durability-text {
  max-width: 700px;
  margin: 15px auto;
  text-align: center;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

.durability-note {
  margin-top: 35px;
  font-size: 15px;
  color: #444;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.durability-text {
  max-width: 700px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 16px;
  color: #222;
  font-weight: 500;
}

.durability-hint {
  margin-top: 10px;
  font-size: 13px;
  color: #888;
  text-align: center;
}

/* анимации */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,153,0,0.6); }
  70% { box-shadow: 0 0 0 15px rgba(255,153,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,153,0,0); }
}

@keyframes pulse-btn {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* мобилка */
@media (max-width: 768px) {
  .hero { height: 80vh; }
  .hero h1 { font-size: 32px; }
  .hero-content { top: 45%; }
  .cards { flex-direction: column; align-items: center; }

  .btn.cta-equal,
  .btn.big {
    width: 80%;
    margin: 10px auto;
  }

  .floating-btn {
    right: 16px;
    bottom: 16px;
    padding: 14px;
  }

  .floating-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* footer */
.footer-center {
  text-align: center;
  padding: 25px 20px;
  background: #222;
  color: white;
  font-size: 14px;
}

.footer-center .divider {
  margin: 0 8px;
  color: #888;
}

.footer-center a {
  color: #ff9900;
  text-decoration: none;
}

.footer-center a:hover {
  text-decoration: underline;
}

/* ===== PRICE BLOCK ===== */
.price {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  animation: fadeUp 0.8s ease;
}

/* Карточка прайса */
.price-container {
  max-width: 500px;
  width: 100%;
  background: linear-gradient(135deg, #ffffff, #f9f9f9);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.price-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* Иконка файла/услуги с адаптивным размером */
.price-icon {
  font-size: clamp(40px, 10vw, 80px);
  padding: clamp(15px, 5vw, 30px);
  background: #eef4ff;
  border-radius: 12px;
}

/* Заголовок и описание */
.price-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.price-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
  max-width: 100%;
}

/* Кнопка скачивания */
.price-btn {
  background: linear-gradient(135deg, #ff9900, #ffb84d);
  box-shadow: 0 10px 25px rgba(255,153,0,0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  color: #fff;
}

.price-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(255,153,0,0.6);
}

/* ===== Анимация появления ===== */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Адаптивность ===== */
@media (max-width: 768px) {
  .price-container {
    padding: 30px 20px;
  }

  .price-content h2 {
    font-size: 24px;
  }

  .price-btn {
    width: 100%;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .price-container {
    padding: 25px 15px;
    border-radius: 12px;
  }

  .price-content h2 {
    font-size: 22px;
  }

  .price-btn {
    padding: 10px 20px;
  }
}
/* PRICE BLOCK END */

/* QUALITY PROTOKOL */
.quality {
  padding: 80px 20px;
  background: #f9f9f9;
}

.quality-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.quality h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.quality-subtitle {
  color: #666;
  margin-bottom: 40px;
}

/* Сетка */
.quality-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Документ */
.quality-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.quality-card img {
  width: 100%;
  display: block;
}

/* Затемнение */
.quality-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.quality-card:hover .quality-overlay {
  opacity: 1;
}

/* Правая часть */
.quality-info {
  text-align: left;
}

.quality-item {
  margin-bottom: 20px;
}

.quality-value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #ff9900;
}

.quality-text {
  color: #555;
  font-size: 15px;
}

/* Подпись */
.quality-note {
  margin-top: 20px;
  font-size: 14px;
  color: #888;
}

/* Кнопка */
.quality-info .btn {
  margin-top: 20px;
}

/* 📱 адаптив */
@media (max-width: 768px) {
  .quality-content {
    grid-template-columns: 1fr;
  }

  .quality-info {
    text-align: center;
  }

  .quality-value {
    font-size: 26px;
  }
}
/* QUALITY PROTOKOL END */

/* DURABILITY */
.durability {
  background: #fff;
  padding: 80px 20px;
}

.durability-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.durability h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.durability-subtitle {
  color: #666;
  margin-bottom: 40px;
}

/* сетка */
.durability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* карточки */
.durability-item {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.durability-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.durability-item h3 {
  color: #ff9900;
  margin-bottom: 10px;
  font-weight: 700;
}

.durability-item p {
  color: #555;
  font-size: 14px;
}

/* нижняя подпись */
.durability-note {
  margin-top: 35px;
  font-size: 15px;
  color: #444;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* адаптив */
@media (max-width: 1024px) {
  .durability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .durability-grid {
    grid-template-columns: 1fr;
  }

  .durability h2 {
    font-size: 24px;
  }
}

/* Блок сравнения плитки */
.durability-compare {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.compare-item {
  max-width: 220px;
  text-align: left;
  padding: 20px 15px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.compare-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

/* фоны для колонок */
.compare-bad {
  background: #ffe6e6; /* мягкий красный */
  border: 1px solid #ff9999;
}

.compare-good {
  background: #e6fff2; /* мягкий зелёный */
  border: 1px solid #66cc99;
}

/* заголовки по центру */
.compare-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  color: #ff9900;
  text-align: center; /* центрируем заголовок */
}

.compare-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compare-item ul li {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

.compare-item ul li::before {
  content: "•";
  color: #ff9900;
  display: inline-block;
  width: 1em;
  margin-right: 6px;
}

/* адаптив */
@media (max-width: 768px) {
  .durability-compare {
    gap: 20px;
  }

  .compare-item {
    max-width: 100%;
  }
}
/* DURABILITY END */

/* ===== ПРОДУКЦИЯ ===== */

.catalog .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* планшеты и мобилки */
@media (max-width: 768px) {
  .catalog .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* карточка */
.catalog .card {
  width: 100%;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
}

/* картинка (исправлено) */
.catalog .card img {
  width: 100%;
  aspect-ratio: 4 / 3; /* вместо height */
  object-fit: cover;
  display: block;
  transition: 0.3s;
}

/* контент */
.catalog .card-content {
  padding: 15px;
  text-align: center;
}

/* иконка */
.catalog .icon {
  font-size: 26px;
  margin-bottom: 6px;
}

/* заголовок */
.catalog .card h3 {
  margin: 0;
  font-size: 16px;
}

/* hover эффект */
.catalog .card:hover img {
  transform: scale(1.05);
}

/* SEO */
.seo-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== ГАЛЕРЕЯ (клик + карусель) ===== */

.gallery-item {
  cursor: pointer;
}

/* ===== МОДАЛКА ===== */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

/* ===== ОБЁРТКА КОНТЕНТА ===== */
.gallery-wrapper {
  position: relative;
  text-align: center;
  max-width: 90%;
}

/* изображение */
.gallery-modal img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 10px;
  user-select: none;
  display: block;
  margin: 0 auto;
  transition: opacity 0.25s ease;
}

/* ===== КНОПКА ЗАКРЫТИЯ ===== */
.gallery-close {
  position: absolute;
  top: 20px;
  right: 30px;

  font-size: 32px;
  color: #fff;
  cursor: pointer;

  z-index: 10;
}

/* ===== СТРЕЛКИ ===== */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  font-size: 42px;
  color: white;

  cursor: pointer;
  padding: 10px;

  user-select: none;
  z-index: 10;

  opacity: 0.7;
  transition: 0.2s ease;
}

.gallery-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.gallery-arrow.left {
  left: 20px;
}

.gallery-arrow.right {
  right: 20px;
}

/* ===== СЧЁТЧИК ===== */
.gallery-counter {
  position: absolute;
  top: 10px;
  left: 10px;

  background: rgba(0,0,0,0.5);
  color: #fff;

  padding: 6px 10px;
  border-radius: 8px;

  font-size: 13px;
}

/* ===== ПОДПИСЬ ===== */
.gallery-caption {
  margin-top: 10px;
  color: #fff;

  font-size: 14px;
  opacity: 0.85;
}

/* ===== МОБИЛКА ===== */
@media (max-width: 768px) {
  .gallery-arrow {
    font-size: 30px;
  }

  .gallery-close {
    font-size: 26px;
    right: 20px;
  }
}

.gallery-more {
  text-align: center;
  margin-top: 35px;
}

.gallery-btn {
  background: linear-gradient(135deg, #ff9900, #ffb84d);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255,153,0,0.25);
  transition: all 0.25s ease;
}

.gallery-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255,153,0,0.35);
}

.gallery-btn:active {
  transform: scale(0.98);
}

.gallery-more-text {
  margin-top: 10px;
  font-size: 13px;
  color: #777;
}

.gallery-modal img {
  cursor: pointer;
}