/* ==========================================================================
   SALA HOLDINGS - TRANG LIÊN HỆ (page-contact.php)
   Font: Montserrat & Be Vietnam Pro
   ========================================================================== */

:root {
    --sala-navy-dark: #061A44;
    --sala-navy: #0B2D6E;
    --sala-blue-vibrant: #0047CC;
    --sala-blue-accent: #1D70D6;
    --sala-gold-light: #F3D592;
    --sala-gold: #D4A449;
    --sala-gold-dark: #AA7924;
    --sala-input-bg: #EBF2FC;
    --sala-input-border: #DCE7F7;
    --sala-text-dark: #1E293B;
    --sala-font-heading: 'Montserrat', 'Be Vietnam Pro', sans-serif;
    --sala-font-body: 'Be Vietnam Pro', sans-serif;
}

.sala-contact-page {
    font-family: var(--sala-font-body);
    color: var(--sala-text-dark);
    background: linear-gradient(180deg, #E6F0FF 0%, #F3F8FF 38%, #EEF4FC 100%);
    overflow-x: hidden;
    padding-bottom: 72px;
}

.sala-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.text-navy {
    color: var(--sala-navy);
}

.text-blue {
    color: var(--sala-blue-vibrant);
}

/* ==========================================================================
   1. HERO BANNER LIÊN HỆ
   ========================================================================== */
.sala-contact-hero {
    position: relative;
    padding: 132px 0 46px;
    overflow: hidden;
}

.sala-contact-hero__visual {
    position: absolute;
    top: 18px;
    right: 0;
    width: 62%;
    max-width: 740px;
    pointer-events: none;
    z-index: 1;
}

.sala-contact-hero__visual svg {
    width: 100%;
    height: auto;
    display: block;
}

.sala-contact-hero .sala-container {
    position: relative;
    z-index: 2;
}

.sala-contact-hero__content {
    max-width: 560px;
}

.sala-contact-hero__title {
    font-family: var(--sala-font-heading);
    font-size: clamp(38px, 4.8vw, 54px);
    font-weight: 800;
    color: var(--sala-navy);
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.sala-contact-hero__subtitle {
    font-size: 15.5px;
    color: #24457B;
    margin: 0 0 26px;
    font-weight: 400;
}

.sala-contact-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.sala-btn-hero-msg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, #072259 0%, #13469E 100%);
    color: #FFFFFF;
    font-family: var(--sala-font-heading);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(11, 45, 110, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sala-btn-hero-msg:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(11, 45, 110, 0.32);
    color: #FFFFFF;
}

.sala-hero-hotline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--sala-navy);
    font-size: 14.5px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.sala-hero-hotline:hover {
    color: var(--sala-blue-vibrant);
}

.sala-hero-hotline__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFF9EB;
    border: 1.5px solid #EBD094;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sala-hero-hotline__text strong {
    font-family: var(--sala-font-heading);
    font-weight: 800;
    color: var(--sala-navy);
}

/* ==========================================================================
   2. KHỐI CARD TRẮNG TRUNG TÂM: FORM TƯ VẤN & BẢN ĐỒ
   ========================================================================== */
.sala-contact-main-section {
    position: relative;
    z-index: 3;
    margin-bottom: 54px;
}

.sala-contact-main-card {
    background: #FFFFFF;
    border-radius: 22px;
    padding: 38px 38px 40px;
    box-shadow: 0 20px 50px rgba(11, 45, 110, 0.08);
    display: grid;
    grid-template-columns: 4.5fr 5.5fr;
    gap: 38px;
    align-items: stretch;
    position: relative;
}

/* Đường kẻ dọc mảnh chia giữa 2 cột giống ảnh thiết kế */
.sala-contact-form-col {
    padding-right: 34px;
    border-right: 1px solid #E2E8F0;
}

.sala-form-header {
    margin-bottom: 20px;
}

.sala-form-title {
    font-family: var(--sala-font-heading);
    font-size: clamp(22px, 2.4vw, 27px);
    font-weight: 800;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.sala-gold-underline {
    display: block;
    width: 82px;
    height: 2px;
    background: linear-gradient(90deg, #D4A449 0%, #F3D592 100%);
    border-radius: 2px;
}

.sala-consult-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sala-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sala-form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--sala-navy);
}

.sala-form-group input,
.sala-form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--sala-input-border);
    background: var(--sala-input-bg);
    font-family: var(--sala-font-body);
    font-size: 13px;
    color: var(--sala-text-dark);
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.sala-form-group input::placeholder,
.sala-form-group textarea::placeholder {
    color: #94A3B8;
}

.sala-form-group input:focus,
.sala-form-group textarea:focus {
    background: #FFFFFF;
    border-color: var(--sala-blue-accent);
    box-shadow: 0 0 0 3px rgba(29, 112, 214, 0.12);
}

.sala-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.sala-form-submit-wrap {
    margin-top: 6px;
}

.sala-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 9px;
    border: none;
    background: linear-gradient(90deg, #062158 0%, #104299 100%);
    color: #FFFFFF;
    font-family: var(--sala-font-heading);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(11, 45, 110, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sala-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(11, 45, 110, 0.32);
}

.sala-form-feedback {
    margin: 10px 0 0;
    font-size: 12.5px;
    font-weight: 600;
}

/* Cột Phải: Trụ Sở Chính & Google Maps */
.sala-contact-map-col {
    display: flex;
    flex-direction: column;
}

.sala-hq-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.sala-hq-pin-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.sala-hq-pin-icon svg {
    width: 100%;
    height: 100%;
}

.sala-hq-title {
    font-family: var(--sala-font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--sala-navy);
    margin: 0 0 3px;
    text-transform: uppercase;
}

.sala-hq-address {
    font-size: 12.5px;
    font-weight: 600;
    color: #294A80;
    margin: 0;
    line-height: 1.45;
}

.sala-map-frame-wrap {
    flex: 1;
    min-height: 460px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    box-shadow: 0 8px 24px rgba(11, 45, 110, 0.06);
}

/* ==========================================================================
   3. KHỐI DƯỚI: LIÊN HỆ SALA HOLDINGS & ĐĂNG KÝ NHẬN BẢN TIN
   ========================================================================== */
.sala-bottom-heading {
    text-align: center;
    font-family: var(--sala-font-heading);
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 28px;
    letter-spacing: 0.02em;
}

.sala-bottom-two-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

/* Thẻ Trái: Thông Tin Công Ty */
.sala-company-info-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 28px 30px;
    box-shadow: 0 14px 34px rgba(11, 45, 110, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sala-gold-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.sala-gold-brand__mark {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 36px;
    padding: 4px;
    border: 1.5px solid var(--sala-gold);
    border-radius: 4px;
}

.sala-gold-brand__mark span {
    display: block;
    width: 4px;
    background: linear-gradient(180deg, #F3D592 0%, #C69235 100%);
    border-radius: 1px;
}

.sala-gold-brand__mark span:nth-child(1) { height: 65%; }
.sala-gold-brand__mark span:nth-child(2) { height: 100%; }
.sala-gold-brand__mark span:nth-child(3) { height: 80%; }

.sala-gold-brand__name {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.sala-gold-brand__name strong {
    font-family: var(--sala-font-heading);
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(90deg, #C8963E 0%, #E6C47A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sala-gold-brand__name span {
    font-family: var(--sala-font-heading);
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(90deg, #C8963E 0%, #E6C47A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sala-gold-divider {
    width: 110px;
    height: 1.5px;
    background: linear-gradient(90deg, #D4A449 0%, rgba(212, 164, 73, 0.1) 100%);
    margin-bottom: 18px;
}

.sala-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sala-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--sala-navy);
}

.sala-info-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #E6C786;
    background: #FFFDF7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.sala-info-text strong {
    font-weight: 700;
    color: var(--sala-navy);
}

.sala-info-text a {
    color: var(--sala-navy);
    text-decoration: none;
    font-weight: 500;
}

.sala-info-text a:hover {
    color: var(--sala-blue-vibrant);
}

.sala-info-list__bottom-row {
    display: flex;
    align-items: center !important;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.sala-info-website {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sala-social-circles {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sala-social-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--sala-navy);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.sala-social-btn:hover {
    background: var(--sala-blue-vibrant);
    transform: translateY(-2px);
}

/* Thẻ Phải: ĐĂNG KÝ NHẬN BẢN TIN (Nền Xanh Đêm + Tòa nhà 3D Hologram) */
.sala-dark-newsletter-card {
    position: relative;
    border-radius: 16px;
    background: radial-gradient(circle at 78% 45%, #0E3A8C 0%, #061A46 58%, #030F2B 100%);
    padding: 32px 28px;
    color: #FFFFFF;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 14px 34px rgba(5, 22, 61, 0.25);
}

.sala-dark-newsletter__content {
    position: relative;
    z-index: 3;
    max-width: 62%;
}

.sala-dark-newsletter__title {
    font-family: var(--sala-font-heading);
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.sala-dark-newsletter__desc {
    font-size: 11.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 20px;
}

.sala-dark-newsletter__form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sala-dark-newsletter__form input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 14px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #FFFFFF;
    font-family: var(--sala-font-body);
    font-size: 12.5px;
    color: var(--sala-text-dark);
    outline: none;
}

.sala-btn-gold-submit {
    height: 40px;
    padding: 0 16px;
    border-radius: 7px;
    border: none;
    background: linear-gradient(90deg, #E2B86B 0%, #F5DC9F 50%, #CFA046 100%);
    color: var(--sala-navy-dark);
    font-family: var(--sala-font-heading);
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(212, 164, 73, 0.35);
    transition: transform 0.2s ease;
}

.sala-btn-gold-submit:hover {
    transform: translateY(-1px);
}

.sala-dark-newsletter__msg {
    margin: 8px 0 0;
    font-size: 11.5px;
    font-weight: 600;
    min-height: 15px;
}

/* Phối cảnh Tòa tháp Hologram bên phải thẻ Dark Newsletter */
.sala-dark-newsletter__hologram {
    position: absolute;
    right: 12px;
    bottom: 0;
    width: 42%;
    height: 92%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.sala-holo-frames {
    position: absolute;
    inset: 6px 10px 0 10px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
}

.holo-bar {
    display: block;
    border: 1.5px solid rgba(56, 189, 248, 0.65);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.22) 0%, rgba(14, 116, 144, 0.02) 100%);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.45);
    border-bottom: none;
}

.holo-bar--1 { width: 34px; height: 86%; transform: skewY(-12deg); }
.holo-bar--2 { width: 42px; height: 98%; transform: skewY(10deg); }
.holo-bar--3 { width: 30px; height: 78%; transform: skewY(-8deg); }

.sala-holo-building-img {
    position: relative;
    z-index: 2;
    width: 82%;
    height: 85%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
    filter: contrast(1.12) saturate(1.2);
}

.sala-holo-light-streak {
    position: absolute;
    left: -90px;
    bottom: 24px;
    width: 190px;
    height: 45px;
    border-top: 1.5px solid rgba(243, 213, 146, 0.75);
    border-radius: 50%;
    transform: rotate(-16deg);
    pointer-events: none;
}

/* ==========================================================================
   4. RESPONSIVE TABLET & MOBILE
   ========================================================================== */
@media (max-width: 992px) {
    .sala-contact-main-card {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }

    .sala-contact-form-col {
        padding-right: 0;
        padding-bottom: 28px;
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
    }

    .sala-map-frame-wrap {
        min-height: 360px;
    }

    .sala-bottom-two-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .sala-contact-hero {
        padding: 108px 0 32px;
    }

    .sala-contact-hero__visual {
        opacity: 0.35;
        width: 90%;
    }

    .sala-dark-newsletter__content {
        max-width: 100%;
    }

    .sala-dark-newsletter__hologram {
        opacity: 0.22;
        width: 55%;
    }

    .sala-dark-newsletter__form {
        flex-direction: column;
        align-items: stretch;
    }

    .sala-btn-gold-submit {
        justify-content: center;
    }
}

/* ==========================================================================
   5. ADMIN FRONTEND LIVE EDITOR & DRAWER CUSTOMIZER
   ========================================================================== */
.sala-contact-page.is-inline-editing [data-edit-key] {
    outline: 1.5px dashed #2563EB;
    outline-offset: 4px;
    border-radius: 4px;
    cursor: text;
    transition: background-color 0.2s ease, outline-color 0.2s ease;
}

.sala-contact-page.is-inline-editing [data-edit-key]:hover,
.sala-contact-page.is-inline-editing [data-edit-key]:focus {
    background-color: rgba(37, 99, 235, 0.08);
    outline: 2px solid #F59E0B;
}

.sala-admin-live-dock {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(6, 26, 68, 0.96);
    border: 1px solid rgba(147, 197, 253, 0.35);
    padding: 10px 14px;
    border-radius: 999px;
    box-shadow: 0 16px 38px rgba(3, 15, 43, 0.45);
    backdrop-filter: blur(10px);
}

.sala-admin-btn {
    border: none;
    border-radius: 999px;
    padding: 8px 15px;
    font-family: var(--sala-font-body);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.sala-admin-btn--toggle {
    background: #1E3A8A;
    color: #FFFFFF;
    border: 1px solid #3B82F6;
}

.sala-admin-btn--toggle.is-active {
    background: #F59E0B;
    color: #061A44;
    border-color: #FDE68A;
}

.sala-admin-btn--drawer {
    background: #FFFFFF;
    color: #0B2D6E;
}

.sala-admin-btn--save {
    background: linear-gradient(90deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
}

.sala-admin-btn:hover {
    transform: translateY(-1px);
}

.sala-admin-save-status {
    font-size: 12px;
    font-weight: 600;
    color: #A7F3D0;
    padding: 0 4px;
}

/* Drawer bên phải */
.sala-admin-drawer {
    position: fixed;
    top: 0;
    right: -440px;
    width: 410px;
    max-width: 92vw;
    height: 100vh;
    background: #FFFFFF;
    z-index: 10000;
    box-shadow: -15px 0 45px rgba(6, 26, 68, 0.22);
    display: flex;
    flex-direction: column;
    transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.sala-admin-drawer.is-open {
    right: 0;
}

.sala-admin-drawer__header {
    padding: 20px 22px;
    background: linear-gradient(90deg, #061A44 0%, #0F398B 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sala-admin-drawer__header strong {
    display: block;
    font-family: var(--sala-font-heading);
    font-size: 14px;
    letter-spacing: 0.03em;
}

.sala-admin-drawer__header span {
    font-size: 11.5px;
    color: #93C5FD;
}

.sala-admin-drawer__close {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.sala-admin-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sala-admin-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sala-admin-field label {
    font-size: 11.5px;
    font-weight: 700;
    color: #0B2D6E;
}

.sala-admin-field input,
.sala-admin-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 11px;
    border-radius: 6px;
    border: 1px solid #CBD5E1;
    font-family: var(--sala-font-body);
    font-size: 12.5px;
    color: #1E293B;
}

.sala-admin-field input:focus,
.sala-admin-field textarea:focus {
    border-color: #1D70D6;
    outline: none;
}

.sala-admin-drawer__footer {
    padding: 14px 22px;
    border-top: 1px solid #E2E8F0;
    background: #F8FAFC;
}