/* ==========================================================================
   IVY CENTRAL - Academic Luxury & Royal Sapphire Brand Identity
   Official Brand Palette: Royal Sapphire Blue, Sunset Twilight & Champagne Gold
   ========================================================================== */

:root {
  /* Scoped Section Background & Surface Tokens */
  --color-deep-blue: #0549CE;
  --color-light-blue: #A3CDFF;
  --color-navy: #0B1D49;

  /* Official Royal Sapphire Color System */
  --royal-dark: #04102E;
  --royal-deep: #071D54;
  --royal-primary: #0B389E;
  --royal-vibrant: #104BD4;
  --royal-light: #2563EB;
  --royal-soft: #EBF2FE;
  
  --twilight-violet: #4A236C;
  --twilight-magenta: #823E7E;
  --twilight-coral: #D9737E;
  
  --gold-primary: #E5B85C;
  --gold-light: #F6D688;
  --gold-dark: #B6862A;
  --gold-gradient: linear-gradient(135deg, #FFF1C5 0%, #E5B85C 50%, #B6862A 100%);
  --gold-glow: rgba(229, 184, 92, 0.35);
  
  --bg-body: #F4F7FD;
  --bg-card: #FFFFFF;
  --bg-ice: #EBF1FB;
  --bg-dark: #061846;
  
  --text-main: #0B1938;
  --text-muted: #475569;
  --text-light: #94A3B8;
  
  --border-light: rgba(11, 56, 158, 0.1);
  --border-gold: rgba(229, 184, 92, 0.4);
  --border-blue: rgba(16, 75, 212, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==============================================================================
   FOOTER REDESIGN WITH INTEGRATED LEAD FORM (3 COLUMNS DESKTOP / RE-ORDERED MOBILE)
   ============================================================================== */
.site-footer {
  background-color: #07132F !important;
}

.footer-grid {
  display: grid;
  grid-template-areas:
    "form"
    "brand"
    "info";
  gap: 32px;
  align-items: start;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .footer-grid {
    grid-template-areas:
      "brand info"
      "form form";
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-area-form {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-areas:
      "brand info form";
    grid-template-columns: 30% 1fr 350px;
    gap: 32px;
  }
  .footer-area-form {
    max-width: 350px;
    margin: 0;
  }
}

.footer-area-brand {
  grid-area: brand;
}

.footer-area-info {
  grid-area: info;
}

.footer-area-form {
  grid-area: form;
  background-color: #10234A;
  border: 1px solid rgba(216, 181, 104, 0.5);
  border-radius: 16px;
  scroll-margin-top: 100px;
}

.footer-lead-input {
  background-color: #1B3158;
  border: 1px solid rgba(188, 209, 239, 0.35);
  border-radius: 10px;
  color: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-lead-input::placeholder {
  color: #AFC1DB;
}

.footer-lead-input:focus {
  outline: none;
  border-color: #F4C65B;
  box-shadow: 0 0 0 1px #F4C65B;
}

.footer-lead-btn {
  background-color: #F4C65B;
  color: #0B1D49;
  border-radius: 10px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.footer-lead-btn:hover {
  background-color: #FFDA82;
}

.footer-lead-btn:focus-visible {
  outline: 2px solid #F4C65B;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .footer-lead-btn,
  .footer-lead-input {
    transition: none !important;
  }
}

/* ==============================================================================
   SCOPED SECTION THEMES (Light Blue #A3CDFF & Deep Blue #0549CE)

.theme-light-blue {
  --theme-bg: #F2F7FF;
  --theme-heading: #0B1D49;
  --theme-body: #243B60;
  --theme-muted: #405779;
  --theme-surface: rgba(255, 255, 255, 0.85);
  --theme-surface-solid: #FFFFFF;
  --theme-border: rgba(11, 29, 73, 0.15);
  --theme-btn-bg: #0B1D49;
  --theme-btn-text: #FFFFFF;
  --theme-btn-hover: #142F63;
  --theme-tab-inactive-bg: transparent;
  --theme-tab-inactive-text: #0B1D49;
  --theme-tab-active-bg: #0B1D49;
  --theme-tab-active-text: #FFFFFF;
  --theme-focus: #0B1D49;
  --theme-accent: #0549CE;
  background-color: var(--theme-bg) !important;
  color: var(--theme-body);
}

.theme-deep-blue {
  --theme-bg: #0549CE;
  --theme-heading: #FFFFFF;
  --theme-body: #F8FAFC;
  --theme-muted: rgba(255, 255, 255, 0.85);
  --theme-surface: #F0F6FF;
  --theme-surface-solid: #FFFFFF;
  --theme-border: rgba(255, 255, 255, 0.22);
  --theme-btn-bg: #A3CDFF;
  --theme-btn-text: #0B1D49;
  --theme-btn-hover: #D5E7FF;
  --theme-tab-inactive-bg: rgba(255, 255, 255, 0.12);
  --theme-tab-inactive-text: #FFFFFF;
  --theme-tab-active-bg: #A3CDFF;
  --theme-tab-active-text: #0B1D49;
  --theme-focus: #FAD68A;
  --theme-accent: #FAD68A;
  background-color: var(--theme-bg) !important;
  color: var(--theme-body);
}

/* Scoped Overrides for Overview in Light Blue Theme */
.theme-light-blue .overview-spec-row {
  border-bottom: 1px solid rgba(11, 29, 73, 0.15);
}

.theme-light-blue .overview-spec-label {
  color: #405779 !important;
  font-weight: 500;
}

.theme-light-blue .overview-spec-value {
  color: #0B1D49 !important;
  font-weight: 600;
}

/* Scoped Overrides for Overview in Deep Blue Theme */
.theme-deep-blue .overview-spec-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.theme-deep-blue .overview-spec-label {
  color: rgba(255, 255, 255, 0.75) !important;
  font-weight: 500;
}

.theme-deep-blue .overview-spec-value {
  color: #FFFFFF !important;
  font-weight: 600;
}

/* Scoped Navy + Royal Blue Radial Gradient for Section "Phối cảnh nội thất căn mẫu" */
#gallery {
  background-color: #11254D !important;
  background-image: radial-gradient(
    ellipse at 20% 0%,
    rgba(8, 68, 181, 0.65) 0%,
    rgba(8, 68, 181, 0.25) 35%,
    rgba(8, 68, 181, 0) 75%
  ) !important;
  background-repeat: no-repeat !important;
}

/* Scoped Navy + Royal Blue Radial Gradient for Section "Tổng quan dự án" */
#overview {
  background-color: #11254D !important;
  background-image: radial-gradient(
    ellipse at 28% 0%,
    rgba(8, 68, 181, 0.85) 0%,
    rgba(8, 68, 181, 0.40) 32%,
    rgba(8, 68, 181, 0) 70%
  ) !important;
  background-repeat: no-repeat !important;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.01em;
}

.font-serif {
  font-family: 'Playfair Display', Georgia, serif !important;
}

.font-sans {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
}

/* Luxury Utilities */
.text-gold {
  color: var(--gold-primary);
}

.gold-metallic-text {
  color: #F3D58A;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #F3D58A;
  opacity: 1;
  filter: none;
  text-shadow: none;
  -webkit-text-stroke: 0;
  display: inline-block;
}

/* Hero Numbers & Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 576px;
  margin-top: 16px !important;
  margin-bottom: 20px !important;
  padding: 0;
}

.hero-stat-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}

.hero-stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 2.4vw, 46px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: normal;
  font-style: normal;
  color: #F3D58A;
  opacity: 1;
  font-variant-numeric: lining-nums tabular-nums;
  -moz-font-feature-settings: "lnum" 1, "tnum" 1;
  -webkit-font-feature-settings: "lnum" 1, "tnum" 1;
  font-feature-settings: "lnum" 1, "tnum" 1;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

.hero-stat-label {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #FFFFFF;
  opacity: 1;
  margin-top: 6px;
  margin-bottom: 0;
  padding: 0;
}

.hero-stat-sub {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  color: #D1D5DB;
  opacity: 1;
  margin-top: 4px;
  margin-bottom: 0;
  padding: 0;
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

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

.border-gold {
  border-color: var(--border-gold);
}

/* Container */
.site-container {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .site-container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* Header & Navigation */
.header-container {
  width: calc(100% - 96px);
  max-width: 1600px;
  margin-inline: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

/* Specific margins to ensure >= 48px clearance between hero gold flare and logo */
@media (min-width: 1600px) and (max-width: 1799px) {
  .header-container {
    width: calc(100% - 224px);
  }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  .header-container {
    width: calc(100% - 192px);
  }
}

@media (min-width: 1280px) and (max-width: 1399px) {
  .header-container {
    width: calc(100% - 180px);
  }
}

@media (max-width: 767px) {
  .header-container {
    width: calc(100% - 32px);
  }
}

.header-glass {
  background-color: transparent;
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background-color 250ms ease,
              backdrop-filter 250ms ease,
              -webkit-backdrop-filter 250ms ease,
              border-color 250ms ease,
              box-shadow 250ms ease;
}

.header-scrolled {
  background-color: rgba(11, 29, 73, 0.55) !important;
  backdrop-filter: blur(14px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(120%) !important;
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Hotline responsive styles */
.header-hotline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-hotline-text {
  display: inline;
}

@media (max-width: 1535px) {
  .header-hotline-text {
    display: none;
  }
  .header-hotline-icon {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(243, 195, 91, 0.4);
    transition: all 180ms ease;
  }
  .header-hotline-btn:hover .header-hotline-icon {
    background: rgba(243, 195, 91, 0.2);
    border-color: #F3C35B;
  }
}

/* Base section anchor clearance for sticky header */
section[id] {
  scroll-margin-top: 80px;
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.85rem;
  color: #E2E8F8;
  transition: color 0.25s ease, text-shadow 0.25s ease;
  padding: 8px 3px;
  white-space: nowrap;
}

@media (min-width: 1280px) {
  .nav-link {
    font-size: 0.925rem;
    padding: 8px 6px;
  }
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, #F6D688 0%, #E5B85C 50%, #B6862A 100%);
  border-radius: 2px;
  box-shadow: 0 1px 6px rgba(229, 184, 92, 0.45);
  transition: width 350ms cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover {
  color: #FFFFFF;
}

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

.nav-link.active {
  color: #FFFFFF;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(243, 195, 91, 0.35);
}

/* Mobile Nav Links Active Styling */
.mobile-nav-link {
  position: relative;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.mobile-nav-link.active {
  color: #F3C35B !important;
  font-weight: 600;
  padding-left: 12px;
  border-left: 3px solid #F3C35B;
}

/* Buttons */
.btn-gold {
  background: var(--gold-gradient);
  color: #07173D;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), filter var(--transition-normal);
  box-shadow: 0 4px 16px rgba(229, 184, 92, 0.35);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  will-change: transform;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 184, 92, 0.5);
  filter: brightness(1.06);
}

.btn-outline-gold {
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-light);
  background: transparent;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 11px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
  cursor: pointer;
}

.btn-outline-gold:hover {
  background: rgba(229, 184, 92, 0.15);
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* ==================== HERO BANNER (Official Artboard 1 - 2048:993) ==================== */
.hero-section {
  position: relative;
  width: 100%;
  background-color: #04102E;
  overflow: hidden;
}

#hero {
  min-height: auto !important;
  aspect-ratio: auto !important;
}

.hero-banner-container {
  position: relative;
  width: 100%;
  aspect-ratio: 2048 / 993;
  max-width: 100%;
  overflow: hidden;
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Whole Left Column Overlay (Desktop >= 1024px) */
.hero-left-column {
  position: absolute;
  top: 24%;
  left: 12.1%;
  width: 38%;
  max-width: 520px;
  z-index: 20;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-left-column {
    top: 18%;
    left: 8%;
    width: 44%;
  }
}

@media (max-width: 1023px) {
  .hero-left-column {
    display: none !important;
  }
}

/* User Headline Graphic (Transparent Background Cutout) */
.hero-headline-img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 4px 16px rgba(4, 16, 46, 0.55));
  margin-bottom: 12px;
}

.hero-mobile-headline-img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 auto 12px;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 4px 16px rgba(4, 16, 46, 0.55));
}

.hero-desc-line {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(12.5px, 0.9vw, 15px);
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(4, 16, 46, 0.6);
  margin-bottom: 18px;
}

/* Mobile Title Wrap Adjustments */
.hero-mobile-title-wrap .hero-desc-line {
  font-size: 13px;
  margin-bottom: 0;
}

/* Divider Line */
.hero-stats-divider {
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, #E5B85C 0%, rgba(229, 184, 92, 0.7) 60%, rgba(229, 184, 92, 0) 100%);
  margin-bottom: 14px;
}

/* Stats Row Desktop */
.hero-stats-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  width: 100%;
  margin-bottom: 18px;
}

.hero-stats-row .hero-stat-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-stats-row .hero-stat-col:not(:first-child) {
  padding-left: 12px;
}

.hero-stats-row .hero-stat-col:not(:last-child) {
  padding-right: 12px;
}

.hero-col-divider {
  width: 1px;
  height: 48px;
  background: rgba(243, 213, 138, 0.35);
  align-self: center;
}

.hero-stats-row .hero-stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 2.3vw, 40px);
  font-weight: 600;
  line-height: 1.05;
  color: #F3D58A;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}

.hero-stats-row .hero-stat-label {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(11px, 0.8vw, 13px);
  font-weight: 500;
  color: #FFFFFF;
  margin-top: 3px;
  line-height: 1.3;
}

.hero-stats-row .hero-stat-sub {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(10px, 0.7vw, 11.5px);
  font-weight: 400;
  color: #D1D5DB;
  margin-top: 2px;
  line-height: 1.3;
}

/* CTA Row Desktop */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #F3C35B;
  color: #07173D;
  font-weight: 700;
  font-size: clamp(12px, 0.85vw, 13.5px);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(243, 195, 91, 0.3);
  transition: all 180ms ease;
  white-space: nowrap;
}

.hero-cta-primary:hover {
  background: #E5B85C;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(243, 195, 91, 0.4);
}

.hero-cta-primary:focus-visible {
  outline: 2px solid #F3C35B;
  outline-offset: 2px;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: rgba(11, 29, 73, 0.45);
  color: #FFFFFF;
  font-weight: 500;
  font-size: clamp(12px, 0.85vw, 13.5px);
  border: 1px solid rgba(243, 195, 91, 0.7);
  border-radius: 10px;
  text-decoration: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 180ms ease;
  white-space: nowrap;
}

.hero-cta-secondary:hover {
  border-color: #F3C35B;
  background: rgba(11, 29, 73, 0.75);
}

.hero-cta-secondary:focus-visible {
  outline: 2px solid #F3C35B;
  outline-offset: 2px;
}

/* Mobile & Tablet Flow Content (< 1024px) */
.hero-mobile-content {
  display: none;
  width: 100%;
  background: #04102E;
  padding: 20px 16px 28px;
  border-top: 1px solid rgba(229, 184, 92, 0.2);
}

@media (max-width: 1023px) {
  .hero-mobile-content {
    display: block !important;
  }
}

.hero-mobile-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 20px;
}

.hero-mobile-stats .hero-stat-col {
  align-items: center;
  text-align: center;
  padding: 0 6px;
}

.hero-mobile-stats .hero-stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.05;
  color: #F3D58A;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}

.hero-mobile-stats .hero-stat-label {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: #FFFFFF;
  margin-top: 3px;
  line-height: 1.3;
  text-align: center;
}

.hero-mobile-stats .hero-stat-sub {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: #D1D5DB;
  margin-top: 2px;
  line-height: 1.3;
  text-align: center;
}

.hero-mobile-stats .hero-col-divider {
  height: 38px;
}
}

.hero-mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
  margin: 0 auto;
}

.hero-mobile-cta a {
  min-height: 44px;
  justify-content: center;
  text-align: center;
  font-size: 13px;
}

/* ==================== HERO LIQUID GLASS FORM (Official Mockup Match) ==================== */
.hero-glass-card {
  box-sizing: border-box;
  width: 312px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  box-shadow:
    0 12px 32px rgba(11, 29, 73, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  position: relative;
  overflow: hidden;
}

/* Fallback for browsers not supporting backdrop-filter */
@supports not (backdrop-filter: blur(14px)) {
  .hero-glass-card {
    background: rgba(7, 21, 54, 0.85);
  }
}

/* Subtle top edge liquid reflection */
.hero-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

/* Desktop positioning in open sky (>= 1200px) */
@media (min-width: 1200px) {
  .hero-glass-card {
    position: absolute;
    left: 60%;
    top: 49%;
    transform: translate(-50%, -50%);
    z-index: 25;
    margin: 0;
  }
}

/* Responsive in-flow positioning (< 1200px) */
@media (max-width: 1199px) {
  .hero-glass-card {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 360px;
    margin: 28px auto 32px auto;
    z-index: 10;
  }
}

@media (max-width: 640px) {
  .hero-glass-card {
    max-width: calc(100% - 32px);
    margin: 20px 16px 32px 16px;
    padding: 20px 18px;
  }
}

.hero-glass-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.01em;
}

.hero-glass-desc {
  font-family: 'Be Vietnam Pro', 'Montserrat', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  margin: 8px 0 20px 0;
}

.hero-glass-form {
  display: flex;
  flex-direction: column;
}

.hero-glass-field {
  display: flex;
  flex-direction: column;
}

.hero-glass-field + .hero-glass-field {
  margin-top: 14px;
}

.hero-glass-label {
  font-family: 'Be Vietnam Pro', 'Montserrat', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 6px;
  line-height: 1.3;
}

.hero-glass-input {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  padding: 0 12px;
  font-family: 'Be Vietnam Pro', 'Montserrat', system-ui, sans-serif;
  font-size: 14px;
  color: #FFFFFF;
  background: rgba(11, 29, 73, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-glass-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.hero-glass-input:focus {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(11, 29, 73, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

@media (max-width: 640px) {
  .hero-glass-input {
    font-size: 16px;
  }
}

.hero-glass-submit-btn {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  margin-top: 16px;
  background: #F3C35B;
  color: #0B1D49;
  font-family: 'Be Vietnam Pro', 'Montserrat', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  user-select: none;
}

.hero-glass-submit-btn:hover {
  background: #E5B85C;
}

.hero-glass-submit-btn:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

.hero-glass-arrow {
  font-size: 15px;
  line-height: 1;
}

.hero-glass-secure {
  font-family: 'Be Vietnam Pro', 'Montserrat', system-ui, sans-serif;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  margin: 12px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hero-glass-lock-icon {
  width: 12px;
  height: 12px;
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

/* Local Brand Typography for Hero Section (Standardized to PDF typography) */
.font-cormorant {
  font-family: 'Playfair Display', Georgia, serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-bevietnam {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hero Lead Form Glassmorphism */
.hero-glass-card {
  background: rgba(11, 29, 73, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 32px -4px rgba(0, 0, 0, 0.28) !important;
}

.hero-input-glass {
  height: 42px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #FFFFFF !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 12.5px !important;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.hero-input-glass:focus {
  outline: none !important;
  border-color: #F3C35B !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.hero-input-glass::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 12.5px !important;
}

/* ==========================================================================
   Overview Tower Perspective Card & Brand Philosophy Hover Overlay
   ========================================================================== */
.overview-tower-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: #04102E;
  isolation: isolate;
  display: block;
}

.overview-tower-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: filter 300ms ease-out;
  will-change: filter;
}

.overview-tower-hint {
  transition: opacity 250ms ease-out, transform 250ms ease-out;
  will-change: opacity, transform;
}

.overview-tower-caption {
  transition: opacity 250ms ease-out, transform 250ms ease-out;
  will-change: opacity, transform;
}

.overview-tower-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 29, 73, 0.70) 0%,
    rgba(11, 29, 73, 0.80) 55%,
    rgba(7, 19, 48, 0.95) 100%
  );
  padding: 40px 42px;
  opacity: 0;
  pointer-events: none;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 300ms ease-out;
  will-change: opacity;
  z-index: 20;
}

@media (max-width: 640px) {
  .overview-tower-overlay {
    padding: 24px 22px;
    justify-content: flex-start;
  }
}

.overview-tower-content {
  position: relative;
  z-index: 10;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms ease-out, transform 300ms ease-out;
  will-change: opacity, transform;
}

.overview-brand-watermark {
  position: absolute;
  right: 12px;
  bottom: -10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(110px, 11vw, 150px);
  font-weight: 700;
  line-height: 0.85;
  color: #F3D58A;
  opacity: 0.14;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   Project Overview Editorial Details Typography (Montserrat matching PDF)
   Explicit font-family and weights for detail elements as requested
   ========================================================================== */
.overview-detail-eyebrow {
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-weight: 600 !important;
}

.overview-detail-desc {
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-weight: 400 !important;
}

.overview-detail-label {
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-weight: 500 !important;
}

/* ==========================================================================
   Project Overview Specifications List (2-Column Label/Value Grid)
   ========================================================================== */
.overview-specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.overview-spec-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  column-gap: 20px;
  align-items: baseline;
}

.overview-spec-label {
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 13px;
  font-weight: 400;
  color: #64748B;
  line-height: 1.45;
}

.overview-spec-value {
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 14px;
  font-weight: 500;
  color: #0B1D49;
  line-height: 1.5;
  min-width: 0;
  word-break: normal;
}

@media (max-width: 520px) {
  .overview-specs-list {
    gap: 10px;
  }
  .overview-spec-row {
    grid-template-columns: 1fr;
    row-gap: 2px;
  }
  .overview-spec-label {
    font-size: 12px;
  }
  .overview-spec-value {
    font-size: 13.5px;
  }
}

.overview-detail-cta {
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-weight: 600 !important;
}

/* Hover, Focus & Mobile Tapped States */
.overview-tower-card:hover .overview-tower-img,
.overview-tower-card:focus-within .overview-tower-img,
.overview-tower-card.is-hovered .overview-tower-img {
  filter: blur(3px);
}

.overview-tower-card:hover .overview-tower-overlay,
.overview-tower-card:focus-within .overview-tower-overlay,
.overview-tower-card.is-hovered .overview-tower-overlay {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 300ms ease-out;
}

.overview-tower-card:hover .overview-tower-content,
.overview-tower-card:focus-within .overview-tower-content,
.overview-tower-card.is-hovered .overview-tower-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 300ms ease-out, transform 300ms ease-out;
}

.overview-tower-card:hover .overview-tower-caption,
.overview-tower-card:focus-within .overview-tower-caption,
.overview-tower-card.is-hovered .overview-tower-caption {
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease-out;
}

.overview-tower-card:hover .overview-tower-hint,
.overview-tower-card:focus-within .overview-tower-hint,
.overview-tower-card.is-hovered .overview-tower-hint {
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease-out;
}

/* ==========================================================================
   Accessibility: Reduced Motion Preference (prefers-reduced-motion)
   Ensures all content remains 100% visible, legible & accessible with motion minimized
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .floating-btn-pulse {
    animation: none !important;
    display: none !important;
  }

  .modal-overlay,
  .modal-box,
  .header-glass,
  .overview-tower-hint,
  .overview-tower-caption,
  .overview-tower-overlay,
  .overview-tower-content {
    transition: none !important;
  }
}
