/*========================================================================*/
/* CELESTINE WESTLAKE - LANDING PAGE STYLES                               */
/*========================================================================*/

/* ---- SUB NAVIGATION (Level 2 Menu) ---- */
.cw-subnav {
  background: #fff !important;
  backdrop-filter: blur(12px);
  padding: 0 !important;
  margin: 0 !important;
  position: relative;
  z-index: 999;
  border-bottom: 1px solid #e5e5e5;
  transition: all 0.3s ease;
  height: auto !important;
  min-height: 0 !important;
}

.cw-subnav.sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1) !important;
}

.cw-subnav .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 !important;
  margin: 0 auto !important;
  max-width: 1200px !important;
}

.cw-subnav-brand {
  display: flex !important;
  align-items: center !important;
}

.cw-subnav-brand img {
  height: 60px !important;
  width: auto;
  transition: transform 0.3s ease;
}

.cw-subnav-brand img:hover {
  transform: scale(1.05);
}

.subnav-menu-btn {
  display: none !important;
}

.cw-subnav-links {
  display: flex !important;
  gap: 0 !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cw-subnav-links li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: block !important;
}

.cw-subnav-links br,
.cw-subnav-links p {
  display: none !important;
}

.cw-subnav-links a {
  display: block !important;
  padding: 30px 20px !important;
  color: #555 !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
  transition: color 0.3s !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  text-decoration: none !important;
}

.cw-subnav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background: var(--secondary-color);
  transition: width 0.3s;
}

.cw-subnav-links a:hover,
.cw-subnav-links a.active {
  color: var(--primary-color) !important;
}

.cw-subnav-links a:hover::after,
.cw-subnav-links a.active::after {
  width: 70%;
}

/* ---- HERO ---- */
.cw-hero {
  height: 100vh;
  min-height: 650px;
  background-image: url('https://recogroup.vn/wp-content/uploads/2026/05/Du-an-Celestine-Westlake.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cw-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 27, 61, 0.85) 0%, rgba(11, 27, 61, 0.4) 50%, rgba(10, 17, 40, 0.7) 100%);
  z-index: 1;
}

.cw-hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  color: #fff;
  opacity: 0;
  transform: translateY(40px);
  animation: cwFadeUp 1s 0.5s forwards ease-out;
}

.cw-hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 30px;
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.cw-hero h1 {
  font-size: 3.2rem;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.cw-hero h1 span {
  color: var(--secondary-color);
}

.cw-hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  margin-bottom: 35px;
  line-height: 1.7;
}

/* ---- STATS BAR ---- */
.cw-stats-bar {
  background: var(--primary-color);
  padding: 0;
  position: relative;
  z-index: 3;
}

.cw-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.cw-stat-item {
  text-align: center;
  padding: 30px 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}

.cw-stat-item:last-child {
  border-right: none;
}

.cw-stat-item:hover {
  background: rgba(212, 175, 55, 0.08);
}

.cw-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary-color);
  display: block;
  margin-bottom: 5px;
}

.cw-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- SECTION COMMON ---- */
.cw-section {
  padding: 90px 0;
}

.cw-section-dark {
  background: var(--primary-color);
  color: #fff;
}

.cw-section-dark .cw-section-title {
  color: #fff !important;
}

.cw-section-dark .cw-section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.cw-section-light {
  background: #f7f8fa;
}

.cw-section-title {
  font-size: 2.2rem;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 12px;
  position: relative;
}

.cw-section-subtitle {
  text-align: center;
  color: #777;
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.cw-gold-line {
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
  margin: 15px auto 20px;
  border-radius: 2px;
}

/* ---- OVERVIEW SECTION ---- */
.cw-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.cw-overview-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
}

.cw-overview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.cw-overview-img:hover img {
  transform: scale(1.05);
}

.cw-overview-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cw-overview-text h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.cw-overview-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

.cw-info-list {
  list-style: none;
  margin: 20px 0;
}

.cw-info-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.cw-info-list li strong {
  color: var(--primary-color);
}

/* ---- LOCATION SECTION ---- */
.cw-location-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.cw-loc-card {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s;
}

.cw-loc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--secondary-color);
}

.cw-loc-card i {
  display: none;
}

.cw-loc-img {
  width: calc(100% + 50px);
  margin: -30px -25px 20px -25px;
  aspect-ratio: 4/3;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.cw-loc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cw-loc-card:hover .cw-loc-img img {
  transform: scale(1.1);
}

.cw-loc-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.cw-loc-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.cw-distance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.cw-distance-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.cw-distance-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.cw-distance-time {
  min-width: 55px;
  height: 55px;
  background: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
}

.cw-distance-time small {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  margin-top: 2px;
}

.cw-distance-text {
  font-size: 0.9rem;
  color: #444;
}

/* ---- MAP CONTAINER ---- */
.cw-map-container {
  margin-top: 50px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  height: 450px;
}

.cw-map-container iframe {
  display: block;
  width: 100%;
  height: 600px;
  margin-top: -150px;
}

/* ---- FACILITIES CATEGORIES ---- */
.cw-facilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.cw-facility-box {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.cw-facility-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.cw-facility-img {
  width: calc(100% + 40px);
  margin: -30px -20px 20px -20px;
  aspect-ratio: 16/9;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.cw-facility-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  cursor: pointer;
}

.cw-facility-box:hover .cw-facility-img img {
  transform: scale(1.1);
}

.cw-facility-box h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.cw-facility-box p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.6;
}

/* ---- APARTMENT TYPES (TABS) ---- */
.cw-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 52px;
}

.cw-tab-btn {
  padding: 10px 22px;
  background: transparent;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: 30px;
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.cw-tab-btn:hover,
.cw-tab-btn.active {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}

.cw-tab-content {
  display: none;
  animation: cwFadeIn 0.5s ease;
}

.cw-tab-content.active {
  display: block;
}

.cw-apt-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.cw-apt-img {
  height: 100%;
  min-height: 350px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.cw-apt-img img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.cw-apt-info {
  padding: 40px 40px 40px 0;
}

.cw-apt-info h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.cw-apt-area {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--secondary-color);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.cw-apt-info p {
  color: #666;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ---- AMENITIES BENTO GRID ---- */
.cw-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 200px 200px;
  gap: 8px;
}

.cw-bento-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.cw-bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cw-bento-item:hover img {
  transform: scale(1.08);
}

/* Explicit placement for perfect mosaic */
.cw-bento-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
}

/* Bể bơi - wide */
.cw-bento-item:nth-child(2) {
  grid-column: 3;
  grid-row: 1 / 3;
}

/* Sảnh - tall */
.cw-bento-item:nth-child(3) {
  grid-column: 4;
  grid-row: 1;
}

/* Thương mại */
.cw-bento-item:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}

/* Gym */
.cw-bento-item:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
}

/* Sky Lounge */
.cw-bento-item:nth-child(6) {
  grid-column: 1 / 3;
  grid-row: 3;
}

/* Đỗ xe - wide */
.cw-bento-item:nth-child(7) {
  grid-column: 4;
  grid-row: 2;
}

/* Giải trí */
.cw-bento-item:nth-child(8) {
  grid-column: 3 / 5;
  grid-row: 3;
}

/* Vườn - wide */

.cw-bento-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- LIGHTBOX GALLERY ---- */
.cw-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.cw-lightbox.active {
  display: flex;
}

.cw-lightbox-topbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 35px;
  z-index: 10001;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.cw-lightbox-counter {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.cw-lightbox-close {
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.cw-lightbox-close:hover {
  color: var(--secondary-color);
}

.cw-lightbox img#cw-lightbox-img {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  cursor: default;
  z-index: 10000;
  user-select: none;
  transition: opacity 0.3s ease;
}

.cw-lightbox-prev,
.cw-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 3rem;
  cursor: pointer;
  z-index: 10001;
  padding: 20px;
  transition: all 0.3s;
  user-select: none;
}

.cw-lightbox-prev {
  left: 20px;
}

.cw-lightbox-next {
  right: 20px;
}

.cw-lightbox-prev:hover,
.cw-lightbox-next:hover {
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.cw-lightbox-thumbnails-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
}

.cw-lightbox-thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding: 0 20px;
}

.cw-lightbox-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.cw-lightbox-thumbnails::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 4px;
}

.cw-lightbox-thumb {
  width: 80px;
  height: 55px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.4;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.cw-lightbox-thumb:hover {
  opacity: 0.8;
}

.cw-lightbox-thumb.active {
  opacity: 1;
  border-color: var(--secondary-color);
}

/* ---- FLOOR PLAN ---- */
.cw-fp-content {
  display: none;
  animation: cwFadeIn 0.5s ease;
}

.cw-fp-content.active {
  display: block;
}

.cw-floorplan-img {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.cw-floorplan-img img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ---- INTERIOR SECTION ---- */
.cw-interior-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.cw-interior-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.cw-interior-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.cw-interior-img:hover img {
  transform: scale(1.04);
}

.cw-interior-text h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.cw-interior-text p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 15px;
}

/* ---- PARTNERS ---- */
.cw-partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.cw-partner-card {
  background: #fff;
  border-radius: 14px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: all 0.3s;
}

.cw-partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary-color);
}

.cw-partner-role {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--secondary-color);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.cw-partner-logo {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.cw-partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

.cw-partner-card:hover .cw-partner-logo img {
  transform: scale(1.05);
}

.cw-partner-card h4 {
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.cw-partner-card p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.6;
}

/* ---- CTA / FORM SECTION ---- */
.cw-cta-section {
  background: linear-gradient(rgba(11, 27, 61, 0.8), rgba(11, 27, 61, 0.8)), url('https://recogroup.vn/wp-content/uploads/2026/05/Du-an-Celestine-Westlake.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cw-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cw-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cw-cta-text h2 {
  color: var(--secondary-color) !important;
  font-size: 2rem;
  margin-bottom: 20px;
}

.cw-cta-text p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
  line-height: 1.7;
}

.cw-benefits-list {
  list-style: none;
}

.cw-benefits-list li {
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.cw-benefits-list li i {
  color: var(--secondary-color);
  font-size: 1rem;
}

.cw-form-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
}

.cw-form-card h3 {
  color: var(--secondary-color) !important;
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.3rem;
}

.cw-form-group {
  margin-bottom: 18px !important;
}

.cw-form-control {
  width: 100% !important;
  padding: 14px 18px !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 8px !important;
  color: #333333 !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  transition: all 0.3s !important;
  box-sizing: border-box !important;
  height: 50px !important;
  line-height: normal !important;
}

select.cw-form-control {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23333333' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 40px !important;
}

.cw-form-control option {
  color: #333333 !important;
  background-color: #ffffff !important;
}

.cw-form-control::placeholder {
  color: #777777 !important;
  opacity: 1 !important;
}

.cw-form-control:focus {
  outline: none !important;
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25) !important;
}

.cw-submit-btn {
  width: 100% !important;
  height: 50px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--secondary-color) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-family: inherit !important;
  margin-top: 35px !important;
  box-sizing: border-box !important;
}

.cw-submit-btn:hover {
  background: var(--secondary-color-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4) !important;
}

/* ---- ANIMATIONS ---- */
@keyframes cwFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cwFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .cw-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cw-partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cw-facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cw-distance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cw-bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }

  .cw-bento-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .cw-bento-item {
    min-height: 180px;
  }
}

@media (max-width: 768px) {
  /* ========================================================================
     [WORDPRESS COMPATIBLE: MENU CẤP 1 - MOBILE START]
     Lưu ý: Nếu anh dùng Menu mặc định của WordPress trên di động,
     anh có thể comment hoặc xóa bỏ toàn bộ đoạn CSS dưới đây để tránh xung đột.
     ======================================================================== */
  .header-project {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    right: 15px !important;
    width: calc(100% - 30px) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 12px !important;
    padding: 10px 18px !important;
    z-index: 1000 !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15) !important;
    margin: 0 !important;
  }
  
  .header-project .container.nav-container {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .header-project .mobile-menu-btn {
    color: #0b1b3d !important; /* Đổi sang màu thương hiệu sẫm tránh trùng nền trắng tàng hình */
    display: block !important;
    position: absolute !important;
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1002 !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
  }
  
  .header-project.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
  }
  
  .header-project.scrolled .mobile-menu-btn {
    color: var(--primary-color) !important;
    position: absolute !important;
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1002 !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
  }

  .header-project .nav-list {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(11, 27, 61, 0.98) !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1001 !important;
    transition: all 0.3s ease !important;
  }
  
  .header-project .nav-list.active {
    display: flex !important;
  }
  /* ========================================================================
     [WORDPRESS COMPATIBLE: MENU CẤP 1 - MOBILE END]
     ======================================================================== */

  /* Cố định banner không bị lệch trên Mobile */
  .cw-hero {
    height: auto !important;
    min-height: 520px !important;
    background-attachment: scroll !important;
    background-position: center center !important;
    padding: 140px 0 60px 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .cw-hero h1 {
    font-size: 2.2rem;
  }

  /* Menu cấp 2 trên Mobile */
  .cw-subnav {
    background: #ffffff !important;
    border-bottom: 1px solid #eeeeee !important;
  }

  .project-subnav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 30px !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  .cw-subnav-brand {
    display: flex !important;
    align-items: center !important;
    margin-left: 10px !important;
  }

  .cw-subnav-brand img {
    height: 40px !important;
    width: auto !important;
  }

  .subnav-menu-btn {
    display: block !important;
    background: none !important;
    border: none !important;
    margin-right: 0 !important;
    margin-left: auto !important;
    cursor: pointer !important;
    color: #0b1b3d !important; /* Thay đổi sang màu xanh đậm thương hiệu tránh tàng hình trên nền trắng */
    font-size: 1.5rem !important;
    padding: 5px !important;
  }

  .cw-subnav-links {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border-top: 1px solid #eeeeee !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    z-index: 9999 !important;
    flex-direction: column !important;
    padding: 10px 0 !important;
    gap: 0 !important;
  }

  .cw-subnav-links.active {
    display: flex !important;
  }

  .cw-subnav-links li {
    width: 100% !important;
    display: block !important;
  }

  .cw-subnav-links a {
    display: block !important;
    padding: 14px 24px !important;
    width: 100% !important;
    text-align: left !important;
    border-bottom: 1px solid #f5f5f5 !important;
    font-size: 0.9rem !important;
    color: #333333 !important;
    background: transparent !important;
    font-weight: 600 !important;
    border-left: 3px solid transparent !important;
    transition: all 0.3s ease !important;
  }

  .cw-subnav-links a::after {
    display: none !important;
  }

  .cw-subnav-links a.active {
    color: var(--secondary-color) !important;
    border-left: 3px solid var(--secondary-color) !important;
    background: rgba(212, 175, 55, 0.05) !important;
    padding-left: 28px !important;
  }

  .cw-subnav-links li:last-child a {
    border-bottom: none !important;
  }

  .cw-stats-bar {
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .cw-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    width: 100% !important;
    gap: 12px !important;
    box-sizing: border-box !important;
  }

  .cw-stat-number {
    font-size: 1.4rem !important;
  }

  .cw-stat-label {
    font-size: 0.7rem !important;
  }

  .cw-stat-item {
    padding: 15px 10px !important;
  }

  .cw-stat-item:nth-child(5) {
    grid-column: span 2 !important;
  }

  .cw-overview-grid,
  .cw-interior-showcase,
  .cw-apt-card,
  .cw-cta-grid {
    grid-template-columns: 1fr;
  }

  .cw-apt-info {
    padding: 25px;
  }

  .cw-apt-img {
    min-height: 250px;
  }

  .cw-location-highlights {
    grid-template-columns: 1fr;
  }

  .cw-distance-grid {
    grid-template-columns: 1fr;
  }

  .cw-facilities-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cw-partners-grid {
    grid-template-columns: 1fr;
  }

  .cw-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .cw-bento-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .cw-bento-item {
    min-height: 160px;
  }

  .cw-section {
    padding: 60px 0;
  }

  .cw-section-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .cw-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cw-facilities-grid {
    grid-template-columns: 1fr;
  }

  .cw-bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .cw-bento-item {
    min-height: 140px;
  }

  .cw-tabs {
    gap: 5px;
  }

  .cw-tab-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
  }
}

/* ---- NEW SLIDER STYLES (NO THIRDPARTY) ---- */
.cw-interior-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 40px 0;
  /* Space for the scale effect */
}

.cw-interior-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  align-items: center;
}

.cw-interior-slide {
  flex: 0 0 65%;
  /* Show 65% for the main slide, revealing more of adjacent slides */
  padding: 0 15px;
  box-sizing: border-box;
  opacity: 0.4;
  transform: scale(0.85);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 16px;
}

@media (max-width: 768px) {
  .cw-interior-slide {
    flex: 0 0 85%;
    padding: 0 8px;
  }
}

.cw-interior-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.cw-interior-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  display: block;
}

.cw-fa-slider-wrapper {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: visible;
}

.cw-fa-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  gap: 20px;
}

.cw-fa-slider::-webkit-scrollbar {
  display: none;
}

.cw-fa-item {
  flex: 0 0 100%;
  scroll-snap-align: center;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .cw-fa-item {
    flex: 0 0 calc(100% - 10px);
  }
}

.cw-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 27, 61, 0.7);
  color: #fff;
  border: 1px solid rgba(212, 175, 55, 0.5);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
}

.cw-slider-nav:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-50%) scale(1.1);
}

.cw-slider-nav.prev {
  left: 7%;
}

.cw-slider-nav.next {
  right: 7%;
}

/* Floorplan/Apartment slider dots */
.cw-fa-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.cw-fa-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(11, 27, 61, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.cw-fa-dot.active {
  background: var(--secondary-color);
  transform: scale(1.3);
}

/* ---- INTERIOR SLIDER DOTS ---- */
.cw-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.cw-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(11, 27, 61, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.cw-slider-dot:hover {
  background: rgba(11, 27, 61, 0.4);
}

.cw-slider-dot.active {
  background: var(--secondary-color);
  transform: scale(1.3);
}