/* ==========================================================================
   ALUMINA ARCHITECTURAL ALUMINIUM FABRICATION SHOWROOM
   Visual System: Architectural Workshop, Premium & Approachable
   Tokens: Warm White (#F6F5F1), Deep Charcoal (#20272B), Bronze (#8B6848)
   Typography: Noto Sans Malayalam (Local Offline) + System Sans
   ========================================================================== */

@font-face {
  font-family: 'Noto Sans Malayalam';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/noto-sans-malayalam-malayalam-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans Malayalam';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/noto-sans-malayalam-malayalam-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans Malayalam';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/noto-sans-malayalam-malayalam-700-normal.woff2') format('woff2');
}

:root {
  --bg-main: #F6F5F1;
  --bg-card: #FFFFFF;
  --bg-dark: #20272B;
  --bg-dark-surface: #171D21;
  --bg-subtle: #ECEAE4;
  
  --text-main: #171B1E;
  --text-muted: #515B62;
  --text-light: #F6F5F1;
  --text-light-muted: #9BA4AB;

  --accent-bronze: #8B6848;
  --accent-bronze-light: #A37F5D;
  --accent-bronze-subtle: rgba(139, 104, 72, 0.12);
  
  --border-light: rgba(23, 27, 30, 0.08);
  --border-medium: rgba(23, 27, 30, 0.14);
  --border-dark: rgba(255, 255, 255, 0.12);

  --font-sans: 'Noto Sans Malayalam', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(23, 27, 30, 0.05);
  --shadow-md: 0 4px 14px -2px rgba(23, 27, 30, 0.08);
  --shadow-lg: 0 16px 32px -4px rgba(23, 27, 30, 0.12);
  --shadow-xl: 0 24px 48px -8px rgba(23, 27, 30, 0.16);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  overflow-x: hidden;
  padding-bottom: 72px; /* safe area for mobile bottom action bar */
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Typography Utilities */
h1, h2, h3, h4 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
  letter-spacing: -0.02em;
}

p {
  text-wrap: pretty;
}

/* Malayalam Typographic Refinements (Zero Matra Clipping) */
html:lang(ml),
body:lang(ml) {
  line-height: 1.68;
}

html:lang(ml) h1,
html:lang(ml) h2,
html:lang(ml) h3,
html:lang(ml) h4 {
  line-height: 1.36;
  letter-spacing: normal;
}

html:lang(ml) .hero-headline {
  line-height: 1.3;
}

html:lang(ml) .btn-primary,
html:lang(ml) .btn-secondary,
html:lang(ml) .btn-ask-similar,
html:lang(ml) .category-select-btn {
  line-height: 1.4;
  padding-top: 10px;
  padding-bottom: 10px;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 480px) {
  .container {
    padding: 0 24px;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 36px;
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 48px;
    max-width: 1560px;
  }
}

@media (min-width: 1600px) {
  .container {
    padding: 0 64px;
    max-width: 1720px;
  }
}

/* Top Demo Banner */
.demo-banner {
  background-color: var(--bg-dark-surface);
  color: var(--text-light-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 7px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

.demo-banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #F59E0B;
  display: inline-block;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 245, 241, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-identity {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.brand-badge {
  font-size: 0.625rem;
  font-weight: 800;
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-sub {
  display: none !important;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: clamp(10px, 1.3vw, 24px);
}

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

.nav-link {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

#btnHeaderQuote {
  display: none;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  #btnHeaderQuote {
    display: inline-flex;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* Language Switcher Pill */
.lang-switcher-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(23, 27, 30, 0.06);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 3px 5px;
  gap: 2px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Header Top Phone Badge - Removed per Founder Directive */
.top-phone-pill {
  display: none !important;
}

/* Mobile Header Optimizations (strictly after base rules) */
@media (max-width: 480px) {
  .site-header .container {
    padding: 0 8px;
  }
  .header-inner {
    height: 54px;
  }
  .brand-name {
    font-size: 0.8125rem;
    gap: 4px;
    letter-spacing: normal;
  }
  .brand-badge {
    font-size: 0.45rem;
    padding: 1px 3px;
    letter-spacing: 0.02em;
  }
  .header-actions {
    gap: 4px;
  }
  .mobile-menu-btn {
    padding: 2px;
    width: 30px;
    height: 30px;
  }
  .lang-switcher-wrap {
    padding: 1px 2px;
    font-size: 0.625rem;
  }
  .lang-btn {
    padding: 2px 4px;
    font-size: 0.625rem;
    line-height: 1.2;
  }
}

.lang-btn {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  background: transparent;
  line-height: 1.25;
  font-size: 0.8125rem;
}

@media (max-width: 480px) {
  .site-header .container {
    padding: 0 10px;
  }
  .lang-switcher-wrap {
    padding: 1px 2px;
    font-size: 0.6875rem;
  }
  .lang-btn {
    padding: 2px 6px;
    font-size: 0.6875rem;
  }
  .mobile-menu-btn {
    width: 32px;
    height: 32px;
    padding: 2px;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 0.8125rem;
    gap: 4px;
  }
  .brand-badge {
    font-size: 0.5rem;
    padding: 1px 3px;
  }
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  background: var(--bg-dark);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.lang-sep {
  color: var(--border-medium);
  font-size: 0.75rem;
  user-select: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-dark);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #000000;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-main);
}

.btn-bronze {
  background-color: var(--accent-bronze);
  color: #FFFFFF;
}

.btn-bronze:hover {
  background-color: var(--accent-bronze-light);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

@media (max-width: 480px) {
  .mobile-menu-btn {
    width: 32px;
    height: 32px;
  }
}

@media (min-width: 1080px) {
  .mobile-menu-btn {
    display: none !important;
  }
}

/* Off-Canvas Backdrop */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Off-Canvas Drawer Navigation Sidebar */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: #171D21; /* deep sleek charcoal */
  color: #F6F5F1;
  z-index: 999;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  box-shadow: -8px 0 36px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.drawer-brand {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s;
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.drawer-lang-wrap {
  margin-bottom: 16px;
}

.drawer-lang-wrap .lang-switcher-wrap {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  width: 100%;
  justify-content: center;
}

.drawer-lang-wrap .lang-btn {
  color: #CBD5E1;
}

.drawer-lang-wrap .lang-btn.active {
  background: #0284C7;
  color: #FFFFFF;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.drawer-nav-link {
  color: #E2E8F0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #38BDF8;
}

.drawer-footer-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-phone-link {
  color: #38BDF8;
  font-weight: 700;
  font-size: 0.8125rem;
  text-decoration: none;
  text-align: center;
  padding: 8px 0;
}

/* Section Common Styling */
.section-padding {
  padding: 72px 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 96px 0;
  }
}

.section-head {
  margin-bottom: 40px;
  max-width: 640px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bronze);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Hero Section */
.hero-section {
  padding: 40px 0 64px 0;
}

@media (min-width: 900px) {
  .hero-section {
    padding: 64px 0 96px 0;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 46fr 54fr;
    gap: 48px;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-headline {
  font-size: clamp(2.25rem, 4.2vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-copy {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
}

.hero-reassurance-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.reassurance-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-bronze-subtle);
  color: var(--accent-bronze);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--bg-dark);
}

.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(23, 29, 33, 0.9) 100%);
  color: #FFFFFF;
  font-size: 0.8125rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Category Grid - Balanced 3x2 on desktop, 2x3 on tablet, 1x6 on mobile */
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-bronze);
}

.category-card.selected {
  border-color: var(--accent-bronze);
  box-shadow: 0 0 0 2px var(--accent-bronze);
}

.category-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-subtle);
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-img {
  transform: scale(1.04);
}

.category-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 12px;
}

.category-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.category-use {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.category-select-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--text-main);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.category-card:hover .category-select-btn,
.category-card.selected .category-select-btn {
  background: var(--bg-dark);
  color: #FFFFFF;
}

/* SIGNATURE INTERACTIVE CONFIGURATOR SECTION */
.configurator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 24px;
}

.configurator-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 940px) {
  .configurator-grid {
    grid-template-columns: 58fr 42fr;
  }
}

.configurator-preview-col {
  background: #E8E6DF;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 380px;
  border-bottom: 1px solid var(--border-medium);
}

@media (min-width: 940px) {
  .configurator-preview-col {
    padding: 44px 36px;
    border-bottom: none;
    border-right: 1px solid var(--border-medium);
  }
}

/* 2D Architectural Window Stage */
.window-stage-2d {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1.25 / 1;
  background: #FAFAF8;
  border: 12px solid #D5D2C7;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.1), var(--shadow-md);
  overflow: hidden;
  display: flex;
}

/* Window Frame Outer Profile */
.window-outer-frame {
  position: absolute;
  inset: 0;
  border-width: 14px;
  border-style: solid;
  border-color: #20272B; /* Default Charcoal/Black */
  transition: border-color var(--transition-smooth);
  display: flex;
}

/* Sliding Sashes */
.window-sash-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
}

.window-sash {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52%;
  border-width: 8px;
  border-style: solid;
  border-color: inherit;
  background: rgba(220, 235, 245, 0.45); /* Glass tint */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 6px rgba(0,0,0,0.15);
  transition: all var(--transition-smooth);
}

.window-sash.sash-left {
  left: 0;
  z-index: 1;
}

.window-sash.sash-right {
  right: 0;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.window-sash.sash-right.open {
  transform: translateX(-80%);
}

.sash-handle {
  position: absolute;
  right: 8px;
  width: 6px;
  height: 48px;
  background: inherit;
  border-radius: 3px;
  filter: brightness(0.7);
}

.glass-reflection {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 60%);
  pointer-events: none;
}

.window-finish-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(32, 39, 43, 0.88);
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.window-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 440px;
  margin-top: 18px;
  gap: 12px;
}

.btn-interactive-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-interactive-toggle:hover {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-color: var(--bg-dark);
}

.btn-3d-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-bronze);
  color: #FFFFFF;
  border: none;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-3d-trigger:hover {
  background: var(--accent-bronze-light);
  transform: translateY(-1px);
}

/* Configurator Options Column */
.configurator-options-col {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

@media (min-width: 768px) {
  .configurator-options-col {
    padding: 36px 32px;
  }
}

.option-group-title {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}

.selected-finish-label {
  color: var(--text-main);
  font-weight: 700;
}

.finish-selector-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.finish-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: var(--bg-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.finish-option-card:hover {
  background: #FFFFFF;
  border-color: var(--text-muted);
}

.finish-option-card.active {
  background: #FFFFFF;
  border-color: var(--accent-bronze);
  box-shadow: 0 0 0 1.5px var(--accent-bronze);
}

.finish-swatch-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.finish-swatch-disc {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.swatch-charcoal { background: #20272B; }
.swatch-bronze { background: #8B6848; }
.swatch-white { background: #F8FAFC; }

.finish-title-group {
  display: flex;
  flex-direction: column;
}

.finish-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
}

.finish-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.finish-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  color: transparent;
  transition: all var(--transition-fast);
}

.finish-option-card.active .finish-check {
  background: var(--accent-bronze);
  border-color: var(--accent-bronze);
  color: #FFFFFF;
}

.configurator-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.configurator-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 3D Modal Overlay (Lazy-loaded on demand) */
.modal-3d-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 20, 24, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-3d-overlay.active {
  display: flex;
}

.modal-3d-container {
  position: relative;
  width: 100%;
  max-width: 820px;
  height: min(540px, 85vh);
  background: #171D21;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (max-width: 640px) {
  .modal-3d-overlay {
    padding: 8px;
  }
  .modal-3d-container {
    height: min(460px, 80vh);
  }
}

/* Product Selection Highlight Pulse */
@keyframes fieldPulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7);
    border-color: #0284C7;
  }
  50% {
    box-shadow: 0 0 0 8px rgba(2, 132, 199, 0.25);
    border-color: #0284C7;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
    border-color: var(--border-medium);
  }
}

.field-highlight {
  animation: fieldPulseGlow 1.4s ease-out;
  border-color: #0284C7 !important;
}

.modal-3d-header {
  padding: 14px 20px;
  background: rgba(23, 29, 33, 0.95);
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
}

.modal-3d-title {
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-3d-close-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: background var(--transition-fast);
}

.modal-3d-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.canvas-3d-wrap {
  position: relative;
  width: 100%;
  flex: 1;
}

#aluminium3DCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
}

#aluminium3DCanvas:active {
  cursor: grabbing;
}

.modal-3d-toolbar {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.hint-3d-pill {
  background: rgba(15, 20, 24, 0.85);
  border: 1px solid var(--border-dark);
  color: #CBD5E1;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.controls-3d-group {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.btn-3d-action {
  background: rgba(15, 20, 24, 0.88);
  border: 1px solid var(--border-dark);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.btn-3d-action:hover {
  background: var(--accent-bronze);
  border-color: var(--accent-bronze);
}

/* Portfolio Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.gallery-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-dark);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(23, 29, 33, 0.85);
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.gallery-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 14px;
}

.gallery-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-meta {
  font-size: 0.75rem;
  color: var(--accent-bronze);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.gallery-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-ask-similar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--text-main);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.btn-ask-similar:hover {
  background: var(--bg-dark);
  color: #FFFFFF;
}

/* Buying Considerations / Choose with Confidence */
.considerations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 800px) {
  .considerations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.consideration-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.consideration-num {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--accent-bronze);
  margin-bottom: 12px;
}

.consideration-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.consideration-copy {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Process Timeline (4 Steps) */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-bronze);
  line-height: 1;
  margin-bottom: 12px;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Workshop Story Card */
.workshop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .workshop-card {
    grid-template-columns: 1fr 1fr;
  }
}

.workshop-media {
  position: relative;
  background: var(--bg-dark);
}

.workshop-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.workshop-content {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .workshop-content {
    padding: 48px 40px;
  }
}

/* QUOTATION ENQUIRY FORM SECTION */
.enquiry-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 24px;
  max-width: 760px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .enquiry-wrap {
    padding: 44px 40px;
  }
}

.enquiry-progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
}

@media (max-width: 540px) {
  .enquiry-progress-bar {
    gap: 8px;
    margin-bottom: 24px;
    justify-content: center;
  }
  .enquiry-progress-step {
    font-size: 0.75rem;
    gap: 6px;
  }
  .enquiry-progress-step span:not(.step-disc) {
    display: none;
  }
  .enquiry-progress-step.active span:not(.step-disc) {
    display: inline;
  }
}

.enquiry-progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  z-index: 2;
}

.enquiry-progress-step.active {
  color: var(--accent-bronze);
}

.step-disc {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 800;
}

.enquiry-progress-step.active .step-disc {
  background: var(--accent-bronze);
  color: #FFFFFF;
  border-color: var(--accent-bronze);
}

.enquiry-step-pane {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.enquiry-step-pane.active {
  display: flex;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: var(--bg-main);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--accent-bronze);
  box-shadow: 0 0 0 2px var(--accent-bronze-subtle);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dimension-row {
  display: grid;
  grid-template-columns: 1fr 1fr 100px;
  gap: 12px;
}

@media (max-width: 500px) {
  .dimension-row {
    grid-template-columns: 1fr;
  }
}

.enquiry-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

/* Summary Preview Box */
.enquiry-summary-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-medium);
}

.summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-label {
  color: var(--text-muted);
}

.summary-val {
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
}

.demo-preview-notice {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: #92400E;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  background: transparent;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg-subtle);
}

.faq-arrow {
  font-size: 0.875rem;
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 18px 22px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Contact / Visit Card */
.contact-card {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

@media (max-width: 480px) {
  .contact-card {
    padding: 24px 16px;
    gap: 20px;
  }
}

@media (min-width: 800px) {
  .contact-card {
    grid-template-columns: 1fr 1fr;
    padding: 56px 48px;
  }
}

.contact-info-col h3 {
  color: #FFFFFF;
  font-size: 1.75rem;
  margin-bottom: 12px;
}

@media (max-width: 480px) {
  .contact-info-col h3 {
    font-size: 1.3rem;
  }
}

.contact-info-col p {
  color: var(--text-light-muted);
  margin-bottom: 24px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.contact-detail-item a {
  word-break: break-word;
  overflow-wrap: break-word;
}

.contact-detail-icon {
  color: var(--accent-bronze-light);
  font-weight: bold;
}

.shop-board-showcase {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.shop-board-showcase img {
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.shop-board-showcase span {
  font-size: 0.75rem;
  color: var(--text-light-muted);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--bg-dark-surface);
  color: var(--text-light-muted);
  padding: 40px 0 24px 0;
  border-top: 1px solid var(--border-dark);
  font-size: 0.8125rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
}

/* Mobile Sticky Bottom Bar */
.mobile-bottom-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(23, 29, 33, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-dark);
  padding: 10px 16px;
  gap: 10px;
}

@media (min-width: 900px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mobile-bottom-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
}

.btn-bottom-call {
  background: var(--bg-subtle);
  color: var(--text-main);
}

.btn-bottom-quote {
  background: var(--accent-bronze);
  color: #FFFFFF;
}
