* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif; 
    
}

body {
  background-image: url('../main/background.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  overflow-x: hidden;
  width: 100%;
}

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;
  }
}

/* КОНТЕЙНЕР */

.container {
    width: 95%;
    opacity: 0.85;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

@media (max-width: 1080px) {
.container {
  padding: 30px;
  margin-top: 60px;
}
}


@media (max-width: 768px) { 
.container {
        padding: 30px;
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
        margin-top: 80px;
    } 
}

 



/* Телефон в правом углу */
.header-phone {
  position: absolute;
  right: 40px;
  top: 45px;
  transform: translateY(-50%);
  margin: 0;
}

.header-phone a {
  color: #FD7E14;
  font-size: 1.2em;
  font-weight: 400;
  text-decoration: none;
}

.header-phone a:hover {
  color: white;
}

/* Показываем телефон только до 1080px */
@media (max-width: 1080px) {
  .header-phone {
    position: absolute;
    left: 50px;
    top: 300px;
    transform: translateY(-50%);
    margin: 0;
    display: block;
  }

  .header-phone a {
    color: #f57c00;
    font-size: 1.2em;
    font-weight: 400;
    text-decoration: none;
  }

  .header-phone a:hover {
    color: white;
  }

  .header-phone img {
    display: none;
  }
}

/* УБРАТЬ телефон на 768px и ниже */
@media (max-width: 768px) {
  .header-phone {
    display: none !important;
  }
  
}

/* УБРАТЬ телефон на 480px и ниже */
@media (max-width: 480px) {
  .header-phone {
    display: none !important;
  }

}


/* 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;
    }
}
.always-carousel h1 {
  font-size: 1.8em;
}
.always-carousel {
  margin: 0px 0;
  border-left: 3px solid black;
  padding-left: 20px;
  font-weight: bold;
  min-width: 150px;
  font-size: 1.4em;
  color: #000;
 
}
.always-carousel span {
  color:#f57c00;
}

@media (max-width: 1080px) {
  .always-carousel {
    font-size: 1.2em;
    margin-left: 8px;
  } 
.always-carousel span {
  color: #f57c00;
} }

@media (max-width: 768px) {
  .always-carousel {
    margin-left: 8px;
    font-size: 1.1em;
  } }
@media (max-width: 480px) {
  .always-carousel {
    margin-left: 8px;
    font-size: 0.9em;
  } }

@media (max-width: 1080px) {
  .always-carousel h1 {
    font-size: 1.8em;
    margin-left: 0px;
  } 
.always-carousel span  h1{
  color: #f57c00;
} }

@media (max-width: 768px) {
  .always-carousel h1 {
    margin-left: 0px;
    font-size: 1.6em;
  } }
@media (max-width: 480px) {
  .always-carousel  h1{
    margin-left: 0px;
    padding-left: 0px;
    font-size: 1.5em;
  } }

/* ===========================
   Delivery section
=========================== */


.delivery__container {
  max-width: 95%;
  margin: 50px auto;
}

.delivery__title {
  font-size: 2rem;
  margin-bottom: 20px;
  border-left: 4px solid #f57c00;
  padding-left: 15px;
}

.delivery__intro {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.delivery__text {
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.delivery__subtitle {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.delivery__steps {
  list-style: decimal;
  padding-left: 20px;
}

.delivery__steps li {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 1rem;
}

.delivery__steps strong {
  color: #000;
}

/* ---------- Адаптация ---------- */

@media (max-width: 768px) {
  .delivery {
    padding: 40px 15px;
  }

  .delivery__title {
    font-size: 1.6rem;
  }

  .delivery__subtitle {
    font-size: 1.25rem;
  }

  .delivery__intro,
  .delivery__text,
  .delivery__steps li {
    font-size: 0.95rem;
  }

   .delivery__container {
    margin-top: 0px;
  }
}

@media (max-width: 480px) {
  .delivery__title {
    font-size: 1.4rem;
  }

  .delivery__subtitle {
    font-size: 1.15rem;
  }

  .delivery__steps {
    padding-left: 15px;
  }

  .delivery__container {
    margin-top: 0px;
  }
}

/* ===========================
   Delivery cost
=========================== */

.delivery-cost {
  background-color: #ffffff;
  padding: 60px 20px;
}

.delivery-cost__container {
  max-width: 95%;
  margin: 0 auto;
}

.delivery-cost__title {
  font-size: 2rem;
  margin-bottom: 20px;
  border-left: 4px solid #f57c00;
  padding-left: 15px;
}

.delivery-cost__text {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.delivery-cost__subtitle {
  font-size: 1.4rem;
  margin: 30px 0 15px;
  
}

.delivery-cost__guarantee{
 background-color: rgba(228, 111, 0, 0.1);

 
}

.background-cost {
 background-color: #f7f7f7;
 padding: 20px;
}

.delivery-cost__pickup {
 
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 30px;
}

.delivery-cost__list {
  padding-left: 20px;
  margin-bottom: 30px;
}

.delivery-cost__list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.delivery-cost__guarantee {
  
  padding: 20px;
  border-left: 4px solid #f57c00;
  margin-bottom: 30px;
}

.delivery-cost__cta {
  text-align: left;
}
.delivery-cost__cta {
  font-size: 1.2em;
}
.delivery-cost__btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 28px;
  background-color: #f57c00;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  border-radius: 3px;
  transition: 0.3s;
}

.delivery-cost__btn:hover {
  background-color: #e46f00;
}

/* ---------- Адаптация ---------- */

@media (max-width: 768px) {
  .delivery-cost {
    padding: 40px 15px;
  }

  .delivery-cost__title {
    font-size: 1.6rem;
  }

  .delivery-cost__subtitle {
    font-size: 1.25rem;
  }

  .delivery-cost__text,
  .delivery-cost__list li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .delivery-cost__title {
    font-size: 1.4rem;
  }

  .delivery-cost__subtitle {
    font-size: 1.15rem;
  }

  .delivery-cost__btn {
    width: 100%;
    text-align: center;
  }
}
.delivery-cost__pickup-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.delivery-cost__pickup {
  flex: 1;
}

.delivery-cost__image {
  flex: 0 0 40%;
}

.delivery-cost__image img {
  width: 70%;
  height: auto;
  object-fit: cover;
}
/* ===== ≤ 768px (планшеты) ===== */
@media (max-width: 768px) {
  .delivery-cost__pickup-wrap {
    flex-direction: column;
    gap: 25px;
  }

  .delivery-cost__image {
    flex: none;
    width: 100%;
    margin-bottom: 30px;
  }

  .delivery-cost__image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
  }

   .delivery-cost__pickup {
  margin-bottom: -30px;
}
}

/* ===== ≤ 480px (мобильные) ===== */
@media (max-width: 480px) {
  .delivery-cost__pickup-wrap {
    gap: 0px;
  }

  .delivery-cost__image img {
    max-height: 220px;
    margin-bottom: 30px;
  
  }

  .delivery-cost__pickup {
  margin-bottom: -30px;
}
}

@media (max-width: 1080px) {
  .delivery-cost__pickup-wrap {
    gap: 30px;
  }

  .delivery-cost__image {
    flex: 0 0 45%;
  }
}



/* ===== БАЗА ===== */
.purchase {
  padding: 80px 20px;
  
}

.purchase__container {
  width: 95%;
  margin: 0 auto;
}

.purchase__title {
  font-size: 2.2em;
  margin-bottom: 25px;
  border-left: 4px solid #e46f00;
  padding-left: 20px;
}

.purchase__title span {
  color: #e46f00;
}

.purchase__intro {
  font-size: 1.15em;
  margin-bottom: 40px;
  max-width: 900px;
}

.purchase__subtitle {
  font-size: 1.5em;
  margin: 40px 0 20px;
}

.purchase__steps,
.purchase__payments,
.purchase__advantages {
  padding-left: 20px;
}

.purchase__steps li,
.purchase__payments > li,
.purchase__advantages li {
  margin-bottom: 15px;
  line-height: 1.6;
}

.purchase__payments ul {
  margin-top: 10px;
  padding-left: 20px;
}

.purchase__cta {
  margin-top: 50px;
  padding: 30px;
  background: rgba(228, 111, 0, 0.1);
  border-left: 4px solid #e46f00;
}

.purchase__btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 28px;
  background: #e46f00;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
  transition: 0.3s;
}

.purchase__btn:hover {
  background: #c85f00;
}

/* ===== ≤ 1080px ===== */
@media (max-width: 1080px) {
  .purchase {
    padding: 60px 20px;
  }

  .purchase__title {
    font-size: 2em;
  }
}

/* ===== ≤ 768px ===== */
@media (max-width: 768px) {
  .purchase__title {
    font-size: 1.8em;
  }

  .purchase__subtitle {
    font-size: 1.3em;
  }

  .purchase__intro {
    font-size: 1.05em;
  }
}

/* ===== ≤ 480px ===== */
@media (max-width: 480px) {
  .purchase {
    padding: 40px 15px;
  }

  .purchase__title {
    font-size: 1.5em;
    padding-left: 15px;
  }

  .purchase__subtitle {
    font-size: 1.2em;
  }

  .purchase__steps,
  .purchase__payments,
  .purchase__advantages {
    padding-left: 15px;
  }

  .purchase__cta {
    padding: 20px;
  }

  .purchase__btn {
    width: 100%;
    text-align: center;
  }
}


/* ТРЕТЬЯ СТРАНИЦА ГАРАНТИЯ */
.warranty {
  padding: 80px 0;
}

.warranty__container {
  max-width: 95%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.warranty__content {
  flex: 1;
  list-style: none;
}

.warranty__title {
  font-size: 2rem;
  margin-bottom: 25px;
}

.warranty__title span {
  color: #e46f00;
}

.warranty__content p,
.warranty__content li {
  line-height: 1.6;
  margin-bottom: 12px;
}

.warranty__content h3 {
  margin: 35px 0 15px;
  font-size: 1.3rem;
}

.warranty__content ul,
.warranty__content ol {
  padding-left: 20px;
  list-style: none;
}

.warranty__image {
  flex: 0 0 40%;
}

.warranty__image img {
  width: 100%;
  height: auto;
  border-radius: 1px;
  object-fit: cover;
}

/* ≤1080px */
@media (max-width: 1080px) {
  .warranty__container {
    gap: 40px;
  }
}

/* ≤768px */
@media (max-width: 768px) {
  .warranty__container {
    flex-direction: column;
  }

  .warranty__image {
    order: -1;
    width: 100%;
  }
}

/* ≤480px */
@media (max-width: 480px) {
  .warranty {
    padding: 50px 0;
  }

  .warranty__container {
    padding: 0 15px;
  }

  .warranty__title {
    font-size: 1.4rem;
  }

  .warranty__content h3 {
    font-size: 1.15rem;
  }
}
/* ===== WARRANTY DECOR ===== */



/* Подзаголовки */
.warranty__content h3 {
  position: relative;
  padding-left: 22px;
  color: #222;
}

.warranty__content h3::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: #e46f00;
  font-size: 1.2rem;
}

/* Текст */
.warranty__content p {
  color: #444;
  font-size: 1rem;
}

/* Нумерованные списки */
.warranty__content ol {
  counter-reset: step;
  margin-top: 15px;
}

.warranty__content ol > li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
}

.warranty__content ol > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background: #e46f00;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 0.85rem;
  font-weight: 600;
}



/* Выделение важных блоков */
.warranty__content strong {
  color: #000;
}

/* Финальный акцент */
.warranty__content p:last-of-type {
  background: rgba(228, 111, 0, 0.08);
  padding: 15px 20px;
  border-left: 4px solid #e46f00;
  border-radius: 4px;
  font-weight: 600;
}

/* Фото */
.warranty__image img {
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.warranty__image img:hover {
  transform: scale(1.02);
}
/* ===== БАЗОВАЯ КНОПКА ===== */
.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;
  }
}
.certificates-section {
    padding: 60px 20px;
}

.cert-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.cert-item {
    width: 100%;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Модальное окно */
.cert-modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.cert-modal-img {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80vh;
}

.cert-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Адаптив */
@media (max-width: 992px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cert-grid {
        grid-template-columns: 1fr;
    }
}
