/* Trang Liên hệ — kiểu luathungbach (navy + gold, thẻ chi nhánh + form) */

.contact-page {
    --ct-navy: #0b2345;
    --ct-gold: #c8a15a;
    --ct-gold-line: #c9a227;
    --ct-muted: #64748b;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
    gap: 32px 36px;
    align-items: start;
}

.contact-page__thanks {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--ct-navy);
}

.contact-page__lead {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.75;
    color: #334155;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.contact-branch {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    margin-bottom: 24px;
}

.contact-branch__title {
    margin: 0;
    padding: 14px 18px;
    font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    background: var(--ct-navy);
    border-bottom: 3px solid var(--ct-gold-line);
}

.contact-branch__dl {
    margin: 0;
    padding: 16px 18px 18px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 16px;
    font-size: 15px;
    line-height: 1.55;
    color: #334155;
}

.contact-branch__dl dt {
    margin: 0;
    font-weight: 700;
    color: var(--ct-navy);
    white-space: nowrap;
}

.contact-branch__dl dd {
    margin: 0;
}

.contact-branch__dl a {
    color: var(--ct-navy);
    font-weight: 700;
    text-decoration: none;
}

.contact-branch__dl a:hover {
    text-decoration: underline;
    color: #174074;
}

.contact-map-wrap {
    margin: 16px -18px -18px;
    width: calc(100% + 36px);
    max-width: none;
    border-top: 1px solid #e2e8f0;
    background: #e8eef4;
    aspect-ratio: 4 / 3;
    min-height: 220px;
    max-height: min(52vh, 400px);
}

.contact-map__iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    border: 0;
}

.contact-crosslinks {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 18px;
}

.contact-crosslinks__title {
    margin: 0 0 12px;
    font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ct-navy);
}

.contact-crosslinks__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-crosslinks__list li {
    border-bottom: 1px dashed #cbd5e1;
}

.contact-crosslinks__list li:last-child {
    border-bottom: 0;
}

.contact-crosslinks__list a {
    display: block;
    padding: 10px 0 10px 14px;
    position: relative;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
}

.contact-crosslinks__list a::before {
    content: "\203A";
    position: absolute;
    left: 0;
    color: var(--ct-gold-line);
    font-weight: 700;
}

.contact-crosslinks__list a:hover {
    color: var(--ct-navy);
}

.contact-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.contact-form-card__head {
    margin: 0;
    padding: 14px 18px;
    font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    background: var(--ct-navy);
    border-bottom: 3px solid var(--ct-gold-line);
}

.contact-form-card__body {
    padding: 20px 18px 22px;
}

.contact-alert {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-alert--ok {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.contact-alert--err {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

.contact-form__label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--ct-navy);
}

.contact-form__label--full {
    grid-column: 1 / -1;
}

.contact-form__label span {
    letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    color: #1e293b;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--ct-navy);
    box-shadow: 0 0 0 2px rgba(11, 35, 69, 0.12);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__submit {
    grid-column: 1 / -1;
    margin-top: 4px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    color: var(--ct-navy);
    background: linear-gradient(180deg, #e8d5a0 0%, var(--ct-gold) 100%);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    transition: filter 0.15s, transform 0.1s;
}

.contact-form__submit:hover {
    filter: brightness(1.05);
}

.contact-form__submit:active {
    transform: translateY(1px);
}

@media (max-width: 900px) {
    .contact-page__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-branch__dl {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .contact-branch__dl dt {
        margin-top: 10px;
    }

    .contact-branch__dl dt:first-of-type {
        margin-top: 0;
    }
}
