/* =============================================================================
   ABOPART -- Editorial Architectural Design System
   Fonts: DM Serif Display (headings) + DM Sans (body)
   No emojis. No pill badges. No generic gradients.
   ============================================================================= */

/* --- Design Tokens --- */
:root {
  /* Light Mode */
  --c-bg:          #fafaf8;
  --c-surface:     #ffffff;
  --c-muted:       #f4f3f0;
  --c-border:      #e8e6e0;
  --c-ink:         #181714;
  --c-ink-2:       #5a574f;
  --c-ink-3:       #9e9a92;
  --c-gold:        #a8762a;
  --c-gold-hover:  #8a6020;
  --c-gold-subtle: #f5edd8;

  /* Nav */
  --nav-bg:        rgba(250, 250, 248, 0.9);

  /* Shadows -- subtle, architectural */
  --sh-card:  0 2px 16px rgba(24, 23, 20, 0.06);
  --sh-modal: 0 20px 60px rgba(24, 23, 20, 0.18);

  /* Transitions */
  --t-fast:   160ms ease;
  --t-med:    320ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-slow:   500ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --c-bg:          #111110;
  --c-surface:     #1a1916;
  --c-muted:       #221f1a;
  --c-border:      #2e2b24;
  --c-ink:         #f0ede6;
  --c-ink-2:       #9e9a92;
  --c-ink-3:       #5a574f;
  --c-gold:        #c9963a;
  --c-gold-hover:  #dba94a;
  --c-gold-subtle: rgba(168, 118, 42, 0.15);
  --nav-bg:        rgba(17, 17, 16, 0.9);
  --sh-card:  0 2px 16px rgba(0, 0, 0, 0.3);
  --sh-modal: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* --- Reset & Performance --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--c-bg);
  color: var(--c-ink);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  transition: background var(--t-med), color var(--t-med);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

button, a, input, select, textarea, .install-card, .gallery-card, .finishing-card, .gal-tab, .install-tab, .hero__switch-btn {
  touch-action: manipulation;
}

/* Accessibility Focus Ring */
:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
}

/* Content-Visibility Performance for Offscreen Heavy Sections */
#galeri, #finishing, #garansi, #faq {
  content-visibility: auto;
  contain-intrinsic-size: auto 650px;
}

/* --- Typography --- */
.font-serif { font-family: 'DM Serif Display', Georgia, serif; }
em { font-style: italic; font-family: 'DM Serif Display', Georgia, serif; }

h1, h2, h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* =============================================================================
   NAVIGATION
   ============================================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med), background var(--t-med);
}

.nav.is-scrolled {
  border-bottom-color: var(--c-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 0.75rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink);
  text-decoration: none;
  flex-shrink: 0;
  user-select: none;
}

.nav__logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  border-radius: 50%;
}

.nav__logo-mark {
  color: var(--c-gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.1vw, 1.25rem);
  flex-wrap: nowrap;
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c-ink-2);
  letter-spacing: 0.02em;
  transition: color var(--t-fast);
  position: relative;
  white-space: nowrap;
  text-decoration: none;
}

.nav__link:hover { color: var(--c-ink); }

.nav__link--spek {
  color: var(--c-gold) !important;
  font-weight: 600;
  white-space: nowrap;
}
.nav__link--spek:hover {
  color: var(--c-gold-hover) !important;
}

.nav__link--catalog {
  color: var(--c-gold);
  border-bottom: 1px solid var(--c-gold);
  padding-bottom: 2px;
}
.nav__link--catalog:hover {
  color: var(--c-gold-hover);
  border-bottom-color: var(--c-gold-hover);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--c-border);
  color: var(--c-ink-2);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--c-gold); color: var(--c-gold); }
.theme-toggle svg { width: 16px; height: 16px; }
.icon-sun { display: block; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* Buttons */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink);
  border: 1px solid var(--c-ink);
  background: transparent;
  padding: 0.42rem 0.9rem;
  transition: all var(--t-fast);
  white-space: nowrap;
  border-radius: 2px;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.btn-cta:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: #fff;
}
[data-theme="dark"] .btn-cta {
  color: var(--c-ink);
  border-color: rgba(240, 237, 230, 0.4);
}
[data-theme="dark"] .btn-cta:hover {
  border-color: var(--c-gold);
  background: var(--c-gold);
  color: #fff;
}

.btn-primary {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--c-gold);
  color: #fff;
  padding: 0.75rem 1.6rem;
  transition: background var(--t-fast);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--c-gold-hover); color: #fff; }
.btn-primary--full { display: block; width: 100%; text-align: center; }

.btn-ghost {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(255,255,255,0.85);
  padding: 0.75rem 1.6rem;
  border: 1px solid rgba(255,255,255,0.4);
  transition: all var(--t-fast);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.btn-ghost-white {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: #fff;
  padding: 0.75rem 1.6rem;
  border: 1px solid rgba(255,255,255,0.5);
  transition: all var(--t-fast);
  margin-top: 2rem;
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.15);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--c-ink);
  transition: all var(--t-med);
}
.hamburger.open span:first-child { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================================================
   HERO
   ============================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 100px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(12,11,9,0.94) 0%,
    rgba(12,11,9,0.55) 50%,
    rgba(12,11,9,0.25) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 10;
  padding: 3rem 2rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9) !important;
  margin-bottom: 1rem;
}

.hero__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  color: #ffffff !important;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
}
.hero__title em {
  color: #d4a34b !important;
  font-style: italic;
}

.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9) !important;
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.65;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Stats bar at bottom */
.hero__stats {
  position: relative;
  z-index: 10;
  background: rgba(14, 13, 11, 0.9) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.18) !important;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.hero__stat {
  flex: 1;
  padding: 1.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero__stat strong {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.7rem;
  color: #ffffff !important;
  font-weight: 400;
}

.hero__stat span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75) !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero__stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
}

/* View switcher / Auto Carousel (Hidden per user request) */
.hero__switcher {
  display: none !important;
}

.hero__switch-btn {
  position: relative;
  overflow: hidden;
  background: rgba(20, 18, 15, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
  text-align: left;
  border-radius: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__switch-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: translateX(-3px);
}

.hero__switch-btn.active {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(201, 150, 58, 0.45);
}

/* Countdown progress bar on active carousel slide */
.hero__switch-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #ffffff;
  opacity: 0.9;
  border-radius: 0 2px 2px 0;
}

.hero__switch-btn.active::after {
  animation: heroSlideProgress 5s linear forwards;
}

@keyframes heroSlideProgress {
  from { width: 0%; }
  to { width: 100%; }
}

.hero:hover .hero__switch-btn.active::after {
  animation-play-state: paused;
}

/* =============================================================================
   INTRO STRIP
   ============================================================================= */
.intro-strip {
  background: var(--c-gold);
  padding: 3rem 2rem;
}

.intro-strip__text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.5;
}

/* =============================================================================
   SECTIONS -- General
   ============================================================================= */
.section {
  padding: 7rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section--dark {
  background: #141311 !important;
  color: #f0ede6;
  max-width: 100%;
  padding: 7rem 2rem;
}

.section--muted {
  background: var(--c-muted);
  max-width: 100%;
  padding: 7rem 2rem;
}

.section__head {
  margin-bottom: 4rem;
}

.section__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--c-ink);
  max-width: 600px;
}

.section__desc {
  font-size: 0.95rem;
  color: var(--c-ink-2);
  line-height: 1.65;
  max-width: 640px;
  margin-top: 1rem;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section--dark .section__title { color: #ffffff !important; }
.section--dark .section__label { color: #c9963a !important; }
.section--dark .section__desc { color: rgba(255, 255, 255, 0.7) !important; }
.section--dark em { color: #d4a34b !important; }

/* Section muted label/title */
.section--muted .section__head { max-width: 1280px; margin-left: auto; margin-right: auto; }

/* =============================================================================
   CATALOG TABS
   ============================================================================= */
.catalog-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 3rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.catalog-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-ink-2);
  cursor: pointer;
  white-space: nowrap;
  margin-bottom: -1px;
  transition: all var(--t-fast);
  letter-spacing: 0.02em;
}
.cat-tab:hover { color: var(--c-ink); }
.cat-tab.active {
  color: var(--c-ink);
  border-bottom-color: var(--c-gold);
}

/* =============================================================================
   PRODUCT CARDS
   ============================================================================= */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}

.product-card {
  background: var(--c-surface);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background var(--t-fast);
}
.product-card:hover { background: var(--c-muted); }

.product-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--c-muted);
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.product-card:hover .product-card__img img {
  transform: scale(1.04);
}

.product-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.5rem;
}

.product-card__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.product-card__desc {
  font-size: 0.875rem;
  color: var(--c-ink-2);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  border-top: 1px solid var(--c-border);
  padding-top: 1.25rem;
  margin-top: auto;
}

.spec-item { display: flex; flex-direction: column; gap: 0.1rem; }
.spec-item__label {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink-3);
}
.spec-item__val {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-ink);
}

.product-card__action {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  gap: 0.75rem;
}

.btn-card {
  flex: 1;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 0.75rem;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--c-border);
  background: none;
  color: var(--c-ink);
  transition: all var(--t-fast);
}
.btn-card:hover {
  background: var(--c-ink);
  color: var(--c-bg);
  border-color: var(--c-ink);
}
.btn-card--gold {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: #fff;
}
.btn-card--gold:hover {
  background: var(--c-gold-hover);
  border-color: var(--c-gold-hover);
  color: #fff;
}

/* =============================================================================
   ESTIMATOR (dark section)
   ============================================================================= */
.estimator {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}

.estimator__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72) !important;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 420px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-field--full {
  grid-column: span 2;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65) !important;
}

.form-field input,
.form-field select {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  color: #ffffff !important;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  transition: all var(--t-fast);
}
.form-field input:focus,
.form-field select:focus {
  border-color: var(--c-gold) !important;
  background: rgba(255,255,255,0.12) !important;
}
.form-field select option {
  background: #1c1b18 !important;
  color: #ffffff !important;
}

/* Result card */
.est-result {
  background: #1a1916 !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  padding: 2.25rem;
  position: sticky;
  top: 90px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.est-result__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold) !important;
  display: block;
  margin-bottom: 0.4rem;
}

.est-result__series {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #ffffff !important;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}

.est-result__rows { display: flex; flex-direction: column; gap: 0; margin-bottom: 1.5rem; }

.est-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  font-size: 0.875rem;
}
.est-row span { color: rgba(255,255,255,0.65) !important; }
.est-row strong { color: #ffffff !important; font-weight: 600; }

.est-row--highlight {
  background: rgba(196, 160, 80, 0.12);
  border-radius: 4px;
  padding: 0.75rem 0.5rem;
  margin: 0 -0.5rem;
}
.est-row--highlight span { color: var(--c-gold) !important; font-weight: 600; }
.est-row--highlight strong { color: var(--c-gold) !important; font-size: 1.05rem; }

/* Estimasi Kebutuhan Box */
.est-result__estimate-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(196, 160, 80, 0.15);
  border: 1px solid rgba(196, 160, 80, 0.4);
  border-radius: 8px;
  text-align: center;
}
.est-result__estimate-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold) !important;
  margin-bottom: 0.4rem;
}
.est-result__estimate-value {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff !important;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.est-result__estimate-note {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5) !important;
  line-height: 1.5;
}

/* Quick Spec Reference Table inside Calculator */
.calc-spec-ref {
  margin-top: 1.5rem;
  padding: 1.15rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow-x: auto;
}
.calc-spec-ref__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gold) !important;
  margin-bottom: 0.85rem;
}
.calc-spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.8rem;
  min-width: 440px;
}
.calc-spec-table th {
  text-align: left;
  padding: 0.7rem 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6) !important;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}
.calc-spec-table th:first-child { border-top-left-radius: 6px; }
.calc-spec-table th:last-child { border-top-right-radius: 6px; }

.calc-spec-table tbody tr {
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 3px solid transparent;
}
.calc-spec-table tbody tr:hover {
  background: rgba(201, 150, 58, 0.15) !important;
  transform: translateX(2px);
}
.calc-spec-table tbody tr.active-series {
  background: rgba(201, 150, 58, 0.22) !important;
  border-left: 3px solid var(--c-gold) !important;
}
.calc-spec-table tbody tr.active-series td {
  color: #ffffff !important;
  font-weight: 600;
}
.calc-spec-table td {
  padding: 0.65rem 0.75rem;
  color: rgba(255,255,255,0.85) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
}
.calc-spec-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.calc-spec-badge--green {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.calc-spec-badge--gold {
  background: rgba(201, 150, 58, 0.25);
  color: #ffd966;
  border: 1px solid rgba(201, 150, 58, 0.5);
}
.calc-spec-ref__note {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5) !important;
  margin-top: 0.75rem;
  line-height: 1.5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.est-result__note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45) !important;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.est-result .btn-secondary-card,
.section--dark .btn-secondary-card {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.25rem;
  text-align: center;
  transition: all var(--t-fast);
}

.est-result .btn-secondary-card:hover,
.section--dark .btn-secondary-card:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* =============================================================================
   MULTI-COMPLEX SIMULATION STYLES
   ============================================================================= */
.calc-mode-nav {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 150, 58, 0.35);
  border-radius: 50px;
  padding: 5px;
  margin-bottom: 1.75rem;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
  gap: 6px;
}
.calc-mode-btn {
  flex: 1;
  padding: 0.85rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  outline: none;
}
.calc-mode-btn:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
.calc-mode-btn.active {
  background: linear-gradient(135deg, #dfb15b 0%, #c9963a 100%) !important;
  color: #0b0b0a !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 230, 150, 0.5) !important;
  box-shadow: 0 4px 18px rgba(201, 150, 58, 0.4);
}

/* Quick Preset Chips */
.calc-presets-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 0.4rem;
  margin-bottom: 1.25rem;
}
.calc-presets-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-gold);
  margin-right: 4px;
}
.calc-preset-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.calc-preset-chip:hover {
  background: rgba(201, 150, 58, 0.2);
  border-color: var(--c-gold);
  color: #ffffff;
  transform: translateY(-1px);
}
.calc-preset-chip.active {
  background: var(--c-gold);
  color: #000;
  border-color: var(--c-gold);
  font-weight: 600;
}

/* Dual Controls: Interactive Range Slider + Number Box */
.calc-slider-group {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.calc-range-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  transition: background 0.2s;
  cursor: pointer;
}
.calc-range-slider:hover {
  background: rgba(201, 150, 58, 0.35);
}
.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dfb15b, #c9963a);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.calc-range-slider::-webkit-slider-thumb:hover,
.calc-range-slider::-webkit-slider-thumb:active {
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(201, 150, 58, 0.8);
}
.calc-range-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dfb15b, #c9963a);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

/* 2D Architectural Schematic Blueprint Visualizer */
.calc-blueprint-card {
  margin: 1.25rem 0;
  padding: 1.15rem;
  background: radial-gradient(circle at 50% 50%, #171a24 0%, #0c0e14 100%);
  border: 1px solid rgba(201, 150, 58, 0.35);
  border-radius: 10px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.35);
}
.calc-blueprint-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.calc-blueprint-title {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-gold);
  display: flex;
  align-items: center;
  gap: 6px;
}
.calc-blueprint-meta {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'DM Sans', monospace, sans-serif;
}
.calc-blueprint-svg-wrap {
  width: 100%;
  height: 220px;
  background: #090a0d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calc-blueprint-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.calc-blueprint-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
}
.calc-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.calc-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

/* Acoustic Sound Meter Gauge */
.calc-sound-meter {
  margin-top: 1.15rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.calc-sound-meter-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-gold);
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.calc-sound-meter-track {
  display: flex;
  gap: 4px;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}
.calc-sound-segment {
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}
.calc-sound-segment.active-32 { background: #3b82f6; box-shadow: 0 0 8px rgba(59, 130, 246, 0.6); }
.calc-sound-segment.active-35 { background: #06b6d4; box-shadow: 0 0 8px rgba(6, 182, 212, 0.6); }
.calc-sound-segment.active-45 { background: #10b981; box-shadow: 0 0 10px rgba(16, 185, 129, 0.8); }
.calc-sound-segment.active-50 { background: #f59e0b; box-shadow: 0 0 12px rgba(245, 158, 11, 0.9); }
.calc-sound-meter-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Pulsing Realtime Animation for Estimasi Value */
@keyframes goldPulse {
  0% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.03); filter: brightness(1.25); color: #ffd966; }
  100% { transform: scale(1); filter: brightness(1); }
}
.value-pulse {
  animation: goldPulse 0.35s ease-out;
}

/* 2D Schematic CAD / DWG Architectural Blueprint Visualizer (Multi-Room Complex) */
.complex-diagram-wrap {
  margin: 1.25rem 0;
  padding: 1.25rem;
  background: radial-gradient(circle at 50% 30%, #0d131f 0%, #060911 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 0 50px rgba(0, 0, 0, 0.85);
  position: relative;
}
.complex-diagram-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}
.complex-cad-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-family: 'JetBrains Mono', 'Consolas', monospace;
}
.complex-cad-meta {
  font-size: 0.76rem;
  color: #ffd966;
  font-weight: 600;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
}
.complex-diagram {
  width: 100%;
  background: #060911;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.95);
  display: block;
}
.complex-cad-svg {
  width: 100%;
  height: auto;
  max-height: 420px;
  display: block;
  user-select: none;
}
.complex-cad-room {
  transition: all 0.2s ease;
  cursor: pointer;
}
.complex-cad-room:hover rect.room-bg {
  fill: rgba(56, 189, 248, 0.16) !important;
  stroke: #38bdf8 !important;
  stroke-width: 1.5 !important;
}
.complex-diagram-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'JetBrains Mono', 'Consolas', monospace;
}
.complex-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.complex-legend-line {
  width: 16px;
  height: 3px;
  border-radius: 1px;
  display: inline-block;
}
.complex-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.complex-legend-box {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 2px;
}
.complex-subrooms-summary {
  margin-top: 0.85rem;
  width: 100%;
}
.complex-subrooms-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
}
.complex-subrooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  width: 100%;
}
.complex-subroom-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s ease, background 0.2s ease;
  min-width: 0;
  box-sizing: border-box;
}
.complex-subroom-chip:hover {
  border-color: var(--c-gold);
  background: rgba(201, 150, 58, 0.08);
}
.complex-subroom-chip-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}
.complex-subroom-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 4px;
  padding: 2px 5px;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  flex-shrink: 0;
}
.complex-subroom-chip-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.complex-subroom-chip-dim {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
}
.complex-subroom-chip-right {
  flex-shrink: 0;
  margin-left: 8px;
}
.complex-subroom-chip-area {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffd966;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
}

/* Custom Partition Wall Line in Table */
.partition-wall-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  margin-top: 0.75rem;
}
.partition-wall-table th {
  text-align: left;
  padding: 6px 8px;
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.72rem;
}
.partition-wall-table td {
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}

/* =============================================================================
   TECHNOLOGY / MECHANISMS
   ============================================================================= */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}

.tech-card {
  background: var(--c-surface);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  align-items: start;
  transition: background var(--t-fast);
}
.tech-card:hover { background: var(--c-muted); }

.tech-card__img {
  width: 120px;
  height: 120px;
  background: var(--c-muted);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.tech-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.tech-card__num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-gold);
  margin-bottom: 0.5rem;
}
.tech-card__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}
.tech-card__sub {
  font-size: 0.75rem;
  color: var(--c-gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}
.tech-card__desc {
  font-size: 0.875rem;
  color: var(--c-ink-2);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.tech-card__specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.tech-card__specs li {
  font-size: 0.8rem;
  color: var(--c-ink-3);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.tech-card__specs li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-gold);
  flex-shrink: 0;
}

/* =============================================================================
   INSTALLATION & ENGINEERING DIAGRAMS
   ============================================================================= */
.install-filter {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.install-filter::-webkit-scrollbar { display: none; }

.install-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-ink-2);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.04em;
  transition: all var(--t-fast);
  margin-bottom: -1px;
}
.install-tab:hover { color: var(--c-ink); }
.install-tab.active {
  color: var(--c-gold);
  border-bottom-color: var(--c-gold);
}

.installation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.install-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  overflow: hidden;
}
.install-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  border-color: var(--c-gold);
}

.install-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0d0c0a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.install-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--t-med);
}
.install-card:hover .install-card__img-wrap img {
  transform: scale(1.04);
}

.install-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 12, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.install-card:hover .install-card__overlay {
  opacity: 1;
}

.install-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.install-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.install-card__badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.install-card__num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-ink-3);
  font-family: 'DM Serif Display', Georgia, serif;
}

.install-card__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--c-ink);
  margin-bottom: 0.75rem;
}

.install-card__desc {
  font-size: 0.85rem;
  color: var(--c-ink-2);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.install-card__specs-head {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-gold);
  margin-bottom: 0.5rem;
}

.install-card__specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: auto;
  border-top: 1px solid var(--c-border);
  padding-top: 0.85rem;
}
.install-card__specs li {
  font-size: 0.8rem;
  color: var(--c-ink-3);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.install-card__specs li::before {
  content: '\25AA';
  color: var(--c-gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* =============================================================================
   GALLERY
   ============================================================================= */
.gallery-filter {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.gallery-filter::-webkit-scrollbar { display: none; }

.gal-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-ink-2);
  cursor: pointer;
  white-space: nowrap;
  margin-bottom: -1px;
  transition: all var(--t-fast);
}
.gal-tab:hover { color: var(--c-ink); }
.gal-tab.active {
  color: var(--c-ink);
  border-bottom-color: var(--c-gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.gallery-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  overflow: hidden;
  height: 100%;
}
.gallery-card:hover {
  border-color: var(--c-gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.gallery-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-muted);
}
.gallery-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.gallery-card:hover .gallery-card__img-wrap img {
  transform: scale(1.06);
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 17, 15, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.gallery-card:hover .gallery-card__overlay {
  opacity: 1;
}

.gallery-card__zoom-btn {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(18, 17, 15, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.45rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 4px;
}

.gallery-card__info {
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-card__category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.35rem;
}

.gallery-card__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--c-ink);
  margin-bottom: 0.45rem;
  line-height: 1.35;
  min-height: 2.7em;
  display: flex;
  align-items: flex-start;
  word-break: normal;
  overflow-wrap: break-word;
}

.gallery-card__desc {
  font-size: 0.8rem;
  color: var(--c-ink-2);
  line-height: 1.55;
  margin-top: auto;
}

/* =============================================================================
   FINISHING
   ============================================================================= */
.finishing-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
}

.finishing-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  height: 100%;
}
.finishing-card:hover {
  border-color: var(--c-gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.finishing-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-muted);
}
.finishing-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.finishing-card:hover .finishing-card__img img {
  transform: scale(1.06);
}

.finishing-card__body {
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.finishing-card__badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gold);
  display: block;
  margin-bottom: 0.35rem;
}
.finishing-card h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.02rem;
  font-weight: 400;
  margin-bottom: 0.45rem;
  line-height: 1.35;
  color: var(--c-ink);
  min-height: 2.7em;
  display: flex;
  align-items: flex-start;
  word-break: normal;
  overflow-wrap: break-word;
}
.finishing-card p {
  font-size: 0.8rem;
  color: var(--c-ink-2);
  line-height: 1.55;
  margin-top: auto;
}

/* =============================================================================
   WARRANTY STRIP
   ============================================================================= */
.warranty-strip {
  background: #1a1510;
  padding: 7rem 2rem;
}
.warranty-strip__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1280px;
  margin: 0 auto;
}
.warranty-strip__left h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.warranty-strip__left h2 em { color: var(--c-gold); }
.warranty-strip__left p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 400px;
  font-weight: 300;
}

.warranty-items { display: flex; flex-direction: column; gap: 0; }
.warranty-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}
.warranty-item__num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  color: rgba(201,150,58,0.4);
  line-height: 1;
  padding-top: 0.1rem;
}
.warranty-item strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 0.35rem;
}
.warranty-item p {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* =============================================================================
   FAQ
   ============================================================================= */
.faq-list {
  border-top: 1px solid var(--c-border);
  max-width: 760px;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--c-ink);
  cursor: pointer;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--c-gold); }

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--c-ink-3);
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--t-med), color var(--t-fast);
  font-family: 'DM Serif Display', serif;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--c-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding-bottom 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 320px;
  padding-bottom: 1.5rem;
}
.faq-answer p {
  font-size: 0.9rem;
  color: var(--c-ink-2);
  line-height: 1.75;
}

/* =============================================================================
   FOOTER
   ============================================================================= */
.footer {
  background: #0f0e0c !important;
  color: rgba(255,255,255,0.6);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 5rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.footer__logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 4px;
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 320px;
}

.footer__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.footer__certs span {
  font-size: 0.7rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.footer__social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--t-fast);
}

.footer__social-btn svg {
  flex-shrink: 0;
  transition: transform var(--t-fast);
}

.footer__social-btn:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 150, 58, 0.35);
}

.footer__social-btn:hover svg {
  transform: scale(1.1);
}

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.25rem;
}

.footer__col a, .footer__col p {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.6rem;
  transition: color var(--t-fast);
  line-height: 1.5;
}
.footer__col a:hover { color: #fff; }

.footer__address {
  font-size: 0.825rem !important;
  color: rgba(255,255,255,0.6) !important;
  line-height: 1.6 !important;
  margin-bottom: 0.75rem !important;
}

.footer__maps-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff !important;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.35rem 0.75rem;
  margin-bottom: 1rem !important;
  transition: all var(--t-fast);
}
.footer__maps-link:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: #fff !important;
}
.footer__maps-link svg {
  color: var(--c-gold);
  transition: color var(--t-fast);
}
.footer__maps-link:hover svg {
  color: #fff;
}

.footer__wa {
  color: var(--c-gold) !important;
  font-weight: 500;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

/* =============================================================================
   MODAL
   ============================================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.modal.open { display: flex; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 11, 9, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal__box {
  position: relative;
  z-index: 2;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--sh-modal);
}

.modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: 1px solid var(--c-border);
  color: var(--c-ink-2);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
  z-index: 3;
}
.modal__close:hover { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.modal__close svg { width: 18px; height: 18px; }

.modal__body { padding: 3rem; }

/* Modal inner layout */
.modal-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.modal-img-primary {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-muted);
  border: 1px solid var(--c-border);
  margin-bottom: 1rem;
}
.modal-img-primary img { width: 100%; height: 100%; object-fit: cover; }
.modal-img-diagram {
  background: var(--c-muted);
  border: 1px solid var(--c-border);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/3;
}
.modal-img-diagram img { max-height: 100%; object-fit: contain; }

.modal-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold);
  display: block;
  margin-bottom: 0.5rem;
}

.modal-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.modal-tagline { font-size: 0.9rem; color: var(--c-ink-2); margin-bottom: 1.5rem; }

.modal-features { list-style: none; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.modal-features li {
  font-size: 0.875rem;
  color: var(--c-ink-2);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.modal-features li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-gold);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.modal-applications { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }
.modal-app-tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--c-border);
  color: var(--c-ink-2);
}

/* Spec table */
.modal-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-border);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.825rem;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--c-border);
}
.spec-table th {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  background: var(--c-muted);
}
.spec-table td { color: var(--c-ink-2); }
.spec-table .spec-highlight { color: var(--c-gold); font-weight: 700; }

.modal-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}

/* =============================================================================
   LIGHTBOX
   ============================================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast);
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }
.lightbox__close svg { width: 18px; height: 18px; }

.lightbox__content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox__content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
.lightbox__caption { color: rgba(255,255,255,0.6); font-size: 0.875rem; text-align: center; }
.lightbox__caption strong { color: #fff; display: block; margin-bottom: 0.2rem; }

/* =============================================================================
   FLOATING
   ============================================================================= */
.float-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.float-top {
  width: 40px;
  height: 40px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-fast);
}
.float-top.visible { opacity: 1; visibility: visible; }
.float-top:hover { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.float-top svg { width: 18px; height: 18px; }

.float-wa {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #fff;
  padding: 0.65rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--t-fast);
}
.float-wa:hover { background: #1da851; color: #fff; }
.float-wa svg { width: 18px; height: 18px; }

/* --- Floating AI Button --- */
.float-ai {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--c-surface);
  color: var(--c-ink);
  border: 1px solid var(--c-gold);
  padding: 0.65rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all var(--t-fast);
  font-family: inherit;
}
.float-ai:hover, .float-ai.active {
  background: var(--c-gold);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201, 150, 58, 0.4);
}
.float-ai__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  transition: color var(--t-fast);
}
.float-ai:hover .float-ai__icon, .float-ai.active .float-ai__icon {
  color: #ffffff;
}
.float-ai__badge {
  position: absolute;
  top: -8px;
  right: -6px;
  background: #22c55e;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.4);
  animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

/* =============================================================================
   AI CHATBOT MODAL WIDGET
   ============================================================================= */
.ai-chat-modal {
  position: fixed;
  bottom: 7.2rem;
  right: 2rem;
  z-index: 990;
  width: 390px;
  max-width: calc(100vw - 2.5rem);
  height: 580px;
  max-height: calc(100vh - 9rem);
  display: none;
  opacity: 0;
  transform: scale(0.94) translateY(12px);
  transform-origin: bottom right;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.ai-chat-modal.open {
  display: flex;
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.ai-chat-box {
  width: 100%;
  height: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: var(--sh-modal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header */
.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #141311;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ai-chat-header__info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ai-chat-header__avatar {
  width: 34px;
  height: 34px;
  background: rgba(201, 150, 58, 0.2);
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ai-chat-header__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.2;
}
.ai-chat-header__status {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.ai-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
}
.ai-chat-header__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ai-chat-icon-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all var(--t-fast);
}
.ai-chat-icon-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Suggestion Chips */
.ai-chat-chips {
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  background: var(--c-muted);
  border-bottom: 1px solid var(--c-border);
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}
.ai-chat-chips::-webkit-scrollbar { display: none; }
.ai-chip {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-ink);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: inherit;
  flex-shrink: 0;
}
.ai-chip:hover {
  border-color: var(--c-gold);
  background: rgba(201, 150, 58, 0.1);
  color: var(--c-gold);
}

/* Messages Stream */
.ai-chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--c-bg);
}
.ai-msg {
  display: flex;
  gap: 0.6rem;
  max-width: 88%;
}
.ai-msg--user {
  align-self: flex-end;
  justify-content: flex-end;
}
.ai-msg--user .ai-msg__bubble {
  background: var(--c-gold);
  color: #ffffff;
  border-bottom-right-radius: 2px;
}
.ai-msg--bot {
  align-self: flex-start;
}
.ai-msg__avatar {
  width: 26px;
  height: 26px;
  background: rgba(201, 150, 58, 0.15);
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.ai-msg__content {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.ai-msg__bubble {
  padding: 0.75rem 1rem;
  font-size: 0.825rem;
  line-height: 1.55;
  background: var(--c-surface);
  color: var(--c-ink);
  border: 1px solid var(--c-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.ai-msg--bot .ai-msg__bubble {
  border-bottom-left-radius: 2px;
}
.ai-msg__bubble a {
  color: var(--c-gold);
  text-decoration: underline;
  font-weight: 500;
}
.ai-msg__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}
.ai-action-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-ink);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-fast);
  font-family: inherit;
}
.ai-action-btn:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
  background: rgba(201, 150, 58, 0.08);
}
.ai-action-btn--primary {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #ffffff !important;
}
.ai-action-btn--primary:hover {
  background: #1da851 !important;
}
.ai-action-btn--gold {
  background: var(--c-gold) !important;
  border-color: var(--c-gold) !important;
  color: #ffffff !important;
}
.ai-action-btn--gold:hover {
  background: #b5832e !important;
}

/* Typing Indicator */
.ai-typing .ai-msg__bubble {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.85rem;
}
.ai-dot {
  width: 6px;
  height: 6px;
  background: var(--c-gold);
  border-radius: 50%;
  display: inline-block;
  animation: aiBounce 1.4s infinite ease-in-out both;
}
.ai-dot:nth-child(1) { animation-delay: -0.32s; }
.ai-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes aiBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

/* WhatsApp Direct Banner */
.ai-chat-wa-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: rgba(37, 211, 102, 0.08);
  border-top: 1px solid rgba(37, 211, 102, 0.2);
  font-size: 0.72rem;
  color: var(--c-ink-2);
}
.ai-chat-wa-bar a {
  color: #1da851;
  font-weight: 600;
  text-decoration: none;
}
.ai-chat-wa-bar a:hover {
  text-decoration: underline;
}

/* Footer / Input Area */
.ai-chat-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
}
.ai-chat-input {
  flex: 1;
  background: var(--c-muted);
  border: 1px solid var(--c-border);
  color: var(--c-ink);
  padding: 0.6rem 0.85rem;
  font-size: 0.825rem;
  outline: none;
  font-family: inherit;
  transition: border-color var(--t-fast);
}
.ai-chat-input:focus {
  border-color: var(--c-gold);
}
.ai-chat-send {
  width: 36px;
  height: 36px;
  background: var(--c-gold);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast);
  flex-shrink: 0;
}
.ai-chat-send:hover {
  background: #b5832e;
}

/* =============================================================================
   SCROLL REVEAL
   ============================================================================= */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 240ms; }

/* =============================================================================
   TOAST NOTIFICATIONS & FORMS
   ============================================================================= */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: var(--c-surface);
  color: var(--c-ink);
  border: 1px solid var(--c-border);
  box-shadow: var(--sh-modal);
  padding: 0.9rem 1.4rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 90vw;
}

.toast--success { border-left: 4px solid #25D366; }
.toast--error { border-left: 4px solid #ef4444; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Modal Form Specifics */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.modal-form label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  display: block;
  margin-bottom: 0.35rem;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  background: var(--c-muted);
  border: 1px solid var(--c-border);
  color: var(--c-ink);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  outline: none;
  font-family: inherit;
  transition: border-color var(--t-fast);
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  border-color: var(--c-gold);
}

.modal-form textarea {
  resize: vertical;
  min-height: 90px;
}

.btn-secondary-card {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-border);
  padding: 0.75rem 1.4rem;
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: center;
}
.btn-secondary-card:hover {
  background: var(--c-muted);
  border-color: var(--c-ink);
}

/* =============================================================================
   RESPONSIVE & MOBILE DESIGN SYSTEM
   ============================================================================= */
.nav__mobile-actions { display: none; }
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 840;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-fast);
}
.nav-overlay.open { opacity: 1; visibility: visible; }

/* Compact Desktop & Laptops (992px to 1200px, e.g. 1024px screens) */
@media (max-width: 1200px) and (min-width: 992px) {
  .nav__inner {
    padding: 0 1rem;
    gap: 0.5rem;
    height: 60px;
  }
  .nav__logo {
    font-size: 1.15rem;
    gap: 0.4rem;
  }
  .nav__logo-img {
    height: 28px;
  }
  .nav__links {
    gap: 0.55rem;
  }
  .nav__link {
    font-size: 0.75rem;
    padding: 0.2rem 0;
  }
  .nav__link--catalog {
    display: none !important;
  }
  .btn-cta {
    padding: 0.38rem 0.75rem;
    font-size: 0.7rem;
  }
}

/* Medium & Compact Desktop (861px to 1240px, e.g. 1024px screens) */
@media (max-width: 1240px) and (min-width: 861px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .gallery-card__info {
    padding: 1.15rem;
  }

  .finishing-row {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
  }
  .finishing-card:nth-child(1),
  .finishing-card:nth-child(2),
  .finishing-card:nth-child(3) {
    grid-column: span 2;
  }
  .finishing-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .finishing-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* Tablet (max-width: 1024px) Layout Defaults */
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: 1fr; }
  .estimator { grid-template-columns: 1fr; gap: 3rem; }
  .warranty-strip__inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .hero__switcher {
    display: none !important;
  }
}

/* Tablet & Mobile Devices (max-width: 991px) */
@media (max-width: 991px) {
  /* Header & Navigation */
  .nav__inner {
    height: 60px;
    padding: 0 1.25rem;
  }
  .nav__logo { font-size: 1.22rem; }
  .nav__logo-img { height: 28px; }
  .nav__link--catalog { display: none !important; }
  .btn-cta { padding: 0.38rem 0.75rem; font-size: 0.72rem; }
  .hamburger { display: flex; }

  .nav__links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 1.5rem;
    gap: 0.2rem;
    z-index: 850;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav__links.open {
    display: flex !important;
    animation: menuSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  @keyframes menuSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.65rem 0.5rem;
    border-bottom: 1px solid var(--c-border);
    color: var(--c-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: 4px;
    transition: background var(--t-fast), color var(--t-fast);
  }
  .nav__link:hover,
  .nav__link:active {
    background: var(--c-muted);
    color: var(--c-gold);
  }

  .nav__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--c-border);
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {

  /* Hero Section */
  .hero {
    min-height: 100vh;
    padding-top: 60px;
    justify-content: space-between;
  }
  .hero__content {
    padding: 2.5rem 1.25rem 2rem;
    text-align: left;
  }
  .hero__eyebrow { font-size: 0.72rem; margin-bottom: 0.75rem; }
  .hero__title {
    font-size: clamp(1.85rem, 7.5vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 1rem;
  }
  .hero__sub {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }
  .hero__cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }
  .hero__cta .btn-primary,
  .hero__cta .btn-ghost {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }

  /* Hero Stats (2x2 Grid) */
  .hero__stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    background: rgba(14, 13, 11, 0.95) !important;
  }
  .hero__stat {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hero__stat:nth-child(1),
  .hero__stat:nth-child(5) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hero__stat strong { font-size: 1.35rem; }
  .hero__stat span { font-size: 0.65rem; }
  .hero__stat-divider { display: none; }
  .hero__switcher {
    display: none !important;
  }

  /* Sections */
  .section { padding: 3.5rem 1rem !important; max-width: 100% !important; overflow-x: hidden !important; box-sizing: border-box !important; }
  .section--dark, .section--muted { padding: 3.5rem 1rem !important; max-width: 100% !important; overflow-x: hidden !important; box-sizing: border-box !important; }
  .section__head { margin-bottom: 2rem; max-width: 100% !important; }
  .section__title { font-size: 1.75rem; word-break: break-word; }

  /* Products & Tabs */
  .products { grid-template-columns: 1fr; gap: 1.5rem; background: none; border: none; }
  .product-card { border: 1px solid var(--c-border); }
  .catalog-tabs { margin-bottom: 2rem; }
  .cat-tab { padding: 0.6rem 1rem; font-size: 0.8rem; }

  /* Installation */
  .installation-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Technology */
  .tech-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .tech-card__img { width: 100%; height: 120px; }

  /* Gallery & Finishing */
  .gallery-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .finishing-row { grid-template-columns: 1fr; gap: 1.25rem; background: none; border: none; }
  .finishing-card { border: 1px solid var(--c-border); }
  .gallery-filter { margin-bottom: 2rem; }

  /* Estimator Mobile Layout */
  .estimator {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    padding-bottom: 3.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .estimator__left,
  .estimator__right {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .estimator__desc {
    max-width: 100% !important;
    font-size: 0.88rem !important;
    margin-bottom: 1.5rem !important;
  }
  .form-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.15rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .form-grid > .form-field,
  .form-grid > [style*="grid-column"],
  .form-field--full {
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .form-field {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    gap: 0.4rem;
  }
  .form-field input,
  .form-field select {
    font-size: 16px !important; /* Prevents iOS auto-zoom */
    padding: 0.75rem 0.85rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mode Switcher on Mobile */
  .calc-mode-nav {
    display: flex !important;
    flex-direction: column !important;
    border-radius: 12px !important;
    gap: 6px !important;
    padding: 6px !important;
    margin-bottom: 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(201, 150, 58, 0.35) !important;
  }
  .calc-mode-btn {
    width: 100% !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.84rem !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: center !important;
    flex: none !important;
  }
  .calc-mode-btn.active {
    border-radius: 8px !important;
    background: linear-gradient(135deg, #dfb15b 0%, #c9963a 100%) !important;
    color: #0b0b0a !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(201, 150, 58, 0.4) !important;
  }

  /* Presets on Mobile */
  .calc-presets-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0.85rem !important;
  }
  .calc-presets-label {
    width: 100% !important;
    display: block !important;
    margin-bottom: 4px !important;
    font-size: 0.72rem !important;
  }
  .calc-preset-chip {
    font-size: 0.72rem !important;
    padding: 6px 10px !important;
    border-radius: 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    line-height: 1.3 !important;
  }

  /* Sliders on Mobile */
  .calc-slider-group {
    margin-top: 6px;
    gap: 8px;
    width: 100%;
  }
  .calc-range-slider {
    width: 100%;
    height: 8px;
  }
  .calc-range-slider::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
  }
  .calc-range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
  }

  /* 2D CAD Blueprint Visualizer on Mobile */
  .complex-diagram-wrap {
    padding: 0.85rem 0.65rem !important;
    margin: 1rem 0 !important;
    border-radius: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .complex-diagram {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .complex-diagram-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .complex-cad-badge {
    font-size: 0.68rem;
    padding: 4px 8px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .complex-cad-meta {
    font-size: 0.72rem;
    width: 100%;
    text-align: center;
  }
  .complex-cad-svg {
    max-height: 280px;
    width: 100% !important;
  }
  .complex-diagram-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    font-size: 0.68rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .complex-subrooms-summary {
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 0.75rem !important;
  }
  .complex-subrooms-title {
    font-size: 0.72rem !important;
    margin-bottom: 0.45rem !important;
  }
  .complex-subrooms-grid {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .complex-subroom-chip {
    padding: 8px 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Single Mode Visualizer on Mobile */
  .calc-blueprint-card {
    padding: 0.85rem 0.65rem !important;
    margin: 1rem 0 !important;
    border-radius: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .calc-blueprint-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .calc-blueprint-svg-wrap {
    height: 180px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .calc-blueprint-legend {
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.68rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  #singleBlueprintPanelInfo {
    margin-left: 0 !important;
    width: 100%;
    margin-top: 4px;
  }

  /* Interactive Spec Table on Mobile */
  .calc-spec-ref {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0.85rem 0.65rem !important;
    margin-top: 1.25rem !important;
    border-radius: 8px !important;
  }
  .calc-spec-ref > div[style*="overflow"],
  .calc-spec-ref > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .calc-spec-ref__title {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    max-width: 100% !important;
  }
  .calc-spec-table {
    min-width: 380px !important;
    max-width: none !important;
  }
  .calc-spec-table th,
  .calc-spec-table td {
    padding: 0.55rem 0.5rem !important;
    font-size: 0.72rem !important;
  }
  .calc-spec-badge {
    font-size: 0.58rem !important;
    padding: 1px 4px !important;
  }

  /* Result Card on Mobile */
  .est-result {
    padding: 1.25rem 1rem !important;
    position: static !important;
    border-radius: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .est-result__series {
    font-size: 1.25rem !important;
    margin-bottom: 1.25rem !important;
    padding-bottom: 1rem !important;
  }
  .est-row {
    font-size: 0.82rem !important;
    padding: 0.6rem 0 !important;
  }
  .est-result__estimate-box {
    padding: 1rem !important;
  }
  .est-result__estimate-value {
    font-size: 1.75rem !important;
  }

  /* Warranty */
  .warranty-strip { padding: 4rem 1.25rem; }
  .warranty-strip__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .warranty-item { grid-template-columns: 40px 1fr; gap: 1rem; padding: 1rem 0; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 1.25rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1.5rem 1.25rem; }

  /* Modals */
  .modal { padding: 1rem; }
  .modal__box { max-width: 100%; margin: 0; }
  .modal__body { padding: 1.5rem 1.25rem; }
  .modal-form .form-grid { grid-template-columns: 1fr; gap: 0.75rem; }

  /* Floating CTA on Mobile: Sleek, unobtrusive circular FABs */
  .float-actions {
    bottom: 0.85rem !important;
    right: 0.75rem !important;
    gap: 0.45rem !important;
    z-index: 900 !important;
  }
  .float-top {
    display: none !important; /* Hide scroll-to-top on mobile to preserve vertical space */
  }
  .float-wa {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4) !important;
    border: none !important;
  }
  .float-wa svg {
    width: 22px !important;
    height: 22px !important;
  }
  .float-wa__label {
    display: none !important;
  }
  .float-ai {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(201, 150, 58, 0.35) !important;
  }
  .float-ai__icon svg {
    width: 20px !important;
    height: 20px !important;
  }
  .float-ai__label {
    display: none !important;
  }
  .float-ai__badge {
    top: 2px !important;
    right: 2px !important;
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    background: #10b981 !important;
    border: 1.5px solid #141311 !important;
    box-shadow: 0 0 6px #10b981 !important;
  }

  /* Mobile AI Chat Modal */
  .ai-chat-modal {
    bottom: 4.5rem !important;
    right: 0.75rem !important;
    left: 0.75rem !important;
    width: auto !important;
    max-width: 100% !important;
    height: calc(100vh - 6rem) !important;
    max-height: 520px !important;
    transform-origin: bottom right !important;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .nav__inner {
    height: 56px;
    padding: 0 0.85rem;
  }
  .nav__logo-text {
    font-size: 1.1rem;
    letter-spacing: 0.04em;
  }
  .nav__logo-img {
    height: 26px;
  }
  .btn-cta {
    display: none !important;
  }
  .nav__links {
    top: 56px;
    max-height: calc(100vh - 56px);
  }
  .hero__title { font-size: 1.75rem; }
  .hero__stat strong { font-size: 1.2rem; }
  .est-result { padding: 1.25rem 1rem; }
  .est-result__estimate-value { font-size: 1.75rem; }
  .calc-preset-chip { font-size: 0.7rem; padding: 5px 9px; }
}

/* =============================================================================
   VIDEO SECTION & SOCIAL MEDIA PLAYERS
   ============================================================================= */
.video-section {
  background: var(--c-bg);
  padding: 6rem 2rem;
}


/* Video Section & 9-Box Symmetrical Playlist Grid */
.video-playlist-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.video-filter-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.vid-tab {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-ink-2);
  cursor: pointer;
  transition: all var(--t-fast);
}

.vid-tab:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
}

.vid-tab.active {
  background: var(--c-gold);
  color: #fff;
  border-color: var(--c-gold);
}

.video-playlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.vid-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--sh-card);
  cursor: pointer;
  transition: all var(--t-fast);
  display: flex;
  flex-direction: column;
}
.vid-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-gold);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}
.vid-card.active {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 2px var(--c-gold);
}
.vid-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}
.vid-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.vid-card:hover .vid-card__thumb img {
  transform: scale(1.04);
}
.vid-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}
.vid-card:hover .vid-card__overlay {
  background: rgba(0, 0, 0, 0.2);
}
.vid-card__play-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 17, 14, 0.85);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast), background var(--t-fast);
}
.vid-card:hover .vid-card__play-icon {
  transform: scale(1.12);
  background: var(--c-gold);
  border-color: #fff;
}
.vid-card__play-icon svg {
  margin-left: 2px;
}
.vid-card__duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.vid-card__platform-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}
.vid-card__platform-badge--tiktok { background: #000; }
.vid-card__platform-badge--instagram { background: #e1306c; }
.vid-card__platform-badge--facebook { background: #1877f2; }

.vid-card__body {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.vid-card__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.05rem;
  margin: 0 0 0.35rem 0;
  color: var(--c-ink);
  line-height: 1.3;
}
.vid-card__desc {
  font-size: 0.8rem;
  color: var(--c-ink-2);
  line-height: 1.45;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vid-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--c-border);
  font-size: 0.75rem;
  color: var(--c-gold);
  font-weight: 600;
}

/* Card In-Place Video Player (Putar di Tempat) */
.vid-card.is-playing {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 2px var(--c-gold), 0 12px 32px rgba(0, 0, 0, 0.18);
  cursor: default;
}
.vid-card.is-playing:hover {
  transform: none;
}
.vid-card.is-playing .vid-card__thumb {
  aspect-ratio: 9 / 14;
  min-height: 440px;
  max-height: 540px;
  background: #000;
  transition: all 0.3s ease;
}
.vid-card__player-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}
.vid-card__frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.vid-card__meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.vid-card__author-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: 0.02em;
}
.btn-card-rotate-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(184, 140, 46, 0.1);
  border: 1px solid rgba(184, 140, 46, 0.28);
  border-radius: 12px;
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--c-ink-2);
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: inherit;
}
.btn-card-rotate-inline:hover {
  background: var(--c-gold);
  color: #fff;
  border-color: var(--c-gold);
  transform: translateY(-1px);
}
.vid-card__tagline {
  font-size: 0.76rem;
  color: var(--c-ink-3);
  font-weight: 500;
}
.vid-card__player-actions {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.vid-card__player-actions > * {
  pointer-events: auto;
}
.btn-card-rotate-player {
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: all var(--t-fast);
  font-family: inherit;
}
.btn-card-rotate-player:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: #fff;
  transform: scale(1.03);
}
.btn-card-close-player {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: all var(--t-fast);
  font-family: inherit;
}
.vid-card__player-actions .btn-card-close-player {
  position: static;
}
.btn-card-close-player:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: #fff;
}

/* Video Responsive Breakpoints */
@media (max-width: 991px) {
  .video-playlist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (max-width: 600px) {
  .video-playlist-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* =============================================================================
   ACCESSIBILITY & PREFERS-REDUCED-MOTION
   ============================================================================= */
@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;
  }
}
