/* ============================================================
   FireGuard Pro — Enterprise Fire Safety Website
   Premium Light Theme | B2B Industrial Design
   ============================================================ */

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

:root {
  --red:      #CC444B;
  --red2:     #E4575E;
  --wine:     #2a060e;
  --wine2:    #3d0914;
  --wine3:    #52101c;
  --wine4:    #6b1524;
  --yellow:   #FFF3B0;
  --yellow2:  #FFE68A;
  --white:    #ffffff;
  --bg:       #ffffff;
  --bg2:      #E8EAED;
  --cream:    #EDE4C8;
  --section-surface: #F0EBE2;
  --text:     #262626;
  --muted:    #667085;
  --border:   #F1D7A8;
  --shadow:   0 2px 16px rgba(36,50,74,0.08);
  --shadow-md:0 4px 32px rgba(36,50,74,0.12);
  --shadow-lg:0 8px 48px rgba(36,50,74,0.16);
  --radius:   10px;
  --radius-sm:6px;
  --t:        0.3s ease;
  --font-h:   'Oswald', sans-serif;
  --font-b:   'Source Sans Pro', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: #ffffff;
  color: var(--text);
  font-family: var(--font-b);
  line-height: 1.65;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(204,68,75,0.04) 0 1px, transparent 1px 120px),
    linear-gradient(180deg, rgba(237,228,200,0.55), rgba(255,255,255,0));
}
h1,h2,h3,h4,h5 { font-family: var(--font-h); line-height: 1.2; color: var(--text); }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-b); }
ul { list-style: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red2));
  transform: scaleX(0);
  transform-origin: left;
  box-shadow: 0 0 12px rgba(201,24,74,0.45);
}

/* ---- UTILITIES ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }
.text-red { color: var(--red); }
.text-muted { color: var(--muted); }
.bg-light { background: var(--bg2); }
.bg-white { background: var(--white); }

/* Alternating section surfaces — slightly darker warm/cool tones */
section.section-pad:not(.bg-light):not(.testimonials-section):not(.stats-section):not(.brands-section),
section.section-pad-sm:not(.bg-light):not(.testimonials-section):not(.stats-section):not(.brands-section) {
  background: var(--section-surface);
}

.section-label {
  display: inline-block;
  background: var(--yellow);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.75;
}

.text-center { text-align: center; }
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header .section-sub {
  margin-left: auto;
  margin-right: auto;
}
.section-title,
.hero-title,
.page-banner h1,
.why-title,
.product-detail-name,
.contact-form-card h2,
.modal-header h2 { text-align: center; }
.page-banner-content { text-align: center; }
.page-banner-content .breadcrumb { justify-content: center; }
.page-banner-content p { margin-left: auto; margin-right: auto; }
.about-split .about-content-block { text-align: center; }
.about-split .about-content-block .values-list,
.about-split .about-content-block .about-stats-row { text-align: left; max-width: 520px; margin-left: auto; margin-right: auto; }
.about-split .about-content-block .btn { margin-left: auto; margin-right: auto; }
.contact-preview-grid .reveal-left { text-align: center; }
.contact-preview-grid .contact-info-list { text-align: left; max-width: 480px; margin-left: auto; margin-right: auto; }
.why-card { text-align: center; }
.why-card .why-icon { margin-left: auto; margin-right: auto; }
.product-name,
.cat-card-name { text-align: left; }
.industry-body h3 { text-align: left; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-h);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: var(--t);
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.3) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}
.btn:hover::after { transform: translateX(120%); }

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover { background: #b71c1c; border-color: #b71c1c; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(204,68,75,0.38); }

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover { background: var(--red); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 22px rgba(204,68,75,0.28); }

.btn-white {
  background: #fff;
  color: var(--red);
  border-color: #fff;
}
.btn-white:hover { background: var(--yellow); border-color: var(--yellow); transform: translateY(-2px); }

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.82rem; }

/* ---- SCROLL REVEAL (IntersectionObserver) ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-70px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(70px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-flip {
  opacity: 0;
  transform: perspective(900px) rotateX(12deg) translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-flip.visible {
  opacity: 1;
  transform: perspective(900px) rotateX(0) translateY(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.reveal-header {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-header.visible .section-label {
  animation: fadeSlideUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.reveal-header.visible .section-title {
  animation: fadeSlideUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
.reveal-header.visible .section-sub {
  animation: fadeSlideUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}
.reveal-header.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Staggered grid children */
.reveal[style*="--stagger-i"],
.reveal-flip[style*="--stagger-i"] {
  transition-delay: calc(var(--stagger-i, 0) * 75ms);
}

/* Floating cards — gentle motion when visible */
.floating-card.visible {
  animation: cardFloat 5s ease-in-out infinite;
}
.floating-card.visible:hover {
  animation: none;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.86);
  border-bottom: 1px solid rgba(241,215,168,0.68);
  box-shadow: 0 2px 12px rgba(38,38,38,0.04);
  backdrop-filter: blur(12px);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.header.scrolled {
  background: rgba(255,255,255,0.96);
  border-color: rgba(204,68,75,0.18);
  box-shadow: 0 12px 32px rgba(38,38,38,0.1);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 1.5rem;
}

.logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.logo-icon {
  width: 42px; height: 42px; background: var(--red);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff; flex-shrink: 0;
  animation: logoGlow 3s ease-in-out infinite;
}
@keyframes logoGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204, 68, 75, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(204, 68, 75, 0); }
}
.logo-text { font-family: var(--font-h); font-size: 1.3rem; font-weight: 700; line-height: 1.1; }
.logo-text span { display: block; font-size: 0.65rem; font-weight: 400; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; font-family: var(--font-b); }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.5px;
  color: var(--text); text-transform: uppercase;
  border-radius: var(--radius-sm); transition: var(--t);
  white-space: nowrap;
  position: relative;
}
.nav-link::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover::before,
.nav-link.active::before {
  transform: scaleX(1);
}
.nav-link:hover, .nav-link.active { color: var(--red); background: rgba(214,40,40,0.06); }
.nav-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav-item.is-open .nav-arrow { transform: rotate(180deg); }
.nav-link.active::after {
  display: none;
}
.nav-arrow { font-size: 0.65rem; transition: transform 0.25s ease; }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); min-width: 220px;
  box-shadow: var(--shadow-lg); padding: 0.5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 100;
}
.nav-item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
#categoriesNavItem .dropdown {
  min-width: 280px;
  max-height: 70vh;
  overflow-y: auto;
}
.dropdown-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 1.2rem; font-size: 0.88rem; color: var(--text);
  transition: var(--t);
}
.dropdown-item:hover { background: rgba(214,40,40,0.05); color: var(--red); padding-left: 1.5rem; }
.dropdown-item-icon { font-size: 1.1rem; flex-shrink: 0; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.search-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  border: 1.5px solid rgba(38, 38, 38, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 1px 2px rgba(38, 38, 38, 0.05);
  flex-shrink: 0;
}
.search-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(204, 68, 75, 0.04);
  box-shadow: 0 2px 8px rgba(204, 68, 75, 0.1);
}
.search-btn .icon-search,
.filter-search-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}

/* Mobile hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--t); display: block; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 999; overflow-y: auto;
  padding: 1.5rem 2rem; flex-direction: column; gap: 0.25rem;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  display: block; padding: 0.85rem 1rem; font-size: 1rem; font-weight: 600;
  color: var(--text); border-radius: var(--radius-sm); transition: var(--t);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.mobile-nav-link:hover { background: rgba(214,40,40,0.06); color: var(--red); }
.mobile-nav-divider { height: 1px; background: var(--border); margin: 0.5rem 0; }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(28, 4, 10, 0.8); backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 120px;
  opacity: 0; visibility: hidden; transition: 0.3s ease;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box {
  background: #fff; border-radius: var(--radius);
  padding: 2rem; width: 100%; max-width: 640px; margin: 0 1rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(-20px); transition: transform 0.3s ease;
}
.search-overlay.open .search-box { transform: translateY(0); }
.search-input-wrap { display: flex; gap: 0.75rem; }
.search-input {
  flex: 1; padding: 0.85rem 1.2rem; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem; outline: none;
  transition: var(--t); color: var(--text);
}
.search-input:focus { border-color: var(--red); }
.search-close {
  position: absolute; top: 1rem; right: 1rem;
  background: #fff; border: 1.5px solid rgba(38, 38, 38, 0.12);
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); transition: var(--t);
}
.search-close .icon-close {
  width: 16px;
  height: 16px;
  display: block;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}
.search-close:hover { background: var(--red); color: #fff; border-color: var(--red); }
.search-box { position: relative; }
.search-live-results {
  margin-top: 1.25rem;
  max-height: 360px;
  overflow-y: auto;
}
.search-live-group { margin-bottom: 1rem; }
.search-live-group h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.search-live-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--t);
}
.search-live-item:hover {
  background: var(--cream);
  border-color: var(--border);
}
.search-live-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.search-live-item strong { display: block; font-size: 0.88rem; color: var(--text); }
.search-live-item span { font-size: 0.75rem; color: var(--muted); }
.search-live-empty { text-align: center; padding: 1.5rem; color: var(--muted); font-size: 0.9rem; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80') center/cover no-repeat;
  transform-origin: center center;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
.hero-gif,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-gif { z-index: 0; }
.hero-video { z-index: 1; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(38, 38, 38, 0.72) 0%, rgba(38, 38, 38, 0.45) 55%, rgba(204, 68, 75, 0.22) 100%),
    linear-gradient(135deg, rgba(38, 38, 38, 0.35), transparent 50%);
  z-index: 1;
}
.hero:hover .hero-media { animation-play-state: paused; }
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}
.hero > .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  padding: 4rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.hero-content,
.hero-content * {
  text-shadow: 0 2px 16px rgba(255,255,255,0.82), 0 1px 5px rgba(255,255,255,0.65);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 243, 176, 0.95);
  color: var(--wine);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(28, 4, 10, 0.12);
  animation: badgeFloat 3.5s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.42), 0 1px 5px rgba(0,0,0,0.35);
}
.hero.is-ready .hero-eyebrow {
  animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero.is-ready .hero-title {
  animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.hero.is-ready .hero-desc {
  animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}
.hero.is-ready .hero-btns {
  animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}
.hero.is-ready .hero-stats {
  animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.46s both;
}
.hero.is-ready .hero-stats > div {
  animation: heroStatPop 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}
.hero.is-ready .hero-stats > div:nth-child(1) { animation-delay: 0.55s; }
.hero.is-ready .hero-stats > div:nth-child(2) { animation-delay: 0.65s; }
.hero.is-ready .hero-stats > div:nth-child(3) { animation-delay: 0.75s; }
.hero.is-ready .hero-stats > div:nth-child(4) { animation-delay: 0.85s; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroStatPop {
  from { opacity: 0; transform: scale(0.85) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.hero-title .highlight { color: var(--red); }
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.94);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 620px;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0,0,0,0.38);
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  justify-content: center;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 243, 176, 0.45);
  width: 100%;
}
.hero-stats > div {
  transition: transform 0.3s ease, filter 0.3s ease;
}
.hero-stats > div:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 8px 14px rgba(201,24,74,0.18));
}
.hero-stat-num {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red2);
  display: block;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--wine);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  font-weight: 600;
}
.hero-image { display: none; }
.hero-badge { display: none; }

@keyframes bgDrift {
  from { transform: scale(1); }
  to { transform: scale(1.06) translate3d(-1.5%, -1%, 0); }
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes titleLift {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SEARCH & FILTER BAR
   ============================================================ */
.filter-bar {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(89,13,34,0.05);
}
.filter-bar-inner {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.filter-search-wrap { flex: 1; min-width: 240px; position: relative; }
.filter-search-wrap input {
  width: 100%; padding: 0.75rem 1rem 0.75rem 2.8rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.92rem; outline: none; transition: var(--t); color: var(--text);
  background: var(--bg);
}
.filter-search-wrap input:focus { border-color: var(--red); background: #fff; }
.filter-search-icon {
  position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
.filter-select {
  padding: 0.75rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.88rem; color: var(--text);
  background: var(--bg); outline: none; cursor: pointer; transition: var(--t);
  min-width: 160px;
}
.filter-select:focus { border-color: var(--red); }
.filter-toggle-btns { display: flex; gap: 0.25rem; }
.toggle-btn {
  width: 38px; height: 38px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--muted); transition: var(--t);
}
.toggle-btn.active, .toggle-btn:hover { border-color: var(--red); color: var(--red); background: rgba(214,40,40,0.06); }

/* ============================================================
   CATEGORY SHOWCASE
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow);
  background: var(--wine);
}
.cat-card.visible {
  animation: catCardSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--stagger-i, 0) * 85ms);
}
@keyframes catCardSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cat-card::after,
.product-card::after,
.testi-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.26) 42%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 0.75s ease;
  pointer-events: none;
}
.cat-card:hover::after,
.product-card:hover::after,
.testi-card:hover::after {
  transform: translateX(120%);
}
.cat-card:hover { 
  transform: translateY(-12px) rotate(-1deg) !important; 
  box-shadow: 0 20px 50px rgba(89,13,34,0.25) !important; 
}
.cat-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
  filter: brightness(0.85) saturate(1.1) contrast(1.05);
}
.cat-card:hover .cat-card-img {
  transform: scale(1.15) rotate(2deg) !important;
  filter: brightness(1.0) saturate(1.15) contrast(1.08) !important;
}
.cat-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 2, 5, 0.75) 0%,
    rgba(15, 3, 7, 0.65) 35%,
    rgba(8, 2, 4, 0.85) 70%,
    rgba(5, 1, 3, 0.92) 100%
  );
}
.cat-card-body { z-index: 2; }
.cat-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}
.cat-card-icon { 
  font-size: 1.8rem; 
  margin-bottom: 0.5rem; 
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cat-card:hover .cat-card-icon {
  transform: scale(1.2) rotate(10deg);
}
.cat-card-name { 
  font-family: var(--font-h); 
  font-size: 1.1rem; 
  font-weight: 600; 
  color: #fff; 
  text-transform: uppercase; 
  margin-bottom: 0.25rem; 
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cat-card:hover .cat-card-name {
  transform: translateX(3px);
}
.cat-card-count { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin-bottom: 0.75rem; }
.cat-card-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--yellow); color: var(--text);
  padding: 0.35rem 0.9rem; border-radius: 3px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; 
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cat-card-btn::after {
  content: '→';
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cat-card:hover .cat-card-btn {
  background: var(--red);
  color: #fff;
  transform: translateX(4px) scale(1.05);
  box-shadow: 0 4px 12px rgba(214, 40, 40, 0.3);
}
.cat-card:hover .cat-card-btn::after {
  transform: translateX(4px);
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
/* Products page — sidebar ke saath 3 balanced columns */
.shop-layout .products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.product-card {
  position: relative;
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.product-card:hover { 
  transform: translateY(-12px) scale(1.02) !important; 
  box-shadow: 0 20px 45px rgba(89,13,34,0.2) !important; 
  border-color: var(--red) !important; 
}
.product-card.visible {
  animation: productCardIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--stagger-i, 0) * 75ms);
}
@keyframes productCardIn {
  from { opacity: 0; transform: translateY(40px) scale(0.95) rotate(-2deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}
.product-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease; }
.product-card:hover .product-img-wrap img { 
  transform: scale(1.12) rotate(1deg) !important; 
  filter: brightness(1.05) saturate(1.08) !important;
}
.product-badge.red { left: auto; right: 10px; }
.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--yellow); color: var(--text);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px;
  padding: 0.2rem 0.6rem; border-radius: 2px; text-transform: uppercase;
}
.product-badge.red { background: var(--red); color: #fff; }
.product-body { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-cat { 
  font-size: 0.75rem; 
  color: var(--red); 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  margin-bottom: 0.4rem; 
}
.product-name { 
  font-family: var(--font-h); 
  font-size: 1rem; 
  font-weight: 600; 
  margin-bottom: 0.5rem; 
  color: var(--text); 
  line-height: 1.3; 
  display: -webkit-box; 
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical; 
  overflow: hidden; 
  transition: color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .product-name {
  color: var(--red);
}
.product-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.65; margin-bottom: 0.75rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.product-rating { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.75rem; }
.stars { color: #F6AD55; font-size: 0.85rem; }
.rating-count { font-size: 0.78rem; color: var(--muted); }
.product-price { font-family: var(--font-h); font-size: 1.2rem; font-weight: 700; color: var(--red); margin-bottom: 1rem; }
.product-price .old-price { font-size: 0.85rem; color: var(--muted); text-decoration: line-through; margin-left: 0.5rem; font-family: var(--font-b); font-weight: 400; }
.product-actions { display: flex; gap: 0.5rem; margin-top: auto; }
.product-actions .btn { 
  flex: 1; 
  justify-content: center; 
  font-size: 0.8rem; 
  padding: 0.6rem 0.8rem; 
}

/* ---- Category intro (product/category pages) ---- */
.category-intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 3rem;
  align-items: center;
}
.category-intro-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.category-intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.category-intro-count {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
}
.category-intro-content { max-width: 640px; }
.category-intro-content .section-title {
  text-align: left;
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.category-intro-desc {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.category-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.25rem;
}
.category-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}
.highlight-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.45rem;
}
.category-standards {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(204, 68, 75, 0.06);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}
.category-standards strong { color: var(--text); }
.category-applications {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.category-applications-title {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  text-align: center;
}
.category-applications-grid,
.product-app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.product-app-tags { justify-content: flex-start; }
.category-app-tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 600;
}
.category-bottom-section { background: var(--bg2); }
.category-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.category-bottom-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.category-bottom-card h3 {
  font-family: var(--font-h);
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  color: var(--text);
}
.category-bottom-card p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--muted);
}
.category-bottom-card.accent {
  background: linear-gradient(145deg, var(--wine) 0%, #52101c 100%);
  border-color: transparent;
  color: #fff;
}
.category-bottom-card.accent h3,
.category-bottom-card.accent p { color: rgba(255,255,255,0.9); }
.category-bottom-card.accent .category-standards {
  background: rgba(255,255,255,0.1);
  border-left-color: var(--yellow);
  color: rgba(255,255,255,0.85);
}
.product-detail-text {
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.95rem;
}
.product-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.product-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}
.feature-check {
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- Product detail layout ---- */
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4rem;
}
.product-detail-image {
  position: sticky;
  top: 100px;
}
.product-detail-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow-lg);
}
.product-detail-info h1 {
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.product-detail-block {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}
.product-detail-block h3 {
  font-family: var(--font-h);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.product-spec-table {
  width: 100%;
  border-collapse: collapse;
}
.product-spec-table tr { border-bottom: 1px solid var(--border); }
.product-spec-table td {
  padding: 0.75rem 0;
  vertical-align: top;
}
.product-spec-table td:first-child { font-weight: 600; width: 40%; }
.product-spec-table td:last-child { color: var(--muted); }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card,
.floating-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 2px 14px rgba(38, 38, 38, 0.05);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease,
    background 0.35s ease;
  position: relative;
  overflow: hidden;
}
.why-card.visible {
  animation: whyCardZoomIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--stagger-i, 0) * 90ms);
}
@keyframes whyCardZoomIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 70%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--red), var(--yellow2), var(--red));
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 243, 176, 0.45) 0%, transparent 62%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.why-card:hover,
.floating-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 42px rgba(204, 68, 75, 0.15);
  border-color: rgba(204, 68, 75, 0.35);
  background: linear-gradient(165deg, #ffffff 0%, #fff9e8 100%);
}
.why-card:hover::before {
  transform: translateX(-50%) scaleX(1);
}
.why-card:hover::after {
  opacity: 1;
}
.why-icon {
  width: 56px;
  height: 56px;
  background: var(--yellow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1),
    background 0.35s ease,
    box-shadow 0.35s ease;
}
.why-card:hover .why-icon {
  transform: translateY(-5px) scale(1.1) rotate(5deg);
  background: var(--yellow2);
  box-shadow: 0 8px 22px rgba(204, 68, 75, 0.22);
}
.why-title {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}
.why-card:hover .why-title { color: var(--red); }
.why-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  transition: color 0.3s ease;
}
.why-card:hover .why-desc { color: #4a4a4a; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.industry-card {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.industry-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.35s ease;
  filter: brightness(0.88) saturate(1.12) contrast(1.06);
}
.industry-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 2, 4, 0.72) 0%,
    rgba(12, 3, 6, 0.58) 40%,
    rgba(5, 1, 3, 0.88) 100%
  );
}
.industry-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.98) saturate(1.18) contrast(1.08);
}
.industry-card .btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--yellow);
  color: var(--text);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--t);
}
.industry-card:hover .btn-read-more {
  background: var(--red);
  color: #fff;
}
.industry-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.5rem;
  color: #fff;
}
.industry-body h3 {
  color: #fff;
  font-size: 1.35rem;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.industry-body p {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.industry-body a {
  display: inline-flex;
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 46px rgba(38,38,38,0.18);
}

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ---- About Us: premium scroll entrance ---- */
.about-reveal-section .about-img-wrap {
  position: relative;
  opacity: 0;
  transform: translate3d(-200px, 0, 0);
  will-change: transform, opacity;
  transition:
    opacity 1.3s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 1.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.about-reveal-section.is-visible .about-img-wrap {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.about-reveal-section .about-content-block {
  opacity: 0;
  transform: translate3d(100px, 0, 0);
  will-change: transform, opacity;
  transition:
    opacity 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s,
    transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s;
}
.about-reveal-section.is-visible .about-content-block {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.about-reveal-section .about-exp-badge {
  opacity: 0;
  transform: scale(0);
  will-change: transform, opacity;
  transition:
    opacity 0.35s ease 0.6s,
    transform 0.55s cubic-bezier(0.34, 1.45, 0.64, 1) 0.6s;
}
.about-reveal-section.is-visible .about-exp-badge {
  opacity: 1;
  transform: scale(1);
}
.about-reveal-section.is-visible .value-item {
  animation: fadeSlideUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.about-reveal-section.is-visible .value-item:nth-child(1) { animation-delay: 0.35s; }
.about-reveal-section.is-visible .value-item:nth-child(2) { animation-delay: 0.48s; }
.about-reveal-section.is-visible .value-item:nth-child(3) { animation-delay: 0.61s; }
.about-reveal-section.is-visible .about-stat-card {
  animation: heroStatPop 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}
.about-reveal-section.is-visible .about-stat-card:nth-child(1) { animation-delay: 0.28s; }
.about-reveal-section.is-visible .about-stat-card:nth-child(2) { animation-delay: 0.4s; }

.about-reveal-section.animation-complete .about-img-wrap,
.about-reveal-section.animation-complete .about-content-block,
.about-reveal-section.animation-complete .about-exp-badge {
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .about-reveal-section .about-img-wrap,
  .about-reveal-section .about-content-block,
  .about-reveal-section .about-exp-badge {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

.about-img-wrap img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-exp-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--red); color: #fff;
  width: 120px; height: 120px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.about-exp-badge strong { font-family: var(--font-h); font-size: 2rem; font-weight: 700; line-height: 1; }
.about-exp-badge span { font-size: 0.72rem; text-align: center; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.5px; }
.about-stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin: 2rem 0; }
.about-stat-card {
  background: var(--bg); border-radius: var(--radius-sm);
  padding: 1.2rem; border-left: 3px solid var(--yellow);
}
.about-stat-card .num { font-family: var(--font-h); font-size: 1.8rem; font-weight: 700; color: var(--red); }
.about-stat-card .label { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.values-list { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0; }
.value-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.value-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; flex-shrink: 0; margin-top: 0.5rem; }
.value-text { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: #DEDAD6; }
.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.testi-slide { min-width: 100%; padding: 0 1rem; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi-card {
  background: #fff; border-radius: var(--radius);
  padding: 2rem; border: 1px solid var(--border);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.testi-card.visible {
  animation: testiCardFadeIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--stagger-i, 0) * 100ms);
}
@keyframes testiCardFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.testi-card:hover { 
  transform: translateY(-8px) scale(1.02); 
  box-shadow: 0 18px 42px rgba(89,13,34,0.15); 
}
.testi-card::before {
  content: '"'; position: absolute; top: 1rem; right: 1.5rem;
  font-size: 4rem; color: var(--yellow); font-family: Georgia, serif;
  line-height: 1;
}
.testi-stars { color: #F6AD55; font-size: 1rem; margin-bottom: 1rem; }
.testi-text { font-size: 0.92rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #E63946);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-weight: 700; color: #fff; font-size: 0.9rem;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.92rem; color: var(--text); }
.testi-author span { font-size: 0.78rem; color: var(--muted); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.slider-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--border); background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--muted); transition: var(--t);
}
.slider-btn:hover { border-color: var(--red); color: var(--red); }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: var(--t); cursor: pointer; }
.slider-dot.active { background: var(--red); width: 24px; border-radius: 4px; }

/* ============================================================
   STATS COUNTER BANNER
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--wine) 0%, #6e252c 48%, #7a2d34 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 243, 176, 0.08), transparent 40%, rgba(255, 255, 255, 0.06));
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, background 0.3s ease;
}
.stat-item.visible {
  animation: statReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--stagger-i, 0) * 90ms);
}
.stat-item:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.14);
}
@keyframes statReveal {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.stat-num {
  display: block;
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
}

/* ============================================================
   BRANDS
   ============================================================ */
.brands-section { background: #ffffff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.brands-grid { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.brands-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.brands-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: brandMarquee 24s linear infinite;
}
.brands-marquee:hover .brands-track { animation-play-state: paused; }
.brand-item {
  display: flex; align-items: center; justify-content: center;
  padding: 1rem 1.5rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: #fff;
  transition: var(--t); min-width: 140px;
  position: relative; overflow: hidden;
}
.brand-item::before {
  content: '';
  position: absolute;
  inset: auto 16% 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.brand-item:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-4px); }
.brand-item:hover::before { transform: scaleX(1); }
.brand-name {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  transition: var(--t);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}
.brand-item:hover .brand-name { color: var(--red); }
@keyframes brandMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   CONTACT PREVIEW
   ============================================================ */
.contact-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
  width: 48px; height: 48px; background: var(--yellow);
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.contact-info-item strong { display: block; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text); margin-bottom: 4px; }
.contact-info-item span { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
.contact-info-item a { color: var(--muted); transition: var(--t); }
.contact-info-item a:hover { color: var(--red); }
.contact-cta-box {
  background: linear-gradient(135deg, rgba(255, 249, 230, 0.98), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(204, 68, 75, 0.2);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  padding: 2rem 2.25rem;
  color: var(--text);
  text-align: left;
  box-shadow: 0 10px 28px rgba(89,13,34,0.08);
}
.contact-cta-box h3 {
  font-family: var(--font-h);
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  color: var(--text);
}
.contact-cta-box p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  max-width: 460px;
}
.contact-cta-box .btn-white {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.contact-cta-box .btn-white:hover {
  background: var(--wine);
  border-color: var(--wine);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--wine); color: rgba(255,255,255,0.78); }
.footer-top { padding: 4rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
.footer-logo-wrap { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo-icon { width: 38px; height: 38px; background: var(--red); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #fff; }
.footer-logo-text { font-family: var(--font-h); font-size: 1.2rem; font-weight: 700; color: #fff; }
.footer-about { font-size: 0.88rem; line-height: 1.75; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.5rem; }
.social-link { width: 34px; height: 34px; border-radius: 6px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.7); transition: var(--t); }
.social-link:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.footer-col h4 { font-family: var(--font-h); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 1.2rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: var(--t); }
.footer-links a:hover { color: var(--yellow); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 0.6rem; margin-bottom: 0.75rem; font-size: 0.88rem; }
.footer-contact-item span:first-child { color: var(--yellow); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.65); transition: var(--t); }
.footer-contact-item a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: var(--t); }
.footer-bottom-links a:hover { color: var(--yellow); }
.footer-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.footer-cert-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.65rem;
  background: rgba(255, 243, 176, 0.15);
  color: var(--yellow);
  border-radius: 3px;
  border: 1px solid rgba(255, 243, 176, 0.25);
}

/* ============================================================
   PAGE BANNER
   ============================================================ */
.page-banner {
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine2) 28%, var(--wine3) 52%, var(--wine4) 72%, #852a38 100%);
  padding: 5rem 0 3rem; margin-top: 72px; position: relative; overflow: hidden;
}
.page-banner-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine2) 48%, var(--wine4) 100%);
  animation: bgDrift 16s ease-in-out infinite alternate;
}
.page-banner-bg,
.page-banner-gif,
.page-banner-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.page-banner-bg,
.page-banner-gif { z-index: 0; }
.page-banner-video { z-index: 1; }
.page-banner-media.video-fallback .page-banner-video {
  opacity: 0;
  visibility: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, rgba(28, 4, 10, 0.92) 0%, rgba(42, 6, 14, 0.78) 45%, rgba(107, 21, 36, 0.55) 100%);
}
.page-banner::after { content: ''; position: absolute; right: -5%; top: -20%; width: 50%; height: 140%; background: rgba(42, 6, 14, 0.15); transform: skewX(-8deg); z-index: 3; }
.page-banner-content { position: relative; z-index: 4; }
.page-banner-content h1,
.page-banner-content p,
.breadcrumb {
  animation: titleLift 0.8s cubic-bezier(0.2,0.8,0.2,1) both;
}
.page-banner-content p { animation-delay: 90ms; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.82rem; }
.breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--t); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--yellow); }
.page-banner h1 { font-family: var(--font-h); font-size: clamp(1.8rem,4vw,3rem); font-weight: 700; text-transform: uppercase; color: #fff; margin-bottom: 0.75rem; }
.page-banner p { color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 500px; }

/* ============================================================
   SIDEBAR FILTERS (Products/Category pages)
   ============================================================ */
.shop-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.sidebar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: sticky; top: 88px; }
.sidebar-header { padding: 1rem 1.25rem; background: var(--bg); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.sidebar-header h3 { font-family: var(--font-h); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-clear { font-size: 0.78rem; color: var(--red); background: none; border: none; cursor: pointer; font-weight: 600; }
.filter-group { border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: none; }
.filter-group-title { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1.25rem; cursor: pointer; font-size: 0.88rem; font-weight: 600; color: var(--text); transition: var(--t); user-select: none; }
.filter-group-title:hover { color: var(--red); }
.filter-group-arrow { font-size: 0.65rem; transition: transform 0.25s ease; }
.filter-group.collapsed .filter-group-arrow { transform: rotate(-90deg); }
.filter-group-body { padding: 0.5rem 1.25rem 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.filter-group.collapsed .filter-group-body { display: none; }
.filter-check { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--muted); cursor: pointer; transition: var(--t); padding: 2px 0; }
.filter-check:hover { color: var(--text); }
.filter-check input { accent-color: var(--red); width: 14px; height: 14px; cursor: pointer; }
.price-range-inputs { display: flex; gap: 0.5rem; align-items: center; }
.price-range-inputs input { flex: 1; padding: 0.4rem 0.6rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.82rem; outline: none; width: 0; }
.price-range-inputs input:focus { border-color: var(--red); }
.price-range-inputs span { color: var(--muted); font-size: 0.82rem; flex-shrink: 0; }

/* Products area toolbar */
.products-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.products-count { font-size: 0.88rem; color: var(--muted); }
.products-sort { display: flex; align-items: center; gap: 0.75rem; }
.products-sort label { font-size: 0.82rem; color: var(--muted); }
.products-sort select { padding: 0.45rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.85rem; outline: none; color: var(--text); }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 3rem; }
.page-btn { width: 38px; height: 38px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.88rem; color: var(--text); transition: var(--t); cursor: pointer; }
.page-btn:hover, .page-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.page-btn.disabled { opacity: 0.4; pointer-events: none; }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.product-gallery { position: sticky; top: 88px; }
.gallery-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-bottom: 1rem; aspect-ratio: 4/3; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 0.3s ease; }
.gallery-main img:hover { transform: scale(1.03); }
.gallery-thumbs { display: flex; gap: 0.75rem; }
.gallery-thumb { width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid var(--border); cursor: pointer; transition: var(--t); flex-shrink: 0; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--red); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info { padding-top: 0.5rem; }
.product-detail-cat { font-size: 0.78rem; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.product-detail-name { font-family: var(--font-h); font-size: clamp(1.4rem,3vw,2rem); font-weight: 700; text-transform: uppercase; margin-bottom: 1rem; }
.product-detail-price { font-family: var(--font-h); font-size: 1.8rem; font-weight: 700; color: var(--red); margin-bottom: 1.5rem; }
.product-detail-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 2rem; }
.product-features { margin-bottom: 2rem; }
.product-features h4 { font-family: var(--font-h); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; margin-bottom: 0.75rem; }
.feature-item { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--muted); }
.feature-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; flex-shrink: 0; margin-top: 0.5rem; }
.product-certs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.cert-badge { background: var(--yellow); color: var(--text); font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.5px; }
.product-detail-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.product-detail-actions .btn { flex: 1; justify-content: center; min-width: 160px; }

/* Tabs */
.product-tabs { margin-top: 4rem; }
.tab-nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 2rem; gap: 0; }
.tab-btn { padding: 0.85rem 1.5rem; font-family: var(--font-h); font-size: 0.88rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: var(--t); cursor: pointer; }
.tab-btn.active, .tab-btn:hover { color: var(--red); border-bottom-color: var(--red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr:nth-child(even) { background: var(--bg); }
.specs-table td { padding: 0.75rem 1rem; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.specs-table td:first-child { font-weight: 600; color: var(--text); width: 35%; }
.specs-table td:last-child { color: var(--muted); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item::before { content: ''; position: absolute; left: -2.4rem; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--red); }
.timeline-year { font-family: var(--font-h); font-size: 0.82rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.4rem; }
.timeline-title { font-family: var(--font-h); font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.timeline-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-align: center; transition: var(--t); box-shadow: var(--shadow); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-img { width: 100%; height: 200px; object-fit: cover; }
.team-body { padding: 1.25rem; }
.team-name { font-family: var(--font-h); font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.team-role { font-size: 0.82rem; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.team-bio { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-md); }
.contact-form-card h2 { font-family: var(--font-h); font-size: 1.4rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.5rem; }
.contact-form-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.92rem; color: var(--text);
  background: var(--bg); outline: none; transition: var(--t); font-family: var(--font-b);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(214,40,40,0.08); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success { display: none; text-align: center; padding: 2rem; background: rgba(56,161,105,0.08); border: 1px solid rgba(56,161,105,0.3); border-radius: var(--radius-sm); }
.form-success.show { display: block; }
.form-success-icon { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; }
.form-success h3 { font-family: var(--font-h); font-size: 1.2rem; color: #38A169; margin-bottom: 0.5rem; }
.form-success p { color: var(--muted); font-size: 0.9rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.map-wrap iframe { display: block; }

/* ============================================================
   INQUIRY MODAL
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; z-index: 3000; background: rgba(43,45,66,0.65); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; visibility: hidden; transition: 0.3s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box { background: #fff; border-radius: var(--radius); padding: 2.5rem; width: 100%; max-width: 520px; position: relative; max-height: 90vh; overflow-y: auto; transform: translateY(20px) scale(0.97); transition: 0.35s cubic-bezier(0.34,1.2,0.64,1); box-shadow: var(--shadow-lg); }
.modal-overlay.active .modal-box { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--muted); transition: var(--t); }
.modal-close:hover { background: var(--red); color: #fff; border-color: var(--red); }
.modal-header { margin-bottom: 1.5rem; }
.modal-header h2 { font-family: var(--font-h); font-size: 1.4rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.25rem; }
.modal-header p { color: var(--muted); font-size: 0.88rem; }

/* ============================================================
   TOAST
   ============================================================ */
.toast { position: fixed; bottom: 2rem; right: 2rem; z-index: 9000; background: var(--text); color: #fff; padding: 0.85rem 1.5rem; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 600; transform: translateX(120%); transition: 0.4s cubic-bezier(0.34,1.56,0.64,1); box-shadow: var(--shadow-lg); max-width: 300px; }
.toast.show { transform: translateX(0); }
.toast.success { border-left: 4px solid #38A169; }
.toast.error { border-left: 4px solid var(--red); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-layout .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 85vh; }
  .hero-content { padding: 3rem 0 2rem; }
  .about-split { grid-template-columns: 1fr; gap: 3rem; }
  .contact-preview-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .shop-layout .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .header-actions .btn { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .brands-grid { justify-content: center; }
  .hero { min-height: 78vh; }
  .hero-stats { gap: 1.5rem; }
  .section-pad { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }
  .category-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .category-highlights { grid-template-columns: 1fr; }
  .category-bottom-grid { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-detail-image { position: static; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .product-detail-actions { flex-direction: column; }
}
.sidebar-clear:hover { color: var(--red2); }
.filter-group { border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: none; }
.filter-group-title { padding: 1rem 1.25rem; font-family: var(--font-h); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text); background: var(--bg); }
.filter-group-body { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.filter-checkbox { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--text); cursor: pointer; }
.filter-checkbox input { accent-color: var(--red); cursor: pointer; }
.filter-checkbox:hover { color: var(--red); }

/* Products Header */
.products-header { margin-bottom: 2rem; }
.products-header p { font-size: 0.9rem; color: var(--muted); }

/* Pagination */
.pagination { margin-top: 3rem; }
.pagination-inner { display: flex; align-items: center; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.pagination-btn {
  padding: 0.5rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: #fff;
  font-size: 0.88rem; color: var(--text); transition: var(--t);
  cursor: pointer;
}
.pagination-btn:hover:not(.disabled) { border-color: var(--red); color: var(--red); background: rgba(214,40,40,0.05); }
.pagination-btn.active { background: var(--red); color: #fff; border-color: var(--red); }
.pagination-btn.disabled { opacity: 0.4; cursor: not-allowed; }
.pagination-dots { padding: 0.5rem; color: var(--muted); }

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .container { padding: 0 1.5rem; }
  
  .hero { grid-template-columns: 1fr; padding: 6rem 0 4rem; }
  .hero::before { display: block; }
  .hero-content { padding: 0; text-align: center; }
  .hero-image { padding: 3rem 0 0; }
  .hero-image img { height: 400px; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: 2rem; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-layout .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  
  .about-split { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-wrap img { height: 400px; }
  
  .contact-preview-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-cta-box { text-align: center; padding: 1.75rem; }
  .contact-cta-box p { margin-left: auto; margin-right: auto; }
  
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  
  .shop-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .shop-layout .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile */
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  
  .hero-content { padding: 0; }
  .hero-image { padding: 2rem 0 0; }
  .hero-image img { height: 300px; }
  .hero-stats { gap: 1.5rem; }
  
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .cat-card-img { height: 180px; }
  
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  
  .why-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  
  .brands-grid { justify-content: center; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .filter-bar-inner { flex-direction: column; align-items: stretch; }
  .filter-search-wrap { min-width: 100%; }
  .filter-select { width: 100%; }
  
  .section-pad { padding: 3rem 0; }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  
  .logo-text { font-size: 1.1rem; }
  .logo-icon { width: 36px; height: 36px; font-size: 1.2rem; }
  
  .hero-title { font-size: 2rem; }
  .hero-desc { font-size: 0.95rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  
  .categories-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  
  .product-actions { flex-direction: column; }
  .product-actions .btn { width: 100%; }
  
  .section-title { font-size: 1.6rem; }
  .section-sub { font-size: 0.95rem; }
}

/* Print Styles */
@media print {
  .header, .mobile-nav, .search-overlay, .footer { display: none; }
  .hero { padding-top: 0; min-height: auto; }
  .page-banner { margin-top: 0; }
  * { box-shadow: none !important; }
}

/* ============================================================
   SPA SPECIFIC STYLES
   ============================================================ */
#app {
  min-height: 100vh;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
#app.page-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* Smooth page transitions */
.page-transition-enter {
  opacity: 0;
  transform: translateY(20px);
}

.page-transition-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.page-transition-exit {
  opacity: 1;
}

.page-transition-exit-active {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Active navigation state */
.nav-link.active {
  color: var(--red);
  background: rgba(214,40,40,0.06);
}

/* Product details page specific */
.product-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .product-details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Loading state */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: var(--muted);
}

.loading::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 4px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* Print optimization */
@media print {
  .header, .footer, .search-overlay, .mobile-nav {
    display: none !important;
  }
  
  #app {
    padding-top: 0 !important;
  }
  
  .page-banner {
    margin-top: 0 !important;
  }
}
