/* ===========================================================
   Swastik Multipack — global styles
   =========================================================== */
html { scroll-behavior: smooth; }

/* ===========================================================
   Top info bar (index page only)
   =========================================================== */
#topInfoBar {
  transition: height 0.3s ease, opacity 0.3s ease;
}
#topLangSelect {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  padding: 2px 4px;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}
#topLangSelect option {
  background: #050D1B;
  color: #fff;
}

/* ===========================================================
   Product carousel — mobile-first responsive
   =========================================================== */

/* --- Shared / base (all sizes) --- */
#productCarousel {
  position: relative;
  padding: 2rem 0;
}
#productCarousel .carousel-outer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
#productCarousel .carousel-viewport {
  overflow: hidden;
  padding: 2rem 0;
  flex: 1;
  min-width: 0;
}
#productCarousel .carousel-track {
  display: flex;
  gap: 1rem;
  align-items: center;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile: 1 card centred, side cards peek */
#productCarousel .carousel-card {
  flex: 0 0 220px;
  max-width: 220px;
  height: auto;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  border: 1px solid #E2E8F0;
  opacity: 0.5;
  transform: scale(0.86);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
#productCarousel .carousel-card .card-img-wrap { flex: 0 0 auto; }
#productCarousel .carousel-card > div:last-child {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 1.25rem;
}
#productCarousel .carousel-card.is-active {
  opacity: 1;
  transform: scale(1.08);
  box-shadow:
    0 0 0 1px rgba(184, 146, 60, 0.25),
    0 0 16px 6px rgba(184, 146, 60, 0.35),
    0 0 40px 14px rgba(184, 146, 60, 0.18),
    0 24px 48px -12px rgba(15, 23, 42, 0.28);
  z-index: 5;
}

/* Small phone -> wider cards */
@media (min-width: 480px) {
  #productCarousel .carousel-card {
    flex: 0 0 250px;
    max-width: 250px;
    min-height: 340px;
  }
}

/* Tablet: 3 smaller cards side by side */
@media (min-width: 768px) {
  #productCarousel {
    padding: 2.5rem 3.5rem;
  }
  #productCarousel .carousel-viewport {
    width: calc(260px * 3 + 1rem * 2);
  }
  #productCarousel .carousel-card {
    flex: 0 0 260px;
    max-width: 260px;
    height: 380px;
    min-height: unset;
  }
}

/* Desktop: full 3-card layout */
@media (min-width: 1024px) {
  #productCarousel {
    padding: 3rem 5rem;
  }
  #productCarousel .carousel-viewport {
    width: calc(300px * 3 + 1.5rem * 2);
  }
  #productCarousel .carousel-card {
    flex: 0 0 300px;
    max-width: 300px;
    height: 415px;
  }
  #productCarousel .carousel-track { gap: 1.5rem; }
  #productCarousel .carousel-card.is-active { transform: scale(1.12); }
}

/* Large desktop */
@media (min-width: 1280px) {
  #productCarousel .carousel-viewport {
    width: calc(320px * 3 + 1.5rem * 2);
  }
  #productCarousel .carousel-card {
    flex: 0 0 320px;
    max-width: 320px;
    height: 425px;
  }
}

/* Card image */
#productCarousel .card-img-wrap {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}
#productCarousel .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
#productCarousel .carousel-card.is-active .card-img-wrap img {
  transform: scale(1.05);
}

/* View overlay */
#productCarousel .card-view-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 41, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
  text-decoration: none;
}
#productCarousel .carousel-card:hover .card-view-overlay {
  background: rgba(10, 25, 41, 0.52);
  opacity: 1;
}
@media (hover: none) {
  #productCarousel .carousel-card.is-active .card-view-overlay {
    background: rgba(10, 25, 41, 0.45);
    opacity: 1;
  }
}
#productCarousel .card-view-overlay .view-pill {
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  transition: background 0.25s ease, border-color 0.25s ease;
}
#productCarousel .card-view-overlay:hover .view-pill {
  background: var(--gold);
  border-color: var(--gold);
}

/* Arrows */
#productCarousel .carousel-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
#productCarousel .carousel-arrow:hover {
  background: var(--gold);
  color: #fff;
  transform: scale(1.08);
}
@media (min-width: 768px) {
  #productCarousel .carousel-arrow { width: 44px; height: 44px; font-size: 22px; }
}
@media (min-width: 1024px) {
  #productCarousel .carousel-arrow { width: 50px; height: 50px; font-size: 24px; }
}


:root {
  --ink: #0A1929;
  --ink-soft: #1E2A47;
  --ink-deep: #050D1B;
  --gold: #E63946;
  --gold-soft: #F4B73E;
  --gold-light: #F8A0A8;
  --accent: #C1121F;
  --mist: #FFF5F0;
  --line: #E2E8F0;
  --text: #0F172A;
  --text-soft: #475569;
}

html {
  scroll-behavior: smooth;
  scroll-timeline: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #ffffff;
}

/* Logo white-bg killer — uses SVG color matrix to turn white pixels transparent */
.logo-transparent {
  filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='r' color-interpolation-filters='sRGB'><feColorMatrix type='matrix' values='1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  -1 -1 -1 0 1'/></filter></svg>#r");
  mix-blend-mode: multiply;
}

.font-display {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

/* Grid backdrop disabled — clean plain background */
.bg-grid {
  background-image: none;
}

.bg-radial {
  background: radial-gradient(circle at 20% 0%, rgba(184, 146, 60, 0.08), transparent 50%),
              radial-gradient(circle at 80% 100%, rgba(10, 25, 41, 0.06), transparent 50%);
}

/* ===========================================================
   Scroll-reveal animation
   Triggered by data-reveal attribute + IntersectionObserver in JS
   =========================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="zoom"]  { transform: scale(0.95); }

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

[data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal-delay="300"] { transition-delay: 0.3s; }
[data-reveal-delay="400"] { transition-delay: 0.4s; }
[data-reveal-delay="500"] { transition-delay: 0.5s; }
[data-reveal-delay="600"] { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===========================================================
   Navigation — sticky header with subtle elevation on scroll
   =========================================================== */
.site-header {
  background-color: #ffffff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 4px 16px -8px rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.3s ease, top 0.3s ease;
}
/* Navbar — full-width: logo / menu sit near screen edges */
.site-header .container {
  max-width: 100% !important;
  padding-left: clamp(0.75rem, 2vw, 1.5rem) !important;
  padding-right: clamp(0.75rem, 2vw, 1.5rem) !important;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08), 0 10px 30px -12px rgba(15, 23, 42, 0.18);
}

.nav-link {
  position: relative;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}
.nav-link.is-active {
  color: var(--ink);
}

/* Mobile menu — full panel that drops down from header */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: #ffffff !important;
  position: fixed;
  left: 0; right: 0;
  top: 64px;
  z-index: 60;
  box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.25);
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) {
  .mobile-menu { top: 80px; }
}
.mobile-menu.is-open {
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  border-top: 1px solid #E2E8F0;
}
.mobile-menu > div {
  background: #ffffff !important;
  padding: 1rem 1.25rem 1.5rem !important;
  border-top: 0 !important;
}
/* When mobile menu is open, lock body scroll */
body.menu-open { overflow: hidden; position: fixed; width: 100%; }

/* ===========================================================
   Buttons
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 9999px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.25s ease,
              background-color 0.25s ease,
              color 0.25s ease,
              border-color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(10, 25, 41, 0.5);
}
.btn-primary:hover {
  background: var(--ink-deep);
  box-shadow: 0 18px 32px -12px rgba(10, 25, 41, 0.55);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(184, 146, 60, 0.55);
}
.btn-gold:hover {
  box-shadow: 0 18px 32px -10px rgba(184, 146, 60, 0.6);
  filter: brightness(1.05);
}

.btn-outline {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* ===========================================================
   Section heading helper
   =========================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  background: none;
  -webkit-background-clip: unset;
          background-clip: unset;
  -webkit-text-fill-color: #E63946;
  color: #E63946;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
}
.eyebrow-accent {
  background: var(--accent);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.eyebrow-accent::before {
  background: var(--accent);
}

/* ===========================================================
   Sunset gradient — applied site-wide to gold text accents
   (highlighted heading words, stat numbers, "text-gold" usages)
   =========================================================== */
.text-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  padding: 0.05em 0.05em 0.2em 0.05em;
  line-height: 1.2;
  overflow: visible;
}

/* ===========================================================
   Cards
   =========================================================== */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 48px -24px rgba(10, 25, 41, 0.18);
  border-color: rgba(184, 146, 60, 0.4);
}

.card-img {
  overflow: hidden;
  border-radius: 1rem;
}
.card-img img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover .card-img img {
  transform: scale(1.06);
}

/* ===========================================================
   Industry icon tile
   =========================================================== */
.industry-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.industry-tile:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -20px rgba(10, 25, 41, 0.4);
}
.industry-tile .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(184, 146, 60, 0.12), rgba(184, 146, 60, 0.04));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.35s ease;
}
.industry-tile:hover .icon-circle {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #fff;
}

/* ===========================================================
   Cert badge
   =========================================================== */
.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: all 0.25s ease;
}
.cert-pill:hover {
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}
.cert-pill .dot {
  width: 8px; height: 8px;
  border-radius: 9999px;
  background: var(--gold);
}

/* ===========================================================
   Form
   =========================================================== */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  font-family: inherit;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(10, 25, 41, 0.08);
}
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Form success state */
.form-success {
  display: none;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}
.form-success.is-visible { display: block; }

/* ===========================================================
   Hero composition
   =========================================================== */
.hero-grad {
  background:
    radial-gradient(circle at 0% 0%, rgba(184, 146, 60, 0.10), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(200, 16, 46, 0.06), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.floating-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 24px 40px -20px rgba(10, 25, 41, 0.18);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ===========================================================
   Marquee — for client logos / certifications strip
   =========================================================== */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scroll 30s linear infinite;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===========================================================
   Footer — redesigned
   =========================================================== */
footer p, footer li, footer address {
  font-size: clamp(0.8rem, 0.9vw, 0.88rem) !important;
}

.footer-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem !important;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.65rem;
  margin-bottom: 0;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.25rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  border-radius: 2px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem !important;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
  line-height: 1.5;
}
.footer-link::before {
  content: '▪';
  color: var(--gold);
  font-size: 0.6rem;
  line-height: 1;
  flex-shrink: 0;
}
.footer-link:hover { color: #fff; gap: 0.55rem; }

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: #94a3b8;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.22s ease;
  flex-shrink: 0;
}
.footer-social-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ===========================================================
   Footer brand mark
   =========================================================== */
.swastik-mark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Image placeholder shimmer while loading */
img {
  background-color: #f1f5f9;
  max-width: 100%;
  height: auto;
}

/* Contact page — phone icon hover (icon turns golden yellow) */
.phone-link:hover .phone-icon {
  background-color: rgba(244, 183, 62, 0.18) !important;
  color: #F4B73E !important;
}

/* (Google Translate styles removed) */

/* ===========================================================
   Certifications page
   =========================================================== */
.cert-tile {
  display: block;
  padding: 1.75rem 1.5rem;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 1.25rem;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.cert-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(15, 23, 42, 0.18);
  border-color: var(--gold-soft);
}
.cert-tile-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.12), rgba(244, 183, 62, 0.18));
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.cert-tile-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem; font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.cert-tile-sub {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #64748B;
}

/* Photo frame for the certificate image */
.cert-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}
.cert-photo-frame::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(244, 183, 62, 0.08), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(230, 57, 70, 0.06), transparent 45%);
  pointer-events: none;
}
.cert-photo-frame img {
  position: relative;
  display: block;
  background: transparent;
}

/* Big numeral for each cert */
.cert-num {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  background: linear-gradient(135deg, #E63946, #F4B73E);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Bullet style for cert lists */
.cert-bullet {
  display: flex; align-items: flex-start; gap: 0.75rem;
  color: #475569; font-size: 0.95rem; line-height: 1.55;
}
.cert-bullet .dot {
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #E63946, #F4B73E);
}

/* Phone responsiveness for certifications */
@media (max-width: 767px) {
  .cert-num { font-size: 2.2rem; }
  .cert-photo-frame { aspect-ratio: 4/5; padding: 0.75rem; }
  .gt-wrap select.goog-te-combo { width: 100%; padding: 0.65rem 2.25rem 0.65rem 1rem; }
}

/* ===========================================================
   THANK-YOU MODAL — smiling bag pop-up after form submission
   (smoother, GPU-accelerated, with auto-close progress bar)
   =========================================================== */
.ty-modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
.ty-modal.is-open {
  display: flex;
  opacity: 1;
}
.ty-modal.is-closing { opacity: 0; }

.ty-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 25, 41, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ty-card {
  position: relative;
  background: #fff;
  border-radius: 1.75rem;
  padding: 2.5rem 2rem 2rem;
  max-width: 440px;
  width: 90vw;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  transform: translateY(40px) scale(0.85);
  opacity: 0;
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity   0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
  overflow: hidden;
}
.ty-modal.is-open .ty-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.ty-modal.is-closing .ty-card {
  transform: translateY(-20px) scale(0.95);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity   0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bag wrapper bounce — smoother sine ease */
.ty-bag-wrap {
  width: 140px; height: 154px; margin: 0 auto 1rem;
  animation: bagBounce 2.4s ease-in-out infinite;
  will-change: transform;
}
.ty-bag { width: 100%; height: 100%; display: block; }
@keyframes bagBounce {
  0%, 100% { transform: translateY(0)    rotate(-2deg) scale(1); }
  50%      { transform: translateY(-8px) rotate(2deg)  scale(1.02); }
}

/* Smile draw-on — slower, smoother */
.bag-smile {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawSmile 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}
@keyframes drawSmile { to { stroke-dashoffset: 0; } }

/* Eyes blink — every ~3.5 sec */
.bag-eye {
  animation: blink 3.5s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95%           { transform: scaleY(0.1); }
}

/* Title + message */
.ty-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 2rem;
  color: #0A1929;
  background: linear-gradient(135deg, #E63946, #F4B73E);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: tyFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}
.ty-msg {
  color: #475569; font-size: 0.95rem; line-height: 1.55;
  opacity: 0;
  animation: tyFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}
@keyframes tyFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Auto-redirect progress bar */
.ty-progress {
  position: absolute; left: 0; bottom: 0;
  height: 4px; width: 100%;
  background: rgba(244, 183, 62, 0.15);
  overflow: hidden;
}
.ty-progress::after {
  content: ''; display: block;
  height: 100%; width: 100%;
  background: linear-gradient(90deg, #E63946, #F4B73E);
  transform-origin: left center;
  transform: scaleX(0);
}
.ty-modal.is-open .ty-progress::after {
  animation: tyProgress 5s linear forwards;
}
@keyframes tyProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Confetti */
.confetti {
  position: absolute; width: 9px; height: 9px;
  border-radius: 2px;
  opacity: 0;
  animation: confettiFall 2.6s cubic-bezier(0.4, 0, 0.6, 1) forwards;
  will-change: transform, opacity;
}
.confetti.c1 { left: 10%; top: -10px; background: #E63946; animation-delay: 0.15s; }
.confetti.c2 { left: 25%; top: -10px; background: #F4B73E; animation-delay: 0.35s; }
.confetti.c3 { left: 40%; top: -10px; background: #F8A0A8; animation-delay: 0.25s; }
.confetti.c4 { left: 55%; top: -10px; background: #E63946; animation-delay: 0.55s; }
.confetti.c5 { left: 70%; top: -10px; background: #F4B73E; animation-delay: 0.20s; }
.confetti.c6 { left: 85%; top: -10px; background: #F8A0A8; animation-delay: 0.45s; }
.confetti.c7 { left: 30%; top: -10px; background: #F4B73E; animation-delay: 0.65s; }
.confetti.c8 { left: 65%; top: -10px; background: #E63946; animation-delay: 0.30s; }
@keyframes confettiFall {
  0%   { transform: translateY(0)     rotate(0);     opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(460px) rotate(720deg); opacity: 0; }
}

/* ===========================================================
   RESPONSIVE — fluid type + comfortable side margins
   Uses clamp() so EVERY element scales smoothly between
   320px (small phone) → 1920px (large desktop), no jumps.
   =========================================================== */

/* Universal — prevent horizontal overflow on small screens */
html, body {
  overflow-x: hidden;
  width: 100%;
}
img, video, iframe { max-width: 100%; }

/* Container — comfortable breathing room on every device
   Side padding scales smoothly from 1rem (phone) → 5rem (large desktop).
   Max-width capped so content never stretches uncomfortably wide. */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(2rem, 7vw, 6rem) !important;
  padding-right: clamp(2rem, 7vw, 6rem) !important;
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
    padding-left: clamp(4rem, 8vw, 8rem) !important;
    padding-right: clamp(4rem, 8vw, 8rem) !important;
  }
}

/* Sections also get a tiny side gutter so cards never touch the screen edge */
section { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }

/* ===========================================================
   Fluid typography — every heading & body size auto-scales
   =========================================================== */
:where(h1.font-display, h2.font-display, h3.font-display) {
  word-break: break-word;
  overflow-wrap: anywhere;
}
h1.font-display { font-size: clamp(1.65rem, 4.6vw, 3.8rem) !important; line-height: 1.1 !important; }
h2.font-display { font-size: clamp(1.32rem, 3.3vw, 2.5rem) !important;  line-height: 1.18 !important; }
h3.font-display { font-size: clamp(1.05rem, 2vw, 1.32rem) !important; line-height: 1.3 !important; }
p, address, li, label { font-size: clamp(0.85rem, 1vw, 0.95rem); line-height: 1.6; }
.eyebrow                  { font-size: clamp(0.62rem, 0.7vw, 0.72rem); }
.btn                      { font-size: clamp(0.8rem, 0.88vw, 0.9rem); }
.stat-num                 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }

/* ===== Layout: tablets & smaller (≤ 1023px) ===== */
@media (max-width: 1023px) {
  /* Hero sections reduce padding so heading clears the fixed header */
  section.hero-grad { padding-top: 6rem !important; padding-bottom: 2rem !important; }

  /* Neutralise any desktop-only negative or large top offsets when content stacks */
  section.hero-grad [class*="col-span"],
  section.hero-grad > .container > .grid > div,
  section.hero-grad [style*="margin-top"] {
    margin-top: 0 !important;
  }

  /* Floating cards (hero) hidden on stacked layouts to prevent overlap */
  .floating-card { display: none !important; }
}

/* ===== Phones (≤ 767px) ===== */
@media (max-width: 767px) {
  /* Generic text-wrap protection */
  p, span, a { overflow-wrap: anywhere; word-break: break-word; }

  /* Sections breathe a bit less on mobile */
  section { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  section.hero-grad { padding-top: 6rem !important; padding-bottom: 1.5rem !important; }

  /* Buttons full width on phones for easy tapping */
  .btn { width: 100%; justify-content: center; }
  .btn + .btn { margin-top: 0.5rem; }
  .btn.inline-keep, .keep-row .btn { width: auto; }

  /* Header — compact on phones */
  .site-header .h-20 { height: 64px !important; }
  .site-header img { max-height: 44px !important; }

  /* Hero image — reduced aspect so it doesn't dominate */
  #hero-slideshow { aspect-ratio: 4/5 !important; }

  /* Iframes (Google Map etc.) — full width with safe height */
  iframe { width: 100% !important; min-height: 280px; border: 0; }

  /* Forms — single column + prevent iOS auto-zoom on focus */
  .grid-cols-2, [class*="md:grid-cols-2"] { grid-template-columns: 1fr !important; }
  .form-input, .form-select, .form-textarea { font-size: 16px !important; }

  /* Carousel tighter */
  #productCarousel { padding: 1.5rem 0.5rem !important; }
  #productCarousel .carousel-card { flex: 0 0 240px !important; max-width: 240px !important; height: 340px !important; }

  /* Product / about / infra grids stack */
  [class*="lg:grid-cols-2"], [class*="lg:grid-cols-3"], [class*="lg:grid-cols-4"] {
    grid-template-columns: 1fr !important;
  }

  /* Footer */
  footer img { max-height: 56px; }
  footer .grid { gap: 2rem !important; }

  /* Thank-you modal smaller padding on phones */
  .ty-card { padding: 2rem 1.25rem 1.25rem !important; }
}

/* ===== Tablet portrait (768–1023px) — keep buttons inline ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  .btn { width: auto; }
}

/* ===========================================================
   Mega-menu dropdowns (Product Type / Product Use)
   =========================================================== */
.site-header nav.hidden { position: relative; }
.has-mega { position: static; }
.mega-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: #334155;
  font-weight: 600;
  padding: 0;
}
.mega-toggle:hover,
.has-mega:hover .mega-toggle { color: #E63946; }
.mega-toggle .chev {
  width: 0.85rem;
  height: 0.85rem;
  transition: transform 0.25s ease;
}
.has-mega:hover .mega-toggle .chev { transform: rotate(180deg); }

.mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 12px);
  background: #ffffff;
  border: none;
  border-radius: 0.85rem;
  box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 60;
}
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel,
.mega-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-inner {
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: grid;
  gap: 0.5rem;
}
.mega-inner.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1rem;
}
.mega-inner.cols-2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  column-gap: 1rem;
}
.mega-col-title {
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E63946;
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #F1F5F9;
}
.mega-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.mega-list a {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  padding: 0.2rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.6rem;
  transition: color 0.18s ease, border-color 0.18s ease, padding-left 0.18s ease;
}
.mega-list a:hover {
  color: #E63946;
  border-left-color: #E63946;
}
.mega-sub-grid {
  display: block;
  column-count: 2;
  column-gap: 1rem;
}
.mega-sub-grid a {
  display: block;
  padding: 0.15rem 0 0.15rem 0.6rem;
  break-inside: avoid;
}

@media (max-width: 1023px) {
  .mega-panel { display: none; }
}

/* ===========================================================
   Product detail page — gallery + tabs
   =========================================================== */
.pd-gallery-main {
  aspect-ratio: 3 / 4;
  max-height: 420px;
  border-radius: 1.25rem;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF5F0, #ffffff);
  border: 1px solid #E2E8F0;
  box-shadow: 0 12px 36px -16px rgba(15, 23, 42, 0.18);
}
.pd-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.pd-thumbs-wrapper {
  position: relative;
  margin-top: 2rem;
}

/* Minimal Carousel Container */
.pd-carousel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  padding: 0;
}

.carousel-prev,
.carousel-next {
  flex-shrink: 0;
  pointer-events: all;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  color: #64748B;
  padding: 0;
  box-shadow: none !important;
}

.carousel-prev:focus,
.carousel-next:focus,
.carousel-prev:focus-visible,
.carousel-next:focus-visible,
.carousel-prev:active,
.carousel-next:active {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.carousel-prev svg,
.carousel-next svg {
  width: 24px;
  height: 24px;
  stroke-width: 2px;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: transparent;
  color: #E63946;
}

.carousel-prev:active,
.carousel-next:active {
  color: #E63946;
  opacity: 0.8;
}

.carousel-prev:disabled,
.carousel-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  color: #cbd5e1;
}

.carousel-prev:disabled:hover,
.carousel-next:disabled:hover {
  color: #cbd5e1;
}

/* Thumbnails Container */
.pd-thumbs-container {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 0.75rem;
}

.pd-thumbs {
  display: flex;
  gap: 1rem;
  padding: 0.5rem;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Thumbnail Styling */
.pd-thumb {
  flex: 0 0 110px;
  width: 110px;
  height: 110px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.25s ease;
  position: relative;
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-thumb:hover {
  border-color: #CBD5E1;
}

.pd-thumb.is-active {
  border: 1px solid #E63946;
}


/* Feature pill list */
.pd-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 0.85rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pd-feature:hover {
  border-color: #E63946;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -16px rgba(230, 57, 70, 0.35);
}
.pd-feature .ico {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  background: rgba(230, 57, 70, 0.1);
  color: #E63946;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Specs section reveal */
#specs { display: none; }
#specs.is-revealed { display: block; animation: specsReveal 0.5s cubic-bezier(0.4,0,0.2,1); }
@keyframes specsReveal {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.spec-toggle-chev { transition: transform 0.3s ease; margin-left: 0.5rem; display: inline-block; }
#specToggle.is-open .spec-toggle-chev { transform: rotate(180deg); }

/* Modern grouped spec sheet */
.spec-sheet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .spec-sheet-grid { grid-template-columns: 1fr 1fr; } }
.spec-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.spec-card:hover {
  border-color: rgba(230, 57, 70, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -22px rgba(15, 23, 42, 0.22);
}
.spec-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 0.85rem;
}
.spec-card-head .ico {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, rgba(230,57,70,0.14), rgba(230,57,70,0.04));
  color: #E63946;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.spec-card-head h3 {
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0A1929;
  margin: 0;
}
.spec-card-list { list-style: none; padding: 0; margin: 0; }
.spec-card-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px dashed #E5E7EB;
  gap: 1rem;
}
.spec-card-list li:last-child { border-bottom: none; }
.spec-card-list .k {
  font-size: 0.825rem;
  font-weight: 500;
  color: #64748B;
}
.spec-card-list .v {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0A1929;
  text-align: right;
}

/* Single big spec card */
.spec-card-big {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 18px 36px -28px rgba(15, 23, 42, 0.18);
}
@media (min-width: 768px) { .spec-card-big { padding: 2.5rem 3rem; } }
.spec-card-big .spec-card-head {
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #F1F5F9;
}
.spec-card-big .spec-card-head h3 {
  font-size: 1.25rem;
}
.spec-list-cols {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 768px) { .spec-list-cols { grid-template-columns: 1fr 1fr; } }
.spec-list-cols li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px dashed #E5E7EB;
  gap: 1rem;
}
.spec-list-cols .k {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748B;
}
.spec-list-cols .v {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0A1929;
  text-align: right;
}

/* Knack-style spec tabs (legacy, retained for fallback) */
.pd-tabs-knack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f3f4f6;
  border-radius: 0.5rem 0.5rem 0 0;
  overflow: hidden;
}
.pd-tab-knack {
  padding: 1.25rem 1rem;
  text-align: center;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #475569;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.22s ease, background 0.22s ease;
}
.pd-tab-knack:hover { color: #0A1929; }
.pd-tab-knack.is-active {
  color: #E63946;
  background: rgba(230, 57, 70, 0.04);
}
.pd-panel-wrap {
  background: #f9fafb;
  padding: 2rem 1.5rem 2.5rem;
  border-radius: 0 0 0.5rem 0.5rem;
}
@media (min-width: 768px) { .pd-panel-wrap { padding: 2.5rem 2.5rem 3rem; } }
.kt-panel { display: none; animation: kt-fade 0.32s ease; }
.kt-panel.is-active { display: block; }
@keyframes kt-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.kt-panel h3 {
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #0A1929;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #E63946;
  display: inline-block;
  margin-bottom: 1.25rem;
}
.kt-panel p { color: #475569; line-height: 1.7; margin-bottom: 0.85rem; font-size: 0.95rem; }
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li {
  display: grid;
  grid-template-columns: 12px minmax(140px, 1fr) 2fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px dashed #d1d5db;
}
.spec-list li:last-child { border-bottom: none; }
.spec-list .dot {
  width: 8px; height: 8px;
  background: #E63946;
  border-radius: 50%;
}
.spec-list .key { font-weight: 700; color: #0A1929; font-size: 0.9rem; }
.spec-list .val { color: #475569; font-size: 0.9rem; font-weight: 500; }

/* Collapsible specifications panel */
.spec-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}
.spec-panel.is-open {
  max-height: 2400px;
  opacity: 1;
}
.spec-toggle-chev {
  transition: transform 0.3s ease;
  margin-left: 0.4rem;
}
#specToggle.is-open .spec-toggle-chev { transform: rotate(180deg); }

/* Tabs */
.pd-tabs { display: flex; gap: 0.25rem; flex-wrap: wrap; border-bottom: 1px solid #E2E8F0; }
.pd-tab {
  padding: 0.85rem 1.5rem;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #64748B;
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.pd-tab:hover { color: #0A1929; }
.pd-tab.is-active { color: #E63946; border-bottom-color: #E63946; }
.pd-panel { display: none; padding: 2rem 0; }
.pd-panel.is-active { display: block; }

/* Mobile nested groups */
.m-group-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E63946;
  padding: 0.75rem 1rem 0.25rem;
}

/* ===========================================================
   Scroll to Top Button
   =========================================================== */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0A1929;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(10, 25, 41, 0.3);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0;
}

.scroll-to-top:hover {
  background: #1E2A47;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 25, 41, 0.4);
}

/* ===========================================================
   Inquiry Popup Modal
   =========================================================== */
.inq-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 13, 27, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.inq-backdrop.inq-visible {
  opacity: 1;
}
.inq-modal {
  background: #fff;
  border-radius: 1.25rem;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(5, 13, 27, 0.35);
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.inq-backdrop.inq-visible .inq-modal {
  transform: translateY(0) scale(1);
}
.inq-header {
  background: linear-gradient(135deg, #0A1929 0%, #1E2A47 100%);
  padding: 1.5rem 1.75rem 1.25rem;
  border-radius: 1.25rem 1.25rem 0 0;
}
.inq-body {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.inq-close {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.inq-close:hover {
  background: rgba(255,255,255,0.3);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 640px) {
  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
}


/* ===========================================================
   Product detail — "View Specifications" slide layout
   When .pd-grid has .is-specs-open:
     - .pd-info-col fades out and is removed from flow
     - .pd-image-col slides to the left column
     - .pd-specs-inline panel slides in on the right
   =========================================================== */
.pd-grid { position: relative; }

.pd-grid .pd-info-col,
.pd-grid .pd-image-col {
  transition: opacity 0.4s ease, transform 0.5s ease;
}

.pd-grid .pd-specs-inline {
  display: none;
  opacity: 0;
}

.pd-grid.is-specs-open .pd-info-col {
  display: none;
}

.pd-grid.is-specs-open .pd-image-col {
  order: -1;
  animation: pdSlideLeft 0.55s ease both;
}

.pd-grid.is-specs-open .pd-specs-inline {
  display: block;
  animation: pdSlideInRight 0.5s ease both;
}

@keyframes pdSlideLeft {
  from { transform: translateX(40px); opacity: 0.5; }
  to   { transform: translateX(0);    opacity: 1; }
}

@keyframes pdSlideInRight {
  from { transform: translateX(40px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* Inline specs panel styling */
.pd-specs-inline .pd-specs-inner {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px -12px rgba(10,25,41,0.12);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pd-specs-inline .pd-specs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #F1F5F9;
}

.pd-specs-inline .pd-specs-head h3 {
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0A1929;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.pd-specs-inline .pd-specs-head h3 svg { color: #E63946; }

.pd-specs-inline #specHide {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  background: #F8FAFC;
  border: 1px solid #E5E7EB;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pd-specs-inline #specHide:hover {
  background: #0A1929;
  color: #ffffff;
  border-color: #0A1929;
}

.pd-specs-inline .pd-specs-body ul,
.pd-specs-inline .spec-list-cols {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

@media (min-width: 640px) {
  .pd-specs-inline .pd-specs-body ul,
  .pd-specs-inline .spec-list-cols {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
  }
}

.pd-specs-inline .pd-specs-body li,
.pd-specs-inline .spec-list-cols li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed #E5E7EB;
}

.pd-specs-inline .pd-specs-body li:last-child,
.pd-specs-inline .spec-list-cols li:last-child { border-bottom: 0; }

.pd-specs-inline .pd-specs-body .k,
.pd-specs-inline .spec-list-cols .k {
  font-size: 0.78rem;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.pd-specs-inline .pd-specs-body .v,
.pd-specs-inline .spec-list-cols .v {
  font-size: 0.9rem;
  color: #0A1929;
  font-weight: 600;
  text-align: right;
}