.gqf-section,
.gqf-section * {
    box-sizing: border-box;
}

.gqf-section {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(44px, 6vw, 72px) clamp(20px, 5vw, 72px);
    display: grid;
    grid-template-columns: minmax(360px, 0.8fr) minmax(420px, 680px);
    gap: clamp(40px, 7vw, 86px);
    align-items: start;
    color: #17233a;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gqf-copy {
    padding-top: 2px;
}

.gqf-eyebrow,
.gqf-field span {
    margin: 0;
    color: #66758d;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3.2px;
    line-height: 1.4;
}

.gqf-heading {
    max-width: 520px;
    margin: 16px 0 36px;
    color: #202a3f;
    font-size: clamp(34px, 3.5vw, 44px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
}

.gqf-phone {
    margin: 0;
    color: #102640;
    font-size: clamp(22px, 2.1vw, 28px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
}

.gqf-form {
    width: 100%;
    margin: 0;
    padding: clamp(26px, 3vw, 38px);
    background: #f9fbff;
    border: 1px solid #dce6f3;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(31, 47, 76, 0.07);
}

.gqf-form-title {
    margin: 0 0 22px;
    color: #202a3f;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 3.2px;
    line-height: 1.3;
}

.gqf-field {
    display: block;
    margin: 0 0 20px;
}

.gqf-field span {
    display: block;
    margin: 0 0 8px;
}

.gqf-field input,
.gqf-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 16px;
    color: #17233a;
    background: #fff;
    border: 1px solid #dbe4ef;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(26, 45, 74, 0.08);
    font: 500 16px/1.4 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.gqf-field textarea {
    min-height: 118px;
    resize: vertical;
}

.gqf-field input:focus,
.gqf-field textarea:focus {
    border-color: #4388f4;
    box-shadow: 0 0 0 4px rgba(67, 136, 244, 0.14);
}

.gqf-submit {
    width: 100%;
    min-height: 46px;
    margin-top: 14px;
    color: #fff;
    background: linear-gradient(90deg, #5aa5f7 0%, #397df0 100%);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 4px;
    line-height: 1;
    text-align: center;
    transition: transform 160ms ease, filter 160ms ease;
}

.gqf-submit:hover,
.gqf-submit:focus {
    filter: brightness(0.98);
    transform: translateY(-1px);
}

.gqf-submit:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.gqf-message {
    min-height: 22px;
    margin: 16px 0 0;
    color: #17233a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.gqf-message.is-success {
    color: #116a3a;
}

.gqf-message.is-error {
    color: #b42318;
}

.gqf-hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 900px) {
    .gqf-section {
        grid-template-columns: 1fr;
        max-width: 720px;
        gap: 30px;
    }

    .gqf-heading {
        margin-bottom: 20px;
    }
}

@media (max-width: 560px) {
    .gqf-section {
        padding: 36px 16px;
    }

    .gqf-eyebrow {
        max-width: 260px;
    }

    .gqf-heading {
        font-size: 32px;
    }

    .gqf-phone {
        font-size: 22px;
    }

    .gqf-eyebrow,
    .gqf-field span,
    .gqf-form-title,
    .gqf-submit {
        letter-spacing: 2px;
    }

    .gqf-form {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .gqf-form-title {
        font-size: 14px;
    }

    .gqf-field {
        margin-bottom: 17px;
    }

    .gqf-field input,
    .gqf-submit {
        min-height: 44px;
    }

    .gqf-field textarea {
        min-height: 106px;
    }
}
