:root {
  --bg: #fbfbfd;
  --bg-soft: #f5f5f7;
  --card: rgba(255, 255, 255, 0.72);
  --card-strong: rgba(255, 255, 255, 0.92);
  --text: #1d1d1f;
  --muted: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #e62e1e;
  --accent-2: #da3341;
  --red: #e62e1e;
  --radius: 20px;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* Global About-page specific color overrides */
.about-page {
  --accent: var(--red);
  --accent-2: #da3341;
}

.about-page .page-header {
  background-image: 
    linear-gradient(to bottom, rgba(230, 57, 70, 0.45) 0%, rgba(0, 0, 0, 0.8) 100%),
    url('./public/home/About/about%20banner.jpg');
}

.about-page .mission-card.full-width-card {
  background: linear-gradient(to right, rgba(230, 57, 70, 0.05), transparent);
}

.about-page .faq-list details[open] {
  border-color: rgba(230, 57, 70, 0.4);
}

.about-page .adv-icon {
  background: rgba(230, 57, 70, 0.1);
  color: var(--red);
}

.red-energy-accent {
  background: linear-gradient(135deg, #e62e1e 0%, #da3341 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  letter-spacing: -0.01em;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.products-page,
body.about-page,
body.product-detail-page {
  background: #ffffff !important;
}

body.products-page .site-bg,
body.about-page .site-bg,
body.product-detail-page .site-bg {
  display: none !important;
}

/* Header colors on subpages */
body.about-page .header,
body.products-page .header,
body.product-detail-page .header {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

body.about-page .header .nav a,
body.products-page .header .nav a,
body.product-detail-page .header .nav a {
  color: rgba(0, 0, 0, 0.7);
}

body.about-page .header .nav a:hover,
body.products-page .header .nav a:hover,
body.product-detail-page .header .nav a:hover {
  color: #e62e1e;
}

body.about-page .header .nav-mega-trigger svg,
body.products-page .header .nav-mega-trigger svg,
body.product-detail-page .header .nav-mega-trigger svg {
  stroke: rgba(0, 0, 0, 0.7);
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 2rem));
  padding: 0.6rem 1.2rem 0.6rem 2rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.logo {
  text-decoration: none;
  color: #ffffff;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.4s ease;
}

.header.scrolled .logo {
  color: var(--text);
}

.logo-img {
  height: 18px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.nav a:hover,
.nav a.active {
  color: #e62e1e;
}

.header.scrolled .nav a {
  color: rgba(0, 0, 0, 0.56);
}

.header.scrolled .nav a:hover {
  color: var(--text);
}

.mobile-toggle {
  display: none;
}

/* Mega Menu */
.nav-mega-wrap {
  position: relative;
}
.nav-mega-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-mega-trigger svg {
  transition: transform 0.3s ease;
}
.nav-mega-wrap:hover .nav-mega-trigger svg {
  transform: rotate(180deg);
}
.mega-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 640px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  padding: 0.6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s 0.35s;
  visibility: hidden;
  z-index: 200;
}
/* Invisible bridge to fill the gap between trigger and dropdown */
.mega-menu::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}
.nav-mega-wrap:hover .mega-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s 0s;
}

/* Mega card item */
.mega-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text) !important;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  background: #fff;
}
.mega-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mega-card-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.mega-card:hover .mega-card-img {
  transform: scale(1.06);
}
.mega-card-inner {
  padding: 0.7rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.mega-card-inner strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}
.mega-card-inner span {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
}

/* "All Products" special card */
.mega-card.mega-card-all {
  background: linear-gradient(135deg, #1d1d1f, #2c2c2e);
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 100%;
  border-color: transparent;
}
.mega-card.mega-card-all .mega-card-inner {
  padding: 0;
}
.mega-card.mega-card-all strong {
  color: #fff;
  font-size: 0.85rem;
}
.mega-card.mega-card-all span {
  color: rgba(255,255,255,0.5);
}
.mega-card.mega-card-all svg {
  color: rgba(255,255,255,0.4);
  transition: transform 0.3s ease, color 0.3s ease;
}
.mega-card.mega-card-all:hover {
  border-color: var(--red);
  background: linear-gradient(135deg, #2c2c2e, #3a3a3c);
}
.mega-card.mega-card-all:hover svg {
  transform: translateX(4px);
  color: var(--red);
}

/* Product card badge (top-right) */
/* Category icon (top-right, icon only) */
.product-cat-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 12px;
  z-index: 3;
  transition: background 0.3s;
}
.product-card:hover .product-cat-icon {
  background: rgba(255, 71, 87, 0.85);
}

/* Title overlay on image */
.product-img-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.2rem 1.2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  z-index: 2;
}
.product-img-title h3 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.btn {
  text-decoration: none;
  color: #fff;
  background: var(--text);
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  transition:
    transform 0.3s cubic-bezier(0.19, 1, 0.22, 1),
    background 0.3s ease;
}

.btn:hover {
  transform: scale(1.02);
  background: #333;
}

.btn-primary {
  color: #1d1d1f;
  background: #ffffff;
  border: 1px solid #ffffff;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.btn-quote {
  background: var(--accent);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(230, 46, 30, 0.2);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.6rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-quote:hover {
  background: #0d0d0d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Desktop: hide SVG icon, show text label */
.btn-quote .quote-icon { display: none; }
.btn-quote .quote-label { display: inline; }


.btn-quote:hover {
  background: #f5f5f7;
  color: #1d1d1f;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

main {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideAnim 15s infinite;
}

@keyframes slideAnim {
  0%, 33.33% { opacity: 0; transform: scale(1.1); }
  5%, 28.33% { opacity: 1; transform: scale(1); }
  33.34% { opacity: 0; }
}

.hero-shell {
  position: relative;
  z-index: 10;
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: flex-end;
}

.hero-copy {
  max-width: 650px;
  text-align: left;
}

#heroTitle {
  font-family: "Manrope", sans-serif;
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: #ffffff;
}

.title-outline {
  font-weight: 200;
  font-style: italic;
  opacity: 0.6;
}

.title-accent {
  color: #e62e1e;
}

.subhead {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1.5rem;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0 1.6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(57, 107, 244, 0.08);
  border: 1px solid rgba(57, 107, 244, 0.2);
  color: #2a3f70;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-visual-wrap {
  position: relative;
  min-height: 520px;
}

.hero-visual {
  position: relative;
  border-radius: 36px;
  background: linear-gradient(135deg, #f3f6ff, #e7f0ff);
  border: 1px solid rgba(57, 107, 244, 0.15);
  box-shadow: 0 25px 60px rgba(57, 107, 244, 0.18);
  padding: 1.25rem;
  overflow: hidden;
  min-height: 520px;
}

.hero-visual.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(8, 18, 40, 0.75)),
    var(--hero-image) center/cover no-repeat;
}

.hero-cards {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.8rem;
  align-content: end;
  height: 100%;
  padding: 1.2rem;
}

.hero-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.8rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  text-decoration: none;
  color: #1d1d1f;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
}

.hero-card img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-card span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #396bf4;
  font-weight: 700;
}

.hero-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1d1d1f;
}

.hero-stats-wrap {
  display: flex;
  justify-content: flex-end;
}

.stats-grid {
  display: flex;
  gap: 3rem;
  text-align: left;
}

.stats-grid article {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: transparent;
  border: none;
  padding: 0;
}

.stats-grid h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #e62e1e;
  margin: 0;
  font-family: "Manrope", sans-serif;
}

.stats-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.73rem;
  color: var(--accent);
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
  line-height: 1.15;
}

@media (max-width: 980px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-visual-wrap {
    min-height: 420px;
  }
}

.section {
  padding: 5rem 0;
  opacity: 0;
  filter: blur(15px);
  transform: translateY(40px);
  transition:
    opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.is-in,
.product-detail-section {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.section-head {
  margin-bottom: 2rem;
  text-align: center;
}

.section-head h2 {
  margin-top: 0.5rem;
  max-width: none;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.about-text-content p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a4a4f;
}

.about-text-content p strong {
  color: #1d1d1f;
  font-weight: 700;
}

.about-stats-mini {
  display: flex;
  gap: 3rem;
  margin-top: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

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

.stat-item strong {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.2;
}

.stat-item span {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-top: 0.2rem;
}

.about-visual-content {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transform: translateZ(0);
}

.about-main-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-visual-content:hover .about-main-img {
  transform: scale(1.05);
}

.about-visual-accent {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 46, 30, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

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

.card {
  padding: 1.2rem;
}

.card h3 {
  font-size: 1.15rem;
}

.card p {
  color: var(--muted);
  margin: 0.7rem 0 0;
}

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

.product-card {
  min-height: 360px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(145deg, var(--card-strong), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eef2ff;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 0.5s ease;
  transform: translateX(calc(var(--active-slide, 0) * -100%));
}

.product-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-slide.empty {
  background: linear-gradient(135deg, #f2f5ff, #e5ebff);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 0.2rem 0.4rem;
}

.product-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  max-width: 32ch;
}

.product-dots {
  display: none;
}

.product-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(57, 107, 244, 0.25);
  border: none;
  padding: 0;
}

.product-dot.is-active {
  width: 18px;
  background: rgba(57, 107, 244, 0.9);
}

.product-meta {
  width: fit-content;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(57, 107, 244, 0.2);
  background: rgba(57, 107, 244, 0.08);
  color: #2a3f70;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

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

.proof-card {
  padding: 1.2rem;
}

.proof-card p {
  margin-top: 0.6rem;
  color: var(--muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}

.faq-list details {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.faq-list details[open] {
  border-color: rgba(20, 184, 146, 0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

summary {
  cursor: pointer;
  list-style: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #1d1d1f;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary svg {
  color: #86868b;
  transition: transform 0.3s ease, color 0.3s ease;
}

details[open] summary svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-list p {
  margin: 1rem 0 0;
  color: #4a4a4f;
  line-height: 1.6;
  font-size: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.contact {
  padding: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact p {
  color: var(--muted);
  margin: 0.8rem 0 0;
}

/* ==============================
   Footer Redesign
   ============================== */
.footer {
  width: 100%;
  margin: 4rem 0 0;
  background: url('./public/footer%20bg.png') center/cover no-repeat;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: #1d1d1f;
}

.footer-main {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 2fr;
  gap: 3rem;
}

.footer-logo {
  height: 28px;
  margin-bottom: 2rem;
}

.footer-info p {
  display: flex;
  gap: 0.8rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.2rem;
}

.footer-info p svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #e62e1e;
}

.footer-info p a {
  color: #e62e1e;
  text-decoration: none;
}

.footer-col h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #1d1d1f;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.footer-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: #e62e1e;
  border-radius: 50%;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: #555;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #e62e1e;
}

/* Footer Quote Form */
.footer-quote-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.footer-quote-form input,
.footer-quote-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #1d1d1f;
  transition: all 0.3s ease;
}

.footer-quote-form input::placeholder,
.footer-quote-form textarea::placeholder {
  color: #999;
}

.footer-quote-form input:focus,
.footer-quote-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(230, 46, 30, 0.1);
}

.footer-btn-send {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 4px;
  transition: opacity 0.3s;
}

.footer-btn-send:hover {
  opacity: 0.9;
}

/* Footer Bottom Bar */
.footer-bottom {
  background: var(--accent);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.5rem 0;
  position: relative;
}

.footer-bottom-inner {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
}

.lang-select {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-socials a:hover {
  opacity: 1;
}

.back-to-top {
  position: absolute;
  right: 2rem;
  bottom: 0;
  background: #333;
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

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

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
  }
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }
  .footer-social-lang-wrap {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
  }
  .footer-socials {
    margin-top: 0 !important;
  }
}

.footer-social-lang-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Floating animation for hero visual */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.hero-visual {
  animation: float 4s ease-in-out infinite;
}

@media (max-width: 980px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin-top: 15px;
    gap: 1rem;
  }
  
  .header.mobile-active .nav {
    display: flex;
  }

  .header.mobile-active {
    background: #ffffff;
    border-color: rgba(0,0,0,0.1);
  }

  .nav a,
  body.about-page .header .nav a,
  body.products-page .header .nav a,
  body.product-detail-page .header .nav a {
    color: var(--text);
    font-size: 1rem;
    padding: 0.5rem 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 0.2rem;
    cursor: pointer;
  }

  /* Mobile logo: smaller */
  .logo-img {
    height: 14px;
  }

  /* Mobile Get Quote: icon-only circle button */
  .btn-quote {
    padding: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(230, 46, 30, 0.2);
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0.5rem; /* Gap between quote and hamburger */
    order: 2; /* Ensure it stays on the right but before hamburger */
  }
  .btn-quote .quote-label { display: none; }
  .btn-quote .quote-icon { display: block; }
  
  .mobile-toggle {
    order: 3;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .logo { order: 1; }
  .nav { display: none; }


  .nav-mega-wrap:hover .mega-menu {
    transform: none;
    position: static;
    visibility: visible;
    opacity: 1;
    min-width: unset;
    box-shadow: none;
    border: none;
    padding: 0;
    background: transparent;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .mega-menu::before {
    display: none;
  }
  
  .nav-mega-trigger svg {
    margin-left: auto;
  }

  .stats-grid,
  .about-grid,
  .adv-grid,
  .proof {
    grid-template-columns: 1fr;
  }
  
  .filter-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 0.8rem;
    padding: 0.5rem 1rem 1.2rem;
    margin: 0 -1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.7rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
  }
  .filter-tab.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }
  
  .product-grid,
  .products-section,
  .products-section.reveal,
  .section,
  .section.reveal {
    grid-template-columns: repeat(2, 1fr);
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    filter: none !important;
  }

  .contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 5.3rem;
  }
}

@media (max-width: 580px) {
  .product-grid,
  .products-grid,
  .section,
  .reveal {
    grid-template-columns: 1fr !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    filter: none !important;
  }
}

@media (max-width: 640px) {
  .header {
    width: calc(100% - 1.5rem);
    padding: 0.5rem 1rem 0.5rem 1.5rem;
    border-radius: 100px; /* Keep pill shape */
    top: 1rem;
    justify-content: space-between;
  }
  
  .logo { order: 1; margin-right: auto; }
  .btn-quote { order: 2; margin-right: 0.4rem; }
  .mobile-toggle { order: 3; }

  h1 {
    max-width: none;
  }

  .hero-actions {
    flex-wrap: wrap;
  }
}

/* ==============================
   About Page Specific Styles
   ============================== */
.page-header {
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%),
    url('./public/home/About/about%20banner.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
}

.page-header-content h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  color: #fff;
  margin: 1rem 0;
  letter-spacing: -0.04em;
}

.page-header-content .subhead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Mission & Vision Layout */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
}

.mission-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
  border-color: rgba(230, 46, 30, 0.4);
}

.mission-card.full-width-card {
  grid-column: span 2;
  background: linear-gradient(to right, rgba(230, 46, 30, 0.05), transparent);
}

.mission-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.mission-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.mission-card p {
  color: #4a4a4f;
  line-height: 1.7;
  font-size: 1.1rem;
  margin: 0;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.value-item strong {
  font-size: 1.15rem;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.value-item span {
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }
  .mission-card.full-width-card {
    grid-column: span 1;
  }
  .values-list {
    grid-template-columns: 1fr;
  }
}

/* Category Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.category-card {
  position: relative;
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.cat-img-wrap {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.category-card:hover .cat-img-wrap img {
  transform: scale(1.08);
}

.cat-content {
  padding: 1.8rem;
  background: #fff;
}

.cat-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.cat-content p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.view-link {
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
}

/* Certificates — Scattered Photo Pile (ImageReveal inspired) */
.cert-scatter {
  display: flex;
  gap: 1rem;
  width: 100%;
  padding: 3rem 0;
  justify-content: center;
  align-items: center;
}

.cert-tile {
  flex: 1;
  min-width: 0;
  border-radius: 16px;
  overflow: visible;
  background: #fff;
  padding: 10px;
  border: 2px solid var(--line);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: rotate(var(--rot, 0deg)) translate(var(--tx, 0), var(--ty, 0));
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.cert-tile::after {
  content: '🔍';
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.cert-tile:hover::after {
  opacity: 1;
}

.cert-tile:hover {
  transform: rotate(0deg) translate(0, -18px) scale(1.08);
  border-color: rgba(230, 57, 70, 0.5);
  box-shadow: 0 30px 70px rgba(255, 71, 87, 0.2);
  z-index: 10;
}

.cert-tile img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  filter: grayscale(80%) brightness(0.95);
  transition: filter 0.5s ease;
}

.cert-tile:hover img {
  filter: grayscale(0%) brightness(1);
}

/* Click-to-enlarge Lightbox */
.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  cursor: zoom-out;
}

.cert-lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

.cert-lightbox img {
  max-width: 85vw;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-lightbox.is-active img {
  transform: scale(1);
}

/* Factory Image Grid */
.factory-grid {
  columns: 3 300px;
  column-gap: 1.5rem;
}

.factory-img {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.factory-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s ease;
}

.factory-img:hover img {
  transform: scale(1.05);
}

/* Advantage Icons styling */
.adv-icon {
  width: 44px;
  height: 44px;
  color: #e62e1e;
  margin-bottom: 1.2rem;
  background: rgba(230, 46, 30, 0.1);
  padding: 10px;
  border-radius: 12px;
}

@media (max-width: 980px) {
  .factory-grid {
    columns: 2 250px;
  }
  
  .cert-scatter {
    flex-wrap: wrap;
  }
  .cert-tile {
    flex: 0 0 calc(25% - 0.75rem);
  }
}
@media (max-width: 640px) {
  .factory-grid {
    columns: 1 100%;
  }
  .cert-tile {
    flex: 0 0 calc(50% - 0.5rem);
  }
  .cert-scatter {
    gap: 0.8rem;
  }
}

/* ==============================
   Products Page Styles
   ============================== */
.products-hero {
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 100%),
    url('https://wayparkglobal.com/wp-content/uploads/2025/02/IMG_20221012_103141-scaled.jpg');
}

.products-toolbar {
  position: sticky;
  top: 70px;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.products-toolbar.is-stuck {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.toolbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4vw;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.filter-tab svg { opacity: 0.5; transition: opacity 0.3s; }
.filter-tab:hover { border-color: var(--red); color: var(--red); }
.filter-tab:hover svg { opacity: 1; }
.filter-tab.active { background: var(--red); border-color: var(--red); color: #fff; }
.filter-tab.active svg { opacity: 1; stroke: #fff; }

.products-count {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.products-grid-section { padding-top: 1rem; }

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

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

.product-card {
  padding: 12px;
  min-height: auto;
  border-radius: 20px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card::before {
  display: none;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.08);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f5f7;
}

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

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

/* Home Tabs */
.home-products-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.home-tab {
  padding: 0.6rem 1.8rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.home-tab:hover {
  color: var(--text);
  border-color: var(--text);
}

.home-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Blog Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f0f0f0;
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.blog-img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
}

.blog-content h3 {
  font-size: 1.15rem;
  margin: 0.5rem 0 1rem;
  line-height: 1.4;
  color: var(--text);
}

.blog-link {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.product-meta {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 4px;
}

.product-card-info {
  padding: 4px 4px 8px;
}

.product-card-info h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s;
}
.product-card:hover .product-overlay { opacity: 1; }
.product-overlay-btn {
  background: #fff;
  color: var(--text);
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-overlay-btn { transform: translateY(0); }

.product-info { padding: 1.2rem 1.5rem 1.5rem; }

.product-cat-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}
.spec-chip {
  background: var(--bg-soft);
  padding: 0.25rem 0.7rem;
  border-radius: 8px;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-view-btn {
  color: var(--red);
  font-weight: 700;
  font-size: 0.85rem;
}

/* CTA Section */
.products-cta-section { padding-top: 0; }
.cta-box {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 28px;
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-content .eyebrow { color: rgba(255,255,255,0.5); }
.cta-content h2 { color: #fff; font-size: 2rem; margin-bottom: 0.8rem; }
.cta-content p { color: rgba(255,255,255,0.65); max-width: 500px; line-height: 1.6; }

/* ==============================
   Product Detail Styles
   ============================== */
.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.detail-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.detail-breadcrumb a:hover { color: var(--red); }
.detail-breadcrumb span { color: var(--text); font-weight: 600; }
.detail-breadcrumb svg { color: var(--muted); flex-shrink: 0; }

.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.detail-gallery {
  position: sticky;
  top: 100px;
}

.detail-main-img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #f5f5f7;
  box-shadow: 0 16px 50px rgba(0,0,0,0.06);
  cursor: zoom-in;
}
.detail-main-img img { width: 100%; height: auto; display: block; }

.img-zoom-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 12px;
  padding: 0.6rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s;
  display: flex;
}
.img-zoom-btn:hover { background: var(--red); color: #fff; }
.img-zoom-btn:hover svg { stroke: #fff; }

.detail-thumbs { display: flex; gap: 0.8rem; margin-top: 1rem; }
.detail-thumb {
  width: 72px; height: 72px;
  border-radius: 14px; overflow: hidden;
  border: 2px solid var(--line); cursor: pointer;
  transition: all 0.3s;
}
.detail-thumb.active, .detail-thumb:hover { border-color: var(--red); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-cat {
  display: inline-block;
  background: rgba(255, 71, 87, 0.1);
  color: var(--red);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.detail-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.detail-desc {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.feature-pill {
  background: rgba(255, 71, 87, 0.08);
  color: var(--red);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.detail-specs {
  background: #f9f9fb;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
}
.detail-specs h3 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.detail-specs h3 svg { color: var(--red); }

.specs-list { display: flex; flex-direction: column; }
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--muted); font-size: 0.88rem; font-weight: 500; }
.spec-value { color: var(--text); font-weight: 700; font-size: 0.92rem; text-align: right; }

.detail-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.detail-quote-btn {
  display: flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, #ff6b81, #ff4757);
  color: #fff; border: none;
  padding: 1rem 2rem; border-radius: 14px;
  font-weight: 700; font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255,71,87,0.25);
}
.detail-quote-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255,71,87,0.35);
}
.detail-browse-btn {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--bg-soft); color: var(--text);
  border: 1.5px solid var(--line);
  padding: 1rem 2rem; border-radius: 14px;
  font-weight: 600; text-decoration: none;
  transition: all 0.3s ease;
}
.detail-browse-btn:hover { border-color: var(--red); color: var(--red); }

.detail-loading {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  padding: 6rem; color: var(--muted);
}
.loading-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--line);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Trust Section */
.detail-trust-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2.5rem;
  background: #f9f9fb;
  border-radius: 24px;
  border: 1px solid var(--line);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}
.trust-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 71, 87, 0.08);
  border-radius: 14px;
  color: var(--red);
  margin-bottom: 0.3rem;
}
.trust-item strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}
.trust-item span {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 980px) {
  .detail-trust-section {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  .detail-trust-section {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* Related Products */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.related-grid .product-info { padding: 1rem 1.2rem; }
.related-grid .product-info h3 { font-size: 0.95rem; }

@media (max-width: 980px) {
  .detail-layout { grid-template-columns: 1fr; gap: 2rem; }
  .cta-box { padding: 2.5rem; flex-direction: column; text-align: center; }
}

/* Modal styles */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quote-modal.is-active {
  pointer-events: auto;
  opacity: 1;
}

.quote-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.quote-modal-content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  width: min(90%, 750px);
  padding: 3rem 4rem 3.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.quote-modal.is-active .quote-modal-content {
  transform: translateY(0);
}

.quote-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #f1f2f6;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1d1d1f;
  transition: background 0.2s ease;
}

.quote-modal-close:hover {
  background: #e4e5e9;
}

.modal-eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #86868b;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
}

.modal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b61fa;
}

.quote-modal h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 3.5rem;
  color: #1d1d1f;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 2rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.input-group.full-width,
.form-footer.full-width {
  grid-column: 1 / -1;
}

.input-group label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #86868b;
  letter-spacing: 0.1em;
}

.quote-form-grid input {
  border: none;
  border-bottom: 1px solid #e5e5e5;
  padding: 0.5rem 0;
  width: 100%;
  font-size: 1.25rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: #1d1d1f;
  background: transparent;
  transition: border-color 0.3s ease;
}

.quote-form-grid input::placeholder {
  color: #cdd0d5;
  font-weight: 600;
}

.quote-form-grid input:focus {
  outline: none;
  border-bottom-color: #3b61fa;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1.5rem;
}

.privacy-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  color: #86868b;
  line-height: 1.5;
  margin: 0;
}

.btn-submit-blue {
  background: #3b61fa;
  color: #ffffff;
  border: none;
  padding: 1.1rem 2.8rem;
  border-radius: 999px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 20px rgba(59, 97, 250, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.btn-submit-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(59, 97, 250, 0.4);
}

@media (max-width: 640px) {
  .quote-modal-content {
    padding: 2.5rem 2rem;
  }
  
  .quote-form-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
}

/* ==============================
   Blog Page Specific Styles
   ============================== */
body.blog-page .header .nav a { color: var(--text); }
body.blog-page .header .nav a:hover { color: var(--accent); }
body.blog-page .header .nav-mega-trigger svg { color: var(--muted); }

.blog-detail-header {
  padding: 12rem 2rem 5rem;
  background: var(--bg-soft);
  text-align: center;
}

.blog-detail-header .eyebrow {
  margin-bottom: 1.5rem;
}

.blog-detail-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  max-width: 1000px;
  margin: 0 auto 2rem;
}

.blog-detail-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.blog-detail-hero-img {
  width: min(1200px, calc(100% - 3rem));
  margin: -3rem auto 4rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 10;
}

.blog-detail-hero-img img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}

.blog-detail-layout {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto 5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

.blog-content-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
}

.blog-content-body p {
  margin-bottom: 2rem;
}

.blog-content-body h2 {
  font-family: "Manrope", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 3.5rem 0 1.5rem;
}

.blog-content-body h3 {
  font-family: "Manrope", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 1rem;
}

.blog-content-body ul {
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.blog-content-body li {
  margin-bottom: 0.8rem;
}

.blog-content-body img {
  border-radius: 12px;
  margin: 2rem 0;
  width: 100%;
}

.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li {
  margin-bottom: 1rem;
}

.sidebar-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.sidebar-links a:hover {
  color: var(--accent);
}

@media (max-width: 980px) {
  .blog-detail-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Global Fix for Product Page Card Visibility */
.product-grid,
.products-grid,
.products-grid-section {
  display: grid !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.product-card {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Category Filter Styling Improvements */
.filter-tabs {
  padding-bottom: 0.5rem;
}

.filter-tab {
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.filter-tab:hover:not(.active) {
  background: #f9f9f9;
  border-color: rgba(0,0,0,0.2);
}

/* Footer Mobile Accordion */
@media (max-width: 768px) {
  .footer-col h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem 0;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .footer-col .fold-icon {
    transition: transform 0.3s ease;
  }
  .footer-col.is-open .fold-icon {
    transform: rotate(180deg);
  }
  .footer-col .fold-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  }
  .footer-col.is-open .fold-content {
    max-height: 1000px;
    transition: max-height 0.4s ease-in;
    padding-top: 1rem;
    padding-bottom: 2rem;
  }
  .footer-grid {
    gap: 0;
  }
  .footer-col {
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
}

/* Off-Canvas Filter */
.off-canvas-filter {
  position: fixed;
  inset: 0;
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s;
}
.off-canvas-filter.active {
  visibility: visible;
  pointer-events: auto;
}
.off-canvas-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s;
}
.off-canvas-filter.active .off-canvas-overlay { opacity: 1; }
.off-canvas-content {
  position: absolute;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background: #fff;
  padding: 2.5rem 2rem;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}
.off-canvas-filter.active .off-canvas-content { right: 0; }
.off-canvas-close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  align-self: flex-end;
  color: var(--text);
}
.off-canvas-title { font-size: 1.5rem; font-weight: 800; }
.off-canvas-tabs { display: flex; flex-direction: column; gap: 0.8rem; }
.off-canvas-tabs .filter-tab {
  width: 100%;
  justify-content: flex-start;
  padding: 1.2rem 1.5rem;
  border-radius: 14px;
  background: #f8f8f8;
  border: 1px solid transparent;
  font-weight: 600;
}
.off-canvas-tabs .filter-tab.active {
  background: var(--accent);
  color: #fff;
}

/* Mobile Filter Trigger */
.filter-mobile-trigger {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
@media (max-width: 980px) {
  .filter-mobile-trigger { display: flex; }
  .products-toolbar .filter-tabs { display: none; }
}

/* Custom Page Mobile Fixes */
@media (max-width: 768px) {
  .custom-hero { padding-top: 8rem; min-height: auto; }
  .custom-hero-stats { grid-template-columns: 1fr; gap: 1rem; }
  .mode-card-top, .mode-card-bottom { padding: 2rem; }
  .mode-card-top h2 { font-size: 1.7rem; }
  .process-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .capabilities-inner { gap: 3rem; }
  .factory-img-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
}
