/* ============================================================
   INFINITE STRUCTURE — ARCHITECTURAL DESIGN SYSTEM & STYLES
   3-Pillar Split Kinetic Canvas Engine & Luxury Layout
   ============================================================ */

:root {
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-editorial: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Luxury Color Palette */
  --accent-gold: #C9A96E;
  --accent-gold-hover: #e0be7e;
  --accent-gold-glow: rgba(201, 169, 110, 0.35);
  
  --dark-base: #0a0b0e;
  --dark-surface: #121419;
  --dark-card: #181b22;
  --near-black: #111215;
  --text-dark: #121316;
  --text-muted: #646875;
  --text-light: #ffffff;
  --text-light-muted: rgba(255, 255, 255, 0.75);

  --bg-light: #ffffff;
  --bg-cream: #F8F9FA;
  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  background-color: var(--dark-base);
  color: var(--text-dark);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-light);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================================
   01. NAVBAR (Frosted Glass Overlay)
   ============================================================ */

.navbar--transparent {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 2.5rem;
  background: transparent;
  transition: all 0.4s var(--transition-smooth);
}

.navbar-container {
  max-width: 1540px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Brand Link */
.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.04);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.25s ease;
  position: relative;
  padding: 4px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

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

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

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-cta-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--dark-base);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-gold-glow);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 24px;
  justify-content: center;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

/* Scrolled Navbar state */
.navbar--transparent.scrolled {
  background: rgba(10, 11, 14, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 2.5rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar--transparent.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

.navbar--transparent.scrolled .nav-link:hover {
  color: #fff;
}

/* ============================================================
   02. 3-COLUMN SPLIT HERO SECTION (320vh Scroll Tunnel)
   ============================================================ */

.split-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--dark-base);
}

.split-hero__sticky,
.split-hero-sticky {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Loader Overlay */
.hero-loader {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(8, 9, 12, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 320px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-text {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.loader-bar-track {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), #fff);
  transition: width 0.15s ease;
}

.loader-percent {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 700;
}

/* ============================================================
   03. 3-COLUMN SLANTED DIAGONAL WRAPPER & COLUMNS
   ============================================================ */

.split-columns-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

/* Each column is a full-bleed absolute layer clipped with an angled slanting polygon */
.split-col {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  outline: none;
  transition: clip-path 0.65s cubic-bezier(0.2, 0.9, 0.25, 1), opacity 0.4s ease;
}

/* Permanent 3-Way Slanted Diagonal Split */
#col-peb {
  clip-path: polygon(0 0, calc(35% + 6vw) 0, calc(35% - 6vw) 100%, 0 100%);
  z-index: 2;
  transition: clip-path 0.7s cubic-bezier(0.2, 0.9, 0.25, 1), opacity 0.5s ease, transform 0.7s cubic-bezier(0.2, 0.9, 0.25, 1);
}

#col-roof {
  clip-path: polygon(calc(35% + 6vw) 0, calc(68% + 6vw) 0, calc(68% - 6vw) 100%, calc(35% - 6vw) 100%);
  z-index: 3;
  transition: clip-path 0.7s cubic-bezier(0.2, 0.9, 0.25, 1), opacity 0.5s ease, transform 0.7s cubic-bezier(0.2, 0.9, 0.25, 1);
}

#col-civil {
  clip-path: polygon(calc(68% + 6vw) 0, 100% 0, 100% 100%, calc(68% - 6vw) 100%);
  z-index: 4;
  transition: clip-path 0.7s cubic-bezier(0.2, 0.9, 0.25, 1), opacity 0.5s ease, transform 0.7s cubic-bezier(0.2, 0.9, 0.25, 1);
}

/* ============================================================
   ZOOM INTERACTION ON CLICK
   ============================================================ */

/* When PEB is clicked & zoomed */
.split-columns-wrapper[data-zoomed="peb"] #col-peb {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  z-index: 20;
  transform: scale(1);
}
.split-columns-wrapper[data-zoomed="peb"] #col-roof,
.split-columns-wrapper[data-zoomed="peb"] #col-civil {
  opacity: 0;
  pointer-events: none;
}
.split-columns-wrapper[data-zoomed="peb"] .slant-divider {
  opacity: 0;
}
.split-columns-wrapper[data-zoomed="peb"] #col-peb .col-content {
  left: 0;
  width: 100%;
}

/* When ROOF is clicked & zoomed */
.split-columns-wrapper[data-zoomed="roof"] #col-roof {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  z-index: 20;
  transform: scale(1);
}
.split-columns-wrapper[data-zoomed="roof"] #col-peb,
.split-columns-wrapper[data-zoomed="roof"] #col-civil {
  opacity: 0;
  pointer-events: none;
}
.split-columns-wrapper[data-zoomed="roof"] .slant-divider {
  opacity: 0;
}
.split-columns-wrapper[data-zoomed="roof"] #col-roof .col-content {
  left: 0;
  width: 100%;
}

/* When CIVIL is clicked & zoomed */
.split-columns-wrapper[data-zoomed="civil"] #col-civil {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  z-index: 20;
  transform: scale(1);
}
.split-columns-wrapper[data-zoomed="civil"] #col-roof,
.split-columns-wrapper[data-zoomed="civil"] #col-peb {
  opacity: 0;
  pointer-events: none;
}
.split-columns-wrapper[data-zoomed="civil"] .slant-divider {
  opacity: 0;
}
.split-columns-wrapper[data-zoomed="civil"] #col-civil .col-content {
  left: 0;
  width: 100%;
}

/* Glowing Slanted Divider Seam Lines */
.slant-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 25;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.95) 40%,
    rgba(255, 255, 255, 0.95) 60%,
    rgba(255, 255, 255, 0.2) 100%
  );
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 20px rgba(201, 169, 110, 0.4));
}

.slant-divider--1 {
  clip-path: polygon(calc(35% + 6vw - 1.5px) 0, calc(35% + 6vw + 1.5px) 0, calc(35% - 6vw + 1.5px) 100%, calc(35% - 6vw - 1.5px) 100%);
}

.slant-divider--2 {
  clip-path: polygon(calc(68% + 6vw - 1.5px) 0, calc(68% + 6vw + 1.5px) 0, calc(68% - 6vw + 1.5px) 100%, calc(68% - 6vw - 1.5px) 100%);
}

/* Canvas Container */
.col-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.pillar-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
   04. COLUMN TYPOGRAPHY & INTERACTIVE CONTROLS
   ============================================================ */

.col-content {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: auto;
}

#col-peb .col-content {
  left: 0;
  width: 35%;
}

#col-roof .col-content {
  left: 35%;
  width: 33%;
}

#col-civil .col-content {
  left: 68%;
  width: 32%;
}

/* Main Pillar Title */
.col-title {
  font-family: var(--font-primary);
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
}

.col-title .sub-word {
  display: block;
  font-size: 0.85em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Call to Action Button */
.col-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 13px 28px;
  background: rgba(18, 20, 26, 0.6);
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-full);
  color: var(--accent-gold);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(201, 169, 110, 0.1);
  transition: all 0.35s var(--transition-smooth);
}

.col-btn .btn-arrow {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.col-btn:hover {
  background: var(--accent-gold);
  color: var(--dark-base);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px var(--accent-gold-glow);
}

.col-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Floating Back to 3-View Button */
.btn-back-split {
  position: absolute;
  top: 5.5rem;
  left: 2.5rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: rgba(14, 16, 22, 0.88);
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-full);
  color: var(--accent-gold);
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.35s var(--transition-smooth);
}

.btn-back-split:hover {
  background: var(--accent-gold);
  color: var(--dark-base);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-gold-glow);
}

/* Show back button when a pillar is zoomed in */
.split-columns-wrapper[data-zoomed] ~ .btn-back-split {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ============================================================
   05. SEQUENCE STATUS BAR & SCROLL HINT
   ============================================================ */

.sequence-status-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 9, 12, 0.85) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-primary);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  pointer-events: none;
}

.status-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

#scroll-pct-label {
  color: var(--accent-gold);
  font-weight: 700;
}

/* Scroll Hint (Bottom Centered) */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 28;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  pointer-events: none;
  animation: bounceHint 2.2s ease-in-out infinite;
}

.scroll-hint-label {
  font-family: var(--font-primary);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.scroll-hint-icon {
  color: var(--accent-gold);
  filter: drop-shadow(0 2px 8px var(--accent-gold-glow));
}

@keyframes bounceHint {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   06. OVERVIEW & INTRO SECTION
   ============================================================ */

.section-overview {
  background: var(--bg-light);
  padding: 7rem 2.5rem 6rem;
  position: relative;
  z-index: 30;
}

.container-large {
  max-width: 1440px;
  margin: 0 auto;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.section-tag {
  font-family: var(--font-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--accent-gold);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.section-heading {
  font-family: var(--font-editorial);
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--near-black);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.section-lead {
  font-size: 1.12rem;
  line-height: 1.75;
  color: #4a4d57;
  margin-bottom: 2.5rem;
}

.stats-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stat-pill {
  background: var(--bg-cream);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-pill-num {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 800;
  color: var(--near-black);
  line-height: 1;
}

.stat-pill-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.overview-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 2.2rem;
  position: relative;
  transition: all 0.35s var(--transition-smooth);
}

.feature-card:hover {
  transform: translateX(8px);
  background: #ffffff;
  border-color: var(--accent-gold);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.card-num {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.feature-card h3 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   07. DEEP DIVE PILLAR SECTIONS (Roofing, PEB, Civil)
   ============================================================ */

.section-pillar-detail {
  padding: 7rem 2.5rem;
  border-top: 1px solid var(--border-light);
}

.section-roofing {
  background: #ffffff;
}

.section-peb {
  background: var(--bg-cream);
}

.section-civil {
  background: #ffffff;
}

.section-header-block {
  margin-bottom: 3.5rem;
}

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

.pillar-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.showcase-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.03);
  transition: all 0.4s var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.section-peb .showcase-card {
  background: #ffffff;
}

.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.09);
  border-color: rgba(201, 169, 110, 0.4);
}

.showcase-card__visual {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #111;
}

.showcase-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth);
}

.showcase-card:hover .showcase-card__visual img {
  transform: scale(1.08);
}

.visual-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-gold);
  font-family: var(--font-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 169, 110, 0.3);
}

.showcase-card__content {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.showcase-card__content h3 {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 0.75rem;
}

.showcase-card__content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.spec-list {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.spec-list li {
  font-size: 0.84rem;
  color: #3b3e47;
}

.spec-list li span {
  font-weight: 700;
  color: var(--near-black);
}

/* ============================================================
   08. PARAMETRIC SPECIFICATIONS GRID
   ============================================================ */

.section-specs {
  background-color: var(--dark-base);
  color: #ffffff;
  padding: 7rem 2.5rem;
  border-top: 1px solid var(--border-dark);
}

.section-specs .section-heading {
  color: #ffffff;
}

.section-specs .section-lead {
  color: var(--text-light-muted);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.spec-card {
  background: var(--dark-surface);
  padding: 2.8rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.35s ease;
}

.spec-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: 0 16px 40px rgba(201, 169, 110, 0.15);
}

.spec-number {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.spec-number .unit {
  font-size: 1.4rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.spec-title {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.spec-desc {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  line-height: 1.6;
}

/* ============================================================
   09. ENGINEERING TIMELINE
   ============================================================ */

.section-engineering {
  padding: 7rem 2.5rem;
  background: #ffffff;
}

.phases-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.timeline-item {
  background: var(--bg-cream);
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all 0.35s ease;
}

.timeline-item:hover {
  background: var(--dark-base);
  color: #fff;
  border-color: var(--dark-base);
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.timeline-item:hover p {
  color: var(--text-light-muted);
}

.timeline-badge {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.timeline-content h3 {
  font-family: var(--font-primary);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.timeline-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   10. GALLERY MOSAIC SECTION
   ============================================================ */

.section-gallery {
  padding: 7rem 2.5rem;
  background: var(--dark-surface);
  color: #fff;
  border-top: 1px solid var(--border-dark);
}

.section-gallery .section-heading {
  color: #fff;
}

.section-gallery .section-lead {
  color: var(--text-light-muted);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.mosaic-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
}

.mosaic-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-smooth);
}

.mosaic-item:hover img {
  transform: scale(1.06);
}

.mosaic-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

/* ============================================================
   11. LUXURY INQUIRY MODAL & BUTTONS
   ============================================================ */

.primary-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background-color: var(--near-black);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--near-black);
  cursor: pointer;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.primary-button-text-wrap {
  position: relative;
  z-index: 2;
}

.primary-button-text {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 0.3s ease;
}

.primary-button-shape {
  position: absolute;
  inset: 0;
  background-color: var(--accent-gold);
  transform: translateY(100%);
  transition: transform 0.35s var(--transition-smooth);
  z-index: 1;
}

.primary-button:hover .primary-button-shape {
  transform: translateY(0);
}

.primary-button:hover .primary-button-text {
  color: var(--dark-base);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

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

.modal-box {
  background: #ffffff;
  max-width: 540px;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
  transform: translateY(25px);
  transition: transform 0.35s var(--transition-smooth);
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--text-muted);
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--near-black);
}

.modal-header {
  margin-bottom: 2rem;
}

.modal-tag {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.modal-title {
  font-family: var(--font-editorial);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--near-black);
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--near-black);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--near-black);
  background: #fafafa;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
}

.primary-button.full-width {
  width: 100%;
  margin-top: 1rem;
}

/* ============================================================
   12. FOOTER
   ============================================================ */

.site-footer {
  background: var(--dark-base);
  color: #ffffff;
  padding: 6rem 2.5rem 2.5rem;
  border-top: 1px solid var(--border-dark);
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-left {
  max-width: 400px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.5rem;
  display: block;
}

.footer-desc {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  line-height: 1.7;
}

.footer-right {
  display: flex;
  gap: 4.5rem;
}

.footer-col h4 {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light-muted);
  margin-bottom: 0.8rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.contact-email {
  color: var(--accent-gold) !important;
  font-weight: 600;
}

.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-dark);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   13. RESPONSIVE MEDIA QUERIES
   ============================================================ */

@media (max-width: 1200px) {
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .phases-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .pillar-showcase-grid {
    grid-template-columns: 1fr;
  }
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
  .mosaic-item.large {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .navbar--transparent {
    padding: 1rem 1.25rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--dark-base);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s ease;
    padding: 2rem;
    z-index: 999;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }

  /* On mobile, split columns can be stacked or horizontally scrollable */
  .split-columns-wrapper {
    flex-direction: column;
  }

  .split-col {
    flex: 1 1 33.33%;
  }

  .col-angled-border {
    display: none;
  }

  .col-content {
    padding: 1.5rem 1rem;
  }

  .col-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .col-description {
    display: none; /* Keep clean on small mobile */
  }

  .col-icon-wrap {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
  }

  .col-btn {
    padding: 8px 18px;
    font-size: 0.75rem;
  }

  .hero-scroll-hint {
    bottom: 1rem;
  }

  .sequence-status-bar {
    display: none;
  }

  .footer-flex {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-right {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

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

  .phases-timeline {
    grid-template-columns: 1fr;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .mosaic-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }
}
