.contact-page {
    --contact-navy: #073160;
    --contact-navy-dark: #052246;
    --contact-gold: #d79a22;
    --contact-gold-strong: #f3b335;
    --contact-green: #087f3a;
    --contact-text: #1d2b3a;
    --contact-muted: #667085;
    --contact-border: #e7edf4;
    --contact-bg: #f4f8fc;
    background: var(--contact-bg);
    color: var(--contact-text);
    overflow: hidden;
}

.contact-page a,
.contact-page button,
.contact-page input,
.contact-page select,
.contact-page textarea {
    transition: all .22s ease;
}

.contact-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #147af3;
}

.contact-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 34, 70, .86), rgba(5, 34, 70, .58) 48%, rgba(5, 34, 70, .18));
}

.contact-hero__inner {
    position: relative;
    z-index: 1;
    padding-top: 36px;
    padding-bottom: 44px;
}

.contact-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    font-weight: 600;
}

.contact-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.contact-breadcrumb a:hover {
    color: var(--contact-gold-strong);
}

.contact-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

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

.contact-main {
    padding: 46px 0 34px;
}

.contact-main__grid {
    display: grid;
    grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: start;
}

.contact-form-card,
.contact-info-card,
.office-card,
.contact-map {
    background: #fff;
    border: 1px solid rgba(7, 49, 96, .08);
    box-shadow: 0 16px 38px rgba(7, 49, 96, .09);
}

.contact-form-card {
    border-radius: 16px;
    padding: 34px 30px 26px;
}

.contact-section-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.contact-section-title__icon {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 16px;
    background: linear-gradient(135deg, #147af3, var(--contact-navy-dark));
    box-shadow: 0 12px 24px rgba(7, 49, 96, .2);
    font-size: 25px;
}

.contact-section-title--form .contact-section-title__icon {
    background: linear-gradient(135deg, var(--contact-gold-strong), #b97908);
}

.contact-section-title h2 {
    margin: 0;
    color: #147af3;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.contact-section-title span:not(.contact-section-title__icon) {
    display: block;
    width: 54px;
    height: 3px;
    margin-top: 12px;
    border-radius: 99px;
    background: var(--contact-gold);
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-field {
    position: relative;
    display: block;
    margin: 0;
}

.contact-field > i {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 1;
    color: #8b95a3;
    font-size: 16px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    min-height: 54px;
    padding: 0 18px 0 52px;
    color: var(--contact-text);
    background: #fff;
    border: 1px solid #d6dde7;
    border-radius: 8px;
    outline: none;
    box-shadow: none;
    font-size: 15px;
}

.contact-field select {
    appearance: auto;
    cursor: pointer;
}

.contact-field textarea {
    min-height: 122px;
    padding-top: 17px;
    resize: vertical;
    line-height: 1.65;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--contact-gold);
    box-shadow: 0 0 0 4px rgba(215, 154, 34, .13);
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 58px;
    margin-top: 2px;
    color: #fff;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--contact-gold-strong), #c98407);
    box-shadow: 0 12px 22px rgba(215, 154, 34, .25);
    font-size: 17px;
    font-weight: 800;
}

.contact-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(215, 154, 34, .32);
}

.contact-privacy {
    margin: 0;
    color: var(--contact-muted);
    text-align: center;
    font-size: 13px;
}

.contact-side {
    display: grid;
    gap: 24px;
}

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

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 128px;
    padding: 24px;
    border-radius: 14px;
}

.contact-info-card__icon {
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #0e5d9c, #147af3 68%);
    box-shadow: 0 13px 22px rgba(7, 49, 96, .2);
    font-size: 25px;
}

.contact-info-card__icon--zalo {
    font-size: 15px;
    font-weight: 800;
}

.contact-info-card h3,
.office-card h3 {
    margin: 0 0 8px;
    color: #147af3;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

.contact-info-card a,
.contact-info-card strong {
    display: inline-block;
    margin-bottom: 6px;
    color: #c98308;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.contact-info-card a:hover {
    color: var(--contact-green);
}

.contact-info-card p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 14px;
}

.contact-office-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.office-card {
    position: relative;
    min-height: 245px;
    padding: 28px 18px 20px;
    border-radius: 14px;
    text-align: center;
    overflow: hidden;
}

.office-card:before {
    content: "\f1ad";
    position: absolute;
    left: 50%;
    bottom: 76px;
    transform: translateX(-50%);
    font-family: FontAwesome;
    color: rgba(7, 49, 96, .08);
    font-size: 82px;
    line-height: 1;
}

.office-card__pin {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--contact-gold-strong), #b97908);
    box-shadow: 0 13px 24px rgba(215, 154, 34, .28);
    font-size: 24px;
}

.office-card h3,
.office-card p,
.office-card a {
    position: relative;
    z-index: 1;
}

.office-card p {
    min-height: 52px;
    margin: 0 0 14px;
    color: #147af3;
    font-size: 15px;
    line-height: 1.55;
}

.office-card__content {
    position: relative;
    z-index: 1;
    color: var(--contact-navy);
    font-size: 15px;
    line-height: 1.55;
}

.office-card__content p,
.office-card__content div {
    margin: 0 0 10px;
}

.office-card__content p:last-child,
.office-card__content div:last-child {
    margin-bottom: 0;
}

.office-card__content a {
    display: inline;
}

.office-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    max-width: 100%;
    color: var(--contact-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.office-card a:hover {
    color: var(--contact-gold);
}

.contact-map-section {
    padding: 34px 0 54px;
    background: linear-gradient(180deg, #edf6fc, #f8fbff);
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

.contact-cta {
    padding: 34px 0;
    background: white;
}

.contact-cta__inner {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    min-height: 142px;
    padding: 28px 42px;
    color: #fff;
    border-radius: 18px;
    background:
        linear-gradient(90deg, rgba(5, 34, 70, .97), rgba(7, 49, 96, .92)),
        url("../../../uploads/banner/vinh-ha-long.jpg") center/cover no-repeat;
    overflow: hidden;
}

.contact-cta__inner:after {
    content: "";
    position: absolute;
    inset: auto -40px -80px auto;
    width: 260px;
    height: 160px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.contact-cta__icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--contact-gold-strong), #b97908);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .22);
    font-size: 31px;
}

.contact-cta__text p {
    margin: 0 0 5px;
    color: rgba(255, 255, 255, .93);
    font-size: 22px;
    font-weight: 700;
}

.contact-cta__text h2 {
    margin: 0;
    color: var(--contact-gold-strong);
    font-size: 34px;
    line-height: 1.18;
    font-weight: 850;
    letter-spacing: 0;
}

.contact-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
}

.contact-cta__btn {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
}

.contact-cta__btn--hotline {
    color: #fff;
    background: linear-gradient(135deg, var(--contact-gold-strong), #b97908);
    box-shadow: 0 15px 24px rgba(0, 0, 0, .18);
}

.contact-cta__btn--zalo {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .8);
    background: rgba(255, 255, 255, .06);
}

.contact-cta__btn--zalo > span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #147af3;
    border-radius: 50%;
    background: #fff;
    font-size: 12px;
    font-weight: 900;
}

.contact-cta__btn:hover,
.contact-cta__btn:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

@media (max-width: 1199px) {
    .contact-main__grid {
        grid-template-columns: 1fr;
    }

    .contact-office-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .contact-hero {
        min-height: 300px;
    }

    .contact-info-grid,
    .contact-office-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-cta__inner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .contact-cta__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        min-height: 280px;
    }

    .contact-hero__overlay {
        background: linear-gradient(90deg, rgba(5, 34, 70, .9), rgba(5, 34, 70, .68));
    }

    .contact-hero__inner {
        padding-top: 28px;
        padding-bottom: 34px;
    }

    .contact-breadcrumb {
        font-size: 13px;
    }

    .contact-hero p {
        font-size: 15px;
    }

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

    .contact-form-card {
        padding: 24px 16px 20px;
        border-radius: 14px;
    }

    .contact-section-title {
        gap: 12px;
        margin-bottom: 20px;
    }

    .contact-section-title__icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 21px;
    }

    .contact-section-title h2 {
        font-size: 23px;
    }

    .contact-info-grid,
    .contact-office-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        min-height: auto;
        padding: 20px;
    }

    .office-card {
        min-height: 220px;
    }

    .office-card p {
        min-height: auto;
    }

    .contact-map-section {
        padding: 28px 0 38px;
    }

    .contact-map iframe {
        height: 300px;
    }

    .contact-cta {
        padding: 24px 0;
    }

    .contact-cta__inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 18px;
        text-align: center;
    }

    .contact-cta__icon {
        margin: 0 auto;
    }

    .contact-cta__text h2 {
        font-size: 27px;
    }

    .contact-cta__text p {
        font-size: 18px;
    }

    .contact-cta__actions {
        justify-content: center;
    }

    .contact-cta__btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .contact-field input,
    .contact-field select,
    .contact-field textarea {
        font-size: 14px;
    }

    .contact-info-card {
        align-items: flex-start;
        gap: 14px;
    }

    .contact-info-card__icon {
        width: 52px;
        height: 52px;
        font-size: 21px;
    }

    .contact-info-card a,
    .contact-info-card strong {
        font-size: 17px;
        overflow-wrap: anywhere;
    }
}
@media (min-width: 1200px) {
   .contact-hero {
    margin-top: 99px;

}
}
