.result-query{
    --navy:#0d2d55;
    --navy-dark:#071d38;
    --red:#e3212b;
    --muted:#77889b;

    min-height:70vh;
    background:#f6f8fb;
    color:var(--navy);
}

.rq-section{
    position:relative;
    overflow:hidden;
    padding:58px 0 88px;
}

.rq-section:before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    right:-220px;
    top:-230px;
    border-radius:50%;
    background:var(--rq-accent);
    opacity:.035;
}

.rq-back{
    display:inline-flex;
    align-items:center;
    gap:9px;
    margin-bottom:34px;
    color:#75869a;
    text-decoration:none;
    font-size:12px;
    font-weight:800;
}

.rq-back span{
    color:var(--rq-accent);
    font-size:18px;
}

.rq-layout{
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(380px,.75fr);
    align-items:center;
    gap:70px;
}

.rq-copy{
    max-width:650px;
}

.rq-eyebrow{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:17px;
    color:var(--rq-accent);
    font-size:11px;
    font-weight:900;
    letter-spacing:.17em;
}

.rq-eyebrow span{
    width:28px;
    height:3px;
    border-radius:10px;
    background:var(--rq-accent);
}

.rq-copy h1{
    margin:0;
    color:var(--navy);
    font-size:clamp(43px,5vw,65px);
    line-height:.98;
    letter-spacing:-.055em;
    font-weight:800;
}

.rq-copy h1 strong{
    display:block;
    color:var(--rq-accent);
    font-weight:800;
}

.rq-copy > p{
    max-width:570px;
    margin:22px 0 0;
    color:#748599;
    font-size:15px;
    line-height:1.7;
}


/* STEPS */

.rq-steps{
    display:grid;
    gap:0;
    max-width:540px;
    margin-top:42px;
    border-top:1px solid #dfe5ec;
}

.rq-step{
    display:flex;
    align-items:center;
    gap:20px;
    padding:17px 0;
    border-bottom:1px solid #dfe5ec;
}

.rq-step > b{
    color:var(--rq-accent);
    font-size:10px;
    letter-spacing:.08em;
}

.rq-step div{
    display:grid;
    gap:3px;
}

.rq-step strong{
    color:#314a68;
    font-size:12px;
}

.rq-step span{
    color:#8a98a8;
    font-size:11px;
}


/* PANEL */

.rq-panel{
    position:relative;
    padding:31px;
    border:1px solid #dfe6ed;
    border-radius:20px;
    background:#fff;
    box-shadow:
        0 25px 60px rgba(13,45,85,.10),
        0 3px 8px rgba(13,45,85,.03);
}

.rq-panel:before{
    content:"";
    position:absolute;
    left:31px;
    right:31px;
    top:0;
    height:3px;
    border-radius:0 0 5px 5px;
    background:var(--rq-accent);
}

.rq-panel__top{
    display:flex;
    align-items:center;
    gap:15px;
    padding-bottom:23px;
    border-bottom:1px solid #edf0f4;
}

.rq-panel__mark{
    display:grid;
    place-items:center;
    width:46px;
    height:46px;
    border-radius:12px;
    background:var(--rq-soft);
}

.rq-panel__mark span{
    width:17px;
    height:17px;
    border:5px solid var(--rq-accent);
    border-radius:50%;
}

.rq-panel__top > div:last-child > span{
    display:block;
    margin-bottom:3px;
    color:var(--rq-accent);
    font-size:8px;
    font-weight:900;
    letter-spacing:.15em;
}

.rq-panel__top h2{
    margin:0;
    color:var(--navy);
    font-size:18px;
    letter-spacing:-.02em;
}


/* FORM */

.rq-form{
    padding-top:25px;
}

.rq-form label{
    display:block;
    margin-bottom:8px;
    color:#50647d;
    font-size:11px;
    font-weight:800;
}

.rq-input-wrap{
    position:relative;
}

.rq-input-icon{
    position:absolute;
    left:15px;
    top:50%;
    transform:translateY(-50%);
    display:grid;
    place-items:center;
    width:21px;
    height:21px;
    color:#8797a9;
    pointer-events:none;
}

.rq-input-icon svg{
    width:100%;
    height:100%;
}

.rq-input-wrap input{
    width:100%;
    height:55px;
    padding:0 16px 0 48px;
    border:1px solid #dbe2e9;
    border-radius:11px;
    outline:none;
    background:#f9fafc;
    color:var(--navy);
    font-size:16px;
    font-weight:700;
    letter-spacing:.04em;
    transition:.18s ease;
    box-sizing:border-box;
}

.rq-input-wrap input::placeholder{
    color:#a4afbb;
    font-size:12px;
    font-weight:500;
    letter-spacing:0;
}

.rq-input-wrap input:focus{
    border-color:var(--rq-accent);
    background:#fff;
    box-shadow:0 0 0 4px var(--rq-soft);
}

.rq-form button{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    height:53px;
    margin-top:13px;
    padding:0 18px;
    border:0;
    border-radius:11px;
    cursor:pointer;
    background:var(--navy);
    color:#fff;
    font-size:12px;
    font-weight:900;
    transition:.18s ease;
}

.rq-form button:hover{
    background:var(--rq-accent);
    transform:translateY(-1px);
}

.rq-form button b{
    font-size:19px;
}

.rq-error{
    margin-top:8px;
    color:#c62828;
    font-size:11px;
    font-weight:700;
}

.rq-message{
    margin-top:20px;
    padding:12px 14px;
    border:1px solid #dce5ed;
    border-radius:9px;
    background:#f7f9fb;
    color:#61758c;
    font-size:11px;
    line-height:1.5;
}


/* PRIVACY */

.rq-privacy{
    display:flex;
    align-items:flex-start;
    gap:9px;
    margin-top:19px;
    padding-top:18px;
    border-top:1px solid #edf0f4;
}

.rq-privacy svg{
    flex:0 0 16px;
    width:16px;
    height:16px;
    color:#91a0b0;
}

.rq-privacy p{
    margin:0;
    color:#8c99a8;
    font-size:9px;
    line-height:1.5;
}


/* MOBILE */

@media(max-width:850px){

    .rq-section{
        padding:38px 0 60px;
    }

    .rq-back{
        margin-bottom:27px;
    }

    .rq-layout{
        grid-template-columns:1fr;
        gap:38px;
    }

    .rq-copy h1{
        font-size:43px;
    }

    .rq-copy > p{
        font-size:14px;
    }

    .rq-steps{
        margin-top:28px;
    }

    .rq-panel{
        max-width:520px;
        width:100%;
        padding:24px;
        border-radius:16px;
        box-sizing:border-box;
    }

    .rq-panel:before{
        left:24px;
        right:24px;
    }
}

@media(max-width:480px){

    .rq-copy h1{
        font-size:38px;
    }

    .rq-copy > p{
        margin-top:17px;
    }

    .rq-step{
        gap:14px;
    }

    .rq-panel{
        padding:21px 18px;
    }

    .rq-panel:before{
        left:18px;
        right:18px;
    }

    .rq-panel__mark{
        width:42px;
        height:42px;
    }
}
