body {
    margin:0;
    font-family: Arial, sans-serif;
    color:#222;
}
/* =========================
ОБЩИЕ СТИЛИ
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
.sl-header{
    width:100%;
    position:sticky;
    top:0;
    z-index:9999;
    background:
        linear-gradient(
            135deg,
            #0f172a 0%,
            #111827 45%,
            #1e293b 100%
        );
    backdrop-filter: blur(14px);
    border-bottom:1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 8px 30px rgba(0,0,0,0.35);
}
.sl-container{
    max-width:1600px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 28px;
    gap:30px;
}
/* =========================
ЛОГОТИП
========================= */
.sl-logo{
    display:flex;
    align-items:center;
    gap:14px;
    text-decoration:none;
    flex-shrink:0;
}
.sl-logo-icon{
    width:80px;
    height:80px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    font-weight:800;
    letter-spacing:1px;
    color:#fff;
    background:
        linear-gradient(
            135deg,
            #3b82f6,
            #06b6d4
        );
    box-shadow:
        0 10px 25px rgba(59,130,246,0.45);
}
.sl-logo-text{
    display:flex;
    flex-direction:column;
}
.sl-logo-title{
    color:#ffffff;
    font-size:24px;
    font-weight:800;
    line-height:1;
    letter-spacing:0.5px;
}
.sl-logo-subtitle{
    margin-top:5px;
    color:#94a3b8;
    font-size:13px;
    letter-spacing:1px;
    text-transform:uppercase;
}
/* =========================
НАВИГАЦИЯ
========================= */
.sl-nav{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:22px;
    flex-wrap:nowrap;
}
.sl-nav a{
    position:relative;
    color:#e2e8f0;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    white-space:nowrap;
    transition:0.3s ease;
}
/* Линия при наведении */
.sl-nav a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-7px;
    width:0%;
    height:2px;
    background:
        linear-gradient(
            90deg,
            #3b82f6,
            #06b6d4
        );
    transition:0.3s ease;
}
.sl-nav a:hover{
    color:#ffffff;
    transform:translateY(-1px);
}
.sl-nav a:hover::after{
    width:100%;
}
/* =========================
БУРГЕР
========================= */
.sl-burger{
    display:none;
    width:48px;
    height:48px;
    border:none;
    border-radius:14px;
    background:
        rgba(255,255,255,0.08);
    cursor:pointer;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    transition:0.3s ease;
}
.sl-burger:hover{
    background:
        rgba(255,255,255,0.15);
}
.sl-burger span{
    width:22px;
    height:2px;
    border-radius:5px;
    background:#ffffff;
    transition:0.3s ease;
}
/* =========================
МОБИЛЬНАЯ ВЕРСИЯ
========================= */
@media(max-width:1200px){
    .sl-burger{
        display:flex;
    }
    .sl-nav{
        position:absolute;
        top:100%;
        right:20px;
        width:320px;
        background:
            linear-gradient(
                180deg,
                #0f172a,
                #111827
            );
        border-radius:22px;
        padding:20px;
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:18px;
        box-shadow:
            0 20px 40px rgba(0,0,0,0.45);
        border:1px solid rgba(255,255,255,0.08);
        opacity:0;
        visibility:hidden;
        transform:translateY(15px);
        transition:0.35s ease;
    }
    .sl-nav.active{
        opacity:1;
        visibility:visible;
        transform:translateY(0);
    }
    .sl-nav a{
        width:100%;
        padding-bottom:10px;
        border-bottom:
            1px solid rgba(255,255,255,0.08);
    }
}
@media(max-width:600px){
    .sl-container{
        padding:14px 18px;
    }
    .sl-logo-title{
        font-size:20px;
    }
    .sl-logo-subtitle{
        font-size:11px;
    }
    .sl-logo-icon{
        width:48px;
        height:48px;
        font-size:19px;
    }
    .sl-nav{
        width:calc(100% - 36px);
        right:18px;
    }
}
/*STYLE PREVIEW*/
.tf-preview{
margin-top:40px;
background:rgba(255,255,255,.04);
border:1px solid rgba(255,255,255,.08);
border-radius:18px;
overflow:hidden;
box-shadow:0 30px 80px rgba(0,0,0,.55);
transition:.3s;
}
.tf-preview:hover{
transform:translateY(-6px);
box-shadow:0 40px 100px rgba(0,0,0,.65);
}
.tf-bar{
display:flex;
align-items:center;
gap:10px;
padding:12px 15px;
background:#fff;
border-bottom:1px solid rgba(255,255,255,.06);
}
.tf-dots span{
width:10px;
height:10px;
display:inline-block;
border-radius:50%;
margin-right:5px;
}
.tf-dots span:nth-child(1){background:#ef4444;}
.tf-dots span:nth-child(2){background:#f59e0b;}
.tf-dots span:nth-child(3){background:#22c55e;}
.tf-url{
font-size:13px;
color:#94a3b8;
margin-left:10px;
}
/*STYLE PREVIEW*/
.tf-screen img{
width:100%;
display:block;
transition:transform .5s ease;
}
.tf-preview:hover img{
transform:scale(1.03);
}
/*Таймер под кнопкой*/
.offer-counter{
margin-top:5px;
background:rgba(255,255,255,.15);
padding:20px;
border-radius:20px;
backdrop-filter:blur(10px);
}
.counter{
display:flex;
justify-content:center;
gap:15px;
}
.counter div{
background:#222;
color:#fff;
padding:15px;
border-radius:15px;
min-width:75px;
box-shadow:
0 10px 25px rgba(0,0,0,.25);
}
.counter span{
font-size:32px;
font-weight:700;
}
.counter small{
display:block;
font-size:12px;
}
/*Таймер под кнопкой*/
/* HERO */
.hero {
    height:100vh;
    background:
    radial-gradient(circle at 20% 30%, rgba(123,92,255,0.3), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,107,107,0.2), transparent 40%),
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("../img/background.png");
    background-size:cover;
    background-position:center;
    color:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
}
.hero h1 { font-size:1.8rem; }
.hero p { font-size:18px; max-width:1024px; line-height: 1.5;}
/*Кнопки 1-экран*/
.hero-buttons {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    width:100%;
    margin-top:8px;
}
.hero-buttons .btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    font-size:1.2rem;
}
/*Кнопки 1-экран*/
/* Планшеты и телефоны */
@media(max-width:768px){
.hero-buttons {
    flex-direction:column;
    width:100%;
}
.hero-buttons .btn {
    width:90%;
}
}
/* BUTTON */
.btn {
    margin-top:25px;
    padding:15px 40px;
    font-size:18px;
    border:none;
    cursor:pointer;
    position:relative;
    overflow:hidden;
    background:#ff6b6b;
    color:#fff;
    border-radius:18px;
}
.btn:before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:rgba(255,255,255,0.4);
    transform:skewX(-30deg);
    animation:shine 3s infinite;
}
@keyframes shine {
    0% { left:-100%; }
    100% { left:200%; }
}
/*Блоки предложения*/
/* SECTIONS */
.section { 
    padding:80px 20px; 
    text-align:center; 
}
.dark { 
    background:#f7f7f7; 
}
.card {
    padding:25px;
    background:#fff;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
    background:#fffaf2;
    border-radius:22px;
    width:100%;
    box-sizing:border-box;
    text-align:center;
    transition:.4s;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.card:hover{
    transform:translateY(-10px);
}
.card h3{
    margin:15px 0 18px;
    line-height:1.35;
    font-size:1.35rem;
}
.card p{
    margin:0;
    line-height:1.5;
}
.premium-grid{
    width:100%;
    max-width:1280px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(3, minmax(260px, 1fr)); /* Изменено с 4 на 3 колонки */
    gap:25px;
    justify-content:center;
    align-items:stretch;
    padding:0 20px;
    box-sizing:border-box;
}
.icon{
    font-size:42px;
    margin-bottom:15px;
}
/* Анимация блоков - исправлено для 6 карточек */
.premium-grid .card{
    opacity:0;
}
.premium-grid .card:nth-child(-n+3){
    animation: cardsLeft 1s ease forwards;
}
.premium-grid .card:nth-child(1){
    animation-delay:.2s;
}
.premium-grid .card:nth-child(2){
    animation-delay:.4s;
}
.premium-grid .card:nth-child(3){
    animation-delay:.6s;
}
.premium-grid .card:nth-child(n+4){
    animation: cardsRight 1s ease forwards;
}
.premium-grid .card:nth-child(4){
    animation-delay:.8s;
}
.premium-grid .card:nth-child(5){
    animation-delay:1s;
}
.premium-grid .card:nth-child(6){
    animation-delay:1.2s;
}
@keyframes cardsLeft{
    from{
        opacity:0;
        transform:translateX(-120px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}
@keyframes cardsRight{
    from{
        opacity:0;
        transform:translateX(120px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}
/* Планшеты - 2 колонки */
@media (max-width:1024px){
    .premium-grid{
        grid-template-columns:repeat(2,1fr);
    }
}
/* Телефоны - 1 колонка */
@media (max-width:640px){
    .premium-grid{
        grid-template-columns:1fr;
        padding:0 15px;
    }
}
/*блоки предложения*/
/* GALLERY */
.case-gallery {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
}
.case-gallery img {
    width:300px;
    height:200px;
    object-fit:cover;
    border-radius:10px;
    cursor:pointer;
    transition:0.3s;
}
.case-gallery img:hover {
    transform:scale(1.05);
}
/* LIGHTBOX (FIXED) */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 10001; /* выше чем меню */
}
.lightbox.active {
    display:flex;
}
.lightbox img {
    max-width:90%;
    max-height:80%;
    border-radius:10px;
}
/* controls */
.close, .prev, .next {
    position: absolute;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
    z-index: 10002; /* крестик и стрелки выше всего */
}
.close { top:20px; right:30px; }
.prev { left:30px; top:50%; transform:translateY(-50%); }
.next { right:30px; top:50%; transform:translateY(-50%); }
/*FAQ ЧАВО*/
.faq-item{
max-width:900px;
margin:15px auto;
}
.faq-item button{
width:100%;
padding:20px;
background:#fffaf2;
border:none;
border-radius:15px;
font-size:18px;
display:flex;
justify-content:space-between;
cursor:pointer;
line-height:1.5;
text-align:left;
}
.faq-item div{
display:none;
padding:20px;
background:#fff;
}
.faq-item.active div{
display:block;
}
.answer{
display:none;
margin-top:10px;
color:#000;
text-align:left;
line-height:1.5;
}
/* =====================
   FORM (PRO)
===================== */
.form-box{
background:#fff;
padding:30px;
border-radius:18px;
max-width:500px;
margin:auto;
border:1px solid rgba(255,255,255,.06);
}
.input{
width:100%;
padding:14px;
margin:10px 0;
border-radius:12px;
border:none;
outline:none;
background:#fff;
color:#fff;
font-size:15px;
border:1px solid #b8b7b7;
}
.input:focus{
outline:2px solid #000;
}
.policy-block{
margin:20px 0;
font-size:14px;
}
.policy-block label{
display:flex;
align-items:flex-start;
gap:10px;
}
.policy-error{
color:#ef4444;
margin-top:8px;
font-size:13px;
}
.checkbox-error{
outline:2px solid #ef4444;
border-radius:4px;
}
.btn {
    margin-top:25px;
    padding:15px 40px;
    font-size:18px;
    border:none;
    cursor:pointer;
    position:relative;
    overflow:hidden;
    background:#ff6b6b;
    color:#fff;
    border-radius:18px;
}
.btn:before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:rgba(255,255,255,0.4);
    transform:skewX(-30deg);
    animation:shine 3s infinite;
}
.btn::after{
content:"";
position:absolute;
top:-50%;
left:-150%;
width:60px;
height:200%;
background:
linear-gradient(
90deg,
transparent,
rgba(255,255,255,.6),
transparent
);
transform:rotate(25deg);
animation:shine 3s infinite;
}
@keyframes shine{
0%{
left:-150%;
}
100%{
left:180%;
}
}
/*======================
 EMAIL VALIDATION 
========================*/
#emailMessage{
margin-top:8px;
font-size:14px;
font-weight:600;
min-height:22px;
}
.email-success{
color:#22c55e;
}
.email-error{
color:#ef4444;
}
/* ERROR INPUT */
.input-error{
border:2px solid #ef4444 !important;
box-shadow:0 0 0 4px rgba(239,68,68,.15);
}
.input-success{
border:2px solid #22c55e !important;
box-shadow:0 0 0 4px rgba(34,197,94,.15);
}
/*======================
Телефон и оплата
========================*/
/* PHONE */
#phoneMessage{
margin-top:8px;
font-size:14px;
font-weight:600;
min-height:22px;
}
/* PAYMENT */
.payment-block{
margin-top:20px;
margin-bottom:20px;
text-align:left;
}
.payment-title{
margin-bottom:12px;
font-weight:700;
font-size:16px;
}
.payment-label{
display:flex;
align-items:center;
gap:10px;
margin-bottom:10px;
cursor:pointer;
}
.payment-label input{
transform:scale(1.2);
}
/* SUCCESS */
.phone-success{
color:#22c55e;
}
/* ERROR */
.phone-error{
color:#ef4444;
}
.input-error{
border:2px solid #ef4444 !important;
box-shadow:0 0 0 4px rgba(239,68,68,.15);
}
.input-success{
border:2px solid #22c55e !important;
box-shadow:0 0 0 4px rgba(34,197,94,.15);
}
.phone-error{
color:#ef4444;
font-size:14px;
margin-top:8px;
}
.phone-success{
color:#22c55e;
font-size:14px;
margin-top:8px;
}
/* FLOAT */
.messenger-btn {
    position:fixed;
    bottom:30px;
    left:30px;
    width:65px;
    height:65px;
    background:#7b5cff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:26px;
    cursor:pointer;
    animation:pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow:0 0 0 0 rgba(123,92,255,0.6); }
    70% { box-shadow:0 0 0 30px rgba(123,92,255,0); }
    100% { box-shadow:0 0 0 0 rgba(123,92,255,0); }
}
footer {
    padding:30px;
    background:#1f1f2e;
    color:#fff;
    text-align:center;
}
#cookies-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(50, 50, 50, 0.95);
    color: #fff;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}
.cookies-popup-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.cookies-text {
    flex: 1;
    min-width: 300px;
}
.cookies-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
}
.cookies-text a {
    color: #24c898;
    text-decoration: underline;
}
.cookies-text a:hover {
    color: #1fa87a;
}
.cookies-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookies-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 100px;
}
.cookies-btn-accept {
    background-color: #24c898;
    color: white;
}
.cookies-btn-accept:hover {
    background-color: #1fa87a;
    transform: translateY(-2px);
}
.cookies-btn-reject {
    background-color: #6c757d;
    color: white;
}
.cookies-btn-reject:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}
/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .cookies-popup-content {
        flex-direction: column;
        text-align: center;
    }
    .cookies-text {
        min-width: auto;
    }
    .cookies-buttons {
        width: 100%;
        justify-content: center;
    }
    .cookies-btn {
        flex: 1;
        max-width: 150px;
    }
}
/* Анимация появления */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
#cookies-popup {
    animation: slideUp 0.5s ease-out;
}
.input{
width:100%;
padding:14px;
margin:10px 0;
border-radius:12px;
border:none;
outline:none;
background:#fff;
color:#000;
font-size:15px;
}
/*==========================
Контакты
==========================*/
.contacts-wrapper{
display:grid;
grid-template-columns:
1.05fr
1fr;
gap:45px;
align-items:start;
margin-top:35px;
}
.map-box{
height:560px;
border-radius:22px;
overflow:hidden;
box-shadow:
0 20px 60px
rgba(0,0,0,.15);
background:#fff;
}
.map-box iframe{
width:100%;
height:100%;
border:0;
}
.contacts-box{
background:#fff;
padding:35px;
border-radius:22px;
box-shadow:
0 20px 60px
rgba(0,0,0,.08);
}
.contacts-title{
font-size:40px;
font-style:italic;
font-weight:700;
margin-bottom:18px;
color:#1f1f1f;
}
.contacts-address{
font-size:20px;
font-style:italic;
line-height:1.8;
color:#666;
margin-bottom:30px;
}
/*Адаптивность*/
@media(max-width:992px){
.contacts-wrapper{
grid-template-columns:1fr;
}
.map-box{
height:420px;
order:2;
}
.contacts-box{
order:1;
}
}
.map-box{
transition:.45s;
}
.map-box:hover{
transform:translateY(-8px);
box-shadow:
0 35px 80px
rgba(0,0,0,.18);
}
/*Адаптивность*/
/* ==========================================
   E-MAIL VALIDATION
   ========================================== */
#email {
    width:100%;
    padding:15px 16px;
    margin:10px 0 0;
    border-radius:12px;
    border:2px solid #b8b7b7;
    outline:none;
    background:#fff;
    color:#111827;
    font-size:16px;
    line-height:1.4;
    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background-color .25s ease;
}
#email::placeholder {
    color:#8a8a8a;
}
#email:focus {
    border-color:#64748b;
}
/* Правильный e-mail */
#email.input-success {
    border:2px solid #22c55e !important;
    box-shadow:
        0 0 0 4px rgba(34,197,94,.14);
}
/* Неправильный e-mail */
#email.input-error {
    border:2px solid #ef4444 !important;
    box-shadow:
        0 0 0 4px rgba(239,68,68,.14);
}
/* Сообщение */
#emailMessage {
    min-height:22px;
    margin-top:7px;
    margin-bottom:5px;
    font-size:14px;
    font-weight:600;
    line-height:1.4;
}
#emailMessage.email-error {
    color:#ef4444;
}
#emailMessage.email-success {
    color:#22c55e;
}
/* ==========================================
   UNIVERSAL 3D HERO
   ========================================== */
.hero {
    position:relative;
    min-height:calc(100vh - 1px);
    height:auto;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:
        clamp(80px, 10vh, 130px)
        20px
        60px;
    color:#fff;
    background:
        radial-gradient(
            circle at 50% 45%,
            #182d4d 0%,
            #08111f 48%,
            #02060d 100%
        );
}
/* Canvas */
#hero3D {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    z-index:0;
    pointer-events:none;
}
/* затемнение */
.hero-overlay {
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:
        radial-gradient(
            circle at center,
            rgba(0,0,0,0.05) 0%,
            rgba(0,0,0,0.38) 75%,
            rgba(0,0,0,0.68) 100%
        );
}
/* Контент */
.hero-content {
    position:relative;
    z-index:2;
    width:100%;
    max-width:1150px;
    margin:0 auto;
    padding:
        20px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}
/* Маленькая надпись */
.hero-kicker {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:
        8px 16px;
    margin-bottom:
        clamp(15px, 2vh, 25px);
    border:
        1px solid
        rgba(255,255,255,.22);
    border-radius:999px;
    background:
        rgba(255,255,255,.08);
    backdrop-filter:
        blur(12px);
    -webkit-backdrop-filter:
        blur(12px);
    color:
        rgba(255,255,255,.9);
    font-size:
        clamp(10px, 1.2vw, 14px);
    font-weight:
        700;
    letter-spacing:
        .14em;
    line-height:
        1.4;
    text-transform:
        uppercase;
    box-shadow:
        0 8px 30px
        rgba(0,0,0,.15);
}
/* Главный заголовок */
.hero h1 {
    width:100%;
    max-width:1100px;
    margin:0 auto;
    font-size:
        clamp(1.8rem, 6vw, 6.5rem);
    line-height:
        1.02;
    font-weight:
        900;
    letter-spacing:
        -0.035em;
    color:#fff;
    text-wrap:
        balance;
    text-shadow:
        0
        4px
        25px
        rgba(0,0,0,.75),
        0
        0
        60px
        rgba(70,180,255,.25);
    animation:
        heroTitleIn
        .9s
        ease-out
        both;
}
/* Описание */
.hero-text {
    width:100%;
    max-width:900px;
    margin:
        clamp(18px, 3vh, 30px)
        auto
        0;
    font-size:
        clamp(1rem, 2vw, 1.45rem);
    line-height:
        1.55;
    font-weight:
        500;
    color:
        rgba(255,255,255,.92);
    text-shadow:
        0
        3px
        15px
        rgba(0,0,0,.8);
    text-wrap:
        balance;
    animation:
        heroTextIn
        1s
        .15s
        ease-out
        both;
}
/* Кнопка */
.hero-actions {
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    margin-top:
        clamp(20px, 3vh, 35px);
    animation:
        heroTextIn
        1s
        .3s
        ease-out
        both;
}
/* Счётчик поверх 3D */
.hero .offer-counter {
    position:relative;
    z-index:2;
    margin-top:
        clamp(20px, 3vh, 35px);
    background:
        rgba(5,12,24,.46);
    border:
        1px solid
        rgba(255,255,255,.14);
    box-shadow:
        0
        20px
        60px
        rgba(0,0,0,.3);
    backdrop-filter:
        blur(14px);
    -webkit-backdrop-filter:
        blur(14px);
}
/* Анимации */
@keyframes heroTitleIn {
    from {
        opacity:0;
        transform:
            translateY(25px)
            scale(.97);
    }
    to {
        opacity:1;
        transform:
            translateY(0)
            scale(1);
    }
}
@keyframes heroTextIn {
    from {
        opacity:0;
        transform:
            translateY(20px);
    }
    to {
        opacity:1;
        transform:
            translateY(0);
    }
}
/* Планшеты */
@media (max-width:768px) {
    .hero {
        min-height:
            calc(100svh - 1px);
        padding:
            90px
            15px
            40px;
    }
    .hero-content {
        padding:10px;
    }
    .hero-kicker {
        max-width:
            90%;
        letter-spacing:
            .08em;
        font-size:
            10px;
    }
    .hero h1 {
        font-size:
            clamp(
                2.15rem,
                10vw,
                4rem
            );
        line-height:
            1.05;
    }
    .hero-text {
        font-size:
            clamp(
                1rem,
                4.2vw,
                1.25rem
            );
        max-width:
            95%;
    }
    .hero .btn {
        width:
            min(100%, 360px);
        padding:
            15px 24px;
        font-size:
            17px;
    }
    .hero .counter {
        gap:7px;
    }
    .hero .counter div {
        min-width:
            62px;
        padding:
            10px 7px;
    }
    .hero .counter span {
        font-size:
            23px;
    }
}
/* Маленькие телефоны */
@media (max-width:420px) {
    .hero {
        padding-top:
            80px;
    }
    .hero-kicker {
        display:none;
    }
    .hero h1 {
        font-size:
            clamp(
                2rem,
                11vw,
                3rem
            );
    }
    .hero-text {
        font-size:
            16px;
    }
    .hero .offer-counter {
        width:
            100%;
        max-width:
            330px;
        padding:
            14px 8px;
    }
    .hero .counter {
        gap:5px;
    }
    .hero .counter div {
        min-width:
            58px;
        padding:
            9px 5px;
    }
    .hero .counter span {
        font-size:
            21px;
    }
    .hero .counter small {
        font-size:
            10px;
    }
}
/* Если пользователь отключил анимацию */
@media (prefers-reduced-motion: reduce) {
    .hero h1,
    .hero-text,
    .hero-actions {
        animation:none;
    }
}
/* =========================================
   PREMIUM FIRST SCREEN
   ========================================= */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;

    overflow: hidden;

    padding: 95px 40px 45px;

    box-sizing: border-box;

    background:
        radial-gradient(
            circle at 20% 30%,
            #092c63 0%,
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 60%,
            #32105c 0%,
            transparent 35%
        ),
        #02050b;

    color: #fff;
}


/* 3D */

#hero3D {
    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    z-index: 0;

    display: block;

    pointer-events: none;
}


/* Затемнение */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(0,0,0,.05),
            rgba(0,0,0,.52)
        );
}


/* Основной контейнер */

.hero-inner {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1380px;

    min-height:
        calc(100vh - 140px);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(380px, .7fr);

    gap: 55px;

    align-items: center;
}


/* =========================================
   LEFT
   ========================================= */

.hero-left {

    max-width: 760px;

    text-align: left;
}


.hero-kicker {

    display: inline-block;

    margin-bottom: 20px;

    padding: 8px 15px;

    border:
        1px solid
        rgba(255,255,255,.25);

    border-radius: 30px;

    background:
        rgba(255,255,255,.08);

    backdrop-filter:
        blur(10px);

    color:
        #ff8a22;

    font-size:
        clamp(10px, 1.1vw, 15px);

    font-weight: 800;

    letter-spacing: .08em;
}


.hero-left h1 {
    margin: 0;

    max-width: 700px;

    font-size: clamp(
        1.8rem,
        3.8vw,
        58px
    );

    line-height: 1.08;

    font-weight: 900;

    letter-spacing: -0.025em;

    color: #fff;

    text-shadow:
        0 4px 20px rgba(0,0,0,.8),
        0 0 40px rgba(0,130,255,.22);
}


.hero-left h1 span {

    display: block;

    color: #ff8a00;

    text-shadow:
        0 0 25px rgba(255,120,0,.35);
}


.hero-text {

    max-width: 720px;

    margin:
        25px 0 0;

    font-size:
        clamp(
            16px,
            1.5vw,
            22px
        );

    line-height: 1.55;

    color:
        rgba(255,255,255,.9);

    text-shadow:
        0 3px 15px rgba(0,0,0,.8);
}


/* =========================================
   BENEFITS
   ========================================= */

.hero-benefits {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

    margin-top: 30px;

    max-width: 720px;
}


.hero-benefit {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 8px;

    font-size:
        clamp(12px, 1.1vw, 16px);

    font-weight: 700;

    line-height: 1.25;

    color:
        rgba(255,255,255,.92);
}


.hero-benefit strong {

    font-size: 34px;

    line-height: 1;

    color: #1e9bff;

    text-shadow:
        0 0 15px
        rgba(30,155,255,.8);
}


/* =========================================
   CTA
   ========================================= */

.hero-cta {

    margin-top: 32px !important;

    min-width: 300px;

    font-size: 20px !important;

    font-weight: 800;

    background:
        linear-gradient(
            135deg,
            #ffb300,
            #ff651f
        ) !important;

    box-shadow:
        0 10px 35px
        rgba(255,100,0,.4);
}


/* =========================================
   COUNTER
   ========================================= */

.hero-left .offer-counter {

    display: inline-block;

    margin-top: 28px;

    padding: 15px 20px;

    border:
        1px solid
        rgba(255,255,255,.16);

    border-radius: 18px;

    background:
        rgba(0,8,20,.62);

    backdrop-filter:
        blur(14px);

    box-shadow:
        0 15px 50px
        rgba(0,0,0,.4);
}


.hero-left .counter {

    gap: 8px;
}


.hero-left .counter div {

    min-width: 65px;

    padding: 8px;

    background:
        rgba(255,255,255,.06);
}


/* =========================================
   FORM
   ========================================= */

.hero-form {

    width: 100%;

    max-width: 500px;

    justify-self: end;

    box-sizing: border-box;

    padding:
        35px 34px;

    border-radius: 24px;

    background:
        rgba(255,255,255,.97);

    box-shadow:
        0 25px 80px
        rgba(0,0,0,.55);

    color: #111;

    backdrop-filter:
        blur(12px);
}


.hero-form h2 {

    margin:
        0 0 25px;

    text-align: center;

    font-size:
        clamp(26px, 2.5vw, 34px);

    font-weight: 900;

    color: #111;
}


/* =========================================
   FORM INPUTS
   ========================================= */

.hero-form .input {

    width: 100%;

    box-sizing: border-box;

    padding: 15px 16px;

    margin:
        0 0 10px;

    border:
        2px solid #ddd;

    border-radius: 14px;

    background: #fff;

    color: #111;

    font-size: 16px;

    transition:
        border-color .2s,
        box-shadow .2s;
}


.hero-form .input:focus {

    outline: none;

    border-color:
        #60748f;
}


/* E-MAIL ERROR */

#email.input-error,
#phone.input-error {

    border-color:
        #ef4444 !important;

    box-shadow:
        0 0 0 4px
        rgba(239,68,68,.12);
}


/* E-MAIL SUCCESS */

#email.input-success,
#phone.input-success {

    border-color:
        #22c55e !important;

    box-shadow:
        0 0 0 4px
        rgba(34,197,94,.12);
}


/* =========================================
   VALIDATION MESSAGES
   ========================================= */

/* ОБА СКРЫТЫ ИЗНАЧАЛЬНО */

#phone-error,
#phone-success,
#emailMessage,
#policy-error {

    display: none;
}


.phone-error,
.email-error,
.policy-error {

    margin:
        -3px 0 10px;

    color:
        #ef4444;

    font-size: 14px;

    text-align: center;
}


.phone-success {

    margin:
        -3px 0 10px;

    color:
        #22c55e;

    font-size: 14px;

    text-align: center;
}


/* =========================================
   CHECKBOX
   ========================================= */

.hero-form .checkbox-block {

    margin-top: 15px;

    font-size: 14px;

    line-height: 1.4;

    text-align: center;
}


.hero-form .checkbox-block label {

    display: flex;

    align-items:
        flex-start;

    justify-content:
        center;

    gap: 9px;
}


.hero-form .checkbox-block input {

    flex: 0 0 auto;

    margin-top: 3px;
}


.hero-form .checkbox-block a {

    color: #154fc4;

    text-decoration: underline;
}


/* =========================================
   SUBMIT
   ========================================= */

.hero-form .submit-btn {

    display: block;

    width: 100%;

    margin:
        24px 0 0;

    padding:
        15px 25px;

    border-radius: 17px;

    font-size: 18px;

    font-weight: 800;
}


/* =========================================
   TABLET
   ========================================= */

@media(max-width:1050px) {

    .hero {

        padding:
            90px 25px 40px;
    }

    .hero-inner {

        grid-template-columns:
            1fr 420px;

        gap: 30px;
    }

    .hero-left h1 {

        font-size:
            clamp(40px, 5vw, 62px);
    }

    .hero-benefits {

        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media(max-width:800px) {

    .hero {

        min-height: auto;

        padding:
            85px 15px 40px;
    }

    .hero-inner {

        min-height: auto;

        grid-template-columns: 1fr;

        gap: 35px;
    }

    .hero-left {

        max-width: 100%;

        text-align: center;
    }

    .hero-kicker {

        font-size: 10px;
    }

    .hero-left h1 {

        font-size:
            clamp(
                36px,
                10vw,
                58px
            );
    }

    .hero-text {

        font-size: 16px;
    }

    .hero-benefits {

        grid-template-columns:
            repeat(2, 1fr);

        max-width: 400px;

        margin:
            25px auto 0;

        text-align: left;
    }

    .hero-cta {

        width: 100%;

        max-width: 360px;

        min-width: 0;
    }

    .hero-left .offer-counter {

        max-width: 100%;
    }

    .hero-form {

        width: 100%;

        max-width: 500px;

        justify-self: center;

        padding:
            28px 20px;
    }
}


/* маленький телефон */

@media(max-width:430px) {

    .hero-benefits {

        gap: 12px;
    }

    .hero-benefit strong {

        font-size: 28px;
    }

    .hero-benefit {

        font-size: 12px;
    }
}
/* =========================================================
   НИЖНЯЯ ФОРМА В БЛОКЕ КОНТАКТОВ
   ========================================================= */

.contacts-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contacts-box > h2 {
    width: 100%;
    text-align: center;
}

/* Сам контейнер формы */
.bottom-contact-form {
    width: 100%;
    max-width: 560px;
    margin: 25px auto 0;
    padding: 30px 35px;
    box-sizing: border-box;

    background: #fff;

    border-radius: 22px;

    box-shadow:
        0 15px 45px rgba(0,0,0,.12);

    text-align: left;
}

/* Заголовок внутри формы */
.bottom-contact-form h3 {
    margin: 0 0 20px;
    text-align: center;
    font-size: 28px;
    color: #111;
}

/* Поля */
.bottom-contact-form .bottom-input {
    display: block;
    width: 100%;
    box-sizing: border-box;

    padding: 15px 16px;
    margin: 0 0 12px;

    border: 2px solid #d5d5d5;
    border-radius: 13px;

    background: #fff;
    color: #111;

    font-size: 16px;
    line-height: 1.4;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.bottom-contact-form .bottom-input:focus {
    border-color: #64748b;
    box-shadow: 0 0 0 3px rgba(100,116,139,.12);
}

/* Ошибка */
.bottom-contact-form .input-error {
    border-color: #ef4444 !important;
    box-shadow:
        0 0 0 4px rgba(239,68,68,.12);
}

/* Успешное заполнение */
.bottom-contact-form .input-success {
    border-color: #22c55e !important;
    box-shadow:
        0 0 0 4px rgba(34,197,94,.12);
}

/* Сообщения */
.bottom-phone-error,
.bottom-phone-success,
.bottom-email-error,
.bottom-policy-error {
    display: none;
    margin: -3px 0 10px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.bottom-phone-error,
.bottom-email-error,
.bottom-policy-error {
    color: #ef4444;
}

.bottom-phone-success {
    color: #22c55e;
}

/* Согласие */
.bottom-checkbox-block {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.45;
}

.bottom-checkbox-block label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.bottom-checkbox-block input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: 3px;
}

.bottom-checkbox-block a {
    color: #154fc4;
    text-decoration: underline;
}

/* Кнопка */
.bottom-submit-btn {
    display: block;

    width: 100%;

    margin: 24px 0 0;

    padding: 15px 25px;

    border: none;
    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            #ffb300,
            #ff651f
        );

    color: #fff;

    font-size: 18px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 10px 30px rgba(255,100,0,.25);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.bottom-submit-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 35px rgba(255,100,0,.35);
}

/* Планшет */
@media (max-width: 992px) {

    .bottom-contact-form {
        max-width: 600px;
    }
}

/* Телефон */
@media (max-width: 600px) {

    .contacts-box {
        padding: 25px 18px;
    }

    .bottom-contact-form {
        width: 100%;
        max-width: 100%;

        padding:
            25px 18px;

        margin-top: 20px;
    }

    .bottom-contact-form h3 {
        font-size: 24px;
    }

}