.result-query{
    --navy:#272625;
    --navy-dark:#191918;
    --red:#d9511b;
    --muted:#8d8985;

    min-height:70vh;
    background:#f9f8f8;
    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:#8b8884;
    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:#8a8683;
    font-size:15px;
    line-height:1.7;
}


/* STEPS */

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

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

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

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

.rq-step strong{
    color:#8b5641;
    font-size:12px;
}

.rq-step span{
    color:#9c9996;
    font-size:11px;
}


/* PANEL */

.rq-panel{
    position:relative;
    padding:31px;
    border:1px solid #e7e6e5;
    border-radius:20px;
    background:#fff;
    box-shadow:
        0 25px 60px rgba(39,38,37,.10),
        0 3px 8px rgba(39,38,37,.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 #f1f0f0;
}

.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:#6a6663;
    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:#9b9895;
    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 #e3e2e1;
    border-radius:11px;
    outline:none;
    background:#fbfbfa;
    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:#b2b0ad;
    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:#b94f25;
    font-size:11px;
    font-weight:700;
}

.rq-message{
    margin-top:20px;
    padding:12px 14px;
    border:1px solid #e5e4e4;
    border-radius:9px;
    background:#faf9f8;
    color:#7a7673;
    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 #f1f0f0;
}

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

.rq-privacy p{
    margin:0;
    color:#9d9a97;
    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;
    }
}
