.get-in-touch__card-group {
    display: contents;
}

.get-in-touch__card {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 630px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 38px;
    padding: 48px;
    background: var(--color-bg-white);
    border-radius: 32px;
}

.get-in-touch__card[hidden] {
    display: none;
}

.get-in-touch__card--state {
    justify-content: center;
    min-height: 460px;
    text-align: center;
}

.get-in-touch__form-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.get-in-touch__form-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--color-dark-graphite);
}

.get-in-touch__form-subtitle {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.get-in-touch__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
    width: 100%;
}

.get-in-touch__field .input-control {
    height: 48px;
    border-radius: 10px;
    font-size: 14px;
}

.get-in-touch__field .input-control--phone {
    padding-left: 88px;
}

.get-in-touch__field .input-field-label {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.75;
    color: var(--color-text-primary);
}

.get-in-touch__actions {
    display: flex;
    justify-content: center;
}

.get-in-touch__submit {
    min-width: 242px;
}

.get-in-touch__consent {
    margin: 0;
    max-width: 480px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.get-in-touch__consent-link {
    color: var(--color-text-muted);
    font-weight: 500;
    text-decoration: underline;
}

.get-in-touch__consent-link:hover {
    color: var(--color-primary);
}

.get-in-touch__loader {
    width: 96px;
    height: 96px;
    animation: get-in-touch-spin 1s steps(8, end) infinite;
}

@keyframes get-in-touch-spin {
    to {
        transform: rotate(360deg);
    }
}

.get-in-touch__state-icon {
    width: 100px;
    height: 100px;
}

.get-in-touch__state-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--color-dark-graphite);
}

.get-in-touch__state-title--lg {
    font-size: 32px;
    line-height: 1.2;
}

.get-in-touch__state-subtitle {
    margin: 0;
    max-width: 480px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.get-in-touch__state-subtitle--bold {
    font-weight: 700;
}

.get-in-touch__retry {
    margin-top: 8px;
}

@media (max-width: 1300px) {
    .get-in-touch__card {
        width: 560px;
        padding: 40px;
    }
}

@media (max-width: 991px) {
    .get-in-touch__card {
        width: 100%;
        padding: 26px 16px;
        border-radius: 14px;
        gap: 24px;
    }

    .get-in-touch__card--state {
        min-height: 360px;
    }

    .get-in-touch__form-title {
        font-size: 24px;
    }

    .get-in-touch__form-subtitle {
        font-size: 12px;
    }

    .get-in-touch__fields {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .get-in-touch__field .input-control {
        height: 42px;
        border-radius: 8px;
        font-size: 12px;
    }

    .get-in-touch__field .input-control--phone {
        padding-left: 78px;
    }

    .get-in-touch__field .input-field-label {
        font-size: 12px;
    }

    .get-in-touch__submit {
        width: 280px;
        max-width: 100%;
        min-width: 0;
        height: 48px;
        padding: 0 28px;
        gap: 4px;
        font-size: 14px;
    }

    .get-in-touch__consent {
        font-size: 10px;
    }

    .get-in-touch__state-icon {
        width: 64px;
        height: 64px;
    }

    .get-in-touch__state-title {
        font-size: 20px;
    }

    .get-in-touch__state-title--lg {
        font-size: 24px;
    }

    .get-in-touch__state-subtitle {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .get-in-touch__loader {
        animation: none;
    }
}
