:root{
--bg:#d0ecff;
--card:#ffffff;
--accent:#006199;
--accent-red:#861d1d;
--muted:#33363d;
--radius:18px;
--glass: rgba(255,255,255,0.6);
font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}
*{box-sizing:border-box;text-decoration: none;}
blockquote{margin: 0;}
h4{margin: 12px 0px;}
section{padding: 0%;}
body{overflow-x: hidden; margin: 0; background:linear-gradient(180deg,var(--bg),#f0e1ff);color:#0f172a;line-height:1.45}
.container{max-width:1100px;margin:0 auto;padding:0 0px}


.header-row{flex-wrap: wrap; display:flex;align-items:center;justify-content:space-between;padding:8px 0}
.brand{display:flex;gap:12px;align-items:center}
.brand-title{font-size: 25px; font-weight:700}
.brand-sub{font-size:18px;color:var(--muted)}
.phone{white-space: nowrap;background:var(--card);padding:10px 14px;border-radius:12px;text-decoration:none;color:inherit;box-shadow:0 6px 20px rgba(16,24,40,.06)}
.small-header-row{display: flex;align-items:center;justify-content: start; gap: 12px;}

/* Hero */
.hero{padding:18px 0}
.hero-grid{display:grid;grid-template-columns:1fr 420px;gap:16px;align-items:center}
.hero-left h1{font-size:38px;margin:0}
.accent{font-size: calc(1em + 5px); color:var(--accent)}
.accent-red{font-size: calc(1em + 3px); color:var(--accent-red)}
.lead{font-size: 22px; font-weight: 700; color:var(--muted);margin-top:20px}
.benefits{display:flex;margin-top:18px;padding:0;list-style:none; flex-wrap: wrap;}
.benefits li{font-weight: 600; display: flex; flex:1; margin-bottom: 8px; margin-right: 8px;  min-width: 140px;max-width: 200px; background:var(--card);align-items: center; padding:12px 18px;border-radius:12px;font-size:18px}

.circle{width: 12px;height: 12px; margin-top: auto;margin-bottom: auto; margin-left: 4px; margin-right: 8px; background: #000;border-radius: 50%;}
.green{background-color: #41e90e;}
.yellow{background-color:rgb(255, 219, 15);}
.orange{background-color:rgb(253, 137, 42);}
.zones{padding: 0%;}
.zones li{border-radius: 8px; display: flex;justify-content: start;margin-bottom: 8px;padding-left: 6px; padding-top: 12px;padding-bottom: 12px; background-color: #eeeeee;}

.hero-cta{margin-top:22px;display:flex;gap:12px; flex-wrap: wrap;}
.btn{text-align: center;border:0;padding:20px 20px;border-radius:12px;font-weight:600;cursor:pointer;}
.btn.primary{font-size: 24px;background:linear-gradient(90deg,var(--accent),#02499b);color:white;box-shadow:0 8px 30px rgba(14,165,255,.18)}
.btn.ghost{display: flex; align-items: center; font-size: 24px;background:linear-gradient(90deg,#1dac00,#2f6809);color: #ffffff;border:1px solid rgba(15,23,42,.06);}
.btn.gray{display: flex; align-items: center; font-size: 20px;background:linear-gradient(90deg,#6d6d6d,#414141);color: #1f1f1f;padding: 6px 12px;}
.tg-btn{border-radius: 12px; width: 90px; height: 90px;}
.logo-img{width: 96px;}


.device-card{background:var(--card);border-radius:16px;padding:8px;box-shadow:0 10px 40px rgba(2,6,23,.06);display:flex;flex-direction:column;gap:12px}
.device-top{font-size:13px;color:var(--muted)}
.device-body img{width:100%;border-radius:10px}
.device-footer{font-size:13px;color:var(--muted)}

/* Map */
.map-container{margin: 16px; position:relative;overflow:hidden;}


/* How */
.how{padding:12px 0px}
.steps{display:flex;gap:14px;margin-top:14px}
.step{background:var(--card);padding: 0px 18px;border-radius:14px;flex:1;box-shadow:0 0px 28px rgba(8, 12, 29, 0.507)}
.step .num{width:36px;height:36px;border-radius:10px;background:linear-gradient(180deg,var(--accent),#0366d6);color:white;display:flex;align-items:center;justify-content:center;font-weight:700}


/* Form */
.form-section{padding:12px 0}
.lead-form{display:flex;flex-direction:column;gap:12px;background:linear-gradient(180deg,rgba(255,255,255,0.8),rgba(255,255,255,0.6));padding:22px;border-radius:14px;box-shadow:0 10px 40px rgba(2,6,23,.03)}
.lead-form .row{display:flex;gap:12px}
.lead-form input, 
.lead-form textarea{flex:1;padding:12px;border-radius:10px;border:1px solid rgba(15,23,42,.06);font-size:14px}
.lead-form textarea{min-height:90px;resize:vertical}
.actions{display:flex;align-items:center;gap:16px;margin-top:6px}
.small{font-size:13px;color:var(--muted)}
.accent-input{background-color: var(--accent); padding: 12px;border-radius: 16px;box-shadow: 0 0 10px rgba(3, 22, 65, 0.788);}


/* FAQ */
.faq{padding:20px 0}
.faq-grid{display:grid;align-items: start;grid-template-columns:repeat(2,1fr);gap:18px}
.q{background:var(--card);padding:14px;border-radius:12px;box-shadow:0 8px 30px rgba(2,6,23,.03)}
.q summary{margin: auto; font-weight: bold;}

.site-header{
    position: sticky;
    top: 0px;
    z-index: 1000;
    padding-left: 16px;
    padding-right: 25px;
    min-width: 250px;
    width: 100vw;

    background: rgba(255, 255, 255, 0.712);
    backdrop-filter: blur(6px);
    border-radius: 0px 0px 16px 16px;

    box-shadow: 0 2px 32px rgba(0, 0, 0, 0.3);
}

.site-footer{padding:20px 0;color:var(--muted)}
.footer-row{display:flex;justify-content:space-between}

/* TECH */
.technics{
    display: flex; gap: 12px; 
    justify-content:center;
    flex-wrap: wrap;
}
.tech-card{
    background: rgb(255, 255, 255);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    z-index: 0;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.3);
}
.tech-header{
    padding: 0px 24px;

}
.tech-ques-list{
    list-style-type: none;
    padding: 0;
    margin: auto;
}
.tech-ques{
    background-color: rgba(0, 0, 0, 0);
    border-color: #000;
    border-width: 2px;
    border-style: solid;
    border-radius: 16px;

    margin: 0px 24px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0px 16px;
}
.tech-ques-desc{
    margin-bottom: 8px;
    text-align: start;
    margin-left: 44px;
    margin-right: 24px;
    font-size: 1em + 4px;
    font-weight: 600;
}
.tech-img-bg{
    position: absolute;
    opacity: 0.3;
    top: 24px;
    left: 58px;
    width: 440px;
    height: 440px;
    z-index: -1; 
    object-fit: cover;
    pointer-events: none;
}
.arrow-down{height: 32px;}

.cell1{width: 420px;height: auto;}
.cell2{width: 852px;height: auto;}
.cyan{color: #006868;}
.blue{color: #000e4e;}
.orangee{color: #835900;}
.orange-red{color: #b33d06;}
.gray{color: #424242;}
.white{color: #000000;}

/* REVIEWS */
.review{
    background-color: rgba(173, 173, 173, 0.4);
    backdrop-filter: blur(2px);
    border-radius: 16px;
    padding: 2px 0;
    position: relative;
}
.review:not(:has(.reviews-list > *)) .reviews-list-buttons{display: none;}

.total-rating{
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.rating-stars {
    display: flex;
    flex-direction: row-reverse; /* Разворачиваем, чтобы 1-я звезда была слева */
    justify-content: flex-end;
}
.rating-stars input {
    display: none; /* Скрываем стандартные кружочки radio */
}
.rating-stars label {
    font-size: 36px;
    margin: 0px 4px;
    text-align: center;
    color: #ccc; /* Серая звезда (пустая) */
    cursor: pointer;
    transition: color 0.2s;
    align-items: center;
}
/* Закрашиваем выбранную звезду и все ПРЕДЫДУЩИЕ перед ней */
.rating-stars input:checked ~ label,
.rating-stars label:hover,
.rating-stars label:hover ~ label {
    color: #ffca08; /* Золотой цвет */
}


.rating {
    display: flex;
    justify-content: center;
    align-items: center;

    --star-size: 36px;
    --star-color: #dadada;      /* Цвет пустых звезд */
    --star-background: #f1cd00; /* Цвет активных звезд (золотой) */
    
    font-size: var(--star-size);
    font-family: Times; /* Для красивого начертания символа звезды */
    line-height: 1;

}
.rating::before {
  /* Используем символ юникода для звезды ★ */
  content: '★★★★★';
  letter-spacing: 0px;
  background: linear-gradient(90deg, 
    var(--star-background) calc(var(--rating) * 20%), 
    var(--star-color) calc(var(--rating) * 20%)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  filter: drop-shadow(0 0 5px rgba(255, 208, 0, 0.493));
}

.reviews-list{
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0px 42px;
}
.reviews-list::-webkit-scrollbar {display: none;}

.reviews-list-buttons{
    z-index: 1000;
    align-items: center;
    inset: 0;
    position: absolute;
    display: flex;
    justify-content: space-between;
    padding: 8px;
    pointer-events: none;
}
.reviews-list-buttons > *{pointer-events: auto;}

.arr{
    width: 32px;
    filter: brightness(0) invert(1) drop-shadow(0 0 12px rgb(0, 0, 0)) drop-shadow(0 0 2px rgba(0, 0, 0, 0.7));
    transition: 280ms;
}
.arr:hover{
    width: 40px;
    transition: 140ms;
}
.right{
    transform: scaleX(-1);
}

.review-item{
    display: flex;
    min-width: 280px;
    flex-direction: column;
    align-self: start;
    justify-content: start;
    background-color: rgba(0, 0, 0, 0.705);
    margin: 20px 8px;
    border-radius: 16px;
    padding: 8px 12px;
    scroll-snap-align: center;

    color: #e9e9e9;
}
.review-item header{
    margin: 14px 16px;
}

.review-date{
    font-size: calc(1em - 3px);
    align-items: center;
}

.review-answer{
    background-color: rgb(238, 238, 238);
    border-radius: 20px;
    transform: translateY(-32px);
    margin: 0 12px;
    padding: 0 8px;
    padding-bottom: 12px;
}

/* Other */
.neon-text{
background: rgba(36, 36, 36, 0.705);
backdrop-filter: blur(2px);
padding: 10px;
color: #fff;
text-shadow: 
    0 0 7px #1d1d1d,
    0 0 10px #d3d3d3,
    0 0 21px #ffffff,
    0 0 42px rgb(223, 238, 255),
    0 0 82px rgb(81, 243, 255);
border-radius: 24px;
}

summary {
  cursor: pointer;
  padding: 10px;
  margin: 8px 0px;
  border-radius: 12px;
  background-color: #c9c9c9;
  list-style: none; /* Убирает стандартную стрелочку, если нужно */
}

/* Эффект плавного раскрытия */
details .toggle-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 10px;
}

/* Когда блок открыт (атрибут [open]), показываем контент */
details[open] .toggle-content {
  max-height: 200px; /* Укажите примерную высоту вашего текста */
  padding: 10px;
}
details[open] img{
    transform: scaleY(-1);
}


.floating-button {
  position: fixed;
  bottom: 10px; /* Кнопка прилипает к нижнему краю (высота экрана минус отступ) */
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease, visibility 0.3s;
  
  display: block;
  pointer-events: auto; /* Возвращаем кликабельность самой кнопке */
  
  /* Стилизация */
  box-shadow: 0 0px 16px rgba(0, 0, 0, 0.699);
  z-index: 1000;

}
.hidden {
  opacity: 0;
  visibility: hidden;
}


/* Modal */
.modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(2,6,23,0.4);backdrop-filter:blur(3px);z-index:40}
.modal.hidden{display:none}
.modal-content{background:var(--card);padding:26px;border-radius:14px;text-align:center;min-width:280px}


/* Paralax */
.paralax-container{
    position: fixed;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: -1000;
}
.paralax-container img{
    width: 1080px;
}
.content {
    text-align: center;
    padding-left: 12px;
    padding-right: 27px;
}


/* Responsive */
@media(max-width:900px){
.hero-grid{grid-template-columns:1fr}
.steps{flex-direction:column}
.faq-grid{grid-template-columns:1fr}
.lead-form .row{flex-direction:column}
}

@media only screen and (orientation: portrait) and (min-device-width: 340px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
    body{
        overflow-x: hidden;
    }
    
    .paralax-container{
        position: fixed;
        left: 50%;
        transform: translate(-50%, 0%);
        z-index: -1000;
    }
    .paralax-container img{
        width: 380px;
        height: auto;
    }
    .content {
        text-align: center;
        padding: 0px 8px;
    }

    .hero{padding: 0px;}
    .container{padding: 12px 0px;}
    .header-row{display:flex;align-items:center;justify-content:start;flex-wrap: wrap;gap: 12px;}
    .phone{width: 100%;height: 48px;line-height: 28px; text-align: center;white-space: nowrap;}

    .site-header{margin-right: 0px;}
    .tech-ques-desc{margin: 12px 18px;}
    .tech-header h1{font-size: 26px;}

    .reviews-list-buttons{display: none;}
}
@media (max-device-width: 340px) {
    body{
        overflow-x: hidden;
    }
    .logo-img{display: none;}
    .site-header{margin-right: 0px;width: 340px;}
    .container{padding: 12px 0px;width: 322px;}
    
    .paralax-container{
        position: fixed;
        left: 50%;
        transform: translate(-50%, 0%);
        z-index: -1000;
    }
    .paralax-container img{
        width: 380px;
        height: auto;
    }
    .content {
        text-align: center;
        padding: 0px 8px;
    }
    .tech-header{
        font-size: 14px;
        padding: 0px 24px;
    }

    .hero{padding: 0px;}
    .header-row{display:flex;align-items:center;justify-content:start;flex-wrap: wrap;gap: 12px;}
    .phone{width: 100%;height: 48px;line-height: 28px; text-align: center;}

    .reviews-list-buttons{display: none;}
}