/* ==========================================================================
   Century Standard / BestPlywoodBrandsIndia - Premium Surface & Timber Styles
   Inspired by CenturyPly (centuryply.com)
   ========================================================================== */

:root {
  --primary: #d32f2f;
  --primary-dark: #b71c1c;
  --primary-light: #ffebee;
  --accent-gold: #c59b27;
  --accent-gold-light: #fef9e7;
  --ink: #121417;
  --ink-secondary: #2d3138;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-subtle: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 36px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 50px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --header-height: 76px;
  --topbar-height: 40px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 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: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Container Utilities */
.container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.container-fluid {
  width: 100%;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* Scroll Progress Bar */
#prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* ==========================================================================
   TOP UTILITY BAR - Clean Light Theme
   ========================================================================== */
.top-bar {
  background: #f8fafc;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 91;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--topbar-height);
}

.top-bar__left, .top-bar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.top-bar__link:hover {
  color: var(--primary);
}

.top-bar__highlight {
  color: var(--primary);
  font-weight: 700;
}

.badge-pill {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(211, 47, 47, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION (Century Style)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 90;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

/* Logo from bestplywoodbrandsindia.com */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.1;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-bars {
  display: inline-flex;
  gap: 3px;
  height: 26px;
  align-items: flex-end;
  flex-shrink: 0;
}

.logo-bars span:first-child {
  width: 5px;
  height: 17px;
  background: var(--primary);
  border-radius: 2px;
}

.logo-bars span:last-child {
  width: 5px;
  height: 26px;
  background: var(--ink);
  border-radius: 2px;
}

.brand-logo__text {
  display: flex;
  flex-direction: column;
}

.brand-logo__main {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.brand-logo__main i {
  color: var(--primary);
  font-style: normal;
  font-weight: 900;
}

.brand-logo__tagline {
  font-size: 9.5px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  white-space: nowrap;
}

.logo-ver-pill {
  background: var(--ink);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 5px;
  letter-spacing: 0.5px;
}

/* Nav Menu - Systematic, Balanced, No Wrapping */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
  flex-shrink: 0;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding-inline: 13px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  position: relative;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.2px;
}

.nav-caret {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 2px;
  flex-shrink: 0;
  color: var(--text-muted);
}

.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret {
  transform: rotate(180deg);
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link,
.nav-link.active {
  color: var(--primary);
}

.nav-item:hover .nav-link::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Mega Menus & Dropdowns */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  width: 660px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 100;
}

.mega-menu--wide {
  width: 800px;
  grid-template-columns: repeat(3, 1fr);
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.mega-col__title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 800;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.mega-link:hover {
  background: var(--surface-alt);
}

.mega-link__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.mega-link__title {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.3;
}

.mega-link__desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: grid;
  place-content: center;
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 16px;
  transition: all var(--transition-fast);
  background: #ffffff;
}

.btn-icon:hover {
  background: var(--surface-subtle);
  border-color: var(--ink);
}

.header-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 13px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.header-actions .btn-primary {
  padding: 9px 20px;
  font-size: 13px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.28);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: var(--surface-subtle);
}

.btn-gold {
  background: linear-gradient(135deg, #c59b27, #e5b942);
  color: #000;
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #b8860b, #d4a72c);
  color: #000;
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}

.mobile-nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}

/* ==========================================================================
   FULL-SCREEN HERO SECTION (100vh Slider Century Style)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: calc(100dvh - var(--header-height));
  min-height: 640px;
  background: #111418;
  color: #ffffff;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 7s ease-out;
}

.slide.active .slide__bg {
  transform: scale(1);
}

.slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(14, 17, 22, 0.88) 0%,
    rgba(14, 17, 22, 0.65) 45%,
    rgba(14, 17, 22, 0.3) 100%
  );
  z-index: 1;
}

.slide__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 90px;
}

.slide__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(211, 47, 47, 0.9);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.slide__title {
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
  max-width: 820px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.slide__title span {
  color: #ff5252;
}

.slide__subtitle {
  font-size: clamp(16px, 1.8vw, 22px);
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 640px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.slide__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: grid;
  place-content: center;
  font-size: 20px;
  z-index: 10;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.slider-arrow--prev {
  left: 24px;
}

.slider-arrow--next {
  right: 24px;
}

.slider-indicators {
  position: absolute;
  bottom: 30px;
  left: clamp(16px, 4vw, 32px);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator-dot {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.indicator-dot.active {
  background: var(--primary);
  width: 54px;
}

/* Floating Hero Category Bar */
.hero-floating-categories {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
  z-index: 10;
  padding: 12px 0;
}

.category-pills {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--ink);
  white-space: nowrap;
  flex: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
}

.category-pill:hover,
.category-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
}

.category-pill:hover .category-pill__text h4,
.category-pill:hover .category-pill__text p,
.category-pill.active .category-pill__text h4,
.category-pill.active .category-pill__text p {
  color: #ffffff;
}

.category-pill__icon {
  font-size: 20px;
}

.category-pill__text h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.category-pill__text p {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   QUICK RECOMMENDER STRIP ("Find Plywood in 30 Seconds")
   ========================================================================== */
.recommender-strip {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  position: relative;
  z-index: 20;
}

.recommender-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--surface-alt);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.recommender-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recommender-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.recommender-field select {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  cursor: pointer;
}

.recommender-field select:focus {
  border-color: var(--primary);
}

.recommender-result {
  grid-column: 1 / -1;
  background: var(--primary-light);
  border: 1px solid rgba(211, 47, 47, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   INNOVATION & TECHNOLOGY USPs (Firewall, Virokill, BWP, etc.)
   ========================================================================== */
.section-tech {
  padding: 90px 0;
  background: var(--surface-alt);
  color: var(--ink);
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-tech::before {
  display: none;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-header__tag {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-header__title {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--ink);
}

.section-header__desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tech-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.tech-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.tech-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.tech-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.tech-card__desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.tech-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #92400e;
  background: #fef3c7;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-top: auto;
  align-self: flex-start;
}
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   INTERACTIVE ROOM VISUALIZER STUDIO (Century 3D / 2D Visualizer Style)
   ========================================================================== */
.section-visualizer {
  padding: 90px 0;
  background: var(--surface-alt);
}

.visualizer-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.visualizer-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--surface-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}

.vis-tab-btn {
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.vis-tab-btn:hover {
  color: var(--ink);
}

.vis-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: #ffffff;
}

.visualizer-stage {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  min-height: 520px;
}

.visualizer-canvas {
  position: relative;
  background: #f1f5f9;
  overflow: hidden;
}

.vis-room-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease, transform 0.4s ease;
  display: block;
}

.vis-overlay-effect {
  display: none;
}

.vis-live-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.vis-live-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.vis-material-chip {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
  transition: all 0.25s ease;
}

.vis-material-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
  transition: background-color 0.25s ease;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.visualizer-controls {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  gap: 20px;
}

.vis-finish-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.vis-badge-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  background: rgba(227, 24, 55, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
}

.vis-hex-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-secondary);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: monospace;
}

.vis-controls__head h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}

.vis-controls__head p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

.vis-swatches-section {
  margin: 18px 0;
}

.vis-swatches-label {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.7px;
  margin-bottom: 12px;
  display: block;
}

.vis-swatches-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.vis-swatch {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vis-swatch:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.vis-swatch.active {
  border-color: var(--primary);
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(227, 24, 55, 0.35);
}

.vis-swatch .vis-check-icon {
  display: none;
  width: 18px;
  height: 18px;
  color: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.7));
}

.vis-swatch.active .vis-check-icon {
  display: block;
}

.vis-swatch[data-swatch="calacatta"] .vis-check-icon {
  color: #0f172a;
  filter: none;
}

.vis-specs-box {
  background: var(--surface-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  border-left: 4px solid var(--primary);
  margin-bottom: 16px;
}

.vis-specs-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.vis-specs-icon {
  font-size: 20px;
  line-height: 1;
}

.vis-specs-header h5 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink-secondary);
  margin-bottom: 2px;
}

.vis-specs-header p {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
}

.vis-specs-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

.vis-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vis-spec-row strong {
  color: var(--ink-secondary);
  font-weight: 600;
}

.vis-grade-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
}

/* ==========================================================================
   PRODUCT CATALOG (Filterable Tabs & Product Cards)
   ========================================================================== */
.section-products {
  padding: 90px 0;
  background: #ffffff;
}

.product-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.product-tab {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-secondary);
  background: var(--surface-subtle);
  transition: all var(--transition-fast);
}

.product-tab:hover {
  background: var(--border);
}

.product-tab.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(211, 47, 47, 0.3);
}

.product-card__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f5f9;
}

.product-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card__thumb img {
  transform: scale(1.08);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card__body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__category {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
}

.product-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
  font-size: 12px;
}

.product-card__spec-item strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
}

.product-card__spec-item span {
  color: var(--text-muted);
}

.product-card__actions {
  display: flex;
  gap: 8px;
}

.btn-card-details {
  flex: 1;
  padding: 8px 12px;
  background: var(--surface-subtle);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: all var(--transition-fast);
}

.btn-card-details:hover {
  background: var(--ink);
  color: #ffffff;
}

.btn-card-quote {
  padding: 8px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-card-quote:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   PLYWOOD SHEET & BUDGET CALCULATOR (Century Tools)
   ========================================================================== */
.section-calculator {
  padding: 90px 0;
  background: #ffffff;
  color: var(--ink);
  position: relative;
}

.calc-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-secondary);
  display: flex;
  justify-content: space-between;
}

.calc-select, .calc-input {
  background: #ffffff;
  border: 1.5px solid var(--border);
  color: var(--ink);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.calc-select:focus, .calc-input:focus {
  border-color: var(--primary);
  background: #ffffff;
}

.calc-range-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calc-range {
  flex-grow: 1;
  accent-color: var(--primary);
}

.calc-range-value {
  font-weight: 800;
  font-size: 16px;
  color: var(--primary);
  min-width: 60px;
}

.calc-output {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.calc-output__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.calc-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

.calc-stat-row span {
  color: var(--text-muted);
  font-size: 14px;
}

.calc-stat-row strong {
  font-size: 18px;
  color: var(--ink);
}

.calc-total-box {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 24px 0 20px;
}

.calc-total-box span {
  font-size: 12px;
  color: #991b1b;
  text-transform: uppercase;
  font-weight: 700;
}

.calc-total-box h4 {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  margin-top: 4px;
}

/* ==========================================================================
   CENTURYPROMISE QR AUTHENTICITY SIMULATOR
   ========================================================================== */
.section-authenticity {
  padding: 90px 0;
  background: #ffffff;
}

.auth-box {
  background: linear-gradient(135deg, #f8fafc, #edf2f7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.auth-content h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.auth-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.auth-scanner-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.auth-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.auth-input {
  flex-grow: 1;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-weight: 600;
  text-transform: uppercase;
}

.auth-samples {
  font-size: 12px;
  color: var(--text-muted);
}

.auth-samples button {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  margin-left: 4px;
}

.auth-certificate {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: #f0fdf4;
  border: 1px solid #86efac;
  display: none;
  animation: fadeIn 0.3s ease;
}

.auth-certificate.active {
  display: block;
}

.auth-cert-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #166534;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ==========================================================================
   ROOM-BY-ROOM BUYING GUIDES (Compact & Systematic Grid)
   ========================================================================== */
.section-guides {
  padding: 60px 0;
  background: var(--surface-alt);
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.guide-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(211, 47, 47, 0.4);
}

.guide-card__thumb {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #f1f5f9;
}

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

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

.guide-card__body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.guide-card__badge {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.guide-card__title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--ink);
}

.guide-card:hover .guide-card__title {
  color: var(--primary);
}

.guide-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-card__meta {
  font-size: 11.5px;
  color: var(--text-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   DEALER LOCATOR
   ========================================================================== */
.section-dealers {
  padding: 90px 0;
  background: #ffffff;
}

.dealer-search-bar {
  display: flex;
  max-width: 580px;
  margin: 0 auto 40px;
  gap: 12px;
}

.dealer-search-select {
  flex-grow: 1;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  font-size: 15px;
  outline: none;
  background: var(--surface-alt);
}

.dealers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dealer-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dealer-card:hover {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.dealer-card__badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.dealer-card__name {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.dealer-card__address {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.dealer-card__contact {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

/* ==========================================================================
   STATS COUNTERS & TRUST
   ========================================================================== */
.section-trust {
  padding: 60px 0;
  background: var(--surface-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-item__number {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   LEAD GENERATION / CONSULTATION CTA
   ========================================================================== */
.section-cta {
  padding: 90px 0;
  background: var(--surface-alt);
  color: var(--ink);
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-content h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--ink);
}

.cta-content p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.cta-form {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.cta-form h3 {
  color: var(--ink);
}

.cta-form input, .cta-form select {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1.5px solid var(--border);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.cta-form input:focus, .cta-form select:focus {
  border-color: var(--primary);
}

/* ==========================================================================
   MEGA FOOTER (Systematic Light Architectural Style)
   ========================================================================== */
.site-footer {
  background: #ffffff;
  color: var(--text-muted);
  padding: 80px 0 30px;
  font-size: 14px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-brand h3 span {
  color: var(--primary);
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 340px;
  color: var(--text-muted);
}

.footer-helpline {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: inline-block;
}

.footer-helpline small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-helpline a {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.footer-helpline a:hover {
  color: var(--primary);
}

.footer-col h5 {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-certifications {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cert-badges {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.cert-badge {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* ==========================================================================
   MODAL DIALOGS (Modern Web Standard)
   ========================================================================== */
dialog:modal {
  overscroll-behavior: contain;
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 640px;
  width: 90%;
  margin: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  background: #ffffff;
}

dialog::backdrop {
  background: rgba(14, 17, 22, 0.7);
  backdrop-filter: blur(4px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 800;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-size: 20px;
  color: var(--text-muted);
}

.modal-close:hover {
  background: var(--surface-subtle);
  color: var(--ink);
}

.modal-body {
  padding: 24px;
}

/* Floating Action Button (WhatsApp & Quick Call) */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 80;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  box-shadow: var(--shadow-lg);
  color: #ffffff;
  font-size: 22px;
  transition: transform var(--transition-fast);
}

.fab:hover {
  transform: scale(1.1);
}

.fab--whatsapp {
  background: #25d366;
}

.fab--calculator {
  background: var(--primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-link {
    padding-inline: 9px;
    font-size: 13.5px;
  }
  .header-actions .btn-secondary {
    display: none;
  }
}

@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .visualizer-stage {
    grid-template-columns: 1fr;
  }
  .calc-card, .auth-box, .cta-box {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .top-bar {
    display: none;
  }
}

@media (max-width: 992px) {
  .site-header__inner {
    height: 64px;
  }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    height: auto;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .nav-item {
    width: 100%;
    height: auto;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-link {
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
  }
  .mega-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 16px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-slider-section {
    min-height: 520px;
  }
  .recommender-box {
    grid-template-columns: 1fr;
  }
  .tech-grid, .guides-grid, .dealers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

@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;
  }
}

/* ==========================================================================
   BLOG ARTICLE COMPATIBILITY STYLES
   ========================================================================== */
.w { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ah { padding: 48px 0 24px; max-width: 860px; margin: 0 auto; }
.ah h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 900; line-height: 1.15; letter-spacing: -1.2px; margin: 16px 0; color: var(--ink); }
.ah .meta { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.tg { display: inline-block; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-sm); letter-spacing: 0.5px; text-transform: uppercase; }
.ai { max-width: 1000px; margin: 0 auto; aspect-ratio: 21 / 9; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.ai img { width: 100%; height: 100%; object-fit: cover; }
.ab { max-width: 760px; margin: 40px auto 0; font-size: 18px; line-height: 1.8; color: var(--ink-secondary); }
.ab h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.6px; margin: 40px 0 14px; line-height: 1.3; color: var(--ink); }
.ab p { margin-bottom: 20px; }
.ab ul { margin: 0 0 24px 24px; }
.ab li { margin-bottom: 10px; }
.ab .tip { border-left: 4px solid var(--primary); background: var(--surface-subtle); padding: 18px 24px; border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: 28px 0; font-size: 16px; color: var(--ink); }
.ab table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 24px 0; border-radius: var(--radius-sm); overflow: hidden; }
.ab th, .ab td { border: 1px solid var(--border); padding: 12px 16px; text-align: left; }
.ab th { background: var(--surface-subtle); font-weight: 700; color: var(--ink); }
.more { max-width: 1000px; margin: 60px auto 0; border-top: 2px solid var(--border); padding-top: 32px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cd { display: flex; flex-direction: column; gap: 10px; background: #fff; border-radius: var(--radius-md); }
.cd .im { overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 16 / 10; }
.cd img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cd:hover img { transform: scale(1.06); }
.cd h3 { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.cd:hover h3 { color: var(--primary); }
.cd p { color: var(--text-muted); font-size: 14px; }
.cd small { color: var(--text-light); font-size: 12px; }
.sh h2 { font-size: 24px; font-weight: 800; margin-bottom: 20px; }
.rv { opacity: 1; transform: none; }

/* ==========================================================================
   UNIVERSAL FULL-SCREEN DETAIL & READER MODAL
   ========================================================================== */
dialog#fullDetailModal:modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: #f8fafc;
  overflow: hidden;
  z-index: 99999;
  box-shadow: none;
  animation: fdModalFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fdModalFadeIn {
  from { opacity: 0; transform: scale(0.99); }
  to { opacity: 1; transform: scale(1); }
}

.fd-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f8fafc;
}

.fd-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  z-index: 20;
  flex-shrink: 0;
  gap: 12px;
}

.fd-topbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.fd-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.fd-btn-back:hover {
  background: var(--ink);
  color: #ffffff;
}

.fd-topbar__divider {
  color: #cbd5e1;
  font-weight: 300;
}

.fd-topbar__badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  background: rgba(227, 24, 55, 0.08);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.fd-topbar__center {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fd-topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.fd-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.fd-action-btn:hover {
  background: #e2e8f0;
}

.fd-action-btn--wa {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
}

.fd-action-btn--wa:hover {
  background: #1eb956;
  color: #ffffff;
}

.fd-btn-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-size: 16px;
  font-weight: bold;
  color: var(--ink-secondary);
  background: var(--surface-subtle);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.fd-btn-close:hover {
  background: var(--primary);
  color: #ffffff;
}

.fd-viewport {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 32px 16px 80px;
  -webkit-overflow-scrolling: touch;
}

.fd-container {
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* Article Hero */
.fd-hero {
  position: relative;
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  background: #0f172a;
}

.fd-hero__img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  opacity: 0.88;
}

.fd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.2) 0%, rgba(15,23,42,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 36px;
  color: #ffffff;
}

.fd-hero__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #f87171;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
}

.fd-hero__title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.fd-hero__meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #cbd5e1;
  flex-wrap: wrap;
}

/* Article Content Body */
.fd-body {
  padding: 36px;
}

.fd-callout {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: #f0fdf4;
  border-left: 5px solid #22c55e;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

.fd-callout--alert {
  background: #fef2f2;
  border-left-color: #ef4444;
}

.fd-callout__icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}

.fd-callout__text h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.fd-callout__text p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
}

/* Interactive Quick Toolstrip inside modal */
.fd-toolstrip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 36px;
}

.fd-tool-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  text-align: left;
  transition: all 0.2s ease;
  color: var(--ink);
}

.fd-tool-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.fd-tool-btn__icon {
  font-size: 22px;
  flex-shrink: 0;
}

.fd-tool-btn strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.fd-tool-btn span {
  display: block;
  font-size: 12px;
  color: var(--ink-secondary);
}

.fd-tool-btn--wa:hover {
  border-color: #25D366;
}

/* Article Prose Typography */
.fd-prose {
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
}

.fd-prose h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 36px;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 8px;
}

.fd-prose h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 24px;
  margin-bottom: 10px;
}

.fd-prose p {
  margin-bottom: 16px;
}

.fd-prose ul, .fd-prose ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.fd-prose li {
  margin-bottom: 8px;
}

.fd-prose strong {
  color: var(--ink);
}

/* Technical Specification Table */
.fd-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.fd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}

.fd-table th {
  background: #f8fafc;
  padding: 12px 16px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.fd-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

.fd-table tr:last-child td {
  border-bottom: none;
}

.fd-table tr:hover td {
  background: #f8fafc;
}

.fd-pill-grade {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  background: #fee2e2;
  color: #dc2626;
}

.fd-pill-grade--blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.fd-pill-grade--green {
  background: #dcfce7;
  color: #15803d;
}

/* Consultation Box */
.fd-consult {
  margin-top: 40px;
  padding: 28px;
  background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 100%);
  border: 1px solid #fecaca;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.fd-consult__text h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.fd-consult__text p {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0;
  max-width: 520px;
}

.fd-consult__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 800;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(227, 24, 55, 0.3);
}

.fd-consult__cta:hover {
  background: #c8142f;
  transform: translateY(-2px);
}

/* Related Guides Grid - Systematic & Editorial */
.fd-related-section {
  margin-top: 52px;
  padding-top: 36px;
  border-top: 2px solid var(--border-light, #f1f5f9);
}

.fd-related-header {
  margin-bottom: 22px;
}

.fd-related-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary, #e31837);
  margin-bottom: 6px;
}

.fd-related-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink, #0f172a);
  line-height: 1.3;
  margin: 0 0 6px 0;
}

.fd-related-desc {
  font-size: 13.5px;
  color: var(--ink-secondary, #64748b);
  margin: 0;
  max-width: 680px;
  line-height: 1.5;
}

.fd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fd-related-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.fd-related-card:hover,
.fd-related-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
  border-color: rgba(227, 24, 55, 0.45);
}

.fd-related-card:focus-visible {
  outline: 2px solid var(--primary, #e31837);
  outline-offset: 2px;
}

.fd-related-card__thumb {
  position: relative;
  width: 100%;
  height: 155px;
  overflow: hidden;
  background: #f1f5f9;
}

.fd-related-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  image-rendering: -webkit-optimize-contrast;
}

.fd-related-card:hover .fd-related-card__thumb img {
  transform: scale(1.06);
}

.fd-related-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 9px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 1;
}

.fd-related-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
}

.fd-related-card__title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink, #0f172a);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 40px;
  transition: color 0.2s ease;
}

.fd-related-card:hover .fd-related-card__title {
  color: var(--primary, #e31837);
}

.fd-related-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-secondary, #64748b);
  padding-top: 10px;
  border-top: 1px solid var(--border-light, #f1f5f9);
  margin-top: auto;
}

.fd-related-card__time {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.fd-related-card__cta {
  font-weight: 700;
  color: var(--primary, #e31837);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.fd-related-card:hover .fd-related-card__cta {
  transform: translateX(4px);
}

@media (max-width: 820px) {
  .fd-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .fd-related-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .fd-related-card__thumb {
    height: 165px;
  }
}

/* Clickable Interactive Cards Hover States on Homepage */
.guide-card,
.tech-card,
.product-card,
.dealer-card,
.category-pill,
.mega-link {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
  border-color: rgba(227, 24, 55, 0.25);
}

.tech-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border-color: var(--primary);
}

.dealer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.category-pill:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Print Stylesheet for Professional PDF Export */
@media print {
  body * {
    visibility: hidden;
  }
  dialog#fullDetailModal:modal,
  dialog#fullDetailModal * {
    visibility: visible;
  }
  dialog#fullDetailModal:modal {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    background: #ffffff;
    box-shadow: none;
  }
  .fd-topbar,
  .fd-toolstrip,
  .fd-consult,
  .fd-related-section {
    display: none !important;
  }
  .fd-container {
    box-shadow: none !important;
    border: none !important;
  }
  .fd-hero__img {
    height: 220px !important;
  }
}

/* Mobile Responsiveness for Reader Modal */
@media (max-width: 768px) {
  .fd-topbar {
    padding: 10px 14px;
  }
  .fd-topbar__center {
    display: none;
  }
  .fd-hero__img {
    height: 240px;
  }
  .fd-hero__overlay {
    padding: 20px 18px;
  }
  .fd-hero__title {
    font-size: 22px;
  }
  .fd-body {
    padding: 20px 16px;
  }
  .fd-action-btn span {
    display: none;
  }
  .fd-action-btn {
    padding: 7px;
  }
  .fd-consult {
    flex-direction: column;
    text-align: center;
  }
}




/* WhatsApp CTAs hidden everywhere */
.floating-actions .fab--whatsapp, .fab--whatsapp, .fd-action-btn--wa, .fd-tool-btn--wa, .fd-consult,
a[href*="wa.me"], a[href*="api.whatsapp.com"], #fdWhatsAppBtn { display: none !important; }

/* Related-guide cards: images always visible */
.fd-related-card { flex-direction: row !important; align-items: center; gap: 14px; padding: 14px; }
.fd-related-card > img { width: 96px; height: 96px; min-width: 96px; object-fit: cover; border-radius: 10px; background: #e2e8f0; display: block; }
.fd-related-card > div { min-width: 0; }
.fd-related-card h5 { margin: 0 0 6px; font-size: 14px; line-height: 1.35; }
.fd-related-card span { font-size: 12px; color: #64748b; }
@media (max-width: 720px) { .fd-related-grid { grid-template-columns: 1fr !important; } }
img { max-width: 100%; }
