:root{
    --bg:#0f1115;
    --bg-soft:#161922;
    --accent:#7c9cff;
    --text:#e9ecf1;
    --muted:#8b93a7;
    --bubble:#1b2230;
    --user:#2a3450;
    --radius:16px;
    --shadow:0 8px 24px rgba(0,0,0,.25);
}
*{
    box-sizing:border-box;
}
html,body{
    height:100%;
}
body{
    margin:0;
    background:linear-gradient(180deg,#0e1014,#0b0d12);
    font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial;
}
.bg-fixed{
    background: url('/img/jetour-bg.webp') no-repeat center center/cover;
    position:fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

@media (min-width: 1400px) {
    .wrap{
        width: 1000px;
        margin: 50px auto 0 auto;
    }

    header{
        height: 100px;
        background:linear-gradient(180deg,#0e1014,#0b0d12);
        display:flex;
        border-bottom: 1px solid #1e2331;
        z-index: 5;
    }
    header .headerin{
        max-width: 1400px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }
    header .headerin .logo{
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    header .headerin .logo img{
        height: 25px;
        object-fit: contain;
        transition: filter 0.6s, opacity 0.6s;
    }
    header .headerin .contact{
        display: flex;
        flex-direction: column;
    }
    header .headerin .contact .phone{
        color: var(--text);
        text-decoration: none;
        font-weight: 500;
        font-size: 22px;
        display: flex;
        transition: color 0.3s;
    }
    header .headerin .contact .phone:hover{
        color: var(--accent);
    }
    header .headerin .contact .address{
        color: var(--muted);
        font-weight: 300;
        font-size: 16px;
    }

    .hblock{
        background: rgba(0,0,0,.8);
        border: 1px solid #1e2331;
        border-radius: 25px;
        width: 1000px;
        margin: 50px auto 0 auto;
        padding: 15px 25px 25px 25px;
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    .hblock h1{
        color: var(--text);
        font-size: 43px;
        font-weight: 700;
        text-align: center;
        margin: 0;
    }
    .hblock .text{
        color: var(--text);
        font-size: 30px;
        font-weight: 400;
        text-align: center;
    }
    .plusblock{
        width: 900px;
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 25px 0;
    }
    .plusblock .plus{
        display: flex;
        flex-direction: row;
        gap: 15px;
    }
    .plusblock .plus.one{
        width: 325px;
    }
    .plusblock .plus.two{
        width: 375px;
    }
    .plusblock .plus.three{
        width: 200px;
    }
    .plusblock .plus .img{
        background: var(--accent);
        width: 70px;
        height: 70px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .plusblock .plus .img img{
        width: 35px;
        height: 35px;
        object-fit: contain;
    }
    .plusblock .plus .info{
        color: var(--text);
        font-size: 18px;
        font-weight: 300;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .plusblock .plus .info span{
        font-size: 18px;
        font-weight: 500;
    }

    .headerchat .title{
        display: flex;
        flex-direction: column;
    }
    .headerchat .title span{
        font-size: 14px;
        color: var(--muted);
        font-weight: 400;
    }

    .legal{
        width: 200px;
        display: flex;
        flex-direction: column;
        font-size: 12px;
        color: var(--text);
        position: fixed;
        left: 25px;
        bottom: 25px;
    }
    .legal a{
        color: var(--text);
    }
    .legal a:hover{
        text-decoration: none;
    }

    .txt{
        background: rgba(0,0,0,.6);
        width: 1000px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        color: var(--text);
        font-size: 14px;
        margin: 50px auto 0 auto;
        padding: 50px 50px 40px 50px;
    }
    .txt h2{
        font-size: 20px;
        margin: 0 0 10px 0;
    }
    .txt p{
        margin: 0 0 10px 0;
    }
    .txt a{
        color: var(--accent);
    }
    .txt a:hover{
        text-decoration: none;
    }
}
@media (max-width: 1399px) {
    .wrap{
        width: 100%;
        margin: 25px auto 0 auto;
    }

    header{
        background:linear-gradient(180deg,#0e1014,#0b0d12);
        display:flex;
        border-bottom: 1px solid #1e2331;
        z-index: 5;
    }
    header .headerin{
        max-width: 90%;
        width: 90%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        padding: 25px 0;
    }
    header .headerin .logo{
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    header .headerin .logo img{
        height: 20px;
        object-fit: contain;
        transition: filter 0.6s, opacity 0.6s;
    }
    header .headerin .contact{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    header .headerin .contact .phone{
        color: var(--text);
        text-decoration: none;
        font-weight: 500;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    header .headerin .contact .address{
        color: var(--muted);
        font-weight: 300;
        font-size: 14px;
    }

    .hblock{
        background: rgba(0,0,0,.8);
        border: 1px solid #1e2331;
        border-radius: 25px;
        width: 90%;
        margin: 25px auto 0 auto;
        padding: 5%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .hblock h1{
        color: var(--text);
        font-size: 20px;
        font-weight: 700;
        text-align: center;
        margin: 0;
        display: flex;
        flex-direction: column;
    }
    .hblock .text{
        color: var(--text);
        font-size: 16px;
        font-weight: 400;
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    .plusblock{
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px 0;
    }
    .plusblock .plus{
        width: calc(100% / 2);
        display: flex;
        flex-direction: row;
        gap: 10px;
    }
    .plusblock .plus .img{
        background: var(--accent);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .plusblock .plus .img img{
        width: 25px;
        height: 25px;
        object-fit: contain;
    }
    .plusblock .plus .info{
        color: var(--text);
        font-size: 11px;
        font-weight: 300;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .plusblock .plus .info span{
        font-size: 11px;
        font-weight: 500;
    }

    .headerchat .title{
        width: 100px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    }
    .headerchat .title span{
        font-size: 10px;
        color: var(--muted);
        font-weight: 400;
    }

    .legal{
        display: none;;
    }

    .txt{
        background: rgba(0,0,0,.6);
        width: 90%;
        display: flex;
        flex-direction: column;
        gap: 10px;
        color: var(--text);
        font-size: 14px;
        margin: 25px auto 0 auto;
        padding: 5% 5% 4% 5%;
    }
    .txt h2{
        font-size: 20px;
        margin: 0 0 10px 0;
    }
    .txt p{
        margin: 0 0 10px 0;
    }
    .txt a{
        color: var(--accent);
    }
    .txt a:hover{
        text-decoration: none;
    }
}
    
.wrap{
    background: rgba(0,0,0,.6);
    border-left: 1px solid #1e2331;
    border-right: 1px solid #1e2331;
    border-radius: 25px 25px 0 0;
    display:flex;
    flex-direction:column;
    min-height:100%;
}

.headerchat{
    padding:16px 20px;
    color:var(--text);
    display:flex;
    gap:20px;
    align-items:center;
    border-bottom:1px solid #1e2331;
    border-top:1px solid #1e2331;
    border-radius: 25px 25px;
    background:#0f131c;
    position:sticky;
    top:0;
    z-index:5;
}
.headerchat img{
    width:66px;
    height:66px;
    border-radius:50%;
    box-shadow:var(--shadow);
}
.headerchat .title{
    font-weight:600;
}
.headerchat .sub{
    font-size:13px;
    color:#56d456/*var(--muted)*/;
}

.chat{
    flex:1;
    max-width:880px;
    margin:0 auto;
    width:100%;
    padding:24px 16px;
    display:flex;
    flex-direction:column;
    gap:14px;
}
.bubble{
    max-width:80%;
    padding:12px 14px;
    border-radius:18px;
    background:var(--bubble);
    color:var(--text);
    box-shadow:var(--shadow);
}
.bubble.agent{
    border-top-left-radius:6px
}
.bubble.user{
    margin-left:auto;
    background:var(--user);
    border-top-right-radius:6px;
}

.typing{
    display:inline-flex;
    gap:6px;
    align-items:center;
}
.dot{
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--muted);
    opacity:.6;
    animation:blink 1.2s infinite;
}
.dot:nth-child(2){
    animation-delay:.2s;
}
.dot:nth-child(3){
    animation-delay:.4s;
}
@keyframes blink{
    0%,80%,100%{
        transform:translateY(0);
        opacity:.4;
    }
    40%{
        transform:translateY(-3px);
        opacity:1;
    }
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:12px;
    margin-top:8px;
}
.card{
    background:var(--bg-soft);
    border:1px solid #23293a;
    border-radius:16px;
    overflow:hidden;
    cursor:pointer;
    transition:transform .12s ease, border-color .12s ease;
}
.card.disabled{
    cursor: default;
}
.card.disabled:hover{
    transform:none;
    border-color:#23293a;
}
.card:hover{
    transform:translateY(-2px);
    border-color:var(--accent);
}
.card img{
    width:100%;
    height:120px;
    object-fit:cover;
    display:block;
    background:#0c0f16;
}
.card .label{
    padding:10px 12px;
    color:var(--text);
}
.card .model-title{
    display:block;
    font-weight:700;
    font-size:14px;
    margin-bottom:4px;
}
.card .model-sub{
    display:block;
    font-size:13px;
    color:var(--muted);
}

.checks{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-top:6px;
}
.check{
    background:var(--bg-soft);
    border:1px solid #23293a;
    border-radius:12px;
    padding:10px 12px;
    display:flex;
    gap:10px;
    align-items:center;
}
.check input{
    width:18px;
    height:18px;
}
.check label{
    color:var(--text);
    font-size:14px;
    cursor: pointer;
}

.actions{
    display:flex;
    gap:10px;
    margin:2px auto 18px;
    width:100%;
    max-width:880px;
    padding:0 16px;
}
.btn{
    appearance:none;
    border:1px solid #2a3250;
    background:#162038;
    color:var(--text);
    text-decoration:none;
    padding:10px 14px;
    border-radius:12px;
    cursor:pointer;
}
.btn.primary{
    background:var(--accent);
    border-color:transparent;
    color:#0a0d16;
    font-size: 12px;
    font-weight:700;
    margin: 10px;
    transition: background 0.3s ease-in-out;
}
.btn.primary:hover{
    background:#5f85ff;
}
.btn.mg{
    margin: 10px;
}
.btn.fs{
    font-size: 14px;
}
.btn[disabled]{
    opacity:.5;
    cursor:not-allowed;
}

form.lead{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:8px;
}
.input{
    background:var(--bg-soft);
    border:1px solid #23293a;
    border-radius:12px;
    padding:10px 12px;
    color:var(--text);
    font-size: 14px;
}
.muted{
    color:var(--muted);
    font-size:13px;
}
.muted a{
    color:var(--muted);
}
.muted a:hover{
    text-decoration: none;
}

footer{
    background: linear-gradient(180deg,#0e1014,#0b0d12);
    padding:14px 20px;
    color:var(--muted);
    text-align:center;
    border-top:1px solid #1e2331;
    z-index: 5;
    position: relative;
}

.cookie-banner{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15,17,21,0.95);
    color: #e9ecf1;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.cookie-banner span{
    max-width: 80%;
}
.cookie-banner span a:hover{
    text-decoration: none;
}
.cookie-banner button{
    background: #7c9cff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    color: #0a0d16;
    transition: background 0.3s ease-in-out;
}
.cookie-banner button:hover{
    background: #5f85ff;
}
.cookie-banner span a{
    color: #7c9cff;
}