/* ─────────────────────────────────────────────────────────────
   NEROBEL GROUP · MAIN STYLESHEET (css/main.css) - v2.0
   Incorporating Official Brand Graphic Chart, Laser Underline,
   Gold "Disponible chez NEROBEL" Seal, & Multi-Brand Portfolio
   ───────────────────────────────────────────────────────────── */

/* Container & Grid Setup */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--mobile-margin, 24px);
  box-sizing: border-box;
}

.container-narrow {
  max-width: 1080px;
}

/* ───────────────────────────────────────────────
   GLOBAL HEADER & NAVIGATION
   ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--bd);
  transition: background var(--trans), border-color var(--trans), box-shadow var(--trans);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-bottom-color: var(--bdh);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: clamp(12px, 1.6vw, 24px);
  flex-wrap: nowrap;
}

/* Brand Logo - Perfectly Standardized Across All Pages */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img, .brand-logo svg {
  height: 32px;
  max-width: 200px;
  width: auto;
  display: block;
  transition: filter var(--trans), opacity var(--trans);
}

@media (max-width: 768px) {
  .brand-logo img, .brand-logo svg {
    height: 28px;
    max-width: 170px;
  }
}

.mobile-drawer-header img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-brand img {
  height: 32px;
  width: auto;
  display: block;
}

[data-theme="light"] .brand-logo img,
[data-theme="light"] .mobile-drawer-header img,
[data-theme="light"] .footer-brand img {
  filter: invert(1);
}

/* Desktop Nav - Strict Single Horizontal Baseline Rule */
.nav-menu {
  display: none;
  align-items: center;
  gap: clamp(10px, 1.5vw, 22px);
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

@media (min-width: 1140px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-family: var(--fb);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--tx2);
  transition: color var(--trans);
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
  display: inline-block;
  flex-shrink: 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--tx);
}

.nav-link.active::after, .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--az);
  box-shadow: 0 0 10px var(--az);
  border-radius: var(--radius-pill);
}

/* Header Utilities - Non-collapsing flex strip */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
  flex-wrap: nowrap;
}

/* Space-Optimized Language Dropdown */
.lang-dropdown {
  position: relative;
  display: inline-block;
  user-select: none;
}

.lang-dropdown-trigger {
  all: unset;
  cursor: pointer;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  background: var(--s2);
  border: 1px solid var(--bd);
  border-radius: var(--radius-pill);
  color: var(--tx);
  font-family: var(--fb);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all var(--trans);
}

.lang-dropdown-trigger:hover,
.lang-dropdown.open .lang-dropdown-trigger {
  border-color: var(--az);
  background: var(--s3);
  color: var(--az);
  box-shadow: 0 0 12px var(--glow);
}

.lang-chevron {
  font-size: 0.72rem;
  color: var(--tx3);
  transition: transform var(--trans), color var(--trans);
  display: inline-block;
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
  color: var(--az);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 154px;
  background: var(--s1);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.96);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  pointer-events: none;
}

[data-theme="light"] .lang-dropdown-menu {
  background: #FFFFFF;
  border-color: var(--bd);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.lang-dropdown.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-menu-item {
  all: unset;
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--tx2);
  font-family: var(--fb);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--trans);
}

.lang-menu-item:hover {
  background: var(--s3);
  color: var(--tx);
}

[data-theme="light"] .lang-menu-item:hover {
  background: var(--s2);
  color: var(--tx);
}

.lang-menu-item.active {
  background: rgba(37, 99, 235, 0.12);
  color: var(--az);
  font-weight: 700;
}

[data-theme="light"] .lang-menu-item.active {
  background: rgba(2, 132, 199, 0.10);
  color: var(--az);
}

.lang-item-code {
  display: inline-block;
  font-family: var(--fm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  background: var(--s2);
  border-radius: 4px;
  border: 1px solid var(--bd);
  color: var(--tx3);
}

.lang-menu-item.active .lang-item-code {
  background: var(--az);
  border-color: var(--az);
  color: #050505;
}

.lang-item-name {
  flex: 1;
  font-size: 0.84rem;
}

.lang-item-check {
  font-size: 0.85rem;
  color: var(--az);
  opacity: 0;
  transform: scale(0.6);
  transition: all var(--trans);
}

.lang-menu-item.active .lang-item-check {
  opacity: 1;
  transform: scale(1);
}

/* Fallback Legacy Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--s2);
  border: 1px solid var(--bd);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  all: unset;
  cursor: pointer;
  font-family: var(--fb);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  color: var(--tx2);
  transition: all var(--trans);
}

.lang-btn:hover {
  color: var(--tx);
}

.lang-btn.active {
  background: var(--az);
  color: #050505;
  box-shadow: 0 0 12px var(--glow-strong);
}

/* Theme Toggle Button */
.theme-btn {
  all: unset;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--s2);
  border: 1px solid var(--bd);
  color: var(--tx2);
  font-size: 1rem;
  transition: all var(--trans);
}

.theme-btn:hover {
  border-color: var(--az);
  color: var(--az);
  background: var(--s3);
}

/* Header Action CTA Button - Architectural Precision Design */
.btn-cta-sav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #FFFFFF !important;
  font-family: var(--fb);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: all var(--trans);
}

.btn-cta-sav i {
  color: var(--az);
  font-size: 0.95rem;
  transition: transform var(--trans), color var(--trans);
}

.btn-cta-sav:hover {
  background: #FFFFFF;
  color: #050505 !important;
  border-color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-cta-sav:hover i {
  color: #050505;
  transform: rotate(-12deg);
}

[data-theme="light"] .btn-cta-sav {
  background: var(--az);
  color: #FFFFFF !important;
  border-color: var(--az);
  box-shadow: 0 2px 10px rgba(29, 78, 216, 0.22);
}

[data-theme="light"] .btn-cta-sav i {
  color: #FFFFFF;
}

[data-theme="light"] .btn-cta-sav:hover {
  background: var(--azh);
  border-color: var(--azh);
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.32);
}

[data-theme="light"] .btn-cta-sav:hover i {
  color: #FFFFFF;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  all: unset;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--s2);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  color: var(--tx);
  font-size: 1.3rem;
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 1080px) {
  .mobile-nav-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}

[data-theme="light"] .mobile-drawer {
  background: rgba(255, 255, 255, 0.98);
}

[dir="rtl"] .mobile-drawer {
  transform: translateX(-100%);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.mobile-drawer-close {
  all: unset;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--s2);
  border: 1px solid var(--bd);
  display: grid;
  place-items: center;
  color: var(--tx);
  font-size: 1.2rem;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-links a {
  font-family: var(--fd);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--tx2);
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
  color: var(--az);
}

/* ───────────────────────────────────────────────
   BUTTONS, BADGES & SEALS
   ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 4px;
  font-family: var(--fb);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--trans), color var(--trans), border-color var(--trans), transform var(--trans), box-shadow var(--trans);
  border: 1px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn i {
  font-size: 1rem;
  transition: transform var(--trans), color var(--trans);
}

.btn:hover i.ti-arrow-right {
  transform: translateX(4px);
}

[dir="rtl"] .btn:hover i.ti-arrow-right {
  transform: translateX(-4px);
}

/* Primary Button: Pure Optical Titanium White (Dark) / Deep Obsidian (Light) */
.btn-primary {
  background: #FFFFFF;
  color: #08080A !important;
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 16px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover {
  background: #EDEDF0;
  border-color: #FFFFFF;
  color: #08080A !important;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 10px 24px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

[data-theme="light"] .btn-primary {
  background: #0F172A;
  color: #FFFFFF !important;
  border-color: #0F172A;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .btn-primary:hover {
  background: #1E293B;
  border-color: #1E293B;
  color: #FFFFFF !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
}

/* Secondary Button: Smoked Architectural Surface */
.btn-secondary {
  background: var(--s2);
  color: var(--tx);
  border-color: var(--bd);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: var(--s3);
  border-color: var(--bdh);
  color: var(--tx);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Outline / Ghost Glass Button */
.btn-outline-blue {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.btn-outline-blue i {
  color: var(--az);
  transition: transform var(--trans), color var(--trans);
}

.btn-outline-blue:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.btn-outline-blue:hover i {
  color: #FFFFFF;
  transform: rotate(-10deg);
}

[data-theme="light"] .btn-outline-blue {
  background: rgba(15, 23, 42, 0.04);
  color: #0F172A !important;
  border-color: rgba(15, 23, 42, 0.18);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .btn-outline-blue:hover {
  background: rgba(15, 23, 42, 0.08);
  color: #0F172A !important;
  border-color: rgba(15, 23, 42, 0.35);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

/* Official WhatsApp Button (WCAG AA compliant contrast > 4.5:1) */
.btn-whatsapp {
  background: #075E54;
  color: #FFFFFF !important;
  border-color: #075E54;
  box-shadow: 0 4px 14px rgba(7, 94, 84, 0.25);
}

.btn-whatsapp:hover {
  background: #05443d;
  border-color: #05443d;
  transform: translateY(-2px);
  color: #FFFFFF !important;
  box-shadow: 0 8px 20px rgba(5, 68, 61, 0.35);
}

/* Official "Disponible chez NEROBEL" Seal */
.seal-nerobel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: #000000;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  box-shadow: 0 0 15px var(--gold-glow);
}

.seal-nerobel-text {
  font-size: 0.82rem;
  color: #E2E8F0;
  font-weight: 500;
}

.seal-nerobel-logo {
  height: 18px;
  width: auto;
}

/* Light Theme Luxury Seal - Warm Luminous Champagne Aura */
[data-theme="light"] .seal-nerobel {
  background: linear-gradient(135deg, rgba(229, 202, 146, 0.18) 0%, rgba(201, 169, 106, 0.08) 100%);
  border: 1.5px solid rgba(180, 136, 58, 0.4);
  box-shadow: 0 2px 8px rgba(180, 136, 58, 0.08);
  border-radius: 6px;
}

[data-theme="light"] .seal-nerobel-text,
[data-theme="light"] .brand-card__tag,
[data-theme="light"] .brand-card .seal-nerobel--sm .seal-nerobel-text {
  color: #785317 !important;
  font-weight: 600;
  letter-spacing: 0.015em;
}

/* ───────────────────────────────────────────────
   EDITORIAL LUXURY EYEBROWS (Zero Sticker Box)
   Refined open layout with luminous gradient hairlines
   ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fd);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--az-text, #60A5FA);
  text-shadow: 0 0 20px rgba(37, 99, 235, 0.22);
  background: none;
  border: none;
  border-radius: 0;
  padding: 8px 18px;
  border-top: 1px solid rgba(37, 99, 235, 0.28);
  border-bottom: 1px solid rgba(37, 99, 235, 0.28);
  position: relative;
  white-space: nowrap;
  max-width: 100%;
}

@media (max-width: 480px) {
  .eyebrow {
    white-space: normal;
    text-align: center;
    letter-spacing: 0.10em;
    font-size: 0.72rem;
    padding: 6px 12px;
  }
}

@media (max-width: 360px) {
  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    padding: 4px 8px;
  }
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5), transparent);
  pointer-events: none;
}

.eyebrow::before {
  top: -1px;
}

.eyebrow::after {
  bottom: -1px;
}

.eyebrow i {
  font-size: 0.95rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.85;
}

[dir="rtl"] .eyebrow {
  letter-spacing: 0;
}

/* ── Eyebrow Brand & Semantic Color Variants ── */

/* 1. Electric Cyan / Azure Blue (Theros & Connected Tech) */
.eyebrow-blue,
.brand-card[data-brand="theros"] .eyebrow {
  color: var(--az-text, #60A5FA);
  text-shadow: 0 0 20px rgba(37, 99, 235, 0.25);
  border-top-color: rgba(37, 99, 235, 0.35);
  border-bottom-color: rgba(37, 99, 235, 0.35);
}
.eyebrow-blue::before,
.eyebrow-blue::after,
.brand-card[data-brand="theros"] .eyebrow::before,
.brand-card[data-brand="theros"] .eyebrow::after {
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.6), transparent);
}

/* 2. Prestige Gold (Pacific & Heritage / Signature) */
.eyebrow-gold,
.brand-card[data-brand="pacific"] .eyebrow {
  color: var(--gold);
  text-shadow: 0 0 20px rgba(201, 169, 106, 0.25);
  border-top-color: rgba(201, 169, 106, 0.35);
  border-bottom-color: rgba(201, 169, 106, 0.35);
}
.eyebrow-gold::before,
.eyebrow-gold::after,
.brand-card[data-brand="pacific"] .eyebrow::before,
.brand-card[data-brand="pacific"] .eyebrow::after {
  background: linear-gradient(90deg, transparent, rgba(201, 169, 106, 0.6), transparent);
}

/* 3. Flame Amber (Eurogas Gas Solutions) */
.eyebrow-flame,
.eyebrow-amber,
.brand-card[data-brand="eurogas"] .eyebrow {
  color: #F2B84B;
  text-shadow: 0 0 20px rgba(242, 184, 75, 0.25);
  border-top-color: rgba(242, 184, 75, 0.35);
  border-bottom-color: rgba(242, 184, 75, 0.35);
}
.eyebrow-flame::before,
.eyebrow-flame::after,
.eyebrow-amber::before,
.eyebrow-amber::after,
.brand-card[data-brand="eurogas"] .eyebrow::before,
.brand-card[data-brand="eurogas"] .eyebrow::after {
  background: linear-gradient(90deg, transparent, rgba(242, 184, 75, 0.6), transparent);
}

/* 4. Platinum / Silver-Cyan (Nerobel Consumer Tech & Smart Living) */
.eyebrow-silver,
.eyebrow-tech,
.brand-card[data-brand="nerobel"] .eyebrow {
  color: #E2E8F0;
  text-shadow: 0 0 20px rgba(226, 232, 240, 0.25);
  border-top-color: rgba(226, 232, 240, 0.35);
  border-bottom-color: rgba(226, 232, 240, 0.35);
}
.eyebrow-silver::before,
.eyebrow-silver::after,
.eyebrow-tech::before,
.eyebrow-tech::after,
.brand-card[data-brand="nerobel"] .eyebrow::before,
.brand-card[data-brand="nerobel"] .eyebrow::after {
  background: linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.6), transparent);
}

/* Light Theme Adaptations */
[data-theme="light"] .eyebrow {
  text-shadow: none;
  color: #1A73E8;
  border-top-color: rgba(26, 115, 232, 0.25);
  border-bottom-color: rgba(26, 115, 232, 0.25);
}
[data-theme="light"] .eyebrow::before,
[data-theme="light"] .eyebrow::after {
  background: linear-gradient(90deg, transparent, rgba(26, 115, 232, 0.4), transparent);
}

[data-theme="light"] .eyebrow-gold,
[data-theme="light"] .brand-card[data-brand="pacific"] .eyebrow {
  color: #B4883A;
  border-top-color: rgba(180, 136, 58, 0.25);
  border-bottom-color: rgba(180, 136, 58, 0.25);
}
[data-theme="light"] .eyebrow-gold::before,
[data-theme="light"] .eyebrow-gold::after,
[data-theme="light"] .brand-card[data-brand="pacific"] .eyebrow::before,
[data-theme="light"] .brand-card[data-brand="pacific"] .eyebrow::after {
  background: linear-gradient(90deg, transparent, rgba(180, 136, 58, 0.4), transparent);
}

[data-theme="light"] .eyebrow-flame,
[data-theme="light"] .eyebrow-amber,
[data-theme="light"] .brand-card[data-brand="eurogas"] .eyebrow {
  color: #D97706;
  border-top-color: rgba(217, 119, 6, 0.25);
  border-bottom-color: rgba(217, 119, 6, 0.25);
}
[data-theme="light"] .eyebrow-flame::before,
[data-theme="light"] .eyebrow-flame::after,
[data-theme="light"] .brand-card[data-brand="eurogas"] .eyebrow::before,
[data-theme="light"] .brand-card[data-brand="eurogas"] .eyebrow::after {
  background: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.4), transparent);
}

[data-theme="light"] .eyebrow-silver,
[data-theme="light"] .eyebrow-tech,
[data-theme="light"] .brand-card[data-brand="nerobel"] .eyebrow {
  color: #334155;
  border-top-color: rgba(51, 65, 85, 0.25);
  border-bottom-color: rgba(51, 65, 85, 0.25);
}
[data-theme="light"] .eyebrow-silver::before,
[data-theme="light"] .eyebrow-silver::after,
[data-theme="light"] .brand-card[data-brand="nerobel"] .eyebrow::before,
[data-theme="light"] .brand-card[data-brand="nerobel"] .eyebrow::after {
  background: linear-gradient(90deg, transparent, rgba(51, 65, 85, 0.4), transparent);
}

.form-checkbox-label a,
.form-consent-label a {
  color: var(--az-text, #60A5FA);
  text-decoration: underline;
}

[data-theme="light"] .form-checkbox-label a,
[data-theme="light"] .form-consent-label a {
  color: var(--az, #1D4ED8);
}

/* Signature Laser Underline */
.nerobel-laser-line {
  width: 100%;
  max-width: 480px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2563EB, #60A5FA, #2563EB, transparent);
  margin: 18px 0;
  position: relative;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.8);
}

.nerobel-laser-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 10px #FFFFFF;
}

/* ───────────────────────────────────────────────
   UNIFIED PAGE HERO (STANDARDIZED INNER PAGES)
   ─────────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 56px 0 44px;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 68%), var(--black);
  border-bottom: 1px solid var(--bd);
  text-align: center;
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 920px;
}

.page-hero .eyebrow {
  margin-bottom: 14px;
}

.page-hero .page-title {
  font-family: var(--fd);
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--tx);
  margin: 0 0 12px;
}

[dir="rtl"] .page-hero .page-title {
  letter-spacing: 0;
  line-height: 1.35;
}

.page-hero .page-subtitle {
  font-family: var(--fb);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--tx2);
  max-width: 680px;
  margin: 0 auto;
}

/* ───────────────────────────────────────────────
   HERO SECTION (INDEX HOMEPAGE ONLY)
   ─────────────────────────────────────────────── */
.hero-section {
  position: relative;
  padding: 60px 0 60px;
  overflow: hidden;
  min-height: calc(100dvh - 84px);
  display: flex;
  align-items: center;
  background-color: #030303;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-color: #030303;
  overflow: hidden;
  z-index: 1;
}

/* Cinematic Multi-Slide Ken Burns Layers */
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02) translate3d(0, 0, 0);
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform, filter;
  z-index: 1;
}

.hero-bg-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Distinctive camera motion per slide for cinematic richness */
.hero-bg-slide[data-index="0"].active {
  animation: kenBurnsZoomIn 8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-bg-slide[data-index="1"].active {
  animation: kenBurnsPanRight 8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-bg-slide[data-index="2"].active {
  animation: kenBurnsZoomOut 8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-bg-slide[data-index="3"].active {
  animation: kenBurnsSubtleTilt 8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-section:hover .hero-bg-slide.active,
.hero-section.is-paused .hero-bg-slide.active {
  animation-play-state: paused;
}

@keyframes kenBurnsZoomIn {
  0% {
    transform: scale(1.0) translate3d(0, 0, 0);
    filter: brightness(0.96);
  }
  25% {
    filter: brightness(1.03);
  }
  100% {
    transform: scale(1.06) translate3d(-1%, -0.5%, 0);
    filter: brightness(1.0);
  }
}

@keyframes kenBurnsPanRight {
  0% {
    transform: scale(1.05) translate3d(-1.5%, 0, 0);
    filter: brightness(0.96);
  }
  25% {
    filter: brightness(1.04);
  }
  100% {
    transform: scale(1.01) translate3d(1.5%, 0, 0);
    filter: brightness(1.0);
  }
}

@keyframes kenBurnsZoomOut {
  0% {
    transform: scale(1.065) translate3d(0.8%, 0.5%, 0);
    filter: brightness(0.96);
  }
  25% {
    filter: brightness(1.04);
  }
  100% {
    transform: scale(1.005) translate3d(0, 0, 0);
    filter: brightness(1.0);
  }
}

@keyframes kenBurnsSubtleTilt {
  0% {
    transform: scale(1.04) translate3d(0, 0.8%, 0);
    filter: brightness(0.96);
  }
  25% {
    filter: brightness(1.03);
  }
  100% {
    transform: scale(1.01) translate3d(-0.8%, -0.4%, 0);
    filter: brightness(1.0);
  }
}

/* Seamless Left Dark Scrim for Typography Legibility */
.hero-bg-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #030303 0%, rgba(3, 3, 3, 0.96) 28%, rgba(3, 3, 3, 0.35) 54%, transparent 74%);
  z-index: 3;
  pointer-events: none;
}

@media (max-width: 1039px) {
  .hero-bg-scrim {
    background: linear-gradient(180deg, rgba(3, 3, 3, 0.88) 0%, rgba(3, 3, 3, 0.82) 45%, rgba(3, 3, 3, 0.95) 100%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 35%, rgba(0, 229, 255, 0.04) 0%, transparent 60%);
  z-index: 4;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 3;
}

@media (min-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}

.hero-content {
  max-width: 620px;
}

/* Elegant, Proportional Heading - NO SHOUTY HUGE TEXT */
.hero-title {
  font-family: var(--fd);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #FFFFFF !important;
  margin: 14px 0 16px;
}

[dir="rtl"] .hero-title {
  letter-spacing: 0;
  line-height: 1.35;
}

.hero-title span.highlight-blue {
  color: var(--az);
  background: linear-gradient(135deg, #60A5FA 0%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.05rem;
  color: #CBD5E1 !important;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

/* In the dark cinematic hero, primary button is always pure optical titanium white */
.hero-actions .btn-primary {
  background: #FFFFFF !important;
  color: #08080A !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 16px rgba(0, 0, 0, 0.45) !important;
}

.hero-actions .btn-primary:hover {
  background: #EDEDF0 !important;
  border-color: #FFFFFF !important;
  color: #08080A !important;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 10px 24px rgba(0, 0, 0, 0.6) !important;
}

/* In the dark cinematic hero, secondary button is always smoked acrylic glass */
.hero-actions .btn-outline-blue {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
}

.hero-actions .btn-outline-blue:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.48) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4) !important;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
  color: #94A3B8 !important;
}

.hero-badges-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #94A3B8 !important;
}

.hero-badges-row span strong {
  color: #E2E8F0 !important;
}

.hero-badges-row i {
  color: var(--az);
  font-size: 1.1rem;
}

/* ─────────────────────────────────────────────────────────────
   Hero Context Card & Slide Navigation (Glassmorphic HUD)
   ───────────────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────────
   Hero Spacer & Miniature Dock (Bottom Glass Capsule for Maximum Visibility)
   ───────────────────────────────────────────────────────────── */
.hero-spacer {
  display: block;
  min-height: 1px;
  pointer-events: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-miniature-dock {
  position: absolute;
  bottom: 24px;
  right: 28px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 395px;
  max-width: calc(100vw - 40px);
  height: 36px;
  box-sizing: border-box;
  padding: 0 12px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.hero-miniature-dock:hover {
  background: rgba(0, 0, 0, 0.42);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.hero-mini-status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.context-live-dot {
  width: 5px;
  height: 5px;
  min-width: 5px;
  flex: 0 0 5px;
  background-color: #FFFFFF;
  border-radius: 1px;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.9);
  animation: pulseDotBW 2.5s infinite ease-in-out;
}

@keyframes pulseDotBW {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

.context-counter {
  font-family: var(--fm);
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  flex: 0 0 32px;
  width: 32px;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-mini-text {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.hero-mini-text.text-animating {
  opacity: 0;
  transform: translateY(2px);
}

.hero-mini-title {
  font-family: var(--fd);
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.hero-mini-divider {
  width: 1px;
  height: 14px;
  flex: 0 0 1px;
  background: rgba(255, 255, 255, 0.14);
  margin: 0 8px;
}

.hero-mini-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.hero-nav-arrow {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 2px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.8rem;
  padding: 0;
}

.hero-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-nav-indicators {
  display: flex;
  align-items: center;
  gap: 4px;
}

.indicator-bar {
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 0;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease;
}

.indicator-bar:hover {
  background: rgba(255, 255, 255, 0.45);
}

.indicator-bar .bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: #FFFFFF;
  border-radius: 0;
}

.indicator-bar.completed .bar-fill {
  width: 100%;
  transition: width 0.3s ease;
}

.indicator-bar.active .bar-fill {
  animation: heroBarProgress 7s linear forwards;
}

@keyframes heroBarProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.hero-section:hover .indicator-bar.active .bar-fill,
.hero-section.is-paused .indicator-bar.active .bar-fill {
  animation-play-state: paused;
}

/* ───────────────────────────────────────────────
   IMAGE-FIRST MOBILE HERO CAROUSEL (Sprint MS-02)
   ─────────────────────────────────────────────── */
.mobile-hero-carousel {
  display: none;
}

@media (min-width: 769px) and (max-width: 1039px) {
  .hero-miniature-dock {
    position: static;
    margin-top: 20px;
    width: 395px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: var(--space-6, 32px) 0 var(--space-7, 48px);
    background-color: var(--color-bg, #050505);
    display: block;
  }

  .hero-bg-layer,
  .hero-spacer,
  .hero-miniature-dock {
    display: none !important;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: var(--space-4, 16px);
  }

  .hero-title {
    font-size: var(--mobile-h1, clamp(1.875rem, 1.6rem + 1.4vw, 2.25rem));
    line-height: 1.15;
    text-wrap: balance;
    margin: var(--space-2, 8px) 0 var(--space-4, 16px);
  }

  .hero-lead {
    font-size: var(--mobile-body, 1rem);
    line-height: 1.55;
    margin-bottom: var(--space-5, 24px);
    text-wrap: pretty;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3, 12px);
    width: 100%;
    margin-bottom: var(--space-5, 24px);
  }

  .hero-actions .btn {
    width: 100%;
    min-height: var(--tap-target-min, 48px);
    font-size: 1rem;
    font-weight: 600;
  }

  .hero-badges-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: var(--space-4, 16px);
    font-size: var(--mobile-caption, 12px);
    color: var(--color-muted, #B4B8C0);
  }

  /* Mobile Light Theme Hero Refinements (Fix for washed-out white text and illegible buttons) */
  [data-theme="light"] .hero-title {
    color: #0F172A !important;
  }

  [data-theme="light"] .hero-lead {
    color: #475569 !important;
  }

  [data-theme="light"] .hero-actions .btn-primary {
    background: #0F172A !important;
    color: #FFFFFF !important;
    border-color: #0F172A !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15) !important;
  }

  [data-theme="light"] .hero-actions .btn-primary:hover {
    background: #1E293B !important;
    border-color: #1E293B !important;
    color: #FFFFFF !important;
  }

  [data-theme="light"] .hero-actions .btn-outline-blue {
    background: #FFFFFF !important;
    color: var(--az, #1D4ED8) !important;
    border: 1.5px solid rgba(29, 78, 216, 0.35) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
  }

  [data-theme="light"] .hero-actions .btn-outline-blue:hover {
    background: rgba(29, 78, 216, 0.06) !important;
    color: var(--azh, #1E40AF) !important;
    border-color: var(--az, #1D4ED8) !important;
  }

  [data-theme="light"] .hero-actions .btn-outline-blue i {
    color: var(--az, #1D4ED8) !important;
  }

  [data-theme="light"] .hero-badges-row {
    color: #475569 !important;
    border-top: 1px solid #E2E8F0 !important;
  }

  [data-theme="light"] .hero-badges-row span strong {
    color: #0F172A !important;
  }

  [data-theme="light"] .hero-badges-row i {
    color: var(--az, #1D4ED8) !important;
  }

  [data-theme="light"] .mobile-slide {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  }

  /* The Image-First Carousel */
  .mobile-hero-carousel {
    display: block;
    margin-top: var(--space-5, 24px);
    position: relative;
    width: 100%;
  }

  .mobile-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 4px var(--mobile-margin, 16px) 14px;
    margin: 0 calc(-1 * var(--mobile-margin, 16px));
    scrollbar-width: none;
  }

  .mobile-carousel-track::-webkit-scrollbar {
    display: none;
  }

  .mobile-slide {
    flex: 0 0 88%;
    scroll-snap-align: center;
    position: relative;
    border-radius: var(--radius-m, 16px);
    overflow: hidden;
    background: #0C0C0E;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  }

  .mobile-slide-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
  }

  .mobile-slide-media picture,
  .mobile-slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .mobile-slide[data-index="0"] .mobile-slide-media img {
    object-position: 72% 46%;
  }

  .mobile-slide[data-index="1"] .mobile-slide-media img {
    object-position: 75% 51%;
  }

  .mobile-slide[data-index="2"] .mobile-slide-media img {
    object-position: 72% 46%;
  }

  .mobile-slide[data-index="3"] .mobile-slide-media img {
    object-position: 73% 44%;
  }

  /* Gradient scrim over lower 40%, keeping subject in upper 60% */
  .mobile-slide-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(5, 5, 5, 0) 0%,
      rgba(5, 5, 5, 0.15) 45%,
      rgba(5, 5, 5, 0.75) 70%,
      rgba(7, 8, 10, 0.96) 100%
    );
    pointer-events: none;
  }

  .mobile-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 18px 18px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .mobile-slide-tag {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563EB;
  }

  .mobile-slide-title {
    font-family: var(--font-display, sans-serif);
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
    margin: 0;
  }

  .mobile-slide-desc {
    font-size: 13px;
    color: #CBD5E1;
    line-height: 1.4;
    margin: 0 0 10px;
  }

  .mobile-slide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--tap-target-min, 48px);
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-s, 8px);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
  }

  .mobile-slide-btn:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.18);
  }

  /* Carousel Navigation & Indicators */
  .mobile-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px 0;
  }

  .mobile-carousel-counter {
    font-family: var(--font-mono, monospace);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-muted, #B4B8C0);
    letter-spacing: 0.05em;
  }

  .mobile-carousel-dots {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .mobile-dot {
    width: var(--tap-target-min, 48px);
    height: var(--tap-target-min, 48px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .mobile-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.25s ease, background-color 0.25s ease;
  }

  .mobile-dot.active::after {
    width: 24px;
    background: #2563EB;
  }
}

.hero-stage-desc {
  font-size: 0.88rem;
  color: var(--tx2);
  margin: 0;
  line-height: 1.45;
}

/* ───────────────────────────────────────────────
   METRICS TRUST STRIP (UNCROWDED & SPACIOUS)
   ─────────────────────────────────────────────── */
.metrics-strip {
  background: var(--s1);
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
  padding: 34px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 900px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.metric-item {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  border-left: 2px solid var(--bd);
}

[dir="rtl"] .metric-item {
  border-left: none;
  border-right: 2px solid var(--bd);
}

.metric-item:first-child {
  border-left: none;
}
[dir="rtl"] .metric-item:first-child {
  border-right: none;
}

.metric-num {
  font-family: var(--fd);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--tx);
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-num span.plus {
  color: var(--az);
}

.metric-label {
  font-size: 0.84rem;
  color: var(--tx3);
  font-weight: 500;
  line-height: 1.4;
}

/* ───────────────────────────────────────────────
   3 CORE GATEWAY PILLARS (Architectural Triptych)
   Artistic, Minimalist & Strictly On-Brand
   ─────────────────────────────────────────────── */
.section-gateways {
  position: relative;
  padding: 52px 0 64px;
  background: var(--black);
  overflow: hidden;
}

/* Subtle horizon divider line above the gateways */
.section-gateways::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1240px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.18), rgba(96, 165, 250, 0.45), rgba(37, 99, 235, 0.18), transparent);
  pointer-events: none;
}

/* Ultra-soft ambient horizon glow centered in the gateway section */
.section-gateways::after {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 260px;
  background: radial-gradient(ellipse at 50% 50%, rgba(37, 99, 235, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section-gateways .container {
  position: relative;
  z-index: 1;
}

.gateways-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 960px) {
  .gateways-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }
}

/* The Gateway Card: Anodized Obsidian Glass Block */
.gateway-card {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 21, 34, 0.72) 0%, rgba(10, 13, 20, 0.88) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 30px 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
  isolation: isolate;
}

/* Precision Top Laser Blade */
.gateway-card-laser {
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.4), rgba(96, 165, 250, 0.9), rgba(37, 99, 235, 0.4), transparent);
  border-radius: var(--radius-pill);
  pointer-events: none;
  opacity: 0.65;
  transition: all 0.4s var(--ease);
}

/* Artistic Blueprint / Technical Geometry Vector Art */
.gateway-bg-art {
  position: absolute;
  top: 0;
  right: 0;
  width: 185px;
  height: 185px;
  pointer-events: none;
  color: var(--az);
  opacity: 0.28;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  overflow: hidden;
  z-index: 0;
}

/* Gateway Card Header (Emblem + Monospace Index) */
.gateway-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

/* Optical Precision Emblem */
.gateway-emblem {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(37, 99, 235, 0.1) 100%);
  border: 1px solid rgba(37, 99, 235, 0.24);
  display: grid;
  place-items: center;
  color: var(--az);
  font-size: 1.35rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.35s var(--ease);
}

/* Monospace Architectural Coordinate */
.gateway-index {
  font-family: var(--fm);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease);
}

/* Card Title */
.gateway-title {
  font-family: var(--fd);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--tx);
  margin: 0 0 10px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

/* Card Body Description */
.gateway-desc {
  font-size: 0.91rem;
  color: var(--tx2);
  line-height: 1.58;
  margin: 0 0 24px;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

/* Interactive Action Strip */
.gateway-action-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: auto;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s var(--ease);
}

.gateway-action-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #E2E8F0;
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease);
}

.gateway-action-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--az);
  font-size: 0.92rem;
  transition: all 0.3s var(--ease);
}

/* ───────────────────────────────────────────────
   HOVER INTERACTIONS (Physics & Illumination)
   ─────────────────────────────────────────────── */
.gateway-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.6), 0 0 26px rgba(37, 99, 235, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.gateway-card:hover .gateway-card-laser {
  left: 6%;
  right: 6%;
  opacity: 1;
  box-shadow: 0 0 14px rgba(96, 165, 250, 0.75), 0 0 26px rgba(37, 99, 235, 0.4);
}

.gateway-card:hover .gateway-bg-art {
  opacity: 0.52;
  transform: scale(1.04) translate(2px, -2px);
}

.gateway-card:hover .gateway-emblem {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(96, 165, 250, 0.2) 100%);
  border-color: rgba(96, 165, 250, 0.6);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.gateway-card:hover .gateway-index {
  color: var(--azh);
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.06);
}

.gateway-card:hover .gateway-action-strip {
  border-top-color: rgba(37, 99, 235, 0.24);
}

.gateway-card:hover .gateway-action-label {
  color: #FFFFFF;
}

.gateway-card:hover .gateway-action-badge {
  background: var(--az);
  border-color: var(--az);
  color: #050505;
  transform: translateX(4px);
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.5);
}

/* ───────────────────────────────────────────────
   LIGHT THEME ADAPTATION
   ─────────────────────────────────────────────── */
[data-theme="light"] .section-gateways {
  background: #F8FAFC;
}

[data-theme="light"] .section-gateways::before {
  background: linear-gradient(90deg, transparent, rgba(29, 78, 216, 0.15), rgba(29, 78, 216, 0.35), rgba(29, 78, 216, 0.15), transparent);
}

[data-theme="light"] .section-gateways::after {
  background: radial-gradient(ellipse at 50% 50%, rgba(29, 78, 216, 0.05), transparent 70%);
}

[data-theme="light"] .gateway-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-color: #E2E8F0;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04), inset 0 1px 0 #FFFFFF;
}

[data-theme="light"] .gateway-card-laser {
  background: linear-gradient(90deg, transparent, rgba(29, 78, 216, 0.25), rgba(29, 78, 216, 0.65), rgba(29, 78, 216, 0.25), transparent);
}

[data-theme="light"] .gateway-bg-art {
  color: var(--az);
  opacity: 0.18;
}

[data-theme="light"] .gateway-emblem {
  background: rgba(29, 78, 216, 0.07);
  border-color: rgba(29, 78, 216, 0.22);
  color: var(--az);
  box-shadow: inset 0 1px 1px #FFFFFF, 0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .gateway-index {
  color: #64748B;
  background: #F1F5F9;
  border-color: #E2E8F0;
}

[data-theme="light"] .gateway-title {
  color: #0F172A;
}

[data-theme="light"] .gateway-desc {
  color: #475569;
}

[data-theme="light"] .gateway-action-strip {
  border-top-color: #E2E8F0;
}

[data-theme="light"] .gateway-action-label {
  color: #1E293B;
}

[data-theme="light"] .gateway-action-badge {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: var(--az);
}

[data-theme="light"] .gateway-card:hover {
  border-color: var(--az);
  box-shadow: 0 16px 36px rgba(29, 78, 216, 0.12);
}

[data-theme="light"] .gateway-card:hover .gateway-bg-art {
  opacity: 0.35;
}

[data-theme="light"] .gateway-card:hover .gateway-emblem {
  background: rgba(29, 78, 216, 0.15);
  border-color: var(--az);
  color: var(--az);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
}

[data-theme="light"] .gateway-card:hover .gateway-index {
  color: var(--az);
  border-color: rgba(29, 78, 216, 0.3);
  background: rgba(29, 78, 216, 0.06);
}

[data-theme="light"] .gateway-card:hover .gateway-action-strip {
  border-top-color: rgba(29, 78, 216, 0.3);
}

[data-theme="light"] .gateway-card:hover .gateway-action-label {
  color: var(--az);
}

[data-theme="light"] .gateway-card:hover .gateway-action-badge {
  background: var(--az);
  border-color: var(--az);
  color: #FFFFFF;
  box-shadow: 0 0 14px rgba(29, 78, 216, 0.35);
}

/* ───────────────────────────────────────────────
   RTL SUPPORT
   ─────────────────────────────────────────────── */
[dir="rtl"] .gateway-action-badge i {
  transform: rotate(180deg);
}

[dir="rtl"] .gateway-card:hover .gateway-action-badge {
  transform: translateX(-4px);
}

[dir="rtl"] .gateway-bg-art {
  right: auto;
  left: 0;
  transform: scaleX(-1);
}

[dir="rtl"] .gateway-card:hover .gateway-bg-art {
  transform: scaleX(-1) scale(1.05) translate(-3px, -3px);
}

/* ───────────────────────────────────────────────
   MOBILE LAYOUT & TYPOGRAPHY STANDARDS (Sprint MS-03)
   ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Section Spacing Rhythm (Section 2.2: 48px or 64px) */
  section,
  .section,
  .section-gateways,
  .metrics-strip,
  .collection-showcase,
  .brand-showcase,
  .heritage-section,
  .network-section {
    padding-top: var(--space-7, 48px) !important;
    padding-bottom: var(--space-7, 48px) !important;
  }

  /* Section Headings Hierarchy (Section 2.3) */
  h1, .hero-title, .page-title {
    font-size: var(--mobile-h1, clamp(1.875rem, 1.6rem + 1.4vw, 2.25rem)) !important;
    line-height: 1.15 !important;
    text-wrap: balance;
  }

  h2, .section-title, .brand-block-title, .b2b-hero-title {
    font-size: var(--mobile-h2, clamp(1.5rem, 1.35rem + 0.8vw, 1.75rem)) !important;
    line-height: 1.2 !important;
    text-wrap: balance;
  }

  h3, .card-title, .gateway-title, .collection-name {
    font-size: var(--mobile-h3, 1.25rem) !important;
    line-height: 1.25 !important;
  }

  p, .hero-lead, .section-desc, .gateway-desc, .body-text {
    font-size: var(--mobile-body, 1rem) !important;
    line-height: 1.55 !important;
    text-wrap: pretty;
  }

  .eyebrow, .section-eyebrow, .gateway-index {
    font-size: var(--mobile-eyebrow, 0.75rem) !important;
    line-height: 1.3 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }

  /* Gateway Cards Ergonomics & Spacing */
  .gateways-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-4, 16px) !important;
  }

  .gateway-card {
    padding: 24px 20px 20px !important;
    border-radius: var(--radius-m, 16px) !important;
  }

  .gateway-bg-art {
    width: 140px !important;
    height: 140px !important;
    opacity: 0.20 !important;
  }

  .gateway-action-strip {
    min-height: var(--tap-target-min, 48px) !important;
    padding-top: 14px !important;
    margin-top: 16px !important;
  }

  .gateway-action-badge {
    width: var(--tap-target-min, 48px) !important;
    height: var(--tap-target-min, 48px) !important;
  }

  /* Metrics Grid on Mobile */
  .metrics-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-4, 16px) !important;
  }

  .metric-item {
    padding: 16px 20px !important;
    border-radius: var(--radius-s, 8px) !important;
  }
}

/* ───────────────────────────────────────────────
   BRAND SHOWCASE CARDS (SPACIOUS & BALANCED)
   ─────────────────────────────────────────────── */
.section {
  padding: 75px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
}

.section-title {
  font-family: var(--fd);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700;
  color: var(--tx);
  line-height: 1.25;
  margin: 12px 0 14px;
}

.section-desc {
  font-size: 1rem;
  color: var(--tx2);
  line-height: 1.6;
}

/* Inner Page Specific Aligned Headings */
.brand-detail-title {
  font-family: var(--fd);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--tx);
  line-height: 1.3;
  margin-bottom: 16px;
}

.card-title {
  font-family: var(--fd);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tx);
  line-height: 1.35;
  margin-bottom: 8px;
}

/* Note: Directory & Catalog Filters Bar is unified under the Single-Row Grid Architecture (see Line ~4307) */

.brands-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) {
  .brands-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .brands-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.brands-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .brands-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.brand-card {
  position: relative;
  background: var(--s1);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}

.brand-card:hover {
  transform: translateY(-6px);
  border-color: var(--bd-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

[data-theme="light"] .brand-card:hover {
  transform: translateY(-5px);
  border-color: var(--bd-glow);
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.08), 0 0 20px -2px var(--shadow-glow);
}

.brand-card-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--s2);
}

.brand-card-img-wrap picture,
.brand-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.brand-card:hover .brand-card-img {
  transform: scale(1.05);
}

.brand-card-badge {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  width: 140px;
  height: 40px;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--bd);
  border-radius: var(--radius-sm, 6px);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  z-index: 2;
}

.brand-card-badge img {
  max-height: 22px;
  max-width: 108px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

[data-theme="light"] .brand-card-badge {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.brand-card-body {
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.brand-card .eyebrow {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  gap: 6px;
  padding: 8px 14px;
  min-height: 38px;
  margin-bottom: 16px;
  line-height: 1;
}

.brand-card .eyebrow i {
  font-size: 0.85rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.85;
}

.brand-card .eyebrow span {
  line-height: 1;
  white-space: nowrap;
}

.brand-card-title,
.brand-card h3,
.brand-card .card-title {
  font-family: var(--fd);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--tx);
  line-height: 1.35;
  margin-bottom: 12px;
  min-height: 2.8em;
}

.brand-card-lead {
  font-size: 0.92rem;
  color: var(--tx2);
  line-height: 1.55;
  margin-bottom: 16px;
  min-height: 4.8em;
}

.brand-features-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.brand-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--tx);
}

.brand-features-list li i {
  color: var(--az);
  font-size: 1rem;
}

.brand-card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ───────────────────────────────────────────────
   QUICK TICKET TRACKER BAR
   ─────────────────────────────────────────────── */
.tracker-box {
  position: relative;
  background: #08090D;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.tracker-box > * {
  position: relative;
  z-index: 2;
}

/* Signature Curved Architectural Laser Blade (Synchronized with Brand Visual Identity) */
.tracker-box::before,
.tracker-box::after {
  display: none !important;
}

.tracker-laser-blade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1 !important;
}

.tracker-laser-svg {
  width: 100%;
  height: 100%;
  display: block;
}

[data-theme="light"] .tracker-laser-blade {
  display: none !important;
}

@media (min-width: 860px) {
  .tracker-box:not(.tracker-box--vertical) {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

[data-theme="light"] .tracker-box {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .tracker-box::before,
[data-theme="light"] .tracker-box::after {
  display: none !important;
}

.tracker-info h3 {
  font-family: var(--fd);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 6px;
}

.tracker-info p {
  color: var(--tx2);
  font-size: 0.92rem;
}

.tracker-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  max-width: 620px;
}

@media (max-width: 768px) {
  .tracker-box {
    padding: 30px 20px;
  }
  .tracker-form {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    align-items: stretch;
    gap: 10px;
  }
  .tracker-input {
    width: 100%;
    min-width: 0;
  }
  .tracker-form .btn {
    width: 100%;
    justify-content: center;
  }
}

.tracker-input {
  flex: 1;
  min-width: 200px;
  height: 50px;
  padding: 0 18px;
  background: var(--s2);
  border: 1px solid var(--bd);
  border-radius: 4px;
  color: var(--tx);
  font-family: var(--fm);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.tracker-input:focus {
  border-color: var(--az);
  box-shadow: 0 0 0 4px var(--glow);
  outline: none;
}

/* ───────────────────────────────────────────────
   FOOTER
   ─────────────────────────────────────────────── */
.site-footer {
  background: #020202;
  border-top: 1px solid var(--bd);
  padding: 80px 0 40px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--az), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--tx2);
  font-size: 0.9rem;
  margin: 16px 0 20px;
  max-width: 300px;
}

.footer-title {
  font-family: var(--fd);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 20px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  inset-inline-start: 0;
  width: 24px;
  height: 2px;
  background: var(--az);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: var(--tx2);
  font-size: 0.9rem;
  transition: color var(--trans);
}

.footer-links a:hover {
  color: var(--az);
  padding-inline-start: 4px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--bd);
  font-size: 0.85rem;
  color: var(--tx3);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Light Theme Luxury Footer */
[data-theme="light"] .site-footer {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .site-footer::before {
  background: linear-gradient(90deg, transparent, rgba(29, 78, 216, 0.35), transparent);
}

[data-theme="light"] .footer-brand p {
  color: #475569;
}

[data-theme="light"] .footer-title {
  color: #0F172A;
}

[data-theme="light"] .footer-title::after {
  background: var(--az);
}

[data-theme="light"] .footer-links a {
  color: #475569;
}

[data-theme="light"] .footer-links a:hover {
  color: var(--az);
  padding-inline-start: 4px;
}

[data-theme="light"] .footer-bottom {
  border-top-color: #E2E8F0;
  color: #64748B;
}

[data-theme="light"] .footer-legal-links a {
  color: #64748B;
}

[data-theme="light"] .footer-legal-links a:hover {
  color: var(--az);
}

[data-theme="light"] .footer-social-row a,
[data-theme="light"] .social-btn {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #0F172A;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .footer-social-row a:hover,
[data-theme="light"] .social-btn:hover {
  background: #FFFFFF;
  border-color: var(--az);
  color: var(--az);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.15);
}

/* Toast Messages */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--s3);
  border: 1px solid var(--bdh);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-size: 0.92rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  animation: toastIn 0.25s var(--ease);
}

.toast.success {
  border-color: var(--ok);
  color: var(--ok);
}

.toast.error {
  border-color: var(--err);
  color: var(--err);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ───────────────────────────────────────────────
   SCROLL REVEAL ANIMATIONS (js/animations.js)
   ─────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-reveal="fade-up"] {
  transform: translateY(28px);
}

[data-reveal="fade-down"] {
  transform: translateY(-28px);
}

[data-reveal="fade-left"] {
  transform: translateX(-28px);
}

[data-reveal="fade-right"] {
  transform: translateX(28px);
}

[data-reveal="scale"] {
  transform: scale(0.94);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

[data-reveal-stagger] > [data-reveal]:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-stagger] > [data-reveal]:nth-child(2) { transition-delay: 0.15s; }
[data-reveal-stagger] > [data-reveal]:nth-child(3) { transition-delay: 0.25s; }
[data-reveal-stagger] > [data-reveal]:nth-child(4) { transition-delay: 0.35s; }
[data-reveal-stagger] > [data-reveal]:nth-child(5) { transition-delay: 0.45s; }

@media (max-width: 767px) {
  [data-reveal="fade-left"],
  [data-reveal="fade-right"] {
    transform: translateY(20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   GROHE-INSPIRED SIGNATURE COLLECTION SLIDER
   ───────────────────────────────────────────────────────────── */
.collection-showcase {
  position: relative;
  padding: 85px 0 80px;
  background-color: var(--s1);
  overflow: hidden;
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
}

.collection-showcase::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 10%;
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.08) 0%, rgba(201, 168, 106, 0.04) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: ambientArtisticDrift 16s ease-in-out infinite alternate;
}

[data-theme="light"] .collection-showcase::before {
  background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.06) 0%, rgba(201, 168, 106, 0.08) 45%, transparent 70%);
}

@keyframes ambientArtisticDrift {
  0% {
    transform: translate(-10%, -5%) scale(0.9);
    opacity: 0.45;
  }
  50% {
    transform: translate(25%, 15%) scale(1.15);
    opacity: 0.85;
  }
  100% {
    transform: translate(55%, -8%) scale(1);
    opacity: 0.55;
  }
}

.collection-showcase .container {
  position: relative;
  z-index: 1;
}

[data-theme="light"] .collection-showcase {
  background-color: #F8FAFC;
  border-color: #E2E8F0;
}

.collection-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 36px;
}

.collection-intro {
  max-width: 720px;
}

.collection-lead {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--tx2);
  margin-top: 12px;
}

.collection-controls {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.ctrl-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--bd);
  background: var(--s2);
  color: var(--tx);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--trans);
}

[data-theme="light"] .ctrl-btn {
  background: #FFFFFF;
  border-color: #D3CDC2;
  color: #1A1A1E;
}

.ctrl-btn:hover {
  background: var(--az);
  border-color: var(--az);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--glow);
}

.ctrl-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.collection-track-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
}

.collection-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 12px 4px 20px;
}

.collection-track::-webkit-scrollbar {
  display: none;
}

/* Auto-drift state: unhooks snap so subpixel programmatic drift is silky smooth */
.collection-track.is-auto-drifting {
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}

.collection-card {
  flex: 0 0 310px;
  scroll-snap-align: start;
  background: var(--s2);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
  display: flex;
  flex-direction: column;
}

/* Artistic floating wave when moving autonomously */
@keyframes artisticCardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.collection-track.is-artistic-moving .collection-card {
  animation: artisticCardFloat 5.2s ease-in-out infinite;
  will-change: transform;
}

.collection-track.is-artistic-moving .collection-card:nth-child(1) { animation-delay: 0s; }
.collection-track.is-artistic-moving .collection-card:nth-child(2) { animation-delay: 1.0s; }
.collection-track.is-artistic-moving .collection-card:nth-child(3) { animation-delay: 2.0s; }
.collection-track.is-artistic-moving .collection-card:nth-child(4) { animation-delay: 3.0s; }
.collection-track.is-artistic-moving .collection-card:nth-child(5) { animation-delay: 4.0s; }

/* When mouse enters the track or hovers ANY card: stop the floating wave immediately */
.collection-track:hover .collection-card,
.collection-track.is-paused .collection-card,
.collection-showcase.is-interacted .collection-card {
  animation: none !important;
}

@media (min-width: 1280px) {
  .collection-card {
    flex: 0 0 calc(25% - 18px);
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .collection-card {
    flex: 0 0 calc(45% - 16px);
  }
}

@media (max-width: 768px) {
  .collection-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .collection-controls {
    align-self: flex-end;
  }
  .collection-card {
    flex: 0 0 82%;
    min-width: 260px;
  }
}

.collection-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: var(--bd-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), var(--glow);
  z-index: 3;
}

[data-theme="light"] .collection-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .collection-card:hover {
  border-color: rgba(29, 78, 216, 0.4);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08), 0 0 20px rgba(29, 78, 216, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .collection-showcase::before {
    animation: none !important;
  }
  .collection-track.is-artistic-moving .collection-card {
    animation: none !important;
    transform: none !important;
  }
}

.collection-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.collection-visual-pane {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #000000;
}

.collection-visual-pane picture,
.collection-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.collection-card:hover .collection-img {
  transform: scale(1.06);
}

.collection-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(12, 12, 14, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

[dir="rtl"] .collection-badge-tag {
  left: auto;
  right: 14px;
}

.collection-info-pane {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: var(--s2);
}

[data-theme="light"] .collection-info-pane {
  background: #FFFFFF;
}

[data-theme="light"] .collection-card-title {
  color: #0F172A;
}

[data-theme="light"] .collection-card-desc {
  color: #475569;
}

[data-theme="light"] .collection-badge-tag {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #0F172A;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.collection-brand-sub {
  font-family: var(--fm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--az);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.collection-card-title {
  font-family: var(--fd);
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.collection-card-desc {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--tx2);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.collection-card-action {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--az);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--trans);
}

.collection-card:hover .collection-card-action {
  gap: 10px;
  color: var(--azh);
}

.collection-progress-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  max-width: 280px;
}

.progress-segment {
  height: 3px;
  flex: 1;
  background: var(--bd);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--trans);
}

[data-theme="light"] .progress-segment {
  background: #D3CDC2;
}

.progress-segment.active {
  height: 4px;
  background: var(--az);
  box-shadow: 0 0 10px var(--glow);
}

[dir="rtl"] .collection-controls {
  flex-direction: row-reverse;
}

[dir="rtl"] .collection-card-action i {
  transform: rotate(180deg);
}

[dir="rtl"] .collection-brand-sub {
  letter-spacing: 0;
}

/* ───────────────────────────────────────────────
   REUSABLE UTILITIES & SECTION SPACING (D1, D2)
   ─────────────────────────────────────────────── */
.section--tight {
  padding: 48px 0;
}

.section--alt {
  background: var(--s1);
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
}

.group-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .group-story-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }
}

.group-story-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--bd);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.group-story-card img {
  width: 100%;
  height: auto;
  display: block;
}

.group-story-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(12, 12, 14, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

[dir="rtl"] .group-story-badge {
  right: auto;
  left: 24px;
}

.card-actions-row {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.seal-nerobel--sm {
  margin-bottom: 14px;
  padding: 6px 12px;
}

.seal-nerobel--sm .seal-nerobel-text {
  font-size: 0.75rem;
}

.seal-nerobel--sm .seal-nerobel-logo {
  height: 15px;
}

/* 404 Error Page */
.error-hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.error-code {
  font-family: var(--fd);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--az);
  background: linear-gradient(135deg, #60A5FA 0%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

/* Utility Helpers */
.hero-wa-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity var(--trans);
}

.hero-wa-link:hover {
  opacity: 0.85;
}

.text-wa {
  color: #25D366;
}

.btn-flex {
  flex: 1;
  padding: 8px 14px;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

.drawer-cta-wrap {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--bd);
}

.network-teaser-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.network-teaser-text {
  max-width: 620px;
}

.network-teaser-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social-row a,
.social-btn {
  all: unset;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--s2);
  border: 1px solid var(--bd);
  color: var(--tx2);
  font-size: 1.15rem;
  transition: all var(--trans);
  text-decoration: none;
  box-sizing: border-box;
}

.footer-social-row a:hover,
.social-btn:hover {
  border-color: var(--az);
  color: var(--az);
  background: var(--s3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.footer-social-row a:hover .text-wa,
.social-btn:hover .text-wa {
  color: #25D366;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Brand Deep Dive Layouts (brands.html) */
.brand-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .brand-detail-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
  }
}

.brand-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .brand-features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-mini-card {
  background: var(--s2);
  border: 1px solid var(--bd);
  padding: 18px;
  border-radius: var(--radius-md);
  transition: border-color var(--trans), transform var(--trans);
}

.feature-mini-card:hover {
  border-color: var(--bdh);
  transform: translateY(-2px);
}

.feature-mini-icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.feature-mini-title {
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.feature-mini-desc {
  font-size: 0.85rem;
  color: var(--tx3);
  line-height: 1.45;
}

.brand-showcase-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--bd);
  box-shadow: var(--shadow-lg);
  background: var(--s1);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color var(--trans),
    box-shadow 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand-showcase-frame:hover {
  transform: translateY(-4px);
  border-color: var(--bd-glow);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--glow), 0 18px 48px var(--glow);
}

.brand-showcase-frame picture,
.brand-showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Media wrapper: clips the zoom so only the photo moves, never the panel below */
.brand-showcase-media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.brand-showcase-media img {
  transform-origin: center;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
}

/* Light sheen sweeping across the photo on hover */
.brand-showcase-media::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.09) 50%, transparent 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  z-index: 1;
  transition: left 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand-showcase-frame:hover .brand-showcase-media img {
  transform: scale(1.04);
  filter: brightness(1.05) saturate(1.06);
}

.brand-showcase-frame:hover .brand-showcase-media::after {
  left: 135%;
}

/* Panels docked under the photo (Theros/Pacific simulators, Eurogas article):
   flush, single divider line, no floating gap or double border */
.brand-showcase-frame > .interactive-demo-widget,
.brand-showcase-frame > .brand-article-box {
  margin-top: 0;
  border: 0;
  border-top: 1px solid var(--bd);
  border-radius: 0;
  box-shadow: none;
  padding: 20px 24px 22px;
}

@media (prefers-reduced-motion: reduce) {
  .brand-showcase-frame,
  .brand-showcase-media img,
  .brand-showcase-media::after {
    transition: none;
  }
  .brand-showcase-frame:hover,
  .brand-showcase-frame:hover .brand-showcase-media img {
    transform: none;
  }
}

.btn-actions-wrap {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Network Page Layout (network.html) */
/* Showroom Directory & Map Layout */
.network-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1040px) {
  .network-main-grid {
    grid-template-columns: 1fr 1.08fr;
    gap: 36px;
    align-items: start;
  }
}

.network-map-frame {
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--bd);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: border-color var(--trans), box-shadow var(--trans);
}

@media (min-width: 768px) {
  .network-map-frame {
    height: 480px;
  }
}

@media (min-width: 1040px) {
  .network-map-frame {
    height: calc(100dvh - 150px);
    min-height: 580px;
    max-height: 760px;
    position: sticky;
    top: 104px;
  }
}

.network-map-inner {
  width: 100%;
  height: 100%;
}

/* Directory Header Row */
.directory-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.directory-subtitle {
  font-size: 0.86rem;
  color: var(--tx3);
  margin-top: 4px;
}

.showrooms-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--s2);
  border: 1px solid var(--bd);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--az-text, #60A5FA);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Directory Grid Responsive Layout */
.showrooms-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) and (max-width: 1039px) {
  .showrooms-list-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1040px) {
  .showrooms-list-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* High-End Showroom Card Component */
.showroom-card {
  position: relative;
  background: var(--s2);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: border-color var(--trans), background var(--trans), box-shadow var(--trans), transform var(--trans);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.showroom-card::before {
  content: '';
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 4px;
  background: var(--az);
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transform: scaleY(0.4);
  transition: all var(--trans);
}

.showroom-card:hover {
  border-color: var(--bdh);
  background: var(--s3);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.showroom-card:hover::before {
  opacity: 0.55;
  transform: scaleY(0.85);
}

.showroom-card.is-active {
  border-color: var(--az);
  background: var(--s2);
  box-shadow: 0 0 28px rgba(37, 99, 235, 0.25), 0 10px 30px rgba(0, 0, 0, 0.45);
}

.showroom-card.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

/* Top Meta Row: City + Type + Status */
.showroom-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.showroom-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.showroom-city-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--az);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  line-height: 1.4;
}

.showroom-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--tx2);
  background: var(--s1);
  border: 1px solid var(--bd);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  line-height: 1.4;
  white-space: nowrap;
}

.type-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tx3);
  flex-shrink: 0;
}

.showroom-type--showroom .type-indicator-dot {
  background: var(--az);
  box-shadow: 0 0 6px var(--az);
}

.showroom-type--gsb .type-indicator-dot {
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
}

.showroom-type--distributor .type-indicator-dot {
  background: var(--ok);
  box-shadow: 0 0 6px var(--ok);
}

/* Live Open Status Pulse */
.showroom-status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ok);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--ok-bg);
  border: 1px solid rgba(52, 199, 123, 0.28);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  line-height: 1.4;
}

.live-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52, 199, 123, 0.7);
  animation: showroomPulse 2s infinite;
  flex-shrink: 0;
}

@keyframes showroomPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 199, 123, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(52, 199, 123, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 199, 123, 0);
  }
}

/* Showroom Name & Address */
.showroom-name {
  font-family: var(--fd);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tx);
  line-height: 1.35;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.showroom-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--tx2);
  line-height: 1.45;
  margin: 0 0 14px 0;
}

.showroom-address i {
  color: var(--az);
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Dedicated Brand Chips Row: Flex-Wrap with Clean Spacing */
.showroom-brands-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.brand-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--bd);
  background: var(--s1);
  color: var(--tx2);
  letter-spacing: 0.02em;
  transition: all var(--trans);
  white-space: nowrap;
}

.brand-chip--theros {
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--az);
  background: rgba(37, 99, 235, 0.08);
}

.brand-chip--pacific {
  border-color: rgba(201, 169, 106, 0.35);
  color: var(--gold);
  background: rgba(201, 169, 106, 0.08);
}

.brand-chip--eurogas {
  border-color: rgba(242, 184, 75, 0.35);
  color: var(--warn);
  background: rgba(242, 184, 75, 0.08);
}

.brand-chip--consumertech {
  border-color: rgba(180, 184, 192, 0.35);
  color: var(--tx);
  background: rgba(255, 255, 255, 0.06);
}

/* Meta Strip (Phone & Schedule) */
.showroom-info-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  border-top: 1px solid var(--bd);
  padding-top: 14px;
  margin-bottom: 16px;
}

.showroom-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--tx);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap !important;
  transition: color var(--trans);
}

.showroom-phone-link i {
  color: var(--az);
  font-size: 1rem;
}

.showroom-phone-link:hover {
  color: var(--az);
}

.showroom-hours {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tx3);
  font-size: 0.8rem;
  white-space: nowrap;
}

.showroom-hours i {
  font-size: 0.9rem;
}

/* Actions Row */
.showroom-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}

.btn-showroom-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--trans);
  cursor: pointer;
  white-space: nowrap;
}

.btn-showroom-gps {
  background: var(--s1);
  border: 1px solid var(--bd);
  color: var(--tx);
}

.btn-showroom-gps:hover {
  border-color: var(--az);
  background: rgba(37, 99, 235, 0.12);
  color: var(--az);
}

.btn-showroom-wa {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25D366;
}

.btn-showroom-wa:hover {
  background: #25D366;
  border-color: #25D366;
  color: #050505;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

/* Empty State */
.showrooms-empty-state {
  padding: 48px 24px;
  text-align: center;
  background: var(--s2);
  border: 1px dashed var(--bd);
  border-radius: var(--radius-md);
  color: var(--tx2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.showrooms-empty-state i {
  font-size: 2.2rem;
  color: var(--tx3);
}

.showrooms-empty-state p {
  font-size: 0.95rem;
  margin: 0;
}

/* Leaflet Custom Popup Styling */
.leaflet-popup-content-wrapper {
  background: var(--s2) !important;
  color: var(--tx) !important;
  border: 1px solid var(--bd) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 4px !important;
}

.leaflet-popup-tip {
  background: var(--s2) !important;
  border: 1px solid var(--bd) !important;
}

.leaflet-popup-content {
  margin: 12px 14px !important;
  line-height: 1.4 !important;
}

.leaflet-container a.leaflet-popup-close-button {
  color: var(--tx2) !important;
  padding: 8px 8px 0 0 !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  color: var(--tx) !important;
}

.leaflet-showroom-popup {
  padding: 2px 0;
  font-family: var(--fb);
}

.popup-type-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.popup-title {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--tx);
  line-height: 1.3;
  margin: 0 0 6px 0;
}

.popup-address {
  font-size: 0.8rem;
  color: var(--tx2);
  line-height: 1.35;
  margin: 0 0 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.popup-address i {
  color: var(--az);
  flex-shrink: 0;
  margin-top: 2px;
}

.popup-phone {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--az);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.popup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--trans);
  white-space: nowrap;
}

.popup-btn--gps {
  background: var(--s1);
  border: 1px solid var(--bd);
  color: var(--tx);
}

.popup-btn--gps:hover {
  border-color: var(--az);
  color: var(--az);
}

.popup-btn--wa {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25D366;
}

.popup-btn--wa:hover {
  background: #25D366;
  color: #050505;
}

/* Light Theme Overrides */
[data-theme="light"] .showroom-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .showroom-card:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .showroom-card.is-active {
  background: #FFFFFF;
  border-color: var(--az);
  box-shadow: 0 0 0 1px var(--az), 0 10px 28px rgba(29, 78, 216, 0.12);
}

[data-theme="light"] .brand-chip--consumertech {
  color: var(--tx);
  background: rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .btn-showroom-wa {
  color: #15803D;
  background: rgba(22, 163, 74, 0.1);
  border-color: rgba(22, 163, 74, 0.3);
}

[data-theme="light"] .btn-showroom-wa:hover {
  background: #16A34A;
  border-color: #16A34A;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
}

[data-theme="light"] .leaflet-popup-content-wrapper {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border-color: var(--bd) !important;
}

[data-theme="light"] .leaflet-popup-tip {
  background: #FFFFFF !important;
}

[data-theme="light"] .popup-title {
  color: #0F172A;
}

[data-theme="light"] .popup-address {
  color: #475569;
}

[data-theme="light"] .popup-btn--wa {
  color: #15803D;
  background: rgba(22, 163, 74, 0.12);
  border-color: rgba(22, 163, 74, 0.35);
}

[data-theme="light"] .popup-btn--wa:hover {
  background: #16A34A;
  color: #FFFFFF;
}

[data-theme="light"] .leaflet-container a.leaflet-popup-close-button {
  color: #64748B !important;
}

[data-theme="light"] .leaflet-container a.leaflet-popup-close-button:hover {
  color: #0F172A !important;
}

/* Directory Filters Console - Strict Single-Row Horizontal Architecture */
.filters-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: var(--s2);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  align-items: end;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .filters-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
  }
}

@media (min-width: 1024px) {
  .filters-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.filter-group label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tx3);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-select-city,
.filter-select-brand,
.filter-group select {
  width: 100%;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  padding: 0 14px;
  background: var(--s1);
  border: 1px solid var(--bd);
  border-radius: var(--radius-sm);
  color: var(--tx);
  font-family: var(--fb);
  font-size: 0.94rem;
  font-weight: 500;
  transition: border-color var(--trans), box-shadow var(--trans);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' 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 14px center;
  padding-right: 36px;
}

[dir="rtl"] .filter-select-city,
[dir="rtl"] .filter-select-brand,
[dir="rtl"] .filter-group select {
  background-position: left 14px center;
  padding-right: 14px;
  padding-left: 36px;
}

.filter-group select:hover {
  border-color: var(--bdh);
}

.filter-group select:focus {
  outline: none;
  border-color: var(--az);
  box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.15);
}

.filter-group .btn-nearby {
  width: 100%;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
}

/* ───────────────────────────────────────────────
   GLOBAL FORM SYSTEM & INPUT CONTROLS
   Black & White Luxury with Electric Pro-Blue Accents
   ─────────────────────────────────────────────── */

.form-group {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--fb);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tx);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  transition: color var(--trans);
}

.form-label .form-label-hint {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--tx3);
}

[dir="rtl"] .form-label .form-label-hint {
  margin-left: 0;
  margin-right: auto;
}

.form-group:focus-within > .form-label {
  color: var(--az);
}

.form-label .req,
.form-label span.req,
.req {
  color: var(--az);
  font-weight: 700;
  margin-inline-start: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--fb);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--tx);
  background: var(--s2);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 0 16px;
  outline: none;
  transition: border-color var(--trans), background var(--trans), box-shadow var(--trans);
  -webkit-font-smoothing: antialiased;
}

.form-input,
.form-select {
  height: 52px;
  line-height: 50px;
}

.form-textarea {
  height: 120px;
  min-height: 100px;
  padding: 14px 16px;
  line-height: 1.55;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--tx3);
  opacity: 0.75;
  font-weight: 400;
  font-size: 0.90rem;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--bdh);
  background: var(--s3);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--az);
  background: var(--s2);
  box-shadow: 0 0 0 3px var(--glow), 0 0 20px rgba(37, 99, 235, 0.15);
  outline: none;
}

/* Custom Select Dropdown with Electric Cyan Chevron */
.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 44px;
  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='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px 18px;
}

.form-select:focus {
  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='%235BB4F0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.form-select option {
  background: #141417;
  color: #FFFFFF;
  padding: 12px 14px;
  font-weight: 500;
}

[dir="rtl"] .form-select {
  background-position: left 16px center;
  padding-right: 16px;
  padding-left: 44px;
}

/* Validation & Feedback States */
.form-input.has-error,
.form-select.has-error,
.form-textarea.has-error {
  border-color: var(--err);
  box-shadow: 0 0 0 3px var(--err-bg);
}

.field-error-msg {
  display: none;
  align-items: center;
  gap: 6px;
  color: var(--err);
  font-size: 0.82rem;
  margin-top: 6px;
  font-weight: 500;
}

.has-error + .field-error-msg,
.field-error-msg.visible {
  display: flex;
}

/* Light Theme Overrides for Form Controls */
[data-theme="light"] .form-label {
  color: #0F172A;
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #0F172A;
}

[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder {
  color: #94A3B8;
}

[data-theme="light"] .form-input:hover,
[data-theme="light"] .form-select:hover,
[data-theme="light"] .form-textarea:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] .form-textarea:focus {
  background: #FFFFFF;
  border-color: var(--az);
  box-shadow: 0 0 0 3px var(--glow), 0 0 16px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .form-select option {
  background: #FFFFFF;
  color: #0F172A;
}

/* Utility Accent Colors */
.text-az { color: var(--az-text, #60A5FA) !important; }
.text-gold { color: var(--gold) !important; }
.text-ok { color: var(--ok) !important; }
.text-wa { color: var(--wa) !important; }
.text-warn { color: var(--warn) !important; }
.text-err { color: var(--err) !important; }

/* B2B Page Layout (b2b.html) */
.b2b-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.b2b-form-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--s1);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--shadow-md), 0 20px 50px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.b2b-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--az) 30%, var(--gold) 70%, transparent);
  opacity: 0.9;
}

@media (max-width: 640px) {
  .b2b-form-card {
    padding: 28px 20px;
  }
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .form-row-2col {
    grid-template-columns: 1fr 1fr;
  }
}

.b2b-form-card .card-title {
  font-family: var(--fd);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--tx);
}

.b2b-form-card .section-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--tx2);
  margin-bottom: 28px;
}

.b2b-form-card .btn-primary.btn-block {
  margin-top: 26px;
  height: 52px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.b2b-trust-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2.5vw, 28px);
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--bd);
}

.b2b-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tx2);
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--trans), transform var(--trans);
}

.b2b-trust-item:hover {
  color: var(--tx);
  transform: translateY(-1px);
}

.b2b-trust-item i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

[data-theme="light"] .b2b-form-card {
  background: #FFFFFF;
  border-color: var(--bd);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.05);
}

/* Contact Page Layout (contact.html) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 44px;
    align-items: start;
  }
}

.contact-card-info {
  background: var(--s2);
  border: 1px solid var(--bd);
  padding: 32px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.contact-info-list {
  display: grid;
  gap: 14px;
  font-size: 0.92rem;
  margin: 20px 0 24px;
}

.contact-wa-box {
  background: rgba(37, 211, 102, 0.10);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-form-card {
  background: var(--s1);
  border: 1px solid var(--bd);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), 0 20px 50px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--az) 30%, var(--gold) 70%, transparent);
  opacity: 0.9;
}

.contact-form-card .btn-primary.btn-block {
  margin-top: 26px;
  height: 52px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .contact-form-card {
  background: #FFFFFF;
  border-color: var(--bd);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.05);
}

.brand-detail-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(12, 12, 14, 0.85);
  border: 1px solid var(--bd);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  margin-bottom: 18px;
}

.brand-detail-badge img {
  height: 22px;
  width: auto;
  display: block;
}

/* ───────────────────────────────────────────────
   INTERACTIVE PRODUCT VISUALIZERS & DEMONSTRATORS
   ─────────────────────────────────────────────── */

.interactive-demo-widget {
  background: var(--s2);
  border: 1px solid var(--bd-glow);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}

.demo-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bd);
}

.demo-widget-title {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tx);
}

.demo-widget-badge {
  font-size: 0.72rem;
  font-family: var(--fm);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.12);
  color: var(--az-text, #60A5FA);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

/* Theros Wi-Fi Sim */
.theros-temp-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 4px 0 6px;
}

.theros-temp-val {
  font-family: var(--fd);
  font-size: 3rem;
  font-weight: 800;
  color: var(--az);
  line-height: 1;
}

.theros-temp-unit {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--tx3);
}

.theros-slider-wrap {
  margin: 14px 0 0;
}

.theros-slider {
  width: 100%;
  accent-color: var(--az);
  cursor: pointer;
  height: 6px;
  background: var(--s3);
  border-radius: 4px;
}

.theros-power-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 0;
}

.power-mode-btn {
  background: var(--s1);
  border: 1px solid var(--bd);
  color: var(--tx2);
  font-size: 0.84rem;
  padding: 10px 8px;
  min-height: var(--tap-target-min, 48px);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--trans);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.power-mode-btn.active {
  background: rgba(37, 99, 235, 0.15);
  border-color: var(--az);
  color: var(--az-text, #60A5FA);
  font-weight: 600;
}

.theros-status-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--bd);
  padding: 12px 16px;
  min-height: var(--tap-target-min, 48px);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--tx2);
  margin-top: 14px;
  gap: 12px;
}

.theros-status-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.theros-status-item i {
  font-size: 1.15rem;
  color: var(--az-text, #60A5FA);
}

.theros-status-item strong {
  color: var(--tx);
  font-weight: 600;
}

/* Pacific Orientation Toggle */
.pacific-toggle-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.pacific-mode-btn {
  flex: 1;
  background: var(--s1);
  border: 1px solid var(--bd);
  padding: 12px 14px;
  min-height: var(--tap-target-min, 48px);
  border-radius: var(--radius-sm);
  color: var(--tx2);
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--trans);
}

.pacific-mode-btn.active {
  background: rgba(37, 99, 235, 0.15);
  border-color: var(--az);
  color: var(--tx);
  font-weight: 600;
}

.pacific-diagram-box {
  background: rgba(0,0,0,0.35);
  border: 1px dashed var(--bd);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all 0.4s ease;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pacific-tank-visual {
  width: 140px;
  height: 60px;
  background: linear-gradient(90deg, #1f2838, #2a374c);
  border: 2px solid var(--az);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(34, 195, 230, 0.25);
  position: relative;
}

.pacific-tank-visual.vertical {
  width: 60px;
  height: 140px;
  flex-direction: column;
}

.pacific-port {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.pacific-port.hot { background: #ff4757; box-shadow: 0 0 8px #ff4757; }
.pacific-port.cold { background: #2ed573; box-shadow: 0 0 8px #2ed573; }

/* Light Theme Interactive Simulators */
[data-theme="light"] .interactive-demo-widget {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .demo-widget-header {
  border-bottom-color: #E2E8F0;
}

[data-theme="light"] .demo-widget-title {
  color: #0F172A;
}

[data-theme="light"] .demo-widget-badge {
  background: rgba(29, 78, 216, 0.08);
  border-color: rgba(29, 78, 216, 0.25);
  color: #1D4ED8;
}

[data-theme="light"] .theros-temp-val {
  color: #1D4ED8;
}

[data-theme="light"] .theros-slider {
  background: #E2E8F0;
}

[data-theme="light"] .power-mode-btn {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #475569;
}

[data-theme="light"] .power-mode-btn:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A;
}

[data-theme="light"] .power-mode-btn.active {
  background: rgba(29, 78, 216, 0.1);
  border-color: #1D4ED8;
  color: #1D4ED8;
}

[data-theme="light"] .theros-status-strip {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #475569;
}

[data-theme="light"] .theros-status-item i {
  color: #1D4ED8;
}

[data-theme="light"] .theros-status-item strong {
  color: #0F172A;
}

[data-theme="light"] .pacific-mode-btn {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #475569;
}

[data-theme="light"] .pacific-mode-btn:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A;
}

[data-theme="light"] .pacific-mode-btn.active {
  background: rgba(29, 78, 216, 0.1);
  border-color: #1D4ED8;
  color: #1D4ED8;
}

[data-theme="light"] .pacific-diagram-box {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

[data-theme="light"] .pacific-tank-visual {
  background: linear-gradient(90deg, #E2E8F0, #F1F5F9);
  border-color: #1D4ED8;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.15);
}

.pacific-spec-tag {
  font-size: 0.82rem;
  color: var(--tx2);
  margin-top: 14px;
}

/* Eurogas Featured Concrete Article Box */
.brand-article-box {
  background: var(--s2);
  border-top: 1px solid var(--bd);
  padding: 24px;
  position: relative;
}

.article-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.article-topic-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-family: var(--fm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ok);
  background: rgba(52, 199, 123, 0.1);
  border: 1px solid rgba(52, 199, 123, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.article-read-badge {
  font-size: 0.76rem;
  color: var(--tx3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-headline {
  font-family: var(--fd);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tx);
  line-height: 1.35;
  margin-bottom: 10px;
}

.article-summary {
  font-size: 0.88rem;
  color: var(--tx2);
  line-height: 1.55;
  margin-bottom: 16px;
}

.article-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: var(--s1);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--tx);
  line-height: 1.45;
}

.highlight-item i {
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.article-footer-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.btn-outline-eurogas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: rgba(52, 199, 123, 0.12);
  border: 1px solid var(--ok);
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--trans);
}

.btn-outline-eurogas:hover {
  background: var(--ok);
  color: #050505;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(52, 199, 123, 0.35);
}

[data-theme="light"] .brand-article-box {
  background: #FFFFFF;
  border-top-color: #E2E8F0;
}

[data-theme="light"] .article-highlights-list {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

[data-theme="light"] .btn-outline-eurogas {
  background: rgba(16, 185, 129, 0.1);
  color: #065F46;
  border-color: #10B981;
}

[data-theme="light"] .btn-outline-eurogas:hover {
  background: #10B981;
  color: #FFFFFF;
}

/* Nerobel Consumer Tech Grid */
.tech-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.tech-product-card {
  background: var(--s1);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}

.tech-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--bd-glow);
  box-shadow: 0 16px 36px rgba(0,0,0,0.5), var(--glow);
}

.tech-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tech-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: grid;
  place-items: center;
  color: var(--az);
  font-size: 1.35rem;
}

.tech-card-badge {
  font-size: 0.72rem;
  font-family: var(--fm);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.tech-card-title {
  font-family: var(--fd);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 8px;
}

.tech-card-desc {
  font-size: 0.88rem;
  color: var(--tx2);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.tech-specs-list {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px;
  background: var(--s2);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--tx2);
}

.tech-specs-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  padding-bottom: 4px;
}
.tech-specs-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ───────────────────────────────────────────────
   SAV HUB TABS & EXTENDED TOOLS (sav.html)
   ─────────────────────────────────────────────── */
/* SAV Hub Tabs - Engineered Segmented Control (Strict Single Baseline) */
.sav-tabs-container {
  position: relative;
  z-index: 20;
  margin-top: -26px;
  margin-bottom: 28px;
  padding: 0 16px;
}

.sav-mode-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
  max-width: 720px;
  background: var(--s2);
  border: 1px solid var(--bd);
  border-radius: 6px;
  padding: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

[data-theme="light"] .sav-mode-tabs {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.sav-mode-tabs::-webkit-scrollbar {
  display: none;
}

.sav-tab-btn {
  flex: 1 1 0;
  min-width: 0;
  background: transparent;
  border: 1px solid transparent;
  color: var(--tx2);
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--trans);
  white-space: nowrap;
}

.sav-tab-btn:hover {
  background: var(--s3);
  color: var(--tx);
  border-color: var(--bdh);
}

[data-theme="light"] .sav-tab-btn {
  color: #4A5568;
}

[data-theme="light"] .sav-tab-btn:hover {
  background: #EDF2F7;
  color: #1A202C;
  border-color: rgba(0, 0, 0, 0.15);
}

.sav-tab-btn.active {
  background: #FFFFFF;
  color: #08080A;
  border-color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  font-weight: 700;
}

[data-theme="light"] .sav-tab-btn.active {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.tab-label-mobile {
  display: none;
}

@media (max-width: 768px) {
  .sav-tabs-container {
    margin-top: -22px;
    margin-bottom: 20px;
    padding: 0 12px;
  }
  .sav-mode-tabs {
    padding: 5px;
    gap: 6px;
  }
  .sav-tab-btn {
    padding: 9px 12px;
    font-size: 0.80rem;
    gap: 6px;
  }
}

@media (max-width: 600px) {
  .sav-tab-btn {
    padding: 9px 8px;
    font-size: 0.76rem;
    gap: 5px;
  }
  .tab-label-desktop {
    display: none;
  }
  .tab-label-mobile {
    display: inline;
  }
}

.sav-panel {
  display: none;
}
.sav-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Nexenflow Live Tracker Panel */
.sav-panel .tracker-box {
  background: var(--s1);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 820px;
  margin: 0 auto;
  display: block;
}

.tracker-search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.timeline-tracker {
  position: relative;
  padding-left: 32px;
  margin-top: 32px;
}

[dir="rtl"] .timeline-tracker {
  padding-left: 0;
  padding-right: 32px;
}

.timeline-tracker::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 11px;
  width: 2px;
  background: var(--bd);
}

[dir="rtl"] .timeline-tracker::before {
  left: auto;
  right: 11px;
}

.timeline-step {
  position: relative;
  margin-bottom: 28px;
}
.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step-dot {
  position: absolute;
  left: -32px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--s2);
  border: 2px solid var(--bd);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: var(--tx3);
}

[dir="rtl"] .timeline-step-dot {
  left: auto;
  right: -32px;
}

.timeline-step.completed .timeline-step-dot {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}

.timeline-step.current .timeline-step-dot {
  background: var(--az);
  border-color: var(--az);
  color: #fff;
  box-shadow: 0 0 12px var(--az);
}

.timeline-step-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 4px;
}

.timeline-step-desc {
  font-size: 0.85rem;
  color: var(--tx2);
  line-height: 1.45;
}

/* Certified Warranty Certificate Badge */
.warranty-cert-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(18, 24, 36, 0.95));
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  max-width: 680px;
  margin: 32px auto 0;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 24px rgba(212, 175, 55, 0.15);
}

.cert-gold-seal {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 2rem;
}

/* ───────────────────────────────────────────────
   B2B DOWNLOAD CENTER & PROJECT CALCULATOR
   ─────────────────────────────────────────────── */
.tech-downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 32px 0 56px;
}

.doc-download-card {
  background: var(--s1);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: all var(--trans);
}

.doc-download-card:hover {
  background: var(--s2);
  border-color: var(--az);
  transform: translateY(-2px);
}

.doc-download-icon {
  font-size: 2rem;
  color: #ff4757;
}

.doc-meta-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 2px;
}

.doc-meta-sub {
  font-size: 0.76rem;
  color: var(--tx3);
}

/* ───────────────────────────────────────────────
   MOBILE STICKY ACTION BAR (MOROCCO OS CONCIERGE)
   ─────────────────────────────────────────────── */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 13, 18, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--bd);
  z-index: 999;
  padding: 8px 12px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  body {
    padding-bottom: 68px; /* avoid overlap */
  }
}

.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--tx2);
  padding: 6px 2px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  min-height: 48px; /* touch target */
  gap: 4px;
}

.mobile-bar-btn i {
  font-size: 1.25rem;
}

.mobile-bar-btn.wa-highlight {
  color: #25d366;
}

.mobile-bar-btn.sav-highlight {
  color: var(--az);
}

/* Light Mode Mobile Action Bar */
[data-theme="light"] .mobile-sticky-bar {
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid #E2E8F0;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .mobile-bar-btn {
  color: #475569;
}

[data-theme="light"] .mobile-bar-btn:hover,
[data-theme="light"] .mobile-bar-btn:active {
  color: var(--az);
  background: rgba(29, 78, 216, 0.06);
}

[data-theme="light"] .mobile-bar-btn.wa-highlight {
  color: #16A34A;
}

[data-theme="light"] .mobile-bar-btn.sav-highlight {
  color: var(--az);
}








/* ───────────────────────────────────────────────
   BRANDS PAGE · DENSITY PASS (brands.html only)
   Tighter vertical rhythm, no stacked margins, no
   orphan gaps between copy, cards and visuals.
   ─────────────────────────────────────────────── */
.brands-page .page-hero {
  padding: 44px 0 36px;
}

.brands-page .section {
  padding: 60px 0;
}

.brands-page .section-header {
  margin-bottom: 32px;
}

.brands-page .section-header .section-title {
  margin: 10px 0 12px;
}

.brands-page .brand-detail-grid {
  gap: 36px;
}

@media (min-width: 960px) {
  .brands-page .brand-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.brands-page .brand-detail-badge {
  margin-bottom: 14px;
}

.brands-page .brand-detail-title {
  margin-bottom: 12px;
}

/* Copy was touching the feature cards (no bottom margin) */
.brands-page .brand-detail-grid .section-desc {
  margin-bottom: 20px;
}

.brands-page .brand-features-grid {
  gap: 14px;
  margin-bottom: 20px;
}

.brands-page .feature-mini-card {
  padding: 16px;
}

.brands-page .seal-nerobel--sm {
  margin-bottom: 18px;
}

.brands-page .text-center {
  text-align: center;
}

/* Simulator controls: real hover feedback, not just the active state */
.brands-page .power-mode-btn:hover:not(.active),
.brands-page .pacific-mode-btn:hover:not(.active) {
  border-color: var(--bdh);
  color: var(--tx);
  background: var(--s3);
}

.brands-page .pacific-toggle-wrap {
  margin-bottom: 14px;
}

.brands-page .pacific-diagram-box {
  padding: 18px;
  min-height: 0;
}

/* Banner + product grid: one clean gap instead of 32px + 36px stacked */
.brands-page .tech-products-grid {
  margin-top: 28px;
  gap: 20px;
}

@media (max-width: 959px) {
  /* Consistent copy-first reading order on tablet/mobile */
  .brands-page #pacific .brand-showcase-frame {
    order: 2;
  }
}

@media (max-width: 768px) {
  .brands-page .page-hero {
    padding: 32px 0 28px;
  }

  .brands-page .section {
    padding: 44px 0;
  }

  .brands-page .brand-detail-grid {
    gap: 28px;
  }

  .brands-page .brand-showcase-frame > .interactive-demo-widget,
  .brands-page .brand-showcase-frame > .brand-article-box {
    padding: 16px;
  }

  .brands-page .theros-status-strip {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .brands-page .btn-actions-wrap .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* ─────────────────────────────────────────────────────────────
   LEGAL PAGES & FORM CONSENT (S0-08)
   ───────────────────────────────────────────────────────────── */
.form-consent-group {
  margin-top: 8px;
  margin-bottom: 22px;
}

.form-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--tx2);
  cursor: pointer;
}

.form-consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--az);
  cursor: pointer;
}

.form-consent-label a {
  color: var(--az-text, #60A5FA);
  text-decoration: underline;
}

[data-theme="light"] .form-consent-label a {
  color: var(--az, #1D4ED8);
}

.form-input.has-error,
.form-select.has-error,
.form-textarea.has-error {
  border-color: var(--err);
}

.field-error-msg {
  display: none;
  align-items: center;
  gap: 6px;
  color: var(--err);
  font-size: 0.82rem;
  margin-top: 6px;
}

.has-error + .field-error-msg,
.field-error-msg.visible {
  display: flex;
}

.legal-doc-card {
  background: var(--s1);
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.legal-section h2.card-title {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.legal-list {
  list-style: disc;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--tx2);
  font-size: 0.94rem;
  line-height: 1.6;
}

