/* ==========================================================================
   TECHNOCERAM - Premium Design System & Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Sora:wght@500;600;700;800&family=Ubuntu:wght@400;500;700&display=swap');

:root {
  --bg-primary: #f7f7f7;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f0f1f3;
  --brand-red: #ED1C24;
  --brand-red-rgb: 237, 28, 36;
  --brand-red-hover: #B5121B;
  --ink: #111111;
  --text-primary: #171717;
  --text-secondary: #4b5563;
  --text-muted: #7a7f87;
  --success: #10b981;
  
  /* Glassmorphism & UI Tokens */
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(17, 17, 17, 0.08);
  --glass-border-focus: rgba(var(--brand-red-rgb), 0.35);
  --glass-shadow: 0 18px 45px rgba(17, 17, 17, 0.12);
  --border-radius-sm: 8px;
  --border-radius-md: 8px;
  --border-radius-lg: 8px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Sidebar Width */
  --sidebar-width: 280px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Manrope', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scrollbar-width: thin;
  scrollbar-color: var(--brand-red) var(--bg-primary);
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-red);
  border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-red-hover);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
}

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

/* Layout Framework */
#app-container {
  display: flex;
  min-height: 100vh;
}

/* Sticky Top Navigation Header */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

/* UPDATED: 63 - Transparent navbar before scroll */
body[data-page-title*="TECHNOCERAM | L'Excellence"] #site-header:not(.scrolled) {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

body[data-page-title*="TECHNOCERAM | L'Excellence"] #site-header:not(.scrolled) .logo-title,
body[data-page-title*="TECHNOCERAM | L'Excellence"] #site-header:not(.scrolled) .desktop-nav .nav-item a,
body[data-page-title*="TECHNOCERAM | L'Excellence"] #site-header:not(.scrolled) .logo-subtitle {
  color: #fff;
}

#site-header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.header-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#site-header .logo-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

#site-header .brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

#site-header.scrolled .brand-mark {
  width: 38px;
  height: 38px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

#site-header .logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.5px;
}

#site-header .logo-subtitle {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
}

.desktop-nav .nav-links {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  list-style: none;
  margin-top: 0;
}

.desktop-nav .nav-item a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.25rem;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.desktop-nav .nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-red);
  transition: var(--transition-fast);
}

.desktop-nav .nav-item a:hover {
  color: var(--brand-red);
  background: none;
  border-left: none;
  padding-left: 0.25rem;
}

.desktop-nav .nav-item a:hover::after {
  width: 100%;
}

.desktop-nav .nav-item.active a {
  color: var(--brand-red);
  background: none;
  border-left: none;
  padding-left: 0.25rem;
}

.desktop-nav .nav-item.active a::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.25rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

.language-switcher button {
  min-width: 34px;
  padding: 0.4rem 0.5rem;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--brand-red);
  color: #fff;
}

.language-switcher-mobile {
  align-self: center;
  margin: 1.5rem 0 0;
}

.site-button,
.file-trigger-button,
.btn-primary,
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.5rem;
  border: 0;
  border-radius: var(--border-radius-sm);
  background: var(--brand-red);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(var(--brand-red-rgb), 0.24);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
}

.site-button:hover,
.file-trigger-button:hover,
.btn-primary:hover,
.btn-nav-cta:hover {
  background: var(--brand-red-hover);
  box-shadow: 0 12px 26px rgba(var(--brand-red-rgb), 0.32);
  transform: translateY(-2px);
}

.site-button-compact {
  padding: 0.7rem 1rem;
  font-size: 0.72rem;
}

.product-model-label {
  margin-bottom: 0.45rem;
  color: var(--brand-red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[dir="rtl"] body {
  direction: rtl;
  font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
}

html[dir="rtl"] .drawer-content,
html[dir="rtl"] .mobile-nav-item a {
  text-align: right;
}

html[dir="rtl"] .ai-chat-window {
  direction: rtl;
}

.btn-nav-cta {
  background: var(--brand-red);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 4px 12px rgba(var(--brand-red-rgb), 0.2);
  transition: var(--transition-fast);
}

.btn-nav-cta:hover {
  background: var(--brand-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(var(--brand-red-rgb), 0.3);
}

/* Hamburger Menu Button */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--ink);
  border-radius: 4px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.hamburger-menu.active .line-top {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .line-middle {
  opacity: 0;
}

.hamburger-menu.active .line-bottom {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Drawer */
#mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  z-index: 1050;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.5s;
}

#mobile-nav-drawer.active {
  visibility: visible;
  pointer-events: auto;
}

.drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.4);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

#mobile-nav-drawer.active .drawer-backdrop {
  opacity: 1;
}

.drawer-content {
  position: relative;
  width: min(420px, calc(100% - 28px));
  max-width: 92%;
  height: 100%;
  background:
    radial-gradient(circle at 78% 8%, rgba(var(--brand-red-rgb), 0.11), transparent 11rem),
    linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  box-shadow: -18px 0 55px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.2rem, 4vw, 2rem);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  border-radius: 24px 0 0 24px;
}

#mobile-nav-drawer.active .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  margin-bottom: clamp(1.2rem, 4vw, 2rem);
}

.drawer-header .logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
}

.drawer-header .brand-mark {
  width: clamp(78px, 18vw, 118px);
  height: clamp(78px, 18vw, 118px);
  object-fit: contain;
}

.drawer-header .logo-title {
  color: var(--ink) !important;
  font-size: clamp(1rem, 3.5vw, 1.45rem);
}

.mobile-nav {
  margin-top: 0;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-item a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.06);
  font-size: clamp(1rem, 4.5vw, 1.22rem);
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.mobile-nav-item a:hover, .mobile-nav-item.active a {
  color: #fff;
  background: var(--brand-red);
  border-color: var(--brand-red);
  transform: translateX(-4px);
  box-shadow: 0 14px 30px rgba(var(--brand-red-rgb), 0.24);
}

.drawer-footer {
  margin-top: auto;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  padding-top: 1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
}

/* UPDATED: 67 - Responsive premium mobile/tablet drawer */
@media (max-width: 640px) {
  .drawer-content {
    width: calc(100% - 18px);
    max-width: calc(100% - 18px);
    padding: 1rem;
    border-radius: 18px 0 0 18px;
  }

  .drawer-header .logo-container {
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem;
  }

  .mobile-nav-links {
    gap: 0.55rem;
  }

  .mobile-nav-item a {
    min-height: 48px;
    padding: 0.72rem 0.9rem;
  }
}

.drawer-social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}

.drawer-social-links a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.drawer-social-links a:hover {
  color: var(--brand-red);
}

/* Main Content Area */
#main-content {
  margin-left: 0;
  padding-top: 80px;
  flex-grow: 1;
  padding-bottom: 0;
  background-color: var(--bg-primary);
  position: relative;
  min-width: 0; /* Prevents flex items from breaking grid widths */
}

/* Sections */
section {
  padding: 6rem 4rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.section-header {
  margin-bottom: 3.5rem;
  position: relative;
}

.section-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--brand-red);
  letter-spacing: 0;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.section-title span {
  color: var(--brand-red);
}

/* Home / Hero Section */
#home {
  padding: 0;
  position: relative;
  overflow: hidden;
}

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

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s;
  z-index: 1;
}

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

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.08);
}

.slide-content {
  position: absolute;
  bottom: 15%;
  left: 8%;
  max-width: 650px;
  z-index: 3;
  padding: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
  transform: translateY(30px);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active .slide-content {
  transform: translateY(0);
}

.slide-series {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.slide-title {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  line-height: 1.1;
  font-weight: 800;
}

.slide-desc {
  color: #f3f4f6;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background: var(--brand-red);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 24px rgba(var(--brand-red-rgb), 0.24);
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--brand-red-hover);
  box-shadow: 0 12px 28px rgba(var(--brand-red-rgb), 0.32);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.76);
  padding: 0.95rem 1.4rem;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  display: inline-flex;
  margin-left: 0.75rem;
  background: rgba(17, 17, 17, 0.18);
}

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

/* Slider Controls */
.slider-controls {
  position: absolute;
  right: 5%;
  bottom: 8%;
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.slider-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
}

/* About / Qui Sommes-Nous */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(17, 17, 17, 0.07);
  overflow: visible; /* UPDATED: 29 - Card title overflow fix */
}

.stat-card h2,
.stat-card .card-title,
.production-proof-card strong {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  white-space: normal;
  overflow: visible;
  word-break: break-word;
  hyphens: auto;
} /* UPDATED: 29 - Card title overflow fix */

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand-red);
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(17,17,17,0.08);
}

.about-image::after {
  display: none;
}

/* Products Section */
.products-legacy {
  display: none !important;
}

.products-architecture {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background:
    radial-gradient(circle at top left, rgba(var(--brand-red-rgb), 0.08), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.products-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 24px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 24px 70px rgba(17,17,17,0.08);
}

.products-hero-panel h2 {
  margin: 0.35rem 0 1rem;
  max-width: 760px;
}

.products-hero-panel p:not(.section-tag) {
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.products-flow-steps {
  display: grid;
  gap: 0.7rem;
}

.products-flow-steps span {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 14px;
  background: #fff;
  color: var(--text-secondary);
  font-weight: 700;
}

.products-flow-steps strong {
  color: var(--brand-red);
  font-family: 'Sora', sans-serif;
}

.product-category-stage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.product-category-card {
  display: flex;
  min-height: 142px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.2rem;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 18px;
  background: #fff;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(17,17,17,0.05);
}

.product-category-card .material-symbols-outlined {
  color: var(--brand-red);
  font-size: 2rem;
}

.product-category-card strong {
  font-family: 'Sora', sans-serif;
  font-size: 1.12rem;
}

.product-category-card small {
  color: var(--text-muted);
}

.product-category-card.active,
.product-category-card:hover {
  border-color: rgba(var(--brand-red-rgb), 0.45);
  background: linear-gradient(135deg, #1a1f2e, #0f1118);
  color: #fff;
  transform: translateY(-4px);
}

.product-category-card.active small,
.product-category-card:hover small {
  color: rgba(255,255,255,0.68);
}

.product-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) repeat(4, minmax(140px, 1fr)) auto;
  gap: 0.85rem;
  align-items: end;
  margin-bottom: 2rem;
  padding: 1rem;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(17,17,17,0.06);
}

.product-filter-bar label {
  display: grid;
  gap: 0.35rem;
}

.product-filter-bar span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-select,
.product-search-input,
.product-reset-btn {
  min-height: 46px;
  border: 1px solid rgba(var(--brand-red-rgb), 0.78);
  border-radius: 12px;
  font-family: 'Ubuntu', 'Manrope', sans-serif;
  font-weight: 700;
}

.product-search-input {
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 2px solid var(--brand-red);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  box-shadow: none;
  outline: none;
} /* UPDATED: 66 - Collections search input style */

.product-search-input::placeholder {
  color: var(--text-muted);
  font-weight: 600;
}

.product-filter-actions {
  display: grid;
  gap: 0.45rem;
  min-width: 145px;
}

.product-filter-actions span {
  text-align: center;
}

.product-filter-actions strong {
  color: var(--brand-red);
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
}

.product-select {
  padding: 0.85rem 2.35rem 0.85rem 0;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-bottom: 2px solid var(--brand-red);
  border-radius: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ED1C24' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 0.45rem center;
  background-size: 18px 18px;
  background-repeat: no-repeat;
  color: var(--ink);
  font: inherit;
  box-shadow: none;
} /* UPDATED: 14 */

.product-select option {
  background: #fff;
  color: var(--text-primary);
  font-family: 'Ubuntu', 'Manrope', sans-serif;
}

.product-reset-btn {
  padding: 0 1rem;
  background: #fff;
  color: var(--brand-red);
  cursor: pointer;
  transition: var(--transition-fast);
}

.product-reset-btn:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}

.professional-products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.professional-products-grid .product-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(17,17,17,0.08);
}

.professional-products-grid .product-img-wrapper {
  height: 235px;
}

.product-card-text {
  min-height: 54px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

.professional-products-grid .product-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1rem 0 1.2rem;
}

.professional-products-grid .product-specs span {
  display: grid;
  gap: 0.1rem;
  padding: 0.65rem;
  border-radius: 12px;
  background: #f5f5f5;
}

.professional-products-grid .product-specs small {
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.professional-products-grid .product-specs strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: auto;
}

.product-card-btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--brand-red);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-red) !important;
  font-family: 'Ubuntu', 'Manrope', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(var(--brand-red-rgb), 0.08);
  transition: var(--transition-fast);
}

.product-card-btn:hover,
.product-card-btn:focus-visible {
  background: var(--brand-red);
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(var(--brand-red-rgb), 0.24);
  outline: none;
  transform: translateY(-2px);
}

.product-empty-state {
  display: none;
  margin: 2rem 0;
  padding: 1rem;
  border: 1px dashed rgba(var(--brand-red-rgb), 0.35);
  border-radius: 16px;
  background: rgba(var(--brand-red-rgb), 0.05);
  color: var(--brand-red);
  font-weight: 800;
  text-align: center;
}

.product-empty-state.active {
  display: block;
}

.product-client-actions {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.client-action-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(17,17,17,0.08);
}

.client-action-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--brand-red);
}

.client-action-card > .material-symbols-outlined {
  color: var(--brand-red);
  font-size: 2.2rem;
}

.client-action-card h3 {
  margin: 0.7rem 0;
  font-size: 1.35rem;
}

.client-action-card p {
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.distributor-action-card {
  background: linear-gradient(135deg, #fff, #fff5f5);
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  list-style: none;
}

.filter-btn {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--text-secondary);
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-focus);
  box-shadow: var(--glass-shadow);
}

.product-img-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
}

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

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

.product-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  color: var(--brand-red);
  border: 1px solid rgba(var(--brand-red-rgb), 0.18);
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 30px;
  z-index: 5;
}

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

.product-category {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.product-specs {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(17,17,17,0.08);
  padding-top: 1rem;
  margin-top: 1rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

/* Careers Section */
.careers-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.careers-intro p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.job-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  border: 1px solid rgba(17,17,17,0.08);
  transition: var(--transition-fast);
}

.job-card:hover {
  border-color: var(--glass-border-focus);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}

.job-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.job-type {
  background: rgba(var(--brand-red-rgb), 0.1);
  color: var(--brand-red);
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
}

.job-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.job-meta {
  display: flex;
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-secondary {
  border: 1.5px solid var(--brand-red);
  color: var(--brand-red);
  background: transparent;
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: 1rem;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--brand-red);
  color: #ffffff;
}

/* Contact & Info Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(var(--brand-red-rgb), 0.1);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--brand-red);
  flex-shrink: 0;
}

.contact-text-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-text-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-form-card {
  background: var(--bg-secondary);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(17,17,17,0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0;
}

.form-control {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: var(--border-radius-sm);
  padding: 1rem;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 2px rgba(var(--brand-red-rgb), 0.14);
}

.form-status {
  min-height: 1.4rem;
  margin-top: 1rem;
  color: var(--brand-red);
  font-size: 0.9rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-form-card input.form-control,
.contact-form-card textarea.form-control,
.adaptive-form-card input.modern-input,
.adaptive-form-card textarea.modern-input {
  border: 0;
  border-bottom: 2px solid var(--brand-red);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
} /* UPDATED: 4 */

.contact-form-card input.form-control:focus,
.contact-form-card textarea.form-control:focus,
.adaptive-form-card input.modern-input:focus,
.adaptive-form-card textarea.modern-input:focus {
  border-bottom-color: var(--brand-red-hover);
  box-shadow: 0 8px 18px rgba(var(--brand-red-rgb), 0.08);
} /* UPDATED: 4 */

/* Video news */
.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.video-news-intro {
  max-width: 680px;
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.video-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.video-card {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.08);
  transition: var(--transition-fast);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(17, 17, 17, 0.14);
}

.video-thumbnail {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--primary);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 10px 25px rgba(var(--brand-red-rgb), 0.35);
  transform: translate(-50%, -50%);
}

.video-duration {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: rgba(3, 7, 20, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.video-card-body {
  padding: 1.25rem;
}

.video-card-body h3 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.video-meta {
  margin-bottom: 0.55rem;
  color: var(--brand-red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* Adaptive contact hub */
.contact-hub {
  padding: 6rem 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(var(--brand-red-rgb), 0.1), transparent 34%),
    linear-gradient(180deg, #f8f8f9 0%, #fff 100%);
}

.contact-hub-heading {
  max-width: 780px;
  margin-bottom: 2.5rem;
}

.contact-hub-heading > p:last-child {
  max-width: 680px;
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.request-type-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.request-type-card {
  display: flex;
  min-height: 138px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.25rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  text-align: start;
  cursor: pointer;
  transition: var(--transition-fast);
}

.request-type-card .material-symbols-outlined {
  margin-bottom: 0.35rem;
  color: var(--brand-red);
  font-size: 1.65rem;
}

.request-type-card strong {
  font-size: 0.86rem;
}

.request-type-card small {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.request-type-card:hover,
.contact-hub:not(:has(.request-fields-panel:target)) .request-type-card[href="#quote-form"],
.contact-hub:has(#quote-form:target) .request-type-card[href="#quote-form"],
.contact-hub:has(#catalogue-form:target) .request-type-card[href="#catalogue-form"],
.contact-hub:has(#appointment-form:target) .request-type-card[href="#appointment-form"],
.contact-hub:has(#recruitment-form:target) .request-type-card[href="#recruitment-form"],
.contact-hub:has(#complaint-form:target) .request-type-card[href="#complaint-form"] {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 12px 28px rgba(var(--brand-red-rgb), 0.22);
  transform: translateY(-3px);
}

.request-type-card:hover .material-symbols-outlined,
.request-type-card:hover small,
.contact-hub:not(:has(.request-fields-panel:target)) .request-type-card[href="#quote-form"] :is(.material-symbols-outlined, small),
.contact-hub:has(#quote-form:target) .request-type-card[href="#quote-form"] :is(.material-symbols-outlined, small),
.contact-hub:has(#catalogue-form:target) .request-type-card[href="#catalogue-form"] :is(.material-symbols-outlined, small),
.contact-hub:has(#appointment-form:target) .request-type-card[href="#appointment-form"] :is(.material-symbols-outlined, small),
.contact-hub:has(#recruitment-form:target) .request-type-card[href="#recruitment-form"] :is(.material-symbols-outlined, small),
.contact-hub:has(#complaint-form:target) .request-type-card[href="#complaint-form"] :is(.material-symbols-outlined, small) {
  color: #fff;
}

.contact-hub-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.45fr);
  gap: 1.5rem;
  align-items: stretch;
}

.contact-details-card,
.adaptive-form-card {
  border-radius: 16px;
  box-shadow: 0 22px 55px rgba(17, 17, 17, 0.1);
}

.contact-details-card {
  position: relative;
  overflow: hidden;
  padding: 2.25rem;
  background: #151a29;
  color: #fff;
}

.contact-details-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(var(--brand-red-rgb), 0.18);
}

.contact-details-badge {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: var(--brand-red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.contact-details-card h3 {
  margin-bottom: 0.8rem;
  color: #fff;
  font-size: 1.75rem;
}

.contact-details-card > p {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.contact-detail {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1rem;
  margin: 1.4rem 0;
}

.contact-detail > .material-symbols-outlined {
  color: var(--brand-red);
}

.contact-detail div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-detail strong {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.contact-detail a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  line-height: 1.5;
}

.contact-detail a:hover {
  color: #fff;
}

.contact-response-time {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.contact-response-time span:last-child {
  display: flex;
  flex-direction: column;
}

.contact-response-time small {
  color: rgba(255, 255, 255, 0.55);
}

.adaptive-form-card {
  padding: 2.25rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #fff;
}

.adaptive-form-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.adaptive-form-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border-radius: 12px;
  background: rgba(var(--brand-red-rgb), 0.1);
  color: var(--brand-red);
}

.adaptive-form-header p {
  color: var(--brand-red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.adaptive-form-header h3 {
  margin: 0.15rem 0;
  color: var(--ink);
  font-size: 1.45rem;
}

.adaptive-form-header span:last-child {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.adaptive-form-grid,
.adaptive-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.adaptive-fields {
  margin-top: 1rem;
}

.request-fields-panel {
  display: none;
  animation: contactPanelIn 220ms ease;
}

.contact-hub:not(:has(.request-fields-panel:target)) .request-fields-quote,
.request-fields-panel:target {
  display: grid;
}

.request-mode-summary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(var(--brand-red-rgb), 0.14);
  border-radius: 16px;
  background: rgba(var(--brand-red-rgb), 0.045);
}

.request-mode-summary > .material-symbols-outlined {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-red);
  color: #fff;
}

.request-mode-summary h3 {
  color: var(--ink);
  font-size: 1.05rem;
}

.request-mode-summary p {
  margin-top: 0.15rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

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

.form-field {
  min-width: 0;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
}

.modern-input {
  width: 100%;
  min-height: 50px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 9px;
  background: #fafafa;
  color: var(--ink);
  font: inherit;
  transition: var(--transition-fast);
}

textarea.modern-input {
  min-height: 120px;
  resize: vertical;
}

.modern-input:focus {
  outline: 0;
  border-color: var(--brand-red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(var(--brand-red-rgb), 0.1);
}

.form-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1.4rem 0;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.form-consent input {
  margin-top: 0.2rem;
  accent-color: var(--brand-red);
}

.adaptive-submit {
  width: 100%;
}

@media (max-width: 1000px) {
  .video-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-hub-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .video-card-grid,
  .adaptive-form-grid,
  .adaptive-fields {
    grid-template-columns: 1fr;
  }

  .request-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-type-card:last-child {
    grid-column: 1 / -1;
  }

  .contact-hub {
    padding: 4rem 0;
  }

  .adaptive-form-card,
  .contact-details-card {
    padding: 1.4rem;
  }
}

/* Floating Digital Assistant Widget */
#ai-assistant-widget {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media (max-width: 640px) {
  #ai-assistant-widget {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .ai-toggle-btn {
    width: 48px;
    height: 48px;
  }
}

.ai-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-red);
  border: none;
  color: #ffffff;
  font-size: 1.75rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(var(--brand-red-rgb), 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.ai-toggle-btn:hover {
  transform: scale(1.08) rotate(5deg);
}

.ai-chat-window {
  width: 380px;
  height: 500px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px) scale(0.95);
  transition: var(--transition-smooth);
  backdrop-filter: blur(16px);
}

.ai-chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ai-chat-header {
  background: rgba(var(--brand-red-rgb), 0.08);
  padding: 1.5rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-chat-title-container {
  display: flex;
  flex-direction: column;
}

.ai-chat-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.ai-chat-status {
  font-size: 0.75rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ai-chat-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--success);
}

.ai-chat-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
}

.ai-chat-messages {
  flex-grow: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message {
  max-width: 80%;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.message.bot {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid rgba(255,255,255,0.03);
}

.message.user {
  background: var(--brand-red);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.ai-chat-input-area {
  padding: 1.25rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  display: flex;
  gap: 0.75rem;
}

.ai-input {
  flex-grow: 1;
  background: var(--bg-tertiary);
  border: 1px solid rgba(17,17,17,0.12);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.ai-input:focus {
  outline: none;
  border-color: var(--brand-red);
}

.ai-send-btn {
  background: var(--brand-red);
  border: none;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.ai-send-btn:hover {
  background: var(--brand-red-hover);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1200px) {
  .about-grid, .careers-content, .contact-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .about-image {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  #site-header {
    height: 70px;
  }
  
  #main-content {
    margin-left: 0;
    padding-top: 70px;
  }
  
  section {
    padding: 4rem 2rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .header-container {
    padding: 0 1rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  #site-header .logo-subtitle {
    display: none;
  }

  .language-switcher button {
    min-width: 28px;
    padding: 0.35rem 0.3rem;
  }

  .slide-content {
    left: 5%;
    right: 5%;
    bottom: 10%;
  }
  
  .slide-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .btn-ghost {
    margin-left: 0;
    margin-top: 0.75rem;
  }
  
  .room-selector {
    grid-template-columns: 1fr;
  }
  
  .tile-selector {
    grid-template-columns: 1fr;
  }
  
  .ai-chat-window {
    width: calc(100vw - 2rem);
    right: 1rem;
  }
}

/* ==========================================================================
   Modernized Cards, Modals & Recruitment CSS
   ========================================================================== */

/* Enhanced Product Cards */
.product-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 10;
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.btn-card-quick-view {
  transform: none;
}

.product-card:hover .btn-card-quick-view {
  transform: none;
}

.btn-card-quick-view:hover {
  background: var(--brand-red);
  color: #ffffff !important;
}

/* Modals Framework */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 11, 11, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-container {
  position: relative;
  width: 960px;
  max-width: 90%;
  max-height: 90vh;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  overflow-y: auto;
  z-index: 2010;
  box-shadow: var(--glass-shadow);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--glass-border);
}

.modal-container.modal-medium {
  width: 720px;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(17, 17, 17, 0.05);
  border: none;
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-secondary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2020;
  transition: var(--transition-fast);
  line-height: 0;
  padding-bottom: 4px;
}

.modal-close-btn:hover {
  background: var(--brand-red);
  color: #ffffff;
}

/* Quick View Modal Details */
.modal-body-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 500px;
}

.modal-image-pane {
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  min-height: 520px;
}

.modal-image-pane img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.35s ease, filter 0.35s ease;
} /* UPDATED: 7 */

.modal-image-pane:hover img {
  transform: scale(1.025);
}

.modal-image-pane img.is-upscaled {
  filter: contrast(1.04) saturate(1.06);
}

.qv-image-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.qv-image-badge.badge-hq {
  background: var(--brand-red);
  color: #fff;
}

.qv-image-badge.badge-upscaled {
  background: rgba(17, 17, 17, 0.58);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
}

.qv-image-zoom-btn {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-red);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.18);
  cursor: pointer;
  transition: var(--transition-fast);
}

.qv-image-zoom-btn:hover {
  background: var(--brand-red);
  color: #fff;
  transform: scale(1.08);
}

.qv-image-notice {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  max-width: calc(100% - 5.5rem);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.52);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.fiche-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
}

.fiche-lightbox.hidden {
  display: none;
}

.lightbox-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  max-width: 92vw;
  max-height: 92vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.54);
  filter: contrast(1.05) saturate(1.05);
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.32);
}

.lightbox-caption {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
} /* UPDATED: 67 - Fiche technique HQ image display */

.modal-info-pane {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-info-pane .modal-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--brand-red);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.modal-info-pane .modal-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.modal-info-pane .modal-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.modal-specs-table {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  margin-bottom: 2rem;
}

.modal-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  font-size: 0.9rem;
}

.modal-spec-row .spec-name {
  color: var(--text-muted);
  font-weight: 500;
}

.modal-spec-row .spec-val {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

.product-documents {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
  padding: 1rem;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 16px;
  background: #f8f8f8;
}

.product-documents h3 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.product-documents a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
}

.product-documents a:hover {
  color: var(--brand-red);
}

.product-documents .material-symbols-outlined {
  color: var(--brand-red);
  font-size: 1.2rem;
}

.modal-actions,
.btn-fiche-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 24px;
  padding: 0;
} /* UPDATED: 38 */

.btn-secondary-red {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(var(--brand-red-rgb), 0.32);
  border-radius: 999px;
  background: rgba(var(--brand-red-rgb), 0.08);
  color: var(--brand-red);
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-secondary-red:hover {
  background: var(--brand-red);
  color: #fff;
}

.btn-fiche-primary,
.btn-fiche-secondary {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  padding: 16px 24px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
} /* UPDATED: 38 */

.btn-fiche-primary {
  border: 2px solid var(--brand-red);
  background-color: var(--brand-red);
  color: #ffffff;
}

.btn-fiche-primary:hover,
.btn-fiche-primary:focus-visible {
  border-color: #a80000;
  background-color: #a80000;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-fiche-secondary,
.btn-secondary-red {
  border: 2px solid var(--brand-red);
  background-color: transparent;
  color: var(--brand-red);
}

.btn-fiche-secondary:hover,
.btn-fiche-secondary:focus-visible,
.btn-secondary-red:hover,
.btn-secondary-red:focus-visible {
  background-color: var(--brand-red);
  color: #ffffff;
  transform: translateY(-2px);
}

.product-card-btn.btn-fiche-primary {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border-width: 2px;
  background-color: var(--brand-red);
  color: #ffffff !important;
} /* UPDATED: 38 */

.product-card-btn.btn-fiche-secondary {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border-width: 2px;
  background-color: transparent;
  color: var(--brand-red) !important;
}

.product-card-btn.btn-fiche-primary:hover,
.product-card-btn.btn-fiche-primary:focus-visible,
.product-card-btn.btn-fiche-secondary:hover,
.product-card-btn.btn-fiche-secondary:focus-visible {
  background-color: var(--brand-red);
  color: #ffffff !important;
}

/* Recruitment Modal Details */
#recruit-form-container {
  padding: 3rem 2.5rem;
}

#recruit-form-container .modal-header {
  margin-bottom: 2rem;
}

#recruit-form-container .modal-badge-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--brand-red);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.5rem;
}

#recruit-form-container .modal-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

#recruit-form-container .modal-subtitle {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* CV Drag & Drop Area */
.cv-drop-zone {
  border: 2px dashed rgba(237, 28, 36, 0.25);
  background: rgba(237, 28, 36, 0.01);
  border-radius: var(--border-radius-sm);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cv-drop-zone.dragover {
  border-color: var(--brand-red);
  background: rgba(237, 28, 36, 0.06);
}

.cv-drop-zone .upload-icon {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.cv-drop-zone:hover .upload-icon, .cv-drop-zone.dragover .upload-icon {
  color: var(--brand-red);
  transform: translateY(-2px);
}

.drop-zone-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.file-browse-btn {
  color: var(--brand-red);
  font-weight: 600;
  text-decoration: underline;
}

.file-name-display {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  word-break: break-all;
}

.hidden-file-input {
  display: none;
}

/* Success Screen */
.success-screen {
  padding: 4rem 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 400px;
  animation: modalScaleUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.success-screen.hidden {
  display: none !important;
}

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  position: relative;
  margin-bottom: 0.5rem;
}

.checkmark-svg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #ffffff;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #10b981;
  animation: fillGreen .4s ease-in-out .4s forwards, scaleCheckmark .3s ease-in-out .9s forwards;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #10b981;
  fill: none;
  animation: strokeCircle .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-kick {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 3;
  stroke: #ffffff;
  animation: strokeKick .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes strokeCircle {
  100% { stroke-dashoffset: 0; }
}

@keyframes strokeKick {
  100% { stroke-dashoffset: 0; }
}

@keyframes fillGreen {
  100% { box-shadow: inset 0px 0px 0px 40px #10b981; }
}

@keyframes scaleCheckmark {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

.success-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--ink);
}

.success-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 1rem;
}

/* responsive modal styles */
@media (max-width: 768px) {
  .modal-body-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-image-pane {
    height: 250px;
  }
  
  .modal-info-pane {
    padding: 2rem 1.5rem;
  }
  
  #recruit-form-container {
    padding: 2rem 1.5rem;
  }
  
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Slide Video Background Styles */
.slide-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.slide-video-iframe {
  width: 100vw;
  height: 56.25vw; /* 16:9 ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 1.77 * 100vh */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none; /* prevent user interaction with Facebook controls */
  opacity: 0.55; /* darken video slightly for text readability */
}

/* Fallback image sits behind but shows if iframe fails */
.video-fallback-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Responsive layout stabilization */
section {
  display: block;
  min-height: 0;
  padding: clamp(4rem, 7vw, 6.25rem) 0;
}

section > .max-w-container-max,
.contact-hub-shell,
footer > .max-w-container-max {
  width: min(100%, 1200px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  text-align: center;
} /* UPDATED: 35 - Footer legal cleanup and copyright update */

.footer-copyright {
  margin: 0 auto;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.px-gutter-desktop {
  padding-right: clamp(1.25rem, 4vw, 3rem) !important;
  padding-left: clamp(1.25rem, 4vw, 3rem) !important;
}

.text-headline-section {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1.15 !important;
}

.text-headline-hero {
  font-size: clamp(2.6rem, 6vw, 4.5rem) !important;
  line-height: 1.08 !important;
}

#ai-bot-trigger {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 58px;
  padding: 0.65rem 1.1rem 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 14px 34px rgba(var(--brand-red-rgb), 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease;
} /* UPDATED: 33 - AI ceramic assistant bot */

#ai-bot-trigger:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(var(--brand-red-rgb), 0.38);
}

#ai-bot-trigger svg {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

#ai-bot-trigger span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

#ai-bot-trigger strong {
  font-size: 0.88rem;
}

#ai-bot-trigger small {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
}

#ai-bot-panel {
  position: fixed;
  right: 1.5rem;
  bottom: 6rem;
  z-index: 1001;
  display: flex;
  width: min(92vw, 380px);
  max-height: 620px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(var(--brand-red-rgb), 0.18);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(8, 9, 13, 0.22);
} /* UPDATED: 33 - AI ceramic assistant bot */

#ai-bot-panel.hidden {
  display: none;
}

.bot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--brand-red);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#bot-close {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: transparent;
  color: #fff;
}

.bot-messages {
  display: flex;
  min-height: 230px;
  max-height: 360px;
  flex-direction: column;
  gap: 0.65rem;
  overflow-y: auto;
  padding: 1rem;
  background: #fcf8fa;
}

.bot-msg {
  max-width: 88%;
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.55;
}

.bot-msg--user {
  align-self: flex-end;
  background: var(--brand-red);
  color: #fff;
}

.bot-msg--bot {
  align-self: flex-start;
  border: 1px solid rgba(var(--brand-red-rgb), 0.12);
  background: #fff;
}

.bot-input-row {
  display: flex;
  gap: 0.65rem;
  padding: 0.9rem;
  border-top: 1px solid rgba(17,17,17,0.08);
  background: #fff;
}

#bot-input {
  min-width: 0;
  flex: 1;
  border: 0;
  border-bottom: 2px solid var(--brand-red);
  background: transparent;
  color: var(--ink);
}

#bot-send {
  border: 2px solid var(--brand-red);
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  padding: 0.75rem 1rem;
  font-weight: 800;
}

*, *::before, *::after {
  cursor: none !important;
} /* UPDATED: 39 */

#custom-cursor {
  width: 26px;
  height: 26px;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(0, 0);
  transition: width 0.16s ease, height 0.16s ease, opacity 0.15s ease, filter 0.16s ease, transform 0.1s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 32 32'%3E%3Cpath d='M5 3 L5 25 L11.2 18.6 L15.4 29 L18.5 27.7 L14.3 17.5 L23.5 17.5 Z' fill='%23CC0000' stroke='%23ffffff' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.24));
} /* UPDATED: 40 - Real mouse cursor style */

#custom-cursor.hovering {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 4px 8px rgba(204, 0, 0, 0.42));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 32 32'%3E%3Cpath d='M12 3.5 C12 2.4 12.9 1.5 14 1.5 C15.1 1.5 16 2.4 16 3.5 V15.2 L17 14.2 C17.8 13.4 19.1 13.4 19.9 14.2 L20.5 14.8 L21.1 14.2 C21.9 13.4 23.2 13.4 24 14.2 L24.6 14.8 L25.1 14.4 C26.3 13.4 28 14.2 28 15.8 V20 C28 25 24.7 29 19.5 29 H17.5 C14.8 29 12.8 27.9 11.2 25.8 L6.2 19.2 C5.5 18.3 5.6 17.1 6.4 16.3 C7.2 15.5 8.5 15.5 9.3 16.3 L12 19 Z' fill='%23CC0000' stroke='%23ffffff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M16 15.2 V20.8' stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' opacity='.75'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

#custom-cursor.clicking {
  width: 28px;
  height: 28px;
  transform: translate(1px, 1px) scale(0.94);
  filter: drop-shadow(0 3px 8px rgba(153, 0, 0, 0.55));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 32 32'%3E%3Cpath d='M12 3.5 C12 2.4 12.9 1.5 14 1.5 C15.1 1.5 16 2.4 16 3.5 V15.2 L17 14.2 C17.8 13.4 19.1 13.4 19.9 14.2 L20.5 14.8 L21.1 14.2 C21.9 13.4 23.2 13.4 24 14.2 L24.6 14.8 L25.1 14.4 C26.3 13.4 28 14.2 28 15.8 V20 C28 25 24.7 29 19.5 29 H17.5 C14.8 29 12.8 27.9 11.2 25.8 L6.2 19.2 C5.5 18.3 5.6 17.1 6.4 16.3 C7.2 15.5 8.5 15.5 9.3 16.3 L12 19 Z' fill='%23990000' stroke='%23ffffff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M16 15.2 V20.8' stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' opacity='.75'/%3E%3C/svg%3E");
}

@media (hover: none) {
  *, *::before, *::after {
    cursor: auto !important;
  }

  #custom-cursor {
    display: none !important;
  }
}

@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .btn-nav-cta {
    display: none !important;
  }

  .contact-hub-layout {
    grid-template-columns: 1fr;
  }

  .request-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  section {
    padding-block: 4rem;
  }

  .header-container {
    padding-inline: 1rem;
  }

  .video-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-details-card,
  .adaptive-form-card {
    padding: 1.5rem;
  }

  footer .grid {
    gap: 2.5rem;
  }
}

@media (max-width: 560px) {
  #site-header .logo-title {
    font-size: 1rem;
  }

  #site-header .brand-mark {
    width: 38px;
    height: 38px;
  }

  .language-switcher:not(.language-switcher-mobile) {
    display: none;
  }

  .video-card-grid,
  .request-type-grid,
  .adaptive-form-grid,
  .adaptive-fields {
    grid-template-columns: 1fr;
  }

  .request-type-card,
  .request-type-card:last-child {
    min-height: 106px;
    grid-column: auto;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .adaptive-form-header {
    align-items: flex-start;
  }

  .whatsapp-assistance {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 9px;
  }

  .whatsapp-assistance svg {
    width: 36px;
    height: 36px;
  }

  .whatsapp-assistance span {
    display: none;
  }
}

/* Cinematic tile hero */
.cinematic-hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  padding-top: 80px;
  background:
    radial-gradient(circle at 75% 42%, rgba(237, 28, 36, 0.32), transparent 24%),
    radial-gradient(circle at 15% 20%, rgba(237, 28, 36, 0.13), transparent 30%),
    linear-gradient(135deg, #08090d 0%, #141722 56%, #09090d 100%);
  color: #fff;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.hero-red-orbit {
  position: absolute;
  border: 1px solid rgba(var(--brand-red-rgb), 0.35);
  border-radius: 50%;
  filter: drop-shadow(0 0 20px rgba(var(--brand-red-rgb), 0.25));
  animation: heroOrbit 12s linear infinite;
}

.hero-red-orbit-one { width: 620px; height: 620px; top: 90px; right: -120px; }
.hero-red-orbit-two { width: 430px; height: 430px; top: 190px; right: -25px; animation-direction: reverse; animation-duration: 9s; }

.cinematic-hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 680px;
  padding-top: clamp(4rem, 8vh, 7rem);
  padding-bottom: 3rem;
}

.cinematic-copy { max-width: 690px; }
.hero-kicker { margin-bottom: 1.2rem; color: #ff4a50; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.cinematic-copy h1 { color: #fff; font-size: clamp(3.4rem, 6.5vw, 6.4rem); font-weight: 800; line-height: 0.96; letter-spacing: -0.065em; text-transform: uppercase; }
.cinematic-copy h1 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.72); text-shadow: 0 0 30px rgba(237,28,36,.18); }
.hero-description { max-width: 650px; margin: 2rem 0; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-button-ghost { border-color: rgba(255,255,255,.32); background: transparent; }

.tile-showcase {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
  perspective: 1200px;
}

.showcase-word { position: absolute; z-index: 1; color: rgba(255,255,255,.9); font-family: 'Sora', sans-serif; font-size: clamp(2.5rem, 5vw, 5.2rem); font-weight: 800; line-height: .85; letter-spacing: -.07em; }
.showcase-word-top { top: 13%; left: -4%; }
.showcase-word-bottom { right: -3%; bottom: 13%; color: var(--brand-red); }
.tile-energy-ring { position: absolute; width: 430px; height: 430px; border: 2px solid rgba(237,28,36,.28); border-radius: 50%; box-shadow: inset 0 0 80px rgba(237,28,36,.12), 0 0 80px rgba(237,28,36,.12); animation: heroPulse 3.8s ease-in-out infinite; }
.tile-plinth { position: absolute; bottom: 13%; width: 340px; height: 46px; border-radius: 50%; background: radial-gradient(ellipse, rgba(237,28,36,.62), rgba(237,28,36,.06) 62%, transparent 72%); filter: blur(5px); }
.hero-tile-slab { position: relative; z-index: 2; width: min(31vw, 370px); aspect-ratio: 1; padding: 10px; border: 1px solid rgba(255,255,255,.45); background: #e7d8c3; box-shadow: -18px 20px 0 #9b8a74, -38px 48px 80px rgba(0,0,0,.56), 0 0 55px rgba(237,28,36,.2); transform: rotateY(-13deg) rotateX(5deg) rotateZ(-3deg); animation: tileFloat 5.5s ease-in-out infinite; }
.hero-tile-slab img { width: 100%; height: 100%; object-fit: cover; }
.hero-design-frame { position: relative; z-index: 2; display: grid; width: min(35vw,430px); aspect-ratio: .82; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); gap: 7px; padding: 8px; border: 1px solid rgba(255,255,255,.38); border-radius: 20px; background: rgba(255,255,255,.08); box-shadow: -18px 22px 0 rgba(115,10,17,.55), -38px 48px 80px rgba(0,0,0,.56), 0 0 55px rgba(237,28,36,.28); transform: rotateY(-7deg) rotateX(2deg) rotateZ(-1deg); animation: designFrameFloat 6s ease-in-out infinite; backdrop-filter: blur(12px); }
.hero-design-frame::after { content: ""; position: absolute; inset: 8px; z-index: 3; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; pointer-events: none; }
.hero-design-frame figure { position: relative; overflow: hidden; min-width: 0; min-height: 0; border-radius: 10px; background: #1b1d24; }
.hero-design-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04); transition: transform 1s cubic-bezier(.16,1,.3,1), filter .4s ease; }
.hero-design-frame figure:nth-child(1) img { object-position: 52% 50%; }
.hero-design-frame figure:nth-child(2) img { object-position: 50% 60%; }
.hero-design-frame figure:nth-child(3) img { object-position: 50% 55%; }
.hero-design-frame figure:nth-child(4) img { object-position: 50% 45%; }
.hero-design-frame:hover img { transform: scale(1.045); filter: saturate(1) contrast(1.03); }
.tile-caption { position: absolute; z-index: 4; right: 0; bottom: 7%; display: flex; min-width: 220px; flex-direction: column; padding: 1rem 1.2rem; border-left: 3px solid var(--brand-red); background: rgba(8,9,13,.72); backdrop-filter: blur(12px); }
.tile-caption span { font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 800; letter-spacing: .16em; }
.tile-caption small { margin-top: .3rem; color: rgba(255,255,255,.56); font-size: .68rem; }
.hero-stats-bar { position: relative; z-index: 5; border-top: 1px solid rgba(255,255,255,.1); background: rgba(12,14,20,.78); backdrop-filter: blur(16px); }

.hero-video-showcase { min-height: 560px; } /* UPDATED: 23 - Old hero image slider removed */
.hero-video-wrapper { position: relative; z-index: 2; width: min(38vw, 460px); aspect-ratio: .82; height: auto; overflow: hidden; border: 1px solid rgba(255,255,255,.38); border-radius: 24px; background: #1a1a1a; box-shadow: -18px 22px 0 rgba(115,10,17,.55), -38px 48px 80px rgba(0,0,0,.56), 0 0 55px rgba(237,28,36,.28); transform: rotateY(-7deg) rotateX(2deg) rotateZ(-1deg); animation: designFrameFloat 6s ease-in-out infinite; } /* UPDATED: 30 - No old image flash, video preloads immediately */
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; } /* UPDATED: 27 - Hero frame dimensions preserved, video fills cadrage */
.collections-hero-showcase { min-height: 520px; } /* UPDATED: 17 - Hero animation reused on Collections */
.collections-hero-showcase .hero-design-frame { width: min(32vw, 410px); }
.shared-hero-design-frame { animation: designFrameFloat 6s ease-in-out infinite; }

@keyframes tileFloat { 0%,100% { transform: rotateY(-13deg) rotateX(5deg) rotateZ(-3deg) translateY(0); } 50% { transform: rotateY(-8deg) rotateX(2deg) rotateZ(1deg) translateY(-18px); } }
@keyframes designFrameFloat { 0%,100% { transform: rotateY(-7deg) rotateX(2deg) rotateZ(-1deg) translateY(0); } 50% { transform: rotateY(-3deg) rotateX(0) rotateZ(1deg) translateY(-14px); } }
@keyframes heroPulse { 0%,100% { transform: scale(.96); opacity: .65; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes heroOrbit { to { transform: rotate(360deg); } }

/* Editorial tile guide */
.tile-guide { background: #fff; }
.tile-guide-heading { display: grid; grid-template-columns: 1fr minmax(280px, .65fr); gap: 3rem; align-items: end; margin-bottom: 3rem; }
.tile-guide-heading > p { color: var(--text-secondary); line-height: 1.8; }
.tile-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.tile-guide-grid article { position: relative; min-height: 310px; overflow: hidden; padding: 2rem; border: 1px solid rgba(17,17,17,.08); border-radius: 18px; background: linear-gradient(145deg,#fafafa,#f1f1f3); }
.tile-guide-grid article > span { position: absolute; top: 1rem; right: 1.2rem; color: rgba(237,28,36,.12); font-family: 'Sora',sans-serif; font-size: 4.5rem; font-weight: 800; line-height: 1; }
.tile-guide-grid .material-symbols-outlined { position: relative; display: grid; width: 54px; height: 54px; margin-bottom: 4rem; place-items: center; border-radius: 14px; background: var(--brand-red); color: #fff; }
.tile-guide-grid h3 { margin-bottom: .8rem; font-size: 1.25rem; }
.tile-guide-grid p { color: var(--text-secondary); line-height: 1.75; }
.tile-guide-cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: 1.2rem; padding: 1.4rem 1.6rem; border-radius: 16px; background: #151a29; color: rgba(255,255,255,.7); }
.tile-guide-cta strong { color: #fff; }

/* Distributor request */
.distributor-section { background: linear-gradient(135deg,#f5f0ea,#fff); }
.distributor-layout { display: grid; grid-template-columns: minmax(280px,.75fr) minmax(0,1.25fr); gap: clamp(2rem,5vw,5rem); align-items: start; }
.distributor-copy { position: sticky; top: 120px; }
.distributor-copy h2 { margin-bottom: 1.4rem; }
.distributor-copy > p { color: var(--text-secondary); line-height: 1.8; }
.distributor-benefits { display: grid; gap: 1rem; margin-top: 2rem; }
.distributor-benefits span { display: flex; align-items: center; gap: .8rem; color: var(--text-secondary); }
.distributor-benefits i { color: var(--brand-red); font-style: normal; }
.distributor-form { padding: clamp(1.4rem,4vw,2.5rem); border: 1px solid rgba(17,17,17,.08); border-radius: 20px; background: #fff; box-shadow: 0 24px 60px rgba(17,17,17,.09); }
.distributor-form-heading { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(17,17,17,.08); }
.distributor-form-heading > .material-symbols-outlined { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; border-radius: 14px; background: rgba(237,28,36,.1); color: var(--brand-red); }
.distributor-form-heading h3 { font-size: 1.3rem; }
.distributor-form-heading p { color: var(--text-muted); font-size: .75rem; }

/* Premium homepage navigation and dedicated pages */
.homepage-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: #fff;
}

.homepage-section.alt {
  background: linear-gradient(180deg, #fff, #f7f4f2);
}

.section-intro-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-intro-row p:not(.section-tag) {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.production-proof-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(var(--brand-red-rgb), 0.14), transparent 28rem),
    linear-gradient(180deg, #fff, #f7f4f2);
}

.production-proof-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 0.9fr) minmax(260px, 0.65fr);
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.production-proof-heading h2 {
  max-width: 680px;
  font-size: clamp(2.05rem, 4vw, 3.55rem);
  line-height: 1.02;
}

.production-proof-logo {
  width: clamp(76px, 9vw, 116px);
  height: clamp(76px, 9vw, 116px);
  object-fit: contain;
  padding: 0.8rem;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(17,17,17,0.1);
}

.production-proof-heading p:not(.section-tag) {
  color: var(--text-secondary);
  line-height: 1.8;
}

.production-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.production-proof-card {
  position: relative;
  min-height: 280px;
  padding: clamp(1.5rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(17,17,17,0.08);
  display: flex;
  flex-direction: column;
}

.production-proof-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(var(--brand-red-rgb), 0.08);
}

.production-proof-card .material-symbols-outlined {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 1.4rem;
  place-items: center;
  border-radius: 18px;
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 14px 30px rgba(var(--brand-red-rgb), 0.26);
}

.production-proof-card strong {
  display: block;
  color: var(--text-primary);
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.production-proof-card p {
  margin: 1rem 0 1.3rem;
  color: var(--text-secondary);
  line-height: 1.75;
  min-height: 5.25rem;
}

.production-proof-card small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 36px;
  margin-top: auto;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(var(--brand-red-rgb), 0.09);
  color: var(--brand-red);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.premium-nav-grid,
.collection-preview-grid,
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.premium-nav-card,
.collection-preview-card,
.directory-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17,17,17,0.08);
  transition: var(--transition-fast);
}

.premium-nav-card:hover,
.collection-preview-card:hover,
.directory-card:hover {
  border-color: rgba(var(--brand-red-rgb), 0.32);
  box-shadow: 0 26px 70px rgba(17,17,17,0.14);
  transform: translateY(-7px);
}

.premium-nav-card {
  min-height: 310px;
  padding: clamp(1.3rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
}

.premium-nav-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 1.4rem;
  place-items: center;
  border-radius: 18px;
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 14px 30px rgba(var(--brand-red-rgb), 0.26);
}

.premium-nav-card h3,
.collection-preview-card h3,
.directory-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.premium-nav-card p,
.collection-preview-card p,
.directory-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.premium-nav-card .site-button,
.collection-preview-card .product-card-btn,
.directory-card .product-card-btn {
  margin-top: auto;
}

.collection-preview-card figure {
  height: 235px;
  overflow: hidden;
  background: #151a29;
}

.collection-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.collection-preview-card:hover img {
  transform: scale(1.06);
}

.collection-preview-card-body {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(80px + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(circle at 20% 18%, rgba(var(--brand-red-rgb), 0.22), transparent 28rem),
    linear-gradient(135deg, #10131d, #1a1f2e);
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16,19,29,0.96) 0%, rgba(16,19,29,0.78) 42%, rgba(16,19,29,0.38) 100%),
    url("../images/hero-design/design-04.jpg") center right / cover no-repeat;
  transform: scale(1.08);
  animation: pageHeroDrift 16s ease-in-out infinite alternate;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: clamp(1.5rem, 8vw, 8rem);
  top: 50%;
  z-index: -1;
  width: clamp(220px, 30vw, 430px);
  height: clamp(220px, 30vw, 430px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(var(--brand-red-rgb), 0.28), transparent 58%),
    conic-gradient(from 40deg, transparent, rgba(255,255,255,0.24), transparent, rgba(var(--brand-red-rgb),0.35), transparent);
  filter: blur(0.2px);
  transform: translateY(-50%);
  animation: pageHeroOrbit 12s linear infinite;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 880px;
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.page-hero p {
  max-width: 760px;
  margin-top: 1.4rem;
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.8;
}

.collections-page-hero {
  min-height: clamp(620px, 82vh, 820px);
  display: flex;
  align-items: center;
  padding-bottom: clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 82% 46%, rgba(var(--brand-red-rgb), 0.32), transparent 25rem),
    linear-gradient(135deg, #10131d, #1a1f2e);
}

.collections-page-hero::before {
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,0.07), transparent 18rem),
    linear-gradient(135deg, rgba(16,19,29,0.98), rgba(26,31,46,0.98));
  animation: none;
  transform: none;
}

.collections-page-hero::after {
  right: clamp(2rem, 8vw, 8rem);
  opacity: 0.62;
}

.actualites-page-hero {
  min-height: clamp(620px, 82vh, 820px);
  display: flex;
  align-items: center;
  padding-bottom: clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 80% 44%, rgba(var(--brand-red-rgb), 0.3), transparent 24rem),
    linear-gradient(135deg, #10131d, #1a1f2e);
}

.actualites-page-hero::before {
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,0.06), transparent 18rem),
    linear-gradient(135deg, rgba(16,19,29,0.98), rgba(26,31,46,0.98));
  animation: none;
  transform: none;
}

.actualites-page-hero::after {
  right: clamp(2rem, 8vw, 8rem);
  opacity: 0.58;
}

.collections-page-hero .collections-hero-inner,
.actualites-page-hero .collections-hero-inner {
  transform: translateY(-24px);
} /* UPDATED: 9 */

.contact-page-hero {
  min-height: clamp(560px, 76vh, 760px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 78% 42%, rgba(var(--brand-red-rgb), 0.28), transparent 24rem),
    linear-gradient(135deg, #10131d, #1a1f2e);
} /* UPDATED: 9 */

.contact-page-hero::before {
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,0.06), transparent 18rem),
    linear-gradient(135deg, rgba(16,19,29,0.98), rgba(26,31,46,0.98));
} /* UPDATED: 9 */

.contact-page-hero::after {
  right: clamp(2rem, 8vw, 8rem);
  opacity: 0.58;
} /* UPDATED: 9 */

.contact-logo-motion-card {
  position: relative;
  justify-self: end;
  display: grid;
  width: min(34vw, 390px);
  min-width: 290px;
  aspect-ratio: 1 / 1;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,0.18), transparent 13rem),
    linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  box-shadow:
    -18px 22px 0 rgba(115,10,17,0.48),
    -42px 54px 90px rgba(0,0,0,0.5),
    0 0 60px rgba(var(--brand-red-rgb), 0.3);
  transform: perspective(900px) rotateY(-8deg) rotateX(2deg) rotateZ(-1deg);
  animation: collectionsShortFloat 6s ease-in-out infinite;
} /* UPDATED: 9 */

.contact-logo-motion-card img {
  width: min(78%, 270px);
  height: auto;
  filter: drop-shadow(0 24px 36px rgba(0,0,0,0.28));
} /* UPDATED: 9 */

.collections-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(290px, 0.55fr);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: center;
  width: 100%;
}

.collections-hero-copy {
  max-width: 820px;
}

.collections-short-card {
  position: relative;
  justify-self: end;
  width: min(34vw, 390px);
  min-width: 290px;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 32px;
  background: rgba(255,255,255,0.08);
  box-shadow:
    -18px 22px 0 rgba(115,10,17,0.48),
    -42px 54px 90px rgba(0,0,0,0.5),
    0 0 60px rgba(var(--brand-red-rgb), 0.3);
  transform: perspective(900px) rotateY(-8deg) rotateX(2deg) rotateZ(-1deg);
  animation: collectionsShortFloat 6s ease-in-out infinite, heroImageBorderGlow 2.8s ease-in-out infinite;
  will-change: transform, box-shadow, border-color;
} /* UPDATED: 9 */

.collections-page-hero .collections-short-card,
.actualites-page-hero .collections-short-card {
  border-color: rgba(var(--brand-red-rgb), 0.72);
}

.actualites-short-card {
  background:
    radial-gradient(circle at 50% 20%, rgba(var(--brand-red-rgb), 0.18), transparent 16rem),
    linear-gradient(145deg, #11151f, #1a1f2e);
  box-shadow:
    -18px 22px 0 rgba(115,10,17,0.48),
    -42px 54px 90px rgba(0,0,0,0.52),
    0 0 70px rgba(var(--brand-red-rgb), 0.32);
}

.hero-short-video-frame {
  position: absolute;
  inset: 0;
  z-index: 7;
  overflow: hidden;
  background: #11151f;
}

.hero-short-video-frame video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.social-feed-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(var(--brand-red-rgb), 0.08), transparent 20rem),
    var(--bg-primary);
} /* UPDATED: 6 */

.social-feed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
} /* UPDATED: 6 */

.social-feed-card {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.1);
} /* UPDATED: 6 */

.social-feed-card-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 1.45rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
} /* UPDATED: 6 */

.social-feed-card-head h3 {
  color: var(--ink);
  font-size: 1.15rem;
}

.social-feed-card-head p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.social-feed-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 14px;
  background: rgba(var(--brand-red-rgb), 0.1);
  color: var(--brand-red);
} /* UPDATED: 6 */

.social-feed-icon svg {
  width: 20px;
  height: 20px;
}

.social-embed-frame {
  min-height: 620px;
  padding: 1rem;
  background: linear-gradient(180deg, #fff, #f8f8f9);
} /* UPDATED: 6 */

.social-embed-frame iframe {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  background: #fff;
} /* UPDATED: 6 */

.social-fallback-card {
  min-height: 420px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 10%, rgba(var(--brand-red-rgb), 0.12), transparent 14rem),
    #fff;
} /* UPDATED: 78 - Stable social card instead of blocked iframe */

.social-fallback-icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 24px;
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 22px 48px rgba(var(--brand-red-rgb), 0.22);
}

.social-fallback-icon svg {
  width: 32px;
  height: 32px;
}

.social-fallback-card h4 {
  max-width: 430px;
  color: var(--ink);
  font: 800 1.35rem/1.25 var(--font-heading);
}

.social-fallback-card p {
  max-width: 460px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-hero .hero-kicker,
.section-tag,
#about .font-label-eyebrow,
.products-legacy .font-label-eyebrow,
.homepage-cta .hero-kicker,
.contact-hub-heading > .font-label-eyebrow,
.video-news-section .font-label-eyebrow,
.social-feed-section .font-label-eyebrow {
  display: none;
} /* UPDATED: 10 */

.collections-short-card::before,
.collections-short-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.collections-short-card::before {
  inset: 10px;
  z-index: 4;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 23px;
}

.pinterest-only-card::before,
.pinterest-only-card::after {
  display: none;
}

.collections-short-card::after {
  left: 12%;
  right: 12%;
  top: 0;
  z-index: 5;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: rgba(255,255,255,0.72);
}

.short-card-media {
  position: absolute;
  inset: 0;
}

.short-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  animation: collectionsShortSlide 12s ease-in-out infinite;
}

.short-card-media img:nth-child(2) {
  animation-delay: 4s;
}

.short-card-media img:nth-child(3) {
  animation-delay: 8s;
}

.short-card-overlay {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  top: 1.1rem;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
}

.short-card-overlay small {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.short-card-overlay strong {
  margin-left: auto;
  font-size: 0.82rem;
}

.short-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brand-red);
  box-shadow: 0 0 0 6px rgba(var(--brand-red-rgb), 0.22);
}

.short-card-caption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  background: rgba(10,12,18,0.62);
  color: #fff;
  backdrop-filter: blur(14px);
}

.short-card-caption span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-red);
}

.short-card-caption p {
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

@keyframes collectionsShortFloat {
  0%, 100% { transform: perspective(900px) rotateY(-8deg) rotateX(2deg) rotateZ(-1deg) translateY(0); }
  50% { transform: perspective(900px) rotateY(-5deg) rotateX(3deg) rotateZ(1deg) translateY(-18px); }
}

@keyframes heroImageBorderGlow {
  0%, 100% {
    border-color: rgba(var(--brand-red-rgb), 0.42);
    box-shadow:
      -18px 22px 0 rgba(115,10,17,0.48),
      -42px 54px 90px rgba(0,0,0,0.5),
      0 0 34px rgba(var(--brand-red-rgb), 0.22);
  }
  50% {
    border-color: rgba(var(--brand-red-rgb), 0.95);
    box-shadow:
      -18px 22px 0 rgba(115,10,17,0.55),
      -42px 54px 90px rgba(0,0,0,0.52),
      0 0 72px rgba(var(--brand-red-rgb), 0.52);
  }
} /* UPDATED: 9 */

@keyframes collectionsShortSlide {
  0% { opacity: 0; transform: scale(1.08) translateX(0); }
  8%, 30% { opacity: 1; transform: scale(1.16) translateX(-2%); }
  38%, 100% { opacity: 0; transform: scale(1.2) translateX(-5%); }
}

@keyframes pageHeroDrift {
  from { transform: scale(1.08) translate3d(0,0,0); }
  to { transform: scale(1.14) translate3d(-2.5%, 1.5%, 0); }
}

@keyframes pageHeroOrbit {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

.directory-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 1rem;
  margin-bottom: 1.6rem;
  padding: 1rem;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(17,17,17,0.07);
}

.directory-search,
.premium-select {
  min-height: 50px;
  width: 100%;
  border: 1px solid rgba(var(--brand-red-rgb), 0.22);
  border-radius: 14px;
  background: #151a29;
  color: #fff;
  font-family: 'Ubuntu', 'Manrope', sans-serif;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.directory-search {
  padding: 0 1rem;
}

.directory-search::placeholder {
  color: rgba(255,255,255,0.62);
}

.premium-select {
  padding: 0 2.4rem 0 0.95rem;
  appearance: none;
  background-color: var(--brand-red);
  background-image:
    linear-gradient(45deg, transparent 50%, #fff 50%),
    linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 12px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.premium-select option {
  color: var(--text-primary);
  background: #fff;
}

select.modern-input {
  appearance: none;
  border-color: rgba(var(--brand-red-rgb), 0.38);
  background-color: #151a29;
  background-image:
    linear-gradient(45deg, transparent 50%, #fff 50%),
    linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 12px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  color: #fff;
  font-family: 'Ubuntu', 'Manrope', sans-serif;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(17,17,17,0.08);
}

select.modern-input option {
  background: #fff;
  color: var(--text-primary);
}

select.modern-input:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(var(--brand-red-rgb), 0.16);
}

form select.modern-input {
  appearance: none;
  -webkit-appearance: none;
  min-height: 50px;
  padding: 0.85rem 2.35rem 0.85rem 0;
  border: 0;
  border-bottom: 2px solid var(--brand-red);
  border-radius: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ED1C24' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.45rem center;
  background-size: 18px 18px;
  color: var(--ink);
  font: inherit;
  box-shadow: none;
} /* UPDATED: 12 */

form select.modern-input:focus {
  border-bottom-color: var(--brand-red-hover);
  box-shadow: 0 8px 18px rgba(var(--brand-red-rgb), 0.08);
} /* UPDATED: 12 */

.native-file-input {
  display: none;
} /* UPDATED: 11 */

.file-upload-control {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
} /* UPDATED: 11 */

.file-name-display {
  color: var(--text-secondary);
  font-size: 0.86rem;
} /* UPDATED: 11 */

.directory-card {
  padding: 1.4rem;
}

.directory-card .material-symbols-outlined {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 15px;
  background: rgba(var(--brand-red-rgb), 0.1);
  color: var(--brand-red);
}

.directory-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 1.2rem;
}

.directory-card-meta span {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(var(--brand-red-rgb), 0.08);
  color: var(--brand-red);
  font-size: 0.72rem;
  font-weight: 800;
}

.homepage-cta {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: #151a29;
  color: #fff;
}

.homepage-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  box-shadow: 0 30px 80px rgba(0,0,0,0.26);
}

.homepage-cta-card h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.homepage-cta-card p {
  color: rgba(255,255,255,0.68);
}

.homepage-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.directory-empty-state {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed rgba(var(--brand-red-rgb), 0.35);
  border-radius: 16px;
  background: rgba(var(--brand-red-rgb), 0.05);
  color: var(--brand-red);
  font-weight: 800;
  text-align: center;
}

.directory-empty-state.active {
  display: block;
}

@media (max-width: 1000px) {
  .cinematic-hero-inner { grid-template-columns: 1fr; padding-top: 5.5rem; }
  .cinematic-copy { max-width: 760px; }
  .tile-showcase { min-height: 500px; }
  .hero-tile-slab, .hero-design-frame, .hero-video-wrapper { width: min(58vw,390px); }
  .collections-hero-inner { grid-template-columns: 1fr; }
  .collections-short-card,
  .contact-logo-motion-card { justify-self: start; width: min(70vw, 360px); } /* UPDATED: 9 */
  .production-proof-heading,
  .section-intro-row,
  .homepage-cta-card,
  .products-hero-panel,
  .product-client-actions,
  .tile-guide-heading, .distributor-layout { grid-template-columns: 1fr; }
  .production-proof-grid,
  .premium-nav-grid,
  .collection-preview-grid,
  .directory-grid,
  .social-feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* UPDATED: 6 */
  .homepage-cta-actions { justify-content: flex-start; }
  .product-category-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .professional-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .distributor-copy { position: static; }
}

@media (max-width: 700px) {
  .cinematic-hero { min-height: 0; padding-top: 70px; }
  .cinematic-hero-inner { min-height: 0; padding-top: 4.5rem; }
  .cinematic-copy h1 { font-size: clamp(2.7rem,13vw,4.2rem); }
  .tile-showcase { min-height: 410px; }
  .hero-tile-slab, .hero-design-frame, .hero-video-wrapper { width: min(78vw,330px); }
  .tile-energy-ring { width: 320px; height: 320px; }
  .showcase-word { font-size: clamp(2.1rem,12vw,3.5rem); }
  .tile-caption { right: 4%; bottom: 2%; min-width: 190px; }
  .tile-guide-grid { grid-template-columns: 1fr; }
  .tile-guide-grid article { min-height: 260px; }
  .tile-guide-cta { align-items: flex-start; flex-direction: column; }
  .product-category-stage,
  .product-filter-bar,
  .professional-products-grid,
  .production-proof-grid,
  .premium-nav-grid,
  .collection-preview-grid,
  .directory-grid,
  .social-feed-grid,
  .directory-toolbar {
    grid-template-columns: 1fr;
  } /* UPDATED: 6 */
  .contact-logo-motion-card { width: min(82vw, 330px); } /* UPDATED: 9 */
  .products-hero-panel {
    padding: 1.1rem;
    border-radius: 18px;
  }
  .product-category-card {
    min-height: 118px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-red-orbit, .tile-energy-ring, .hero-tile-slab, .hero-design-frame, .hero-video-wrapper, .page-hero::before, .page-hero::after, .collections-short-card, .contact-logo-motion-card, .short-card-media img { animation: none; } /* UPDATED: 9 */
}

/* UPDATED: 42 - Catalogue PDF library */
.catalogue-library-section { background: var(--bg-secondary); }
.catalogue-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px) auto; gap: 1rem; align-items: end; margin: 2rem 0; }
.catalogue-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.catalogue-card { position: relative; overflow: hidden; border-radius: 28px; background: #fff; border: 1px solid rgba(17, 17, 17, 0.08); box-shadow: 0 22px 60px rgba(17, 17, 17, 0.08); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.catalogue-card:hover { transform: translateY(-6px); border-color: rgba(var(--brand-red-rgb), .32); box-shadow: 0 28px 70px rgba(var(--brand-red-rgb), 0.12); }
.catalogue-check { position: absolute; top: 1rem; left: 1rem; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: 0 10px 24px rgba(17,17,17,.12); }
.catalogue-check input { accent-color: var(--brand-red); }
.catalogue-cover { height: 210px; display: grid; place-items: center; background: linear-gradient(135deg, #f7f7f7, #fff); padding: 1.2rem; }
.catalogue-cover img { width: 100%; height: 100%; object-fit: contain; }
.catalogue-card-body { padding: 1.35rem; }
.catalogue-format { color: var(--brand-red); font-family: 'Sora', sans-serif; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.catalogue-card h3 { margin: .35rem 0 .5rem; font-family: 'Sora', sans-serif; font-size: 1.1rem; line-height: 1.25; }
.catalogue-card p { color: var(--text-secondary); min-height: 3rem; }
.catalogue-actions { display: grid; gap: .75rem; margin-top: 1.1rem; }
.catalogue-viewer-modal[hidden] { display: none; }
.catalogue-viewer-modal { position: fixed; inset: 0; z-index: 9998; display: grid; place-items: center; padding: 2rem; background: rgba(10, 10, 12, .72); backdrop-filter: blur(12px); }
.catalogue-viewer-panel { width: min(1080px, 96vw); height: min(820px, 90vh); overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 35px 110px rgba(0,0,0,.32); }
.catalogue-viewer-head { height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 1.25rem 0 1.6rem; border-bottom: 1px solid rgba(17,17,17,.08); }
.catalogue-viewer-head h3 { font-family: 'Sora', sans-serif; font-size: 1rem; }
.catalogue-viewer-close { width: 42px; height: 42px; border-radius: 999px; background: var(--brand-red); color: #fff; font-size: 1.5rem; line-height: 1; }
.catalogue-viewer-panel iframe { width: 100%; height: calc(100% - 70px); border: 0; }

/* UPDATED: 44 - Revendeurs map and list */
.distributeurs-section { background: var(--bg-primary); padding: clamp(4rem, 7vw, 7rem) 0; }
.distributeur-finder-layout { display: grid; grid-template-columns: minmax(320px, 420px) 1fr; gap: 1.4rem; align-items: stretch; margin: 2rem 0; }
.distributeur-panel, .revendeur-map, .professional-distributor-form { border-radius: 30px; background: rgba(255,255,255,.92); border: 1px solid rgba(17,17,17,.08); box-shadow: 0 24px 70px rgba(17,17,17,.08); }
.distributeur-panel { padding: 1.25rem; }
.directory-toolbar.compact { display: grid; gap: .85rem; }
.revendeur-list { display: grid; gap: .9rem; max-height: 560px; overflow: auto; padding-right: .25rem; margin-top: 1rem; }
.revendeur-card { padding: 1rem; border-radius: 22px; border: 1px solid rgba(17,17,17,.08); background: #fff; }
.revendeur-card h3 { font-family: 'Sora', sans-serif; font-size: 1rem; margin-bottom: .35rem; }
.revendeur-card p { display: flex; gap: .4rem; align-items: flex-start; color: var(--text-secondary); font-size: .92rem; margin-bottom: .5rem; }
.revendeur-card .material-symbols-outlined { color: var(--brand-red); font-size: 1.1rem; }
.revendeur-meta { margin: .8rem 0; color: var(--brand-red); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.revendeur-map { min-height: 620px; overflow: hidden; }
.professional-distributor-form { margin-top: 1.5rem; padding: clamp(1.4rem, 3vw, 2.2rem); }

/* UPDATED: 45 - Formulaire distributeur professionnel */
.file-field input[type="file"] { display: none; }
.file-field { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.selected-file-name { color: var(--text-secondary); font-size: .95rem; }

@media (max-width: 1100px) {
  .catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .distributeur-finder-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .catalogue-toolbar { grid-template-columns: 1fr; }
  .catalogue-grid { grid-template-columns: 1fr; }
  .revendeur-map { min-height: 430px; }
}

/* UPDATED: 46 - Ressources hero animation */
.ressources-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 92px 24px 78px;
  background: radial-gradient(circle at 20% 20%, rgba(var(--brand-red-rgb), .28), transparent 28%), linear-gradient(135deg, #111 0%, #2d0000 58%, #111 100%);
}
.ressources-hero-content { position: relative; z-index: 2; text-align: center; color: #fff; max-width: 880px; }
.ressources-hero-content .hero-kicker { color: rgba(255,255,255,.7); letter-spacing: .24em; text-transform: uppercase; font-weight: 800; }
.ressources-hero-content h1 { font-family: 'Sora', sans-serif; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; margin: .7rem 0 1rem; }
.ressources-hero-content p { color: rgba(255,255,255,.78); font-size: clamp(1rem, 2vw, 1.25rem); }
.hero-accent, .bloc-accent { color: var(--brand-red); }
.hero-nav-pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-nav-pills .pill { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.25); color: #fff; padding: 10px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; backdrop-filter: blur(8px); transition: background .2s, border-color .2s, transform .2s; }
.hero-nav-pills .pill:hover { background: var(--brand-red); border-color: var(--brand-red); transform: translateY(-2px); }
.hero-floating-icons { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
/* UPDATED: 61 - Hero decorative icons must never render stray text */
.hero-floating-icons *::before,
.hero-floating-icons *::after {
  content: none !important;
}

.hero-floating-icons > div {
  font-size: 0;
  line-height: 0;
}

.hero-floating-icons svg {
  display: block;
}
.float-icon { position: absolute; left: var(--x); top: var(--y); animation: floatUpDown 4s ease-in-out infinite; animation-delay: var(--delay); opacity: .2; }
.float-pdf svg { width: 48px; height: 48px; }
.float-pin svg { width: 32px; height: 42px; filter: drop-shadow(0 12px 24px rgba(0,0,0,.28)); }
@keyframes floatUpDown { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-18px) rotate(4deg); } }

/* UPDATED: 47 - Catalogues hub styles */
.catalogues-hub { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; margin: 40px 0; }
.qr-hub-card { background: #fff; border-radius: 24px; padding: 36px 28px; box-shadow: 0 22px 60px rgba(17,17,17,.08); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; border-top: 4px solid var(--brand-red); }
.qr-wrapper { padding: 12px; border: 2px solid rgba(var(--brand-red-rgb), .16); border-radius: 16px; background: #fafafa; }
.qr-wrapper img { display: block; border-radius: 8px; }
.qr-label { font-size: .9rem; color: var(--text-muted); font-weight: 700; margin: 0; }
.catalogues-categories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.catalogue-cat-card { background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 14px 38px rgba(17,17,17,.07); border-left: 4px solid var(--brand-red); transition: transform .2s, box-shadow .2s; }
.catalogue-cat-card:hover { transform: translateY(-3px); box-shadow: 0 20px 46px rgba(var(--brand-red-rgb), .12); }
.cat-card-icon { color: var(--brand-red); font-size: 2rem; display: block; margin-bottom: 10px; }
.catalogue-cat-card h4 { font-family: 'Sora', sans-serif; font-weight: 800; margin-bottom: 6px; font-size: 1rem; }
.catalogue-cat-card p { font-size: .9rem; color: var(--text-secondary); margin: 0; }
.catalogue-local-preview-heading { margin-top: 2rem; }

/* UPDATED: 49 - Search bar text color fix */
.distributeur-panel input,
.distributeur-panel select,
.catalogue-toolbar input,
.catalogue-toolbar select,
.directory-toolbar input,
.directory-toolbar select {
  color: #1a1a1a !important;
  background-color: #ffffff !important;
  caret-color: var(--brand-red);
}
.distributeur-panel input::placeholder,
.catalogue-toolbar input::placeholder,
.directory-toolbar input::placeholder { color: #777 !important; opacity: 1; }
.distributeur-panel select option,
.catalogue-toolbar select option,
.directory-toolbar select option { color: #1a1a1a; background: #fff; }

/* UPDATED: 48 - Leaflet red pins and active cards */
.map-red-pin svg { width: 32px; height: 42px; filter: drop-shadow(0 3px 7px rgba(0,0,0,.32)); }
.revendeur-card.active { border-color: rgba(var(--brand-red-rgb), .55); box-shadow: 0 16px 36px rgba(var(--brand-red-rgb), .12); }
.revendeur-popup strong { display: block; color: var(--brand-red); font-weight: 900; margin-bottom: .35rem; }
.revendeur-popup span { display: block; font-weight: 700; color: #222; }
.revendeur-popup p { margin: .35rem 0; color: #555; }
.revendeur-popup a { color: var(--brand-red); font-weight: 800; text-decoration: none; }
.anchor-offset { position: relative; top: -110px; display: block; visibility: hidden; }

/* UPDATED: 47 - Contact catalogue redirect */
.catalogue-redirect-block { display: flex; gap: 1rem; align-items: flex-start; margin: 1.2rem 0; padding: 1.4rem; border-radius: 22px; background: #fff; border-left: 4px solid var(--brand-red); box-shadow: 0 16px 42px rgba(17,17,17,.08); }
.catalogue-redirect-icon { color: var(--brand-red); font-size: 2rem; }
.catalogue-redirect-block h3 { font-family: 'Sora', sans-serif; font-size: 1.1rem; margin-bottom: .35rem; }
.catalogue-redirect-block p { color: var(--text-secondary); margin-bottom: 1rem; }

@media (max-width: 900px) {
  .catalogues-hub { grid-template-columns: 1fr; }
  .catalogues-categories-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .catalogues-categories-grid { grid-template-columns: 1fr; }
  .ressources-hero { min-height: 360px; padding: 78px 18px 58px; }
}

/* UPDATED: 54 - Distributeurs layout & cards */
.distributeurs-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 2rem 0 1.25rem;
}
.distributeurs-filters input,
.distributeurs-filters select {
  color: #1a1a1a !important;
  background: #fff !important;
  border: none;
  border-bottom: 2px solid var(--brand-red);
  padding: 10px 14px;
  font-size: .95rem;
  border-radius: 0;
  min-width: 220px;
  outline: none;
}
.distributeurs-filters input::placeholder { color: #888 !important; opacity: 1; }
.distributeurs-filters select option { color: #1a1a1a; background: #fff; }
.distributeurs-count { font-size: .9rem; color: #777; margin-bottom: 1.5rem; }
.distributeurs-count span { font-weight: 900; color: var(--brand-red); }
.distributeurs-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}
.distributeurs-map-wrap { position: sticky; top: 20px; }
#map-distributeurs {
  height: 560px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.14);
}
.distributeurs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-red) #f0f0f0;
}
.revendeur-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
  border-left: 4px solid transparent;
  transition: border-color .2s, transform .18s, box-shadow .18s;
  cursor: pointer;
}
.revendeur-card:hover,
.revendeur-card.active {
  border-left-color: var(--brand-red);
  transform: translateX(4px);
  box-shadow: 0 6px 28px rgba(var(--brand-red-rgb), .11);
}
.revendeur-card-header { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.revendeur-pin-icon { flex-shrink: 0; margin-top: 2px; }
.revendeur-card-titles h3 { font-size: .98rem; font-weight: 800; margin: 0 0 5px; color: #1a1a1a; }
.revendeur-wilaya-badge {
  display: inline-block;
  background: rgba(var(--brand-red-rgb), .08);
  color: var(--brand-red);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.revendeur-card-body { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.revendeur-adresse,
.revendeur-contact-link { display: inline-flex; gap: .4rem; align-items: flex-start; font-size: .85rem; line-height: 1.5; }
.revendeur-adresse { color: #555; margin: 0; }
.revendeur-contact-link { color: var(--brand-red); text-decoration: none; font-weight: 700; transition: opacity .15s; }
.revendeur-contact-link:hover { opacity: .75; }
.btn-voir-map { width: 100%; text-align: center; font-size: .8rem; }
.empty-state { text-align: center; padding: 48px 24px; color: #888; }
.empty-state .material-symbols-outlined { font-size: 3rem; display: block; margin-bottom: 12px; color: var(--brand-red); }
.map-pin { cursor: pointer; transition: transform .15s; }
.map-pin svg { width: 32px; height: 42px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.3)); }
.map-pin:hover,
.map-pin--active { transform: scale(1.25) translateY(-4px); }
.revendeur-tooltip strong { color: var(--brand-red); font-size: .9rem; }
.revendeur-tooltip span { font-size: .78rem; color: #555; }

/* UPDATED: 58 - Card badges and Google Maps link */
.revendeur-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.revendeur-name-row h3 { margin: 0; }
.badge-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #28a745;
  color: #fff;
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 800;
  flex-shrink: 0;
}
.badge-featured {
  background: rgba(var(--brand-red-rgb), .1);
  color: var(--brand-red);
  border-radius: 20px;
  padding: 2px 8px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.revendeur-desc {
  font-size: .82rem;
  color: #777;
  margin: 0 0 6px;
  line-height: 1.5;
}
.revendeur-card-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
}
.revendeur-card-footer .btn-voir-map { flex: 1; }
.btn-gmaps {
  font-size: .75rem;
  font-weight: 700;
  color: #4285F4;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 50px;
  border: 1.5px solid #4285F4;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.btn-gmaps:hover {
  background: #4285F4;
  color: #fff;
}
.revendeur-card--featured {
  border-left: 4px solid #880000;
  background: linear-gradient(135deg, #fff 85%, rgba(var(--brand-red-rgb), .04));
}
.distributeurs-filters select#filterCity {
  color: #1a1a1a !important;
  background: #fff !important;
}

/* UPDATED: 55 - Formulaire devenir distributeur style unifié */
#formDistributeur label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
#formDistributeur input[type="text"],
#formDistributeur input[type="email"],
#formDistributeur input[type="tel"],
#formDistributeur input[type="number"],
#formDistributeur textarea,
#formDistributeur select {
  width: 100%;
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid var(--brand-red) !important;
  border-radius: 0 !important;
  padding: 10px 2px;
  font-size: .95rem;
  color: #1a1a1a !important;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
#formDistributeur input::placeholder,
#formDistributeur textarea::placeholder { color: #aaa; }
#formDistributeur input:focus,
#formDistributeur textarea:focus,
#formDistributeur select:focus { border-bottom-color: #880000 !important; }
#formDistributeur select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ED1C24' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  cursor: pointer;
}
#formDistributeur select option { color: #1a1a1a; background: #fff; }
#formDistributeur textarea { resize: vertical; min-height: 110px; }
#formDistributeur .file-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-red);
}
#formDistributeur .file-upload-wrapper input[type="file"] { display: none; }
#formDistributeur #docsLabel {
  font-size: .83rem;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#formDistributeur .form-submit-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
#formDistributeur .form-mention { font-size: .78rem; color: #888; margin: 0; }
#formDistributeur .btn-fiche-primary { padding: 16px 40px; font-size: .85rem; letter-spacing: .1em; }

@media (max-width: 960px) {
  .distributeurs-layout { grid-template-columns: 1fr; }
  #map-distributeurs { height: 300px; position: relative; }
  .distributeurs-list { max-height: 400px; }
}

/* UPDATED: 57 - Hero text color fix */
.ressources-hero,
.ressources-hero h1,
.ressources-hero h2,
.ressources-hero p,
.ressources-hero span {
  color: #ffffff !important;
}
.ressources-hero .hero-accent {
  color: var(--brand-red) !important;
}
