
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif; 
    
}

body {
  background-image: url('background.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

header {
  background-image: inherit; /* Наследует фон от body */
  background-repeat: inherit;
  background-position: inherit;
  background-size: inherit;
  background-attachment: inherit;
}

.hero-image img {
  position: absolute;
  top: 20px;
  left: 60px;
  width: 60px;
}

/* ======= Бургер ======= */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  top: 25px;
  right: 30px;
  z-index: 10000;
  gap: 6px;

}

.burger span {
  height: 3px;
  width: 25px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* ======= Меню по умолчанию ======= */
.nav-menu {
  display: flex;
  justify-content: center;
  gap: 100px;
  

}

.underline {
  padding: 25px 0;
   border-top: 0.1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 0.1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-top: 10px;
}

nav a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-size: 1em;
  transition: 0.3s;
  font-weight: 200 !important;
 
}

nav a span {
  color: #f57c00;
  
}

nav a:hover {
  color:  #f57c00;
  text-decoration: none;

}

@media (min-width: 769px) and (max-width: 1080px) {
  .burger {
    display: flex;
  }

  .underline {
    border: none;
  }

  nav.underline {
    display: none;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    max-width: 300px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 80px 20px;
    gap: 20px;
    transition: left 0.3s ease;
    z-index: 9999;
  }

  .nav-menu.active {
    left: 0;
    display: flex;
  }

  .nav-menu .underline {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .nav-menu a {
    color: white;
    font-size: 1.1em;
    text-decoration: none;
  }

  .nav-menu a:hover {
    color: orange;
  }

   .burger span {
    background-color: #ffffff;
  }
.hero-image img {
    left: 30px;
    width: 50px;
  }

}

/* ==============================
   АДАПТАЦИЯ ДО 768
============================== */
/* ==============================
   БУРГЕР-МЕНЮ 480–768px
============================== */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }
 
  .underline {
    border: none;
  }

  /* Меню скрыто по умолчанию */
  .nav-menu {
    position: absolute;
    top: -100%; /* прячем вверх */
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0px;
    transition: top 0.4s ease;
    z-index: 9999;
  }

  /* Когда активно — опускается вниз */
  .nav-menu.active {
    top: 0;
  }

  /* Чтобы .underline не ломала вертикаль */
  .nav-menu .underline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  /* Ссылки меню */
  .nav-menu a {
    color: white;
    font-size: 1.1em;
    text-decoration: none;
    transition: color 0.3s;
  }

  .nav-menu a:hover {
    color:  #ff9a00;
  }

    .burger span {
    background-color: #ffffff;
  }
   .hero-image img {
    left: 25px;
    width: 50px;
  }

}

/* ==============================
   ДО 480px
============================== */
@media (max-width: 480px) {


  /* Меню чуть компактнее */
  .nav-menu {
   background-color: rgba(0, 0, 0, 0.7);
   padding: 0 0;
  }
  .nav-menu a {
    font-size: 1em;
  }
  .burger span {
    background-color: #ffffff;
  }

   .hero-image img {
    left: 20px;
    width: 40px;
  }
}

@supports (-webkit-touch-callout: none) {
  header {
    background-attachment: scroll !important;
  }
}

        h1 {
            color: #000000;
            text-align: center;
            margin-bottom: 20px;
            font-size: 2.2em;
        }

        h2 {
            color: #000000;
            margin-top: 40px;
            margin-bottom: 10px;
        }

        h3 .text {
            margin-top: 30px;
            margin-bottom: 10px;
            color: #000000;
        }

        .BuyIt {
          color: #f57c00;
          text-align: center;
          margin-bottom: 10px;
        }
        .BuyIt a {
          color: #f57c00;
        }

        p {
            margin-bottom: 15px;
        }

        ul {
            list-style-type: disc;
            padding-left: 20px;
            margin-bottom: 20px;
            color: #000000;
        }

        li {
            margin-bottom: 10px;
        }

        a {
            color: #2980b9;
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }

        /* Обертка для контейнера */
       .container {
  background-color: #ffffff; 
  opacity: 80%;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 10px auto;
}

  @media (max-width: 480px) {
    h1 {
        font-size: 30px!important; /* чуть уменьшить размер */
        margin-bottom: 15px;
    }
    h2 {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 8px;
    }
    h3 .text {
        font-size: 16px;
        margin-top: 20px;
        margin-bottom: 8px;
    }
    p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    ul {
        padding-left: 15px;
        font-size: 14px;
    }
    li {
        margin-bottom: 8px;
    }
    a {
        font-size: 14px;
    }
    .container {
        padding: 20px;
        max-width: 100%;
        margin-top: 80px;
    }
}

/* Адаптация для устройств с шириной от 481px до 768px */
@media (min-width: 481px) and (max-width: 768px) {
    h1 {
        font-size: 36px!important;
        margin-bottom: 18px;
    }
    h2 {
        font-size: 22px;
        margin-top: 35px;
        margin-bottom: 10px;
    }
    h3 .text {
        font-size: 18px;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    p {
        font-size: 15px;
        margin-bottom: 14px;
    }
    ul {
        padding-left: 20px;
        font-size: 15px;
    }
    li {
        margin-bottom: 9px;
    }
    a {
        font-size: 15px;
    }
    .container {
        padding: 25px;
        max-width: 90%;
        margin-top: 80px;
    }
}

/* Адаптация для устройств с шириной от 769px до 1080px */
@media (min-width: 769px) and (max-width: 1080px) {
    h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    h2 {
        font-size: 24px;
        margin-top: 40px;
        margin-bottom: 12px;
    }
    h3 .text {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 12px;
    }
    p {
        font-size: 16px;
        margin-bottom: 15px;
    }
    ul {
        padding-left: 20px;
        font-size: 16px;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        font-size: 16px;
    }
    .container {
        padding: 30px;
        max-width: 900px;
        margin-top: 80px;
    }
}




/* Изображения и подписи */
figure {
  margin: 25px 0;
  text-align: center;

  /* Включаем flex-контейнер */
  display: flex;
  justify-content: center; 
  flex-wrap: wrap;         
  gap: 20px;               
}

figure img {
  max-width: auto;
  height: 280px;
  border-radius: 3px;
  transition: transform 0.3s ease;
}

.controller_x {
 max-width: auto;
  height: 150px;
  border-radius: 3px;
  transition: transform 0.3s ease;
}

.controller_two {
 max-width: auto;
  height: 350px;
  border-radius: 3px;
  transition: transform 0.3s ease;
}

figure img:hover {
  transform: scale(1.02);
}

figcaption {
  width: 100%; /* чтобы подпись была под всеми изображениями */
  font-size: 14px;
  color: #555;
  margin-top: 8px;
  font-style: italic;
}

@media (max-width: 900px) {
  figure {
    grid-template-columns: repeat(2, 1fr); /* 2 в ряд */
  }

.controller {
height: 250px;
width: auto;
}

.controller_x {
height: 100px;
width: auto;
}

.controller_two {
height: 350px;
width: auto;
}
}

/* 📱 Адаптация под телефоны */
@media (max-width: 600px) {
  figure {
    grid-template-columns: 1fr; /* по одному в ряд */
  }
  
}

@media (max-width: 480px) {
.controller {
height: 150px;
width: auto;
}

.controller_x {
height: 100px;
width: auto;
}

.controller_two {
height: 200px;
width: auto;
}
}



        /* Footer Styles */
.footer {
    background-color: #333;
    color: #eee;
    padding: 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    
}

.footer-section {
    width: 23%; /* 4 колонки */
    padding: 10px;
    text-align: left;
    box-sizing: border-box;
}

.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    font-family: "Roboto", sans-serif;
}

.footer-section a {
    color: #eee;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    font-family: "Roboto", sans-serif;
    line-height: 30px;
    font-weight: 300;
}

.footer-section a:hover {
    color: #f57c00;
}

.footer-section p {
    line-height: 26px;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 25px;
    font-size: 0.8em;
}


.footer-bottom a {
    color:#f57c00;
    text-decoration: none;
}

/* Tablets — 2 колонки */
@media (max-width: 768px) {
    .footer-section {
        width: 48%;
        text-align: center;
    }
}

/* Phones — 1 колонка */
@media (max-width: 480px) {
    .footer-section {
        width: 100%;
        text-align: left;
    }
    .footer-section a,
    .footer-section p {
        font-size: 0.9em;
    }
}


.contact-buttons {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.btn {
  padding: 12px 25px;
  width: 200px;
  text-align: center;
  font-size: 1em;
  font-weight: 500;
  border-radius: 3px;
  text-decoration: none;
  border: 2px solid #f57c00;
  color: #f57c00;
}

.btn:hover {
  text-decoration: none;
}

.whatsapp-btn {
  background: #f57c00;
  color: white;
  border-color: #f57c00;
  transition: 0.3s;
}

.whatsapp-btn:hover {
  background: #e67301;
  border-color: #e67301;
}

.question-btn {
  transition: 0.3s;
}

.question-btn:hover {
  background: #f57c00;
  border-color: #f57c00;
  color: white;
}
@media (max-width: 1080px) {
  .btn {
    width: 180px;
    font-size: 0.95em;
    padding: 12px 20px;
  }
}

/* ============================= */
/* 📌 768px — планшеты */
/* ============================= */
@media (max-width: 768px) {
  .contact-buttons {
    gap: 15px;
  }

  .btn {
    width: 160px;
    font-size: 0.9em;
    padding: 10px 18px;
  }
}

/* ============================= */
/* 📌 480px — мобильные */
/* ============================= */
@media (max-width: 480px) {
  .contact-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .btn {
    width: 100%;
    font-size: 1em;
    padding: 14px 0;
  }
}

/* ===== БАЗОВАЯ КНОПКА ===== */
.tg-question-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;

  display: flex;
  align-items: center;
  gap: 10px;

  background-color: #0088cc;
  color: #fff;

  padding: 14px 18px;
  border-radius: 50px;

  font-family: Arial, sans-serif;
  font-size: 14px;
  cursor: pointer;

  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* появление */
.tg-question-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== ИКОНКА ===== */
.tg-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tg-icon img {
  width: 100%;
  height: 100%;
  display: block;
    transition: transform 0.3s ease;
}

/* ===== ТЕКСТ ===== */
.tg-text {
  white-space: nowrap;
}

/* Поворот иконки при hover */
@media (hover: hover) {
  .tg-question-btn:hover .tg-icon img {
    transform: rotate(-12deg) scale(1.05);
  }
}

/* ===== HOVER (desktop) ===== */
@media (hover: hover) {
  .tg-question-btn:hover {
    background-color: #0095e6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
}

/* ================================================= */
/* ===== MOBILE ≤ 480px : ИДЕАЛЬНЫЙ КРУГ ===== */
/* ================================================= */

@media (max-width: 480px) {

  .tg-question-btn {
    right: 14px;
    bottom: 14px;

    width: 56px;
    height: 56px;
    padding: 0;

    border-radius: 50%;

    justify-content: center;
  }

  .tg-text {
    display: none;
  }

  .tg-icon {
    width: 20px;
    height: 20px;
  }
}


/* ---- */
/* ===== ARTICLE ===== */

.blog-article {
  max-width: 1100px;
  margin: 0 auto;
  font-family: "Open Sans", Arial, sans-serif;
  color: #222;
}

/* ===== HEADINGS ===== */

.blog-article h2 {
  font-size: 2em;
  margin: 50px 0 20px;
  font-weight: 700;
}

.blog-article h3 {
  font-size: 1.4em;
  margin: 30px 0 15px;
  font-weight: 600;
}

/* ===== TEXT ===== */

.blog-article p {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 20px;
}

/* ===== LISTS ===== */

.blog-article ul {
  margin: 20px 0 40px 20px;
}

.blog-article li {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ===== TABLE ===== */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0 60px;
  font-size: 15px;
}

.compare-table th,
.compare-table td {
  border: 1px solid #e3e3e3;
  padding: 14px 16px;
  vertical-align: top;
  text-align: left;
}

.compare-table th {
  background: #f8f8f8;
  font-weight: 700;
}

.compare-table tr:nth-child(even) td {
  background: #fcfcfc;
}

/* ===== LINK ===== */

.container > p {
  margin-top: 50px;
  font-size: 16px;
  text-align: center;
}

.container > p a {
  color: #3974e6;
  text-decoration: none;
  font-weight: 600;
}

.container > p a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE TABLE (SAFE) ===== */

@media (max-width: 768px) {

  .compare-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
  }

  .compare-table thead th {
    position: sticky;
    top: 0;
    background: #f8f8f8;
    z-index: 2;
  }

  .compare-table th,
  .compare-table td {
    min-width: 220px;
    font-size: 14px;
    white-space: normal;
  }

  .compare-table th:first-child,
  .compare-table td:first-child {
    min-width: 160px;
    font-weight: 600;
  }
}
@media (max-width: 480px) {

  .compare-table th,
  .compare-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
}
.photo-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.photo-item {
  background: #f7f7f7;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.photo-item:hover {
  transform: translateY(-4px);
}

.photo-item img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-item figcaption {
  padding: 12px 14px;
  font-size: 14px;
  color: #555;
  text-align: center;
  background: #fff;
}

/* Адаптив */
@media (max-width: 768px) {
  .photo-section {
    grid-template-columns: 1fr;
  }
}
.plasma {
  padding: 60px 20px;
  background: #f7f7f7;
  font-family: Arial, sans-serif;
  color: #222;
}

.plasma__container {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
}

.plasma__intro {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.plasma__title {
  font-size: 24px;
  margin: 40px 0 20px;
  color: #1f3a5f;
}

.plasma__block {
  margin-bottom: 30px;
  border-left: 4px solid #1f3a5f;
  padding-left: 20px;
}

.plasma__subtitle {
  font-size: 18px;
  margin-bottom: 10px;
}

.plasma__text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.plasma__list {
  padding-left: 20px;
}

.plasma__list li {
  margin-bottom: 8px;
  font-size: 14px;
}

.plasma__steps,
.plasma__errors {
  padding-left: 20px;
}

.plasma__steps li,
.plasma__errors li {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* 📱 Адаптация */
@media (max-width: 768px) {
  .plasma__container {
    padding: 25px;
  }

  .plasma__title {
    font-size: 20px;
  }

  .plasma__subtitle {
    font-size: 16px;
  }
}
/* ===== Общие стили секции ===== */
.monument-history {
  padding: 60px 0;
  background-color: #f7f7f7;
}

.monument-history .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
}

/* ===== Медиа-блок ===== */
.monument-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

/* Основное фото */
.monument-photo {
  width: 100%;
}

.image-main {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

/* ===== Дипломы ===== */
.monument-diplomas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.image-diploma {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #ddd;
  background-color: #fff;
}

/* ===== QR и координаты ===== */
.monument-info {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.monument-qr {
  width: 120px;
  flex-shrink: 0;
}

.image-qr {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  background-color: #fff;
  padding: 6px;
}

.monument-coordinates {
  font-size: 16px;
  color: #333;
}

.coordinates-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.coordinates-value {
  font-size: 15px;
  color: #555;
}

/* ===== Текст ===== */
.monument-text {
  max-width: 900px;
}

.text-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}

/* ===== Адаптив ===== */
@media (min-width: 768px) {
  .monument-media {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }

  .monument-photo {
    grid-row: span 2;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 22px;
  }

  .monument-diplomas {
    grid-template-columns: 1fr;
  }

  .monument-info {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 9999;
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
