/* ============================================
   BLIND PROS — Premium Static Site Styles
   Inspired by Luxe Drapery & Shades aesthetic
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Colors — monochrome premium palette */
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f5;
  --color-bg-dark: #000000;
  --color-text: #333333;
  --color-heading: #000000;
  --color-link: #000000;
  --color-link-hover: #555555;
  --color-primary: #000000;
  --color-primary-hover: #333333;
  --color-border: #e0e0e0;
  --color-border-dark: #333333;
  --color-white: #ffffff;
  --color-overlay: rgba(0,0,0,0.55);
  --color-footer-bg: #000000;
  --color-footer-text: #ffffff;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Mukta', sans-serif;
  --font-size-base: 18px;
  --line-height-base: 1.6;

  /* Spacing */
  --section-padding: 5rem 2.5rem;
  --section-padding-sm: 3rem 1.5rem;
  --container-max: 1600px;
  --content-max: 1200px;
  --gap: 2rem;

  /* Header */
  --header-height: 150px;
  --header-height-sticky: 80px;
  --header-height-mobile: 64px;

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 5px 15px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

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

html { scroll-behavior: smooth; font-size: var(--font-size-base); }

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: justify;
  text-justify: auto;
}

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

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-link-hover); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-heading);
  line-height: 1.2;
  text-transform: capitalize;
  text-align: left;
}
h1 { font-size: 4rem; letter-spacing: -0.05em; margin-bottom: 1.5rem; }
h2 { font-size: 3rem; letter-spacing: -0.05em; margin-bottom: 1.5rem; }
h3 { font-size: 1.8rem; margin-bottom: 1rem; }
h4 { font-size: 1.3rem; margin-bottom: 0.75rem; }
h5 { font-size: 1.22rem; margin-bottom: 0.75rem; }
h6 { font-size: 1.1rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }

/* --- Utility --- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 2.5rem; }
.container-narrow { max-width: var(--content-max); margin: 0 auto; padding: 0 2.5rem; }
.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: height var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}
.site-header.transparent { background: transparent; }
.site-header.solid,
.site-header.scrolled {
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  height: var(--header-height-sticky);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 100%;
}

/* Logo */
.site-logo img {
  height: 80px;
  width: auto;
  transition: height var(--transition-fast);
}
.site-header.scrolled .site-logo img,
.site-header.solid .site-logo img { height: 55px; }
.site-logo .logo-light { display: none; }
.site-header.transparent .site-logo .logo-dark { display: none; }
.site-header.transparent .site-logo .logo-light { display: block; }

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav > ul { display: flex; list-style: none; gap: 0; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-heading);
  text-decoration: none;
  text-transform: capitalize;
  transition: color var(--transition-fast);
  white-space: nowrap;
}
.site-header.transparent .main-nav > ul > li > a { color: var(--color-white); }
.site-header.transparent .main-nav > ul > li > a:hover { color: rgba(255,255,255,0.7); text-decoration: none; }
.main-nav > ul > li > a:hover { color: var(--color-link-hover); text-decoration: none; }

/* Nav hover underline effect */
.main-nav > ul > li > a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1rem; right: 1rem;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}
.main-nav > ul > li:hover > a:not(.btn)::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Dropdown Arrow */
.nav-arrow { font-size: 0.6rem; transition: transform var(--transition-fast); }
.main-nav > ul > li:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown Menus */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  background: var(--color-bg);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 100;
}
.main-nav > ul > li:hover > .dropdown {
  transform: translateX(-50%) scaleY(1);
  opacity: 1;
  visibility: visible;
}

/* Mega Menu */
.mega-menu {
  min-width: 900px;
  padding: 1.5rem;
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
  max-width: 1400px;
}
.mega-menu-item {
  text-align: center;
}
.mega-menu-item a {
  display: block;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background var(--transition-fast);
}
.mega-menu-item a:hover { background: var(--color-bg-alt); text-decoration: none; }
.mega-menu-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.mega-menu-item span {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-heading);
}

/* Simple Dropdown */
.dropdown-simple { min-width: 220px; list-style: none; padding: 0.5rem 0; }
.dropdown-simple li a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text);
  text-decoration: none;
  transition: background var(--transition-fast);
}
.dropdown-simple li a:hover { background: var(--color-bg-alt); text-decoration: none; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-heading);
  transition: all var(--transition-fast);
}
.site-header.transparent .mobile-menu-toggle span { background: var(--color-white); }
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-bg);
  z-index: 999;
  padding: 100px 2rem 2rem;
  overflow-y: auto;
}
.mobile-nav.active { display: block; }
.mobile-nav ul { list-style: none; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--color-border); }
.mobile-nav > ul > li > a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-heading);
  text-decoration: none;
}
.mobile-nav .mobile-dropdown { display: none; padding-bottom: 1rem; }
.mobile-nav .mobile-dropdown.active { display: block; }
.mobile-nav .mobile-dropdown a {
  display: block;
  padding: 0.4rem 0 0.4rem 1rem;
  font-size: 1rem;
  color: var(--color-text);
  text-decoration: none;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  padding: 1.1em 4.2em;
  text-transform: none;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1.2;
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white) !important;
}
.btn-primary:hover {
  background: transparent;
  color: var(--color-primary) !important;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary) !important;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white) !important;
  text-decoration: none;
}

.btn-white {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-primary) !important;
}
.btn-white:hover {
  background: transparent;
  color: var(--color-white) !important;
  text-decoration: none;
}

.btn-white-outline {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white) !important;
}
.btn-white-outline:hover {
  background: var(--color-white);
  color: var(--color-primary) !important;
  text-decoration: none;
}

/* Epic Animated Buttons (Luxe-style) */
.btn-epic {
  display: block;
  position: relative;
  width: 100%;
  border: 2px solid var(--color-heading);
  background: var(--color-bg);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  overflow: hidden;
  height: 90px;
  transition: background 0.2s linear 0.6s;
}
.btn-epic::before,
.btn-epic::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  transition: all 0.6s ease;
}
.btn-epic::before {
  background: var(--color-heading);
  transform: translateY(100%) scaleY(0.5);
}
.btn-epic::after {
  background: var(--color-bg);
  transform: translateY(0) scaleY(1);
}
.btn-epic .btn-epic-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  height: 100%;
  width: 100%;
}
.btn-epic .btn-epic-text {
  position: relative; z-index: 2;
  color: var(--color-heading);
  transition: color 0.5s ease;
}
.btn-epic:hover { background: var(--color-heading); text-decoration: none; }
.btn-epic:hover::after { transform: translateY(-100%) scaleY(0.5); }
.btn-epic:hover::before { transform: translateY(0) scaleY(1); }
.btn-epic:hover .btn-epic-text { color: var(--color-white); }

/* Epic button grid — responsive */
.epic-btn-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
@media (max-width: 1024px) {
  .epic-btn-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .btn-epic {
    height: 70px;
    font-size: 0.85rem;
  }
}
@media (max-width: 600px) {
  .epic-btn-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .btn-epic {
    height: 60px;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
  }
}

/* --- Hero Section — Luxe Effect --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--color-bg-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.6;
}
/* Luxe hero: zoomed bg with slow zoom animation */
.hero-bg-zoom {
  position: absolute;
  inset: -10%;
  overflow: hidden;
  animation: heroZoom 20s ease-out forwards;
}
.hero-bg-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes heroZoom {
  0% { transform: scale(1.15); }
  100% { transform: scale(1.0); }
}
.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video video,
.hero-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
}
/* Hero fade-in/slide-up animation */
.hero-animate {
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeSlideUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
@keyframes heroFadeSlideUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero-content h1 {
  color: var(--color-white);
  font-size: 4.5rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
  text-align: center;
}
.hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-align: center;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: heroFadeSlideUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1.5s forwards;
  opacity: 0;
}
.hero-scroll-arrow {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}
.hero-scroll-arrow::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.9);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* --- Sections --- */
.section {
  padding: var(--section-padding);
}
.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-white);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--color-white); }
.section-alt { background: var(--color-bg-alt); }
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}
.section-header p { color: var(--color-text); font-size: 1.05rem; }

/* Section with large spacing (Luxe drama pacing) */
.section-xl { padding: 6rem 2.5rem; }
.section-xxl { padding: 8rem 2.5rem; }

/* --- Product Card Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-card a { display: block; text-decoration: none; }
.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform var(--transition-medium);
}
.product-card:hover img { transform: scale(1.05); }
.product-card-title {
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-heading);
}

/* Product carousel (horizontal scroll on homepage — legacy fallback) */
.product-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}
.product-carousel::-webkit-scrollbar { height: 6px; }
.product-carousel::-webkit-scrollbar-track { background: var(--color-bg-alt); }
.product-carousel::-webkit-scrollbar-thumb { background: var(--color-border-dark); border-radius: 3px; }
.product-carousel .product-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}
.product-carousel .product-card img {
  aspect-ratio: 3/4;
}

/* Swiper Product Carousel */
.swiper-product-wrap {
  position: relative;
  padding: 0 3rem;
}
.product-swiper {
  overflow: hidden;
}
.product-swiper .swiper-slide {
  height: auto;
}
.product-swiper .product-card {
  margin: 0;
}
.product-swiper .product-card img {
  aspect-ratio: 3/4;
}
.product-swiper-prev,
.product-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  color: var(--color-heading);
}
.product-swiper-prev { left: 0; }
.product-swiper-next { right: 0; }
.product-swiper-prev::after,
.product-swiper-next::after {
  font-size: 20px;
  font-weight: 700;
}
.product-swiper .swiper-slide .product-card {
  border-radius: 4px;
  overflow: hidden;
}

/* --- Split Content (Image + Text side by side) --- */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 500px;
}
.split-content.reverse { direction: rtl; }
.split-content.reverse > * { direction: ltr; }
.split-image {
  background-size: cover;
  background-position: center;
  min-height: 400px;
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}
.split-text h2 { margin-bottom: 1rem; }
.split-text p { margin-bottom: 1.5rem; }

/* Split content — tall variant for dramatic Luxe-style modules */
.split-content-tall { min-height: 600px; }

/* --- Feature Icons Row --- */
.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.feature-item { padding: 2rem 1rem; }
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}
.feature-item h4 { margin-bottom: 0.5rem; text-align: center; }
.feature-item p { text-align: center; }

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--color-bg);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  text-align: center;
}
.testimonial-stars { color: #f5a623; font-size: 1.2rem; margin-bottom: 1rem; }
.testimonial-text { font-style: italic; margin-bottom: 1.5rem; font-size: 1.05rem; }
.testimonial-author { font-weight: 700; font-family: var(--font-heading); }

/* --- Accordion / Dropdown Modules (Luxe-style) --- */
.accordion-group {
  max-width: 900px;
  margin: 0 auto;
}
.accordion-item {
  border-bottom: 1px solid var(--color-border);
}
.accordion-item:first-child {
  border-top: 1px solid var(--color-border);
}
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-heading);
  text-align: left;
  transition: color var(--transition-fast);
}
.accordion-trigger:hover {
  color: var(--color-link-hover);
}
.accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform var(--transition-fast);
}
.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.accordion-item.active .accordion-panel {
  max-height: 800px;
}
.accordion-panel-inner {
  padding: 0 0 2rem 0;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
}
.accordion-panel-inner p { margin-bottom: 0.75rem; }
.accordion-panel-inner ul { margin-bottom: 0.75rem; }

/* Accordion in split layout */
.split-text .accordion-group {
  margin: 1.5rem 0 0;
  max-width: 100%;
}

/* --- Product Detail Page Layout --- */
.product-detail-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}
.product-detail-image {
  overflow: hidden;
}
.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-detail-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}
.product-detail-text h2 {
  margin-bottom: 1rem;
}
.product-detail-text p {
  margin-bottom: 1.5rem;
}

/* Product feature badges */
.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--color-border);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 2px;
}
.product-badge i { font-size: 0.9rem; }

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.blog-card a { text-decoration: none; display: block; }
.blog-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.blog-card-content { padding: 1.5rem; }
.blog-card-content h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.blog-card-content .blog-meta { font-size: 0.85rem; color: #888; margin-bottom: 0.75rem; }
.blog-card-content p { font-size: 0.95rem; color: var(--color-text); }

/* Blog Featured Post (hero card on blog index) */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--color-bg-dark);
  margin-bottom: 3rem;
  min-height: 420px;
  overflow: hidden;
}
.blog-featured-image {
  overflow: hidden;
}
.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}
.blog-featured:hover .blog-featured-image img {
  transform: scale(1.03);
}
.blog-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  color: var(--color-white);
}
.blog-featured-content .blog-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}
.blog-featured-content h2 {
  color: var(--color-white);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.blog-featured-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.blog-featured-content a { color: var(--color-white); }
.blog-featured-content .btn-white-outline { margin-top: auto; align-self: flex-start; }

/* Blog category filter strip */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.blog-filter-btn {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  text-decoration: none;
}

/* --- Home Automation Section (Luxe-style full-width dark) --- */
.automation-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 550px;
  background: var(--color-bg-dark);
}
.automation-showcase-image {
  overflow: hidden;
}
.automation-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.automation-showcase-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  color: var(--color-white);
}
.automation-showcase-text h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}
.automation-showcase-text p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
}
.automation-showcase-text .btn-white-outline {
  align-self: flex-start;
}

/* --- Home Inspiration Gallery Module --- */
.inspiration-module {
  padding: 6rem 2.5rem;
}
.inspiration-module .section-header {
  margin-bottom: 2.5rem;
}
.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 0.5rem;
}
.inspiration-grid .gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

/* --- Portfolio / Inspiration Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.5rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
}

/* --- Home Blog Module (large, editorial) --- */
.blog-module {
  background: var(--color-bg-alt);
  padding: 6rem 2.5rem;
}
.blog-module .blog-grid {
  grid-template-columns: repeat(3, 1fr);
}
.blog-module .blog-card {
  background: var(--color-bg);
}
.blog-module .section-header {
  margin-bottom: 3rem;
}

/* --- Quote Form --- */
.quote-form {
  max-width: 700px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--color-heading);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  padding: 0.8em 1em;
  border: 2px solid var(--color-primary);
  background: var(--color-bg);
  color: var(--color-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}
.form-group textarea { min-height: 150px; resize: vertical; }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: 4rem 2.5rem;
  text-align: center;
}
.cta-banner h2 { color: var(--color-white); margin-bottom: 1rem; text-align: center; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1.1rem; text-align: center; }

/* --- Footer --- */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 4rem 2.5rem 2rem;
}
.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.footer-col a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-col a:hover { color: var(--color-white); text-decoration: underline; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.95rem; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.footer-social a:hover { background: var(--color-white); color: var(--color-bg-dark); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--color-white); }

/* --- Page Header / Banner --- */
.page-banner {
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: 8rem 2.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}
.page-banner-content { position: relative; z-index: 2; }
.page-banner h1 { color: var(--color-white); text-align: center; margin-bottom: 0.5rem; }
.page-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; text-align: center; }

/* Taller page banner for product pages (Luxe-style) */
.page-banner-tall {
  padding: 0;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.page-banner-tall .page-banner-bg {
  opacity: 0.5;
  transform: scale(1.05);
}
.page-banner-tall .page-banner-content {
  max-width: 800px;
  padding: 2rem;
  position: relative;
  z-index: 3;
}
.page-banner-tall h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.1;
}
.page-banner-tall p {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* Add scroll indicator to product banners */
.page-banner-tall::after {
  content: '⌄';
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  color: rgba(255,255,255,0.7);
  animation: bounce 2s infinite;
  z-index: 3;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Mobile adjustments for tall banners */
@media (max-width: 768px) {
  .page-banner-tall {
    min-height: 70vh;
    height: 70vh;
  }
  .page-banner-tall h1 {
    font-size: 2.5rem;
  }
  .page-banner-tall p {
    font-size: 1.1rem;
  }
}

/* --- Blog Post Single --- */
.blog-post-single {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.blog-post-single h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.blog-post-single .post-meta { color: #888; font-size: 0.9rem; margin-bottom: 2rem; }
.blog-post-single img { width: 100%; margin: 2rem 0; border-radius: 4px; }
.blog-post-single h2 { font-size: 1.8rem; margin-top: 2rem; }
.blog-post-single h3 { font-size: 1.4rem; margin-top: 1.5rem; }
.blog-post-single blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--color-bg-alt);
  font-style: italic;
}
.blog-post-single .post-tags { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.blog-post-single .post-tags span {
  display: inline-block;
  background: var(--color-bg-alt);
  padding: 0.3rem 0.8rem;
  margin: 0.25rem;
  font-size: 0.85rem;
  border-radius: 3px;
}

/* --- Blog Pagination --- */
.pagination { display: flex; justify-content: center; gap: 0.5rem; padding: 2rem 0; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--color-border);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.pagination a:hover, .pagination .current {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  text-decoration: none;
}

/* --- Placeholder Image Styling --- */
.placeholder-img {
  background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 50%, #d0d0d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Scroll Animation --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delay for children */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.3);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--color-primary); }

/* --- Process Steps (Luxe-style numbered) --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  text-align: center;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 2rem 1.5rem;
}
.process-step::before {
  content: counter(step);
  counter-increment: step;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  color: var(--color-primary);
}
.process-step h4 {
  text-align: center;
  margin-bottom: 0.5rem;
}
.process-step p {
  text-align: center;
  font-size: 0.95rem;
}

/* --- Full-bleed Image Section --- */
.full-bleed-image {
  width: 100%;
  height: 50vh;
  min-height: 350px;
  overflow: hidden;
}
.full-bleed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}
.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  text-align: center;
}
.stat-item p {
  font-size: 0.95rem;
  text-align: center;
  color: var(--color-text);
  margin: 0;
}
.section-dark .stat-item p { color: rgba(255,255,255,0.75); }

/* --- Responsive --- */
@media (max-width: 1380px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.8rem; }
  .hero-content h1 { font-size: 3.8rem; }
  .mega-menu-grid { grid-template-columns: repeat(3, 1fr); }
  .mega-menu { min-width: 700px; }
}

@media (max-width: 1024px) {
  :root { --section-padding: 3.5rem 2rem; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .site-header { height: var(--header-height-mobile); }
  .site-header.scrolled { height: var(--header-height-mobile); }
  .site-logo img { height: 50px; }
  .site-header.scrolled .site-logo img { height: 45px; }
  .split-content { grid-template-columns: 1fr; }
  .split-content.reverse { direction: ltr; }
  .split-image { min-height: 300px; }
  .split-text { padding: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.4rem; }
  .hero-content h1 { font-size: 3rem; }
  .page-banner { padding: 6rem 1.5rem 3rem; }
  .page-banner-tall { padding: 7rem 1.5rem 3rem; min-height: auto; }
  .product-detail-intro { grid-template-columns: 1fr; }
  .automation-showcase { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .inspiration-grid { grid-template-columns: repeat(2, 1fr); }
  .inspiration-grid .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .blog-module .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  :root {
    --font-size-base: 17px;
    --section-padding: 2.5rem 1.5rem;
  }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.4rem; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-single h1 { font-size: 2rem; }
  .container, .container-narrow { padding: 0 1.5rem; }
  .split-text { padding: 2rem 1.5rem; }
  .page-banner { padding: 5rem 1.5rem 2.5rem; }
  .inspiration-grid { grid-template-columns: 1fr; }
  .inspiration-grid .gallery-item:first-child { grid-column: span 1; }
  .blog-module .blog-grid { grid-template-columns: 1fr; }
  .blog-featured-content { padding: 2rem; }
  .blog-featured-content h2 { font-size: 1.5rem; }
  .accordion-trigger { font-size: 1.1rem; }
  .product-detail-text { padding: 2rem 1.5rem; }
  /* Product carousel mobile */
  .swiper-product-wrap { padding: 0 2rem; }
  .product-swiper .product-card img { aspect-ratio: 1; }
  .section-xl { padding: 3rem 1.5rem; }
  .section-xxl { padding: 4rem 1.5rem; }
  /* Process steps stacking */
  .process-steps { gap: 1.5rem; }
  .process-step { padding: 1.5rem; }
  /* Stats bar mobile */
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-item h3 { font-size: 2rem; }
  /* Testimonial cards mobile */
  .testimonial-grid { gap: 1.5rem; }
  .testimonial-card { padding: 1.5rem; }
}

/* --- Cookie Notice (matching Luxe) --- */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: 1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 9999;
  font-size: 0.9rem;
  transform: translateY(100%);
  transition: transform var(--transition-fast);
}
.cookie-notice.visible { transform: translateY(0); }
.cookie-notice p { margin: 0; }
.cookie-notice a { color: var(--color-white); text-decoration: underline; }
.cookie-notice button {
  background: var(--color-white);
  color: var(--color-bg-dark);
  border: none;
  padding: 0.5rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

/* --- Scroll Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered children animation */
.animate-on-scroll.visible .product-card,
.animate-on-scroll.visible .process-step,
.animate-on-scroll.visible .testimonial-card,
.animate-on-scroll.visible .gallery-item,
.animate-on-scroll.visible .stat-item,
.animate-on-scroll.visible .blog-card {
  opacity: 0;
  animation: staggerFadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.animate-on-scroll.visible .product-card:nth-child(1),
.animate-on-scroll.visible .process-step:nth-child(1),
.animate-on-scroll.visible .testimonial-card:nth-child(1),
.animate-on-scroll.visible .gallery-item:nth-child(1),
.animate-on-scroll.visible .stat-item:nth-child(1),
.animate-on-scroll.visible .blog-card:nth-child(1) { animation-delay: 0.1s; }
.animate-on-scroll.visible .product-card:nth-child(2),
.animate-on-scroll.visible .process-step:nth-child(2),
.animate-on-scroll.visible .testimonial-card:nth-child(2),
.animate-on-scroll.visible .gallery-item:nth-child(2),
.animate-on-scroll.visible .stat-item:nth-child(2),
.animate-on-scroll.visible .blog-card:nth-child(2) { animation-delay: 0.2s; }
.animate-on-scroll.visible .product-card:nth-child(3),
.animate-on-scroll.visible .process-step:nth-child(3),
.animate-on-scroll.visible .testimonial-card:nth-child(3),
.animate-on-scroll.visible .gallery-item:nth-child(3),
.animate-on-scroll.visible .stat-item:nth-child(3),
.animate-on-scroll.visible .blog-card:nth-child(3) { animation-delay: 0.3s; }
.animate-on-scroll.visible *:nth-child(4) { animation-delay: 0.4s; }
.animate-on-scroll.visible *:nth-child(5) { animation-delay: 0.5s; }
.animate-on-scroll.visible *:nth-child(6) { animation-delay: 0.6s; }

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

/* Parallax effect for split sections */
.split-content .split-image img {
  transition: transform 0.3s ease-out;
}

/* Product Gallery Grid */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.product-gallery .gallery-item {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.product-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}
.product-gallery .gallery-item:hover img {
  transform: scale(1.05);
}
@media (max-width: 600px) {
  .product-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

/* --- Loading Animation --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Extra-small devices (320px) --- */
@media (max-width: 375px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  h2 { font-size: 1.7rem; }
  .epic-btn-grid { grid-template-columns: 1fr; gap: 6px; }
  .btn-epic { height: 50px; font-size: 0.75rem; }
  .swiper-product-wrap { padding: 0 1rem; }
  .product-swiper-prev,
  .product-swiper-next { width: 32px; height: 32px; }
  .product-swiper-prev::after,
  .product-swiper-next::after { font-size: 14px; }
  .stats-bar { grid-template-columns: 1fr; }
  .section-xl { padding: 2.5rem 1rem; }
  .process-steps { grid-template-columns: 1fr; }
}


/* --- Enhanced Product Media Galleries --- */
.media-viewer {
  position: relative;
  margin-bottom: 1rem;
  border-radius: 6px;
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 9;
}
.media-viewer-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}
.media-viewer-stage img,
.media-viewer-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-viewer-stage video { background: #000; }
.media-viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  color: #111;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background var(--transition-fast), opacity var(--transition-fast);
}
.media-viewer-nav:hover { transform: translateY(-50%) scale(1.06); background: #fff; }
.media-viewer-nav.prev { left: 1rem; }
.media-viewer-nav.next { right: 1rem; }
.media-viewer-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  background: rgba(0,0,0,0.58);
  color: #fff;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}
.product-gallery .gallery-item {
  position: relative;
  cursor: pointer;
}
.product-gallery .gallery-item.active {
  outline: 2px solid #111;
  outline-offset: 2px;
}
.product-gallery .gallery-item.video-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.18), rgba(0,0,0,0.18));
  z-index: 1;
  pointer-events: none;
}
.product-gallery .gallery-item .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.product-gallery .gallery-item .play-overlay::before {
  content: '';
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.product-gallery .gallery-item .play-overlay::after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #111;
  margin-left: 4px;
}
.product-gallery .gallery-item:hover .play-overlay::before {
  transform: scale(1.08);
  background: rgba(255,255,255,0.97);
}
.home-inline-video {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  background: #111;
}
.home-inline-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .home-inline-video { min-height: 320px; }
  .media-viewer-nav { width: 42px; height: 42px; }
  .media-viewer-nav.prev { left: 0.75rem; }
  .media-viewer-nav.next { right: 0.75rem; }
}
@media (max-width: 600px) {
  .media-viewer { aspect-ratio: 4 / 3; }
  .media-viewer-label { left: 0.75rem; bottom: 0.75rem; font-size: 0.8rem; }
  .product-gallery .gallery-item .play-overlay::before { width: 58px; height: 58px; }
  .product-gallery .gallery-item .play-overlay::after { border-width: 11px 0 11px 18px; }
}


/* --- Window Film custom layout tweaks --- */
.window-film-layout {
  align-items: center;
  min-height: 0;
}
.window-film-layout .split-text {
  padding: 4rem 3rem;
}
.window-film-layout .split-image img {
  min-height: 420px;
  object-fit: cover;
}
.media-viewer-stage {
  touch-action: pan-y;
}
