/* ============================================
   SparClo Motiontech Pvt. Ltd. — Shared Styles
   ============================================ */

:root {
  --navy: #2F308D;
  --navy-dark: #23246b;
  --orange: #ED8129;
  --ink: #1c1c1c;
  --paper: #ffffff;
  --grey-bg: #f6f6f8;
  --grey-line: #e2e2e8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

/* ---------- Motion / Animation ---------- */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes particleFloat {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-140px) translateX(20px); opacity: 0; }
}

@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}

@keyframes bounceIcon {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-5px) scale(1.08); }
}

@keyframes dashIn {
  from { stroke-dashoffset: var(--ring-len); }
  to   { stroke-dashoffset: var(--ring-offset); }
}

/* Top scroll-progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), #ffb677);
  z-index: 999;
  transition: width 0.1s ease-out;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero h1, .hero p, .hero-cta, .logo-spin {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================
   HEADER / NAV (updated: fixed dropdown bug,
   added active-state + vertical desktop dropdown)
   ============================================ */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  border-bottom: 3px solid var(--orange);
  gap: 20px;
  animation: fadeIn 0.6s ease;
  position: relative;
  flex-wrap: nowrap;
}

.logo {
  height: 56px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.logo:hover {
  transform: scale(1.04) rotate(-1deg);
}

.brand-tagline {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

/* nav sits between logo and header-actions, centered in the remaining space */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* FIX: ">" child selector — only the top-level ul becomes a flex row.
   Before this was ".main-nav ul", which also flattened the nested
   .dropdown ul into a horizontal row (the bug you saw on desktop). */
.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--orange);
  border-bottom-color: transparent;
}

/* ---------- Products dropdown ---------- */

.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* NEW: highlights "Products" as active when the current page is a
   product page. Add class="has-dropdown active" from PHP (see note below). */
.has-dropdown.active > a {
  color: var(--orange);
}
.has-dropdown.active > a::after {
  width: 100%;
}

.caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.has-dropdown.open > a .caret,
.has-dropdown:hover > a .caret {
  transform: rotate(-135deg);
}

/* Dropdown panel — explicit block display + full-width items so it
   always stacks vertically, on both desktop and mobile. */
.dropdown {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  display: block;
  background: var(--paper);
  border: 1px solid var(--grey-line);
  border-top: 3px solid var(--orange);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 14px 28px rgba(47,48,141,0.15);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.dropdown li {
  width: 100%;
}

.dropdown li a {
  display: block;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  border-bottom: none;
}

.dropdown li a::after {
  display: none;
}

.dropdown li a:hover {
  background: var(--grey-bg);
  color: var(--orange);
}

/* Desktop: reveal on hover, or when JS adds .open (for click-to-pin) */
@media (min-width: 861px) {
  .has-dropdown:hover .dropdown,
  .has-dropdown.open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* ---------- Header actions: phone + CTA (opposite side of logo) ---------- */

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--orange);
  transition: transform 0.2s ease;
}

.header-phone:hover {
  color: var(--orange);
}

.header-phone:hover svg {
  transform: rotate(-12deg) scale(1.1);
}

.header-cta {
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 6px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(237,129,41,0.35);
}

/* ---------- Mobile nav toggle (hamburger) ---------- */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Mobile responsive header ---------- */

@media (max-width: 860px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex: none;
    background: var(--paper);
    border-bottom: 3px solid var(--orange);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    z-index: 50;
  }

  /* increased so the open Products submenu has room to fit */
  .main-nav.is-open {
    max-height: 600px;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding: 20px 0;
  }

  .main-nav > ul > li {
    width: 100%;
  }

  .main-nav > ul > li > a {
    display: block;
    padding: 14px 20px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a.active,
  .main-nav a:hover {
    background: var(--grey-bg);
    color: var(--orange);
  }

  .header-actions {
    display: none;
  }

  .main-nav.is-open .header-actions-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 4px 20px 24px;
    border-top: 1px solid var(--grey-line);
    margin-top: 6px;
  }

  /* Mobile: dropdown hidden by default, JS toggles .open on tap */
  .dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--grey-bg);
    border-radius: 0;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .dropdown li a {
    padding: 12px 20px 12px 36px;
    text-align: center;
  }

  .has-dropdown > a {
    justify-content: center;
  }
}

.header-actions-mobile {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #3d3ea6 100%);
  color: #fff;
  text-align: center;
  padding: 60px 20px 70px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 2.1rem;
  letter-spacing: 0.02em;
  animation: fadeInUp 0.7s ease both;
}

.hero p.subtitle {
  margin: 0;
  color: var(--orange);
  font-weight: 600;
  font-size: 1.1rem;
  animation: fadeInUp 0.7s ease both 0.12s;
}

.hero p.lede {
  max-width: 640px;
  margin: 16px auto 0;
  color: #e7e7f7;
  font-size: 1rem;
  animation: fadeInUp 0.7s ease both 0.22s;
}

.hero-cta {
  display: inline-block;
  margin-top: 24px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  animation: fadeInUp 0.7s ease both 0.32s;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* ---------- Hero (split, redesigned for homepage) ---------- */

.hero-split {
  background: linear-gradient(135deg, var(--navy) 0%, #2a2b78 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.hero-split::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 45%, rgba(237,129,41,0.14), transparent 45%);
  pointer-events: none;
  z-index: 1;
}

.hero-split-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 76px 32px;
  display: grid;

  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(237,129,41,0.15);

  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px;

  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease both;
}

.hero-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 rgba(237,129,41,0.6);
  animation: livePulse 1.6s ease-out infinite;
  flex-shrink: 0;
}

@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(237,129,41,0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(237,129,41,0); }
  100% { box-shadow: 0 0 0 0 rgba(237,129,41,0); }
}

.hero-split h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero-split h1 .word-group {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 0.6s ease forwards;
}

.hero-split h1 .word-group.g1 { animation-delay: 0.05s; }
.hero-split h1 .word-group.g2 { animation-delay: 0.2s;  }
.hero-split h1 .word-group.g3 { animation-delay: 0.35s; }
.hero-split h1 .word-group.g4 { animation-delay: 0.5s;  }

.hero-split h1 .highlight {
  color: var(--orange);
  position: relative;
}

.hero-split .lede {
  color: #dcdcf3;
  font-size: 1.02rem;
  max-width: 480px;
  margin: 0 0 26px;
  animation: fadeInUp 0.7s ease both 0.6s;
}

.hero-btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease both 0.72s;
}

.hero-btn-primary {
  position: relative;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-btn-primary .arrow {
  transition: transform 0.25s ease;
}

.hero-btn-primary:hover .arrow {
  transform: translateX(4px);
}

.hero-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  border: 2px solid var(--orange);
  animation: pulseRing 2s ease-out infinite;
  z-index: -1;
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(237,129,41,0.4);
}

@media (prefers-reduced-motion: reduce) {
  .hero-btn-primary::after { animation: none; display: none; }
}

.hero-btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 6px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-3px);
}

/* ---------- Visual side: soft glow + product photo + floating stat badge ---------- */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  animation: fadeIn 1s ease both 0.3s;
}

/* Faint engineering blueprint grid behind the board */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 34px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 34px);
  border-radius: 18px;
  pointer-events: none;
}

/* ---------- Mechanical spec flip-board (signature element) ---------- */

.spec-board {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  background: linear-gradient(160deg, #22235f 0%, #1a1b4d 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 26px 28px 22px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
}

.spec-board-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.spec-board-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: livePulse 1.6s ease-out infinite;
}

.spec-flip {
  position: relative;
  height: 92px;
  perspective: 600px;
}

.spec-flip .slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: rotateX(90deg);
  transform-origin: 50% 100%;
  animation: flipCycle 8s infinite;
}

.spec-flip .slide .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.spec-flip .slide .lab {
  font-size: 0.78rem;
  color: #b9baf0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 4px;
}

.spec-flip .slide:nth-child(1) { animation-delay: 0s;  }
.spec-flip .slide:nth-child(2) { animation-delay: -6s; }
.spec-flip .slide:nth-child(3) { animation-delay: -4s; }
.spec-flip .slide:nth-child(4) { animation-delay: -2s; }

@keyframes flipCycle {
  0%   { opacity: 0; transform: rotateX(90deg); }
  3%   { opacity: 1; transform: rotateX(0deg); }
  22%  { opacity: 1; transform: rotateX(0deg); }
  25%  { opacity: 0; transform: rotateX(-90deg); }
  100% { opacity: 0; transform: rotateX(-90deg); }
}

.spec-board-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 18px 0 16px;
}

.spec-mini-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.spec-mini {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}

.spec-mini .mini-num {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
}

.spec-mini .mini-lab {
  display: block;
  font-size: 0.62rem;
  color: #9c9dd6;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .spec-board-label::before,
  .hero-split h1 .word-group, .hero-eyebrow::before {
    animation: none !important;
  }
  .spec-flip .slide {
    animation: none !important;
    position: static;
    opacity: 1;
    transform: none;
    display: none;
  }
  .spec-flip .slide:first-child { display: flex; }
  .hero-split h1 .word-group { opacity: 1; transform: none; }
}

/* ---------- Spec ticker (moving strip, literal "motion") ---------- */

.ticker {
  background: var(--navy-dark);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 3px solid var(--orange);
  position: relative;
  z-index: 2;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding: 12px 0;
  animation: tickerScroll 20s linear infinite;
}

.ticker-track span {
  color: #d8d8ee;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ticker-track span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none !important;
  }
}

/* ---------- Animated stat counters ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 50px 0;
  text-align: center;
}

.stat {
  padding: 26px 12px;
  border-radius: 10px;
  background: var(--grey-bg);
  border-top: 3px solid var(--orange);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(47,48,141,0.12);
}

.stat-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--orange) calc(var(--pct, 0) * 1%), var(--grey-line) 0);
  transition: background 0.15s linear;
}

.stat-ring-inner {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--grey-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.stat-number sup {
  font-size: 1rem;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.82rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

@media (max-width: 720px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Why choose us ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 20px 0 50px;
}

.why-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(47,48,141,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--navy);
}

.why-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.why-card p {
  font-size: 0.9rem;
  color: #444;
  margin: 0;
}

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

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 40px 32px;
  text-align: center;
  margin: 40px 0 60px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(237,129,41,0.25), transparent 50%);
}

.cta-banner h2 {
  position: relative;
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.cta-banner p {
  position: relative;
  color: #d8d8ee;
  margin: 0 0 22px;
}

.cta-banner .hero-btn-primary {
  position: relative;
}

/* ---------- Responsive: hero-split ---------- */

@media (max-width: 860px) {
  .hero-split-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 50px 20px;
  }
  .hero-split .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btn-row {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
    margin-bottom: 10px;
    min-height: 280px;
  }
  .spec-board {
    max-width: 320px;
    padding: 20px 20px 18px;
  }
  .spec-flip {
    height: 78px;
  }
  .spec-flip .slide .num {
    font-size: 1.9rem;
  }
}

.content {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  color: var(--navy);
  font-size: 1.5rem;
  margin: 50px 0 18px;
  text-align: center;
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin: 20px 0 40px;
}
.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(47, 48, 141, 0.15);
  border-radius: 0;
  clip-path: polygon(0 16px, 16px 0, 100% 0, 100% 100%, 0 100%);
  padding: 28px 22px 20px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 48, 141, 0.35);
  box-shadow: 0 10px 24px rgba(47, 48, 141, 0.12);
}

/* corner accent filling the clipped drafting notch */
.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 16px 0 0;
  border-color: var(--orange) transparent transparent transparent;
  transition: border-color 0.25s ease;
}

.feature-card:hover::after {
  border-color: var(--navy) transparent transparent transparent;
}

/* measurement scan line sweeps across the top edge on hover */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(237, 129, 41, 0.4);
  border-radius: 0;
  background: rgba(237, 129, 41, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

/* crosshair corner ticks, like a CAD selection marker */
.feature-icon::before,
.feature-icon::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-color: var(--orange);
  transition: border-color 0.3s ease;
}
.feature-icon::before {
  top: -4px;
  left: -4px;
  border-width: 1px 0 0 1px;
  border-style: solid;
}
.feature-icon::after {
  bottom: -4px;
  right: -4px;
  border-width: 0 1px 1px 0;
  border-style: solid;
}

.feature-card:hover .feature-icon {
  background: rgba(47, 48, 141, 0.08);
  border-color: rgba(47, 48, 141, 0.5);
}

.feature-card:hover .feature-icon::before,
.feature-card:hover .feature-icon::after {
  border-color: var(--navy);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--orange);
  transition: fill 0.3s ease;
}

.feature-card:hover .feature-icon svg {
  fill: var(--navy);
}

.feature-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #333;
}

/* row 1: 3 cards */
.feature-card:nth-child(1),
.feature-card:nth-child(2),
.feature-card:nth-child(3) {
  grid-column: span 2;
}

/* row 2: 2 cards, evenly filling the row */
.feature-card:nth-child(4),
.feature-card:nth-child(5) {
  grid-column: span 3;
}

@media (max-width: 700px) {
  .features {
    grid-template-columns: 1fr;
  }
}
/* ---------- Specs table ---------- */

.specs-wrap {
  overflow-x: auto;
  margin: 20px 0 50px;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 480px;
}

.specs caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.specs th, .specs td {
  border: 1px solid var(--grey-line);
  padding: 10px 14px;
  text-align: left;
}

.specs thead th {
  background: var(--navy);
  color: #fff;
}

.specs tbody tr:nth-child(even) {
  background: var(--grey-bg);
}



/* ---------- About page:  ---------- */
/* ---------- About page: Vision + Mission as matching cards ---------- */

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  margin: 30px 0;
  align-items: stretch;
}

.vision-mission-grid .vision,
.vision-mission-grid .mission {
  grid-column: span 3;
  margin: 0;
}

@media (max-width: 860px) {
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }
  .vision-mission-grid .vision,
  .vision-mission-grid .mission {
    grid-column: span 1;
  }
}

/* shared card shell */
.vision,
.mission {
  background: var(--paper);
  border: 1px solid var(--grey-line);
  border-top: 3px solid var(--orange);
  border-radius: 10px;
  padding: 28px 30px;
  box-shadow: 0 2px 10px rgba(47, 48, 141, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
}

.vision:hover,
.mission:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(47, 48, 141, 0.12);
  border-top-color: var(--navy);
}

.vision h2,
.mission h2 {
  margin-top: 0;
  color: var(--navy);
  font-size: 1.3rem;
}

/* Vision internals */
.vision-body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.vision-body p {
  margin: 10px 0 0;
  font-size: 1.02rem;
  color: #333;
}

.vision-underline {
  width: 0;
  height: 2px;
  background: var(--orange);
  margin-top: 16px;
  transition: width 1s ease;
}

.vision.is-visible .vision-underline {
  width: 84px;
}

.vision .mission-icon {
  margin-top: 4px;
}

/* Mission internals (timeline) */
.mission > p {
  margin: 0 0 28px;
}

.mission-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.mission-list::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--grey-line);
}

.mission-item {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 0 0 32px 0;
}

.mission-item:last-child {
  padding-bottom: 0;
}

.mission-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--grey-line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.mission-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--navy);
  transition: fill 0.3s ease;
}

.mission-item:hover .mission-icon {
  border-color: var(--orange);
  transform: scale(1.08);
}

.mission-item:hover .mission-icon svg {
  fill: var(--orange);
}

.mission-body h3 {
  margin: 10px 0 6px;
  color: var(--navy);
  font-size: 1.05rem;
}

.mission-body p {
  margin: 0;
  color: #444;
  font-size: 0.94rem;
}



/* ---------- About page: Material & Construction as spec-tag swatches ---------- */

.material-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 20px 0 40px;
}

.material-card {
  display: flex;
  background: var(--paper);
  border: 1px solid var(--grey-line);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.material-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(47, 48, 141, 0.1);
}

.material-swatch {
  width: 14px;
  flex-shrink: 0;
  transition: width 0.3s ease;
}

.material-card:hover .material-swatch {
  width: 22px;
}

.material-card.m-gearing .material-swatch {
  background: repeating-linear-gradient(115deg, #9a9ca8 0 4px, #b7b9c4 4px 8px);
}
.material-card.m-housing .material-swatch {
  background: linear-gradient(180deg, #c7c9d1 0%, #7b6a55 100%);
}
.material-card.m-lubrication .material-swatch {
  background: linear-gradient(180deg, #f4c261 0%, var(--orange) 100%);
}
.material-card.m-motor .material-swatch {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.material-body {
  padding: 18px 20px;
  flex: 1;
}

.material-body h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 1rem;
}

.material-body p {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
}

.material-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--orange);
  border: 1px solid rgba(237, 129, 41, 0.4);
  border-radius: 3px;
  padding: 2px 6px;
}

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

/* ---------- About page: technical data table with relative-torque bars ---------- */

.specs.specs-torque td.torque-cell {
  min-width: 160px;
}

.torque-bar-wrap {
  position: relative;
  height: 18px;
  background: var(--grey-bg);
  border-radius: 3px;
  overflow: hidden;
}

.torque-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--navy));
  width: 0;
  transition: width 0.9s ease;
}

.specs-wrap.is-visible .torque-bar-fill {
  width: var(--tw, 0%);
}

.specs.specs-torque tbody tr:hover {
  background: rgba(237, 129, 41, 0.06);
}

/* ---------- Specs table footnote ---------- */

.specs-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--grey-bg);
  border-left: 3px solid var(--orange);
  border-radius: 4px;

  color: #555;
  line-height: 1.7;
}

.specs-note svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: var(--orange);
  margin-top: 2px;
}

.specs-note strong {
  color: var(--navy);
  font-weight: 700;
}


/* ---------- Products ---------- */

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin: 20px 0 50px;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--grey-line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(47,48,141,0.18);
}

.product-image-wrap {
  overflow: hidden;
}

.product-image-wrap img {
  /*width: 100%;*/
  /*height: 220px;*/
  transition: transform 0.4s ease;
  display: block;
}

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

.product-body {
  padding: 20px 22px 24px;
}

.product-body h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.15rem;
}

.product-body p {
  margin: 0 0 14px;
  font-size: 0.94rem;
  color: #333;
}

.product-link {
  display: inline-flex;
 
  gap: 6px;
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: gap 0.2s ease;
}

.product-link:hover {
  gap: 10px;
}

/* ---------- About intro blurb ---------- */

.about-intro {
  max-width: 720px;
  margin: 30px auto 10px;
  text-align: center;
  color: #333;
}



/* ---------- Contact ---------- */

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.contact-info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--grey-bg);
  border: 1px solid var(--grey-line);
  border-top: 3px solid var(--orange);
  border-radius: 8px;
  padding: 18px 16px 16px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-top-color 0.22s ease, background 0.22s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(47, 48, 141, 0.14);
  border-top-color: var(--navy);
  background: #fff;
}

.contact-info-card:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 10px rgba(47, 48, 141, 0.14);
}

.contact-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(237, 129, 41, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.contact-info-card:hover .contact-info-icon {
  background: rgba(47, 48, 141, 0.12);
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  transition: stroke 0.25s ease;
}

.contact-info-card:hover .contact-info-icon svg {
  stroke: var(--navy);
}

.contact-info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color:#23246b;
  font-weight: 700;
}

.contact-info-value {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.5;
}

.contact-info-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-value a:hover {
  color:#ed8129;
  text-decoration: underline;
}

@media (max-width: 860px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact form: floating labels ---------- */

.field {
  position: relative;
  margin-bottom: 26px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--grey-line);
  border-radius: 6px;
  background: var(--grey-bg);
  padding: 18px 14px 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 90px;
  padding-top: 20px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}

.field label {
  position: absolute;
  left: 14px;
  top: 17px;
  font-size: 0.95rem;
  color: #888;
  pointer-events: none;
  transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
  transform-origin: left top;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px) scale(0.78);
  color: var(--orange);
  font-weight: 700;
}

.contact-submit {
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-submit .arrow {
  transition: transform 0.25s ease;
}

.contact-submit:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(47, 48, 141, 0.28);
}

.contact-submit:hover .arrow {
  transform: translateX(4px);
}

/* Product Dropdown */
.field select {
    width: 100%;
    padding: 16px 45px 16px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    font-size: 16px;
    outline: none;
    appearance: auto;
    -webkit-appearance: auto;
    cursor: pointer;
}

.field select:focus {
    border-color: #000;
}

.field select option {
    color: #333;
    background: #fff;
}

/* Floating label */
.field select + label {
    position: absolute;
    left: 14px;
    top: -9px;
    background: #fff;
    padding: 0 5px;
    font-size: 13px;
    color: #333;
    pointer-events: none;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-dark);
  color: #d8d8ee;
  margin-top: 40px;
}

.footer-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 44px 20px 28px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 30px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 14px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--orange);
}

.footer-col p, .footer-col a {
  font-size: 0.88rem;
  color: #c4c4e0;
  text-decoration: none;
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li a {
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.footer-logo {
  height: 50px;
margin-bottom: 12px;
  /*filter: brightness(0) invert(1);*/
  /*opacity: 0.9; */
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 16px 20px;
  font-size: 0.82rem;
  color: #9d9dc4;
}

@media (max-width: 640px) {
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-logo {
      text-align: center;
    margin: 0 auto 12px;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .contact-body {
    grid-template-columns: 1fr;
  }
  .products {
    grid-template-columns: 1fr;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 44px 16px 50px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
}


/* ---------- products pgae css  ---------- */
/* ============================================
   SparClo — Product Detail Page (SCI Gearbox)
   Clean, single stylesheet — replaces every
   earlier pd-* block/patch. Simple layout,
   consistent spacing, light restrained motion.
   ============================================ */


/* ---------- Lead: image + intro ---------- */

.pd-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 50px;
  padding-top: 30px;
}

.pd-image {
  border-radius: 10px;
  overflow: hidden;
  background: var(--grey-bg);
  border: 1px solid var(--grey-line);
  animation: fadeIn 0.6s ease both;
}

/*.product-image-wrap img {*/
/*  width: 100%;*/
/*  height: 220px;*/
/*}*/

.pd-image:hover img {
  transform: scale(1.04);
}

.pd-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.pd-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.55;
  color: #333;
}

.pd-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 800;
}

.pd-cta {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pd-cta:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(47, 48, 141, 0.25);
}

@media (max-width: 760px) {
  .pd-lead {
    grid-template-columns: 1fr;
  }
}

/* ---------- Section labels ---------- */

.pd-section-label {
  color: var(--navy);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 10px;
  margin: 48px 0 20px;
  border-bottom: 3px solid var(--orange);
}

/* ---------- Operating parameters ---------- */

.pd-param-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pd-param-strip .p {
  background: var(--grey-bg);
  border-top: 3px solid var(--navy);
  border-radius: 8px;
  padding: 18px 16px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pd-param-strip .p:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(47, 48, 141, 0.1);
}

.pd-param-strip .k {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #666;
  font-weight: 700;
  margin-bottom: 6px;
}

.pd-param-strip .v {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}

@media (max-width: 700px) {
  .pd-param-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Material & construction ---------- */

.pd-construction {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pd-construction .c {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: 8px;
  padding: 20px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pd-construction .c:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(47, 48, 141, 0.08);
}

.pd-construction .c h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1rem;
}

.pd-construction .c p {
  margin: 0;
  font-size: 0.92rem;
  color: #444;
}

@media (max-width: 760px) {
  .pd-construction {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .pd-construction {
    grid-template-columns: 1fr;
  }
}

/* ---------- Frame-size selector ---------- */

.pd-sizes-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.pd-sizes-nav button {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--grey-bg);
  border: 1px solid var(--grey-line);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pd-sizes-nav button:hover {
  border-color: var(--navy);
}

.pd-sizes-nav button.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ---------- Spec cards ---------- */

.pd-spec-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}

.pd-spec-cards .sc {
  background: var(--navy);
  border-radius: 8px;
  padding: 20px;
  color: #fff;
  animation: fadeIn 0.3s ease both;
}

.pd-spec-cards .sc .k {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #c4c4e8;
  font-weight: 700;
  margin-bottom: 8px;
}

.pd-spec-cards .sc .v {
  font-size: 1.5rem;
  font-weight: 800;
}

.pd-spec-cards .sc .v small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
}

@media (max-width: 700px) {
  .pd-spec-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- On-request note ---------- */

.pd-dim-note {
  background: var(--grey-bg);
  border-left: 4px solid var(--orange);
  border-radius: 4px;
  padding: 16px 18px;
  font-size: 0.94rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 26px;
}

.pd-dim-note a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
}

.pd-dim-tables {
  display: grid;
  gap: 20px;
  margin-bottom: 26px;
}

/* ---------- Tables ---------- */

.pd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
}

.pd-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.pd-table th,
.pd-table td {
  border: 1px solid var(--grey-line);
  padding: 10px 12px;
  text-align: center;
}

.pd-table thead th {
  background: var(--navy);
  color: #fff;
}

.pd-table tbody tr:nth-child(even) {
  background: var(--grey-bg);
}

.pd-table tbody tr:hover {
  background: rgba(237, 129, 41, 0.08);
}

.pd-table td.hl {
  font-weight: 700;
  color: var(--navy);
}

.pd-caveat {
  font-size: 0.85rem;
  color: #777;
  font-style: italic;
  line-height: 1.6;
}

/* ---------- Ratios ---------- */

.pd-ratio-sub {
  font-weight: 700;
  color: var(--navy);
  margin: 18px 0 10px;
}

.pd-ratio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.pd-ratio-list span {
  background: var(--grey-bg);
  border: 1px solid var(--grey-line);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  transition: all 0.2s ease;
}

.pd-ratio-list span:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ---------- Ordering ---------- */

.pd-order-example {
  display: inline-block;
  font-family: "Courier New", monospace;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  border-radius: 6px;
  padding: 14px 20px;
  margin: 6px 0 20px;
  font-size: 0.95rem;
}

.pd-opt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.pd-opt-list li {
  font-size: 0.92rem;
  color: #333;
  line-height: 1.6;
}

.pd-opt-list li b {
  color: var(--navy);
}

/* ---------- Title block ---------- */

.pd-titleblock {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--grey-line);
  border-radius: 8px;
  overflow: hidden;
  margin: 30px 0 10px;
}

.pd-titleblock .tb-main {
  flex: 1 1 260px;
  background: var(--navy);
  color: #fff;
  padding: 18px 22px;
}

.pd-titleblock .t1 {
  font-size: 1.05rem;
  font-weight: 800;
}

.pd-titleblock .t2 {
  font-size: 0.8rem;
  color: #c4c4e8;
  margin-top: 4px;
}

.pd-titleblock .tb-cell {
  flex: 1 1 140px;
  border-left: 1px solid var(--grey-line);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pd-titleblock .tb-cell .k {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #999;
  font-weight: 700;
  margin-bottom: 4px;
}

.pd-titleblock .tb-cell .v {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

@media (max-width: 600px) {
  .pd-titleblock .tb-cell {
    border-left: none;
    border-top: 1px solid var(--grey-line);
  }
}

/* ---------- Mobile spacing ---------- */

@media (max-width: 640px) {
  .content {
    padding: 28px 16px 40px;
  }
  .pd-section-label {
    font-size: 0.9rem;
    margin: 36px 0 16px;
  }
  .pd-cta {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-image img,
  .pd-param-strip .p,
  .pd-construction .c,
  .pd-sizes-nav button,
  .pd-ratio-list span,
  .pd-cta {
    transition: none !important;
  }
}

@media (max-width: 640px) {
  .product-image-wrap img {
   object-fit: contain
  }

  .pd-image img {
    width: 100%;
  }
}
.pd-caveat {
    max-width: 1000px;
    margin: 25px auto 50px;
    padding: 16px 20px;
    background: #fff7f0;
    border-left: 4px solid #ed8129;
    border-radius: 6px;
    color: #000000;
    font-size: 13px;
    line-height: 1.7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pd-caveat span {
    color: #ed8129;
    font-weight: 700;
    font-size: 20px;
}

@media (max-width: 768px) {
    .pd-caveat {
        margin: 20px 15px 40px;
        padding: 14px 16px;
        font-size: 12px;
        line-height: 1.6;
    }
}
