/* ================================================================
   AYSA YAPI — 2026 AAA ULTRA-PREMIUM ARCHITECTURAL DESIGN SYSTEM
   Rich Bento Layouts · Swiper Carousels · GSAP Motion · Glassmorphism
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── 1. DESIGN TOKENS ───────────────────────────────────────── */
:root {
  --bg:           #F6F4EF;
  --bg-subtle:    #ECE9E2;
  --surface:      #FFFFFF;
  --surface-card: #FFFFFF;
  --surface-glass:rgba(255, 255, 255, 0.78);
  
  --dark:         #122528;
  --dark-surface: #1A3135;
  --dark-hover:   #234146;
  
  --gold:         #88ada9;
  --gold-hover:   #719793;
  --gold-light:   rgba(136, 173, 169, 0.15);
  --gold-glow:    rgba(136, 173, 169, 0.3);

  --text:         #192427;
  --text-muted:   #5C6C70;
  --text-light:   #88989C;

  --border:       rgba(18, 37, 40, 0.08);
  --border-strong:rgba(18, 37, 40, 0.16);
  --border-glass: rgba(255, 255, 255, 0.65);

  --font-serif:   'DM Serif Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-ui:      'Space Grotesk', system-ui, sans-serif;

  --wrap:         1340px;
  --pad:          clamp(1rem, 4vw, 2.5rem);
  --hdr-h:        80px;

  --r-sm:         10px;
  --r-md:         18px;
  --r-lg:         28px;
  --r-xl:         40px;

  --shadow-sm:    0 4px 16px rgba(18, 37, 40, 0.04);
  --shadow-md:    0 12px 36px rgba(18, 37, 40, 0.08);
  --shadow-lg:    0 24px 64px rgba(18, 37, 40, 0.14);
  --shadow-gold:  0 12px 36px rgba(136, 173, 169, 0.28);

  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── 2. BASE & RESET ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

body.nav-open { overflow: hidden; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

/* Audio Ambient Toggle Button */
.audio-toggle-btn {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s var(--ease);
}
.audio-toggle-btn:hover, .audio-toggle-btn.active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

/* 3D Wireframe Interactive Hero Canvas */
.wireframe-canvas-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--dark);
}
#wireframe-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Before / After Drag Compare Slider */
.compare-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  user-select: none;
  touch-action: none;
}
.compare-img-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare-img-before-wrap {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid #fff;
  box-shadow: 4px 0 20px rgba(0,0,0,0.3);
}
.compare-img-before-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
}
.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: ew-resize;
  z-index: 10;
}
.compare-label {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(18, 37, 40, 0.85);
  color: #fff;
  backdrop-filter: blur(10px);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
  z-index: 3;
}
.compare-label.left { left: 1rem; }
.compare-label.right { right: 1rem; }

/* Interactive Project Estimator Tool */
.estimator-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}
.estimator-slider-wrap {
  margin-block: 1.5rem;
}
.estimator-range {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-subtle);
  outline: none;
  accent-color: var(--gold);
  cursor: pointer;
}
.estimator-res-box {
  background: var(--dark);
  color: #fff;
  border-radius: var(--r-md);
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}
.estimator-res-val {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold);
}

/* Scroll Progress Bar at Top */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), #b2d4d1);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(136, 173, 169, 0.7);
}

/* Custom Interactive Cursor (Desktop) */
@media (pointer: fine) {
  body { cursor: default; }
  
  .custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.05s ease, background-color 0.2s;
  }

  .custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(136, 173, 169, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s, background-color 0.3s;
  }

  .custom-cursor-ring.active {
    width: 56px;
    height: 56px;
    background-color: rgba(136, 173, 169, 0.15);
    border-color: var(--gold);
  }
}

/* Background Interactive Particle Canvas */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Dynamic Animated Background Ambient Floating Orbs */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  animation: orbFloat 16s ease-in-out infinite alternate;
}

.orb-1 {
  top: 5%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(136, 173, 169, 0.18) 0%, rgba(26, 49, 53, 0.06) 60%, transparent 80%);
}

.orb-2 {
  top: 45%;
  left: -12%;
  width: 50vw;
  height: 50vw;
  max-width: 650px;
  max-height: 650px;
  background: radial-gradient(circle, rgba(26, 49, 53, 0.1) 0%, rgba(136, 173, 169, 0.12) 60%, transparent 80%);
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-30px, 40px) scale(1.08); }
  100% { transform: translate(40px, -20px) scale(0.95); }
}

/* Subtle Shimmer for Headlines */
.hero-title em, .sec-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold) 0%, #b2d4d1 50%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 6s linear infinite;
}

@keyframes textShimmer {
  to { background-position: 200% center; }
}

/* Subdued background noise texture */
.bg-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── 3. WRAPPER & CONTAINER ─────────────────────────────────── */
.wrap, .container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }

/* ── 4. HEADER ─────────────────────────────────────────────── */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--hdr-h);
  z-index: 1000;
  transition: background-color 0.4s var(--ease), backdrop-filter 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.hdr.scrolled {
  background-color: rgba(246, 244, 239, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.hdr-in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Brand Logo Image Filters for White PNG Logo */
.hdr .brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  filter: brightness(0.15); /* Turns white logo to dark teal on light header */
  transition: filter 0.35s var(--ease), transform 0.35s var(--ease);
}

.hdr .brand:hover .brand-logo-img {
  filter: brightness(0);
  transform: scale(1.04);
}

.footer .brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: none; /* Keeps original white logo on dark footer */
  transition: opacity 0.3s, transform 0.35s var(--ease);
}

.footer .brand:hover .brand-logo-img {
  transform: scale(1.04);
  opacity: 0.9;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(18, 37, 40, 0.2);
  transition: transform 0.4s var(--ease-bounce), background-color 0.3s;
}

.brand:hover .brand-icon {
  background-color: var(--gold);
  transform: rotate(-8deg) scale(1.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--dark);
}

.brand-sub {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Nav Items */
.hdr-nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 860px) {
  .hdr-nav { display: flex; }
}

.hdr-nav a, .nav-link {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding-block: 0.35rem;
  transition: color 0.25s var(--ease);
}

.hdr-nav a:hover, .hdr-nav a.active {
  color: var(--dark);
}

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

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

/* Call Pill */
.hdr-phone {
  display: none;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--dark);
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 0.5rem 1.15rem;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

@media (min-width: 1080px) {
  .hdr-phone { display: inline-flex; }
}

.hdr-phone:hover {
  background-color: var(--dark);
  color: #fff;
  border-color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.led-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3DAA68;
  box-shadow: 0 0 10px rgba(61, 170, 104, 0.7);
  animation: ledPulse 2s infinite;
}

@keyframes ledPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* Mobile Toggle */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  z-index: 1002;
  gap: 5px;
  transition: background-color 0.25s, transform 0.25s;
}

@media (min-width: 860px) {
  .burger { display: none; }
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-nav {
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
}

.mob-nav.open { transform: translateY(0); }

.mob-nav-list { display: flex; flex-direction: column; gap: 1.25rem; }

.mob-nav-link {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 7vw, 3.8rem);
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  transition: color 0.25s, padding-left 0.3s var(--ease);
}

.mob-nav-link:hover { color: var(--gold); padding-left: 1rem; }

/* ── 5. BUTTONS & UI BADGES ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--dark);
  color: #fff;
  border-color: var(--dark);
  box-shadow: 0 6px 20px rgba(18, 37, 40, 0.2);
}

.btn-primary:hover {
  background-color: var(--dark-hover);
  border-color: var(--dark-hover);
  box-shadow: 0 10px 30px rgba(18, 37, 40, 0.3);
  transform: translateY(-3px);
}

.btn-gold {
  background-color: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  box-shadow: 0 14px 40px rgba(176, 141, 87, 0.38);
  transform: translateY(-3px);
}

.btn-outline {
  background-color: transparent;
  color: var(--dark);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background-color: var(--dark);
  color: #fff;
  border-color: var(--dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}

.badge-live {
  background-color: rgba(61, 170, 104, 0.12);
  color: #2E8B57;
  border: 1px solid rgba(61, 170, 104, 0.25);
}

.badge-gold {
  background-color: var(--gold-light);
  color: var(--gold);
  border: 1px solid rgba(176, 141, 87, 0.3);
}

.badge-muted {
  background-color: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ── 6. HERO SECTION ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--hdr-h) + 1.5rem);
  padding-bottom: 3.5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -15%;
  right: -8%;
  width: 60vw;
  height: 60vw;
  max-width: 750px;
  max-height: 750px;
  background: radial-gradient(circle, rgba(176, 141, 87, 0.15) 0%, rgba(26, 49, 53, 0.05) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 400;
  line-height: 1.04;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Right Media Hero Card */
.hero-media-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background-color: var(--surface);
  aspect-ratio: 1 / 1;
  max-height: 540px;
}

.hero-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.hero-media-wrap:hover img {
  transform: scale(1.05);
}

.hero-glass-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 1.35rem 1.6rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.3s var(--ease);
}

.hero-media-wrap:hover .hero-glass-card {
  transform: translateY(-4px);
}

.hgc-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--dark);
}

.hgc-sub {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── 7. METRICS & STATS BAR (COUNT-UP CARDS) ────────────────── */
.stats-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}

.stat-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.25rem 1.85rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--dark));
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover::before { opacity: 1; }

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.stat-num em {
  font-style: normal;
  color: var(--gold);
}

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

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* ── 8. MARQUEE STRIP ───────────────────────────────────────── */
.marquee-bar {
  background-color: var(--dark);
  color: #fff;
  padding-block: 1.25rem;
  overflow: hidden;
  position: relative;
}

.marquee-bar::before, .marquee-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.marquee-bar::before { left: 0; background: linear-gradient(to right, var(--dark), transparent); }
.marquee-bar::after { right: 0; background: linear-gradient(to left, var(--dark), transparent); }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-bar:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-inline: 2rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.marquee-item strong { color: #fff; font-weight: 700; }

.marquee-item .sep-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── 9. SECTION HEADERS ─────────────────────────────────────── */
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: clamp(2.5rem, 5vw, 4.2rem);
}

.sec-head.center {
  align-items: center;
  text-align: center;
}

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.sec-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--gold);
  border-radius: 2px;
}

.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--dark);
  letter-spacing: -0.015em;
}

.sec-title em { font-style: italic; color: var(--gold); }

.sec-desc {
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
  margin-top: 1rem;
}

/* ── 10. BENTO GRID SYSTEM ───────────────────────────────────── */
.bento-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(12, 1fr);
}

.bento-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 12; }
.col-7  { grid-column: span 12; }
.col-6  { grid-column: span 12; }
.col-5  { grid-column: span 12; }
.col-4  { grid-column: span 12; }

@media (min-width: 768px) {
  .col-md-6 { grid-column: span 6; }
  .col-md-4 { grid-column: span 4; }
}

@media (min-width: 1024px) {
  .col-8 { grid-column: span 8; }
  .col-7 { grid-column: span 7; }
  .col-6 { grid-column: span 6; }
  .col-5 { grid-column: span 5; }
  .col-4 { grid-column: span 4; }
}

.bento-card.dark-theme {
  background-color: var(--dark);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

.bento-card.gold-theme {
  background-color: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.bento-card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  color: var(--dark);
}

.bento-card.dark-theme .bento-card-title,
.bento-card.gold-theme .bento-card-title { color: #fff; }

.bento-card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.bento-card.dark-theme .bento-card-text { color: rgba(255, 255, 255, 0.72); }
.bento-card.gold-theme .bento-card-text { color: rgba(255, 255, 255, 0.88); }

/* ── 11. SERVICES GRID (6-CARD DENSE RICH GRID) ─────────────── */
.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
}

.service-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background-color: var(--gold-light);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.service-card:hover .service-icon {
  background-color: var(--gold);
  color: #fff;
  transform: scale(1.08);
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.service-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── 12. PROJECT CARDS & SWIPER ─────────────────────────────── */
.projects-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
}

.proj-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.proj-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.proj-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.proj-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
}

.proj-card:hover .proj-media img { transform: scale(1.07); }

.proj-badge-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.proj-content {
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.proj-loc {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.proj-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.proj-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.proj-foot {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.proj-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
}

.proj-card:hover .proj-arrow {
  background-color: var(--dark);
  color: #fff;
  border-color: var(--dark);
  transform: translateX(5px);
}

/* ── 13. PROCESS TIMELINE STEPS ─────────────────────────────── */
.process-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.process-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.process-step-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 0.65rem;
}

.process-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── 14. ACCORDION ──────────────────────────────────────────── */
.acc-list {
  border-top: 1px solid var(--border);
  max-width: 920px;
  margin-inline: auto;
}

.acc-item { border-bottom: 1px solid var(--border); }

.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.acc-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--dark);
  transition: color 0.25s;
}

.acc-btn:hover .acc-title, .acc-item.open .acc-title { color: var(--gold); }

.acc-toggle-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.35s var(--ease), background-color 0.35s, color 0.35s;
}

.acc-item.open .acc-toggle-icon {
  transform: rotate(45deg);
  background-color: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.acc-body-in {
  padding-bottom: 1.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ── 15. FORM CARD ──────────────────────────────────────────── */
.form-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.75rem);
  box-shadow: var(--shadow-md);
}

.field { margin-bottom: 1.35rem; }

.field label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.field label .req { color: var(--gold); }

.f-ctrl {
  width: 100%;
  padding: 0.95rem 1.2rem;
  background-color: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}

.f-ctrl:focus {
  border-color: var(--gold);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.14);
}

.f-ctrl.err {
  border-color: #D9534F;
  box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.12);
}

textarea.f-ctrl { resize: vertical; min-height: 140px; }

.f-row { display: grid; gap: 1.25rem; }
@media (min-width: 540px) { .f-row { grid-template-columns: 1fr 1fr; } }

.form-msg {
  margin-top: 1rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  padding: 0.9rem 1.25rem;
  border-radius: var(--r-sm);
  display: none;
}

.form-msg.success {
  display: block;
  background-color: rgba(61, 170, 104, 0.12);
  color: #2E8B57;
  border: 1px solid rgba(61, 170, 104, 0.25);
}

.form-msg.error {
  display: block;
  background-color: rgba(217, 83, 79, 0.12);
  color: #C9302C;
  border: 1px solid rgba(217, 83, 79, 0.25);
}

/* ── 16. PAGE HERO & DETAIL HERO ────────────────────────────── */
.page-hero {
  background-color: var(--bg-subtle);
  color: var(--text);
  padding-top: calc(var(--hdr-h) + clamp(2rem, 4vw, 3.5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(176, 141, 87, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.page-hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* Detail Hero */
.detail-hero {
  min-height: 65vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-top: var(--hdr-h);
  padding-bottom: 3.5rem;
  color: #fff;
  overflow: hidden;
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 37, 40, 0.95) 0%, rgba(18, 37, 40, 0.4) 60%, rgba(18, 37, 40, 0.2) 100%);
}

.detail-hero-body { position: relative; z-index: 2; }

/* Specs */
.spec-list {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.spec-row:last-child { border-bottom: none; }

.spec-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spec-val {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
}

/* ── 17. GALLERY & LIGHTBOX ─────────────────────────────────── */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
}

.gal-item {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  cursor: pointer;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.gal-item:hover img { transform: scale(1.07); }

.gal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(18, 37, 40, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  color: #fff;
  font-size: 1.6rem;
}

.gal-item:hover .gal-overlay { opacity: 1; }

/* Lightbox Modal */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background-color: rgba(12, 22, 24, 0.96);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.lightbox-overlay.active { opacity: 1; pointer-events: auto; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--r-md);
  object-fit: contain;
  transform: scale(0.94);
  transition: transform 0.35s var(--ease);
}

.lightbox-overlay.active .lightbox-img { transform: scale(1); }

.lb-btn {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  z-index: 9001;
  transition: background-color 0.2s, transform 0.2s;
}

.lb-btn:hover {
  background-color: rgba(255, 255, 255, 0.28);
  transform: scale(1.1);
}

#lb-close { top: 1.5rem; right: 1.5rem; }
#lb-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
#lb-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

#lb-count {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  background-color: rgba(255, 255, 255, 0.12);
  padding: 0.45rem 1.4rem;
  border-radius: 100px;
}

/* ── 18. FLOATING QUICK ACTION BUTTON (WHATSAPP/CALL) ────────── */
.floating-action-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--dark);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 100px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.35s var(--ease-bounce);
}

.floating-action-btn:hover {
  background-color: var(--gold);
  transform: translateY(-4px) scale(1.04);
  box-shadow: var(--shadow-gold);
}

.fab-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.fab-text {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── 19. FOOTER ─────────────────────────────────────────────── */
.footer {
  background-color: var(--dark);
  color: #fff;
  padding-top: clamp(4.5rem, 8vw, 6.5rem);
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2.2fr 1fr 1.5fr; }
}

.footer-brand .brand-icon { background-color: var(--gold); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.5); }

.footer-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.8;
  max-width: 340px;
  margin-top: 1.25rem;
}

.footer-title {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.35rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.85rem; }

.footer-links a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s, transform 0.2s;
}

.footer-links a:hover { color: #fff; transform: translateX(3px); }

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-info a { color: rgba(255, 255, 255, 0.85); transition: color 0.2s; }
.footer-info a:hover { color: var(--gold); }

.footer-bottom {
  margin-top: 4rem;
  padding-top: 1.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
}

/* ── 20. REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
