/* ==========================================================================
   TDN 18 REAL ESTATE - LUXURY DESIGN SYSTEM
   Brand: TDN 18 (Kiến Tạo Không Gian - Nâng Tầm Cuộc Sống)
   ========================================================================== */

:root {
  /* Brand Luxury Palette */
  --primary-navy: #09122C;
  --navy-dark: #040817;
  --navy-card: #0F1D40;
  --navy-surface: #14244E;
  --navy-glass: rgba(15, 29, 64, 0.75);
  
  --gold-primary: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-hover: #E5C158;
  --gold-dark: #A67C1E;
  --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA771C 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);

  --emerald-accent: #10B981;
  --ruby-accent: #EF4444;
  --cyan-accent: #06B6D4;
  
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-light: #CBD5E1;
  --text-dark: #0F172A;
  
  --bg-dark: #040817;
  --bg-alt: #081026;
  --bg-card: rgba(20, 36, 78, 0.6);
  --border-glass: rgba(212, 175, 55, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.08);

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cinzel', Georgia, serif;

  /* Shadows & Transitions */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.2);
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Luxury Text Gradient */
.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.section-subtitle::before, .section-subtitle::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--gold-gradient);
}

.section-main-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-desc {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--navy-dark);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border: 1.5px solid var(--gold-primary);
}
.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #fff;
  border-color: var(--gold-light);
  transform: translateY(-3px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-selling {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.5);
}

.badge-upcoming {
  background: rgba(245, 158, 11, 0.2);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.badge-delivered {
  background: rgba(59, 130, 246, 0.2);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.5);
}

.badge-hot {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(4, 8, 23, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

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

.logo-badge {
  width: 46px;
  height: 46px;
  background: var(--gold-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--navy-dark);
  box-shadow: var(--gold-glow);
  transform: rotate(-3deg);
  transition: var(--transition-smooth);
}

.brand-logo:hover .logo-badge {
  transform: rotate(0deg) scale(1.05);
}

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

.logo-main-title {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1;
}

.logo-main-title span {
  color: var(--gold-primary);
}

.logo-subtitle {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 2px;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  padding: 6px 0;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-fast);
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--gold-light);
}

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

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

.header-hotline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-glass);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.9rem;
}
.header-hotline:hover {
  background: rgba(212, 175, 55, 0.25);
  color: #fff;
}

.header-hotline .pulse-dot {
  width: 10px;
  height: 10px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
  animation: pulseHotline 1.5s infinite;
}

@keyframes pulseHotline {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.btn-mobile-menu {
  display: none;
  background: transparent;
  color: var(--gold-light);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION & CINEMATIC SLIDER
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 120px;
  background-color: var(--navy-dark);
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s ease-out;
  transform: scale(1.08);
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(4, 8, 23, 0.7) 0%, 
    rgba(4, 8, 23, 0.4) 40%,
    rgba(4, 8, 23, 0.85) 80%,
    rgba(4, 8, 23, 1) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 820px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(15, 29, 64, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 22px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  max-width: 680px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 40px;
}

.hero-slider-nav {
  position: absolute;
  bottom: 140px;
  right: 40px;
  z-index: 20;
  display: flex;
  gap: 12px;
}

.slider-dot {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.slider-dot.active {
  width: 65px;
  background: var(--gold-gradient);
  box-shadow: 0 0 10px var(--gold-primary);
}

/* ==========================================================================
   SEARCH & FILTER BAR (FLOATING OVER HERO)
   ========================================================================== */
.search-filter-wrapper {
  position: relative;
  z-index: 30;
  margin-top: -65px;
  margin-bottom: 60px;
}

.search-box {
  background: rgba(15, 29, 64, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.search-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.form-group-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-filter label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-control-custom {
  width: 100%;
  padding: 12px 16px;
  background: rgba(4, 8, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.form-control-custom:focus {
  border-color: var(--gold-primary);
  background: rgba(4, 8, 23, 0.95);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

.form-control-custom option {
  background: var(--navy-dark);
  color: #fff;
}

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

/* ==========================================================================
   ABOUT & STATS COUNTER SECTION
   ========================================================================== */
.about-section {
  padding: 90px 0;
  background: radial-gradient(circle at 80% 20%, rgba(20, 36, 78, 0.4) 0%, transparent 60%);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

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

.about-experience-card {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--gold-gradient);
  color: var(--navy-dark);
  padding: 24px 30px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  text-align: center;
  min-width: 200px;
}

.about-experience-card .num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.about-experience-card .txt {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text .section-title-wrap {
  text-align: left;
  margin-bottom: 24px;
}
.about-text .section-subtitle {
  justify-content: flex-start;
}
.about-text .section-subtitle::after {
  display: none;
}

.about-desc-p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.2rem;
}

.pillar-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.pillar-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Stats Counter Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  padding: 40px 30px;
  background: rgba(15, 29, 64, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
}

.stat-item {
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  width: 1px;
  height: 70%;
  background: var(--border-subtle);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
}

/* ==========================================================================
   PROJECTS SHOWCASE SECTION
   ========================================================================== */
.projects-section {
  padding: 100px 0;
  background: var(--bg-alt);
  position: relative;
}

.project-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 45px;
}

.filter-tab-btn {
  padding: 10px 24px;
  background: rgba(15, 29, 64, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab-btn:hover,
.filter-tab-btn.active {
  background: var(--gold-gradient);
  color: var(--navy-dark);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Project Card */
.project-card {
  background: var(--navy-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(212, 175, 55, 0.15);
}

.project-thumb-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-thumb-img {
  transform: scale(1.08);
}

.project-badge-pos {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
}

.project-price-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(4, 8, 23, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  color: var(--gold-light);
  font-weight: 800;
  font-size: 0.95rem;
  z-index: 5;
}

.project-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.project-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.35;
  transition: var(--transition-fast);
}

.project-card:hover .project-card-title {
  color: var(--gold-light);
}

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

.project-card-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
  text-align: center;
}

.meta-item .meta-val {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}
.meta-item .meta-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.btn-card-detail {
  width: 100%;
  padding: 12px;
  font-size: 0.85rem;
}

/* ==========================================================================
   MORTGAGE LOAN CALCULATOR (FINANCIAL TOOL)
   ========================================================================== */
.calculator-section {
  padding: 100px 0;
  background: radial-gradient(circle at 20% 50%, rgba(20, 36, 78, 0.5) 0%, transparent 60%);
  position: relative;
}

.calc-card {
  background: rgba(15, 29, 64, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-input-group {
  margin-bottom: 24px;
}

.calc-label-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.calc-label-wrap label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light);
}

.calc-val-display {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-light);
}

/* Custom Range Slider */
input[type=range].calc-range {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  -webkit-appearance: none;
  cursor: pointer;
}
input[type=range].calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
  border: 2px solid #fff;
}

/* Result Box */
.calc-result-box {
  background: linear-gradient(145deg, #09122C 0%, #14244E 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
}

.calc-result-header {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.calc-result-header .title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 700;
  letter-spacing: 1px;
}

.calc-result-header .monthly-pay {
  font-size: 2.4rem;
  font-weight: 900;
  margin-top: 6px;
}

.calc-summary-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}
.summary-row .label {
  color: var(--text-muted);
}
.summary-row .val {
  font-weight: 700;
  color: #fff;
}

/* ==========================================================================
   LUXURY AMENITIES & ECOSYSTEM
   ========================================================================== */
.amenities-section {
  padding: 90px 0;
  background: var(--bg-dark);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.amenity-box {
  background: rgba(15, 29, 64, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition-smooth);
}

.amenity-box:hover {
  background: rgba(20, 36, 78, 0.8);
  border-color: var(--gold-primary);
  transform: translateY(-6px);
}

.amenity-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-primary);
  transition: var(--transition-fast);
}

.amenity-box:hover .amenity-icon {
  background: var(--gold-gradient);
  color: var(--navy-dark);
  transform: scale(1.1);
}

.amenity-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.amenity-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   NEWS & INSIGHTS SECTION
   ========================================================================== */
.news-section {
  padding: 90px 0;
  background: var(--bg-alt);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--navy-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-lg);
}

.news-thumb-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

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

.news-date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(4, 8, 23, 0.85);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  border: 1px solid var(--border-glass);
}

.news-body {
  padding: 22px;
}

.news-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.news-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-summary {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
}
.news-readmore:hover {
  gap: 10px;
  color: #fff;
}

/* ==========================================================================
   PARTNERS & BANKING ALLIANCES
   ========================================================================== */
.partners-section {
  padding: 60px 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.partners-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.partners-flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  opacity: 0.7;
}

.partner-logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #94A3B8;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-fast);
}

.partner-logo:hover {
  opacity: 1;
  color: var(--gold-light);
  border-color: var(--border-glass);
  transform: translateY(-2px);
}

/* ==========================================================================
   LEAD GENERATION / CONTACT FORM SECTION
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-dark) 100%);
  position: relative;
}

.contact-card {
  background: rgba(15, 29, 64, 0.85);
  backdrop-filter: blur(25px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.contact-info .section-title-wrap {
  text-align: left;
  margin-bottom: 24px;
}
.contact-info .section-subtitle {
  justify-content: flex-start;
}
.contact-info .section-subtitle::after {
  display: none;
}

.contact-direct-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}

.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.2rem;
}

.contact-details h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.contact-details p {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

/* Contact Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-full {
  grid-column: span 2;
}

.form-group-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group-contact label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}

textarea.form-control-custom {
  resize: vertical;
  min-height: 100px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #02050E;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 30px;
  color: var(--text-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 18px 0 24px;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-gradient);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--navy-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  transform: scale(0.95);
  transition: var(--transition-smooth);
}

.modal-backdrop.open .modal-container {
  transform: scale(1);
}

.btn-close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(4, 8, 23, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-close-modal:hover {
  background: var(--gold-gradient);
  color: var(--navy-dark);
}

.modal-hero-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.modal-body-content {
  padding: 35px;
}

/* ==========================================================================
   FLOATING ACTION HUB & TOAST NOTIFICATION
   ========================================================================== */
.floating-contact-hub {
  position: fixed;
  bottom: 30px;
  right: 30px;
  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: #fff;
  font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.float-hotline {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  animation: pulseFloat 2s infinite;
}

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

.float-scrolltop {
  background: var(--navy-surface);
  border: 1px solid var(--border-glass);
  color: var(--gold-light);
  display: none;
}
.float-scrolltop.show {
  display: flex;
}

@keyframes pulseFloat {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.08); box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Toast Message */
.toast-box {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--gold-gradient);
  color: var(--navy-dark);
  padding: 16px 28px;
  border-radius: var(--radius-full);
  font-weight: 800;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  z-index: 3000;
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-box.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

/* Base hidden state: all reveal elements start invisible and shifted */
.reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Slide from LEFT */
.reveal-left {
  transform: translateX(-80px);
}

/* Slide from RIGHT */
.reveal-right {
  transform: translateX(80px);
}

/* Rise from BOTTOM */
.reveal-up {
  transform: translateY(60px);
}

/* Zoom IN from small */
.reveal-zoom {
  transform: scale(0.85);
}

/* Slide from BOTTOM + slight rotate (fancy) */
.reveal-rotate {
  transform: translateY(50px) rotate(-3deg);
}

/* When element enters viewport → becomes visible */
.reveal.revealed {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1) rotate(0deg);
}

/* Staggered delays for grid children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.36s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.48s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.6s; }

/* Disable animations on reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .search-form { grid-template-columns: repeat(2, 1fr); }
  .calc-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .header-hotline { display: none; }
  .btn-mobile-menu { display: block; }
  .hero-title { font-size: 2.2rem; }
  .hero-desc { font-size: 1rem; }
  .search-form { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:not(:last-child)::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: span 1; }
  .news-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .search-filter-wrapper { margin-top: -30px; }
}
