/* =========================================================
   TTG CONTACT PAGE - CLEAN & MODERN DESIGN
========================================================= */

:root {
    --ttg-font: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --ttg-brand: #f09e16;
    --ttg-brand-hover: #d98b0d;
    --ttg-title: #1a1a1a;
    --ttg-body: #333333;
    --ttg-sub: #777777;
    --ttg-border: #eaeaea;
    --ttg-zalo: #1688f8;
}

.ttg-contact-page-wrapper,
.ttg-contact-page-wrapper * {
    font-family: var(--ttg-font) !important;
    box-sizing: border-box;
}

.ttg-contact-main-container {
    padding-top: 35px !important;
}


/* =========================================================
   01. KHỐI THÔNG TIN & FORM LIÊN HỆ (2 CỘT)
========================================================= */
.ttg-contact-grid-row {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 40px;
    margin-bottom: 45px;
}

/* CỘT TRÁI */
.ttg-section-head-title {
    position: relative;
    font-size: 20px;
    font-weight: 700;
    color: var(--ttg-title);
    text-transform: uppercase;
    margin: 0 0 16px;
    padding-bottom: 8px;
}

.ttg-section-head-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 2px;
    background: var(--ttg-brand);
}

.ttg-company-badge {
    background: #fff8f0;
    border-left: 3px solid var(--ttg-brand);
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 22px;
}

.ttg-company-badge strong {
    font-size: 12.5px;
    color: #a45e05;
    line-height: 1.4;
    display: block;
}

.ttg-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ttg-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ttg-info-item .info-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff8f0;
    border: 1px solid rgba(240, 158, 22, 0.3);
    color: var(--ttg-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ttg-info-item .info-text strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--ttg-title);
    text-transform: uppercase;
    margin-bottom: 3px;
}

.ttg-info-item .info-text p {
    font-size: 13.5px;
    color: var(--ttg-body);
    line-height: 1.5;
    margin: 0;
}

.ttg-info-item .info-text a {
    color: var(--ttg-body);
    text-decoration: none;
    font-weight: 600;
}

.ttg-info-item .info-text a:hover {
    color: var(--ttg-brand);
}

/* CỘT PHẢI: FORM */
.ttg-contact-form-col {
    background: #fff;
    border: 1px solid var(--ttg-border);
    border-radius: 10px;
    padding: 28px 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.ttg-form-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ttg-title);
    margin: 0 0 6px;
    text-transform: uppercase;
}

.ttg-form-desc {
    font-size: 13px;
    color: var(--ttg-sub);
    margin: 0 0 20px;
}

.ttg-contact-form .form-group {
    margin-bottom: 14px;
}

.ttg-contact-form .form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ttg-contact-form input[type="text"],
.ttg-contact-form input[type="tel"],
.ttg-contact-form input[type="email"],
.ttg-contact-form textarea {
    width: 100%;
    border: 1px solid var(--ttg-border);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13.5px;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease;
}

.ttg-contact-form input:focus,
.ttg-contact-form textarea:focus {
    border-color: var(--ttg-brand);
}

.ttg-contact-form .form-group-checkbox {
    margin-bottom: 18px;
}

.ttg-contact-form .form-group-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--ttg-body);
    cursor: pointer;
}

.ttg-btn-submit {
    display: inline-block;
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 6px;
    background: var(--ttg-brand);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ttg-btn-submit:hover {
    background: var(--ttg-brand-hover);
}

.ttg-form-notice {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.ttg-form-notice.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.ttg-form-notice.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}


/* =========================================================
   02. BẢN ĐỒ MAPS EMBED
========================================================= */
.ttg-contact-map-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--ttg-border);
    margin-bottom: 45px;
}

.ttg-contact-map-wrapper iframe {
    display: block;
}

.ttg-map-overlay-card {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    border-radius: 8px;
    padding: 14px 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 380px;
    z-index: 5;
}

.ttg-map-overlay-card .map-icon {
    font-size: 24px;
}

.ttg-map-overlay-card strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ttg-title);
    margin-bottom: 2px;
}

.ttg-map-overlay-card p {
    font-size: 11.5px;
    color: var(--ttg-sub);
    margin: 0 0 4px;
    line-height: 1.35;
}

.ttg-map-overlay-card a {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ttg-brand);
    text-decoration: none;
}


/* =========================================================
   03. HỆ THỐNG SHOWROOM & XƯỞNG
========================================================= */
.ttg-showrooms-section {
    margin-bottom: 45px;
}

.ttg-section-title-center {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--ttg-title);
    text-transform: uppercase;
    margin: 0 0 24px;
}

.ttg-showrooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ttg-showroom-card {
    background: #fff;
    border: 1px solid var(--ttg-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.ttg-showroom-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border-color: #ddd;
}

.sr-thumb {
    aspect-ratio: 16 / 10;
    background: #f7f7f7;
    overflow: hidden;
}

.sr-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sr-body {
    padding: 16px 18px;
}

.sr-body h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ttg-title);
    margin: 0 0 6px;
}

.sr-address {
    font-size: 12.5px;
    color: var(--ttg-sub);
    margin: 0 0 12px;
    line-height: 1.4;
    min-height: 35px;
}

.sr-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.sr-phone {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ttg-title);
    text-decoration: none;
}

.sr-dir {
    font-size: 12px;
    font-weight: 700;
    color: var(--ttg-brand);
    text-decoration: none;
}


/* =========================================================
   04. BANNER CẦN TƯ VẤN NGAY (CONSULTANT CTA)
========================================================= */
.ttg-consultant-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid rgba(240, 158, 22, 0.35);
    border-radius: 12px;
    padding: 24px 35px;
    margin-bottom: 40px;
    overflow: hidden;
}

.cta-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--ttg-title);
    margin: 0 0 6px;
}

.cta-text p {
    font-size: 13.5px;
    color: #666;
    margin: 0 0 16px;
    max-width: 550px;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-cta-zalo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 18px;
    border-radius: 6px;
    background: var(--ttg-zalo);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.btn-cta-zalo img {
    width: 18px;
    height: 18px;
}

.btn-cta-hotline {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--ttg-brand);
    color: var(--ttg-brand);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.cta-avatar img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: block;
}


/* =========================================================
   05. THANH 4 CAM KẾT USP
========================================================= */
.ttg-shop-usp-bar {
    margin-top: 20px;
    margin-bottom: 40px;
}

.ttg-shop-usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid var(--ttg-border);
    border-radius: 8px;
    padding: 18px 24px;
}

.ttg-shop-usp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
    border-right: 1px solid #eee;
}

.ttg-shop-usp-item:last-child {
    border-right: none;
}

.ttg-shop-usp-item .usp-icon {
    color: var(--ttg-brand);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ttg-shop-usp-item .usp-text strong {
    display: block;
    color: var(--ttg-title);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 2px;
}

.ttg-shop-usp-item .usp-text small {
    display: block;
    color: var(--ttg-sub);
    font-size: 11px;
}


/* =========================================================
   06. RESPONSIVE MOBILE & TABLET
========================================================= */
@media (max-width: 849px) {
    .ttg-contact-grid-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ttg-showrooms-grid {
        grid-template-columns: 1fr;
    }

    .ttg-consultant-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 24px 20px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .ttg-shop-usp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .ttg-shop-usp-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 549px) {
    .ttg-contact-main-container {
        padding-top: 20px !important;
    }

    .ttg-contact-form-col {
        padding: 20px 16px;
    }

    .ttg-contact-form .form-row-two {
        grid-template-columns: 1fr;
    }

    .ttg-map-overlay-card {
        position: static;
        max-width: 100%;
        margin-top: 10px;
        box-shadow: none;
        border: 1px solid var(--ttg-border);
    }
}