/* ==========================================================================
   Cleansed Janitorial Services LLC
   Main stylesheet
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Layout helpers
   4.  Typography & section headers
   5.  Buttons & links
   6.  Header, navigation & mobile menu
   7.  Hero
   8.  Trust strip
   9.  Services
   10. Residential / commercial split
   11. Why choose
   12. Process
   13. Brand statement
   14. Testimonials
   15. FAQ accordion
   16. Quote form
   17. Final CTA
   18. Footer
   19. Floating UI (back to top, mobile action bar)
   20. Inner pages
   21. Scroll reveal
   22. Responsive
   23. Reduced motion
   ========================================================================== */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  /* Core palette */
  --primary: #0e2a47;          /* deep navy  */
  --secondary: #0c7a8a;        /* fresh teal */
  --accent: #ffffff;
  --dark: #07182a;
  --light: #f3f7fa;
  --white: #ffffff;
  --text: #33414f;

  /* Supporting palette */
  --primary-600: #16395e;
  --primary-050: #eaf0f6;
  --secondary-700: #0a6270;
  --secondary-300: #2fb4c6;
  --secondary-050: #e7f4f6;
  --green: #3e8e62;
  --muted: #5f6f7e;
  --muted-light: #6f7e8c;
  --border: #dfe7ee;
  --border-dark: rgba(255, 255, 255, 0.14);
  --danger: #b3261e;

  /* Typography */
  --font-heading: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-h1: clamp(2.125rem, 1.32rem + 3.45vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 1.29rem + 1.95vw, 2.75rem);
  --fs-h3: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --fs-lead: clamp(1.0625rem, 1.01rem + 0.24vw, 1.1875rem);
  --fs-small: 0.875rem;
  --fs-xs: 0.8125rem;

  /* Spacing & layout */
  --container: 1220px;
  --container-narrow: 860px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 2.6rem + 5.4vw, 7.5rem);
  --header-h: 76px;

  /* Shape & depth */
  --r-xs: 3px;
  --r-sm: 5px;
  --r-md: 8px;
  --r-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 43, 0.06), 0 1px 1px rgba(11, 27, 43, 0.04);
  --shadow-md: 0 12px 30px -14px rgba(11, 27, 43, 0.24);
  --shadow-lg: 0 28px 64px -28px rgba(11, 27, 43, 0.36);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.18s;
  --t-base: 0.28s;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

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

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

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.033em; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.012em; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--secondary-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--primary); }

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

ul, ol { margin: 0 0 1.15rem; padding-left: 1.15rem; }
li { margin-bottom: 0.4rem; }

strong { font-weight: 600; color: var(--primary); }

hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* Consistent, visible focus for keyboard users */
:focus-visible {
  outline: 3px solid var(--secondary-300);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

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

/* Skip link — fixed so it always appears at the top of the viewport when
   focused, not at the top of the document. */
.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 0; color: var(--white); }

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 3.6vw, 5rem); }
.section--light { background: var(--light); }
.section--dark { background: var(--primary); color: rgba(255, 255, 255, 0.82); }
.section--dark h2,
.section--dark h3 { color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   4. Typography & section headers
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--secondary-700);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--secondary);
  flex: none;
}
.section--dark .eyebrow { color: var(--secondary-300); }
.section--dark .eyebrow::before { background: var(--secondary-300); }

.section-head { max-width: 680px; margin-bottom: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: var(--fs-lead); color: var(--muted); margin-bottom: 0; }
.section--dark .section-head p { color: rgba(255, 255, 255, 0.75); }

.lead { font-size: var(--fs-lead); color: var(--muted); }

/* ==========================================================================
   5. Buttons & links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.75rem;
  min-height: 52px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background-color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn svg { flex: none; }

.btn--primary {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 6px 18px -8px rgba(12, 122, 138, 0.65);
}
.btn--primary:hover {
  background: var(--secondary-700);
  border-color: var(--secondary-700);
  color: var(--white);
  box-shadow: 0 12px 26px -10px rgba(12, 122, 138, 0.7);
}

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

.btn--light {
  background: var(--white);
  border-color: var(--white);
  color: var(--primary);
}
.btn--light:hover { background: var(--primary-050); color: var(--primary); }

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

.btn--sm { min-height: 44px; padding: 0.6rem 1.15rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.btn-row--center { justify-content: center; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--secondary-700);
  text-decoration: none;
}
.link-arrow svg { transition: transform var(--t-base) var(--ease); }
.link-arrow:hover { color: var(--primary); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   6. Header, navigation & mobile menu
   ========================================================================== */

.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-xs);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar-tagline { display: inline-flex; align-items: center; gap: 0.5rem; }
.topbar-tagline svg { color: var(--secondary-300); flex: none; }
.topbar-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.topbar-contact li { margin: 0; }
.topbar-contact a,
.topbar-contact span { display: inline-flex; align-items: center; gap: 0.45rem; color: inherit; text-decoration: none; }
.topbar-contact a:hover { color: var(--white); }
.topbar-contact svg { color: var(--secondary-300); flex: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-base) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 26px -18px rgba(11, 27, 43, 0.45); }

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

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; flex: none; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  color: var(--primary);
}
.brand-sub {
  margin-top: 4px;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* Desktop nav */
.nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-link {
  position: relative;
  display: block;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-radius: var(--r-xs);
  transition: color var(--t-fast) var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.nav-link:hover { color: var(--secondary-700); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--secondary-700); }

.header-actions { display: none; align-items: center; gap: 0.75rem; }

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.36s var(--ease), visibility 0.36s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--border);
  padding-inline: var(--gutter);
}
.mobile-nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--primary);
  cursor: pointer;
}
.mobile-nav-close:hover { background: var(--light); }

.mobile-nav-body { padding: 1.5rem var(--gutter) 2.5rem; }
.mobile-nav-list { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.mobile-nav-list li { margin: 0; border-bottom: 1px solid var(--border); }
.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0.25rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.mobile-nav-list a:hover,
.mobile-nav-list a.is-active { color: var(--secondary-700); }
.mobile-nav-list svg { color: var(--muted-light); }

.mobile-nav-contact {
  margin: 1.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  font-size: var(--fs-small);
  color: var(--muted);
}
.mobile-nav-contact li { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; }
.mobile-nav-contact svg { color: var(--secondary); flex: none; }
.mobile-nav-contact a { display: inline-flex; align-items: center; gap: 0.6rem; color: inherit; text-decoration: none; }
.mobile-nav-contact a:hover { color: var(--secondary-700); }

body.nav-open { overflow: hidden; }

/* ==========================================================================
   7. Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--light);
  padding-block: clamp(3rem, 2rem + 4.5vw, 6rem) clamp(3.5rem, 2.4rem + 5vw, 6.5rem);
  overflow: hidden;
}
/* Restrained decorative texture — sits behind content, never causes overflow */
.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(47, 180, 198, 0.13), transparent 66%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-content { max-width: 620px; }
.hero h1 { margin-bottom: 1.15rem; }
.hero-text {
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 2rem;
}

.hero-actions { margin-bottom: 2.25rem; }
.hero-call {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: -1rem 0 2rem;
  font-size: var(--fs-small);
  color: var(--muted);
}
.hero-call svg { color: var(--secondary); flex: none; }
.hero-call a { font-weight: 700; color: var(--primary); text-decoration: none; white-space: nowrap; }
.hero-call a:hover { color: var(--secondary-700); text-decoration: underline; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--primary);
}
.hero-tags li { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; }
.hero-tags svg { color: var(--green); flex: none; }

/* Hero image with offset accent frame */
.hero-media { position: relative; }
.hero-media::after {
  content: "";
  position: absolute;
  left: -14px;
  bottom: -14px;
  width: 44%;
  max-width: 210px;
  height: 96px;
  border-left: 4px solid var(--secondary);
  border-bottom: 4px solid var(--secondary);
  border-radius: 0 0 0 var(--r-md);
  pointer-events: none;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   8. Trust strip
   ========================================================================== */

.trust-head { max-width: 780px; margin-bottom: clamp(2.25rem, 1.8rem + 1.8vw, 3.25rem); }
.trust-head h2 { margin-bottom: 0.9rem; }
.trust-head p { font-size: var(--fs-lead); color: var(--muted); margin-bottom: 0; }

.trust-points {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.trust-points li {
  margin: 0;
  padding: 1.85rem 0;
  border-bottom: 1px solid var(--border);
}
.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  border-radius: var(--r-sm);
  background: var(--secondary-050);
  color: var(--secondary-700);
}
.trust-points h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.trust-points p { font-size: var(--fs-small); color: var(--muted); margin: 0; }

/* ==========================================================================
   9. Services
   ========================================================================== */

.services-grid { display: grid; gap: clamp(1.25rem, 2.2vw, 1.75rem); }

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 122, 138, 0.35);
  box-shadow: var(--shadow-md);
}

.service-media { position: relative; overflow: hidden; background: var(--primary-050); }
.service-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.service-card:hover .service-media img { transform: scale(1.05); }

.service-icon {
  position: absolute;
  left: 1.25rem;
  bottom: -22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.service-body { display: flex; flex-direction: column; flex: 1; padding: 2.25rem 1.5rem 1.5rem; }
.service-body h3 { margin-bottom: 0.6rem; }
.service-body p { font-size: var(--fs-small); color: var(--muted); margin-bottom: 1.35rem; }
.service-body .link-arrow { margin-top: auto; align-self: flex-start; }

/* Featured specialty card — spans two columns and sits side by side on wider screens */
.service-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.85rem;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  background: var(--secondary-050);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary-700);
}
.service-card--featured .detail-list { margin-bottom: 1.5rem; }

@media (min-width: 768px) {
  .service-card--featured { grid-column: span 2; flex-direction: row; }
  .service-card--featured .service-media { flex: 0 0 48%; min-height: 340px; }
  .service-card--featured .service-media img {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }
  .service-card--featured .service-icon { bottom: 1.25rem; }
  .service-card--featured .service-body { justify-content: center; padding: 2.25rem 2rem; }
  .service-card--featured .service-body .link-arrow { margin-top: 0; }
}

/* ==========================================================================
   10. Residential / commercial split
   ========================================================================== */

.split-grid { display: grid; gap: clamp(1.25rem, 2.2vw, 1.75rem); }

.split-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 520px;
  padding: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
  border-radius: var(--r-md);
  overflow: hidden;
  isolation: isolate;
  color: rgba(255, 255, 255, 0.85);
}
.split-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s var(--ease);
}
.split-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(7, 24, 42, 0.96) 0%, rgba(7, 24, 42, 0.9) 42%, rgba(7, 24, 42, 0.55) 100%);
}
.split-panel:hover img { transform: scale(1.04); }

.split-panel h3 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); color: var(--white); margin-bottom: 0.85rem; }
.split-panel p { color: rgba(255, 255, 255, 0.8); margin-bottom: 1.35rem; }
.split-tag {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: rgba(47, 180, 198, 0.16);
  border: 1px solid rgba(47, 180, 198, 0.55);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary-300);
}
.split-list {
  list-style: none;
  margin: 0 0 1.85rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: var(--fs-small);
}
.split-list li { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0; color: rgba(255, 255, 255, 0.85); }
.split-list svg { color: var(--secondary-300); flex: none; margin-top: 5px; }

/* ==========================================================================
   11. Why choose
   ========================================================================== */

.why-grid { display: grid; gap: clamp(2.5rem, 4vw, 4rem); align-items: center; }

.why-media { position: relative; }
.why-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-md);
}
.why-media::after {
  content: "";
  position: absolute;
  right: -14px;
  top: -14px;
  width: 40%;
  max-width: 180px;
  height: 90px;
  border-right: 4px solid var(--secondary-300);
  border-top: 4px solid var(--secondary-300);
  border-radius: 0 var(--r-md) 0 0;
  pointer-events: none;
}

.section-head-copy { font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.75); margin-bottom: 2rem; }

.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li {
  margin: 0;
  padding: 1.6rem 0;
  border-top: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
}
.why-list li:last-child { border-bottom: 1px solid var(--border-dark); }
.why-num {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--secondary-300);
  padding-top: 4px;
}
.why-list h3 { font-size: 1.125rem; margin-bottom: 0.45rem; }
.why-list p { font-size: var(--fs-small); color: rgba(255, 255, 255, 0.72); margin: 0; }

/* ==========================================================================
   12. Process
   ========================================================================== */

.process-grid { display: grid; gap: 2rem; position: relative; list-style: none; margin: 0; padding: 0; }

.process-step { position: relative; padding-left: 3.75rem; }
.process-num {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--primary);
  z-index: 1;
}
.process-step:first-child .process-num { background: var(--primary); border-color: var(--primary); color: var(--white); }
.process-step h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; padding-top: 0.85rem; }
.process-step p { font-size: var(--fs-small); color: var(--muted); margin: 0; }
/* Connector line — vertical on mobile, horizontal from 992px up */
.process-step::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 52px;
  bottom: -2rem;
  width: 1.5px;
  background: var(--border);
}
.process-step:last-child::before { display: none; }

/* ==========================================================================
   13. Brand statement
   ========================================================================== */

.statement {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 52vh, 580px);
  padding-block: clamp(3.5rem, 2.4rem + 4.5vw, 6rem);
  overflow: hidden;
  isolation: isolate;
  color: rgba(255, 255, 255, 0.85);
}
.statement img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(7, 24, 42, 0.95) 0%, rgba(7, 24, 42, 0.86) 42%, rgba(7, 24, 42, 0.45) 100%);
}
.statement-content { max-width: 640px; }
.statement h2 {
  font-size: clamp(1.875rem, 1.35rem + 2.3vw, 3rem);
  color: var(--white);
  margin-bottom: 1.1rem;
}
.statement p { font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.82); margin-bottom: 2rem; }

/* ==========================================================================
   14. Testimonials
   ========================================================================== */

.testimonials-grid { display: grid; gap: clamp(1.25rem, 2.2vw, 1.75rem); }

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.testimonial-quote {
  font-size: 1.5rem;
  line-height: 1;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--secondary-300);
  margin-bottom: 0.85rem;
}
.testimonial-card blockquote {
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 1rem;
  color: var(--text);
  flex: 1;
}
.testimonial-card figcaption {
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}
.testimonial-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--primary);
}
.testimonial-meta { display: block; font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }

/* ==========================================================================
   15. FAQ accordion
   ========================================================================== */

.faq-grid { display: grid; gap: clamp(2rem, 3vw, 3.5rem); align-items: start; }

.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }

.faq-trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.35rem 0;
  background: transparent;
  border: 0;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--primary);
  text-align: left;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}
.faq-trigger:hover { color: var(--secondary-700); }

.faq-icon {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  transition: background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--primary);
  transform: translate(-50%, -50%);
  transition: transform var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-trigger[aria-expanded="true"] .faq-icon { background: var(--secondary); border-color: var(--secondary); }
.faq-trigger[aria-expanded="true"] .faq-icon::before,
.faq-trigger[aria-expanded="true"] .faq-icon::after { background: var(--white); }
.faq-trigger[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-panel {
  overflow: hidden;
  height: 0;
  transition: height var(--t-base) var(--ease);
}
.faq-panel-inner { padding: 0 3rem 1.5rem 0; }
.faq-panel-inner p { font-size: var(--fs-small); color: var(--muted); }

.faq-aside {
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  background: var(--primary);
  border-radius: var(--r-md);
  color: rgba(255, 255, 255, 0.8);
}
.faq-aside--spaced { margin-top: 2rem; }
.faq-aside h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 0.7rem; }
.faq-aside p { font-size: var(--fs-small); margin-bottom: 1.5rem; }
.faq-aside p a { color: var(--white); font-weight: 600; text-underline-offset: 3px; }
.faq-aside p a:hover { color: var(--secondary-300); }

/* ==========================================================================
   16. Quote form
   ========================================================================== */

.quote-grid { display: grid; align-items: stretch; }

.quote-aside {
  padding: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.quote-aside h2 { color: var(--white); margin-bottom: 1rem; }
.quote-aside > p { font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.78); margin-bottom: 2rem; }

.quote-contact { list-style: none; margin: 0; padding: 2rem 0 0; border-top: 1px solid var(--border-dark); display: grid; gap: 1.35rem; }
.quote-contact li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; margin: 0; }
.quote-contact svg { color: var(--secondary-300); margin-top: 3px; flex: none; }
.quote-contact-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2px;
}
.quote-contact-value { display: block; font-size: 0.9375rem; color: var(--white); }
.quote-contact a { color: var(--white); text-decoration: none; }
.quote-contact a:hover { color: var(--secondary-300); }

.quote-form-wrap {
  padding: clamp(1.75rem, 1.4rem + 1.8vw, 3rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 var(--r-md) var(--r-md);
}

.form-grid { display: grid; gap: 1.15rem; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }

.field label {
  margin-bottom: 0.45rem;
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--primary);
}
.field .req { color: var(--danger); margin-left: 2px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  min-height: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%235f6f7e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-light); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(12, 122, 138, 0.16);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--secondary); outline-offset: 1px; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.14); }

.field-error {
  display: none;
  margin-top: 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--danger);
}
.field.has-error .field-error { display: block; }

.form-footer {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-note { font-size: var(--fs-xs); color: var(--muted); margin: 0; }

.form-status {
  display: none;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.form-status.is-visible { display: flex; }
.form-status--error { background: #fdf0ef; border-left: 3px solid var(--danger); color: #8c1d17; }
.form-status--notice { background: var(--primary-050); border-left: 3px solid var(--primary); color: var(--primary); }
.form-status svg { flex: none; margin-top: 3px; }

/* ==========================================================================
   17. Final CTA
   ========================================================================== */

.final-cta {
  position: relative;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  text-align: center;
}
/* Subtle diagonal texture rather than another photograph */
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.028) 0 2px,
    transparent 2px 16px
  );
  pointer-events: none;
}
.final-cta::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -220px;
  width: 720px;
  height: 720px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 180, 198, 0.16), transparent 62%);
  pointer-events: none;
}
.final-cta .container { position: relative; }
.final-cta h2 { color: var(--white); margin-bottom: 1rem; }
.final-cta p { font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.78); max-width: 46ch; margin: 0 auto 2.25rem; }
.final-cta .btn-row { justify-content: center; }

/* ==========================================================================
   18. Footer
   ========================================================================== */

.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.66); font-size: var(--fs-small); }
.footer-main { padding-block: clamp(3rem, 2.2rem + 3vw, 4.5rem); }
.footer-grid { display: grid; gap: 2.5rem; }

.footer-brand .brand { margin-bottom: 1.15rem; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.58); }
.footer-about { max-width: 34ch; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.footer-social li { margin: 0; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-dark);
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.footer-social a:hover { background: var(--secondary); border-color: var(--secondary); color: var(--white); }

.footer-col h2 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a { color: rgba(255, 255, 255, 0.66); text-decoration: none; transition: color var(--t-fast) var(--ease); }
.footer-col a:hover { color: var(--secondary-300); }

.footer-contact li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.footer-contact svg { color: var(--secondary-300); margin-top: 4px; flex: none; }

.footer-bottom {
  padding-block: 1.5rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-legal li { margin: 0; }
.footer-legal a { color: rgba(255, 255, 255, 0.5); text-decoration: none; }
.footer-legal a:hover { color: var(--secondary-300); }

/* ==========================================================================
   19. Floating UI
   ========================================================================== */

.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5.25rem; /* clears the sticky mobile action bar */
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--primary);
  border: 0;
  border-radius: var(--r-sm);
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: var(--shadow-md);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease),
              visibility var(--t-base), background-color var(--t-fast) var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--secondary); }

/* Sticky mobile action bar */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 -6px 24px -14px rgba(11, 27, 43, 0.5);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 56px;
  padding: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}
.mobile-bar-primary { background: var(--secondary); color: var(--white); }
.mobile-bar-secondary { background: var(--primary); color: var(--white); }
.mobile-bar a:hover { color: var(--white); }

/* Keep page content clear of the fixed action bar on small screens */
body { padding-bottom: 56px; }

/* ==========================================================================
   20. Inner pages
   ========================================================================== */

.page-hero {
  position: relative;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding-block: clamp(2.75rem, 2rem + 3.4vw, 4.5rem);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 180, 198, 0.17), transparent 64%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; max-width: 20ch; }
.page-hero p { font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.76); max-width: 58ch; margin: 0; }

.breadcrumb { margin-bottom: 1.5rem; font-size: var(--fs-xs); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(255, 255, 255, 0.55); }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, 0.3); }
.breadcrumb a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.breadcrumb a:hover { color: var(--secondary-300); }

/* Alternating detail rows (services / about) */
.detail-row { display: grid; gap: clamp(1.75rem, 3vw, 3.25rem); align-items: center; padding-block: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); }
.detail-row + .detail-row { border-top: 1px solid var(--border); }
.detail-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.detail-row h2,
.detail-row h3 { font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); margin-bottom: 0.85rem; }
.detail-row .eyebrow { margin-bottom: 0.85rem; }
.detail-list { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0.55rem; font-size: var(--fs-small); }
.detail-list li { display: flex; align-items: flex-start; gap: 0.65rem; margin: 0; }
.detail-list svg { color: var(--green); flex: none; margin-top: 5px; }

.detail-sublists { display: grid; gap: 1.25rem 2rem; margin-bottom: 1.75rem; }
.detail-sublists h4 { font-size: 0.9375rem; margin-bottom: 0.6rem; }
.detail-sublists .detail-list { margin-bottom: 0; }
@media (min-width: 560px) { .detail-sublists { grid-template-columns: repeat(2, 1fr); } }

/* Simple value/feature cards */
.value-grid { display: grid; gap: clamp(1.25rem, 2.2vw, 1.75rem); }
.value-card {
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.value-card h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.value-card p { font-size: var(--fs-small); color: var(--muted); margin: 0; }

/* Contact method cards */
.contact-cards { display: grid; gap: clamp(1.25rem, 2.2vw, 1.75rem); margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.contact-card {
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.contact-card h2 { font-size: 1.0625rem; margin-bottom: 0.4rem; }
.contact-card p { font-size: var(--fs-small); color: var(--muted); margin-bottom: 0.75rem; }
.contact-value { font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 700; color: var(--primary); word-break: break-word; }
.contact-value a { color: inherit; text-decoration: none; }
.contact-value a:hover { color: var(--secondary-700); }

/* Long-form prose (legal pages, about copy) */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.0625rem; margin-top: 1.75rem; }
.prose ul { padding-left: 1.25rem; }
.prose .updated { font-size: var(--fs-small); color: var(--muted); margin-bottom: 2.25rem; }

/* Editor placeholder callout — remove once real details are filled in */
.editor-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
  background: var(--secondary-050);
  border-left: 3px solid var(--secondary);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: var(--fs-small);
  color: var(--secondary-700);
}
.editor-note svg { flex: none; margin-top: 4px; }
.editor-note code {
  padding: 1px 5px;
  border-radius: var(--r-xs);
  background: rgba(12, 122, 138, 0.12);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}
.editor-note--center { max-width: 680px; margin-inline: auto; }

/* 404 */
.error-page { text-align: center; padding-block: clamp(4rem, 3rem + 5vw, 8rem); }
.error-code {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 2.5rem + 5vw, 6rem);
  font-weight: 800;
  color: var(--primary-050);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.error-page .btn-row { justify-content: center; }

/* ==========================================================================
   21. Scroll reveal
   Hidden by default so there is no flash; main.js reveals on intersect and a
   <noscript> override in each page restores visibility without JavaScript.
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ==========================================================================
   22. Responsive
   ========================================================================== */

@media (max-width: 767px) {
  .topbar-tagline,
  .topbar-contact .topbar-area { display: none; }
  .topbar .container { justify-content: center; }
}

/* Small phones — keep the hero image from swallowing the fold */
@media (max-width: 419px) {
  .hero-media img { aspect-ratio: 3 / 2; }
  .btn { padding-inline: 1.35rem; }
  .btn-row > .btn { flex: 1 1 100%; }
  .split-panel { min-height: 460px; }
}

@media (min-width: 560px) {
  .trust-points { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .services-grid,
  .value-grid,
  .testimonials-grid,
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 2.5rem; }
  .hero-tags { gap: 0.75rem 2rem; }
  .trust-points { grid-template-columns: repeat(3, 1fr); }
  .trust-points li { padding-right: 1.5rem; }
  .form-footer { flex-direction: row-reverse; align-items: center; justify-content: space-between; }
  .form-footer .btn { flex: none; }
  .form-note { flex: 1; }
}

@media (min-width: 992px) {
  :root { --header-h: 84px; }

  .nav { display: block; }
  .header-actions { display: flex; }
  .nav-toggle { display: none; }
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  .to-top { right: 2rem; bottom: 2rem; }

  .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2.5rem, 4vw, 4.5rem); }
  .hero-media img { aspect-ratio: 5 / 6; }

  .services-grid,
  .value-grid,
  .testimonials-grid,
  .contact-cards { grid-template-columns: repeat(3, 1fr); }

  .why-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); }

  /* Horizontal timeline */
  .process-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem 1.75rem; }
  .process-step { padding-left: 0; padding-top: 4.5rem; }
  .process-step h3 { padding-top: 0; }
  .process-step::before {
    left: 52px;
    right: -1.75rem;
    top: 26px;
    bottom: auto;
    width: auto;
    height: 1.5px;
  }

  .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(2.5rem, 4vw, 4.5rem); }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }

  .quote-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .quote-aside { border-radius: var(--r-md) 0 0 var(--r-md); }
  .quote-form-wrap { border-top: 1px solid var(--border); border-left: 0; border-radius: 0 var(--r-md) var(--r-md) 0; }

  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }

  .detail-row { grid-template-columns: repeat(2, 1fr); }
  .detail-row--reverse .detail-media { order: 2; }
}

@media (min-width: 1200px) {
  .nav-list { gap: 0.6rem; }
  .hero-content { max-width: none; }
}

@media (min-width: 1600px) {
  :root { --container: 1320px; }
}

/* Four-card value grid: 2 x 2 until there is room for a single row of four */
@media (min-width: 992px) { .value-grid--four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .value-grid--four { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   23. 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;
    scroll-behavior: auto !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
  .btn:hover,
  .service-card:hover { transform: none; }
  .service-card:hover .service-media img,
  .split-panel:hover img { transform: none; }
  .link-arrow:hover svg { transform: none; }
}
