.contact-page-shell {
    position: relative;
    max-width: 1220px;
    margin: 0 auto;
    padding: clamp(116px, 10vw, 148px) 24px 108px;
}

@media only screen and (min-width: 992px) {
    .contact-page-shell {
        min-height: calc(100vh - 156px);
        padding: 133px 24px 0px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.contact-hidden-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 75px;
    height: 80px;
}

.contact-page-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 72px;
}

.contact-hero-mark {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    background: #0171E3;
    box-shadow: 0 22px 44px rgba(1, 113, 227, 0.18);
}

.contact-hero-logo {
    width: 76px;
    max-width: 62%;
    height: auto;
    display: block;
}

.contact-hero-title {
    margin: 0;
    color: #09090b;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 60px;
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.contact-hero-subtitle {
    margin: 16px 0 0;
    color: #3f3f46;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.contact-quick-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 96px;
}

.contact-quick-link {
    min-height: 184px;
    padding: 60px 28px;
    border: 1px solid #DDDDDD;
    border-radius: 27px;
    background: #FAFAFA 0% 0% no-repeat padding-box;
    box-shadow: 0px 7px 13px #00000019;
    opacity: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-decoration: none !important;
    appearance: none;
    width: 100%;
    cursor: pointer;
    text-align: center;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-quick-link:hover,
.contact-quick-link:focus-visible {
    transform: translateY(-4px);
    border-color: #c7d2fe;
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.07);
    outline: none;
}

.contact-quick-link-icon {
    width: 68px;
    height: 68px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.contact-quick-link-label-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #005AB5;
}

.contact-quick-link-label {
    color: inherit;
    text-align: center;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 16px;
    font-weight: 400;
    /* line-height: 1.35; */
}

.contact-quick-link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-quick-link-arrow svg {
    width: 18px;
    height: 18px;
    display: block;
}

body.contact-modal-open {
    overflow: hidden;
}

.contact-modal[hidden] {
    display: none;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: grid;
    place-items: center;
    padding: 16px;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(10px);
}

.contact-modal-dialog {
    position: relative;
    z-index: 1;
    isolation: isolate;
    width: 486px;
    height: 474px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    margin: 0;
    padding: 40px 55px 20px;
    border-radius: 28px;
    background: #050505;
    box-shadow: 0 26px 80px rgba(15, 23, 42, 0.28);
    overflow-y: auto;
}

.contact-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    opacity: 0.9;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.contact-modal-close span {
    font-size: 24px;
    line-height: 1;
}

.contact-modal-close:hover,
.contact-modal-close:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
    outline: none;
}

.contact-modal-icon-shell {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-modal-icon {
    width: 54px;
    height: 54px;
    filter: brightness(0) invert(1);
}

.contact-modal-title {
    margin: 0 0 18px;
    color: #ffffff;
    text-align: center;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.contact-modal[aria-hidden="false"] .contact-modal-icon-shell,
.contact-modal[aria-hidden="false"] .contact-modal-title {
    animation: contactModalFadeUp 280ms ease-out both;
}

.contact-partners-list {
    display: grid;
    gap: 10px;
}

.contact-partner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: #1c1c1c;
}

.contact-modal[aria-hidden="false"] .contact-partner-row {
    animation: contactPartnerDropIn 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-modal[aria-hidden="false"] .contact-partner-row:nth-child(1) {
    animation-delay: 80ms;
}

.contact-modal[aria-hidden="false"] .contact-partner-row:nth-child(2) {
    animation-delay: 150ms;
}

.contact-modal[aria-hidden="false"] .contact-partner-row:nth-child(3) {
    animation-delay: 220ms;
}

.contact-modal[aria-hidden="false"] .contact-partner-row:nth-child(4) {
    animation-delay: 290ms;
}

.contact-partner-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
}

.contact-partner-flag {
    display: block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 4px;
}

.contact-partner-text {
    min-width: 0;
}

.contact-partner-name {
    color: #ffffff;
    font-family: "SF Pro Text", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.25;
}

.contact-partner-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 126px;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid #59d870;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.08);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none !important;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.contact-partner-whatsapp:hover,
.contact-partner-whatsapp:focus-visible {
    transform: translateY(-1px);
    background: rgba(37, 211, 102, 0.16);
    border-color: #7ae48e;
    color: #ffffff !important;
    outline: none;
}

.contact-partner-whatsapp-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

@keyframes contactModalFadeUp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contactPartnerDropIn {
    from {
        opacity: 0;
        transform: translateY(-18px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-modal[aria-hidden="false"] .contact-modal-icon-shell,
    .contact-modal[aria-hidden="false"] .contact-modal-title,
    .contact-modal[aria-hidden="false"] .contact-partner-row {
        animation: none;
    }

    .contact-quick-link,
    .contact-partner-whatsapp,
    .contact-modal-close {
        transition: none;
    }
}

.contact-form-section {
    scroll-margin-top: 120px;
}

.contact-form-intro {
    max-width: 640px;
    margin: 0 auto 28px;
    text-align: center;
}

.contact-form-eyebrow {
    margin: 0 0 12px;
    color: #0071e3;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contact-form-intro h2 {
    margin: 0;
    color: #09090b;
    font-family: "SF Pro Display", "SF Pro Icons", "AOS Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.contact-form-copy {
    margin: 14px 0 0;
    color: #52525b;
    font-size: 18px;
    line-height: 1.55;
}

.contact-form-panel {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid #eceef2;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.08);
}

.contact-form-errors {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.contact-form-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff1f2;
    color: #be123c;
    font-size: 14px;
    line-height: 1.5;
}

.contact-form-error i {
    margin-top: 3px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
}

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

.contact-form-panel .cm-input-group input.cm-form-control,
.contact-form-panel .cm-input-group select.cm-form-control {
    min-height: 58px;
    padding: 18px 18px 10px;
    border: 1px solid #d7dbe1;
    border-radius: 18px;
    color: #18181b;
    font-size: 16px;
    background-color: #ffffff;
}

.contact-form-panel .cm-input-group input.cm-form-control::placeholder,
.contact-form-panel .cm-input-group select.cm-form-control:invalid,
.contact-form-panel .cm-input-group select.cm-form-control option[value=""] {
    font-size: 16px;
    color: #9ca3af;
}

.contact-form-panel .cm-input-group input.cm-form-control ~ label.cm-input-label,
.contact-form-panel .cm-input-group select.cm-form-control ~ label.cm-input-label {
    left: 15px;
    font-size: 12px;
    font-weight: 600;
}

.contact-form-panel .cm-form-control-error {
    position: static;
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
    margin-top: 8px;
    color: #e23f3f;
    font-size: 13px;
    line-height: 1.45;
}

.contact-form-actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.contact-form-actions button.cm-button-primary {
    min-width: 180px;
    padding: 14px 38px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 16px 30px rgba(0, 113, 227, 0.2);
}

@media only screen and (max-width: 991.98px) {
    .contact-page-shell {
        padding: 110px 20px 88px;
    }

    .contact-hero-title {
        font-size: 56px;
    }

    .contact-quick-links {
        grid-template-columns: 1fr;
        margin-bottom: 72px;
    }

    .contact-quick-link {
        min-height: 168px;
    }

    .contact-form-panel {
        padding: 34px 24px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-field--full {
        grid-column: auto;
    }

    .contact-modal-dialog {
        width: 486px;
        height: 474px;
        padding: 24px 55px 18px;
    }

    .contact-partner-name {
        font-size: 20px;
    }
}

@media only screen and (max-width: 767.98px) {
    .contact-page-shell {
        padding: 98px 16px 72px;
    }

    .contact-page-hero {
        margin-bottom: 56px;
    }

    .contact-hero-mark {
        width: 110px;
        height: 110px;
        margin-bottom: 24px;
    }

    .contact-hero-logo {
        width: 62px;
    }

    .contact-hero-title {
        font-size: 30px;
    }

    .contact-hero-subtitle {
        font-size: 18px;
    }

    .contact-quick-links {
        gap: 18px;
        margin-bottom: 56px;
    }

    .contact-quick-link {
        min-height: 156px;
        padding: 28px 22px 24px;
        border-radius: 24px;
    }

    .contact-quick-link-icon {
        width: 56px;
        height: 56px;
    }

    .contact-quick-link-label {
        font-size: 18px;
    }

    .contact-form-intro h2 {
        font-size: 34px;
    }

    .contact-form-copy {
        font-size: 16px;
    }

    .contact-form-panel {
        padding: 26px 18px;
        border-radius: 26px;
    }

    .contact-form-panel .cm-input-group input.cm-form-control,
    .contact-form-panel .cm-input-group select.cm-form-control {
        min-height: 54px;
        padding: 16px 16px 8px;
        border-radius: 16px;
        font-size: 15px;
    }

    .contact-form-actions {
        margin-top: 24px;
    }

    .contact-form-actions button.cm-button-primary {
        width: 100%;
    }

    .contact-modal-dialog {
        width: min(486px, calc(100vw - 24px));
        height: auto;
        min-height: 0;
        max-height: calc(100vh - 24px);
        padding: 22px 22px 16px;
        border-radius: 22px;
    }

    .contact-modal-close {
        top: 8px;
        right: 8px;
    }

    .contact-modal-icon {
        width: 48px;
        height: 48px;
    }

    .contact-modal-title {
        margin-bottom: 20px;
        padding: 0 20px;
        font-size: 20px;
    }

    .contact-partners-list {
        gap: 10px;
    }

    .contact-partner-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
    }

    .contact-partner-name {
        font-size: 18px;
    }

    .contact-partner-whatsapp {
        width: 100%;
        min-width: 0;
        font-size: 16px;
    }
}
