/* ================= SHELL ================= */

.contact-sky{
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.sky-shell{
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* ================= CANVAS ================= */

#sky-canvas{
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: #070b14;
}

.sky-vignette{
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background: radial-gradient(
        circle at center,
        transparent 40%,
        rgba(0,0,0,0.55) 100%
    );
}

/* ================= UI ================= */

.gtpro-contact{
    position: relative;
    z-index: 2;
    color: #e7eaf0;
    font-family: system-ui;
}

/* ================= CONTAINERS ================= */

.container{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.container-narrow{
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ================= SECTIONS ================= */

.scene{
    padding: 3.5rem 0;
}

.scene.compact{
    padding: 2.2rem 0;
}

/* ================= HERO ================= */

.hero{
    min-height: 78svh;
    display: flex;
    align-items: center;
}

.hero-grid{
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

/* ================= TYPO ================= */

.title{
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
}

.subtitle{
    margin-top: 1rem;
    color: #9aa4b2;
    max-width: 520px;
}

/* ================= BADGE ================= */

.badge{
    display: inline-flex;
    width: fit-content;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;

    background: rgba(0,207,230,0.10);
    border: 1px solid rgba(0,207,230,0.22);
}

/* ================= LOTTIE ================= */

.hero-animation{
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.9;
    filter: drop-shadow(0 0 20px rgba(0,207,230,0.10));
}

.hero-animation lottie-player{
    width: 85%;
}

.hero-grid{
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

/* canvas container */
.hero-animation{
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* canvas */
#contact-canvas{
    width: 100%;
    height: 100%;
    display: block;

    filter: drop-shadow(0 0 20px rgba(0, 207, 230, 0.15));
}

/* mobile */
@media (max-width: 991px){
    .hero-grid{
        grid-template-columns: 1fr;
    }

    .hero-animation{
        height: 240px;
        margin-top: 1.5rem;
    }
}

/* ================= STATUS ================= */

.status-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.status-card{
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.9rem 1rem;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.dot{
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.green{ background:#22c55e; }
.yellow{ background:#eab308; }

/* ================= FORM ================= */

.form-header{
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2{
    font-size: 2rem;
}

.grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.input,
.textarea{
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;

    background: rgba(10,15,25,0.6);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;

    outline: none;
}

.textarea{
    grid-column: span 2;
    resize: none;
}

/* fix Yii wrapper */
.field{
    margin: 0;
}

.actions{
    margin-top: 1.5rem;
    text-align: center;
}

.btn-primary{
    background: linear-gradient(90deg, #005fcc, #00cfe6);
    padding: 0.9rem 2rem;
    border-radius: 12px;
    border: none;
    color: white;
    cursor: pointer;
}

/* ================= SUCCESS ================= */

.success-box{
    padding: 3rem 2rem;
    text-align: center;

    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px){

    .hero-grid{
        grid-template-columns: 1fr;
        text-align: center;
    }

    .subtitle{
        margin-left: auto;
        margin-right: auto;
    }

    .grid{
        grid-template-columns: 1fr;
    }

    .textarea{
        grid-column: span 1;
    }
}

.captcha-module{
    margin-top: 1.5rem;
    padding: 1.2rem;
    border-radius: 14px;

    background: rgba(10,15,25,0.35);
    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);
}

.captcha-header{
    font-size: 0.85rem;
    color: #9aa4b2;
    margin-bottom: 0.8rem;
    letter-spacing: 0.3px;
}

.captcha-body{
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    align-items: center;
}

.captcha-img{
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    filter: brightness(0.95) contrast(1.05);
}

@media (max-width: 600px){
    .captcha-body{
        grid-template-columns: 1fr;
    }
}