/* ==========================================================
   SALION INSTRUMENTS — Style System v6.0
   Professional European-American Industrial Design
   Fully aligned with backend API
   ========================================================== */

/* ---------- DESIGN TOKENS ---------- */
:root {
  --navy:       #0b1a30;
  --navy-light: #132b4a;
  --navy-mid:   #1a3a5c;
  --navy-dark:  #071324;
  --accent:     #ce3a2a;
  --accent-hov: #b52e1e;
  --accent-glow: rgba(206,58,42,0.25);
  --gold:       #d4a84b;
  --gold-light: #e8c96a;
  --white:      #ffffff;
  --off-white:  #f5f7fa;
  --gray-100:   #eef1f5;
  --gray-200:   #dce1e8;
  --gray-300:   #b0b8c5;
  --gray-400:   #808a9a;
  --gray-500:   #5a6476;
  --text-body:  #2c3e50;
  --text-muted: #7f8c9b;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.3s cubic-bezier(0.16,1,0.3,1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- UTILITIES ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin: 0 auto 48px;
  text-align: center;
}
.text-center { text-align: center; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11,26,48,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(11,26,48,0.96);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-page-title {
  display: none;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  padding: 0 12px;
}
@media (max-width: 768px) {
  .nav-page-title { max-width: 100px; font-size: 12px; }
}
.nav-logo { text-decoration: none; }
.nav-logo .brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: contain;
}
.nav-logo .brand-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}
.nav-logo .brand-underline {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-right { display: flex; align-items: center; gap: 16px; }

/* Language Selector */
.lang-selector { position: relative; }
.lang-current {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}
.lang-current:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 4px;
  display: none;
  z-index: 100;
  overflow: hidden;
}
.lang-dropdown.open { display: block; }
.lang-dropdown li {
  display: block;
  font-size: 13px;
  color: var(--text-body);
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
}
.lang-dropdown li:hover { background: var(--gray-100); color: var(--accent); }

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
  padding: 4px;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy);
    padding: 12px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-link { width: 100%; padding: 10px 16px; }
  .mobile-toggle { display: block; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #d94a38);
  color: var(--white);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hov), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}
.btn-sm { font-size: 13px; padding: 8px 18px; }
.btn-whatsapp {
  background: #25D366;
  color: white;
  gap: 10px;
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }

/* ==========================================================
   HERO SECTION — Dark Industrial Luxury
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ---- Ambient background layers ---- */
.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
}
.hero-glow-top {
  position: absolute;
  top: -20%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(206,58,42,0.10) 0%, transparent 55%);
  pointer-events: none;
  animation: heroGlowPulse 8s ease-in-out infinite alternate;
}
.hero-glow-bottom {
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(212,168,75,0.06) 0%, transparent 55%);
  pointer-events: none;
  animation: heroGlowPulse 10s ease-in-out infinite alternate-reverse;
}
@keyframes heroGlowPulse {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.08); }
}

/* ---- Layout ---- */
.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  margin: 0 auto;
}

/* ---- Left: text ---- */
.hero-text {
  text-align: left;
  max-width: 560px;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: linear-gradient(135deg, rgba(212,168,75,0.08) 0%, rgba(212,168,75,0.02) 100%);
  border: 1px solid rgba(212,168,75,0.15);
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-tagline-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: heroDotPulse 2s ease-in-out infinite;
}
@keyframes heroDotPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}
.hero-headline {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -0.75px;
}
.hero-headline br { display: none; }
@media (min-width: 640px) {
  .hero-headline br { display: inline; }
}
.hero-description {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 470px;
}

/* ---- Buttons ---- */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent) 0%, #b83120 100%);
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 4px 24px rgba(206,58,42,0.35);
  position: relative;
  overflow: hidden;
}
.btn-hero-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(206,58,42,0.45);
}
.btn-hero-primary:active {
  transform: translateY(0);
}
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.btn-hero-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.04);
}

/* ---- Trust indicators ---- */
.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.hero-trust-item svg { flex-shrink: 0; }

/* ---- Certification badges ---- */
.hero-certs {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-cert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}
.hero-cert:hover {
  color: var(--gold-light);
  border-color: rgba(212,168,75,0.2);
  background: rgba(212,168,75,0.06);
}
.hero-cert svg { flex-shrink: 0; }

/* ---- Scroll hint ---- */
.hero-scroll-hint {
  position: absolute;
  bottom: -40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: heroScrollBounce 2.5s ease-in-out infinite;
}
.hero-scroll-mouse {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero-scroll-wheel {
  width: 2px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
  animation: heroWheel 2s ease-in-out infinite;
}
@keyframes heroWheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(6px); opacity: 0.3; }
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-top: 80px;
  }
  .hero-text {
    max-width: 100%;
    text-align: center;
  }
  .hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .hero-scroll-hint { display: none; }
}
@media (max-width: 640px) {
  .hero-headline {
    font-size: 34px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-trust {
    gap: 16px;
  }
  .hero-trust-item {
    font-size: 11px;
  }
}

/* ==========================================================
   PRODUCT CATEGORIES — Card with Real Images
   ========================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
  color: inherit;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.cat-card-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--gray-100);
}
.cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.cat-card:hover .cat-card-img { transform: scale(1.08); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,26,48,0.85) 100%);
}
.cat-card-body {
  padding: 20px;
  position: relative;
}
.cat-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.cat-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}
.cat-card-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.cat-card:hover .cat-card-arrow { opacity: 1; right: 16px; }

/* ==========================================================
   FEATURED PRODUCTS
   ========================================================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card-img-wrap {
  position: relative;
  height: 220px;
  background: var(--gray-100);
  overflow: hidden;
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.product-card-img-wrap .product-card-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
}
.product-card-initial {
  font-size: 48px;
  font-weight: 800;
  color: rgba(255,255,255,0.15);
  letter-spacing: 2px;
  user-select: none;
}
.product-card:hover .product-card-img { transform: scale(1.06); }
.product-card-body { padding: 20px; }
.product-card-model {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.product-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.product-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-footer {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-top: 1px solid var(--gray-100);
}
.product-card-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

/* ==========================================================
   ABOUT SECTION — Remove Image, Keep Text + Stats
   ========================================================== */
.about-text-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.about-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 48px;
}
.about-text p {
  margin-bottom: 16px;
}
/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.stat-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================
   ABOUT — Features Grid (Certifications & Endorsements)
   ========================================================== */
.about-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.about-feature-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.about-feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.about-feature-card .feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(192,57,43,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--accent);
}
.about-feature-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.about-feature-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================
   ABOUT — Stat Boxes
   ========================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.stat-box { text-align: center; padding: 24px 12px; background: var(--white); border-radius: var(--radius-md); box-shadow: 0 4px 12px rgba(15,35,64,0.06); border: 1px solid rgba(0,0,0,0.04); }
.stat-number { font-size: 32px; font-weight: 800; color: var(--accent); line-height: 1.2; margin-bottom: 4px; }
.stat-label { font-size: 13px; font-weight: 600; color: var(--navy-dark); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-desc { font-size: 12px; color: var(--gray-400); }

/* ==========================================================
   TEAM SECTION
   ========================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  text-align: center;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}
.team-card-avatar {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-light);
}
.team-card-body {
  padding: 18px 16px 22px;
}
.team-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 3px;
}
.team-card-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.team-card-bio {
  font-size: 12px;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ==========================================================
   MEDIA CENTER
   ========================================================== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.media-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
  color: inherit;
}
.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.media-card-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--navy);
}
.media-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.media-card:hover .media-card-thumb img { transform: scale(1.06); }
.media-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(206,58,42,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.media-card:hover .media-play-badge { transform: translate(-50%,-50%) scale(1.1); }
.media-play-badge svg { width: 22px; height: 22px; fill: white; margin-left: 3px; }
.media-card-body { padding: 16px 20px; }
.media-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.media-card-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================
   MEDIA DETAIL PAGE (2nd level)
   ========================================================== */
.media-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}
.media-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 32px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.media-detail-back:hover {
  background: var(--gray-100);
  color: var(--navy);
}
.media-detail-header {
  margin-bottom: 32px;
}
.media-detail-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.media-detail-date {
  font-size: 13px;
  color: var(--text-muted);
}
.media-detail-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 32px;
}
.media-detail-player video,
.media-detail-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-detail-player .play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(206,58,42,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.media-detail-player .play-btn-overlay:hover {
  transform: translate(-50%,-50%) scale(1.1);
}
.media-detail-player .play-btn-overlay svg { width: 28px; height: 28px; fill: white; margin-left: 4px; }
.media-detail-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
}

/* ==========================================================
   CATEGORY DETAIL PAGE (2nd level)
   ========================================================== */
.category-detail {
  padding: 40px 0;
}
.category-detail-header {
  text-align: center;
  margin-bottom: 48px;
}
.category-detail-footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.category-detail-hero {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}
.category-detail-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.category-detail-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}
.products-in-cat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ==========================================================
   PRODUCT DETAIL PAGE (3rd level)
   ========================================================== */
.product-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}
.product-detail-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 48px;
}
.product-detail-gallery {
  max-width: 500px;
}
.product-detail-gallery {
  position: relative;
}
.product-detail-main-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px;
}
.product-detail-info {}
.product-detail-model {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.product-detail-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 16px;
}
.product-detail-brief {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.product-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.product-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.product-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--gray-100);
  color: var(--text-muted);
}
.product-tag.accent { background: rgba(206,58,42,0.08); color: var(--accent); }

/* Specs Table */
.product-detail-block {
  margin-bottom: 48px;
}
.product-detail-block h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr { border-bottom: 1px solid var(--gray-100); }
.specs-table td {
  padding: 12px 16px;
  font-size: 14px;
}
.specs-table td:first-child {
  font-weight: 600;
  color: var(--navy);
  width: 200px;
  background: var(--gray-100);
}
.specs-table td:last-child {
  color: var(--text-body);
}
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent);
}
.feature-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.contact-info-card a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}
.contact-info-card a:hover { color: var(--accent); }
.contact-form-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: var(--transition);
  background: var(--off-white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ==========================================================
   FOOTER — Luxury Industrial Redesign
   ========================================================== */

/* ---------- Footer main ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow top-center */
.footer::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(192,57,43,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ---------- Grid ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.6fr;
  gap: 48px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

/* ---------- Column 1: Brand ---------- */
.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand .brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
}
.footer-brand .brand-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}
.footer-brand .brand-underline {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 4px;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  max-width: 280px;
}

/* ---------- Social links ---------- */
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}
.footer-social-link:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(192,57,43,0.3);
}

/* ---------- Columns (generic) ---------- */
.footer-col {
  min-width: 0;
}

/* ---------- Headings ---------- */
.footer-heading {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 12px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ---------- Links ---------- */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--accent);
  position: absolute;
  bottom: -1px;
  left: 0;
  transition: width 0.25s ease;
}
.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 2px;
}
.footer-links a:hover::before {
  width: 100%;
}

/* ---------- Contact items ---------- */
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.footer-contact-item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--gold-light);
}

/* ---------- WhatsApp button ---------- */
.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 22px;
  background: #25D366;
  color: white;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(37,211,102,0.2);
}
.footer-whatsapp-btn:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

/* ---------- Bottom bar ---------- */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  position: relative;
  z-index: 1;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.5px;
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal a:hover {
  color: var(--gold-light);
}

/* ==========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.whatsapp-float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}
.whatsapp-float-btn svg { width: 28px; height: 28px; fill: white; }
.whatsapp-float-label {
  font-size: 10px;
  font-weight: 600;
  color: #25D366;
  white-space: nowrap;
}

/* ==========================================================
   BREADCRUMB
   ========================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span.sep { color: var(--gray-300); }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 992px) {
  .categories-grid,
  .featured-grid,
  .media-grid,
  .about-features-grid,
  .products-in-cat { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .product-detail-top { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .categories-grid,
  .featured-grid,
  .media-grid,
  .products-in-cat { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer { padding: 48px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-desc { max-width: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
  .about-img-col { display: none; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer { padding: 40px 0 0; }
  .footer-bottom { padding: 16px 0; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-number { font-size: 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
  .footer-legal { justify-content: center; gap: 14px; flex-wrap: wrap; }
  .footer-social { justify-content: center; }
  .footer-brand .brand { justify-content: center; }
  .footer-desc { text-align: center; margin-left: auto; margin-right: auto; }
  .footer-heading { text-align: center; }
  .footer-heading::after { left: 50%; transform: translateX(-50%); }
  .footer-links { text-align: center; }
  .footer-contact-item { justify-content: center; }
  .footer-whatsapp-btn { justify-content: center; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-toggle {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}
.search-toggle:hover {
  opacity: 1;
  background: rgba(255,255,255,0.08);
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,15,30,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.search-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  margin-top: 80px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  overflow: hidden;
  transform: translateY(-20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.search-overlay.active .search-modal {
  transform: translateY(0) scale(1);
}

.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 0;
}
.search-modal-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}
.search-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  color: var(--text-light);
  transition: all 0.2s;
}
.search-close:hover {
  background: var(--light-bg);
  color: var(--dark);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 24px;
  padding: 0 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.25s;
  background: var(--light-bg);
}
.search-input-wrap:focus-within {
  border-color: var(--accent);
}
.search-input-icon {
  flex-shrink: 0;
  color: var(--text-light);
}
.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 0;
  font-size: 16px;
  font-family: inherit;
  color: var(--dark);
  outline: none;
}
.search-input::placeholder {
  color: #aaa;
}
.search-clear {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  color: var(--text-light);
  display: none;
  transition: all 0.2s;
}
.search-clear.visible {
  display: flex;
}
.search-clear:hover {
  color: var(--dark);
}

.search-results {
  max-height: 420px;
  overflow-y: auto;
  padding: 0 24px 24px;
}

.search-placeholder,
.search-loading,
.search-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  gap: 12px;
}

.search-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: searchSpin 0.7s linear infinite;
}
@keyframes searchSpin {
  to { transform: rotate(360deg); }
}

/* Result items */
.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
.search-result-item:hover {
  background: var(--light-bg);
}
.search-result-item + .search-result-item {
  margin-top: 4px;
}

.search-result-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--light-bg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.search-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.search-result-img svg {
  width: 22px;
  height: 22px;
  color: var(--text-light);
  opacity: 0.5;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}
.search-result-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-model {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}
.search-result-category {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.search-result-arrow {
  flex-shrink: 0;
  color: var(--text-light);
  opacity: 0.4;
  transition: all 0.2s;
}
.search-result-item:hover .search-result-arrow {
  opacity: 0.8;
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
  .search-modal {
    margin-top: 60px;
    max-width: calc(100% - 24px);
    border-radius: 12px;
  }
  .search-modal-header { padding: 14px 18px 0; }
  .search-input-wrap { margin: 12px 18px; }
  .search-results { padding: 0 18px 18px; max-height: 360px; }
}
