/* ============================================================
   John Electrical Contractors LLC — Main Stylesheet
   https://johnelectricalcontractors.com
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────────────────────── */
:root {
  --clr-primary:     #0d1117;
  --clr-primary-md:  #161b27;
  --clr-primary-lt:  #1e2535;
  --clr-accent:      #f5b800;
  --clr-accent-dk:   #cc9800;
  --clr-accent-lt:   #ffd14d;
  --clr-white:       #ffffff;
  --clr-off-white:   #f9fafb;
  --clr-gray-50:     #f8fafc;
  --clr-gray-100:    #f1f5f9;
  --clr-gray-200:    #e2e8f0;
  --clr-gray-400:    #94a3b8;
  --clr-gray-600:    #475569;
  --clr-text:        #1a2030;
  --clr-text-muted:  #5a6a85;

  --font:           'Montserrat', system-ui, Arial, sans-serif;

  --r-sm:   4px;
  --r-md:   10px;
  --r-lg:   18px;
  --r-xl:   28px;
  --r-full: 9999px;

  --sh-xs:  0 1px 4px rgba(0,0,0,.08);
  --sh-sm:  0 2px 8px rgba(0,0,0,.10), 0 1px 3px rgba(0,0,0,.06);
  --sh-md:  0 6px 24px rgba(0,0,0,.13), 0 2px 6px rgba(0,0,0,.08);
  --sh-lg:  0 16px 56px rgba(0,0,0,.18), 0 4px 12px rgba(0,0,0,.10);
  --sh-xl:  0 32px 80px rgba(0,0,0,.22);

  --ease:   cubic-bezier(.4,0,.2,1);
  --dur:    .22s;

  --nav-h:  62px;
  --section-py: 6rem;
}

/* ─────────────────────────────────────────────────────────────
   RESET
───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { color: var(--clr-accent-dk); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--clr-accent); }
a:focus-visible { outline: 2px solid var(--clr-accent); outline-offset: 3px; border-radius: 2px; }
h1,h2,h3,h4,h5,h6 { font-weight: 800; line-height: 1.2; color: var(--clr-primary); }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ─────────────────────────────────────────────────────────────
   LAYOUT UTILITIES
───────────────────────────────────────────────────────────── */
.container        { max-width: 1220px; margin-inline: auto; padding-inline: 1.75rem; }
.container--sm    { max-width: 720px; }
.container--md    { max-width: 900px; }

.section          { padding-block: var(--section-py); }
.section--sm      { padding-block: 3.5rem; }
.section--lg      { padding-block: 8rem; }

.bg-dark          { background: var(--clr-primary); }
.bg-dark-lt       { background: var(--clr-primary-lt); }
.bg-light         { background: var(--clr-off-white); }
.bg-gray          { background: var(--clr-gray-50); }

.text-center      { text-align: center; }
.text-white       { color: var(--clr-white); }
.text-muted       { color: var(--clr-text-muted); }
.text-accent      { color: var(--clr-accent); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ─────────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.875rem;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  line-height: 1;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--dur) var(--ease);
}
.btn:hover::after { background: rgba(255,255,255,.08); }

/* Primary — gold */
.btn--primary {
  background: var(--clr-accent);
  color: var(--clr-primary);
  border-color: var(--clr-accent);
  box-shadow: 0 4px 14px rgba(245,184,0,.35);
}
.btn--primary:hover {
  background: var(--clr-accent-lt);
  border-color: var(--clr-accent-lt);
  color: var(--clr-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,184,0,.45);
}
.btn--primary:active { transform: translateY(0); box-shadow: none; }

/* Outline white */
.btn--outline {
  background: transparent;
  color: var(--clr-white);
  border-color: rgba(255,255,255,.6);
}
.btn--outline:hover {
  background: var(--clr-white);
  color: var(--clr-primary);
  border-color: var(--clr-white);
}

/* Outline dark */
.btn--outline-dark {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}
.btn--outline-dark:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
}

/* Dark */
.btn--dark {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}
.btn--dark:hover {
  background: var(--clr-primary-lt);
  border-color: var(--clr-primary-lt);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn--sm  { padding: .55rem 1.25rem; font-size: .78rem; }
.btn--lg  { padding: .95rem 2.5rem;  font-size: .9rem; }
.btn--xl  { padding: 1.1rem 2.75rem; font-size: .95rem; }
.btn--full{ width: 100%; justify-content: center; }

/* ─────────────────────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--clr-primary);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.4); }

/* Gold accent stripe at the very bottom of the nav */
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-lt) 50%, var(--clr-accent));
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  border-radius: var(--r-sm);
  border: 2px solid rgba(245,184,0,.3);
  padding: 2px;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.nav-logo-text span:first-child {
  font-size: .82rem;
  font-weight: 800;
  color: var(--clr-accent);
  letter-spacing: .02em;
}
.nav-logo-text span:last-child {
  font-size: .62rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: .05rem;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: .2rem;
  padding: .38rem .55rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.nav-link svg { width: 10px; height: 10px; fill: currentColor; transition: transform var(--dur) var(--ease); flex-shrink: 0; }
.nav-link:hover,
.nav-link[aria-current="page"],
.nav-item:hover > .nav-link {
  color: var(--clr-accent);
  background: rgba(245,184,0,.1);
}
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: var(--clr-white);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--clr-gray-200);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.98);
  transform-origin: top left;
  transition: all var(--dur) var(--ease);
  z-index: 200;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--clr-text);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.dropdown a::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--clr-accent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  flex-shrink: 0;
}
.dropdown a:hover {
  background: var(--clr-gray-50);
  color: var(--clr-primary);
}
.dropdown a:hover::before { opacity: 1; }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.nav-phone {
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
  text-decoration: none;
}
.nav-phone:hover { color: var(--clr-accent); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.nav-toggle:hover { background: rgba(255,255,255,.14); }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all .3s var(--ease);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────────────────────────
   MOBILE NAV — hidden by default on ALL screen sizes
───────────────────────────────────────────────────────────── */

/* Always hidden unless .is-open is toggled by JS */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  inset-inline: 0;
  bottom: 0;
  background: var(--clr-primary);
  overflow-y: auto;
  z-index: 999;
  border-top: 2px solid rgba(245,184,0,.3);
}
.mobile-nav.is-open { display: block; }

@media (max-width: 991px) {
  .nav-toggle { display: flex; }
  .nav-menu { display: none; }
  .nav-actions .btn,
  .nav-actions .nav-phone { display: none; }

  .mobile-nav-group { border-bottom: 1px solid rgba(255,255,255,.07); }

  .mobile-nav a {
    display: flex;
    align-items: center;
    padding: .85rem 1.5rem;
    font-size: .9rem;
    font-weight: 600;
    color: rgba(255,255,255,.82);
    text-decoration: none;
    transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
    border-bottom: 1px solid rgba(255,255,255,.04);
  }
  .mobile-nav a:hover { color: var(--clr-accent); background: rgba(245,184,0,.06); }

  .mobile-nav-label {
    display: block;
    padding: .75rem 1.5rem .3rem;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--clr-accent);
    opacity: .9;
  }
  .mobile-nav-sub a {
    padding-left: 2.5rem;
    font-size: .84rem;
    font-weight: 500;
  }
  .mobile-nav-footer {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: .5rem;
  }
}

/* ─────────────────────────────────────────────────────────────
   HERO — FULL-HEIGHT
───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--clr-primary);
  overflow: hidden;
}

/* Background image layer */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: .25;
  transform: scale(1.04);
}

/* Multi-layer gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(10,15,26,.97) 0%,
      rgba(10,15,26,.82) 55%,
      rgba(10,15,26,.45) 100%),
    radial-gradient(ellipse at 10% 50%, rgba(245,184,0,.06) 0%, transparent 60%);
}

/* Diagonal accent stripe */
.hero::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--clr-white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-block: 5rem 7rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(245,184,0,.15);
  border: 1px solid rgba(245,184,0,.4);
  color: var(--clr-accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: 1.75rem;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--clr-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}
.hero h1 .accent {
  color: var(--clr-accent);
  position: relative;
}

.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  margin-bottom: 2.75rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating stat badges on hero */
.hero-stats {
  position: absolute;
  right: 5%;
  bottom: 10%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-stat-badge {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  padding: .9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 200px;
}
.hero-stat-badge-icon {
  width: 40px; height: 40px;
  background: rgba(245,184,0,.2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-stat-badge-icon svg { width: 20px; height: 20px; fill: var(--clr-accent); }
.hero-stat-badge-text strong {
  display: block;
  color: var(--clr-white);
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.2;
}
.hero-stat-badge-text span {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding-block: 4.5rem 4rem;
  background: var(--clr-primary);
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 56px;
  background: var(--clr-white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.page-hero .bg-light ~ .page-hero::after,
.page-hero + .bg-gray::after { background: var(--clr-gray-50); }

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .18;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,15,26,.96) 40%, rgba(10,15,26,.7) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: color var(--dur) var(--ease); }
.breadcrumb a:hover { color: var(--clr-accent); }
.breadcrumb span { color: rgba(255,255,255,.3); }

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--clr-white);
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.page-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────────────────────
   SECTION HEADINGS
───────────────────────────────────────────────────────────── */
.section-heading { margin-bottom: 3.5rem; }
.section-heading.centered { text-align: center; }
.section-heading.centered p { margin-inline: auto; }

.section-heading .tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clr-accent-dk);
  background: rgba(245,184,0,.1);
  border: 1px solid rgba(245,184,0,.25);
  padding: .3rem .85rem;
  border-radius: var(--r-full);
  margin-bottom: .9rem;
}
.section-heading .tag::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--clr-accent);
  border-radius: 50%;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -.025em;
  margin-bottom: .9rem;
  line-height: 1.15;
}
.section-heading p {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 620px;
  line-height: 1.75;
}

/* Accent underline decoration */
.underline-accent { display: inline; }
.underline-accent::after {
  /* done via .divider below */
}

.divider {
  width: 52px; height: 4px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-lt));
  border-radius: 2px;
  margin-block: 1.25rem 1.5rem;
}
.centered .divider { margin-inline: auto; }
.bg-dark .divider { background: linear-gradient(90deg, var(--clr-accent), rgba(245,184,0,.4)); }

/* Dark-bg headings */
.bg-dark .section-heading h2 { color: var(--clr-white); }
.bg-dark .section-heading p  { color: rgba(255,255,255,.65); }
.bg-dark .section-heading .tag { color: var(--clr-accent); }

/* ─────────────────────────────────────────────────────────────
   CONTACT BAR (strip below hero)
───────────────────────────────────────────────────────────── */
.contact-bar {
  background: var(--clr-primary-md);
  padding-block: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.contact-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(245,184,0,.12);
  border: 1px solid rgba(245,184,0,.2);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; fill: var(--clr-accent); }
.contact-item-body .label {
  display: block;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: .15rem;
}
.contact-item-body a,
.contact-item-body span {
  font-size: .9rem;
  font-weight: 700;
  color: rgba(255,255,255,.88);
}
.contact-item-body a:hover { color: var(--clr-accent); }

/* ─────────────────────────────────────────────────────────────
   SERVICE CARDS
───────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--clr-white);
  border: 1.5px solid var(--clr-gray-200);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.service-card:hover {
  border-color: rgba(245,184,0,.45);
  box-shadow: var(--sh-md);
  transform: translateY(-5px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card-icon {
  width: 52px; height: 52px;
  background: var(--clr-primary);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service-card:hover .service-card-icon {
  background: var(--clr-accent);
  transform: scale(1.08);
}
.service-card-icon svg {
  width: 26px; height: 26px;
  fill: var(--clr-accent);
  transition: fill var(--dur) var(--ease);
}
.service-card:hover .service-card-icon svg { fill: var(--clr-primary); }

.service-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: .6rem;
  line-height: 1.3;
}
.service-card p {
  font-size: .875rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 0;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: 1.1rem;
  font-size: .75rem;
  font-weight: 800;
  color: var(--clr-accent-dk);
  text-transform: uppercase;
  letter-spacing: .07em;
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.service-card:hover .service-card-link { gap: .55rem; color: var(--clr-accent); }

/* ─────────────────────────────────────────────────────────────
   SPLIT SECTIONS
───────────────────────────────────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  display: block;
}

.split-body h2 { margin-bottom: 1rem; }
.split-body p   { color: var(--clr-text-muted); }

.check-list {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin: 1.5rem 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .93rem;
  color: var(--clr-text);
  line-height: 1.55;
}
.check-list li::before {
  content: '';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--clr-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230d1117'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 13px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─────────────────────────────────────────────────────────────
   STEPS / PROCESS
───────────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.step-item {
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  transition: background var(--dur) var(--ease);
}
.step-item:hover { background: rgba(245,184,0,.05); }
/* Vertical dividers */
.step-item + .step-item::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: rgba(255,255,255,.08);
}
.step-number {
  width: 64px; height: 64px;
  background: var(--clr-accent);
  color: var(--clr-primary);
  font-size: 1.6rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 6px 20px rgba(245,184,0,.35);
}
.step-item h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: .6rem;
}
.step-item p {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   FEATURE BOXES / WHY US
───────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-box {
  background: var(--clr-white);
  border: 1.5px solid var(--clr-gray-200);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all var(--dur) var(--ease);
}
.feature-box:hover {
  border-color: rgba(245,184,0,.5);
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
}
.feature-box-icon {
  width: 64px; height: 64px;
  background: var(--clr-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: background var(--dur) var(--ease);
}
.feature-box:hover .feature-box-icon { background: var(--clr-accent); }
.feature-box-icon svg { width: 28px; height: 28px; fill: var(--clr-accent); transition: fill var(--dur) var(--ease); }
.feature-box:hover .feature-box-icon svg { fill: var(--clr-primary); }
.feature-box h3 { font-size: 1rem; font-weight: 800; margin-bottom: .5rem; }
.feature-box p  { font-size: .875rem; color: var(--clr-text-muted); margin: 0; line-height: 1.65; }

/* ─────────────────────────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-accent-lt) 50%, var(--clr-accent) 100%);
  background-size: 200% 200%;
  animation: shimmer 6s ease infinite;
  padding-block: 4.5rem;
  position: relative;
  overflow: hidden;
}
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 10%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--clr-primary);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.cta-banner p {
  color: rgba(13,17,23,.65);
  margin: .5rem 0 0;
  font-size: 1rem;
}

/* ─────────────────────────────────────────────────────────────
   FORMS
───────────────────────────────────────────────────────────── */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 4rem;
  align-items: start;
}

.form-info h2 { margin-bottom: 1rem; }
.form-info p  { color: var(--clr-text-muted); margin-bottom: 1.5rem; }

.form-contact-list { display: flex; flex-direction: column; gap: 1.25rem; }
.form-contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.form-contact-item-icon {
  width: 42px; height: 42px;
  background: var(--clr-primary);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.form-contact-item-icon svg { width: 20px; height: 20px; fill: var(--clr-accent); }
.form-contact-item-body span {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: .25rem;
}
.form-contact-item-body a,
.form-contact-item-body p {
  font-size: .9rem;
  font-weight: 600;
  color: var(--clr-text);
  margin: 0;
}
.form-contact-item-body a:hover { color: var(--clr-accent-dk); }

.form-card {
  background: var(--clr-white);
  border: 1.5px solid var(--clr-gray-200);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--sh-md);
}
.form-card h2 { font-size: 1.5rem; margin-bottom: 1.75rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-group label { font-size: .8rem; font-weight: 700; color: var(--clr-text); letter-spacing: .02em; }
.form-group .req { color: var(--clr-accent-dk); }

.form-control {
  width: 100%;
  padding: .72rem 1rem;
  font-family: var(--font);
  font-size: .9rem;
  color: var(--clr-text);
  background: var(--clr-white);
  border: 1.5px solid var(--clr-gray-200);
  border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(245,184,0,.18);
}
.form-control::placeholder { color: var(--clr-gray-400); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%235a6a85' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 20px;
  padding-right: 2.75rem;
}

.honeypot { display: none !important; visibility: hidden; }
.form-notice { font-size: .78rem; color: var(--clr-text-muted); }
.form-success {
  background: #d1fae5;
  border: 1.5px solid #6ee7b7;
  color: #065f46;
  padding: 1.1rem 1.4rem;
  border-radius: var(--r-md);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: none;
}
.form-error {
  background: #fee2e2;
  border: 1.5px solid #fca5a5;
  color: #991b1b;
  padding: 1.1rem 1.4rem;
  border-radius: var(--r-md);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: none;
}
.field-error { border-color: #ef4444 !important; box-shadow: 0 0 0 3px rgba(239,68,68,.15) !important; }

/* ─────────────────────────────────────────────────────────────
   SERVICE DETAIL PAGE
───────────────────────────────────────────────────────────── */
.service-detail { padding-block: 4.5rem 6rem; }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.service-main-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--r-lg);
  margin-bottom: 2.5rem;
  box-shadow: var(--sh-md);
}

.service-main h2 {
  font-size: 1.5rem;
  margin-top: 2.25rem;
  margin-bottom: .9rem;
}
.service-main h2:first-child { margin-top: 0; }
.service-main p { color: var(--clr-text-muted); line-height: 1.78; }
.service-main ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.service-main ul li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .93rem;
  color: var(--clr-text-muted);
  line-height: 1.55;
}
.service-main ul li::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--clr-accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.service-sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); }

.sidebar-card {
  background: var(--clr-white);
  border: 1.5px solid var(--clr-gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  margin-bottom: 1.5rem;
}
.sidebar-card-header {
  background: var(--clr-primary);
  padding: 1.1rem 1.5rem;
}
.sidebar-card-header h3 { color: var(--clr-white); font-size: .92rem; font-weight: 800; margin: 0; }
.sidebar-card-body { padding: 1.5rem; }
.sidebar-card-body p { font-size: .85rem; color: var(--clr-text-muted); margin-bottom: 1rem; }

.sidebar-nav { display: flex; flex-direction: column; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 1.25rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--clr-text);
  text-decoration: none;
  border-bottom: 1px solid var(--clr-gray-100);
  transition: all var(--dur) var(--ease);
}
.sidebar-nav a:last-child { border-bottom: none; }
.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--clr-gray-50);
  color: var(--clr-accent-dk);
  padding-left: 1.5rem;
}
.sidebar-nav a.active {
  background: rgba(245,184,0,.08);
  color: var(--clr-accent-dk);
  border-left: 3px solid var(--clr-accent);
}
.sidebar-nav a svg { width: 16px; height: 16px; fill: currentColor; opacity: .5; }

/* ─────────────────────────────────────────────────────────────
   VALUES GRID
───────────────────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.value-item { text-align: center; padding: 1.5rem; }
.value-icon {
  width: 60px; height: 60px;
  background: var(--clr-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  box-shadow: 0 6px 20px rgba(245,184,0,.3);
}
.value-icon svg { width: 26px; height: 26px; fill: var(--clr-primary); }
.value-item h3 { font-size: 1rem; font-weight: 800; margin-bottom: .4rem; }
.value-item p  { font-size: .875rem; color: var(--clr-text-muted); margin: 0; }

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--clr-primary);
  color: rgba(255,255,255,.65);
  padding-top: 5rem;
}
.site-footer::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-lt) 50%, var(--clr-accent));
  margin-bottom: 0;
  position: relative;
  top: -4px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand-logo { height: 52px; width: auto; margin-bottom: 1.25rem; object-fit: contain; }
.footer-brand p { font-size: .875rem; line-height: 1.75; margin-bottom: 1.5rem; }

.footer-brand-contact { display: flex; flex-direction: column; gap: .6rem; }
.footer-brand-contact a {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .84rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.footer-brand-contact a:hover { color: var(--clr-accent); }
.footer-brand-contact svg { width: 15px; height: 15px; fill: var(--clr-accent); flex-shrink: 0; }

.footer-col h4 {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 1.25rem;
}

.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  font-size: .84rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.footer-links a:hover { color: var(--clr-white); padding-left: 4px; }

.footer-bottom {
  padding-block: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--clr-accent); }
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* ─────────────────────────────────────────────────────────────
   SCROLL-TO-TOP
───────────────────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px; height: 46px;
  background: var(--clr-accent);
  color: var(--clr-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(245,184,0,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all var(--dur) var(--ease);
  z-index: 500;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover   { background: var(--clr-accent-lt); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(245,184,0,.5); }
.scroll-top svg { width: 20px; height: 20px; fill: var(--clr-primary); }

/* ─────────────────────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

.fade-in-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.fade-in-left.is-visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.fade-in-right.is-visible { opacity: 1; transform: translateX(0); }

/* Stagger children */
.fade-in:nth-child(2) { transition-delay: .1s; }
.fade-in:nth-child(3) { transition-delay: .2s; }
.fade-in:nth-child(4) { transition-delay: .3s; }
.fade-in:nth-child(5) { transition-delay: .4s; }
.fade-in:nth-child(6) { transition-delay: .5s; }
.fade-in:nth-child(7) { transition-delay: .6s; }
.fade-in:nth-child(8) { transition-delay: .7s; }
.fade-in:nth-child(9) { transition-delay: .35s; }
.fade-in:nth-child(10){ transition-delay: .45s; }
.fade-in:nth-child(11){ transition-delay: .55s; }
.fade-in:nth-child(12){ transition-delay: .65s; }

/* ─────────────────────────────────────────────────────────────
   MISC
───────────────────────────────────────────────────────────── */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .85rem;
  background: rgba(245,184,0,.1);
  color: var(--clr-accent-dk);
  border: 1px solid rgba(245,184,0,.25);
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* Prose (policy/terms pages) */
.prose { max-width: 800px; margin-inline: auto; padding-block: 4rem 6rem; }
.prose h1 { font-size: clamp(1.8rem,4vw,2.5rem); margin-bottom: 2rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2.5rem; margin-bottom: .75rem; color: var(--clr-primary); }
.prose p, .prose li { font-size: .95rem; color: var(--clr-text-muted); line-height: 1.8; }
.prose ul { padding-left: 1.5rem; list-style: disc; margin-bottom: 1.25rem; }
.prose ul li { margin-bottom: .4rem; }
.prose a { color: var(--clr-accent-dk); text-decoration: underline; }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > *:last-child { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
  :root { --nav-h: 56px; --section-py: 4rem; }
  .split-section        { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-section.reverse{ direction: ltr; }
  .form-wrap            { grid-template-columns: 1fr; gap: 3rem; }
  .service-detail-grid  { grid-template-columns: 1fr; }
  .service-sidebar      { position: static; }
  .hero-stats           { display: none; }
  .hero::before         { height: 50px; }
  .steps-grid           { grid-template-columns: 1fr; gap: 0; }
  .step-item + .step-item::before { top: 0; left: 15%; right: 15%; bottom: auto; width: auto; height: 1px; }
}

@media (max-width: 767px) {
  :root { --section-py: 3.5rem; }
  .hero          { min-height: 78vh; }
  .hero h1       { font-size: 1.9rem; }
  .hero::before  { height: 36px; }
  .hero-actions  { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .contact-bar-inner { flex-direction: column; }
  .contact-bar-inner .btn { width: 100%; justify-content: center; }
}

@media (max-width: 479px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
  .form-card { padding: 1.5rem; }
}

/* ─────────────────────────────────────────────────────────────
   PRINT
───────────────────────────────────────────────────────────── */
@media print {
  .site-header, .mobile-nav, .site-footer, .scroll-top, .cta-banner { display: none; }
  body { color: #000; }
}

/* ─────────────────────────────────────────────────────────────
   PRODUCTS SECTION — isolated prefixed styles
   (.products-*, .product-*)
───────────────────────────────────────────────────────────── */

/* Category cards on products.html landing */
.products-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.products-cat-card { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.products-cat-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.products-cat-card-inner { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.products-cat-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--clr-primary-lt); }
.products-cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.products-cat-card:hover .products-cat-card-img img { transform: scale(1.06); }
.products-cat-card-body { padding: 2rem; flex: 1; background: var(--clr-white); border: 1.5px solid var(--clr-gray-200); border-top: none; border-radius: 0 0 var(--r-xl) var(--r-xl); }
.products-cat-card-body h3 { font-size: 1.35rem; margin-bottom: .75rem; }
.products-cat-card-body p  { font-size: .9rem; color: var(--clr-text-muted); margin-bottom: 1.25rem; line-height: 1.7; }
.products-cat-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  color: var(--clr-accent-dk);
  transition: gap var(--dur) var(--ease);
}
.products-cat-link svg { width: 16px; height: 16px; fill: currentColor; }
.products-cat-card:hover .products-cat-link { gap: .6rem; }

/* Featured items on products.html */
.products-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.products-feat-item {
  background: var(--clr-white);
  border: 1.5px solid var(--clr-gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.products-feat-item:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.products-feat-item img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--clr-gray-50); padding: 1.5rem; }
.products-feat-item h3 { font-size: .95rem; font-weight: 800; padding: 1rem 1.25rem .5rem; }
.products-feat-item p  { font-size: .84rem; color: var(--clr-text-muted); padding: 0 1.25rem 1.25rem; margin: 0; line-height: 1.65; }

/* Filter bar on product-transformers.html */
.products-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2.5rem;
}
.products-filter-btn {
  padding: .5rem 1.2rem;
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--clr-white);
  color: var(--clr-text);
  border: 1.5px solid var(--clr-gray-200);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.products-filter-btn:hover,
.products-filter-btn.active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: var(--clr-primary);
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.products-item { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-xs); border: 1.5px solid var(--clr-gray-200); transition: all var(--dur) var(--ease); }
.products-item:hover { box-shadow: var(--sh-md); transform: translateY(-4px); border-color: rgba(245,184,0,.4); }
.products-item-inner { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.products-item-img { aspect-ratio: 4/3; background: var(--clr-gray-50); overflow: hidden; }
.products-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 1.25rem; transition: transform .4s var(--ease); }
.products-item:hover .products-item-img img { transform: scale(1.05); }
.products-item-body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; background: var(--clr-white); }
.products-item-cat {
  display: inline-block;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--clr-accent-dk);
  background: rgba(245,184,0,.1);
  border: 1px solid rgba(245,184,0,.25);
  padding: .2rem .65rem;
  border-radius: var(--r-full);
  margin-bottom: .75rem;
}
.products-item-body h3 { font-size: .95rem; font-weight: 800; margin-bottom: .5rem; line-height: 1.35; }
.products-item-specs { display: flex; flex-wrap: wrap; gap: .35rem .75rem; font-size: .74rem; color: var(--clr-text-muted); font-weight: 600; margin-bottom: .7rem; }
.products-item-body p  { font-size: .84rem; color: var(--clr-text-muted); line-height: 1.6; flex: 1; margin-bottom: .85rem; }
.products-item-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  color: var(--clr-accent-dk);
  margin-top: auto;
  transition: gap var(--dur) var(--ease);
}
.products-item-link svg { width: 15px; height: 15px; fill: currentColor; }
.products-item:hover .products-item-link { gap: .55rem; color: var(--clr-accent); }

/* Product detail page */
.products-spec-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.products-spec-tag {
  display: inline-flex; align-items: center;
  padding: .35rem .85rem;
  background: var(--clr-gray-100);
  border: 1px solid var(--clr-gray-200);
  border-radius: var(--r-full);
  font-size: .8rem; font-weight: 700; color: var(--clr-text);
}

.products-spec-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.products-spec-table th,
.products-spec-table td { padding: .6rem .75rem; text-align: left; border-bottom: 1px solid var(--clr-gray-100); }
.products-spec-table th { font-weight: 700; color: var(--clr-text-muted); white-space: nowrap; width: 40%; }
.products-spec-table td { color: var(--clr-text); font-weight: 600; }
.products-spec-table tr:last-child th,
.products-spec-table tr:last-child td { border-bottom: none; }

.products-detail-notice {
  display: flex; align-items: flex-start; gap: .75rem;
  background: rgba(245,184,0,.08);
  border: 1px solid rgba(245,184,0,.3);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}
.products-detail-notice svg { width: 20px; height: 20px; fill: var(--clr-accent-dk); flex-shrink: 0; margin-top: 1px; }
.products-detail-notice p  { font-size: .84rem; color: var(--clr-text-muted); margin: 0; line-height: 1.6; }

/* ── Responsive adjustments ── */
@media (max-width: 767px) {
  .products-cat-grid   { grid-template-columns: 1fr; }
  .products-feat-grid  { grid-template-columns: 1fr 1fr; }
  .products-grid       { grid-template-columns: 1fr; }
  .products-filter-bar { gap: .4rem; }
  .products-filter-btn { font-size: .72rem; padding: .45rem .9rem; }
}
@media (max-width: 479px) {
  .products-feat-grid { grid-template-columns: 1fr; }
}
