/* ==========================================================================
   Turbocharger parts distributor — global stylesheet

   Brand palette
     PRIMARY        #3E4B8A   deep indigo — buttons, links, highlights
     SECONDARY      #7B8DCE   periwinkle — gradients, hovers, soft fills
     TEXT / DARK    #1F1F1F   body copy, footer background
     LIGHT ACCENT   #E9E9F0   alternating sections, chips, surfaces
   ========================================================================== */

:root {
  /* --- brand ------------------------------------------------------------ */
  --primary:       #3E4B8A;
  --primary-dark:  #313c70;
  --secondary:     #7B8DCE;
  --secondary-2:   #9aa8dd;
  --ink:           #1F1F1F;
  --mist:          #E9E9F0;

  /* --- surfaces --------------------------------------------------------- */
  --bg:            #ffffff;
  --bg-2:          var(--mist);
  --bg-3:          #f5f5f9;
  --surface:       #ffffff;
  --surface-2:     #f5f5f9;
  --line:          #dedee8;
  --line-2:        #c8c8d8;

  /* --- text ------------------------------------------------------------- */
  --text:          var(--ink);
  --text-2:        #56566a;
  --text-3:        #82829a;

  /* --- accents (semantic aliases used across components) ---------------- */
  --accent:        var(--primary);
  --accent-2:      var(--primary-dark);
  --accent-soft:   rgba(62, 75, 138, .09);
  --accent-line:   rgba(62, 75, 138, .26);
  --on-accent:     #ffffff;

  --radius:        14px;
  --radius-sm:     10px;
  --maxw:          1240px;

  --head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow:    0 18px 40px -22px rgba(31, 31, 31, .28);
  --shadow-sm: 0 6px 18px -12px rgba(31, 31, 31, .3);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

h1, h2, h3, h4, .head {
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.05;
  margin: 0;
}

.accent { color: var(--primary); }
.muted  { color: var(--text-2); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

section { position: relative; }
.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ---------- Eyebrow / headings ------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}

.h-xl { font-size: clamp(2.4rem, 5.2vw, 4rem); }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.lead {
  color: var(--text-2);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  max-width: 62ch;
}

.section-head { margin-bottom: 46px; max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--primary);
  color: var(--on-accent);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--primary-dark); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--accent-soft); }
.btn--sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Top bar ------------------------------------------------------ */
.topbar {
  background: linear-gradient(90deg, var(--primary), var(--secondary) 78%, var(--secondary-2));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
}
.topbar a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }

@media (max-width: 680px) {
  .topbar .wrap > span { display: none; }
  .topbar .wrap { justify-content: center; }
}

/* ---------- Header ------------------------------------------------------- */
/* the mount point must not create a containing block, or sticky has no runway */
#site-header { display: contents; }

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.logo {
  font-family: var(--head);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
  display: flex;
  flex-direction: column;
  color: var(--ink);
}
.logo em {
  font-style: normal;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--text-3);
  font-family: var(--body);
  text-transform: uppercase;
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  font-family: var(--head);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color .15s ease;
}
.nav a:hover, .nav a.is-active { color: var(--primary); }
.nav .btn--primary { display: none; } /* only surfaces inside the mobile menu */

.burger {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  width: 42px; height: 42px;
  cursor: pointer;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

@media (max-width: 680px) {
  .header .wrap { min-height: 66px; }
  /* "Turbo Parts Saudi Arabia" is long — size it to stay on one line
     next to the burger rather than wrapping and doubling the header */
  .logo { font-size: 18px; }
  .logo em { display: none; }
}
@media (max-width: 380px) { .logo { font-size: 16px; } }

/* six nav items plus a logo and a CTA need room — switch to the burger early */
@media (max-width: 1120px) {
  .burger { display: inline-flex; }
  .header .nav,
  .header > .wrap > .btn--primary { display: none; }
  .header.is-open .nav {
    display: flex;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 20px 20px;
  }
  .header.is-open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .header.is-open .nav .btn--primary { display: inline-flex; margin-top: 16px; }
}

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 90px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% 40%, rgba(123, 141, 206, .28), transparent 64%),
    linear-gradient(180deg, #ffffff 0%, var(--mist) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62, 75, 138, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 75, 138, .07) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }

.hero-ghost {
  position: absolute;
  right: -4%;
  top: 50%;
  translate: 0 -50%;
  font-family: var(--head);
  font-size: clamp(9rem, 26vw, 24rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(62, 75, 138, .13);
  line-height: .8;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.hero h1 { max-width: 22ch; margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.badge-strip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 9px 20px;
  margin-bottom: 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(6px);
}

/* ---------- Stats -------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 62px;
  box-shadow: var(--shadow);
}
.stat { background: #fff; padding: 26px 24px; }
.stat b {
  display: block;
  font-family: var(--head);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--primary);
  line-height: 1;
}
.stat > span {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Marquee ------------------------------------------------------ */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* the CSS animation is a fallback only — animate.js sets animation:none and
   drives the loop with GSAP so speed stays constant at any track width */
.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* one fixed optical box per brand, so wide wordmarks and square marks
   sit at the same visual weight regardless of their native aspect ratio */
.brand {
  flex: 0 0 auto;
  height: 48px;
  width: 164px;
  display: grid;
  place-items: center;
}
.brand img {
  max-height: calc(38px * var(--logo-scale, 1));
  max-width: calc(150px * var(--logo-scale, 1));
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: .78;
  transition: opacity .25s ease, transform .25s ease;
}
.brand:hover img { opacity: 1; transform: scale(1.05); }

/* fallback for brands with no logo file on hand */
.brand-word {
  font-family: var(--head);
  font-size: 19px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  transition: color .2s ease;
}
.brand:hover .brand-word { color: var(--primary); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Cards -------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: var(--accent-line); transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p  { color: var(--text-2); font-size: 14.6px; margin: 0; }

.section--alt .card { background: #fff; }

.card-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--primary);
  margin-bottom: 18px;
}

/* ---------- Category tiles ---------------------------------------------- */
.cat-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cat-tile:hover {
  border-color: var(--primary);
  background: var(--accent-soft);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.cat-tile b { font-family: var(--head); font-size: 1.02rem; text-transform: uppercase; letter-spacing: .03em; font-weight: 600; }
.cat-tile i { font-style: normal; color: var(--text-3); font-size: 13px; }

/* ---------- Split (story) ------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } }

.badge-years {
  border: 1px solid var(--accent-line);
  background: linear-gradient(160deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  padding: 46px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.badge-years b {
  display: block;
  font-family: var(--head);
  font-size: clamp(4rem, 10vw, 6.5rem);
  color: #fff;
  line-height: .9;
}
.badge-years span { letter-spacing: .18em; text-transform: uppercase; font-size: 12px; color: rgba(255, 255, 255, .82); }

.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.ticks li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E4B8A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Team --------------------------------------------------------- */
.person { text-align: center; }
.person .avatar {
  width: 92px; height: 92px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--head);
  font-size: 30px;
  color: #fff;
  background: linear-gradient(150deg, var(--primary), var(--secondary));
  border: 1px solid var(--accent-line);
}
.person .role {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 4px 0 12px;
}

/* ---------- Testimonials ------------------------------------------------- */
.quote { position: relative; }
.quote::before {
  content: "“";
  font-family: var(--head);
  font-size: 74px;
  line-height: 1;
  color: var(--secondary);
  display: block;
  margin-bottom: -18px;
}
.quote p { color: var(--text); font-size: 15px; }
.quote footer { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.quote .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--primary), var(--secondary));
  color: #fff;
  font-family: var(--head);
  font-size: 15px;
}
.quote cite { font-style: normal; font-weight: 600; font-size: 14px; display: block; }
.quote small { color: var(--text-3); font-size: 12px; }

/* ---------- CTA band ----------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, #4b5a9e 55%, var(--secondary) 100%);
  color: #fff;
  text-align: center;
  padding: 76px 0;
}
.cta-band h2 { color: #fff; }
.cta-band .accent { color: var(--mist); }
.cta-band .lead { color: rgba(255, 255, 255, .84); }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.cta-band .btn--primary { background: #fff; color: var(--primary); }
.cta-band .btn--primary:hover { background: var(--mist); color: var(--primary-dark); }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.cta-band .btn--ghost:hover { color: var(--primary); background: #fff; border-color: #fff; }

/* ---------- Page hero ---------------------------------------------------- */
.page-hero {
  padding: 76px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 18% 0%, rgba(123, 141, 206, .3), transparent 66%),
    linear-gradient(180deg, #ffffff, var(--mist));
}

/* ---------- Catalogue ---------------------------------------------------- */
.filters {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  position: sticky;
  top: 76px;
  z-index: 20;
  box-shadow: var(--shadow-sm);
}
.filters-row {
  display: grid;
  grid-template-columns: minmax(220px, 2.2fr) repeat(4, minmax(140px, 1fr)) auto;
  gap: 10px;
}
@media (max-width: 1080px) { .filters-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .filters-row { grid-template-columns: 1fr; } }

.field {
  position: relative;
  display: flex;
  align-items: center;
}
.field svg { position: absolute; left: 14px; color: var(--text-3); pointer-events: none; }

input[type="text"], input[type="search"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 14.5px;
  outline: none;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.field input { padding-left: 42px; }
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
select {
  appearance: none;
  cursor: pointer;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382829a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 15px;
}
option { background: #fff; color: var(--ink); }

.filters-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-3);
}
.filters-meta b { color: var(--primary); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--primary);
  border-radius: 999px;
  padding: 4px 8px 4px 12px;
  font-size: 12px;
  font-weight: 600;
}
.chip button { background: none; border: 0; color: inherit; cursor: pointer; font-size: 15px; line-height: 1; padding: 0 2px; }

/* table */
.table-wrap {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: auto;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
table.catalogue { width: 100%; border-collapse: collapse; min-width: 1000px; font-size: 13.6px; }
table.catalogue thead th {
  position: sticky;
  top: 0;
  background: var(--mist);
  text-align: left;
  font-family: var(--head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  z-index: 2;
}
table.catalogue tbody tr { border-bottom: 1px solid var(--line); transition: background .12s ease; }
table.catalogue tbody tr:hover { background: var(--bg-3); }
table.catalogue tbody tr:last-child { border-bottom: 0; }
table.catalogue td { padding: 14px 16px; vertical-align: top; color: var(--text-2); }
table.catalogue td.sku { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--primary); font-weight: 700; white-space: nowrap; }
table.catalogue td.desc { color: var(--text); max-width: 260px; }

.tag {
  display: inline-block;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
}
.pn { display: flex; flex-wrap: wrap; gap: 5px; max-width: 300px; }
.pn code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  white-space: nowrap;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
  color: var(--text-2);
}
.pn .more { color: var(--primary); font-size: 11.5px; font-weight: 600; align-self: center; cursor: pointer; }

/* mobile cards */
.cards-mobile { display: none; margin-top: 22px; gap: 12px; }
.pcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.pcard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pcard-sku { font-family: ui-monospace, Menlo, monospace; color: var(--primary); font-weight: 700; font-size: 13.5px; }
.pcard h4 { font-family: var(--body); font-weight: 600; font-size: 14.5px; margin: 10px 0 12px; text-transform: none; }
.pcard dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 12.5px; }
.pcard dt { color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.pcard dd { margin: 0; color: var(--text-2); }

@media (max-width: 860px) {
  .table-wrap { display: none; }
  .cards-mobile { display: grid; }
  .filters { position: static; }
}

/* pagination */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.pager button {
  min-width: 40px;
  height: 40px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text-2);
  font-family: var(--body);
  font-size: 14px;
  cursor: pointer;
  transition: all .15s ease;
}
.pager button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); background: var(--accent-soft); }
.pager button[aria-current="page"] { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 700; }
.pager button:disabled { opacity: .4; cursor: not-allowed; }
.pager .dots { color: var(--text-3); padding: 0 4px; }

.empty { text-align: center; padding: 70px 20px; color: var(--text-3); }

/* ---------- WhatsApp -----------------------------------------------------
   WhatsApp is the primary contact channel, so it gets its own brand green
   rather than the site indigo — people recognise the colour faster than
   they read the label. */
:root { --wa: #25D366; --wa-dark: #1da851; }

.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); }
.btn--wa svg { flex: 0 0 auto; }
.wa-ico { display: inline-flex; }

.cta-band .btn--wa,
.footer .btn--wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.cta-band .btn--wa:hover,
.footer .btn--wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); color: #fff; }

.wa-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--wa);
  color: #fff;
  border-radius: 999px;
  padding: 13px 20px;
  font-family: var(--head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .6);
  transition: transform .2s ease, background .2s ease;
  /* hidden until past the hero — otherwise it doubles up on the hero's own
     WhatsApp button. animate.js (or the no-GSAP fallback) reveals it. */
  opacity: 0;
  pointer-events: none;
}
.wa-float.is-visible { opacity: 1; pointer-events: auto; }
.wa-float:hover { transform: translateY(-3px); background: var(--wa-dark); }
@media (max-width: 640px) {
  .wa-float { padding: 14px; }
  .wa-float span { display: none; }
}

/* ---------- Promise band ------------------------------------------------- */
.promise-band {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
  text-align: center;
  padding: 76px 0;
}
.promise-band .lead { margin-top: 20px; }

/* ---------- Process steps ------------------------------------------------ */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: step;
  max-width: 900px;
  margin-inline: auto;
}
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.step:hover { border-color: var(--accent-line); box-shadow: var(--shadow-sm); }
.step-n {
  flex: 0 0 auto;
  font-family: var(--head);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--text-2); font-size: 14.6px; }

/* ---------- Rebuild flow ------------------------------------------------- */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.flow-step {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--head);
  font-size: 13.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.flow-arrow { color: var(--secondary); font-size: 18px; }

/* ---------- Notice strip ------------------------------------------------- */
.notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 40px;
  background: linear-gradient(135deg, var(--accent-soft), rgba(123, 141, 206, .16));
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.notice h3 { margin-bottom: 8px; }
.notice p { margin: 0; color: var(--text-2); font-size: 14.8px; max-width: 68ch; }

/* ---------- Pills -------------------------------------------------------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.pill:hover { border-color: var(--primary); background: var(--accent-soft); transform: translateY(-2px); }

/* ---------- Figure cards ------------------------------------------------- */
.card.figure { text-align: center; }
.card.figure b {
  display: block;
  font-family: var(--head);
  font-size: 2.3rem;
  color: var(--primary);
  line-height: 1;
}
.card.figure span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- Warranty tiers ----------------------------------------------- */
.warranty-tier { text-align: center; padding: 40px 32px; }
.warranty-term {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}
.warranty-term b {
  font-family: var(--head);
  font-size: 4.4rem;
  line-height: 1;
  color: var(--primary);
}
.warranty-term span {
  font-family: var(--head);
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.warranty-tier p { margin-top: 10px; }

/* ---------- Contact ------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .card-icon { margin: 0; width: 40px; height: 40px; flex: 0 0 auto; }
.info-row b { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.info-row a, .info-row span { color: var(--text); font-size: 15px; }
.info-row a:hover { color: var(--primary); }

form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
form label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin: 0 0 7px; font-weight: 600; }
form .fieldset { margin-bottom: 16px; }
textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 12.5px; color: var(--text-3); margin-top: 12px; }

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-sm);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Blog --------------------------------------------------------- */
.post {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.post:hover { border-color: var(--accent-line); transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb {
  height: 160px;
  background: linear-gradient(140deg, var(--primary), var(--secondary));
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}
.post-thumb svg { opacity: .55; color: #fff; }
.post-body { padding: 22px; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--text-3); margin-bottom: 12px; }
.post h3 { font-size: 1.08rem; margin-bottom: 10px; }

/* ---------- Footer ------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: #d6d6de;
  border-top: 1px solid var(--line);
  padding: 62px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 44px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer .logo { color: #fff; }
.footer .logo .accent { color: var(--secondary); }
.footer .logo em { color: #8f8f9e; }
.footer h4 {
  font-size: 13px;
  letter-spacing: .14em;
  color: #fff;
  margin-bottom: 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #b9b9c6; font-size: 14.5px; transition: color .15s ease; }
.footer a:hover { color: var(--secondary); }
.footer p { color: #b9b9c6; font-size: 14.5px; }
.footer .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.footer .btn--ghost:hover { color: var(--ink); background: var(--secondary); border-color: var(--secondary); }
.footer-bottom {
  margin-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #8f8f9e;
}

/* ---------- Modal -------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(31, 31, 31, .55);
  backdrop-filter: blur(4px);
}
.modal.is-open { display: flex; }
.modal-box {
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 30px 70px -30px rgba(31, 31, 31, .55);
}
.modal-box header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.modal-close { background: none; border: 1px solid var(--line-2); color: var(--text-2); width: 34px; height: 34px; border-radius: 9px; cursor: pointer; }
.modal-close:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Reveal on scroll --------------------------------------------
   Resting state only — GSAP (assets/js/animate.js) drives the transition.
   No CSS transition here, or it would fight GSAP's inline tweens.
   `.no-gsap` is set by animate.js if GSAP fails to load, so content is never
   left invisible. */
.reveal { opacity: 0; }
.no-gsap .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Utilities ---------------------------------------------------- */
.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;
}
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary);
  color: #fff;
  border: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); background: var(--primary-dark); }
