/* ==========================================================
   TLC Refrigeration and Maintenance
   Rebrand stylesheet. Palette is sampled from the new logo.
   ========================================================== */

:root {
  /* logo palette */
  --navy: #1a3d89;
  --navy-deep: #122b63;
  --royal: #4a74d2;
  --ocean: #2e86ab;
  --sky: #62a9d2;
  --abyss: #1b4965;
  --ice: #a0c4d9;
  --slate: #6e7c87;
  --mint: #c6f6dd;
  --peri: #9dc3f9;
  --ink: #100f0f; /* matches the dark logo canvas */

  /* surfaces and text */
  --frost: #edf4f9;
  --frost-2: #dceaf3;
  --white: #ffffff;
  --text: #0f2147;
  --muted: #4b5d78;
  --line: #d3e1eb;

  --f-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --f-body: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 6px 18px -10px rgba(26, 61, 137, 0.35);
  --shadow-md: 0 22px 44px -22px rgba(26, 61, 137, 0.45);
  --wrap: 1200px;
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: var(--navy);
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}

h1 {
  font-size: clamp(3rem, 7.4vw, 6.2rem);
  font-weight: 800;
  line-height: 0.92;
}
h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 0.98;
}
h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  line-height: 1.05;
}

.grad-text {
  background: linear-gradient(180deg, var(--navy) 10%, var(--royal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--navy);
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.06em;
}

.wrap {
  width: min(var(--wrap), 100% - 2.5rem);
  margin-inline: auto;
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--muted);
  max-width: 58ch;
}

.prose {
  max-width: 64ch;
}
.prose p {
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}

/* ---------- icons ---------- */
.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic--fill {
  fill: currentColor;
  stroke: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font: 600 0.95rem/1 var(--f-body);
  text-decoration: none;
  padding: 1.05rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--primary {
  background: linear-gradient(180deg, var(--royal), var(--navy));
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(26, 61, 137, 0.7);
}
.btn--primary:hover {
  box-shadow: 0 16px 28px -12px rgba(26, 61, 137, 0.85);
}
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--ghost:hover {
  background: var(--navy);
  color: #fff;
}
.btn--light {
  background: #fff;
  color: var(--navy);
}
.btn--light:hover {
  box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 0.5);
}
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn--outline-light:hover {
  background: #fff;
  color: var(--navy);
}
.btn--wa {
  background: #1fa855;
  color: #fff;
}
.btn--wa:hover {
  box-shadow: 0 14px 26px -12px rgba(31, 168, 85, 0.8);
}
.btn--sm {
  padding: 0.8rem 1.15rem;
  font-size: 0.85rem;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ==========================================================
   Header and navigation
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
}
/* blur lives on a pseudo-element so the header does not become the
   containing block for the fixed mobile menu */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.bar {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex: none;
}
.brand img {
  height: 44px;
  width: auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-text b {
  font: 700 1.02rem/1 var(--f-body);
  letter-spacing: 0.17em;
  color: var(--navy);
}
.brand-text small {
  font: 500 0.54rem/1 var(--f-body);
  letter-spacing: 0.21em;
  color: #2f6fa6;
  margin-top: 0.45rem;
  white-space: nowrap;
}

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: stretch;
}
.nav-list {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.2rem;
}
.nav-item {
  display: flex;
  align-items: stretch;
}
.nav-item--mega {
  position: static;
}
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.95rem;
  font: 600 0.9rem/1 var(--f-body);
  color: var(--text);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 18px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.nav-item.is-open > .nav-link::after {
  transform: scaleX(1);
}
.nav-link .chev {
  width: 0.7em;
  height: 0.7em;
  transition: transform 0.25s ease;
}
.nav-item.is-open > .nav-link .chev {
  transform: rotate(180deg);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.5rem;
}
.tool-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}
.tool-btn:hover {
  border-color: var(--sky);
  background: var(--frost);
  transform: translateY(-1px);
}
.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font: 700 0.7rem/20px var(--f-body);
  text-align: center;
  transform: scale(0);
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.badge.has-items {
  transform: scale(1);
}
.header-call {
  padding: 0.85rem 1.2rem;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
}

/* mega menu */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--navy), var(--royal), var(--sky), var(--ice)) 1;
  box-shadow: 0 40px 50px -30px rgba(18, 43, 99, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.nav-item.is-open > .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.2fr);
  gap: 2rem;
  padding: 2rem 0 2.2rem;
}
.mega h4 {
  font-size: 1.25rem;
  margin: 0 0 0.6rem;
  min-height: 2.5em;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.mega h4 .ic {
  margin-top: 0.05em;
}
.mega h4 a {
  text-decoration: none;
  color: inherit;
}
.mega h4 a:hover {
  color: var(--royal);
}
.mega ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mega li a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color 0.2s, padding-left 0.2s;
}
.mega li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--sky);
  transition: width 0.2s;
}
.mega li a:hover {
  color: var(--navy);
  padding-left: 1.1rem;
}
.mega li a:hover::before {
  width: 0.8rem;
}
.mega-aside {
  background: linear-gradient(160deg, var(--navy) 0%, var(--abyss) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.mega-aside h4 {
  color: #fff;
  margin: 0;
  font-size: 1.5rem;
}
.mega-aside p {
  margin: 0;
  font-size: 0.85rem;
  color: #d4e4f2;
  line-height: 1.55;
}

/* ==========================================================
   Blades (the logo swoosh)
   ========================================================== */
.blades {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(9rem, 20vw, 17rem);
  pointer-events: none;
}
.blades path {
  animation: blade-in 1.3s cubic-bezier(0.18, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 0.11s);
}
@keyframes blade-in {
  from {
    opacity: 0;
    transform: translate(-9%, 5%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbfd 0%, var(--frost) 62%, #fff 100%);
  padding: clamp(2.8rem, 6vw, 5.5rem) 0 clamp(10rem, 19vw, 16rem);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  margin-bottom: 0.35em;
}
.hero .lead {
  margin-bottom: 1.8rem;
}

.triage {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.triage-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.triage-head svg {
  color: var(--sky);
  width: 2rem;
  height: 2rem;
}
.triage-head h2 {
  font-size: 1.9rem;
  margin: 0;
}
.triage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.triage-list a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--frost);
  text-decoration: none;
  color: var(--text);
  border: 1.5px solid transparent;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}
.triage-list a:hover {
  border-color: var(--sky);
  background: #fff;
  transform: translateX(4px);
}
.triage-list .ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--royal), var(--navy));
  color: #fff;
}
.triage-list strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
}
.triage-list span.sub {
  font-size: 0.8rem;
  color: var(--muted);
}
.triage-list .go {
  color: var(--navy);
}
.triage-foot {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.triage-foot a {
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================================
   Inner page hero
   ========================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbfd 0%, var(--frost) 100%);
  padding: clamp(2.6rem, 5vw, 4.4rem) 0 clamp(6.5rem, 12vw, 10rem);
}
.page-hero .blades {
  height: clamp(6rem, 12vw, 10rem);
}
.page-hero .wrap {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-size: clamp(2.8rem, 6.4vw, 5.2rem);
  margin-bottom: 0.3em;
}
.crumbs {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* ==========================================================
   Sections
   ========================================================== */
.sec {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}
.sec--frost {
  background: var(--frost);
}
.sec--navy {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.sec--navy h2,
.sec--navy h3 {
  color: #fff;
}
.sec--navy .lead {
  color: #cfe0f1;
}
.sec-head {
  margin-bottom: clamp(1.8rem, 3.5vw, 3rem);
}
.sec-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.sec-head p {
  margin: 0;
}

/* home: services */
.svc-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.4rem;
}
.svc-feature {
  grid-row: span 2;
  position: relative;
  min-height: 440px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--abyss), var(--navy));
  color: #fff;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.svc-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s ease;
}
.svc-feature:hover img {
  transform: scale(1.05);
}
.svc-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(16, 36, 80, 0.1) 20%, rgba(14, 33, 75, 0.92) 100%);
}
.svc-feature .body {
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.svc-feature h3 {
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
}
.svc-feature p {
  color: #dbe8f5;
  max-width: 46ch;
}
.svc-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.1rem;
  padding: 1.6rem;
  border-radius: 22px;
  background: var(--frost);
  border: 1.5px solid transparent;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.svc-item:hover {
  border-color: var(--sky);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.svc-item .ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, var(--ocean), var(--abyss));
}
.svc-item .ico .ic {
  width: 1.6rem;
  height: 1.6rem;
}
.svc-item h3 {
  margin-bottom: 0.4rem;
}
.svc-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* home: why */
.why {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.why-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem 2rem;
}
.why-point {
  padding-top: 1.1rem;
  border-top: 4px solid var(--c, var(--navy));
}
.why-point:nth-child(1) {
  --c: var(--navy);
}
.why-point:nth-child(2) {
  --c: var(--royal);
}
.why-point:nth-child(3) {
  --c: var(--ocean);
}
.why-point:nth-child(4) {
  --c: var(--ice);
}
.why-point .ic {
  width: 2rem;
  height: 2rem;
  color: var(--c);
  margin-bottom: 0.7rem;
}
.why-point h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}
.why-point p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* downtime split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.split--flip > :first-child {
  order: 2;
}
.photo-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.photo {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--frost-2), var(--ice));
  aspect-ratio: 4 / 5;
  position: relative;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.photo:hover img {
  transform: scale(1.06);
}
.photo:nth-child(2) {
  transform: translateY(1.6rem);
}
.photo--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

/* testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: start;
}
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.7rem;
  position: relative;
}
.quote:nth-child(2) {
  margin-top: 2rem;
}
.quote:nth-child(3) {
  margin-top: 0.8rem;
}
.stars {
  display: flex;
  gap: 2px;
  color: #f0b429;
  margin-bottom: 0.9rem;
}
.stars .ic {
  width: 1.05rem;
  height: 1.05rem;
}
.quote blockquote {
  margin: 0 0 1.1rem;
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--text);
}
.quote cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

/* CTA band */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 60%, var(--royal) 100%);
  color: #fff;
  padding: clamp(3.2rem, 6vw, 5rem) 0;
}
.cta .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta h2 {
  color: #fff;
  margin-bottom: 0.3em;
}
.cta p {
  color: #d4e4f4;
  margin: 0;
  max-width: 52ch;
}
.cta .snow {
  position: absolute;
  right: -3rem;
  top: -4rem;
  width: 22rem;
  height: 22rem;
  color: rgba(255, 255, 255, 0.07);
}

/* ==========================================================
   Services page
   ========================================================== */
.svc-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.side-index {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}
.side-index a {
  display: block;
  padding: 0.6rem 0 0.6rem 1.1rem;
  margin-left: -2px;
  border-left: 2px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}
.side-index a:hover,
.side-index a.is-active {
  color: var(--navy);
  border-left-color: var(--navy);
}
.svc-block {
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.svc-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.svc-block h2 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}
.chips {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--frost);
  border: 1px solid var(--frost-2);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.chips li:hover {
  background: #fff;
  border-color: var(--sky);
  transform: translateY(-2px);
}
.chips .ic {
  width: 1rem;
  height: 1rem;
  color: var(--ocean);
}
.checks {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.checks li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--text);
}
.checks .ic {
  margin-top: 0.2rem;
  color: var(--ocean);
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 3.4rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 800 1.5rem/1 var(--f-display);
  color: #fff;
  background: linear-gradient(180deg, var(--royal), var(--navy));
}
.steps li::after {
  content: "";
  position: absolute;
  top: 1.3rem;
  left: 3.1rem;
  right: -0.6rem;
  height: 2px;
  background: linear-gradient(90deg, var(--sky), transparent);
}
.steps li:last-child::after {
  display: none;
}
.steps strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.steps span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  display: block;
}
.emergency {
  border-radius: 22px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: linear-gradient(135deg, var(--navy) 0%, var(--abyss) 100%);
  color: #fff;
}
.emergency h2 {
  color: #fff;
}
.emergency p {
  color: #d4e4f2;
  max-width: 56ch;
}

/* ==========================================================
   About page
   ========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.fact {
  padding: 1.1rem 0 0;
  border-top: 4px solid var(--c, var(--navy));
}
.fact b {
  display: block;
  font: 800 2.7rem/1 var(--f-display);
  color: var(--navy);
}
.fact span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
  display: block;
  margin-top: 0.3rem;
}
.fact:nth-child(2) {
  --c: var(--ocean);
}
.fact:nth-child(3) {
  --c: var(--ice);
}
.vision {
  position: relative;
  border-radius: 24px;
  padding: clamp(1.8rem, 5vw, 3.4rem);
  background: linear-gradient(150deg, var(--navy) 0%, var(--abyss) 100%);
  color: #fff;
  overflow: hidden;
}
.vision h2 {
  color: #fff;
}
.vision p {
  color: #d4e4f2;
  max-width: 60ch;
}

/* ==========================================================
   Contact page
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: start;
}
.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.info-list a.info,
.info-list div.info {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: var(--frost);
  text-decoration: none;
  color: var(--text);
  border: 1.5px solid transparent;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}
.info-list a.info:hover {
  border-color: var(--sky);
  background: #fff;
  transform: translateX(4px);
}
.info .ico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, var(--royal), var(--navy));
}
.info .ico.wa {
  background: linear-gradient(180deg, #2fc46c, #178a43);
}
.info small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.3;
}
.info strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
  word-break: break-word;
}
.hours {
  margin-top: 1.4rem;
  padding: 1.3rem 1.4rem;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.hours h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.hours dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.2rem;
  font-size: 0.94rem;
}
.hours dt {
  font-weight: 600;
}
.hours dd {
  margin: 0;
  color: var(--muted);
}
.form-card {
  border-radius: 22px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.form-card h2 {
  font-size: 2.3rem;
}
.field {
  margin-bottom: 1rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label,
.label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}
input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  font: 500 0.96rem/1.4 var(--f-body);
  color: var(--text);
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231a3d89' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input:hover,
select:hover,
textarea:hover {
  border-color: var(--ice);
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 4px rgba(74, 116, 210, 0.18);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #c0392b;
}
.err {
  display: none;
  color: #b3261e;
  font-size: 0.78rem;
  margin-top: 0.35rem;
}
.field.has-error .err {
  display: block;
}
.basket-note {
  display: none;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--frost);
  border: 1px solid var(--frost-2);
  font-size: 0.88rem;
}
.basket-note.is-visible {
  display: flex;
}
.basket-note input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--navy);
  flex: none;
}
.basket-note label {
  margin: 0;
  font-weight: 500;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.4rem;
}
.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.4em;
}
.map-frame {
  margin-top: 2.2rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--frost);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}
.map-cap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.3rem;
  font-size: 0.94rem;
}
.map-cap .ic {
  color: var(--ocean);
}

/* ==========================================================
   Parts and equipment
   ========================================================== */
.parts-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(1.6rem, 3.5vw, 3rem);
  align-items: start;
}
.cat-panel {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 1.1rem;
}
.search {
  position: relative;
}
.search .ic {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ocean);
  pointer-events: none;
}
.search input {
  padding-left: 2.7rem;
}
.cat-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.cat-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.6rem;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1.5px solid transparent;
  background: var(--frost);
  font: 600 0.92rem/1.3 var(--f-body);
  color: var(--text);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.2s;
}
.cat-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--royal), var(--sky));
  transform: scaleY(0);
  transition: transform 0.25s ease;
}
.cat-btn:hover {
  border-color: var(--sky);
  background: #fff;
  transform: translateX(3px);
}
.cat-btn[aria-pressed="true"] {
  background: linear-gradient(180deg, var(--royal), var(--navy));
  color: #fff;
}
.cat-btn[aria-pressed="true"]::before {
  transform: scaleY(1);
  background: var(--mint);
}
.cat-btn .count {
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 1.7rem;
  text-align: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(26, 61, 137, 0.1);
}
.cat-btn[aria-pressed="true"] .count {
  background: rgba(255, 255, 255, 0.22);
}
.quote-mini {
  padding: 1.1rem;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--navy), var(--abyss));
  color: #fff;
}
.quote-mini h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}
.quote-mini p {
  font-size: 0.82rem;
  color: #d4e4f2;
  margin: 0 0 0.8rem;
  line-height: 1.5;
}
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.results-bar h2 {
  font-size: 2rem;
  margin: 0;
}
.results-bar p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
  gap: 1.2rem;
}
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #fff;
  border: 1.5px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.product[hidden] {
  display: none;
}
.product:hover,
.product:focus-within {
  transform: translateY(-8px);
  border-color: var(--sky);
  box-shadow: 0 30px 50px -26px rgba(26, 61, 137, 0.55);
}
.product-media {
  position: relative;
  aspect-ratio: 1 / 0.88;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #fff 0%, var(--frost) 62%, var(--frost-2) 100%);
}
.product-media img {
  position: relative;
  z-index: 2;
  width: 78%;
  height: 78%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product:hover .product-media img,
.product:focus-within .product-media img {
  transform: scale(1.12) rotate(-2deg);
}
.product-media .fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ice);
}
.product-media .fallback svg {
  width: 38%;
  height: 38%;
  stroke-width: 1.2;
}
/* frost sweep on hover */
.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.85) 50%, transparent 65%);
  transform: translateX(-130%);
  pointer-events: none;
}
.product:hover .product-media::after,
.product:focus-within .product-media::after {
  transform: translateX(130%);
  transition: transform 0.9s ease;
}
.tag {
  position: absolute;
  z-index: 4;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--navy);
  color: #fff;
}
.tag--new {
  background: linear-gradient(90deg, var(--mint), var(--peri));
  color: var(--navy-deep);
}
.product-body {
  padding: 1.1rem 1.2rem 1.2rem;
  display: grid;
  gap: 0.3rem;
}
.product-body .cat {
  font-size: 0.78rem;
  color: var(--ocean);
  font-weight: 600;
}
.product-body h3 {
  font-size: 1.6rem;
  margin: 0;
}
.product-body p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.product-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.85rem 1.2rem;
  margin-top: auto;
  background: var(--frost);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.product:hover .product-action,
.product:focus-within .product-action {
  background: linear-gradient(90deg, var(--navy), var(--royal));
  color: #fff;
}
.product-action .ic {
  transition: transform 0.25s ease;
}
.product:hover .product-action .ic {
  transform: translateX(4px);
}
.no-results {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
  border: 2px dashed var(--line);
  border-radius: 20px;
  color: var(--muted);
}
.no-results.is-visible {
  display: block;
}
.no-results h3 {
  font-size: 1.8rem;
}

/* why quality matters */
.quality {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 5vw, 4rem);
  align-items: start;
}
.quality .checks li {
  color: #fff;
}
.quality .checks .ic {
  color: var(--mint);
}

/* ==========================================================
   Drawers (product options and quote basket)
   ========================================================== */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 22, 52, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.scrim.is-open {
  opacity: 1;
  visibility: visible;
}
.drawer {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 100%);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(104%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.4s;
  box-shadow: -30px 0 60px -30px rgba(10, 22, 52, 0.6);
}
.drawer.is-open {
  transform: none;
  visibility: visible;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  margin: 0;
  font-size: 1.8rem;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn:hover {
  background: var(--frost);
  border-color: var(--sky);
  transform: rotate(90deg);
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.3rem;
}
.drawer-foot {
  padding: 1rem 1.3rem 1.3rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.6rem;
  background: var(--frost);
}
.d-media {
  position: relative;
  border-radius: 18px;
  height: 220px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, #fff 0%, var(--frost) 62%, var(--frost-2) 100%);
  margin-bottom: 1.2rem;
  overflow: hidden;
}
.d-media img {
  position: relative;
  z-index: 2;
  height: 82%;
  width: auto;
  max-width: 84%;
  object-fit: contain;
}
.d-media .fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ice);
}
.d-media .fallback svg {
  width: 90px;
  height: 90px;
  stroke-width: 1.2;
}
.d-cat {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ocean);
}
.drawer h3.d-title {
  font-size: 2.3rem;
  margin: 0.1rem 0 0.4rem;
}
.d-desc {
  color: var(--muted);
  font-size: 0.94rem;
}
.opt-group {
  margin-bottom: 1.1rem;
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.seg label {
  margin: 0;
  text-align: center;
  padding: 0.8rem 0.6rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.seg label:hover {
  border-color: var(--sky);
}
.seg input:checked + label {
  background: linear-gradient(180deg, var(--royal), var(--navy));
  border-color: var(--navy);
  color: #fff;
}
.seg input:focus-visible + label {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.stepper button {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--frost);
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}
.stepper button:hover {
  background: var(--frost-2);
}
.stepper output {
  min-width: 52px;
  text-align: center;
  font-weight: 700;
}
.basket-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
}
.basket-empty .ic {
  width: 3rem;
  height: 3rem;
  color: var(--ice);
  margin: 0 auto 0.6rem;
}
.basket-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
.basket-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.9rem;
  align-items: start;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.basket-item .thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: var(--frost);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ice);
}
.basket-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.basket-item h4 {
  font-size: 1.25rem;
  margin: 0 0 0.2rem;
}
.basket-item p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}
.basket-item .rm {
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: underline;
  padding: 0.2rem;
}
.basket-item .rm:hover {
  color: #b3261e;
}
.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 1.5rem;
  transform: translate(-50%, 140%);
  opacity: 0;
  visibility: hidden;
  background: var(--navy-deep);
  color: #fff;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.25s, visibility 0.35s;
}
.toast.is-show {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}
.toast .ic {
  color: var(--mint);
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
  background: var(--ink);
  color: #c9d6e2;
  padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.foot-logo {
  width: min(360px, 100%);
  height: auto;
  margin-bottom: 1rem;
}
.site-footer h4 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.8rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.site-footer a {
  color: #c9d6e2;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer a:hover {
  color: var(--mint);
}
.site-footer p {
  font-size: 0.9rem;
  color: #9fb1c3;
  max-width: 40ch;
}
.foot-contact li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9rem;
}
.foot-contact .ic {
  color: var(--sky);
  margin-top: 0.2rem;
}
.foot-base {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #7f93a6;
}

/* mobile call bar */
.quick-bar {
  display: none;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mega-aside {
    grid-column: span 2;
  }
  .header-call span {
    display: none;
  }
  .header-call {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 68px;
  }
  .brand-text small {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem 1.25rem 6rem;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.35s;
    margin: 0;
  }
  .primary-nav.is-open {
    transform: none;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .nav-item {
    flex-direction: column;
    border-bottom: 1px solid var(--line);
  }
  .nav-link {
    padding: 1.1rem 0.2rem;
    font-size: 1.1rem;
    justify-content: space-between;
  }
  .nav-link::after {
    display: none;
  }
  .mega {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-image: none;
    padding-bottom: 1rem;
  }
  .nav-item.is-open > .mega {
    display: block;
  }
  .mega-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 0.2rem 0 0.6rem;
  }
  .mega-aside {
    grid-column: auto;
  }
  .hero-grid,
  .why,
  .split,
  .about-grid,
  .contact-grid,
  .quality {
    grid-template-columns: 1fr;
  }
  .split--flip > :first-child {
    order: 0;
  }
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .svc-feature {
    grid-row: auto;
    min-height: 360px;
  }
  .quotes {
    grid-template-columns: 1fr;
  }
  .quote:nth-child(n) {
    margin-top: 0;
  }
  .svc-layout {
    grid-template-columns: 1fr;
  }
  .side-index {
    position: static;
    display: flex;
    gap: 0.5rem;
    border: 0;
    overflow-x: auto;
    padding-bottom: 0.4rem;
  }
  .side-index a {
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    margin: 0;
    white-space: nowrap;
  }
  .side-index a.is-active {
    border-color: var(--navy);
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem 1rem;
  }
  .steps li::after {
    display: none;
  }
  .parts-layout {
    grid-template-columns: 1fr;
  }
  .cat-panel {
    position: static;
  }
  .cat-menu {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
  }
  .cat-btn {
    width: auto;
    white-space: nowrap;
    border-radius: 999px;
  }
  .quote-mini {
    display: none;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quick-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    position: fixed;
    z-index: 55;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
  }
  .quick-bar .btn {
    box-shadow: 0 14px 28px -12px rgba(10, 22, 52, 0.7);
  }
  .site-footer {
    padding-bottom: 6rem;
  }
  .toast {
    bottom: 5.4rem;
  }
}

@media (max-width: 620px) {
  .header-call {
    display: none;
  }
  .brand {
    gap: 0.6rem;
  }
  .brand img {
    height: 36px;
  }
  .brand-text b {
    font-size: 0.82rem;
    letter-spacing: 0.13em;
  }
  .header-tools {
    margin-left: auto;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .why-points {
    grid-template-columns: 1fr;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
  .product-body {
    padding: 0.8rem;
  }
  .product-body h3 {
    font-size: 1.25rem;
  }
  .product-body p {
    display: none;
  }
  .product-action {
    padding: 0.7rem 0.8rem;
    font-size: 0.78rem;
  }
  .triage-list a {
    grid-template-columns: 40px 1fr auto;
  }
  .photo:nth-child(2) {
    transform: none;
  }
}

/* touch devices: keep the action bar visible, no sticky hover states */
@media (hover: none) {
  .product:hover {
    transform: none;
  }
  .product-action {
    background: linear-gradient(90deg, var(--navy), var(--royal));
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .quick-bar,
  .drawer,
  .scrim {
    display: none !important;
  }
}

/* ---------- additions ---------- */
.nav-cta {
  display: none;
}
@media (max-width: 980px) {
  .nav-cta {
    display: grid;
    gap: 0.7rem;
    padding-top: 1.4rem;
  }
}
[hidden] {
  display: none !important;
}
.product-hit {
  all: unset;
  cursor: pointer;
  display: block;
  color: inherit;
  font: inherit;
  text-decoration: none;
}
.product-hit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
}
.product-hit:focus-visible {
  outline: none;
}
.product:has(.product-hit:focus-visible) {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}
.product-body h3 .product-hit {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: inherit;
  line-height: 1;
  color: var(--navy);
}
.sec--navy .product {
  border-color: transparent;
}
.sec--navy .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.sec--navy .btn--ghost:hover {
  background: #fff;
  color: var(--navy);
}
.foot-contact a {
  word-break: break-word;
}
.mega-aside .btn {
  align-self: flex-start;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
}
.link-arrow:hover {
  text-decoration: underline;
}
