/* Fonts loaded in HTML and Local Fonts */
@font-face {
  font-family: "DVN - Beaufort";
  src: url("fonts/DVNBeaufort-Regular.woff2") format("woff2"), 
       url("fonts/DVNBeaufort-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors */
  --c-forest-dark: #283413;
  --c-forest-darker: #1C240E;
  --c-palm-olive: #313C1D;
  --c-cream: #FBF7EE;
  --c-cream-dark: #E0EDC9;
  --c-gold: #D2B57C;
  --c-gold-hover: #C2A56C;
  --c-script-gold: #D2B57C;
  --c-text-dark: #111827;
  --c-text-muted: #4B5563;
  --c-white: #ffffff;
  
  /* Typography */
  --font-serif: 'DVN - Beaufort', 'Playfair Display', serif;
  --font-script: 'Cormorant Garamond', serif;
  --font-sans: 'Be Vietnam Pro', sans-serif;
  
  /* Spacing */
  --sp-section: 100px;
  --sp-section-tablet: 64px;
  --sp-section-mobile: 44px;
  --sp-container: 1200px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans); color: var(--c-text-dark); background-color: var(--c-cream);
  line-height: 1.6; overflow-x: hidden; position: relative;
}

/* NOISE TEXTURE OVERLAY */
body::before {
  content: ""; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 9999; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: normal; line-height: 1.2; margin-bottom: 1rem; text-transform: uppercase; text-wrap: balance; }
@media (max-width: 600px) {
  #van-de h2 { font-size: 5.2vw; white-space: nowrap; letter-spacing: 0; }
}
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 24px; }
.accent-script { font-family: var(--font-script); font-style: italic; color: var(--c-script-gold); font-weight: 500; }
.lead { font-size: 1.125rem; line-height: 1.8; color: var(--c-text-muted); text-wrap: pretty; }
.kicker { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--c-gold); font-weight: 600; margin-bottom: 1rem; border: 1px solid var(--c-gold); border-radius: 20px; padding: 4px 12px; display: inline-flex; align-items: center; justify-content: center; }
.center { text-align: center; }
.light { color: var(--c-white); }
.light .lead { color: rgba(255,255,255,0.8); }

/* LAYOUT & UTILS */
.container { max-width: var(--sp-container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 800px; }
.section { padding: var(--sp-section) 0; }
.section-forest { background-color: var(--c-forest-dark); background-image: url('assets/imgi_47_bg-partner.png'), url('assets/imgi_47_bg-web.jpg'); background-size: cover, cover; background-position: center, bottom center; background-repeat: no-repeat; color: var(--c-white); }
#van-de {
  background-image: linear-gradient(to bottom, var(--c-forest-darker) 0, transparent 220px), url('assets/van-de-bg.jpg');
  background-size: 100% 220px, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: top, center;
}
@media (max-width: 600px) {
  #van-de {
    background-image: linear-gradient(to bottom, var(--c-forest-darker) 0, transparent 150px), url('assets/van-de-bg-mobile.jpg');
    background-size: 100% 150px, cover;
  }
}
.section-white { background-color: var(--c-white); }
.section-cream { background-color: var(--c-cream-dark); }
.reveal-up, .reveal { opacity: 0; visibility: hidden; }

/* BUTTONS */
.btn { display: inline-block; padding: 14px 28px; font-weight: 600; text-decoration: none; border-radius: 4px; transition: all 0.3s ease; cursor: pointer; border: none; text-align: center; }
.btn-gold { background-color: var(--c-gold); color: var(--c-white); }
.btn-gold:hover { background-color: var(--c-gold-hover); transform: scale(1.03); }
.btn-outline { background-color: transparent; border: 1.5px solid rgba(255,255,255,0.7); color: var(--c-white); }
.btn-outline:hover { background-color: rgba(255,255,255,0.1); }
.btn-ghost { background-color: transparent; border: 1px solid rgba(197,160,89,0.7); color: var(--c-gold); }
.btn-ghost:hover { background-color: var(--c-gold); color: var(--c-white); }
.btn-block { width: 100%; }

/* WAVE DIVIDERS */
.wave-divider { width: 100%; height: 60px; overflow: hidden; line-height: 0; margin-top: -1px; }
.wave-divider svg { display: block; width: calc(100% + 1.3px); height: 100%; }
.wave-into-forest svg { fill: var(--c-forest-dark); }
.wave-into-white svg { fill: var(--c-white); }
.wave-into-cream svg { fill: var(--c-cream-dark); }

/* SECTION 1: HEADER */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: all 0.4s ease; padding: 20px 0; }
.site-header.scrolled { background-color: rgba(40, 52, 19, 0.95); backdrop-filter: blur(12px); padding: 12px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.header-inner { display: flex; justify-content: space-between; align-items: center; max-width: var(--sp-container); margin: 0 auto; padding: 0 20px; }
.brand-logo { height: 48px; width: auto; filter: brightness(0) invert(1); }
.main-nav { display: flex; gap: 32px; }
.main-nav a { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500; font-size: 0.95rem; position: relative; }
.main-nav a:hover { color: var(--c-white); }
.main-nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0%; height: 2px; background: var(--c-script-gold); transition: width 0.3s ease; }
.main-nav a:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--c-white); transition: 0.3s; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
}
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(40, 52, 19, 0.98); z-index: 999; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px; opacity: 0; visibility: hidden; transition: 0.3s; }
.mobile-menu-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-menu-overlay a { color: #fff; font-size: 1.5rem; text-decoration: none; font-family: var(--font-serif); }

/* SECTION 2: HERO */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 80px; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('assets/42.3.jpg'); background-size: cover; background-position: center; z-index: -2; }
@media (max-width: 600px) {
  .hero-bg { background-image: url('assets/hero-brochure-mobile.jpg'); background-position: center top; }
  .hero { padding-bottom: 110px; }
  .hero-cta-wrap .lead { font-size: 0.9rem !important; line-height: 1.5 !important; margin: 0 auto 1rem !important; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 11px 20px; font-size: 0.85rem; }
}
.hero-scrim { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.15) 85%, rgba(0,0,0,0.35) 100%); z-index: -1; }
.hero-title-wrap { position: absolute; top: 15vh; right: 5vw; z-index: 10; text-align: right; max-width: 800px; padding: 0 20px; }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3.2vw, 38px); line-height: 1.2; margin-bottom: 1.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.4); letter-spacing: 1px; }
.hero-cta-wrap { text-align: center; z-index: 10; max-width: 800px; padding: 0 20px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; z-index: 10; animation: bounce 2s infinite; }
.scroll-cue::before { content: ''; display: block; width: 12px; height: 12px; border-bottom: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); margin: 0 auto; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); } 40% { transform: translateY(-10px) translateX(-50%); } 60% { transform: translateY(-5px) translateX(-50%); } }

/* SECTION 3: PAIN POINT */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px; }
.proof-grid p { border: 1px solid rgba(210, 181, 124, 0.5); border-radius: 16px; padding: 25px; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05); font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,0.9); text-align: justify; text-align-last: left; text-wrap: pretty; }

/* SECTION 4: OVERVIEW BANNER */
.overview-banner { width: 100%; line-height: 0; }
.overview-banner img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }

/* SECTION 5: BRAND STATEMENT */
.pc-statement { position: relative; overflow: hidden; }
.pc-birds { position: absolute; top: 20px; right: -50px; width: 400px; opacity: 0.1; }
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.pc-eyebrow { font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: var(--c-gold); margin-bottom: 10px; }
.pc-title { color: var(--c-forest-dark); margin-bottom: 20px; }
.pc-body { color: var(--c-text-muted); margin-bottom: 30px; font-size: 1.1rem; }
.pc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.stat { border-top: 2px solid var(--c-gold); padding-top: 20px; }
.stat-number { font-family: var(--font-serif); font-size: 48px; font-weight: 700; color: var(--c-forest-dark); }
.stat-unit { font-size: 24px; color: var(--c-gold); font-weight: 600; margin-left: 4px; }
.stat-label { display: block; font-size: 0.95rem; color: var(--c-text-muted); margin-top: 5px; }

@media (max-width: 992px) {
  #statement {
    padding-top: 40px !important;
  }
  .statement-grid {
    display: flex !important;
    flex-direction: column;
    gap: 30px;
  }
  .statement-text {
    display: contents;
  }
  .pc-title {
    order: 1;
    text-align: center;
  }
  .pc-stats {
    order: 2;
    grid-template-columns: 1fr 1fr !important;
  }
  .pc-body {
    order: 3;
    text-align: justify;
    text-align-last: left;
  }
}

/* SECTION 6: LOCATION */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; align-items: center; }
.location-milestones { display: flex; flex-direction: column; gap: 30px; position: relative; }
.location-milestones::before { content: ''; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: rgba(197, 160, 89, 0.3); }
.milestone { position: relative; padding-left: 40px; }
.milestone::before { content: ''; position: absolute; left: 0; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--c-gold); border: 3px solid var(--c-white); box-shadow: 0 0 0 1px var(--c-gold); }
.milestone-time { display: block; font-family: var(--font-serif); font-style: italic; color: var(--c-gold); font-size: 1.3rem; font-weight: 700; }
.milestone-name { display: block; font-weight: 700; color: var(--c-forest-dark); font-size: 1.1rem; margin-top: 4px; }
.milestone-note { display: block; font-size: 0.9rem; color: var(--c-text-muted); }
.frame-gold { border: 1px solid var(--c-gold); padding: 10px; border-radius: 12px; }
.frame-gold img { width: 100%; border-radius: 8px; display: block; }

/* SECTION 7: AMENITIES */
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; margin-bottom: 80px; }
.amenity-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 60px; margin-bottom: 80px; }
.amenity-card { padding-bottom: 20px; border-bottom: 1px solid rgba(197,160,89,0.25); }
.amenity-icon { width: 40px; height: 40px; stroke: var(--c-gold); stroke-width: 1.5; fill: none; margin-bottom: 20px; }
.amenity-card h3 { font-size: 1.25rem; font-family: var(--font-sans); margin-bottom: 10px; }
.amenity-card p { font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.section-cream .amenity-card {
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}
.section-cream .amenity-icon { margin-bottom: 0; flex-shrink: 0; }
.section-cream .amenity-card-content h3 { margin-top: 0; }
.section-cream .amenity-card p { color: inherit; opacity: 0.8; }
.amenity-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amenity-photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: all 0.4s ease; cursor: pointer; }
.amenity-photo-grid img:hover { transform: scale(1.02); filter: brightness(1.1); }

/* SECTION 8: AMENITY VISUALS */
.amenity-visuals { width: 100vw; height: auto; overflow: hidden; display: flex; flex-direction: column; align-items: center; }
.amenity-visuals img { width: 100%; height: auto; display: block; object-fit: contain; }

/* SECTION 9: GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 60px; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; cursor: zoom-in; transition: 0.3s; }
.gallery-grid img:hover { transform: scale(1.03); filter: brightness(1.1); z-index: 2; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
/* LIGHTBOX */
.lightbox { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.95); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90%; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: absolute; top: 30px; right: 40px; background: none; border: none; color: #fff; font-size: 40px; cursor: pointer; }

/* SECTION 10: FLOOR PLANS */
.tabs { display: flex; justify-content: center; gap: 20px; margin-top: 50px; margin-bottom: 40px; }
.tab-btn { background: transparent; border: 1px solid var(--c-gold); color: #fff; padding: 12px 30px; font-family: var(--font-sans); font-size: 1rem; border-radius: 30px; cursor: pointer; transition: 0.3s; }

@media (max-width: 600px) {
  .tabs {
    gap: 8px;
    margin-top: 30px;
    margin-bottom: 24px;
    padding: 0 16px;
  }
  .tab-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 4px;
    font-size: 0.72rem;
    line-height: 1.25;
    white-space: normal;
  }
}
.tab-btn.is-active, .tab-btn:hover { background: var(--c-gold); color: var(--c-forest-dark); font-weight: 600; }
.tab-panel { display: none; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; opacity: 0; }
.tab-panel.is-active { display: grid; animation: fadeIn 0.5s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.tab-panel img { max-width: 100%; max-height: 70vh; width: auto; display: block; margin: 0 auto; object-fit: contain; background: transparent; border: 2px solid var(--c-gold); border-radius: 12px; box-shadow: var(--shadow-gold); padding: 0; }
.layout-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; max-width: 100%; }
.layout-slide { scroll-snap-align: center; flex: 0 0 100%; display: flex; justify-content: center; align-items: center; padding: 10px 0; }
.layout-gallery::-webkit-scrollbar { height: 6px; }
.layout-gallery::-webkit-scrollbar-thumb { background: var(--c-gold); border-radius: 10px; }
.layout-gallery::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); border-radius: 10px; }
.tab-panel-info { text-align: left; padding: 10px 20px; }
.tab-panel-info h3 { font-size: 2.5rem; color: var(--c-gold); margin-bottom: 5px; font-family: var(--font-serif); text-transform: uppercase; letter-spacing: 2px; }
.tab-fit { font-family: var(--font-script); font-style: italic; color: var(--c-script-gold); font-size: 1.3rem; margin-bottom: 20px; display: inline-block; border-bottom: 1px solid rgba(210,181,124,0.3); padding-bottom: 10px; }
.tab-panel-info p { font-size: 1.15rem; color: rgba(255,255,255,0.9); line-height: 1.8; }

/* SECTION 11: DEVELOPER */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-copy h2 { color: var(--c-forest-dark); }
.split-copy p { margin-bottom: 20px; font-size: 1.05rem; }

/* SECTION 12: AWARDS/PARTNERS */
.awards-showcase { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; margin-bottom: 80px; align-items: stretch; }
.award-divider { width: 1px; background-color: rgba(210,181,124,0.3); }
@media (max-width: 768px) {
  .awards-showcase { grid-template-columns: 1fr; gap: 60px; }
  .award-divider { width: 100%; height: 1px; }
}

.award-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 1px; background-color: rgba(210,181,124,0.3); border: 1px solid rgba(210,181,124,0.3); }
.award-item { background-color: var(--c-forest-dark); padding: 30px; display: flex; flex-direction: column; position: relative; min-height: 280px; transition: background-color 0.3s; }
.award-item:hover { background-color: var(--c-palm-olive); }
.award-large { grid-column: span 2; grid-row: span 2; min-height: 560px; }
.award-label.top-left { position: absolute; top: 30px; left: 30px; font-size: 0.8rem; color: var(--c-gold); text-transform: uppercase; letter-spacing: 1px; }
.award-label.bottom-left { position: absolute; bottom: 30px; left: 30px; font-size: 0.95rem; color: rgba(255,255,255,0.8); }
.award-logo { margin: auto; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; padding-top: 30px;}

@media (max-width: 992px) {
  .award-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .award-large { grid-column: span 2; grid-row: span 1; min-height: 350px; }
  .award-item { min-height: 250px; }
  .award-item[style*="grid-column: 3;"] { grid-column: 2 !important; }
}
@media (max-width: 576px) {
  .award-grid { grid-template-columns: 1fr; }
  .award-large { grid-column: span 1; min-height: auto; }
  .award-item[style*="grid-column: 3;"] { grid-column: 1 !important; }

  .award-item {
    min-height: auto;
    padding: 24px 20px;
  }
  .award-label.top-left,
  .award-label.bottom-left {
    position: static !important;
    top: auto;
    left: auto;
    bottom: auto;
  }
  .award-label.top-left {
    margin-bottom: 20px;
  }
  .award-label.bottom-left {
    margin-top: 20px;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }
  .award-logo {
    padding-top: 0;
  }
  .award-logo h3 {
    font-size: 2.2rem !important;
  }
}
.benchmark-quote { border-left: 3px solid var(--c-gold); padding-left: 24px; margin-top: 30px; font-family: var(--font-script); font-style: italic; font-size: 1.25rem; color: var(--c-forest-darker); }
.benchmark-quote cite { display: block; font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: 1rem; color: var(--c-forest-dark); margin-top: 15px; }

/* SECTION 12: CONTACT FORM */
.contact-form { background: rgba(255,255,255,0.06); border: 1px solid rgba(197,160,89,0.3); border-radius: 16px; padding: 40px; margin-top: 50px; scroll-margin-top: 100px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 500; font-size: 0.95rem; color: rgba(255,255,255,0.8); margin-bottom: 8px; }
.form-row input, .form-row select { width: 100%; padding: 14px 20px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: #fff; border-radius: 6px; font-family: var(--font-sans); font-size: 1rem; outline: none; transition: 0.3s; }
.form-row input:focus, .form-row select:focus { border-color: var(--c-gold); background: rgba(255,255,255,0.12); }
.form-row select option { color: #000; }
.form-success { color: var(--c-gold); text-align: center; margin-top: 20px; font-weight: 500; display: none; }
.form-hint { font-size: 0.8rem; color: rgba(255,255,255,0.45); text-align: center; margin-top: 20px; }
.form-hint a { color: var(--c-gold); text-decoration: none; }

/* SECTION 13: LEAD MAGNET POPUP */
.doc-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 3000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.4s; }
.doc-overlay.is-open { opacity: 1; visibility: visible; }
.doc-modal { width: 100%; max-width: 800px; background: var(--c-cream); border-radius: 20px; display: grid; grid-template-columns: 1.2fr 0.8fr; overflow: hidden; position: relative; transform: translateY(30px); transition: 0.4s; }
.doc-overlay.is-open .doc-modal { transform: translateY(0); }
.doc-close { position: absolute; top: 20px; right: 20px; font-size: 30px; border: none; background: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 10; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.doc-panel-form { padding: 30px 25px; }
.doc-eyebrow { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--c-text-muted); margin-bottom: 8px; }
.doc-title { color: var(--c-forest-dark); font-size: 1.5rem; margin-bottom: 12px; line-height: 1.3; }
.doc-checklist { list-style: none; margin-bottom: 18px; }
.doc-checklist li { position: relative; padding-left: 25px; margin-bottom: 8px; font-size: 0.9rem; color: var(--c-text-dark); line-height: 1.4; }
.doc-checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--c-gold); font-weight: bold; }
.doc-form input { width: 100%; padding: 10px 14px; margin-bottom: 10px; border: 1px solid #ccc; border-radius: 6px; font-family: var(--font-sans); font-size: 0.9rem; }
.doc-form input:focus { border-color: var(--c-gold); outline: none; }
.doc-secure { font-size: 0.8rem; color: var(--c-text-muted); margin-top: 15px; text-align: center; }
.doc-panel-media { position: relative; }
.doc-panel-media img { width: 100%; height: 100%; object-fit: cover; }
.doc-badge { position: absolute; top: 30px; left: -15px; background: var(--c-gold); color: #fff; padding: 6px 16px; font-size: 0.85rem; font-weight: 600; border-radius: 4px; box-shadow: var(--shadow-gold); }

/* SECTION 14: FOOTER */
.site-footer { background: var(--c-forest-darker); color: #fff; padding: 80px 0 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.brand-logo-footer { filter: brightness(0) invert(1); opacity: 0.9; margin-bottom: 20px; }
.footer-brand p { font-size: 0.95rem; color: rgba(255,255,255,0.7); margin-bottom: 15px; }
.footer-brand a { color: var(--c-gold); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.footer-links h4 { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 2px; color: var(--c-gold); font-size: 0.9rem; margin-bottom: 20px; }
.footer-links a { display: block; color: rgba(255,255,255,0.7); text-decoration: none; margin-bottom: 12px; transition: 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { background: rgba(0,0,0,0.2); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.4); max-width: 800px; margin: 0 auto; }

/* SECTION 15: FAB */
.floating-actions { position: fixed; left: 20px; bottom: 30px; z-index: 1000; display: flex; flex-direction: column; gap: 15px; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 20px rgba(0,0,0,0.3); transition: 0.3s; color: #fff; text-decoration: none; }
.fab:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(0,0,0,0.4); }
.fab svg { width: 26px; height: 26px; }
.fab-call { background: var(--c-gold); position: relative; }
.fab-call::before { content: ''; position: absolute; width: 100%; height: 100%; background: var(--c-gold); border-radius: 50%; z-index: -1; animation: pulse-ring 2s infinite; }
.fab-msg { background: var(--c-forest-dark); border: 1.5px solid var(--c-gold); }
.fab-msg svg { stroke: var(--c-gold); }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }

/* NEW SECTIONS CSS */
.amenity-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 60px; }
.goal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px; }
.goal-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); padding: 40px; border-radius: 12px; transition: 0.4s; display: flex; flex-direction: column; }
.goal-card:hover { background: rgba(255,255,255,0.06); border-color: var(--c-gold); transform: translateY(-5px); }
.goal-card h3 { color: var(--c-gold); font-size: 1.8rem; margin-bottom: 20px; font-family: var(--font-serif); }
.goal-card p { color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1.6; margin-bottom: 25px; }
.check-list { list-style: none; margin: 0 auto 40px auto; flex-grow: 1; display: inline-flex; flex-direction: column; align-items: flex-start; text-align: left; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 15px; color: rgba(255,255,255,0.9); }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--c-gold); font-weight: bold; }
.goal-cta { margin-top: auto; align-self: center; }

/* CURVED GALLERY */
.curved-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 60px 0 100px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.curved-gallery-item {
  width: 18%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.curved-gallery-item:nth-child(1) { transform: translateY(40px) rotate(-6deg); }
.curved-gallery-item:nth-child(2) { transform: translateY(15px) rotate(-3deg); }
.curved-gallery-item:nth-child(3) { transform: translateY(0px) rotate(0deg); z-index: 2; width: 20%; box-shadow: 0 25px 50px rgba(0,0,0,0.15); }
.curved-gallery-item:nth-child(4) { transform: translateY(15px) rotate(3deg); }
.curved-gallery-item:nth-child(5) { transform: translateY(40px) rotate(6deg); }

.curved-gallery:hover .curved-gallery-item {
  transform: translateY(20px) rotate(0deg);
  opacity: 0.7;
}
.curved-gallery-item:hover {
  transform: translateY(-10px) rotate(0deg) scale(1.05) !important;
  opacity: 1 !important;
  z-index: 3 !important;
}

@media (max-width: 700px) {
  .curved-gallery {
    min-height: auto !important;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    padding: 30px 20px 50px 20px;
    gap: 14px;
  }
  .curved-gallery-item,
  .curved-gallery-item:nth-child(1),
  .curved-gallery-item:nth-child(2),
  .curved-gallery-item:nth-child(3),
  .curved-gallery-item:nth-child(4),
  .curved-gallery-item:nth-child(5) {
    width: 68vw;
    flex: 0 0 68vw;
    transform: none !important;
    scroll-snap-align: center;
  }
}

/* OFFSET TEXT LAYOUT */
.offset-text-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  align-items: flex-start;
}
.offset-text-left {
  display: flex;
  flex-direction: column;
}
.offset-text-right {
  display: flex;
  flex-direction: column;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 992px) {
  .pc-grid, .location-grid, .split, .tab-panel, .goal-grid { grid-template-columns: 1fr; }
  .amenity-grid, .gallery-grid, .amenity-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .doc-modal { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .doc-panel-media { display: none; }
}
@media (max-width: 576px) {
  .amenity-grid, .amenity-grid-2, .gallery-grid, .proof-grid, .pc-stats, .amenity-grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; padding: 0 20px; }
  .overview-banner img { aspect-ratio: 16/9; }
}

/* -------------------------------------------
   TỔNG QUAN SECTION
   ------------------------------------------- */
.tong-quan-bg {
  position: relative;
  background-image: url('assets/imgi_14_masterplan.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: stretch;
  aspect-ratio: 16 / 9; /* Lock ratio to 16:9 to prevent cropping */
}
.tq-widget {
  color: #fff;
}
.tq-label {
  color: var(--c-gold);
  opacity: 1;
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  font-weight: 600;
}
.tq-val {
  font-size: 1.05em;
  font-weight: 500;
  line-height: 1.4;
}
.tq-sub {
  font-size: 0.8em;
  opacity: 0.7;
  margin-top: 3px;
}
.tong-quan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.tong-quan-right {
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 40px;
  position: relative;
}
.tong-quan-logo {
  position: absolute;
  top: -20px;
  right: 0;
  width: 60px;
  opacity: 0.8;
}

@media (max-width: 992px) {
  .tong-quan-bg,
  #tong-quan.tong-quan-bg {
    aspect-ratio: auto;
    padding-top: 65vw !important;
    padding-bottom: 60px !important;
    background-size: 100% auto;
    background-position: top center;
  }
  .tong-quan-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tong-quan-right {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-left: 0;
    padding-top: 40px;
  }
  .tong-quan-logo {
    top: 20px;
  }
  .tq-container {
    flex-direction: column !important;
    height: auto !important;
    margin-top: 0 !important;
    gap: 30px !important;
    padding: 0 0 40px 0 !important;
  }
  .tq-left {
    flex: none !important;
    width: 100%;
  }
  .tq-right {
    width: 100%;
    padding-top: 0 !important;
  }
  .tq-specs-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .tq-specs-grid > div {
    gap: 0 !important;
  }
  .tq-specs-grid > div > div {
    padding: 12px 0;
  }
}
/* ================================================
   RESPONSIVE: Section padding override via CSS variable
   Tất cả .section dùng var(--sp-section) sẽ tự co lại
   ================================================ */
@media (max-width: 860px) {
  :root {
    --sp-section: 64px;
  }
  .section {
    padding-top: var(--sp-section) !important;
    padding-bottom: var(--sp-section) !important;
  }
  /* van-de dùng padding riêng (60/120) vì có gradient nền cố định 220px, giữ tỉ lệ nhưng thu nhỏ */
  #van-de {
    padding-top: 44px !important;
    padding-bottom: 70px !important;
  }
}

@media (max-width: 480px) {
  :root {
    --sp-section: 44px;
  }
  .section {
    padding-top: var(--sp-section) !important;
    padding-bottom: var(--sp-section) !important;
  }
  #van-de {
    padding-top: 36px !important;
    padding-bottom: 50px !important;
  }
}

/* Curved gallery section cố ý để padding-bottom: 0 (tự co giãn trong .curved-gallery), không ghi đè */
#curved-gallery-section {
  padding-bottom: 0 !important;
}
