/* =========================================================
   BEYONDWAFER — PREMIUM CONTACT SECTION
   File: contact-section.css
   ========================================================= */

/* ---------------------------------------------------------
   1. Component variables
--------------------------------------------------------- */
:root {
    --contact-primary: #0a84ff;
    --contact-primary-strong: #0070e8;
    --contact-primary-soft: rgba(10, 132, 255, 0.14);
    --contact-primary-glow: rgba(10, 132, 255, 0.32);

    --contact-bg: #07111f;
    --contact-bg-deep: #030914;
    --contact-surface: rgba(10, 22, 38, 0.78);
    --contact-surface-strong: rgba(8, 18, 31, 0.94);
    --contact-surface-soft: rgba(255, 255, 255, 0.04);

    --contact-text: #f7fbff;
    --contact-text-muted: #aebed0;
    --contact-text-subtle: #8394a8;

    --contact-border: rgba(255, 255, 255, 0.12);
    --contact-border-strong: rgba(10, 132, 255, 0.42);

    --contact-success: #2dd4a8;
    --contact-error: #ff6b7a;

    --contact-radius-xl: 32px;
    --contact-radius-lg: 24px;
    --contact-radius-md: 16px;
    --contact-radius-sm: 12px;

    --contact-shadow-xl:
        0 32px 90px rgba(0, 0, 0, 0.44),
        0 12px 34px rgba(0, 0, 0, 0.24);

    --contact-shadow-button:
        0 14px 30px rgba(10, 132, 255, 0.28);

    --contact-container: 1240px;
}

/* ---------------------------------------------------------
   2. Safe local reset
--------------------------------------------------------- */
.contact-cta,
.contact-cta *,
.contact-modal,
.contact-modal * {
    box-sizing: border-box;
}

.contact-cta img,
.contact-modal img {
    display: block;
    max-width: 100%;
}

.contact-cta button,
.contact-modal button,
.contact-modal input,
.contact-modal select,
.contact-modal textarea {
    font: inherit;
}

/* ---------------------------------------------------------
   3. Main section
--------------------------------------------------------- */
.contact-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: min(calc(100% - 32px), var(--contact-container));
    min-height: 610px;
    margin: 72px auto;
    border: 1px solid var(--contact-border);
    border-radius: var(--contact-radius-xl);
    background:
        radial-gradient(
            circle at 76% 48%,
            rgba(10, 132, 255, 0.18),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            rgba(5, 13, 24, 0.98) 0%,
            rgba(7, 20, 36, 0.98) 48%,
            rgba(3, 10, 20, 0.99) 100%
        );
    box-shadow: var(--contact-shadow-xl);
}

.contact-cta__background {
    position: absolute;
    inset: 0;
    z-index: -5;
    background-image:
        linear-gradient(
            90deg,
            rgba(3, 9, 20, 0.96) 0%,
            rgba(3, 9, 20, 0.78) 38%,
            rgba(3, 9, 20, 0.36) 100%
        ),
        url("./assets/contact/contact-background.webp");
    background-position: center;
    background-size: cover;
    opacity: 0.9;
}

.contact-cta__circuit-overlay {
    position: absolute;
    inset: 0;
    z-index: -4;
    background-image: url("./assets/contact/circuit-overlay.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.56;
    pointer-events: none;
}

.contact-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(
            90deg,
            rgba(3, 9, 20, 0.98) 0%,
            rgba(3, 9, 20, 0.76) 43%,
            rgba(3, 9, 20, 0.22) 100%
        );
    pointer-events: none;
}

.contact-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    border-radius: inherit;
    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.06),
            transparent 28%,
            transparent 72%,
            rgba(10, 132, 255, 0.08)
        );
    pointer-events: none;
}

/* ---------------------------------------------------------
   4. Decorative glows
--------------------------------------------------------- */
.contact-cta__glow {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(18px);
    pointer-events: none;
}

.contact-cta__glow--one {
    top: -110px;
    right: 120px;
    width: 320px;
    height: 320px;
    background: rgba(10, 132, 255, 0.16);
}

.contact-cta__glow--two {
    bottom: -130px;
    left: 90px;
    width: 260px;
    height: 260px;
    background: rgba(0, 112, 232, 0.12);
}

/* ---------------------------------------------------------
   5. Inner layout
--------------------------------------------------------- */
.contact-cta__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
    align-items: center;
    min-height: 610px;
    padding: 72px 72px 64px;
}

.contact-cta__content {
    position: relative;
    z-index: 3;
    max-width: 680px;
}

.contact-cta__eyebrow,
.contact-modal__eyebrow {
    margin: 0 0 16px;
    color: #73b8ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.contact-cta__title {
    max-width: 760px;
    margin: 0;
    color: var(--contact-text);
    font-size: clamp(3rem, 5vw, 5.6rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 0.98;
    text-wrap: balance;
}

.contact-cta__title span {
    display: block;
    margin-top: 8px;
    color: #75baff;
    text-shadow: 0 0 28px rgba(10, 132, 255, 0.26);
}

.contact-cta__accent-line {
    width: 72px;
    height: 3px;
    margin: 28px 0 24px;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            var(--contact-primary),
            rgba(10, 132, 255, 0.22)
        );
    box-shadow: 0 0 20px rgba(10, 132, 255, 0.34);
}

.contact-cta__description {
    max-width: 610px;
    margin: 0;
    color: var(--contact-text-muted);
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.75;
}

/* ---------------------------------------------------------
   6. CTA button
--------------------------------------------------------- */
.contact-cta__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    margin-top: 34px;
    padding: 0 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--contact-primary),
            var(--contact-primary-strong)
        );
    box-shadow: var(--contact-shadow-button);
    cursor: pointer;
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.contact-cta__button::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -35%;
    width: 42%;
    height: 340%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.28),
            transparent
        );
    transform: rotate(22deg);
    transition: left 560ms ease;
}

.contact-cta__button:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow:
        0 18px 36px rgba(10, 132, 255, 0.34),
        0 0 28px rgba(10, 132, 255, 0.22);
}

.contact-cta__button:hover::before {
    left: 115%;
}

.contact-cta__button:active {
    transform: translateY(-1px);
}

.contact-cta__button:focus-visible {
    outline: 3px solid rgba(117, 186, 255, 0.44);
    outline-offset: 4px;
}

.contact-cta__button-icon {
    width: 21px;
    height: 21px;
    filter: brightness(0) invert(1);
}

.contact-cta__button-arrow {
    display: inline-block;
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 220ms ease;
}

.contact-cta__button:hover .contact-cta__button-arrow {
    transform: translateX(4px);
}

/* ---------------------------------------------------------
   7. Capability strip
--------------------------------------------------------- */
.contact-cta__capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.contact-cta__capability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    color: #c5d3e3;
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(8px);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease;
}

.contact-cta__capability:hover {
    transform: translateY(-2px);
    border-color: rgba(10, 132, 255, 0.28);
    background: rgba(10, 132, 255, 0.08);
}

.contact-cta__capability img {
    width: 17px;
    height: 17px;
    opacity: 0.88;
    filter:
        invert(48%)
        sepia(99%)
        saturate(2335%)
        hue-rotate(190deg)
        brightness(103%)
        contrast(104%);
}

/* ---------------------------------------------------------
   8. Globe visual
--------------------------------------------------------- */
.contact-cta__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 470px;
}

.contact-cta__visual::before {
    content: "";
    position: absolute;
    width: min(34vw, 470px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(10, 132, 255, 0.2) 0%,
            rgba(10, 132, 255, 0.08) 48%,
            transparent 72%
        );
    filter: blur(16px);
}

.contact-cta__visual::after {
    content: "";
    position: absolute;
    bottom: 42px;
    width: 62%;
    height: 34px;
    border-radius: 50%;
    background: rgba(10, 132, 255, 0.2);
    filter: blur(22px);
}

.contact-cta__globe {
    position: relative;
    z-index: 1;
    width: min(42vw, 560px);
    min-width: 410px;
    transform-origin: center;
    filter:
        drop-shadow(0 0 24px rgba(10, 132, 255, 0.2))
        drop-shadow(0 22px 42px rgba(0, 0, 0, 0.35));
    animation: contact-globe-float 8s ease-in-out infinite;
}

@keyframes contact-globe-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0.001deg);
    }

    50% {
        transform: translate3d(0, -12px, 0) rotate(0.001deg);
    }
}

/* ---------------------------------------------------------
   9. Modal shell
--------------------------------------------------------- */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    transition:
        opacity 220ms ease,
        visibility 220ms ease;
}

.contact-modal[aria-hidden="false"],
.contact-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at center,
            rgba(10, 132, 255, 0.08),
            transparent 45%
        ),
        rgba(1, 6, 14, 0.82);
    backdrop-filter: blur(12px);
    cursor: pointer;
}

.contact-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 680px);
    max-height: min(90vh, 880px);
    overflow-y: auto;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    color: var(--contact-text);
    background:
        linear-gradient(
            145deg,
            rgba(13, 29, 49, 0.98),
            rgba(5, 14, 26, 0.98)
        );
    box-shadow:
        0 36px 100px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(10, 132, 255, 0.04),
        0 0 50px rgba(10, 132, 255, 0.12);
    transform: translateY(24px) scale(0.965);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(10, 132, 255, 0.34) transparent;
}

.contact-modal[aria-hidden="false"] .contact-modal__dialog,
.contact-modal.is-open .contact-modal__dialog {
    transform: translateY(0) scale(1);
}

.contact-modal__dialog::-webkit-scrollbar {
    width: 8px;
}

.contact-modal__dialog::-webkit-scrollbar-track {
    background: transparent;
}

.contact-modal__dialog::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(10, 132, 255, 0.3);
}

/* ---------------------------------------------------------
   10. Modal header and close button
--------------------------------------------------------- */
.contact-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

.contact-modal__close:hover {
    transform: rotate(6deg);
    border-color: rgba(10, 132, 255, 0.28);
    background: rgba(10, 132, 255, 0.1);
}

.contact-modal__close:focus-visible {
    outline: 3px solid rgba(117, 186, 255, 0.4);
    outline-offset: 3px;
}

.contact-modal__close img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.82;
}

.contact-modal__header {
    padding-right: 48px;
}

.contact-modal__eyebrow {
    margin-bottom: 12px;
}

.contact-modal__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.contact-modal__description {
    max-width: 560px;
    margin: 16px 0 0;
    color: var(--contact-text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* ---------------------------------------------------------
   11. Form layout
--------------------------------------------------------- */
.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 34px;
}

.contact-form__group {
    min-width: 0;
}

.contact-form__group:nth-of-type(4),
.contact-form__group:nth-of-type(5) {
    grid-column: 1 / -1;
}

.contact-form__label {
    display: inline-block;
    margin-bottom: 9px;
    color: #dce7f3;
    font-size: 0.87rem;
    font-weight: 600;
}

.contact-form__label span {
    color: #73b8ff;
}

.contact-form__control {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    outline: none;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.045);
    caret-color: var(--contact-primary);
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.contact-form__control::placeholder {
    color: rgba(197, 211, 227, 0.46);
}

.contact-form__control:hover {
    border-color: rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.058);
}

.contact-form__control:focus {
    border-color: rgba(10, 132, 255, 0.7);
    background: rgba(10, 132, 255, 0.07);
    box-shadow:
        0 0 0 4px rgba(10, 132, 255, 0.11),
        0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-form__select {
    appearance: none;
    padding-right: 44px;
    background-image:
        linear-gradient(45deg, transparent 50%, #8dbef5 50%),
        linear-gradient(135deg, #8dbef5 50%, transparent 50%);
    background-position:
        calc(100% - 19px) calc(50% - 2px),
        calc(100% - 14px) calc(50% - 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.contact-form__select option {
    color: #f7fbff;
    background: #0a1728;
}

.contact-form__textarea {
    min-height: 128px;
    padding-top: 14px;
    padding-bottom: 14px;
    resize: vertical;
    line-height: 1.6;
}

.contact-form__control.is-invalid,
.contact-form__control[aria-invalid="true"] {
    border-color: rgba(255, 107, 122, 0.78);
    background: rgba(255, 107, 122, 0.055);
    box-shadow: 0 0 0 4px rgba(255, 107, 122, 0.08);
}

.contact-form__error {
    min-height: 18px;
    margin: 6px 0 0;
    color: var(--contact-error);
    font-size: 0.76rem;
    line-height: 1.35;
}

/* ---------------------------------------------------------
   12. Submit button and privacy line
--------------------------------------------------------- */
.contact-form__submit {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    margin-top: 2px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--contact-primary),
            var(--contact-primary-strong)
        );
    box-shadow: 0 14px 30px rgba(10, 132, 255, 0.22);
    cursor: pointer;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        opacity 180ms ease;
}

.contact-form__submit:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 36px rgba(10, 132, 255, 0.3),
        0 0 24px rgba(10, 132, 255, 0.14);
}

.contact-form__submit:active {
    transform: translateY(0);
}

.contact-form__submit:focus-visible {
    outline: 3px solid rgba(117, 186, 255, 0.42);
    outline-offset: 3px;
}

.contact-form__submit:disabled {
    cursor: wait;
    opacity: 0.66;
    transform: none;
}

.contact-form__submit img {
    width: 19px;
    height: 19px;
    filter: brightness(0) invert(1);
}

.contact-form__privacy {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: -4px 0 0;
    color: var(--contact-text-subtle);
    font-size: 0.78rem;
    line-height: 1.45;
    text-align: center;
}

.contact-form__privacy img {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    opacity: 0.72;
    filter:
        invert(48%)
        sepia(99%)
        saturate(2335%)
        hue-rotate(190deg)
        brightness(103%)
        contrast(104%);
}

/* ---------------------------------------------------------
   13. Success state
--------------------------------------------------------- */
.contact-form-success {
    padding: 52px 24px 20px;
    text-align: center;
}

.contact-form-success[hidden] {
    display: none;
}

.contact-form-success__icon {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    margin: 0 auto 24px;
    border: 1px solid rgba(45, 212, 168, 0.32);
    border-radius: 50%;
    color: #ffffff;
    background:
        radial-gradient(
            circle,
            rgba(45, 212, 168, 0.34),
            rgba(45, 212, 168, 0.12)
        );
    box-shadow: 0 0 30px rgba(45, 212, 168, 0.16);
    font-size: 2rem;
    font-weight: 700;
}

.contact-form-success__title {
    margin: 0;
    color: #ffffff;
    font-size: 2rem;
    letter-spacing: -0.03em;
}

.contact-form-success__message {
    max-width: 470px;
    margin: 14px auto 0;
    color: var(--contact-text-muted);
    line-height: 1.72;
}

.contact-form-success__button {
    min-width: 150px;
    min-height: 48px;
    margin-top: 28px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

.contact-form-success__button:hover {
    transform: translateY(-2px);
    border-color: rgba(10, 132, 255, 0.3);
    background: rgba(10, 132, 255, 0.12);
}

/* ---------------------------------------------------------
   14. Body scroll lock hook used by JS
--------------------------------------------------------- */
body.contact-modal-open {
    overflow: hidden;
}

/* ---------------------------------------------------------
   15. Entrance animations
--------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .contact-cta__content {
        animation: contact-content-enter 700ms ease both;
    }

    .contact-cta__visual {
        animation: contact-visual-enter 900ms ease 100ms both;
    }

    .contact-cta__capability {
        animation: contact-chip-enter 520ms ease both;
    }

    .contact-cta__capability:nth-child(2) {
        animation-delay: 60ms;
    }

    .contact-cta__capability:nth-child(3) {
        animation-delay: 120ms;
    }

    .contact-cta__capability:nth-child(4) {
        animation-delay: 180ms;
    }

    .contact-cta__capability:nth-child(5) {
        animation-delay: 240ms;
    }
}

@keyframes contact-content-enter {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contact-visual-enter {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes contact-chip-enter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------------------------------------------------------
   16. Large desktop
--------------------------------------------------------- */
@media (min-width: 1440px) {
    .contact-cta {
        min-height: 640px;
    }

    .contact-cta__container {
        min-height: 640px;
        padding-right: 82px;
        padding-left: 82px;
    }

    .contact-cta__globe {
        width: 570px;
    }
}

/* ---------------------------------------------------------
   17. Laptop and small desktop
--------------------------------------------------------- */
@media (max-width: 1180px) {
    .contact-cta__container {
        grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.96fr);
        padding: 62px 48px;
    }

    .contact-cta__title {
        font-size: clamp(3rem, 5.4vw, 4.8rem);
    }

    .contact-cta__globe {
        width: min(45vw, 500px);
        min-width: 360px;
    }
}

/* ---------------------------------------------------------
   18. Tablet
--------------------------------------------------------- */
@media (max-width: 920px) {
    .contact-cta {
        min-height: auto;
    }

    .contact-cta__container {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
        padding: 58px 40px 44px;
        text-align: center;
    }

    .contact-cta::before {
        background:
            linear-gradient(
                180deg,
                rgba(3, 9, 20, 0.98) 0%,
                rgba(3, 9, 20, 0.78) 54%,
                rgba(3, 9, 20, 0.38) 100%
            );
    }

    .contact-cta__content {
        max-width: 720px;
        margin: 0 auto;
    }

    .contact-cta__title {
        font-size: clamp(3.2rem, 9vw, 5rem);
    }

    .contact-cta__accent-line {
        margin-right: auto;
        margin-left: auto;
    }

    .contact-cta__description {
        margin-right: auto;
        margin-left: auto;
    }

    .contact-cta__capabilities {
        justify-content: center;
    }

    .contact-cta__visual {
        min-height: 330px;
        margin-top: -6px;
    }

    .contact-cta__globe {
        width: min(70vw, 500px);
        min-width: 0;
    }
}

/* ---------------------------------------------------------
   19. Mobile
--------------------------------------------------------- */
@media (max-width: 640px) {
    .contact-cta {
        width: min(calc(100% - 20px), var(--contact-container));
        margin: 40px auto;
        border-radius: 24px;
    }

    .contact-cta__container {
        gap: 20px;
        padding: 42px 22px 30px;
    }

    .contact-cta__title {
        font-size: clamp(2.5rem, 13vw, 4rem);
        letter-spacing: -0.05em;
    }

    .contact-cta__description {
        font-size: 0.98rem;
        line-height: 1.68;
    }

    .contact-cta__button {
        width: 100%;
        min-height: 56px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .contact-cta__capabilities {
        gap: 8px;
        margin-top: 26px;
    }

    .contact-cta__capability {
        min-height: 36px;
        padding: 7px 11px;
        font-size: 0.76rem;
    }

    .contact-cta__visual {
        min-height: 260px;
    }

    .contact-cta__globe {
        width: min(90vw, 410px);
    }

    .contact-modal {
        padding: 12px;
    }

    .contact-modal__dialog {
        max-height: 94vh;
        padding: 34px 20px 24px;
        border-radius: 22px;
    }

    .contact-modal__close {
        top: 13px;
        right: 13px;
        width: 38px;
        height: 38px;
    }

    .contact-modal__header {
        padding-right: 40px;
    }

    .contact-modal__title {
        font-size: 2rem;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }

    .contact-form__group,
    .contact-form__group:nth-of-type(4),
    .contact-form__group:nth-of-type(5),
    .contact-form__submit,
    .contact-form__privacy {
        grid-column: 1;
    }

    .contact-form__privacy {
        align-items: flex-start;
        text-align: left;
    }
}

/* ---------------------------------------------------------
   20. Very small mobile
--------------------------------------------------------- */
@media (max-width: 390px) {
    .contact-cta__container {
        padding-right: 17px;
        padding-left: 17px;
    }

    .contact-cta__title {
        font-size: 2.42rem;
    }

    .contact-cta__capability {
        font-size: 0.72rem;
    }

    .contact-modal__dialog {
        padding-right: 16px;
        padding-left: 16px;
    }
}

/* ---------------------------------------------------------
   21. Reduced motion support
--------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .contact-cta *,
    .contact-modal * {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---------------------------------------------------------
   22. High-contrast preference
--------------------------------------------------------- */
@media (prefers-contrast: more) {
    .contact-cta,
    .contact-modal__dialog,
    .contact-form__control,
    .contact-cta__capability {
        border-color: rgba(255, 255, 255, 0.3);
    }

    .contact-cta__description,
    .contact-modal__description {
        color: #d2deeb;
    }
}