/* ============================================================
   FIT IT FAST — Home Appliance Repairs (Gauteng)
   v3 — Light, airy, premium. Blue + orange on a white canvas.
   Blue #1D4ED8 · Navy #0B1B33 · Orange #F97316/#EA580C · Soft #F5F8FD
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --blue: #1d4ed8;
  --blue-2: #2563eb;
  --blue-dark: #1e40af;
  --blue-grad: linear-gradient(120deg, #2563eb 0%, #1e40af 100%);
  --navy: #0b1b33;
  --navy-2: #112645;
  --soft: #f5f8fd;
  --soft-2: #eaf0f9;
  --line: #e3eaf4;
  --white: #ffffff;
  --ink: #1c2b45;
  --muted: #51607c;
  --muted-dark: #a8b6cc;
  --orange: #f97316;
  --orange-btn: #ea580c;
  --orange-deep: #c2410c;
  --green-wa: #25d366;

  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --section-pad: clamp(3.5rem, 8vw, 6.25rem);
  --container: 1180px;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow-xs: 0 1px 2px rgba(11, 27, 51, 0.05), 0 1px 6px rgba(11, 27, 51, 0.04);
  --shadow: 0 6px 22px rgba(11, 27, 51, 0.07);
  --shadow-lift: 0 14px 32px rgba(11, 27, 51, 0.1);
  --shadow-lg: 0 24px 55px rgba(11, 27, 51, 0.16);
  --ease-out: cubic-bezier(0.25, 0.8, 0.35, 1);
  --nav-h: 74px;
}

/* ---------- 2. Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* `clip` avoids creating a scroll container, so position:sticky keeps working */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  overflow-x: clip;
  min-height: 100vh;
}

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

img {
  height: auto;
}

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

a:hover {
  color: var(--blue-dark);
}

ul,
ol {
  list-style: none;
}

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

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--soft);
}

::-webkit-scrollbar-thumb {
  background: #c3d0e5;
  border-radius: 8px;
  border: 3px solid var(--soft);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue);
}

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

/* ---------- 3. Typography ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.22;
  color: var(--navy);
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.14;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  max-width: 66ch;
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted);
  font-weight: 400;
}

.accent {
  color: var(--orange-deep);
}

.on-dark .accent,
.page-hero .accent,
.emergency-band .accent,
.cta-panel .accent {
  color: #fdba74;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}

.sec-head {
  margin-bottom: clamp(2rem, 4.5vw, 3rem);
  max-width: 720px;
}

.sec-head p {
  margin-top: 12px;
  color: var(--muted);
}

/* ---------- 4. Layout primitives ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-pad);
  position: relative;
}

.section-white {
  background: var(--white);
}

.section-soft {
  background: var(--soft);
}

.grid-2 {
  display: grid;
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 3000;
  background: var(--navy);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top 0.25s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* ---------- 6. Loading overlay ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  /* CSS-only fallback: fades out even if JS never runs (cap < 0.8s) */
  animation: loader-fallback 0.3s ease 0.65s forwards;
}

.loader.is-done {
  animation: loader-out 0.3s ease forwards;
}

.loader-glyph {
  width: 64px;
  height: 64px;
  animation: loader-spin 0.8s var(--ease-out) infinite;
}

@keyframes loader-spin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(0.9);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes loader-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes loader-fallback {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Page transition fade */
body {
  opacity: 1;
  transition: opacity 0.2s ease;
}

body.page-exit {
  opacity: 0;
}

/* ---------- 7. Top bar (slim, light) ---------- */
.topbar {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  position: relative;
  z-index: 1200;
}

.topbar .container {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  flex-wrap: wrap;
  padding-block: 3px;
}

.topbar a {
  color: var(--navy);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  white-space: nowrap;
}

.topbar a:hover {
  color: var(--orange-deep);
}

.topbar svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--blue);
}

.topbar-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar-note svg {
  color: var(--orange-deep);
}

.topbar-hours {
  display: none;
  align-items: center;
  gap: 8px;
}

@media (min-width: 720px) {
  .topbar-hours {
    display: inline-flex;
  }
}

/* ---------- 8. Header / nav (white sticky) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 8px 24px rgba(11, 27, 51, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  min-height: var(--nav-h);
  transition: min-height 0.3s ease;
}

.site-header.is-scrolled .nav {
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  min-height: 44px;
}

.brand:hover {
  color: var(--navy);
}

.brand-glyph {
  width: 42px;
  height: 42px;
  flex: none;
}

.brand-name {
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--navy);
  white-space: nowrap;
}

.brand-name em {
  font-style: normal;
  color: var(--orange-btn);
}

.brand-sub {
  display: block;
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.8vw, 8px);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  color: #3d4c66;
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 10px;
  position: relative;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-links a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}

/* Note: .btn.nav-cta (double class) so the later .btn { display:inline-flex }
   rule can never override the mobile hide — keeps the hamburger on-screen */
.btn.nav-cta {
  display: none;
}

@media (min-width: 1100px) {
  .btn.nav-cta {
    display: inline-flex;
  }
}

.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.28s var(--ease-out), opacity 0.2s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

@media (min-width: 981px) {
  .hamburger {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border-bottom: 3px solid var(--orange);
    padding: var(--sp-2) var(--sp-3) var(--sp-3);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.26s var(--ease-out), opacity 0.22s ease, visibility 0s 0.28s;
    box-shadow: 0 30px 50px rgba(11, 27, 51, 0.14);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.26s var(--ease-out), opacity 0.22s ease;
  }

  .nav-links a {
    min-height: 48px;
    font-size: 1rem;
  }

  .nav-links a[aria-current="page"]::after {
    display: none;
  }

  .nav-links a[aria-current="page"] {
    background: var(--soft);
    color: var(--navy);
  }

  .nav-links .nav-phone-mobile {
    margin-top: var(--sp-1);
    background: var(--orange-btn);
    color: var(--white);
    font-weight: 600;
    justify-content: center;
  }
}

.nav-phone-mobile {
  display: inline-flex;
  gap: 8px;
  white-space: nowrap;
}

.nav-phone-mobile svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* .nav-links a.nav-phone-mobile (higher specificity) so the
   .nav-links a { display:inline-flex } rule can never override the hide */
@media (min-width: 981px) {
  .nav-phone-mobile,
  .nav-links a.nav-phone-mobile {
    display: none;
  }
}

/* ---------- 9. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0.8rem 1.7rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: var(--orange-btn);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.28);
}

.btn-primary:hover {
  background: var(--orange-deep);
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.36);
  color: var(--white);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.26);
}

.btn-blue:hover {
  background: var(--blue-dark);
  color: var(--white);
}

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

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

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  color: var(--orange-deep);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

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

.btn-ghost-dark {
  background: transparent;
  border-color: #c9d5e8;
  color: var(--navy);
}

.btn-ghost-dark:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-lg {
  min-height: 56px;
  padding: 0.95rem 2.1rem;
  font-size: 1.02rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- 10. Hero (homepage — full-bleed photo slider) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(560px, 80svh, 800px);
  background-color: #08152a;
  color: var(--white);
  --hero-interval: 6000ms;
}

/* --- background slides --- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #08152a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease-out);
  will-change: opacity;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
}

.hero-slide.is-active img {
  animation: hero-kenburns 11s linear both;
}

@keyframes hero-kenburns {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.15);
  }
}

/* --- readability scrim --- */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      102deg,
      rgba(6, 16, 32, 0.95) 0%,
      rgba(6, 16, 32, 0.88) 32%,
      rgba(6, 16, 32, 0.6) 62%,
      rgba(6, 16, 32, 0.34) 100%
    ),
    linear-gradient(180deg, rgba(6, 16, 32, 0.5) 0%, rgba(6, 16, 32, 0) 30%, rgba(6, 16, 32, 0) 55%, rgba(6, 16, 32, 0.7) 100%),
    radial-gradient(120% 90% at 88% 10%, rgba(37, 99, 235, 0.3), transparent 62%);
}

@media (max-width: 760px) {
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(6, 16, 32, 0.7) 0%, rgba(6, 16, 32, 0.82) 45%, rgba(6, 16, 32, 0.94) 100%),
      radial-gradient(120% 70% at 80% 0%, rgba(37, 99, 235, 0.28), transparent 65%);
  }
}

/* --- copy --- */
.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(3.75rem, 9vw, 6.25rem) clamp(1.75rem, 4vw, 2.75rem);
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 700px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.15rem, 5vw, 3.6rem);
  margin-bottom: var(--sp-2);
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.3);
}

.hero h1 .accent {
  color: #fdba74;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.86);
  max-width: 58ch;
  margin-bottom: var(--sp-4);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: var(--sp-4);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badges svg {
  width: 17px;
  height: 17px;
  color: #fdba74;
  flex: none;
}

/* --- controls (revealed by JS) --- */
.hero-controls {
  position: relative;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-bottom: clamp(1.6rem, 4vw, 2.6rem);
}

.hero.is-ready .hero-controls {
  display: flex;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 6px;
  transition: width 0.45s var(--ease-out);
}

.hero-dot.is-active {
  width: 68px;
}

.hero-dot > span {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.hero-dot:hover > span {
  background: rgba(255, 255, 255, 0.5);
}

.hero-dot > span::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 99px;
  background: var(--orange);
}

.hero-dot.is-active > span {
  background: rgba(255, 255, 255, 0.5);
}

.hero-dot.is-active > span::after {
  animation: hero-dot-fill var(--hero-interval) linear forwards;
}

.hero.is-paused .hero-dot.is-active > span::after {
  animation-play-state: paused;
}

@keyframes hero-dot-fill {
  to {
    width: 100%;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 16px;
  border-radius: 999px;
  margin: 0;
}

.hero-tag svg {
  width: 17px;
  height: 17px;
  color: #fdba74;
  flex: none;
}

@media (max-width: 560px) {
  .hero-tag {
    display: none;
  }

  .hero-controls {
    padding-bottom: 2.1rem;
  }

  .hero-dots {
    width: 100%;
    justify-content: center;
  }
}

/* Hero load-in stagger (transform/opacity only) */
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-in {
  animation: hero-in 0.5s ease-out both;
}

.hero-in-1 { animation-delay: 0.05s; }
.hero-in-2 { animation-delay: 0.12s; }
.hero-in-3 { animation-delay: 0.19s; }
.hero-in-4 { animation-delay: 0.26s; }
.hero-in-5 { animation-delay: 0.33s; }
.hero-in-6 { animation-delay: 0.4s; }

/* ---------- 11. Page banner (photo + navy->blue overlay) ---------- */
.page-hero {
  position: relative;
  background-color: var(--navy);
  background-image: linear-gradient(100deg, rgba(11, 27, 51, 0.86) 20%, rgba(29, 78, 216, 0.58) 100%);
  background-size: cover;
  background-position: center;
  color: var(--muted-dark);
  overflow: hidden;
  overflow-x: clip;
  isolation: isolate;
}

.page-hero .hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.75rem, 6vw, 4.25rem);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 800px;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 6px;
}

.page-hero .lead {
  color: #dbe5f5;
  font-size: 1rem;
  max-width: 60ch;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #c9d6ec;
  margin-bottom: var(--sp-2);
}

.crumbs a {
  color: #ffd9be;
}

.crumbs a:hover {
  color: var(--white);
}

.crumbs .sep {
  opacity: 0.55;
}

/* ---------- 12. Emergency band (navy accent) ---------- */
.emergency-band {
  background: linear-gradient(110deg, var(--navy) 0%, #123058 100%);
  color: var(--muted-dark);
  padding-block: clamp(2.4rem, 5.5vw, 3.6rem);
  position: relative;
  overflow: hidden;
}

.emergency-band::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 68%);
  pointer-events: none;
}

.emergency-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.emergency-band h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.emergency-band p {
  color: var(--muted-dark);
  font-weight: 400;
  margin-top: 6px;
}

/* ---------- 13. Service cards ---------- */
.services-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: #d3ddee;
}

.sc-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft-2);
}

.sc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}

.service-card:hover .sc-media img {
  transform: scale(1.03);
}

.num-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  background: var(--white);
  color: var(--orange-deep);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.sc-body {
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.sc-body h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}

.sc-body h3 svg {
  width: 21px;
  height: 21px;
  color: var(--blue);
  flex: none;
}

.sc-body p {
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.sc-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.sc-link:hover {
  color: var(--orange-deep);
}

.sc-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.22s var(--ease-out);
}

.sc-link:hover svg {
  transform: translateX(4px);
}

/* ---------- 14. Why choose us ---------- */
.why-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

.why-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-3);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(29, 78, 216, 0.09);
  color: var(--blue);
  margin-bottom: var(--sp-2);
}

.icon-chip svg {
  width: 25px;
  height: 25px;
}

.why-item:hover .icon-chip {
  background: rgba(234, 88, 12, 0.1);
  color: var(--orange-btn);
}

.why-item h3 {
  margin-bottom: 8px;
}

.why-item p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- 15. How it works ---------- */
.steps {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-3);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-grad);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: var(--sp-2);
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.28);
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  font-size: 0.92rem;
  color: var(--muted);
}

.steps-note {
  margin-top: var(--sp-3);
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- 16. Reviews (Google style, light) ---------- */
.agg-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  box-shadow: var(--shadow);
  margin-top: var(--sp-2);
}

.agg-badge .big {
  font-size: 1.4rem;
  font-weight: 800;
}

.reviews-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-3);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  flex: none;
}

.av-blue { background: #1d4ed8; }
.av-teal { background: #0e7490; }
.av-purple { background: #6d28d9; }
.av-rose { background: #be185d; }
.av-amber { background: #b45309; }
.av-green { background: #15803d; }

.review-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.25;
}

.review-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

.review-g {
  margin-left: auto;
  width: 22px;
  height: 22px;
  flex: none;
}

.stars {
  display: inline-flex;
  gap: 2px;
}

.stars svg {
  width: 16px;
  height: 16px;
  color: #f5a623;
}

.stars .star-off {
  color: #d8dde8;
}

.review-card > p {
  font-size: 0.92rem;
  color: var(--ink);
}

/* ---------- 17. On-the-job gallery (light) ---------- */
.gallery-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
}

.gallery-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.gallery-frame {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft-2);
  transition: transform 0.45s var(--ease-out);
}

.gallery-card:hover img {
  transform: scale(1.03);
}

.gallery-card figcaption {
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
}

.gallery-card figcaption strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ---------- 18. FAQ accordion ---------- */
.accordion {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.acc-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.acc-item.is-open {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 17px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  min-height: 56px;
}

.acc-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(29, 78, 216, 0.09);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s var(--ease-out), background 0.2s ease, color 0.2s ease;
}

.acc-icon svg {
  width: 16px;
  height: 16px;
}

.acc-item.is-open .acc-icon {
  transform: rotate(45deg);
  background: var(--blue);
  color: var(--white);
}

.acc-panel {
  height: 0;
  overflow: hidden;
  transition: height 0.3s var(--ease-out);
}

.acc-panel-inner {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.acc-panel-inner a {
  font-weight: 600;
}

/* ---------- 19. Stats counters (light cards) ---------- */
.stats {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  text-align: center;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-2);
  box-shadow: var(--shadow-xs);
}

.stat-num {
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1;
  color: var(--blue);
}

.stat-num .accent {
  color: var(--orange-deep);
}

.stat-label {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 20. Services page rows ---------- */
.cat-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: clamp(2.2rem, 5vw, 3.4rem) 0 var(--sp-3);
}

.cat-head:first-of-type {
  margin-top: 0;
}

.cat-head h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  min-width: 0;
  overflow-wrap: break-word;
}

.cat-head::after {
  content: "";
  flex: 1 1 40px;
  min-width: 40px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--blue-grad);
  color: var(--white);
  flex: none;
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.25);
}

.cat-icon svg {
  width: 24px;
  height: 24px;
}

.svc-row {
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 2.6rem);
  align-items: center;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
}

.svc-row:last-child {
  border-bottom: 0;
}

@media (min-width: 860px) {
  .svc-row {
    grid-template-columns: 360px 1fr;
  }

  .svc-row.flip {
    grid-template-columns: 1fr 360px;
  }

  .svc-row.flip .svc-media {
    order: 2;
  }
}

.svc-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--soft-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}

.svc-row:hover .svc-media img {
  transform: scale(1.03);
}

.svc-body h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
}

.svc-body h3 svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
  flex: none;
}

.svc-body p {
  color: var(--muted);
  margin-bottom: var(--sp-2);
  font-size: 0.95rem;
}

/* ---------- 21. CTA panel (navy-blue accent) ---------- */
.cta-panel {
  position: relative;
  background: linear-gradient(115deg, var(--navy) 0%, #10264a 55%, var(--blue-dark) 130%);
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5.5vw, 4rem);
  color: var(--muted-dark);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.22), transparent 70%);
  pointer-events: none;
}

.cta-panel .kicker {
  color: #9db9f2;
}

.cta-panel h2 {
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.cta-panel p {
  margin-bottom: var(--sp-3);
  color: #c3d0e5;
}

/* ---------- 22. Footer (navy) with integrated call band ---------- */
.call-band {
  background: linear-gradient(110deg, #10264a 0%, var(--navy) 100%);
  color: var(--muted-dark);
  padding-block: clamp(2.2rem, 5vw, 3.2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.call-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.call-band h2 {
  color: var(--white);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
}

.call-band p {
  color: var(--muted-dark);
  font-weight: 400;
}

.site-footer {
  background: var(--navy);
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.footer-main {
  padding-block: clamp(3rem, 6.5vw, 4.4rem) var(--sp-4);
  display: grid;
  gap: var(--sp-4);
}

@media (min-width: 640px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: 1.35fr 0.8fr 1fr 1.1fr;
  }
}

.footer-brand img {
  width: 220px;
  height: 41px;
  margin-bottom: var(--sp-2);
}

.footer-brand p {
  max-width: 34ch;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: var(--sp-2);
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}

.footer-col ul {
  display: grid;
  gap: 4px;
}

.footer-col a {
  color: var(--muted-dark);
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  gap: 8px;
}

.footer-col a:hover {
  color: #fdba74;
}

.footer-col a svg {
  width: 13px;
  height: 13px;
  color: #fdba74;
  flex: none;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 5px 0;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: #fdba74;
  flex: none;
  margin-top: 4px;
}

.footer-contact a {
  color: var(--white);
  font-weight: 600;
  min-height: 0;
}

.footer-contact a:hover {
  color: #fdba74;
}

.footer-hours {
  margin-top: var(--sp-2);
  font-size: 0.85rem;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: 2px 0;
}

.footer-hours span:last-child {
  color: var(--white);
  font-weight: 600;
  text-align: right;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--muted-dark);
}

.footer-bottom a:hover {
  color: #fdba74;
}

/* ---------- 23. Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: var(--sp-2);
}

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

  .field-full {
    grid-column: 1 / -1;
  }
}

.field label {
  display: block;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.field label .req {
  color: var(--orange-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  font: inherit;
  color: var(--ink);
  background: var(--soft);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #c62828;
  box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.1);
}

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #b71c1c;
}

.field.has-error .field-error {
  display: block;
}

/* Honeypot — visually removed, still in DOM */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-banner {
  display: none;
  align-items: flex-start;
  gap: 10px;
  background: #fdecea;
  border: 1px solid #f5c6c0;
  border-left: 4px solid #c62828;
  color: #8e1c1c;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: var(--sp-2);
}

.form-banner.is-visible {
  display: flex;
}

.form-banner a {
  color: #8e1c1c;
  text-decoration: underline;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: var(--sp-2);
}

/* ---------- 24. Contact info cards ---------- */
.info-cards {
  display: grid;
  gap: var(--sp-2);
}

.info-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-3);
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease;
}

a.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.info-card .icon-chip {
  margin-bottom: 0;
  flex: none;
  width: 48px;
  height: 48px;
}

.info-card h3 {
  margin-bottom: 2px;
}

.info-card p,
.info-card li {
  font-size: 0.92rem;
  color: var(--muted);
}

.info-card strong {
  color: var(--navy);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: 3px 0;
}

.hours-list span:last-child {
  font-weight: 600;
  color: var(--navy);
  text-align: right;
}

/* ---------- 25. Map ---------- */
.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--soft-2);
}

.map-wrap iframe {
  width: 100%;
  height: clamp(320px, 42vw, 440px);
  border: 0;
  display: block;
}

/* ---------- 26. Floating buttons ---------- */
.float-btn {
  position: fixed;
  bottom: 22px;
  z-index: 1500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 12px 26px rgba(11, 27, 51, 0.22);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease;
}

.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(11, 27, 51, 0.28);
  color: var(--white);
}

.float-btn svg {
  width: 27px;
  height: 27px;
}

.float-wa {
  right: 22px;
  background: var(--green-wa);
}

.float-wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--green-wa);
  animation: wa-pulse 2.6s ease-out infinite;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70%,
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.float-call {
  left: 22px;
  background: var(--blue-grad);
}

.to-top {
  position: fixed;
  right: 26px;
  bottom: 94px;
  z-index: 1400;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s var(--ease-out), visibility 0.22s,
    background 0.2s ease, color 0.2s ease;
  box-shadow: var(--shadow-lift);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--blue);
  color: var(--white);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- 27. Scroll reveal (fade-in-up, 0.5s ease-out) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.09s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.14s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.19s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.24s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.29s; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 0.34s; }
.stagger.is-visible > *:nth-child(8) { transition-delay: 0.39s; }
.stagger.is-visible > *:nth-child(9) { transition-delay: 0.44s; }
.stagger.is-visible > *:nth-child(10) { transition-delay: 0.49s; }
.stagger.is-visible > *:nth-child(11) { transition-delay: 0.54s; }
.stagger.is-visible > *:nth-child(12) { transition-delay: 0.59s; }
.stagger.is-visible > *:nth-child(13) { transition-delay: 0.64s; }
.stagger.is-visible > *:nth-child(14) { transition-delay: 0.69s; }

/* No-JS safety: reveal everything if IntersectionObserver never runs */
@keyframes reveal-fallback {
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal,
.stagger > * {
  animation: reveal-fallback 0.01s linear 2s forwards;
}

/* ---------- 28. Prose (privacy policy) ---------- */
.prose {
  max-width: 800px;
}

.prose h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  margin: var(--sp-5) 0 var(--sp-2);
}

.prose h3 {
  font-size: 1.05rem;
  margin: var(--sp-3) 0 var(--sp-1);
}

.prose p,
.prose li {
  margin-bottom: var(--sp-2);
  color: var(--ink);
}

.prose ul {
  margin-bottom: var(--sp-2);
}

.prose ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}

.prose .updated {
  font-size: 0.86rem;
  color: var(--muted);
}

/* ---------- 29. Thank-you page ---------- */
.ty-wrap {
  min-height: 50vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--section-pad);
}

/* The centred grid item must not size to max-content (the auto-fit
   .next-steps grid would push it wider than mobile); stretch it instead */
.ty-wrap > div {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.ty-check {
  width: 84px;
  height: 84px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--blue-grad);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px rgba(29, 78, 216, 0.3);
  margin-bottom: var(--sp-3);
}

.ty-check svg {
  width: 40px;
  height: 40px;
}

.ty-wrap h1 {
  margin-bottom: var(--sp-2);
}

.ty-wrap .lead {
  margin-inline: auto;
  margin-bottom: var(--sp-3);
}

.next-steps {
  display: grid;
  gap: var(--sp-2);
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  text-align: left;
  margin: var(--sp-4) auto;
  max-width: 900px;
}

/* ---------- 30. About extras ---------- */
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--soft-2);
  border: 1px solid var(--line);
}

.about-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-media .xp-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: var(--shadow-lift);
}

.xp-tag .big {
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
  display: block;
  color: var(--blue);
}

.xp-tag .small {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--sp-3);
}

.brand-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.equip-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--soft-2);
}

.equip-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.guarantee-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}

.guarantee-card .icon-chip {
  width: 68px;
  height: 68px;
  margin: 0;
  background: var(--blue-grad);
  color: var(--white);
}

.guarantee-card .icon-chip svg {
  width: 32px;
  height: 32px;
}

.guarantee-card > div {
  flex: 1;
  min-width: 260px;
}

/* ---------- 31. Utility ---------- */
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.center { text-align: center; }
.center .sec-head,
.center p {
  margin-inline: auto;
}
.center .kicker {
  justify-content: center;
}

/* ---------- 32. Reduced motion ---------- */
@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;
  }

  .reveal,
  .stagger > *,
  .hero-in {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .float-wa::after {
    animation: none;
    display: none;
  }

  .loader {
    animation: loader-fallback 0.01ms linear 0s forwards;
  }
}

/* ---------- 33. Small screens polish ---------- */
@media (max-width: 480px) {
  .btn,
  .btn-row .btn {
    width: 100%;
  }

  .topbar .container {
    justify-content: center;
  }

  .topbar-note {
    display: none;
  }

  .float-btn {
    width: 52px;
    height: 52px;
    bottom: 16px;
  }

  .float-wa {
    right: 16px;
  }

  .float-call {
    left: 16px;
  }

  .to-top {
    right: 20px;
    bottom: 82px;
  }
}

@media print {
  .topbar,
  .site-header,
  .float-btn,
  .to-top,
  .loader,
  .call-band {
    display: none !important;
  }
}
