﻿ 
.contact-main {
    background: #f4f5f7;
    padding: 72px 0 90px;
    overflow-x: clip;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

.contact-panel {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    display: grid;
    grid-template-columns: minmax(280px, 38%) minmax(420px, 1fr);
    gap: 0;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(7, 26, 46, 0.08);
}

.contact-panel > * {
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 52px 42px 44px 46px;
    color: #ffffff;
    background: #001324;
    border-right: 2px dotted rgba(255, 255, 255, 0.22);
}

.contact-info-title {
    font-size: 38px;
    line-height: 1.02;
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.contact-info-title strong {
    display: block;
    font-weight: 400;
}

.contact-info-copy {
    margin: 14px 0 24px;
    font-size: 16px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.56);
}

.contact-info-list {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.38;
    color: rgba(255, 255, 255, 0.95);
}

.contact-info-item img {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    object-fit: contain;
}

.contact-info-item a {
    color: inherit;
    text-decoration: none;
}

.contact-hours-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.contact-hours-copy {
    margin: 4px 0 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.35;
}

.contact-form-wrap {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 52px 46px 44px 48px;
    color: #ffffff;
    background-color: #001324;
    background:
        linear-gradient(rgba(0, 19, 36, 0.1), rgba(0, 19, 36, 0.1)),
        url('../images/about-pattern.png'),
        #001324;
    background-position: center, center, center;
    background-size: cover, cover, auto;
    background-repeat: no-repeat, no-repeat, no-repeat;
}

.contact-form-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.28;
    pointer-events: none;
    background:
        radial-gradient(1200px 220px at 50% -40px, rgba(126, 183, 255, 0.35) 1px, transparent 2px) 0 0 / 100% 64px,
        radial-gradient(1200px 220px at 50% 140px, rgba(126, 183, 255, 0.35) 1px, transparent 2px) 0 0 / 100% 64px;
}

.contact-form-wrap > * {
    position: relative;
    z-index: 1;
}

.contact-form-title {
    margin: 0 0 28px;
    font-size: 46px;
    line-height: 1.12;
    font-weight: 400;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-align: center;
    max-width: 100%;
}

.contact-form .form-group label {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
    font-size: 13px;
    margin-bottom: 6px;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    background: #ffffff;
    border: none;
    color: #0e1a2a;
    font-size: 14px;
    min-height: 40px;
    border-radius: 10px;
    padding: 10px 14px;
}

.contact-form .form-group textarea {
    min-height: 78px;
    border-radius: 10px;
    resize: vertical;
}

.contact-form .form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact-form-disclaimer {
    margin: 8px 2px 0;
    font-size: 11px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.72);
}

.contact-form .g-recaptcha {
    transform-origin: left top;
}

.contact-form .form-group.contact-form-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
}

.contact-form .form-group.contact-form-actions .g-recaptcha {
    margin: 0;
    flex: 0 0 auto;
}

.contact-form .form-group.contact-form-actions .contact-submit-btn {
    margin: 0 0 0 auto;
    flex: 0 0 auto;
}

.contact-form .form-honeypot {
    display: none;
}

.contact-form .form-status {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
}

.contact-submit-btn {
    min-width: 128px;
    border: none;
    border-radius: 999px;
    background: #f03c3c;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    padding: 11px 22px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.contact-submit-btn:hover {
    opacity: 0.92;
}

.contact-submit-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-map-intro {
    background: #001324;
    color: #ffffff;
    padding: 70px 0 76px;
}

.contact-map-intro .reach-header {
    margin-bottom: 0;
}

.contact-map-intro .reach-label span,
.contact-map-intro .reach-title {
    color: #ffffff;
}

.contact-map-intro .reach-title {
    margin-bottom: 18px;
}

.contact-map-btn {
    margin-top: 2px;
}

.contact-map-frame {
    width: 100%;
    border: 0;
    min-height: 650px;
    display: block;
}

@media (max-width: 1200px) {
    .contact-container {
        padding: 0 40px;
    }

    .contact-info {
        padding: 40px 32px 40px 34px;
    }

    .contact-form-wrap {
        padding: 40px 34px;
    }

    .contact-info-title,
    .contact-form-title {
        font-size: 40px;
    }

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

    .contact-info-item {
        font-size: 16px;
    }

    .contact-hours-title {
        font-size: 17px;
    }

    .contact-hours-copy {
        font-size: 15px;
    }

}

@media (max-width: 960px) {
    .contact-main {
        padding: 56px 0 72px;
    }

    .contact-container {
        padding: 0 22px;
    }

    .contact-panel {
        grid-template-columns: 1fr;
        gap: 36px;
        border-radius: 22px;
        gap: 0;
    }

    .contact-info {
        padding: 28px 22px;
        border-right: 0;
        border-bottom: 2px dotted rgba(255, 255, 255, 0.22);
    }

    .contact-form-wrap {
        margin-top: 0;
        min-width: 0;
        padding: 28px 22px;
    }

    .contact-info-title,
    .contact-form-title {
        font-size: 34px;
    }

    .contact-info-copy {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .contact-info-list {
        gap: 12px;
        margin-bottom: 24px;
    }

    .contact-info-item {
        font-size: 15px;
    }

    .contact-hours-title {
        font-size: 16px;
    }

    .contact-hours-copy {
        font-size: 15px;
    }

    .contact-form-title {
        margin-bottom: 22px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .contact-form .g-recaptcha {
        transform: scale(0.88);
        transform-origin: left top;
    }

    .contact-form .form-group.contact-form-actions {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .contact-form .form-group.contact-form-actions .contact-submit-btn {
        margin-left: 0;
    }

    .contact-form .form-row,
    .contact-form .form-group,
    .contact-form .form-group input,
    .contact-form .form-group select,
    .contact-form .form-group textarea {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .contact-map-intro {
        padding: 50px 0 56px;
    }

    .contact-map-intro .reach-title {
        font-size: 42px;
    }

    .contact-map-btn {
        margin-top: 4px;
    }

    .contact-map-frame {
        min-height: 460px;
    }
}
