﻿
/* =====================================================
   TRANG LIÊN HỆ - HOÀNG LINH
   Desktop + iPad + Điện thoại
   Gold #d4af37 · Cream #f7f5f0 · White
   ===================================================== */

/* ===== BIẾN MÀU ===== */
:root {
    --gold: #d4af37;
    --gold-dark: #c9a534;
    --cream: #f7f5f0;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    font-family: Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}

img,
iframe {
    max-width: 100%;
}

/* ===== NÚT ===== */
.ct-btn {
    display: inline-block;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 25px;
    padding: 14px 38px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-decoration: none;
    cursor: pointer;
    transition: .3s;
    font-family: inherit;
    text-align: center;
}

    .ct-btn:hover {
        background: var(--gold-dark);
        transform: scale(1.03);
        box-shadow: 0 4px 12px rgba(212,175,55,.4);
    }

/* ===== BANNER ===== */
.ct-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ct-hero-overlay {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px 80px;
    background: rgba(0,0,0,.55);
    color: #fff;
}

.ct-eyebrow {
    letter-spacing: 5px;
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 14px;
    font-weight: 700;
}

.ct-hero h1 {
    font-size: 42px;
    letter-spacing: 4px;
    line-height: 1.25;
    margin-bottom: 14px;
    overflow-wrap: anywhere;
}

.ct-hero-text {
    max-width: 850px;
    font-size: 17px;
}

/* ===== THẺ THÔNG TIN ===== */
.ct-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: -55px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.ct-info-card {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    padding: 28px 18px;
    text-align: center;
    overflow-wrap: anywhere;
}

    .ct-info-card span {
        font-size: 30px;
        display: block;
        margin-bottom: 8px;
    }

    .ct-info-card h3 {
        font-size: 13px;
        letter-spacing: 2px;
        color: var(--gold-dark);
        margin-bottom: 8px;
    }

    .ct-info-card p {
        font-size: 14px;
        color: #000;
        font-weight: 600;
        line-height: 1.7;
    }

    .ct-info-card a {
        color: #000;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

        .ct-info-card a:hover {
            color: var(--gold-dark);
        }

/* ===== SECTION CHUNG ===== */
.ct-section {
    padding: 70px 20px;
}

    .ct-section > * {
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;
    }

.ct-alt {
    background: var(--cream);
}

.ct-title {
    text-align: center;
    font-size: 30px;
    letter-spacing: 4px;
    color: #000;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 18px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

    .ct-title::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 60px;
        height: 2px;
        background: var(--gold);
        transform: translateX(-50%);
    }

/* ===== FORM VÀ BẢN ĐỒ ===== */
.ct-main {
    display: flex;
    gap: 40px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
}

.ct-form {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--gold);
    padding: 36px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.ct-note {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.ct-row {
    display: flex;
    gap: 16px;
    width: 100%;
}

    .ct-row > * {
        flex: 1 1 0;
        min-width: 0;
    }

.ct-form input,
.ct-form select,
.ct-form textarea {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #333;
}

.ct-form textarea {
    min-height: 130px;
    resize: vertical;
}

    .ct-form input:focus,
    .ct-form select:focus,
    .ct-form textarea:focus {
        outline: none;
        border-color: var(--gold);
        box-shadow: 0 0 0 2px rgba(212,175,55,.12);
    }

.ct-form .ct-btn {
    align-self: center;
    margin-top: 6px;
}

/* ===== BẢN ĐỒ ===== */
.ct-map {
    flex: 1 1 0;
    min-width: 0;
    min-height: 480px;
    position: relative;
    border: 1px solid var(--gold);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    overflow: hidden;
    background: #efe9da;
}

    .ct-map iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        z-index: 2;
    }

.ct-map-card {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--gold);
    border-left: 4px solid var(--gold);
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

    .ct-map-card > div {
        min-width: 0;
    }

    .ct-map-card h4 {
        font-size: 14px;
        letter-spacing: 2px;
        color: #000;
        margin-bottom: 2px;
    }

    .ct-map-card p {
        font-size: 13px;
        color: #555;
        overflow-wrap: anywhere;
    }

.ct-btn-sm {
    padding: 11px 22px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== KẾT NỐI NHANH ===== */
.ct-quick {
    display: flex;
    gap: 24px;
    justify-content: center;
    width: 100%;
}

.ct-quick-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: 400px;
    background: #fff;
    border: 1px solid var(--gold);
    padding: 34px 20px;
    text-align: center;
    text-decoration: none;
    transition: .3s;
    overflow-wrap: anywhere;
}

    .ct-quick-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 26px rgba(0,0,0,.14);
        background: var(--gold);
    }

    .ct-quick-item b {
        display: block;
        font-size: 20px;
        letter-spacing: 3px;
        color: #000;
        margin-bottom: 8px;
    }

    .ct-quick-item span {
        font-size: 14px;
        color: #555;
    }

    .ct-quick-item:hover span {
        color: #000;
    }

/* ===== KÊU GỌI HÀNH ĐỘNG ===== */
.ct-cta {
    background: #111;
    text-align: center;
    padding: 70px 20px;
    color: #fff;
}

    .ct-cta h2 {
        font-size: 26px;
        letter-spacing: 3px;
        line-height: 1.4;
        color: var(--gold);
        margin-bottom: 12px;
    }

    .ct-cta p {
        margin-bottom: 28px;
        color: #ddd;
    }

/* =====================================================
   LAPTOP VÀ IPAD NGANG
   1025px - 1200px
   ===================================================== */
@media (min-width: 1025px) and (max-width: 1200px) {
    .ct-info {
        gap: 15px;
        padding: 0 18px;
    }

    .ct-info-card {
        padding: 24px 14px;
    }

    .ct-main {
        gap: 24px;
    }

    .ct-form {
        padding: 28px;
    }

    .ct-map {
        min-height: 440px;
    }
}

/* =====================================================
   IPAD DỌC VÀ MÁY TÍNH BẢNG
   768px - 1024px
   ===================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
    .ct-hero-overlay {
        min-height: 340px;
        padding: 38px 24px 70px;
    }

    .ct-eyebrow {
        font-size: 17px;
        letter-spacing: 4px;
    }

    .ct-hero h1 {
        font-size: 34px;
        letter-spacing: 3px;
    }

    .ct-hero-text {
        font-size: 16px;
    }

    .ct-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding: 0 24px;
        margin-top: -42px;
    }

    .ct-info-card {
        padding: 24px 18px;
    }

    .ct-section {
        padding: 55px 24px;
    }

    .ct-title {
        font-size: 27px;
        margin-bottom: 35px;
    }

    /* Form trên, bản đồ dưới */
    .ct-main {
        flex-direction: column;
        gap: 25px;
    }

    .ct-form {
        flex: auto;
        width: 100%;
        padding: 30px;
    }

    .ct-map {
        flex: auto;
        width: 100%;
        min-height: 400px;
    }

    .ct-quick {
        gap: 16px;
        flex-wrap: wrap;
    }

    .ct-quick-item {
        flex: 1 1 40%;
        max-width: none;
        padding: 28px 16px;
    }

        .ct-quick-item b {
            font-size: 18px;
            letter-spacing: 2px;
        }

    .ct-cta {
        padding: 55px 24px;
    }

        .ct-cta h2 {
            font-size: 24px;
        }
}

/* =====================================================
   ĐIỆN THOẠI LỚN
   481px - 767px
   ===================================================== */
@media (min-width: 481px) and (max-width: 767px) {
    .ct-hero-overlay {
        min-height: 300px;
        padding: 35px 22px 65px;
    }

    .ct-eyebrow {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .ct-hero h1 {
        font-size: 29px;
        letter-spacing: 2px;
    }

    .ct-hero-text {
        font-size: 15px;
    }

    .ct-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 0 16px;
        margin-top: -35px;
    }

    .ct-info-card {
        padding: 22px 12px;
    }

        .ct-info-card span {
            font-size: 26px;
        }

        .ct-info-card h3 {
            font-size: 11px;
            letter-spacing: 1.5px;
        }

        .ct-info-card p {
            font-size: 13px;
        }

    .ct-section {
        padding: 45px 18px;
    }

    .ct-title {
        font-size: 23px;
        letter-spacing: 2px;
        margin-bottom: 28px;
    }

    .ct-main {
        flex-direction: column;
        gap: 22px;
    }

    .ct-form {
        flex: auto;
        width: 100%;
        padding: 25px 22px;
        gap: 14px;
    }

    .ct-row {
        gap: 12px;
    }

    .ct-form input,
    .ct-form select,
    .ct-form textarea {
        padding: 13px 12px;
        font-size: 14px;
    }

    .ct-map {
        flex: auto;
        width: 100%;
        min-height: 360px;
    }

    .ct-map-card {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 13px;
        gap: 10px;
    }

        .ct-map-card h4 {
            font-size: 12px;
            letter-spacing: 1px;
        }

        .ct-map-card p {
            font-size: 12px;
        }

    .ct-btn-sm {
        padding: 10px 14px;
        font-size: 11px;
    }

    .ct-quick {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .ct-quick-item {
        flex: auto;
        width: 100%;
        max-width: none;
        padding: 25px 16px;
    }

        .ct-quick-item b {
            font-size: 18px;
        }

    .ct-cta {
        padding: 45px 18px;
    }

        .ct-cta h2 {
            font-size: 22px;
            letter-spacing: 1.5px;
        }
}

/* =====================================================
   ĐIỆN THOẠI
   <= 480px
   ===================================================== */
@media (max-width: 480px) {
    .ct-btn {
        max-width: 100%;
        padding: 13px 24px;
        font-size: 11px;
        letter-spacing: 1px;
    }

    .ct-hero-overlay {
        min-height: 270px;
        padding: 32px 16px 55px;
    }

    .ct-eyebrow {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 10px;
        line-height: 1.6;
    }

    .ct-hero h1 {
        font-size: clamp(23px, 7vw, 30px);
        letter-spacing: 1.5px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .ct-hero-text {
        font-size: 14px;
        line-height: 1.7;
    }

    /* Thẻ thông tin: hai cột */
    .ct-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 0 12px;
        margin-top: -28px;
    }

    .ct-info-card {
        padding: 19px 9px;
        min-width: 0;
    }

        .ct-info-card span {
            font-size: 24px;
            margin-bottom: 6px;
        }

        .ct-info-card h3 {
            font-size: 10px;
            letter-spacing: 1px;
            line-height: 1.5;
            margin-bottom: 6px;
            overflow-wrap: anywhere;
        }

        .ct-info-card p {
            font-size: 12px;
            line-height: 1.65;
            overflow-wrap: anywhere;
        }

    .ct-section {
        padding: 38px 12px;
    }

    .ct-title {
        font-size: 21px;
        letter-spacing: 1.5px;
        line-height: 1.5;
        margin-bottom: 25px;
        padding-bottom: 14px;
    }

        .ct-title::after {
            width: 48px;
        }

    /* Form và bản đồ xếp dọc */
    .ct-main {
        flex-direction: column;
        gap: 20px;
    }

    .ct-form {
        flex: auto;
        width: 100%;
        padding: 22px 15px;
        gap: 13px;
    }

    .ct-note {
        font-size: 13px;
        line-height: 1.75;
    }

    /* Các trường nhập xếp dọc */
    .ct-row {
        flex-direction: column;
        gap: 13px;
    }

        .ct-row > * {
            flex: auto;
            width: 100%;
        }

    .ct-form input,
    .ct-form select,
    .ct-form textarea {
        width: 100%;
        padding: 13px 12px;
        font-size: 16px;
        border-radius: 3px;
    }

    .ct-form textarea {
        min-height: 120px;
    }

    .ct-form .ct-btn {
        align-self: stretch;
        width: 100%;
        margin-top: 4px;
    }

    /* Bản đồ */
    .ct-map {
        flex: auto;
        width: 100%;
        min-height: 340px;
    }

        .ct-map iframe {
            width: 100%;
            height: 100%;
        }

    .ct-map-card {
        flex-direction: column;
        align-items: stretch;
        left: 10px;
        right: 10px;
        bottom: 10px;
        gap: 10px;
        padding: 13px;
    }

        .ct-map-card h4 {
            font-size: 12px;
            letter-spacing: 1px;
        }

        .ct-map-card p {
            font-size: 12px;
            line-height: 1.6;
        }

    .ct-btn-sm {
        width: 100%;
        padding: 11px 12px;
        white-space: normal;
    }

    /* Kết nối nhanh */
    .ct-quick {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .ct-quick-item {
        flex: auto;
        width: 100%;
        max-width: none;
        padding: 24px 14px;
    }

        .ct-quick-item:hover {
            transform: translateY(-3px);
        }

        .ct-quick-item b {
            font-size: 17px;
            letter-spacing: 2px;
        }

        .ct-quick-item span {
            font-size: 13px;
        }

    /* Kêu gọi */
    .ct-cta {
        padding: 40px 15px;
    }

        .ct-cta h2 {
            font-size: 20px;
            letter-spacing: 1px;
            line-height: 1.5;
        }

        .ct-cta p {
            font-size: 14px;
            line-height: 1.7;
            margin-bottom: 22px;
        }
}

/* =====================================================
   ĐIỆN THOẠI RẤT NHỎ
   <= 360px
   ===================================================== */
@media (max-width: 360px) {
    .ct-hero-overlay {
        min-height: 245px;
        padding: 28px 12px 48px;
    }

    .ct-eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .ct-hero h1 {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .ct-hero-text {
        font-size: 13px;
    }

    .ct-info {
        gap: 8px;
        padding: 0 8px;
    }

    .ct-info-card {
        padding: 16px 7px;
    }

        .ct-info-card h3 {
            font-size: 9px;
            letter-spacing: .5px;
        }

        .ct-info-card p {
            font-size: 11px;
        }

    .ct-section {
        padding: 32px 9px;
    }

    .ct-title {
        font-size: 19px;
        letter-spacing: 1px;
    }

    .ct-form {
        padding: 18px 12px;
    }

    .ct-map {
        min-height: 300px;
    }

    .ct-map-card {
        left: 7px;
        right: 7px;
        bottom: 7px;
        padding: 10px;
    }

        .ct-map-card h4 {
            font-size: 11px;
        }

        .ct-map-card p {
            font-size: 11px;
        }

    .ct-quick-item b {
        font-size: 15px;
        letter-spacing: 1.5px;
    }

    .ct-cta h2 {
        font-size: 18px;
    }
}

/* =====================================================
   ĐIỆN THOẠI XOAY NGANG
   ===================================================== */
@media (max-height: 500px) and (orientation: landscape) {
    .ct-hero-overlay {
        min-height: 250px;
        padding: 25px 20px 45px;
    }

    .ct-hero h1 {
        font-size: 28px;
    }

    .ct-info {
        margin-top: -25px;
    }

    .ct-map {
        min-height: 300px;
    }
}
