/* Обычный Roboto */
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto/Roboto-VariableFont_wdth,wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Курсивный Roboto */
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto/Roboto-Italic-VariableFont_wdth,wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', Arial, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  color: white;
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
}

/* hero контейнер */
  /* ======= Общие стили ======= */
header {
  min-height: 100vh;
  background: url('background.webp') no-repeat center center/cover;

  background-attachment: fixed;
  margin: 0;
  padding: 0;
}

.hero-image img {
  position: absolute;
  top: 20px;
  left: 60px;
  width: 60px;
}




/* Навигация */
.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: white;
  font-size: 1em;
  transition: 0.3s;
  font-weight: 100;
}
nav a span {
  color: #f57c00 !important;

}

nav a:hover {
  color: #f57c00;

}



/* ======= Герой ======= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay {
  position: absolute;
  
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none; /* чтобы не блокировала клики */
}

.content {
  position: relative;
  z-index: 2;
  border-left: 4px solid #ff9604;
  padding: 0px 20px;
  text-align: justify;
  transform: translateX(-200px);
  margin-bottom: 150px;
}

.content h1 {
  font-size: 4.3em;
  text-transform: uppercase;
}

.content h1 span {
  color: #ff9604;
}

.content p {
  font-size: 2em;
  margin-top: 10px;
  font-weight: 100;
}

/* ======= Соцсети ======= */
.social-icons {
  position: absolute;
  bottom: 100px;
  right: 40px;
  display: flex;
  gap: 60px;
  z-index: 2;
}

.transparent-img {
  opacity: 55%;
  width: 150px;
}


.social-icons img {
  width: 45px;
  height: 45px;
  filter: brightness(0) invert(1);
  transition: 0.3s;
}

.social-icons img:hover {
  filter: invert(54%) sepia(93%) saturate(2801%) hue-rotate(18deg)
    brightness(100%) contrast(102%);
}

/* ======= Бургер ======= */
.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;
  align-items: center;
  gap: 100px; /* управляет расстоянием */
  position: relative;
}

/* Телефон в правом углу */
.header-phone {
  position: absolute;
  right: 40px;
  top: 45px;
  transform: translateY(-50%);
  margin: 0;
}

.header-phone a {
  color: rgba(255, 156, 16, 0.9);
  font-size: 1em;
  font-weight: 200;
  text-decoration: none;
}

.header-phone a:hover {
  color: white;
}



/* Показываем телефон только до 1080px */
@media (max-width: 1080px) {
  .header-phone {
    position: absolute;
    left: 45px;
    top: 240px;
    transform: translateY(-50%);
    margin: 0;
    display: block;
  }

   .header-phone img {
    display: none;
  }

  .header-phone a {
    color: #f57c00;
    font-size: 1.2em;
    font-weight: 400;
    text-decoration: none;
  }

  .header-phone a:hover {
    color: white;
  }
}

/* УБРАТЬ телефон на 768px и ниже */
@media (max-width: 768px) {
  .header-phone {
    position: absolute;
    left: 45px;
    top: 330px;
    transform: translateY(-50%);
    margin: 0;
    display: block;
  }
}

/* УБРАТЬ телефон на 480px и ниже */
@media (max-width: 480px) {
  .header-phone {
    display: none !important;
  }
}
.btn-hero-orange {
  position: relative;
  display: inline-block;
  margin: 30px 0px 20px;
  border-radius: 3px;
  color: #ffffff;
  text-decoration: none;
  background-color: rgba(255, 156, 16, 0.834);
  padding: 15px 15px;
  font-size: 1.3em;
  font-weight: 300;
  overflow: hidden; /* нужно для блеска */
  transition: background-color 0.3s ease;
}

.btn-hero-orange {
  position: relative;
  display: inline-block;
  margin: 30px 0px 20px;
  border-radius: 3px;
  color: #ffffff;
  text-decoration: none;
  background-color: rgba(255, 156, 16, 0.9);
  padding: 15px 25px;
  font-size: 1.3em;
  font-weight: 300;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

/* Анимированный блеск */
.btn-hero-orange {
  position: relative;
  display: inline-block;
  margin: 30px 0px 20px;
  border-radius: 3px;
  color: #ffffff;
  text-decoration: none;
  background-color: rgba(255, 156, 16, 0.9);
  padding: 15px 25px;
  font-size: 1.3em;
  font-weight: 300;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

/* Медленный блеск */
.btn-hero-orange::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100px;
  width: 60px;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-25deg);
  animation: slowShine 3s infinite ease-in-out;
}

/* Плавная анимация перелива */
@keyframes slowShine {
  0% {
    transform: translateX(-100px) skewX(-25deg);
  }
  15% {
    transform: translateX(120%) skewX(-25deg);
  }
  100% {
    transform: translateX(120%) skewX(-25deg);
  }
}


/* Цвет при наведении */
.btn-hero-orange:hover {
  background-color: rgb(208, 124, 7);
}

@supports (-webkit-touch-callout: none) {
  header {
    background-attachment: scroll !important;
  }
}
/* ==============================
   АДАПТАЦИЯ 769–1080
============================== */
@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.3);
    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;
  }

  .hero-image img {
    left: 30px;
    width: 50px;
  }

  .content {
    transform: none;
    margin-bottom: 100px;
    padding: 15px;
    text-align: left;
  }

  .content h1 {
    font-size: 3em;
    text-align: left;
  }

  .content p {
    font-size: 2em;
    text-align: left;
  }
  .btn-hero-orange {
    font-size: 1.2em;
    padding: 15px 20px;
  }
}

/* ==============================
   АДАПТАЦИЯ ДО 768
============================== */
/* ==============================
   БУРГЕР-МЕНЮ 480–768px
============================== */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .underline {
    border: none;
  }

   .btn-hero-orange {
    font-size: 1em;
    padding: 15px 20px;
  }

  /* Меню скрыто по умолчанию */
  .nav-menu {
    position: absolute;
    top: -100%; /* прячем вверх */
    left: 0;
    width: 100%;
    height: 400px;
    background-color: rgba(0, 0, 0, 0.6);
    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: #f57c00;
  }

  /* Контент */
  .content {
    transform: none;
    margin-bottom: 100px;
    padding: 10px;
  }

  .content h1 {
    font-size: 2.5em;
    text-align: center;
  }

  .content p {
    font-size: 1.2em;
    text-align: center;
  }

  .content {
   text-align:center;
  }

  /* Соц. иконки */
  .social-icons {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    bottom: 60px;
    right: 0;
  }

  /* Логотип */
  .hero-image img {
    left: 25px;
    width: 50px;
  }
}

/* ==============================
   ДО 480px
============================== */
@media (max-width: 480px) {
  .hero-image img {
    left: 20px;
    width: 40px;
  }

  /* Меню чуть компактнее */
  .nav-menu {
   background-color: rgba(0, 0, 0, 0.3);
   padding: 0 0;
  }
  .nav-menu a {
    font-size: 1em;
  }

  .content h1 {
    font-size: 2em;
    text-align:center;
  }

  .content p {
    font-size: 1em;
   text-align:center;
  }

  .social-icons img {
    width: 32px;
    height: 32px;
  }

  .content {
   text-align:center;
  }

  .btn-hero-orange {
    font-size: 0.9em;
    padding: 15px 20px;
  }
}
/*  How It works */

.how-it-works {
    text-align: center;
    padding: 0px 20px;

    
}

.how-it-works h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
    margin: 0 auto;
    width: 80%;
}

.step {
    width: 45%;
    margin: 20px;
    padding: 20px;
    text-align: left;
    box-sizing: border-box;
}

.step-number {
    background-color: #f57c00;
    color: white;
    border-radius: 50%;
    padding: 10px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.step h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #000;
}

.step p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    font-weight: 300;
}

@media (max-width: 480px) {
    .steps-container {
      width: 100%; /* Full width */
    }
  
    .step {
      width: 100%; /* Stack steps */
      margin: 20px 0; /* Adjust margins */
      padding: 15px;
    }
  
    .how-it-works h2 {
      font-size: 1.8em; /* Smaller heading */
    }
    .step h3 {
      font-size: 1.2em;
    }
  
    .step p {
      font-size: 1em;
    }
  }
  
  /* For screens between 481px and 768px */
  @media (min-width: 481px) and (max-width: 768px) {
    .steps-container {
      width: 90%;
    }
  
    .step {
      width: 48%; /* Adjust width to fit two steps in a row */
      margin: 15px;
      padding: 15px;
    }
  
    .how-it-works h2 {
      font-size: 2em;
    }
  
    .step h3 {
      font-size: 1.2em;
    }
  
    .step p {
      font-size: 1.05em;
    }
  }
  
  /* For screens between 769px and 1080px */
  @media (min-width: 769px) and (max-width: 1080px) {
    .steps-container {
      width: 85%;
    }
  
    .step {
      width: 46%; /* Slightly wider steps */
      margin: 18px;
      padding: 18px;
    }
  
    .how-it-works h2 {
      font-size: 2.2em;
    }
  
    .step h3 {
      font-size: 1.4em;
    }
  
    .step p {
      font-size: 1.15em;
    }
  }



/* photo*/
.photo-gallery {
    text-align: center;
    padding: 50px 20px;
}

.photo-gallery h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

.photo-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

.photo-item {
    width: 30%;
    margin: 15px;
    text-align: center;
}

.photo-item img {
    width: 100%;
    border-radius: 3px;
    margin-bottom: 10px;
}

.photo-item h3 {
    font-size: 1.1em;
    margin-bottom: 5px;
    font-weight: 500;
    color: #000000;
}

.photo-item p {
    font-size: 0.9em;
    color: #000000;
    font-weight: 300;
}

.button-photo {
  background-color: white;
  border: none;
 
}
.button-photo:hover {
  background-color: white;
  border: none;
}

.button-ask {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 15px 20px;
  border: none;
  background-color: #EF8413;
  border-radius: 3px;
  color: #ffffff;
  font-size: 1.1em;
  cursor: pointer;
  text-decoration: none;
  font-weight: 300;
  transition: background-color 0.3s ease;
}

/* Эффект блеска */
.button-ask::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100px;
  width: 60px;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-25deg);
  animation: slowShine 3s infinite ease-in-out;
}

/* Медленная анимация блеска */
@keyframes slowShine {
  0% {
    left: -100px;
  }
  15% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}

/* При наведении — немного темнее */
.button-ask:hover {
  background-color: #d46e0c;
  text-decoration: none;
}




@media (min-width: 481px) and (max-width: 768px) {
    .photo-gallery {
        padding: 40px 15px;
    }

    .photo-gallery h2 {
        font-size: 1.9em;
        margin-bottom: 25px;
    }

    .photo-item {
        width: 45%; /* Two items per row */
        margin: 12px;
    }

    .photo-item h3 {
        font-size: 1.05em;
    }

    .photo-item p {
        font-size: 0.85em;
    }

    .button-ask  {
        padding: 14px 14px;
        font-size: 1.05em;
        margin-top: 10px;
        
    }

    a .button-ask {
      text-decoration: none;
    }
}

@media (max-width: 480px) {
    .photo-gallery {
        padding: 30px 10px;
    }

    .photo-gallery h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .photo-container {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center them horizontally */
    }

    .photo-item {
        width: 90%; /* almost full width */
        margin: 10px;
    }

    .photo-item h3 {
        font-size: 1em;
    }

    .photo-item p {
        font-size: 0.8em;
    }

    .button-ask  {
        padding: 12px 12px;
        font-size: 1em;
    }
}

/* For screens between 769px and 1080px */
@media (min-width: 769px) and (max-width: 1080px) {
    .photo-gallery {
        padding: 45px 18px;
    }

    .photo-gallery h2 {
        font-size: 2.1em;
        margin-bottom: 28px;
    }

    .photo-item {
        width: 31%; /* Three items, slightly wider */
        margin: 14px;
    }

    .photo-item h3 {
        font-size: 1.15em;
    }

    .photo-item p {
        font-size: 0.95em;
    }

    .button-ask  {
        padding: 15px 15px;
        font-size: 1.1em;
    }
}

@keyframes pulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(205, 43, 3, 0.7); /* Matching color */
    }
    70% {
      transform: scale(1.1);
      box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
  }
  
  /* Apply the animation on hover */
  .button-photo:hover {
    animation: pulse 1.5s infinite;
    color: black;
  }
.button-photo:hover {
    background-color: #EF8413;
}
.button-photo a:hover {
    color: white;
    text-decoration: none;


}

.button-photo a {
    color: white;
    text-decoration: none;
}

/* Our Mission Section (Without Photo) */
.our-mission {
    padding: 80px 20px;
    background-color:#f2f2f2;
    text-align: center; /* Center the content horizontally */
  }
  
  .mission-content {
    max-width: 800px; /* Adjust as needed */
    margin: 0 auto; /* Center the content block horizontally */
    padding: 20px;
  }
  
  .mission-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #000000;
  }
  
  .mission-content p {
    font-size: 1.2em;
    line-height: 1.7;
    color: #252525;
     font-weight: 300;
  }

  @media (max-width: 480px) {
    .our-mission {
      padding: 40px 10px;
    }
  
    .mission-content {
      max-width: 90%; /* Adjust as needed */
      padding: 10px;
    }
  
    .mission-content h2 {
      font-size: 1.8em;
      margin-bottom: 10px;
    }
  
    .mission-content p {
      font-size: 1em;
      line-height: 1.5;
    }
  }
  
  /* For screens between 481px and 768px */
  @media (min-width: 481px) and (max-width: 768px) {
    .our-mission {
      padding: 60px 15px;
    }
  
    .mission-content {
      max-width: 90%;
      padding: 15px;
    }
  
    .mission-content h2 {
      font-size: 2.2em;
      margin-bottom: 15px;
    }
  
    .mission-content p {
      font-size: 1.05em;
      line-height: 1.6;
    }
  }
  
  /* For screens between 769px and 1080px */
  @media (min-width: 769px) and (max-width: 1080px) {
    .our-mission {
      padding: 70px 18px;
    }
  
    .mission-content {
      max-width: 90%;
      padding: 18px;
    }
  
    .mission-content h2 {
      font-size: 2.4em;
      margin-bottom: 18px;
    }
  
    .mission-content p {
      font-size: 1.08em;
      line-height: 1.65;
    }
  }

  /* Product Advantages Section */
.product-advantages {
    text-align: center;
    padding: 50px 20px;
}

.product-advantages h2 {
    font-size: 2em;
    margin-bottom: 40px;
}

.advantages-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.advantage {
    width: 30%;
    margin-bottom: 30px;
    text-align: center;
}

.advantage img {
    width: 130px; /* Adjust image size as needed */
    height: 130px;
    border-radius: 50%;
    background-color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    object-fit: contain;
}

.advantage h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #000;
}

.advantage p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 480px) {
    .product-advantages {
      padding: 40px 10px;
    }
  
    .product-advantages h2 {
      font-size: 1.8em;
      margin-bottom: 30px;
    }
  
    .advantages-container {
      flex-direction: column; /* Stack the advantages */
      align-items: center;   /* Center advantages */
    }
  
    .advantage {
      width: 90%;        /* Full width */
      margin-bottom: 20px;
    }
  
    .advantage img {
      width: 100px;
      height: 100px;
    }
  
    .advantage h3 {
      font-size: 1.1em;
    }
  
    .advantage p {
      font-size: 0.9em;
    }
  }
  
  /* For screens between 481px and 768px */
  @media (min-width: 481px) and (max-width: 768px) {
    .product-advantages {
      padding: 45px 15px;
    }
  
    .product-advantages h2 {
      font-size: 1.9em;
      margin-bottom: 35px;
    }
  
    .advantages-container {
      justify-content: space-around; /* Keep space around */
    }
  
    .advantage {
      width: 45%;       /* Display two */
      margin-bottom: 25px;
    }
  
    .advantage img {
      width: 110px;
      height: 110px;
    }
  
    .advantage h3 {
      font-size: 1.2em;
    }
  
    .advantage p {
      font-size: 1em;
    }
  }
  
  /* For screens between 769px and 1080px */
  @media (min-width: 769px) and (max-width: 1080px) {
    .product-advantages {
      padding: 50px 20px;
    }
  
    .product-advantages h2 {
      font-size: 2.1em;
      margin-bottom: 40px;
    }
  
    .advantages-container {
      justify-content: space-around;
    }
  
    .advantage {
      width: 31%;    /*  Three Elements */
      margin-bottom: 30px;
    }
  
    .advantage img {
      width: 120px;
      height: 120px;
    }
  
    .advantage h3 {
      font-size: 1.3em;
    }
  
    .advantage p {
      font-size: 1.05em;
    }
  }

/* Responsive Layout */
@media (max-width: 768px) {
    .advantage {
        width: 100%;
        margin-bottom: 40px;
    }
}


/* ТРЕТИЙ БЛОК */
.background-timeline {
  background-color: #F6F6F6;
  padding: 50px 0;
  margin-top: 50px;
}

.always-title {
  border-left: 3px solid black;
  padding-left: 20px;
  font-weight: bold;
  min-width: 150px;
  font-size: 1.6em;
  color: #000;
  margin-left: 100px;
}

.always-title span {
  color: #f57c00;
}

.always-carousel {
  margin: 50px 0;
  border-left: 3px solid black;
  padding-left: 20px;
  font-weight: bold;
  min-width: 150px;
  font-size: 1.6em;
  color: #000;
  margin-left: 100px;
}
.always-carousel span {
  color:#f57c00;
}

@media (max-width: 1080px) {
  .always-carousel {
    font-size: 1.4em;
    margin-left: 60px;
  } 
.always-carousel span {
  color: #f57c00;
} 
 .always-title  {
    margin-left: 40px! important;
    font-size: 1.4em! important;
  }

}

@media (max-width: 768px) {
  .always-carousel h2 {
    margin-left: 0px;
    font-size: 1em;
  }
  
  .always-title  {
    margin-left: 40px! important;
    font-size: 1em! important;
  }

}
@media (max-width: 480px) {
  .always-carousel {
    margin-left: 20px;
    font-size: 0.9em;
  }

  .always-carousel h2 {
    font-size: 1.3em;
    margin-left: 0px;
  }

  .always-title  {
    margin-left: 20px! important;
    font-size: 1em! important;
  }



}



.always-title {
  border-left: 3px solid black;
  padding-left: 20px;
  font-weight: bold;
  min-width: 150px;
  font-size: 1.6em;
  color: #000;
  margin-left: 100px;
}

.always-title span {
  color: #f57c00;
}
.always-title-gallary {
  border-left: 3px solid black;
  padding-left: 20px;
  font-weight: bold;
  min-width: 150px;
  font-size: 1.6em;
  color: #000;
  margin-left: 100px;
  margin: 40px;
}

@media (max-width: 480px) {
.always-title-gallary {
 margin-left: 20px!important;
font-size: 1.1em!important;
}
}
@media (max-width: 768px) {
  .always-title-gallary {
   margin-left: 35px!important;
    font-size: 1.1em;
  }
}

@media (max-width: 1080px) {
  .always-title-gallary {
    font-size: 1.4em;
    margin-left: 60px;
  }
}
/* ЧЕТВЕРТЫЙ БЛОК */
.experience {
  max-width: 1000px;
  margin: 0px auto;
  padding: 40px;

}

.checkbox-label {
  color: #000;
}


.experience h2 {
  font-size: 1.6em;
  color: #000;
  font-weight: 600;
  margin-bottom: 50px;
  position: relative;
  padding-left: 20px;
}

.experience h2 span {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: black;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9em;
  color: #000;
}

.checkbox-label {
  color: #000;
}

.checkbox-label a{
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1em;
  color: #666;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 8px; /* More spacing */
  margin-bottom: 10px;
  width: 18px;    /* Larger checkbox */
  height: 18px;
}

input,
textarea {
  background-color: #fff;
  border: none;
  outline: none;
  padding: 12px 15px;
  font-size: 1em;
  color: #000;
  font-family: 'Roboto', sans-serif;
 
}

textarea {
  resize: none;
  height: 120px;
}


#comment, #name, #phone, #company {
  font-size: 0.9em; /* любой нужный размер */
}

.full-width {
  width: 100%;
}

.submit-btn {
  align-self: center;
  border-radius: 3px;
  width: 250px;
  height: 45px;
  background-color: #f57c00;
  border: none;
  cursor: pointer;
  color: white;
  font-size: 1em;
  transition: 0.3s;
}

.submit-btn:hover {
  background-color: #b5661f;
  
}

.checkbox-label {
  font-weight:300;
}

select {
  background-color: #fff;
  border: none;
  outline: none;
  padding: 12px 15px;
  margin-bottom: 20px;
  font-size: 0.9em;
  color: #666;
  font-size: 100;
  cursor: pointer;
}


/* ======= Адаптация ======= */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .submit-btn {
    width: 200px;
  }
}

@media (max-width: 480px) {
  .experience {
    padding: 20px;
  }

  .experience h2 {
    font-size: 1.3em;
    margin-bottom: 30px;
  }

  input,
  textarea {
    font-size: 0.95em;
  }

  .submit-btn {
    width: 180px;
    height: 40px;
  }
  .checkbox-label {
  font-size: 0.95em;
}
}
.acts-section {
  padding-bottom: 110px;
  padding-top: 20px;
  background-color: white;
  font-family: 'Roboto', sans-serif;
}

.contacts-section {
  padding: 40px 0 80px;
  background: #fff;
  margin-left: 40px;
  color: #000;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

.contacts-title {
  font-size: 36px;
  margin-left: 40px;
  margin-bottom: 40px;
  font-weight: 700;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; /* расстояние как на макете */
  max-width: 1400px;
  margin-left: 40px;
  align-items: start;
}

/* КАРТА */
.map-placeholder {
  width: 600px;
  height: 400px;
  position: relative;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
}
iframe {
  border: 0;
}

/* ПРАВАЯ КОЛОНКА */
.right-info {
  display: flex;
  flex-direction: column;
  gap: 40px; /* расстояние между блоками */
}

/* CONTACT INFO */
.contact-title {
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-info p {
  margin: 5px 0 15px;
  font-size: 1.2em;
  line-height: 1.5em;
}

.contact-phone {
  font-weight: 500;
}

.contact-email {
  font-size: 20px;
  color: #000;
  font-weight: 500;
  text-decoration: none;
}

.contact-email:hover {
  color: #f57c00;
}

/* КНОПКИ */
.contact-buttons {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  

}


.contact-buttons .btn {
  padding: 12px 25px;
  font-size: 1em;
  font-weight: 500;
  border-radius: 3px;
  text-decoration: none;
  border: 2px solid #f57c00;
  color: #ffffff;
  flex-grow: 0;
  
}
.question-btn {
    background-color: white !important;
    border: 2px solid #f57c00 !important;
    color: #f57c00 !important;
    transition: 0.2s!important;
}

.question-btn:hover {
background: #f57c00!important;
 color: white!important;
 border: none;
}

.whatsapp-btn {
  background: #f57c00;
  color: white;
  border-color: #f57c00;
}
.whatsapp-btn:hover {
background: #e87400;
}


/* ПРЕДСТАВИТЕЛЬ */
.representetive .rep-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.rep-link img {
  vertical-align: middle;
  margin-right: 8px;
}

.rep-link a {
  font-size: 18px;
  color: rgb(39, 39, 39);
  font-weight: 500;
  text-decoration: none;
  
}

.rep-link a:hover {
  color: #f57c00;
}


/* --------------------------------------- */
/*        АДАПТАЦИЯ ДО 1080px              */
/* --------------------------------------- */
@media (max-width: 1080px) {

  .contacts-grid {
    grid-template-columns: 1fr; /* одна колонка */
    margin-left: 20px;
  }

  .map-placeholder {
    width: 100%;
    height: 350px;
  }

  .contacts-title {
    margin-left: 20px;
  }
}

/* --------------------------------------- */
/*        АДАПТАЦИЯ ДО 768px               */
/* --------------------------------------- */
/* --------------------------------------- */
/*        АДАПТАЦИЯ ДО 768px               */
/* --------------------------------------- */
@media (max-width: 768px) {

  .contacts-section {
    margin-left: 20px; /* ОТСТУП СЛЕВА */
    padding: 30px 0 60px;
  }

  .contact-title {
    font-size: 1.5em; 
   }

  .contacts-title {
    margin-left: 20px; /* ОТСТУП СЛЕВА */
    text-align: left;
  }

  .contacts-grid {
    margin-left: 20px; /* ОТСТУП СЛЕВА */
  }
}

/* --------------------------------------- */
/*        АДАПТАЦИЯ ДО 480px               */
/* --------------------------------------- */
@media (max-width: 480px) {

  .contacts-section {
    margin-left: 15px; /* НЕМНОГО МЕНЬШЕ НА СОВСЕМ МАЛЕНЬКОМ ЭКРАНЕ */
    padding: 20px 0 40px;
  }

  .contacts-title {
    margin-left: 15px; /* ОТСТУП СЛЕВА */
  }
  
  .contact-info  {
    font-size: 0.9em;
  }
  .contacts-grid {
    margin-left: 15px; /* ОТСТУП СЛЕВА */
  }
}



        /* 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;
    }
}




.faq-section {
  background-color: #3b3b3b;
  color: #fff;
  padding: 20px;
  font-family: 'Roboto', sans-serif;
}

.faq-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-list li {
  padding: 15px 0;
  border-bottom: 1px solid #fff;
  cursor: pointer; /* Indicates the item is clickable */
}

.faq-list li:last-child {
  border-bottom: none;
}

.faq-item {
  display: flex;
  justify-content: space-between; /* Positions question and toggle */
  align-items: center;

}

.faq-question {
  flex-grow: 1;  /* Take up available space */
  font-size: 1.3em;
  font-weight: 300;
  font-family: 'Roboto', sans-serif;
}

.faq-toggle {
  font-size: 2em;
  transition: transform 0.3s ease;
      -webkit-user-select: none; /* для Safari 3+ */
    -moz-user-select: none;    /* для Firefox */
    -ms-user-select: none;     /* для IE/Edge */
    user-select: none;         /* стандартный синтаксис */
  min-width: 20px;   /* Ensure it takes up some space, even if empty */
  text-align: center;

}

.faq-list li.open .faq-toggle {
  transform: rotate(45deg); /* Rotates the plus sign */
    -webkit-user-select: none; /* для Safari 3+ */
    -moz-user-select: none;    /* для Firefox */
    -ms-user-select: none;     /* для IE/Edge */
    user-select: none;         /* стандартный синтаксис */
}

.faq-answer {
  padding: 10px 0;
  display: none;   /* Hidden by default */
  font-family: 'Roboto', sans-serif;
  font-weight: 200;
  font-style: normal;
  color: rgb(255, 255, 255);
  font-size: 1.1em;
}

.faq-list li.open .faq-answer {
  display: block;   /* Show when 'open' class is applied */
}

@media (min-width: 360px) and (max-width: 480px) {
  .faq-title {
    margin-bottom: 15px;
    font-size: 1.5em;
    
  }

  .faq-question {
    font-size: 1em;
    
  }

  .faq-answer {
    font-size: 0.8em;
  }

  .faq-toggle {
    font-size: 1.6em;
  }

  .faq-list li {
    padding: 10px 0;
  }
}

/* For screens between 461px and 768px (e.g., phones and small tablets) */
@media (min-width: 481px) and (max-width: 768px) {
  .faq-title {
    font-size: 1.5em;
    margin-bottom: 18px;
  }

  .faq-question {
    font-size: 1.2em;
  }

  .faq-answer {
    font-size: 1em;
  }
}

/* For screens between 769px and 1080px (e.g., tablets and smaller laptops) */
@media (min-width: 769px) and (max-width: 1080px) {
  .faq-question {
    font-size: 1.2em;
  }

  .faq-answer {
    font-size: 1.05em;
  }

  .faq-toggle {
    font-size: 1.8em;
  }

   .faq-list li {
    padding: 12px 0;
  }
}

/*For screens larger than 1080px (e.g., larger laptops and desktops)*/
@media (min-width: 1081px) {
   .faq-section{
       padding: 30px;
   }
   .faq-title{
       font-size: 1.8em;
       margin-bottom: 25px;
   }
   .faq-question{
       font-size: 1.2em;
   }
   .faq-answer{
       font-size: 1em;
       
   }
}

section.why-choose-us {
  padding: 40px 20px;
  margin-bottom: 80px;
  text-align: center;
  background-color: white;
}

.section-title {
  font-size: 2em;
  margin-left: 30px;
  margin-bottom: 60px;
  color: #000000;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}

.icon-grid {
  display: flex;
  justify-content: center;  /* Space evenly */
  flex-wrap: wrap;        /* Allow icons to wrap */
  gap: 20px;             /* Spacing between icons */
  max-width: 1000px;       /* Limit grid width */
  margin: 0 auto;          /* Center grid */
  padding: 20px 0;
}

.icon-item {
  text-align: center;
  width: 200px;         /* Fixed width for each icon */
}

.icon-item p {
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
}

.icon-item img {
  width: 70px;  /* Adjust image size */
  height: auto;
  margin-bottom: 10px;
}

.button {
  background-color: #e67e22; /* Orange */
  color: #fff;
  font-weight: 500;
  padding: 12px 25px;
  margin: 15px 0;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  text-decoration: none; /* Remove underline from link */
  
  transition: background-color 0.3s ease;  /* Smooth hover effect */
  display: block;
  float: right; /* Align button to the top right */
  margin-top: -40px; /* Move the button upwards */

}

.button:hover {
  background-color: #d35400;
}

/* Media Query for screens up to 1080px */
@media screen and (max-width: 1080px) {
  .section-title {
    font-size: 2.2em; /* Slightly smaller */
    margin-left: 20px; /* Reduced margin */
  }

  .icon-grid {
    max-width: 800px; /* Narrower grid */
    gap: 15px; /* Less gap */
  }

  .icon-item {
    width: 180px; /* Slightly smaller icon width */
  }

  .icon-item p {
    font-size: 1.3em;
  }

  .button {
      margin-top: -30px; /* Adjust button position */
      padding: 10px 20px;
      font-size: 1em;
  }
}

/* Media Query for screens up to 768px */
@media screen and (max-width: 768px) {
  .section-title {
    font-size: 1.8em;
    margin-left: 30px;
    margin-bottom: 40px;
  }

  .icon-grid {
    max-width: 600px;  /* Even narrower grid */
    gap: 10px;      /* Less spacing */
  }

  .icon-item {
    width: 150px;      /* Smaller icon width */
  }

  .icon-item p {
    font-size: 1.2em; /* Smaller paragraph */
  }

  .icon-item img {
      width: 60px; /* Adjust image size */
  }

  .button {
       margin-top: 0;
       float: none;
       display: inline-block;
  }
}

/* Media Query for screens up to 460px */
@media screen and (max-width: 480px) {
  section.why-choose-us {
    padding: 30px 10px;  /* Less section padding */
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 1.3em;
    margin-left: 15px;
    margin-bottom: 30px;
  }

  .icon-grid {
    max-width: 100%; /* Full width grid */
    padding: 10px;
  }

  .icon-item {
    width: 100%;
    text-align: center; /* Center text */
  }

  .icon-item p {
    font-size: 0.9em;
  }

  .button {
    font-size: 0.9em; /* Even smaller button */
    padding: 8px 16px;
  }
}

.always-carousel {
  margin: 50px 0;
  border-left: 3px solid black;
  padding-left: 20px;
  font-weight: bold;
  min-width: 150px;
  font-size: 1.6em;
  color: #000;
  margin-left: 100px;
}
.always-carousel span {
  color:#f57c00;
}

@media (max-width: 1080px) {
  .always-carousel {
    font-size: 1.4em;
    margin-left: 60px;
  } 
.always-carousel span {
  color: #f57c00;
} }

@media (max-width: 768px) {
  .always-carousel {
    margin-left: 40px;
    font-size: 1.3em;
  } }
@media (max-width: 480px) {
  .always-carousel {
    margin-left: 20px;
    font-size: 1.1em;
  } }


  .services {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* максимум 3 элемента в ряд */
  gap: 80px;
  padding: 50px 80px;
  max-width: 90%;
  margin: 0 auto;
  margin-bottom: 50px;
  background-color: #ffffff;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
 

}

.service-item img {
  width: 50px;
  height: 50px;
}

/* .icon {
  border: 2px solid #000000;
  background-color: none;
  border-radius: 3px;
  padding: 12px;
  font-size: 28px;
  flex-shrink: 0;
} */

.text-block h3 {
  font-size: 1.2em;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #000;
}

.text-block p {
  font-size: 1em;

  margin: 0;
  line-height: 1.4;
  color: #555;
    font-weight: 300;
}
/* ---------- 📱 АДАПТАЦИЯ ---------- */

/* До 1080px — немного уменьшаем отступы и промежутки */
@media (max-width: 1080px) {
  .services {
    grid-template-columns: repeat(2, 1fr); /* 2 элемента в ряд */
    gap: 60px;
    padding: 40px 60px;
  }

  .text-block h3 {
    font-size: 1.1em;
  }

  .text-block p {
    font-size: 0.95em;
  }
}

/* До 768px — планшеты */
@media (max-width: 768px) {
  .services {
    grid-template-columns: repeat(2, 1fr); /* 2 в ряд */
    gap: 40px;
    padding: 30px 40px;
  }

  .service-item img {
    width: 45px;
    height: 45px;
  }

  .text-block h3 {
    font-size: 1em;
  }

  .text-block p {
    font-size: 0.9em;
  }
}

/* До 480px — мобильные устройства */
@media (max-width: 480px) {
  .services {
    grid-template-columns: 1fr; /* один элемент в ряд */
    gap: 30px;
    padding: 20px;
  }

  .service-item {
    gap: 15px;
  }

  .service-item img {
    width: 40px;
    height: 40px;
  }

  .text-block h3 {
    font-size: 0.95em;
  }

  .text-block p {
    font-size: 0.85em;
  }
}

/* БЛОГ */
.project-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  margin: 0 10px;
  flex: 0 0 calc(33.333% - 20px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
 
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* чтобы read-more ушёл вниз */
}

.projects { 
  max-width: 85%;
  padding-bottom: 60px;
  margin: 0 auto;
  
  

}
.slider-container {
  position: relative;
  overflow: hidden;
  
  

}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.project-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  margin: 0 10px;
  flex: 0 0 calc(33.333% - 20px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
  height: 480px;
}

.project-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 2px solid #f5f5f5;
  display: block;
}

.project-item h3 {
  font-size: 18px;
  margin: 15px;
  color: #000;
}

.project-item .meta {
  font-size: 13px;
  color: #777;
  margin: 0 15px 10px;
}
.project-item-content {
  flex: 1; /* занимает всё доступное пространство */
}
.project-item p {
  font-size: 14px;
  color: #555;
  margin: 0 15px 15px;
  font-weight: 300;
   font-family: 'Roboto', sans-serif;
}

.read-more {
  align-self: flex-start; /* выравнивание по левому краю */
  margin: 0 15px 20px;
  border-radius: 3px;
  color: #ffffff;
  text-decoration: none;
  background-color: #f57c00;
  padding: 5px 15px;
  font-size: 0.9em;
  font-weight: 400;
}

.read-more:hover {
  background-color: #d16a02;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  z-index: 2;
}

.prev { left: 0; }
.next { right: 0; }

.slider-btn:hover {
  color: #f57c00;
}

/* --- адаптация --- */
@media (max-width: 850px) {
  .project-item {
    flex: 0 0 calc(50% - 20px);
  }

  .project-item img {
    width: 100%;
  height: 170px;
  }
}

@media (max-width: 600px) {
  .project-item {
    flex: 0 0 100%;
  }
}

/* Общий контейнер для сетки товаров */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 3 карточки в ряд, адаптивно */
    gap: 20px; /* Расстояние между карточками */
    padding: 20px;
    max-width: 1200px; /* Максимальная ширина сетки */
    margin: 0 auto; /* Центрирование сетки */
    box-sizing: border-box;
    
    
}

/* Стили для отдельной карточки товара */
.product-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* Легкая тень */
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Плавный переход для поднятия */
    cursor: pointer; /* Указываем, что элемент интерактивный */
}

/* Эффект поднятия при наведении */
.product-card:hover {
    transform: translateY(-5px); /* Поднимаем карточку на 5px вверх */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Усиливаем тень */
}

/* Стили для изображения товара */
.product-image {
    width: 100%;
    height: 180px; /* Фиксированная высота для единообразия */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden; /* Обрезаем, если изображение выходит за рамки */
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Сохраняет пропорции, вписывая изображение */
}

/* Стили для блока характеристик/преимуществ */
.product-features {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* Расстояние между элементами "Быстрая доставка", "Характеристики" */
}

.product-features span {
    white-space: nowrap; /* Чтобы текст не переносился */
}

/* Стили для заголовка товара */

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    display: -webkit-box;
    
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}
/* Стили для цены */
.product-price {
    font-size: 1.4em;
    text-align: left;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px; /* Уменьшаем отступ снизу, чтобы сократить расстояние до кнопок */
    margin-top: 0; /* Убедимся, что нет верхнего отступа, который бы добавлял расстояние */
}
/* Стили для кнопок */
.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px; 
}
.product-actions a {
  text-decoration: none;
}

.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
    flex-grow: 1; /* Кнопки будут равномерно растягиваться */
    text-align: center;
}

.buy-btn {
    background-color: #ff8c00; /* Оранжевый цвет */
    color: #fff;
    border: 1px solid #ff8c00;
}

.buy-btn:hover {
    background-color: #e07b00;
    border-color: #e07b00;
}

.price-btn {
    background-color: #fff;
    color: #ff8c00; /* Оранжевый цвет текста */
    border: 1px solid #ff8c00;
    transition: 0.2s;
}

.price-btn:hover {
  background-color:  #ff8c00;
  color: white;
  
}



/* Медиа-запросы для адаптивности (если нужно) */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Меньше колонок на узких экранах */
    }
}

@media (max-width: 480px) {
    .product-actions {
        flex-direction: column; /* Кнопки одна под другой на очень узких экранах */
    }
    .product-card {
        padding: 10px;
    }
}
/* ... (весь предыдущий CSS код) ... */

/* Контейнер для тултипа, устанавливаем относительное позиционирование */
.features-tooltip-container {
    position: relative;
    display: inline-block; /* Чтобы span занимал только необходимую ширину */
    cursor: help; /* Меняем курсор на "помощь" */
}

/* Стили для самого всплывающего окна (тултипа) */
.features-tooltip {
    visibility: hidden; /* Скрываем по умолчанию */
    opacity: 0; /* Делаем его невидимым по умолчанию */
    width: 200px; /* Ширина всплывающего окна */
    background-color: #333; /* Темный фон */
    color: #fff; /* Белый текст */
    text-align: left; /* Выравнивание текста внутри */
    border-radius: 6px; /* Закругленные углы */
    padding: 10px;
    position: absolute; /* Абсолютное позиционирование */
    z-index: 100; /* Чтобы был поверх других элементов */
    bottom: 125%; /* Располагаем над элементом "Характеристики" */
    left: 50%;
    margin-left: -100px; /* Центрируем по горизонтали (половина ширины) */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Легкая тень */
    transition: opacity 0.3s ease; /* Плавное появление */
}

/* Стрелочка внизу всплывающего окна */
.features-tooltip::after {
    content: "";
    position: absolute;
    top: 100%; /* Располагаем внизу тултипа */
    left: 50%;
    margin-left: -5px; /* Центрируем стрелку */
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent; /* Цвет стрелки совпадает с фоном тултипа */
}

/* Стили для списка внутри тултипа */
.features-tooltip ul {
    list-style: none; /* Убираем стандартные маркеры списка */
    padding: 0;
    margin: 0;
}

.features-tooltip li {
    padding: 3px 0;
    font-size: 13px;
    white-space: normal; /* Разрешаем перенос текста */
}


/* Появление тултипа при наведении на контейнер */
.features-tooltip-container:hover .features-tooltip {
    visibility: visible; /* Делаем видимым */
    opacity: 1; /* Полностью показываем */
}

/* Если хотите, чтобы текст "Характеристики" был другого цвета, когда тултип активен */
.features-tooltip-container:hover {
    color: #ff8c00; /* Пример: оранжевый цвет текста "Характеристики" */
}

/* Остальные стили для .product-features, если они есть, могут быть такими: */
.product-features {
    font-size: 13px;
    color: #555;
    margin-bottom: 5px; /* Уменьшен отступ, как мы делали ранее */
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* ===== БАЗОВАЯ КНОПКА ===== */
.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;
  }
}
