/* ==========================================================================
   RESET & VARIABLES
   ========================================================================== */
:root {
    --primary-color: #0F172A;
    --primary-light: #1E293B;
    --secondary-color: #0284C7;
    --gold-primary: #D4AF37;
    --gold-hover: #B89320;
    --gold-light: #FDFBF7;
    --gold-border: #E6D29A;
    --accent-emerald: #059669;
    --accent-orange: #EA580C;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-card: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 28px rgba(0,0,0,0.12);
    --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.25);
    --font-heading: 'Montserrat', 'Be Vietnam Pro', sans-serif;
    --font-body: 'Be Vietnam Pro', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   LAYOUT & CONTAINER
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 90px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: 50px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.section-tag.gold-tag {
    background: rgba(212, 175, 55, 0.15);
    color: #9A7B16;
    border-color: var(--gold-border);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 14px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #C5A059 100%);
    color: #0F172A;
    font-weight: 700;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #E5BF47 0%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(15, 23, 42, 0.03);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.22);
    color: var(--text-white);
}

.btn-zalo-nav, .btn-zalo {
    background-color: #0068FF;
    color: var(--text-white);
    font-weight: 600;
}

.btn-zalo-nav:hover, .btn-zalo:hover {
    background-color: #0056D6;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 104, 255, 0.3);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-sale {
    background: #DC2626;
    color: white;
}

.badge-rent {
    background: #0284C7;
    color: white;
}

.badge-project {
    background: var(--gold-primary);
    color: #0F172A;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
    padding: 15px 0;
}

.navbar-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #334155 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-tagline {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94A3B8;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-hover);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--gold-primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 150px;
    padding-bottom: 120px;
    background: radial-gradient(circle at 70% 30%, #1E293B 0%, #0F172A 100%);
    color: var(--text-white);
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(212, 175, 55, 0.12) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.6;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-border);
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 30px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #FDE68A 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.12rem;
    color: #CBD5E1;
    margin-bottom: 30px;
    max-width: 620px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #94A3B8;
    margin-top: 4px;
}

.hero-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-profile-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.profile-frame {
    position: relative;
    width: 220px;
    height: 260px;
    margin: 0 auto 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px solid var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.profile-verified-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-card-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.profile-role {
    font-size: 0.9rem;
    color: var(--gold-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.profile-quick-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(15, 23, 42, 0.6);
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
}

.profile-quick-contacts a {
    color: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.profile-quick-contacts a:hover {
    color: var(--gold-primary);
}

/* Hero Quick Search */
.hero-search-wrapper {
    position: relative;
    z-index: 10;
    margin-top: 40px;
}

.quick-search-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.search-tab {
    background: none;
    border: none;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.search-tab.active {
    background: var(--primary-color);
    color: var(--text-white);
}

.search-inputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: flex-end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-field label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-field select, .search-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-main);
    background: var(--bg-light);
    outline: none;
    transition: var(--transition);
}

.search-field select:focus, .search-field input:focus {
    border-color: var(--gold-primary);
    background: white;
}

.btn-search-submit {
    height: 48px;
    padding: 0 28px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    background-color: #FFFFFF;
}

.section-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding-right: 20px;
    padding-bottom: 20px;
}

.about-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-experience-card {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    border: 2px solid var(--gold-primary);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    max-width: 320px;
}

.exp-icon {
    font-size: 2rem;
    color: var(--gold-primary);
}

.exp-info h4 {
    font-size: 1rem;
    color: var(--gold-primary);
}

.exp-info p {
    font-size: 0.8rem;
    color: #94A3B8;
}

.about-text-lead {
    font-size: 1.15rem;
    color: var(--primary-color);
    line-height: 1.6;
    margin-bottom: 16px;
}

.about-text-body {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.98rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.value-item {
    display: flex;
    gap: 12px;
}

.value-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(212, 175, 55, 0.12);
    color: #A37F15;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.value-item h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.value-item p {
    font-size: 0.83rem;
    color: var(--text-muted);
}

.about-contact-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px dashed var(--gold-border);
}

.contact-box .label {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: block;
}

.phone-link {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-emerald);
}

/* ==========================================================================
   CARDS & GRID (PROJECTS & PROPERTIES)
   ========================================================================== */
.category-filters, .district-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn, .pill-btn {
    background: white;
    border: 1.5px solid var(--border-color);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .pill-btn.active,
.filter-btn:hover, .pill-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.projects-grid, .properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.4);
}

.card-media {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-media img {
    transform: scale(1.06);
}

.card-tag-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}

.card-price-tag {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    color: var(--gold-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--gold-primary);
}

.card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.35;
}

.card-features {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
    font-size: 0.88rem;
    color: var(--text-main);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature-item i {
    color: var(--gold-primary);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    gap: 10px;
}

.agent-small {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.agent-small img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
}

.light-text .section-title {
    color: white;
}

.light-text .section-subtitle {
    color: #94A3B8;
}

.calculator-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.calc-form .form-group {
    margin-bottom: 22px;
}

.calc-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #E2E8F0;
}

.input-with-suffix {
    position: relative;
}

.input-with-suffix input {
    width: 100%;
    padding: 14px;
    padding-right: 60px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 23, 42, 0.6);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    outline: none;
}

.input-with-suffix .suffix {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.formatted-display {
    display: block;
    font-size: 0.85rem;
    color: var(--gold-primary);
    margin-top: 6px;
    font-weight: 600;
}

.range-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.range-container input[type="range"] {
    flex-grow: 1;
    accent-color: var(--gold-primary);
    cursor: pointer;
}

.range-value {
    font-weight: 700;
    color: var(--gold-primary);
    font-size: 1.1rem;
    min-width: 45px;
}

.calc-subinfo {
    font-size: 0.88rem;
    color: #CBD5E1;
    margin-top: 6px;
}

.calc-subinfo strong {
    color: var(--gold-primary);
}

.form-row {
    display: flex;
    gap: 15px;
}

.col-6 {
    flex: 1;
}

.calc-form select, .calc-form input[type="number"] {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 23, 42, 0.6);
    color: white;
    font-size: 1rem;
    outline: none;
}

.calc-results {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.calc-results h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.result-box {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.res-label {
    font-size: 0.85rem;
    color: #CBD5E1;
    display: block;
    margin-bottom: 4px;
}

.res-amount {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-primary);
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.res-detail-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    color: #CBD5E1;
}

.res-detail-item strong {
    color: white;
}

.calc-disclaimer {
    font-size: 0.78rem;
    color: #94A3B8;
    margin-top: auto;
}

.margin-top {
    margin-top: 15px;
}

/* ==========================================================================
   BLOG SECTION
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-50px);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.blog-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.05);
}

.blog-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-color);
    color: var(--gold-primary);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
}

.blog-content {
    padding: 22px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-readmore {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--gold-hover);
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-readmore:hover {
    gap: 10px;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-icon {
    font-size: 2.2rem;
    color: rgba(212, 175, 55, 0.3);
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.rating-stars {
    color: #F59E0B;
    margin-bottom: 16px;
    font-size: 0.85rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
}

.author-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */
.contact-section {
    background: #FFFFFF;
}

.contact-card-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.contact-info-col {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
    padding: 50px;
}

.contact-info-col h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;

}

.contact-desc {
    color: #94A3B8;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.agent-profile-snippet {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.snippet-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-primary);
}

.agent-profile-snippet h4 {
    font-size: 1.1rem;
    color: var(--gold-primary);
}

.agent-profile-snippet p {
    font-size: 0.8rem;
    color: #CBD5E1;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.2rem;
}

.info-icon.zalo-icon {
    background: #0068FF;
    color: white;
}

.info-item label {
    display: block;
    font-size: 0.8rem;
    color: #94A3B8;
}

.info-item a, .info-item span {
    font-size: 1.05rem;
    color: white;
}

.info-item a:hover {
    color: var(--gold-primary);
}

.contact-form-col {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-col h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.contact-form-col .form-group {
    margin-bottom: 18px;
}

.contact-form-col label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.contact-form-col input,
.contact-form-col select,
.contact-form-col textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-main);
    background: var(--bg-light);
    outline: none;
    transition: var(--transition);
}

.contact-form-col input:focus,
.contact-form-col select:focus,
.contact-form-col textarea:focus {
    border-color: var(--gold-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-privacy-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: #090D16;
    color: #94A3B8;
    padding-top: 70px;
    font-size: 0.9rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo .brand-name {
    color: white;
}

.footer-desc {
    margin: 18px 0 22px;
    line-height: 1.6;
    font-size: 0.88rem;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.footer-socials a:hover {
    background: var(--gold-primary);
    color: #0F172A;
}

.footer-col h4 {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul a:hover {
    color: var(--gold-primary);
}

.contact-footer-col p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-footer-col i {
    color: var(--gold-primary);
}

.contact-footer-col a {
    color: white;
    font-weight: 600;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: #64748B;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS
   ========================================================================== */
.floating-widgets {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.float-zalo {
    background-color: #0068FF;
}

.float-zalo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 104, 255, 0.6);
}

.float-phone {
    background-color: #22C55E;
    animation: pulse-ring 2s infinite;
}

.float-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
}

.float-top {
    background-color: var(--primary-color);
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
}

.float-top.show {
    opacity: 1;
    visibility: visible;
}

.float-tooltip {
    position: absolute;
    right: 64px;
    background: rgba(15, 23, 42, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.float-btn:hover .float-tooltip {
    opacity: 1;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* ==========================================================================
   MODAL & TOAST
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(15, 23, 42, 0.08);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-body {
    padding: 35px;
}

.modal-header-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.modal-detail-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.modal-price-badge {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-emerald);
    background: rgba(5, 150, 105, 0.1);
    padding: 6px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    background: var(--bg-light);
    padding: 18px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.modal-meta-item label {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: block;
}

.modal-meta-item strong {
    font-size: 0.95rem;
    color: var(--primary-color);
}

.modal-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 24px;
}

/* Toast */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--primary-color);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gold-primary);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3000;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
    pointer-events: none;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-icon {
    color: var(--gold-primary);
    font-size: 1.3rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-profile-card {
        max-width: 450px;
        margin: 0 auto;
    }

    .section-grid {
        grid-template-columns: 1fr;
    }

    .calculator-card {
        grid-template-columns: 1fr;
    }

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

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger-btn {
        display: block;
    }

    .btn-phone span {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .search-inputs-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid, .properties-grid, .blog-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .contact-info-col, .contact-form-col {
        padding: 30px 20px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}
