/* ============================================
   Remediation Pros — Brand & Layout
   Colors:
     --white: #FFFFFF
     --jet-black: #202C37
     --regal-navy: #003A82
     --bluebell: #34A2E2
     --bright-snow: #F7F8F9
============================================ */

:root {
  --white: #FFFFFF;
  --jet-black: #202C37;
  --regal-navy: #003A82;
  --bluebell: #34A2E2;
  --bright-snow: #F7F8F9;
  --shadow-sm: 0 2px 6px rgba(32, 44, 55, 0.08);
  --shadow-md: 0 8px 24px rgba(32, 44, 55, 0.12);
  --shadow-lg: 0 20px 50px rgba(0, 58, 130, 0.18);
  --radius: 12px;
  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--jet-black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--regal-navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--bluebell); }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; color: var(--jet-black); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }

p { margin-bottom: 1rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============ Top Bar ============ */
.topbar {
  background: var(--jet-black);
  color: var(--white);
  font-size: .9rem;
  padding: .55rem 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a { color: var(--white); }
.topbar a:hover { color: var(--bluebell); }
.topbar .topbar-emergency strong { color: var(--bluebell); }

/* ============ Header / Nav ============ */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #E5E9ED;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  padding-bottom: .75rem;
  gap: 2rem;
}
.brand img { height: 56px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.main-nav a {
  color: var(--jet-black);
  font-weight: 600;
  font-size: .95rem;
}
.main-nav a:hover { color: var(--regal-navy); }

.header-cta {
  display: flex;
  gap: .75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--bluebell);
  color: var(--white);
  border-color: var(--bluebell);
}
.btn-primary:hover {
  background: var(--regal-navy);
  border-color: var(--regal-navy);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--regal-navy);
  border-color: var(--regal-navy);
}
.btn-outline:hover {
  background: var(--regal-navy);
  color: var(--white);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--regal-navy);
}
.btn-block { width: 100%; }

/* mobile menu toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.6rem;
  color: var(--jet-black);
  cursor: pointer;
  padding: .25rem .5rem;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--regal-navy) 0%, #00224F 100%);
  color: var(--white);
  padding: 6rem 0 6rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/jobsite-3.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 .accent { color: var(--bluebell); }
.hero p.lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 2rem;
  max-width: 36rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badge {
  display: inline-block;
  background: rgba(52, 162, 226, 0.18);
  border: 1px solid var(--bluebell);
  color: var(--bluebell);
  padding: .35rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: #000;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ Section Base ============ */
section { padding: 5rem 0; }
.section-light { background: var(--bright-snow); }
.section-dark { background: var(--jet-black); color: var(--white); }
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-head .eyebrow {
  display: inline-block;
  color: var(--bluebell);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.section-head h2 { margin-bottom: 1rem; }
.section-head p { color: #4a5664; font-size: 1.1rem; }
.section-dark .section-head p { color: rgba(255,255,255,.8); }

/* ============ Services Grid ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #E5E9ED;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--bluebell);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--regal-navy), var(--bluebell));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: .75rem; color: var(--regal-navy); }
.service-card p { color: #4a5664; flex: 1; }
.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--bluebell);
}

/* ============ Why Us ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  text-align: center;
  padding: 1rem;
}
.why-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bluebell);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.why-card h3 { margin-bottom: .75rem; }
.section-dark .why-card p { color: rgba(255,255,255,.8); }

/* ============ About / Split Section ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-bottom: 1.25rem; }
.split .eyebrow {
  display: inline-block;
  color: var(--bluebell);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.bullet-list {
  list-style: none;
  margin-top: 1.25rem;
}
.bullet-list li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: .75rem;
  color: #4a5664;
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bluebell);
  box-shadow: 0 0 0 4px rgba(52, 162, 226, .18);
}

/* ============ Gallery ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ============ Testimonials ============ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #E5E9ED;
  position: relative;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: -.25rem;
  left: 1.25rem;
  font-size: 4rem;
  color: var(--bluebell);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial p { color: #4a5664; font-style: italic; margin-bottom: 1rem; }
.testimonial-name { font-weight: 700; color: var(--regal-navy); }
.testimonial-stars { color: #f5b400; margin-bottom: .75rem; letter-spacing: .1em; }

/* ============ CTA Strip ============ */
.cta-strip {
  background: linear-gradient(135deg, var(--regal-navy), var(--bluebell));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: 1rem; }
.cta-strip p { color: rgba(255,255,255,.92); max-width: 36rem; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ============ Credibility Badges ============ */
.credibility {
  background: var(--white);
  padding: 3rem 0;
  border-top: 1px solid #E5E9ED;
  border-bottom: 1px solid #E5E9ED;
}
.credibility-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.credibility-item {
  text-align: center;
  color: var(--regal-navy);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .03em;
}
.credibility-item .badge-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--regal-navy), var(--bluebell));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .5rem;
  font-size: .8rem;
  letter-spacing: .05em;
}

/* ============ Contact / Form ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info h3 { color: var(--regal-navy); margin-bottom: .5rem; }
.contact-block { margin-bottom: 1.5rem; }
.contact-block p { color: #4a5664; }

.form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.form .field { margin-bottom: 1rem; }
.form label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .35rem;
  color: var(--jet-black);
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: .75rem .9rem;
  border-radius: 8px;
  border: 1px solid #D5DAE0;
  font: inherit;
  background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 0;
  border-color: var(--bluebell);
  box-shadow: 0 0 0 3px rgba(52, 162, 226, .2);
}
.form textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ============ Footer ============ */
.site-footer {
  background: var(--jet-black);
  color: rgba(255,255,255,.85);
  padding: 4rem 0 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: .03em;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--bluebell); }
.footer-brand p { color: rgba(255,255,255,.7); font-size: .95rem; }
.footer-logo {
  display: block;
  max-width: 240px;
  height: auto;
  margin-bottom: 1.25rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}

/* ============ Motion & Interactivity ============ */

/* Reveal-on-scroll base */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .9s cubic-bezier(.2, .7, .2, 1),
    transform .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal-left.in,
.reveal-right.in { transform: translateX(0); }

/* Sticky header — condensed state on scroll */
.site-header {
  transition: padding .25s ease, box-shadow .25s ease, background-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 6px 22px rgba(0, 58, 130, 0.08);
  border-bottom-color: transparent;
}
.site-header.scrolled .container {
  padding-top: .4rem;
  padding-bottom: .4rem;
}
.site-header.scrolled .brand img { height: 46px; }

/* Hero decorative blobs */
.hero { isolation: isolate; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}
.hero-blob--a {
  width: 520px; height: 520px;
  background: radial-gradient(circle at 30% 30%, var(--bluebell), transparent 65%);
  top: -160px; left: -120px;
  animation: blobFloatA 18s ease-in-out infinite alternate;
}
.hero-blob--b {
  width: 460px; height: 460px;
  background: radial-gradient(circle at 70% 60%, #6dc3f0, transparent 65%);
  bottom: -180px; right: -120px;
  animation: blobFloatB 22s ease-in-out infinite alternate;
}
.hero-blob--c {
  width: 360px; height: 360px;
  background: radial-gradient(circle at 50% 50%, #1d6fd1, transparent 70%);
  top: 30%; right: 25%;
  opacity: .35;
  animation: blobFloatC 28s ease-in-out infinite alternate;
}

@keyframes blobFloatA {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.08); }
}
@keyframes blobFloatB {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, -60px) scale(1.12); }
}
@keyframes blobFloatC {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(0.92); }
}

/* Hero content fade-in on load (text side only) */
.hero-grid > div:not(.hero-image-wrap) > * {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-grid > div:not(.hero-image-wrap) > *:nth-child(1) { animation-delay: .05s; }
.hero-grid > div:not(.hero-image-wrap) > *:nth-child(2) { animation-delay: .18s; }
.hero-grid > div:not(.hero-image-wrap) > *:nth-child(3) { animation-delay: .30s; }
.hero-grid > div:not(.hero-image-wrap) > *:nth-child(4) { animation-delay: .42s; }
.hero-image {
  opacity: 0;
  transform: translateY(20px) scale(.98);
  animation: heroImageIn 1.1s cubic-bezier(.2,.7,.2,1) .35s forwards;
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroImageIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Parallax — applied via JS by setting --parallax-y */
.hero-image-wrap { transform: translate3d(0, var(--parallax-y, 0px), 0); transition: transform .1s linear; }

/* Hero badge — subtle breathing pulse */
.hero-badge {
  position: relative;
  overflow: visible;
}
.hero-badge::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 1px solid var(--bluebell);
  opacity: 0;
  animation: badgePulse 2.8s ease-out infinite;
}
@keyframes badgePulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* Primary button — shine sweep on hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.45) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .65s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.btn-primary:hover::after { left: 140%; }

/* Service cards — animated gradient ring on hover */
.service-card { position: relative; isolation: isolate; }
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--bluebell), var(--regal-navy));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-icon { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); }
.service-link { transition: color .2s ease, transform .2s ease; }
.service-card:hover .service-link { transform: translateX(4px); }

/* Why-us cards — ring expand on hover */
.why-num {
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.why-num::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--bluebell);
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
}
.why-card:hover .why-num {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 30px rgba(52, 162, 226, .35);
}
.why-card:hover .why-num::after {
  opacity: .7;
  transform: scale(1.18);
}

/* Credibility row — static credentials strip (no motion) */
.credibility-row {
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.25rem 3.25rem;
}
.credibility-item { min-width: 120px; }
.credibility-item .badge-circle {
  transition: transform .3s ease, box-shadow .3s ease;
}
.credibility-item:hover .badge-circle {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 24px rgba(0, 58, 130, .28);
}

/* Gallery — hover overlay + tilt */
.gallery-item {
  position: relative;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 58, 130, .55), rgba(52, 162, 226, .15));
  opacity: 0;
  transition: opacity .3s ease;
  border-radius: var(--radius);
  pointer-events: none;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover img { transform: scale(1.08); }

/* CTA strip — animated drifting gradient */
.cta-strip {
  background: linear-gradient(135deg, var(--regal-navy), var(--bluebell), #1d6fd1, var(--regal-navy));
  background-size: 300% 300%;
  animation: gradientShift 14s ease-in-out infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Accent underline on h2 (animated grow when revealed) */
.section-head h2,
.split h2 {
  position: relative;
  display: inline-block;
  padding-bottom: .35rem;
}
.section-head h2::after,
.split h2::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--bluebell), var(--regal-navy));
  border-radius: 2px;
  transition: width 1s cubic-bezier(.2,.7,.2,1) .15s;
}
.section-head { text-align: center; }
.section-head h2 { display: inline-block; }
.section-head h2::after { left: 50%; transform: translateX(-50%); }
.reveal.in .section-head h2::after,
.section-head.reveal.in h2::after,
.reveal.in.split h2::after,
.split.reveal.in h2::after { width: 64px; }

/* Bullet-list dots — gentle expand on hover */
.bullet-list li { transition: transform .25s ease; }
.bullet-list li:hover { transform: translateX(4px); }
.bullet-list li::before { transition: transform .25s ease; }
.bullet-list li:hover::before { transform: scale(1.15); }

/* Topbar emergency icon — soft pulse */
.topbar-emergency strong { position: relative; }
.topbar-emergency strong::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff4d4f;
  margin-right: .35rem;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(255, 77, 79, .75);
  animation: dotPulse 2s ease-out infinite;
}
@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 77, 79, .7); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 77, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0); }
}

/* Reduced motion — disable nonessential motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .credibility-row { animation: none !important; }
  .hero-blob { display: none; }
}

/* ============================================
   FLYER AESTHETIC LAYER
   Dark cinematic treatment mirroring Remediation
   Pros' advertising flyers. Additive overrides —
   safe to remove this whole block to revert.
============================================ */
:root { --pink: #E8639B; }

/* Hero — deep cinematic photo background like the flyers */
.hero {
  background: var(--jet-black);
  padding: 7rem 0 7rem;
}
.hero::before {
  background-image:
    linear-gradient(105deg, rgba(11,18,32,.94) 0%, rgba(0,40,90,.78) 45%, rgba(0,30,70,.45) 100%),
    url('../images/generated/crew-ppe.webp');
  background-size: cover;
  background-position: center;
  opacity: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 50%, rgba(52,162,226,.20), transparent 55%);
  z-index: 0;
  pointer-events: none;
}
.hero p.lead { color: rgba(255,255,255,.82); }

/* Hero photo card — angled blue edge framing like the flyers */
.hero-image {
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  border: 1px solid rgba(52,162,226,.45);
  position: relative;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(52,162,226,.35),
              inset 0 0 60px rgba(0,58,130,.35);
  pointer-events: none;
}

/* Owned-business pill badges — recurring flyer motif */
.owned-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 1.5rem 0 0;
}
.owned-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem .5rem .6rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  backdrop-filter: blur(4px);
}
.owned-badge .dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  background: linear-gradient(135deg, var(--regal-navy), var(--bluebell));
}
.owned-badge--pink { border-color: rgba(232,99,155,.55); }
.owned-badge--pink .dot { background: linear-gradient(135deg, #c64185, var(--pink)); }
.owned-badge--light {
  background: var(--bright-snow);
  border-color: #E5E9ED;
  color: var(--jet-black);
}
.owned-badge--light.owned-badge--pink { border-color: rgba(232,99,155,.45); }

/* Trust band — light, modern 3-up credentials section */
.trust-band {
  background: var(--bright-snow);
  padding: 2.75rem 0;
  border-bottom: 1px solid #E5E9ED;
}
.trust-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.trust-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid #E8ECF0;
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.trust-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--regal-navy), var(--bluebell));
}
.trust-icon--pink { background: linear-gradient(135deg, #c64185, var(--pink)); }
.trust-icon img { width: 26px; height: 26px; display: block; }
.trust-text { display: flex; flex-direction: column; gap: .15rem; }
.trust-text strong {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--regal-navy);
  letter-spacing: -0.01em;
}
.trust-text span { font-size: .88rem; color: #5a6675; }

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* Credibility strip — dark cinematic like the flyer footers */
.credibility {
  background: linear-gradient(180deg, #0d1726 0%, var(--jet-black) 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.credibility-item { color: #fff; }
.credibility-item .badge-circle {
  box-shadow: 0 8px 22px rgba(0,58,130,.45);
}

/* Why-us — cinematic depth */
.section-dark {
  background:
    linear-gradient(180deg, rgba(20,28,37,.94), rgba(13,23,38,.97)),
    url('../images/generated/abatement-detail.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* CTA strip — keep gradient but add cinematic vignette */
.cta-strip { position: relative; isolation: isolate; }
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(0,0,0,.35), transparent 60%);
  z-index: -1;
}

@media (max-width: 980px) {
  .section-dark { background-attachment: scroll; }
  .hero { padding: 4.5rem 0; }
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding: 4rem 0; }
  .services-grid, .why-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .menu-toggle { display: inline-block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #E5E9ED;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem;
    gap: 0;
  }
  .main-nav ul li {
    border-bottom: 1px solid #E5E9ED;
  }
  .main-nav ul li:last-child { border-bottom: 0; }
  .main-nav a { display: block; padding: .85rem 0; }
  .header-cta .btn-outline { display: none; }
  .services-grid, .why-grid, .testimonial-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .topbar .container { font-size: .8rem; }
}
