.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1f6fff;
}

.section-heading h2 {
    margin: 0 0 14px;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 800;
    color: #111827;
}

.section-heading p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #5f6b7a;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-toast {
    position: fixed;
    top: 114px;
    right: 24px;
    z-index: 3200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(420px, calc(100% - 32px));
    padding: 18px 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-toast--success {
    background: rgba(220, 252, 231, 0.94);
    border: 1px solid rgba(134, 239, 172, 0.8);
    color: #166534;
}

.site-toast--error {
    background: rgba(254, 226, 226, 0.95);
    border: 1px solid rgba(248, 113, 113, 0.7);
    color: #991b1b;
}

.site-toast.is-hidden {
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
}

.site-toast__close {
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: inherit;
    cursor: pointer;
}

.callback-section {
    padding: 0;
}

    .callback-section .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

.callback-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    padding: 30px;
}
    .callback-card.glass-panel {
        display: grid;
        width: 100%;
        max-width: 1180px;
        margin: 0 auto;
        grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
        align-items: start;
        gap: 38px;
        padding: 34px;
        border-radius: 32px;
        border: 1px solid rgba(255, 255, 255, 0.72);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 252, 0.80) 100%);
        box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

.callback-card__content {
    padding: 36px 34px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(244, 247, 252, 0.92) 0%, rgba(255, 255, 255, 0.74) 100%);
    border: 1px solid rgba(215, 223, 236, 0.82);
}

    .callback-card__content h2 {
        margin: 0 0 18px;
        max-width: 560px;
        font-size: clamp(40px, 4vw, 62px);
        line-height: 0.98;
        letter-spacing: -0.04em;
        color: #0f172a;
        font-weight: 800;
    }

    .callback-card__content p {
        margin: 0 0 26px;
        max-width: 560px;
        font-size: 18px;
        line-height: 1.78;
        color: #5b6576;
    }

    .callback-card__content .section-heading__eyebrow {
        margin-bottom: 14px;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: #1f6fff;
    }

.callback-benefits {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 18px;
    max-width: 560px;
}

    .callback-benefits li {
        position: relative;
        padding-left: 24px;
        font-size: 17px;
        line-height: 1.72;
        color: #243041;
    }

        .callback-benefits li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 10px;
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: linear-gradient(180deg, #4f8dff 0%, #1f6fff 100%);
            box-shadow: 0 0 0 4px rgba(31, 111, 255, 0.12);
        }

.callback-form {
    display: grid;
    align-content: start;
    gap: 18px;
    padding: 8px 4px 0 0;
}

.callback-form__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.page-form,
.service-cta-form {
    display: grid;
    gap: 16px;
}

.page-form__grid,
.service-cta-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: grid;
    gap: 10px;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #667085;
}

.form-control,
.form-select,
.form-textarea,
.form-file,
.service-cta-form input,
.service-cta-form textarea {
    width: 100%;
    max-width: 100%;
    min-height: 60px;
    padding: 0 20px;
    border-radius: 18px;
    border: 1px solid rgba(203, 213, 225, 0.78);
    background: rgba(255, 255, 255, 0.90);
    box-sizing: border-box;
    color: #111827;
    font: inherit;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

    .form-control::placeholder,
    .form-textarea::placeholder {
        color: #98a2b3;
    }

    .form-control:focus,
    .form-select:focus,
    .form-textarea:focus,
    .service-cta-form input:focus,
    .service-cta-form textarea:focus {
        outline: none;
        border-color: rgba(31, 111, 255, 0.58);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 0 0 4px rgba(31, 111, 255, 0.12), 0 14px 30px rgba(15, 23, 42, 0.06);
    }
.form-textarea,
.service-cta-form textarea {
    min-height: 190px;
    padding: 18px 20px;
    resize: vertical;
}

.form-file {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px dashed rgba(31, 111, 255, 0.35);
    background: rgba(255, 255, 255, 0.58);
    color: #4b5563;
    font: inherit;
}

.form-note {
    max-width: 320px;
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: #667085;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 20px;
    flex-wrap: wrap;
    padding-top: 6px;
}

    .form-actions .glass-button {
        min-height: 56px;
        padding: 0 30px;
        border-radius: 999px;
        border: none;
        font-weight: 800;
        cursor: pointer;
        box-shadow: 0 18px 34px rgba(31, 111, 255, 0.22);
    }

.service-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #475467;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #475467;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.76);
    border: 1px solid rgba(226, 232, 240, 0.94);
}

.service-checkbox input,
.form-checkbox input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
    .form-checkbox input {
        margin-top: 4px;
    }

.form-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.form-meta__item {
    display: inline-flex;
    align-items: center;
    text-align: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.22);
    font-size: 14px;
    font-weight: 700;
    color: #334155;
}

.callback-card__content,
.callback-form,
.callback-form__grid,
.form-group,
.form-group--full {
    min-width: 0;
}

.form-textarea {
    display: block;
}

.form-checkbox {
    width: 100%;
    box-sizing: border-box;
}

    .form-checkbox span,
    .form-note,
    .form-group label {
        overflow-wrap: anywhere;
    }

@media (max-width: 1200px) {
    .callback-card {
        grid-template-columns: 1fr;
    }
        .callback-card .glass-panel {
            grid-template-columns: 1fr;
            gap: 24px;
        }

    .callback-card__content {
        padding: 30px 28px;
    }

    .callback-form {
        padding-top: 0;
    }
}

@media (max-width: 1100px) {
    .callback-card.glass-panel {
        grid-template-columns: 1fr;
    }

    .callback-card__content {
        padding: 28px 24px;
    }

    .callback-form {
        padding: 0;
    }
}

@media (max-width: 820px) {
    .callback-form__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-heading h2 {
        font-size: 32px;
    }

    .site-toast {
        top: 96px;
        right: 16px;
        left: 16px;
        width: auto;
    }

    .callback-modal {
        align-items: flex-start;
        padding: 16px 12px;
    }

    .callback-modal__inner {
        width: 100%;
    }

    .callback-card.glass-panel {
        padding: 18px;
        border-radius: 24px;
    }

    .callback-card__content {
        padding: 22px 18px;
        border-radius: 20px;
    }

        .callback-card__content h2 {
            font-size: 38px;
            line-height: 1.04;
        }

        .callback-card__content p {
            font-size: 16px;
            line-height: 1.72;
        }

    .form-meta__item {
        width: 100%;
        justify-content: center;
    }

    .form-actions {
        align-items: stretch;
    }

        .form-actions.glass-button {
            width: 100%;
            justify-content: center;
        }

    .form-note {
        max-width: none;
    }

    .callback-form__grid,
    .page-form__grid,
    .service-cta-form__grid {
        grid-template-columns: 1fr;
    }
}

.form-checkbox a {
    color: #1f6fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-checkbox a:hover {
    color: #1559d6;
}

/* RESPONSIVE FIX: text wrapping and form controls on narrow screens */
.section-heading,
.callback-card,
.callback-card__content,
.callback-form,
.form-actions,
.form-checkbox {
    min-width: 0;
}

.section-heading h1,
.section-heading h2,
.callback-card__content h2,
.callback-card__content p,
.callback-benefits li,
.form-checkbox span,
.form-note,
.form-group label {
    overflow-wrap: anywhere;
}

@supports (text-wrap: balance) {
    .section-heading h2,
    .callback-card__content h2 {
        text-wrap: balance;
    }
}

@media (max-width: 768px) {
    .section-heading {
        margin-bottom: 22px;
    }

    .section-heading h2 {
        font-size: clamp(28px, 8vw, 34px);
        line-height: 1.12;
        letter-spacing: -0.02em;
    }

    .section-heading p {
        font-size: 16px;
        line-height: 1.65;
    }

    .callback-card,
    .callback-card.glass-panel {
        width: 100%;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .callback-card__content h2 {
        font-size: clamp(30px, 8vw, 38px);
        line-height: 1.08;
        letter-spacing: -0.03em;
    }

    .callback-form__grid,
    .page-form__grid,
    .service-cta-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }

    .form-actions .glass-button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .form-control,
    .form-select,
    .form-textarea,
    .form-file,
    .service-cta-form input,
    .service-cta-form textarea {
        min-height: 54px;
        padding-inline: 16px;
        border-radius: 16px;
    }

    .form-textarea,
    .service-cta-form textarea {
        min-height: 160px;
        padding-block: 16px;
    }
}

@media (max-width: 480px) {
    .glass-button {
        min-height: 50px;
        padding-inline: 18px;
        text-align: center;
    }
}
