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;
    }
}
/* 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:2.3rem; }
.hero p { font-size:18px; max-width:650px; }
.hero{
    padding-top:15px !important;
    padding-bottom:45px !important;
    min-height:auto !important;
}

.hero-content{
    margin-top:0 !important;
    padding-top:0 !important;
}

.hero h1{
    margin:5px 0 10px !important;
}

.hero p{
    margin:0 0 8px !important;
}

.hero table{
    margin:5px auto !important;
}

.hero .btn{
    margin-top:8px !important;
}
.sl-header{
    margin-bottom:0 !important;
}

.hero{
    margin-top:0 !important;
}
/*Блок hero 1-экран*/
.hero-title{
opacity:0;
transform:translateX(-120px);
animation:titleMove 1.2s ease forwards;
}
.hero-text{
opacity:0;
transform:translateX(120px);
animation:textMove 1.2s ease forwards;
animation-delay:.3s;
}
@keyframes titleMove{
to{
opacity:1;
transform:translateX(0);
}
}
@keyframes textMove{
to{
opacity:1;
transform:translateX(0);
}
}
.hero-content{
max-width:900px;
margin:auto;
text-align:center;
}
/*Расположение элементов 1-экрана*/
/* =========================
   COMPACT HERO PREMIUM
========================= */

.hero{

padding-top:20px !important;
padding-bottom:30px !important;
}
.sl-header + .hero{
margin-top:0 !important;
}
.hero-content{
margin-top:0 !important;
}
.hero h1{
margin-top:15px !important;
margin-bottom:15px !important;
}
.hero p{
margin-top:0 !important;
margin-bottom:15px !important;
}
.hero table{
margin-top:5px !important;
margin-bottom:5px !important;
}
.hero .btn{
margin-top:10px !important;
}
.hero-content{
    margin-bottom:10px;
}
.hero p{
    margin-bottom:10px;
}
.hero table{
    margin-top:10px !important;
    margin-bottom:10px !important;
}
.hero .btn{
    margin-top:10px;
}
/*Расположение элементов 1-экрана*/
/*Для мобильных*/
@media(max-width:768px){
.hero h1{
font-size:32px;
line-height:1.2;
}
.hero p{
font-size:18px;
padding:0 20px;
}
}
/*Блок hero 1-экран*/
/*Таймер под кнопкой*/
.offer-counter{
margin-top:25px;
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;
}
/*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;
}
.faq-item div{
display:none;
padding:20px;
background:#fff;
}
.faq-item.active div{
display:block;
}
/*FAQ ЧАВО*/
/*second timer*/
.buy-counter{
margin-top:20px;
padding:25px;
background:
linear-gradient(
135deg,
#fff3cd,
#ffffff
);
border-radius:25px;
box-shadow:
0 10px 30px rgba(0,0,0,.15);
text-align:center;
}
.buy-title{
font-size:22px;
font-weight:700;
margin-bottom:20px;
}
.buy-clock{
display:flex;
justify-content:center;
gap:15px;
}
.buy-clock div{
background:#111;
color:white;
padding:15px;
border-radius:15px;
min-width:70px;
}
.buy-clock span{
display:block;
font-size:30px;
font-weight:800;
}
.buy-clock small{
font-size:12px;
}
@media(max-width:500px){
.buy-clock div{
min-width:55px;
padding:10px;
}
.buy-clock span{
font-size:22px;
}
}
/*Оживление цифр счетчика*/
.buy-clock span,
.counter span{
animation:
pulseTimer 1s infinite;
}
@keyframes pulseTimer{
0%{
transform:scale(1);
}
50%{
transform:scale(1.08);
}
100%{
transform:scale(1);
}
}
/*Оживление цифр счетчика*/
/*second timer*/
/* 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);
}
.card h3{
    margin:15px 0 18px;
    line-height:1.35;
    font-size:1.35rem;
}

.card p{
    margin:0;
    line-height:1.5;
}
.card{
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);
}
.premium-grid{
width:100%;
max-width:1280px;
margin:0 auto;
display:grid;
grid-template-columns:repeat(4,minmax(260px,1fr));
gap:25px;
justify-content:center;
align-items:stretch;
padding:0 20px;
box-sizing:border-box;
}
/*Блоки предложение*/
.premium-grid{
display:grid;
grid-template-columns:
repeat(4,1fr);
gap:25px;
}
.icon{
font-size:42px;
margin-bottom:15px;
}
@media(max-width:1024px){
.premium-grid{
grid-template-columns:
repeat(2,1fr);
}
}
@media(max-width:600px){
.premium-grid{
grid-template-columns:
1fr;
}
}
/*Анимация блоков*/
.premium-grid .card{
opacity:0;
}
.premium-grid .card:nth-child(-n+4){
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(4){
animation-delay:.8s;
}
.premium-grid .card:nth-child(n+5){
animation:
cardsRight 1s ease forwards;
}
.premium-grid .card:nth-child(5){
animation-delay:1s;
}
.premium-grid .card:nth-child(6){
animation-delay:1.2s;
}
.premium-grid .card:nth-child(7){
animation-delay:1.4s;
}
.premium-grid .card:nth-child(8){
animation-delay:1.6s;
}
@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);
}
}
/*Планшеты*/
@media (max-width:1024px){
.premium-grid{
grid-template-columns:repeat(2,1fr);
}
}
/*Телефоны*/
@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%); }

/* FORM */
.form-box {
    max-width:400px;
    margin:auto;
    text-align:left;
}

input {
    width:95%;
    padding:12px;
    margin:10px 0;
	border-radius:18px;
}

/* ERROR / SUCCESS */
#phone-error {
    display:none;
    color:#e74c3c;
    font-size:13px;
    margin-top:-5px;
}

#phone-success {
    display:none;
    color:#2ecc71;
    font-size:13px;
    margin-top:-5px;
}

/* BANK UX */
.input-error {
    border:2px solid #e74c3c !important;
    background:#fff5f5;
	border-radius:18px;
}

.input-success {
    border:2px solid #2ecc71 !important;
    background:#f2fff5;
	border-radius:18px;
}

.btn-disabled {
    opacity:0.5;
    pointer-events:none;
}

.checkbox-block { margin-top:10px; }

.submit-btn {
    display:none;
    width:100%;
    margin-top:10px;
	border-radius:18px;
}

/* 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;
}

/*==========================
Контакты
==========================*/
.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);
}
/*Адаптивность*/
/* ==========================
   FLOATING CONTACT BUTTON
========================== */
.contact-widget {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
}
/* MAIN BUTTON */
.main-contact-btn {
    width:75px;
    height:75px;
    border-radius:50%;
    border:none;
    cursor:pointer;
    background:
    linear-gradient(135deg,#00c853,#009624);
    color:white;
    font-size:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:
    0 0 0 0 rgba(0,200,83,.7);
    animation:pulse 1.8s infinite;
    transition:.4s;
}
.main-contact-btn:hover {
    transform:scale(1.1);
}
/* PULSE */
@keyframes pulse {
0% {
box-shadow:
0 0 0 0 rgba(0,200,83,.8);
}
70% {
box-shadow:
0 0 0 25px rgba(0,200,83,0);
}
100% {
box-shadow:
0 0 0 0 rgba(0,200,83,0);
}
}
/* BUTTONS CONTAINER */
.contact-buttons {
position:absolute;
bottom:90px;
right:5px;
display:flex;
flex-direction:column;
gap:15px;
pointer-events:none;
}
/* HIDDEN STATE */
.contact-buttons .contact-btn {
width:58px;
height:58px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
text-decoration:none;
font-size:27px;
color:white;
opacity:0;
transform:
translateY(80px)
scale(.5);
transition:.45s cubic-bezier(.68,-0.55,.27,1.55);
pointer-events:none;
box-shadow:
0 8px 20px rgba(0,0,0,.25);
}
/* OPEN STATE */
.contact-widget.active .contact-btn {
opacity:1;
transform:
translateY(0)
scale(1);
pointer-events:auto;
}
/* COLORS */
.whatsapp {
background:#25D366;
}
.max {
background:
linear-gradient(135deg,#673ab7,#9c27b0);
font-weight:900;
}
.telegram {
background:#229ED9;
}
.phone {
background:
linear-gradient(135deg,#ff9800,#ff5722);
}
/* MOBILE */
@media(max-width:600px){
.contact-widget{
right:15px;
bottom:15px;
}
.main-contact-btn{
width:65px;
height:65px;
font-size:28px;
}
.contact-buttons{
bottom:80px;
}
.contact-btn{
width:52px!important;
height:52px!important;
}
}
.slw-widget.slw-active .slw-item{

opacity:1!important;

visibility:visible!important;

pointer-events:auto!important;

transform:translateY(0)!important;

}