/* ==========================================================================
   TrustTech Appliance Repairs — style.css
   Clean corporate blue. Poppins throughout. White + light blue-grey surfaces,
   deep navy bands, one blue accent.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --white: #FFFFFF;
  --tint: #F4F7FA;            /* light blue-grey background */
  --tint-deep: #E9EFF5;
  --blue: #14507F;            /* primary accent */
  --blue-dark: #0F3D66;       /* hover */
  --navy: #0A2540;            /* dark sections / footer */
  --navy-deep: #071628;       /* overlays / footer bottom */
  --ink: #334155;             /* body text on white */
  --ink-soft: #64748B;        /* muted text */
  --heading: #0A2540;
  --hairline: #E2E8F0;
  --hairline-dark: rgba(255, 255, 255, 0.14);
  --star: #F4B400;            /* amber star ratings only */
  --wa: #25D366;

  --font: "Poppins", "Segoe UI", Arial, sans-serif;

  --radius: 10px;
  --shadow-soft: 0 1px 2px rgba(10, 37, 64, 0.04), 0 8px 24px rgba(10, 37, 64, 0.06);
  --shadow-hover: 0 2px 4px rgba(10, 37, 64, 0.05), 0 14px 34px rgba(10, 37, 64, 0.10);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px;

  --container: 1160px;
}

/* ---------- Reset / base ---------- */
*, *::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: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--white);
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--blue); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--blue-dark); }

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.25;
  color: var(--heading);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 600; }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
h4 { font-size: 1rem; }

p { margin-bottom: var(--s2); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

::selection { background: var(--blue); color: var(--white); }

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

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s3);
}

.section { padding-block: clamp(var(--s8), 8vw, var(--s12)); }
.section--tight { padding-block: clamp(var(--s6), 6vw, var(--s10)); }
.section--ivory { background-color: var(--tint); }               /* legacy name: light blue-grey */
.section--navy { background-color: var(--navy); color: rgba(255, 255, 255, 0.85); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(var(--s5), 5vw, var(--s8));
}
.section-head p { color: var(--ink-soft); }
.section--navy .section-head p { color: rgba(255, 255, 255, 0.72); }

.kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--s2);
}
.section--navy .kicker, .kicker--on-dark { color: #7FB2E0; }

.lead { font-size: 1.1rem; line-height: 1.75; color: var(--ink-soft); }

.gold-rule {              /* legacy name: accent rule, now blue */
  width: 56px; height: 2px;
  background: var(--blue);
  border: 0;
  margin: var(--s3) auto;
}
.gold-rule--left { margin-inline: 0; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -64px; left: var(--s2);
  z-index: 300;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 6px 6px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; color: var(--white); }

/* ---------- Page loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderHide 0.5s var(--ease) 0.8s forwards;
  pointer-events: none;
}
.page-loader.is-done { animation: loaderHide 0.3s var(--ease) forwards; }
.page-loader__logo {
  width: 64px; height: 64px;
  animation: loaderLogo 0.8s var(--ease) both;
}
.page-loader__bar {
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: var(--blue);
  transform-origin: left center;
  animation: loaderBar 0.8s var(--ease) both;
}
@keyframes loaderBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes loaderLogo { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes loaderHide { to { opacity: 0; visibility: hidden; } }

/* Page transition fade */
body.page-fade-out main,
body.page-fade-out .site-footer { opacity: 0; transition: opacity 0.22s var(--ease); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), box-shadow 0.22s var(--ease),
              transform 0.22s var(--ease);
}
.btn svg { flex: 0 0 auto; }

.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-hover); }

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover { background: var(--blue); color: var(--white); }

.btn--light { background: var(--white); color: var(--blue); }
.btn--light:hover { background: var(--tint); color: var(--blue-dark); transform: translateY(-1px); }

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); color: var(--white); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(10, 37, 64, 0.08); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.brand:hover { color: var(--navy); }
.brand__glyph { width: 40px; height: 40px; flex: 0 0 auto; }
.brand__name {
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--blue);
}
.brand__name span { color: var(--navy); }
.brand__tag {
  display: block;
  font-family: var(--font);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { display: inline-flex; }
.nav-cta .btn { min-height: 44px; padding: 10px 22px; }
.nav-links .nav-cta a,
.nav-links .nav-cta a:hover { color: var(--white); }
.nav-links .nav-cta a::after { display: none; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
  content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.10);
    padding: var(--s2) var(--s3) var(--s3);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 48px; border-bottom: 1px solid var(--tint-deep); }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta { margin-top: var(--s2); }
  .nav-links .nav-cta .btn { width: 100%; }
}

/* ---------- Hero (full-width photo) ---------- */
.hero {
  position: relative;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(7, 22, 40, 0.72), rgba(7, 22, 40, 0.55)),
    url("../images/hero-technician-washer.webp");
  background-size: cover;
  background-position: center;
  color: var(--white);
  display: flex;
  align-items: center;
}
.hero-inner {
  padding-block: clamp(var(--s8), 9vw, 120px);
  width: 100%;
}
.hero-copy { max-width: 620px; }
.hero-copy .kicker { color: #7FB2E0; }
.hero-copy h1 { color: var(--white); margin-bottom: var(--s3); }
.hero-copy .lead { color: rgba(255, 255, 255, 0.85); margin-bottom: var(--s4); max-width: 34rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s4);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}
.hero-meta strong { color: var(--white); font-weight: 600; }

@media (min-width: 901px) {
  .hero { min-height: 72vh; }
}

/* ---------- Trust badges strip ---------- */
.badges-strip {
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  padding-block: var(--s4);
}
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: var(--s3);
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.badge-item__icon {
  width: 46px; height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--tint);
}
.badge-item__icon svg { width: 22px; height: 22px; stroke: var(--blue); }
.badge-item h3 {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.35;
}
.badge-item p { font-size: 0.82rem; color: var(--ink-soft); margin: 0; }

/* ---------- Editorial intro ---------- */
.editorial { text-align: center; }
.editorial .container { max-width: 860px; }
.pullquote {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.4;
  color: var(--heading);
  margin-bottom: var(--s3);
}
.pullquote em { font-style: normal; color: var(--blue); }
.editorial p { color: var(--ink-soft); max-width: 640px; margin-inline: auto; }

/* ---------- Services band (navy) ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--s3);
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.svc-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--tint-deep);
}
.svc-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.svc-card:hover .svc-card__media img { transform: scale(1.04); }
.svc-card__body {
  padding: var(--s3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.svc-card h3 { font-size: 1.1rem; color: var(--heading); }
.svc-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; flex: 1; }
.svc-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  border-top: 1px solid var(--tint-deep);
  padding-top: 8px;
}
.svc-card__link:hover { color: var(--blue-dark); }
.svc-more { text-align: center; margin-top: var(--s6); }

/* ---------- Alternating rows (Why choose us) ---------- */
.alt-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(var(--s4), 6vw, var(--s10));
  align-items: center;
}
.alt-row + .alt-row { margin-top: clamp(var(--s8), 8vw, var(--s10)); }
.alt-row__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  background-color: var(--tint-deep);
}
.alt-row__media img { width: 100%; height: 100%; object-fit: cover; }
.alt-row--flip .alt-row__media { order: 2; }
.alt-row__copy h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: var(--s2); }
.alt-row__copy p { color: var(--ink-soft); }
.alt-row__copy ul { margin-top: var(--s2); display: grid; gap: 10px; }
.alt-row__copy li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink);
}
.alt-row__copy li svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 5px; stroke: var(--blue); }

@media (max-width: 820px) {
  .alt-row { grid-template-columns: 1fr; }
  .alt-row--flip .alt-row__media { order: 0; }
}

/* ---------- Timeline (How it works) ---------- */
.timeline {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  padding-left: 8px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 8px; bottom: 8px;
  width: 1px;
  background: var(--hairline);
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--s3);
  padding-bottom: var(--s6);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-num {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--blue);
  color: var(--blue);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}
.tl-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.tl-item p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- Reviews carousel ---------- */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: var(--s6);
}
.g-agg {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 10px 20px;
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.g-agg svg { width: 22px; height: 22px; }
.g-agg .stars { margin: 0; }

.carousel { position: relative; }
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--s3)) / 3);
  gap: var(--s3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }

.review-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-soft);
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: 6px; right: 20px;
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 600;
  color: var(--tint-deep);
  pointer-events: none;
}
.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card__name { font-weight: 600; font-size: 0.95rem; color: var(--heading); line-height: 1.3; }
.review-card__meta { font-size: 0.8rem; color: var(--ink-soft); }
.review-card__g { margin-left: auto; }
.review-card__g svg { width: 20px; height: 20px; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; }
.review-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; flex: 1; }

.carousel-nav {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: var(--s3);
}
.carousel-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--blue);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.carousel-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:disabled { opacity: 0.4; cursor: default; }
.carousel-btn:disabled:hover { background: var(--white); border-color: var(--hairline); color: var(--blue); }

@media (max-width: 980px) { .carousel-track { grid-auto-columns: calc((100% - var(--s3)) / 2); } }
@media (max-width: 640px) { .carousel-track { grid-auto-columns: 92%; } }

/* ---------- Emergency banner ---------- */
.emergency {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy));
  color: rgba(255, 255, 255, 0.85);
  padding-block: var(--s8);
}
.emergency-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}
.emergency h2 { color: var(--white); margin-bottom: 8px; }
.emergency p { color: rgba(255, 255, 255, 0.72); margin: 0; max-width: 46rem; }
.emergency-phone {
  font-family: var(--font);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.emergency-phone:hover { color: var(--white); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.emergency-phone svg { width: 28px; height: 28px; stroke: #7FB2E0; }

/* ---------- Workmanship gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--s3);
}
.gallery-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.gallery-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background-color: var(--tint-deep); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-card:hover img { transform: scale(1.04); }
.gallery-card__body { padding: var(--s3); }
.gallery-card__body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.gallery-card__body p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* ---------- FAQ split + accordion ---------- */
.faq-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(var(--s4), 6vw, var(--s10));
  align-items: start;
}
.faq-split__intro { position: sticky; top: 110px; }
.faq-split__intro h2 { margin-bottom: var(--s2); }
.faq-split__intro p { color: var(--ink-soft); }
@media (max-width: 820px) {
  .faq-split { grid-template-columns: 1fr; }
  .faq-split__intro { position: static; }
}

.accordion { display: grid; gap: 12px; }
.acc-item {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease);
}
.acc-item.is-open { box-shadow: var(--shadow-soft); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--heading);
  min-height: 56px;
}
.acc-btn:hover { color: var(--blue); }
.acc-btn__icon {
  width: 26px; height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  color: var(--blue);
  transition: transform 0.28s var(--ease), background-color 0.28s var(--ease), color 0.28s var(--ease);
}
.acc-btn__icon svg { width: 12px; height: 12px; }
.acc-item.is-open .acc-btn__icon { transform: rotate(45deg); background: var(--blue); color: var(--white); border-color: var(--blue); }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel__inner { overflow: hidden; }
.acc-panel p {
  padding: 0 22px 20px;
  font-size: 0.93rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Contact CTA teaser (photo band) ---------- */
.cta-teaser {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(7, 22, 40, 0.82), rgba(7, 22, 40, 0.78)),
    url("../images/washer-window.webp");
  background-size: cover;
  background-position: center;
}
.cta-teaser__card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: clamp(var(--s4), 5vw, var(--s8));
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(var(--s4), 5vw, var(--s8));
  align-items: center;
}
.cta-teaser__card h2 { margin-bottom: var(--s2); }
.cta-teaser__card p { color: var(--ink-soft); }
.cta-teaser__panel {
  background: var(--tint);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: var(--s4);
}
.cta-teaser__panel h3 { font-size: 1rem; margin-bottom: var(--s2); }
.cta-teaser__panel ul { display: grid; gap: 10px; margin-bottom: var(--s3); }
.cta-teaser__panel li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--ink-soft); }
.cta-teaser__panel li svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 5px; stroke: var(--blue); }
@media (max-width: 820px) { .cta-teaser__card { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--s5);
  padding-block: var(--s10) var(--s8);
}
.footer-brand .brand { margin-bottom: var(--s2); }
.footer-brand .brand__name { color: #7FB2E0; }
.footer-brand .brand__name span { color: var(--white); }
.footer-brand .brand__tag { color: rgba(255, 255, 255, 0.6); }
.footer-brand p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.66); max-width: 26rem; }
.footer-col h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: var(--s2);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline-dark);
}
.footer-col li { padding: 5px 0; }
.footer-col a { font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); display: inline-flex; min-height: 32px; align-items: center; }
.footer-col a:hover { color: var(--white); }
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.66);
  padding: 6px 0;
}
.footer-contact svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 6px; stroke: #7FB2E0; }
.footer-contact a { color: var(--white); font-weight: 500; }
.footer-contact a:hover { color: #7FB2E0; }

.footer-bottom {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  padding-block: 18px;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.78); min-height: 32px; display: inline-flex; align-items: center; }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating buttons ---------- */
.float-btns {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.28);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.float-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(10, 37, 64, 0.34); }
.float-btn svg { width: 27px; height: 27px; }
.float-btn--wa { background: var(--wa); }
.float-btn--call { background: var(--blue); }

.to-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 250;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--blue);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  box-shadow: var(--shadow-soft);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); color: var(--white); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal, .reduced-motion .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #0E3357 100%);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding-block: clamp(var(--s8), 8vw, var(--s10));
}
.page-hero h1 { color: var(--white); margin-bottom: var(--s2); }
.page-hero p { color: rgba(255, 255, 255, 0.78); max-width: 620px; margin-inline: auto; }
.page-hero .kicker { color: #7FB2E0; }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--s3);
}
.breadcrumb a { color: #7FB2E0; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--navy);
  color: var(--white);
  padding-block: var(--s8);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  text-align: center;
}
.stat-num {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--white);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7FB2E0;
  margin-top: 8px;
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Values cards ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--s3);
}
.value-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  border-top: 3px solid var(--blue);
  padding: var(--s4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.value-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.value-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Brand list ---------- */
.brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.brand-chip {
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--heading);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 10px 24px;
}

/* ---------- Services page ---------- */
.svc-category { padding-block: clamp(var(--s8), 8vw, var(--s10)); }
.svc-category + .svc-category { border-top: 1px solid var(--hairline); }
.svc-category:nth-of-type(even) { background: var(--tint); }
.cat-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(var(--s4), 5vw, var(--s8));
  align-items: center;
  margin-bottom: var(--s6);
}
.cat-intro__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 10;
  background-color: var(--tint-deep);
}
.cat-intro__media img { width: 100%; height: 100%; object-fit: cover; }
.cat-intro__copy h2 { margin-bottom: var(--s2); }
.cat-intro__copy p { color: var(--ink-soft); }
.svc-category:nth-of-type(even) .cat-intro__media { order: 2; }
@media (max-width: 820px) {
  .cat-intro { grid-template-columns: 1fr; }
  .svc-category:nth-of-type(even) .cat-intro__media { order: 0; }
}

.svc-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--s3);
}
.svc-detail-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.svc-detail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.svc-detail-card__media { aspect-ratio: 16 / 9; overflow: hidden; background-color: var(--tint-deep); }
.svc-detail-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.svc-detail-card:hover .svc-detail-card__media img { transform: scale(1.04); }
.svc-detail-card__body { padding: var(--s3); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-detail-card__body h3 { font-size: 1.1rem; }
.svc-detail-card__body p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; flex: 1; }
.svc-detail-card__body .svc-card__link { border-top: 1px solid var(--tint-deep); padding-top: 10px; }

/* ---------- Notes ---------- */
.response-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--tint);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  padding: var(--s3);
  margin-top: var(--s4);
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.response-note svg { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 3px; stroke: var(--blue); }

/* ---------- Contact page ---------- */
.map-band { position: relative; border-bottom: 1px solid var(--hairline); }
.map-band iframe { width: 100%; height: 380px; border: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(var(--s4), 5vw, var(--s8));
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(var(--s3), 4vw, var(--s5));
}
.form-card h2 { font-size: 1.35rem; margin-bottom: 6px; }
.form-card > p { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: var(--s3); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2) var(--s2);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.87rem; font-weight: 500; color: var(--heading); }
.field label .req { color: #B3372B; }
.field input, .field select, .field textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 80, 127, 0.14);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3372B; }
.field-error {
  font-size: 0.8rem;
  color: #B3372B;
  display: none;
}
.field.has-error .field-error { display: block; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-error-banner {
  display: none;
  background: #FBEDEB;
  border: 1px solid #E4B4AC;
  border-left: 3px solid #B3372B;
  color: #7C2D22;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.92rem;
  margin-bottom: var(--s3);
}
.form-error-banner.is-visible { display: block; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: var(--s2); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.contact-side { display: grid; gap: var(--s3); }
.contact-panel {
  background: var(--tint);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: var(--s4);
}
.contact-panel h3 { font-size: 1.05rem; margin-bottom: var(--s2); padding-bottom: 10px; border-bottom: 2px solid var(--blue); }
.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--tint-deep);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row__icon {
  width: 40px; height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 50%;
}
.contact-row__icon svg { width: 18px; height: 18px; stroke: var(--blue); }
.contact-row h4 { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.contact-row a, .contact-row p { font-size: 0.98rem; font-weight: 500; color: var(--heading); margin: 0; word-break: break-word; }
.contact-row a:hover { color: var(--blue); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.hours-table th, .hours-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--tint-deep); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { font-weight: 500; color: var(--heading); }
.hours-table td { color: var(--ink-soft); text-align: right; }
.hours-table .closed { color: #B3372B; font-weight: 500; }

/* ---------- Thank-you page ---------- */
.ty-hero { text-align: center; padding-block: clamp(var(--s10), 10vw, 130px); }
.ty-hero__icon {
  width: 82px; height: 82px;
  margin: 0 auto var(--s4);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tint);
  border: 1px solid var(--blue);
}
.ty-hero__icon svg { width: 38px; height: 38px; stroke: var(--blue); }
.ty-hero h1 { margin-bottom: var(--s2); }
.ty-hero p { color: var(--ink-soft); max-width: 540px; margin-inline: auto; }
.ty-steps {
  max-width: 640px;
  margin: var(--s6) auto 0;
  text-align: left;
  display: grid;
  gap: var(--s2);
}
.ty-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: var(--s3);
}
.ty-step__num {
  width: 34px; height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--blue);
  font-family: var(--font);
  font-weight: 600;
  color: var(--blue);
  font-size: 0.92rem;
}
.ty-step p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }
.ty-step strong { color: var(--heading); }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 {
  font-size: 1.3rem;
  margin: var(--s6) 0 var(--s2);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); font-size: 0.96rem; }
.prose ul { list-style: none; margin: var(--s2) 0 var(--s3); display: grid; gap: 8px; }
.prose ul li { padding-left: 22px; position: relative; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 2px;
  background: var(--blue);
}
.prose .updated {
  font-size: 0.85rem;
  color: var(--ink-soft);
  border: 1px solid var(--hairline);
  background: var(--tint);
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: var(--s4);
}
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: var(--s2); }
.mt-4 { margin-top: var(--s4); }
.mt-6 { margin-top: var(--s6); }

@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
}
