/* Trang liên hệ NOVA LAB */
.contact-page,
.contact-page * {
    box-sizing: border-box;
}

.contact-page {
    min-height: 70vh;
    color: #13263c;
    background: #f4f7f6;
    font-family: "Be Vietnam Pro", Arial, sans-serif;
}

.contact-container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.contact-hero {
    position: relative;
    padding: 82px 0 68px;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(20, 149, 132, .13), transparent 32%),
        linear-gradient(135deg, #e9f7f3 0%, #ffffff 68%);
    border-bottom: 1px solid #e2ece8;
}

.contact-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -140px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(13, 139, 125, .06);
}

.contact-eyebrow,
.contact-section-label {
    margin: 0 0 12px;
    color: #0d8b7d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.contact-hero h1 {
    max-width: 800px;
    margin: 0;
    color: #10243a;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.contact-hero__text {
    max-width: 720px;
    margin: 18px 0 0;
    color: #64758a;
    font-size: 18px;
    line-height: 1.75;
}

.contact-section {
    padding: 64px 0 86px;
}

.contact-grid {
    display: grid;
    grid-template-columns: .82fr 1.28fr;
    gap: 34px;
    align-items: start;
}

.contact-info__intro {
    margin-bottom: 22px;
}

.contact-info h2,
.contact-form-card h2 {
    margin: 0;
    color: #12283f;
    font-size: 28px;
    line-height: 1.25;
}

.contact-info__intro > p:last-child,
.contact-form-card__header > p:last-child {
    margin: 10px 0 0;
    color: #718095;
    font-size: 15px;
    line-height: 1.7;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #dce7e3;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(17, 58, 51, .045);
}

.contact-info-card__icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: #087a6d;
    background: #e7f7f3;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 800;
}

.contact-info-card span {
    display: block;
    margin-bottom: 5px;
    color: #7e8c9d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.contact-info-card strong {
    display: block;
    color: #173048;
    font-size: 15px;
    line-height: 1.55;
    word-break: break-word;
}

.contact-form-card {
    padding: 32px;
    background: #fff;
    border: 1px solid #dce7e3;
    border-radius: 22px;
    box-shadow: 0 20px 54px rgba(18, 58, 51, .09);
}

.contact-form-card__header {
    margin-bottom: 25px;
}

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

.contact-field {
    min-width: 0;
}

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

.contact-field label {
    display: block;
    margin-bottom: 8px;
    color: #24384d;
    font-size: 14px;
    font-weight: 700;
}

.contact-field label span {
    color: #d64355;
}

.contact-field input,
.contact-field textarea {
    display: block;
    width: 100%;
    min-height: 47px;
    padding: 12px 14px;
    color: #15283e;
    background: #fff;
    border: 1px solid #cad8d4;
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.contact-field textarea {
    min-height: 165px;
    resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #9aa6b3;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: #0d8b7d;
    box-shadow: 0 0 0 3px rgba(13, 139, 125, .12);
}

.contact-error {
    display: block;
    margin-top: 7px;
    color: #c43a4b;
    font-size: 12px;
    font-weight: 600;
}

.contact-success {
    margin-bottom: 22px;
    padding: 14px 16px;
    color: #176c45;
    background: #e8f8ef;
    border: 1px solid #bce5cd;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    margin-top: 23px;
    padding: 12px 22px;
    color: #fff;
    background: #0d8b7d;
    border: 0;
    border-radius: 11px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(13, 139, 125, .22);
    transition: transform .16s ease, background .16s ease;
}

.contact-submit:hover {
    transform: translateY(-1px);
    background: #08786c;
}

.contact-submit span {
    font-size: 18px;
    line-height: 1;
}

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

@media (max-width: 680px) {
    .contact-container {
        width: min(100% - 24px, 1160px);
    }

    .contact-hero {
        padding: 56px 0 46px;
    }

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

    .contact-form-card {
        padding: 22px;
        border-radius: 17px;
    }

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

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

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