/* ===== Contact Page - Xay Dung Pham Phung ===== */

.contact-page {
    overflow: hidden;
    background: #f7f8fb;
}

    .contact-page,
    .contact-page * {
        box-sizing: border-box;
    }

.contact-hero {
    position: relative;
    padding: 115px 0 70px;
    background: linear-gradient( 279deg, rgba(2, 37, 82, .92), rgba(3, 42, 90, 0.48)), url(/Design/img/PhamPhung/sp.png) center / cover no-repeat;
    color: #fff;
    isolation: isolate;
    background-size: cover;
}

    .contact-hero::after {
        content: "";
        position: absolute;
        inset: auto -80px -140px auto;
        width: 360px;
        height: 360px;
        border-radius: 50%;
        background: rgba(230, 174, 92, .18);
        filter: blur(8px);
        pointer-events: none;
    }

    .contact-hero .grid.wide {
        position: relative;
        z-index: 1;
    }

.contact-eyebrow,
.contact-info-head span,
.contact-form-head span,
.contact-map-title span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #E6AE5C;
    font-family: 'Inter_24pt-SemiBold';
    font-size: 14px;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: .6px;
}

    .contact-eyebrow::before,
    .contact-info-head span::before,
    .contact-form-head span::before,
    .contact-map-title span::before {
        content: "";
        width: 34px;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, #E6AE5C, rgba(230, 174, 92, .18));
    }

.contact-hero h1 {
    max-width: 100%;
    margin: 0;
    color: #fff;
    font-family: 'Inter_24pt-Bold';
    font-size: clamp(34px, 4.6vw, 40px);
    line-height: 1.12;
}

.contact-hero p {
    max-width: 680px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
    line-height: 1.72;
}

.contact-main {
    padding: 54px 0 64px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(310px, .92fr) minmax(0, 1.18fr);
    gap: 28px;
    align-items: stretch;
}

.contact-info-panel,
.contact-form-panel,
.contact-map-card {
    border: 1px solid rgba(2, 37, 82, .08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(2, 37, 82, .1);
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.contact-info-head {
    padding: 28px 28px 8px;
}

    .contact-info-head h2,
    .contact-map-title h2 {
        margin: 0;
        color: #022552;
        font-family: 'Inter_24pt-Bold';
        font-size: 28px;
        line-height: 1.25;
    }

.contact-info-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 18px 28px 28px;
    list-style: none;
}

    .contact-info-list li,
    .contact-info-list p {
        display: flex;
        align-items: flex-start;
        min-width: 0;
        margin: 0;
        padding: 12px;
        border: 1px solid rgba(2, 37, 82, .08);
        border-radius: 14px;
        background: #f7f8fb;
        color: rgba(51, 51, 51, .78);
        font-size: 15px;
        line-height: 1.6;
    }

        .contact-info-list li .icon {
            flex: 0 0 36px;
            width: 36px;
            height: 36px;
            margin-right: 10px;
            border: 1px solid rgba(173, 118, 50, .24);
            border-radius: 10px;
            background: #fff;
            color: #AD7632;
        }

        .contact-info-list li span {
            min-width: 0;
            flex: 1;
        }

.contact-photo {
    position: relative;
    min-height: 380px;
    margin-top: auto;
    overflow: hidden;
    background: #022552;
    height: 435px;
}

    .contact-photo::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(180deg, rgba(2, 37, 82, .1), rgba(2, 37, 82, .58));
        pointer-events: none;
    }

    .contact-photo img {
        display: block;
        width: 100%;
        height: 100% !important;
        object-fit: cover;
    }

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

.contact-form-head {
    margin-bottom: 22px;
}

    .contact-form-head h3 {
        position: relative;
        margin: 0;
        padding-bottom: 14px;
        color: #022552;
        font-family: 'Inter_24pt-Bold';
        font-size: 32px;
        line-height: 1.22;
    }

        .contact-form-head h3::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 92px;
            height: 4px;
            border-radius: 999px;
            background: linear-gradient(90deg, #022552, #E6AE5C);
        }

    .contact-form-head p {
        max-width: 650px;
        margin: 14px 0 0;
        color: rgba(51, 51, 51, .72);
        font-size: 16px;
        line-height: 1.68;
    }

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

.contact-field,
.contact-actions {
    position: relative;
    min-width: 0;
}

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

.contact-field label {
    display: block;
    margin-bottom: 8px;
    color: #022552;
    font-family: 'Inter_24pt-SemiBold';
    font-size: 16px;
    line-height: 1.35;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid rgba(2, 37, 82, .12);
    border-radius: 14px;
    outline: none;
    background: #f7f8fb;
    color: #222;
    font-family: 'Inter_24pt-Regular';
    font-size: 15px;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.contact-field input {
    height: 50px;
    padding: 0 42px 0 14px;
}

.contact-field textarea {
    min-height: 150px;
    padding: 14px;
    line-height: 1.65;
    resize: vertical;
}

    .contact-field input::placeholder,
    .contact-field textarea::placeholder {
        color: rgba(51, 51, 51, .46);
    }

    .contact-field input:focus,
    .contact-field textarea:focus {
        border-color: #E6AE5C;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(230, 174, 92, .16);
    }

.erolh {
    position: absolute;
    right: 13px;
    bottom: 15px;
    width: 18px;
    height: 18px;
    overflow: hidden;
    color: transparent !important;
    pointer-events: none;
}

    .erolh::before {
        content: "\f06a";
        position: absolute;
        inset: 0;
        color: #AD7632;
        font-family: FontAwesome;
        font-size: 15px;
    }

.contact-captcha {
    padding: 14px;
    border: 1px dashed rgba(173, 118, 50, .28);
    border-radius: 16px;
    background: rgba(230, 174, 92, .08);
}

.contact-captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    position: absolute;
    top: 0;
    left: 101px;
}

.imgCapcha {
    min-height: 42px;
    max-width: 100%;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(2, 37, 82, .08);
}

.btn-sumid-contact {
    width: 100%;
    min-height: 52px;
    border: 1px solid #022552;
    border-radius: 999px;
    outline: none;
    background: linear-gradient(135deg, #022552, #032A5A);
    box-shadow: 0 14px 28px rgba(2, 37, 82, .18);
    color: #fff;
    cursor: pointer;
    font-family: 'Inter_24pt-SemiBold';
    font-size: 15px;
    letter-spacing: .2px;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

    .btn-sumid-contact:hover {
        transform: translateY(-2px);
        border-color: #AD7632;
        background: linear-gradient(135deg, #AD7632, #E6AE5C);
        box-shadow: 0 18px 34px rgba(173, 118, 50, .24);
    }

    .btn-sumid-contact:active {
        transform: translateY(0);
    }

.contact-map-card {
    margin-top: 28px;
    overflow: hidden;
}

.contact-map-title {
    padding: 24px 28px 18px;
}

.contact-map-frame {
    height: 420px;
    border-top: 1px solid rgba(2, 37, 82, .08);
    background: #e9edf3;
}

    .contact-map-frame iframe {
        display: block;
        width: 100%;
        height: 100%;
    }

@media(min-width:740px) and (max-width:1023px) {
    .contact-hero {
        padding: 58px 0 44px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .contact-info-panel {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
    }

    .contact-info-list {
        padding-top: 8px;
    }

    .contact-photo {
        min-height: auto;
    }

    .contact-map-frame {
        height: 360px;
    }
}

@media(max-width:739px) {
    .contact-hero {
        padding: 42px 0 34px;
    }

        .contact-hero::after {
            content: "";
            position: absolute;
            inset: auto -99px -114px auto;
            width: 275px;
            height: 275px;
            border-radius: 50%;
            background: rgba(230, 174, 92, .18);
            filter: blur(8px);
            pointer-events: none;
        }

    .contact-eyebrow,
    .contact-info-head span,
    .contact-form-head span,
    .contact-map-title span {
        font-size: 12px;
        gap: 8px;
    }

        .contact-eyebrow::before,
        .contact-info-head span::before,
        .contact-form-head span::before,
        .contact-map-title span::before {
            width: 24px;
        }

    .contact-hero h1 {
        font-size: 20px;
        line-height: 1.4;
    }

    .contact-hero p {
        font-size: 14px;
        line-height: 1.62;
    }

    .contact-main {
        padding: 28px 0 36px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-info-panel,
    .contact-form-panel,
    .contact-map-card {
        border-radius: 16px;
    }

    .contact-info-head,
    .contact-form-panel,
    .contact-map-title {
        padding: 20px 14px;
    }

        .contact-info-head h2,
        .contact-map-title h2 {
            font-size: 20px;
        }

    .contact-info-list {
        padding: 0 14px 18px;
    }

    .contact-photo {
        min-height: 190px;
        height: 340px;
    }

    .contact-form-head h3 {
        font-size: 25px;
    }

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

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

    .contact-field input {
        height: 48px;
    }

    .contact-field textarea {
        min-height: 130px;
    }

    .contact-captcha-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-map-card {
        margin-top: 16px;
    }

    .contact-map-frame {
        height: 280px;
    }
}