/* ==========================================================================
   PressureWave Junk Removal — shared stylesheet
   Palette matches sister brand (pwcleaningwa.com):
   navy #0F1E3D, amber #FFC107, blue #2E8FF5, slate gray #5B6478
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #0F1E3D;
  --navy-light: #17284d;
  --navy-lighter: #1f3563;
  --amber: #FFC107;
  --amber-dark: #E0A800;
  --blue: #2E8FF5;
  --blue-dark: #1c6fd1;
  --gray: #5B6478;
  --gray-light: #8A93A6;
  --bg: #F5F6F8;
  --bg-alt: #EEF1F6;
  --white: #FFFFFF;
  --border: #E2E5EB;
  --success: #1FA24A;

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(15, 30, 61, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 30, 61, 0.12);
  --shadow-lg: 0 20px 48px rgba(15, 30, 61, 0.18);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; color: var(--gray); }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section {
  padding: 88px 0;
}
.section--alt { background: var(--bg); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.7); }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-amber {
  background: var(--amber);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-amber:hover { background: var(--amber-dark); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  word-spacing: -4px;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo-full-img {
  height: 42px;
  width: auto;
  max-width: 170px;
  border-radius: 5px;
  object-fit: contain;
}
@media (max-width: 760px) {
  .logo-full-img { height: 34px; max-width: 130px; }
}
.logo span.accent { color: var(--blue); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a.active { color: var(--blue); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
}
.phone-link svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--navy); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-lighter) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255,193,7,0.16) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 76px 24px 64px;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
  color: var(--amber);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
}
.hero p.lead {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
}
.hero-stat span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

/* Quote card in hero */
.quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  color: var(--navy);
}
.quote-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.quote-card .sub { color: var(--gray); font-size: 0.9rem; margin-bottom: 20px; }
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--navy);
}
.form-row textarea { resize: vertical; min-height: 80px; }
.form-note {
  font-size: 0.78rem;
  color: var(--gray-light);
  text-align: center;
  margin-top: 12px;
}

/* Trust bar */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.trust-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}
.trust-item svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }

/* Cards grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; color: var(--blue); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { font-size: 0.95rem; margin-bottom: 0; }
.service-card ul { margin-top: 14px; }
.service-card ul li {
  font-size: 0.88rem;
  color: var(--gray);
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: rgba(255,255,255,0.15);
  margin-bottom: 8px;
}
.section--navy .step h3 { color: var(--white); }

/* Service area */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.area-chip {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

/* Truck load gauge (pricing signature element) */
.truck-gauge {
  width: 100%;
  height: auto;
}
.gauge-track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  overflow: hidden;
  margin: 18px 0 22px;
}
.gauge-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--amber);
  box-shadow: var(--shadow-md);
}
.price-card .tag {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--amber);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card h3 { font-size: 1.05rem; margin-bottom: 2px; color: var(--gray); font-weight: 600; }
.price-card .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--navy);
  margin: 4px 0 4px;
}
.price-card .price span { font-size: 0.95rem; font-weight: 500; color: var(--gray-light); }
.price-card .desc { font-size: 0.88rem; color: var(--gray-light); margin-bottom: 16px; }

.item-price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.item-price-table th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-align: left;
  padding: 14px 20px;
}
.item-price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.item-price-table tr:last-child td { border-bottom: none; }
.item-price-table tr:nth-child(even) td { background: var(--bg); }
.item-price-table td.price-col {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  text-align: right;
  white-space: nowrap;
}

.pricing-note {
  background: var(--bg-alt);
  border-left: 4px solid var(--blue);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--navy);
  margin-top: 32px;
}

/* Before / After slider */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: ew-resize;
  user-select: none;
  background: var(--bg-alt);
}
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider .ba-after { clip-path: inset(0 0 0 50%); }
.ba-slider .ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}
.ba-slider .ba-handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230F1E3D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230F1E3D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: center 42%, center 58%;
}
.ba-label {
  position: absolute;
  top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15,30,61,0.72);
  color: var(--white);
}
.ba-label.before { left: 14px; }
.ba-label.after { right: 14px; }
.ba-caption {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
}
.ba-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-light);
  font-size: 0.82rem;
  text-align: center;
  padding: 20px;
  border: 2px dashed var(--border);
}
.ba-placeholder svg { width: 34px; height: 34px; opacity: 0.5; }
.ba-placeholder code {
  background: rgba(15,30,61,0.06);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
}
.ba-placeholder--before { background: #E9ECF2; }
.ba-placeholder--after { background: #FFF6DD; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
}
.stars { color: var(--amber); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-card p.quote { color: var(--navy); font-size: 0.95rem; margin-bottom: 18px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 0.9rem; color: var(--navy); }
.review-author span { font-size: 0.8rem; color: var(--gray-light); }

.rating-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.rating-summary .big-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--navy);
}
.rating-summary .stars { font-size: 1.3rem; margin-bottom: 4px; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--blue);
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { margin-top: 12px; font-size: 0.95rem; }

/* CTA band */
.cta-band {
  background: var(--amber);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }
.cta-band p { color: var(--navy); opacity: 0.75; margin-bottom: 26px; }
.cta-band .btn-navy:hover { background: #050d1e; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer-grid ul li { margin-bottom: 10px; font-size: 0.9rem; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list li a { display: flex; align-items: center; gap: 10px; }
.contact-list svg { width: 15px; height: 15px; color: var(--amber); flex-shrink: 0; }
.footer-grid ul li a:hover { color: var(--white); }
.footer-logo { color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-legal a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.footer-legal a:hover { color: var(--amber); }

/* Legal pages */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content h2 {
  margin-top: 40px;
  font-size: 1.3rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--gray); font-size: 0.96rem; }
.legal-content ul { margin: 0 0 1em; padding-left: 1.4em; list-style: disc; }
.legal-content .updated {
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-bottom: 32px;
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.dev-note {
  background: #FFF7DA;
  border: 1px dashed var(--amber-dark);
  color: #6b5300;
  font-size: 0.82rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

/* ==========================================================================
   Motion / dynamic layer
   ========================================================================== */

.site-header {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

/* Hero animated gradient blobs */
.hero { isolation: isolate; }
.hero::after { display: none; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  animation: blobFloat 16s ease-in-out infinite;
}
.hero-blob--amber {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,193,7,0.38), transparent 70%);
  top: -160px; right: -100px;
}
.hero-blob--blue {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(46,143,245,0.32), transparent 70%);
  bottom: -160px; left: -110px;
  animation-delay: -8s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(24px,-28px) scale(1.08); }
}
.hero-inner { position: relative; z-index: 1; }

.hero h1 em.text-gradient,
.text-gradient {
  background: linear-gradient(90deg, var(--amber) 0%, #ffe08a 50%, var(--amber) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine {
  to { background-position: 200% center; }
}

/* Quote card entrance + glow ring */
.quote-card {
  position: relative;
  animation: cardRise 0.8s ease both;
}
.quote-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  padding: 2px;
  background: linear-gradient(135deg, var(--amber), var(--blue));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  z-index: -1;
}
@keyframes cardRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal utilities */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }

/* Stats band */
.stats-band {
  background: var(--navy);
  padding: 52px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 22px 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.stat-item:hover { transform: translateY(-4px); border-color: rgba(255,193,7,0.4); }
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.3rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}

/* Marquee ticker */
.marquee {
  margin-top: 12px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marqueeScroll 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Testimonial carousel */
.carousel { position: relative; max-width: 720px; margin: 0 auto; }
.carousel-track { position: relative; min-height: 210px; }
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.carousel-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dot.is-active { background: var(--amber); transform: scale(1.2); }

/* Button glow */
.btn-amber:hover { box-shadow: 0 10px 26px rgba(255,193,7,0.4); }
.btn-navy:hover { box-shadow: 0 10px 26px rgba(15,30,61,0.35); }

/* Truck gauge animated fill (pricing page) */
.gauge-fill {
  width: 0;
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.price-card.is-visible .gauge-fill { width: var(--fill, 0%); }

@media (prefers-reduced-motion: reduce) {
  .hero-blob, .text-gradient, .marquee-track { animation: none !important; }
  .reveal, .reveal-stagger > *, .quote-card, .carousel-slide {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .gauge-fill { transition: none !important; width: var(--fill, 0%) !important; }
}

/* Quote modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(15,30,61,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-dialog {
  position: relative;
  max-width: 480px;
  width: 100%;
  margin: auto;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s ease;
}
.modal-overlay.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}
.modal-dialog .quote-card { animation: none; }
.modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  color: var(--navy);
}
.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover { background: var(--amber); }
body.modal-open { overflow: hidden; }

.field-error {
  display: none;
  font-size: 0.78rem;
  color: #C0392B;
  margin-top: 6px;
}
.form-row.has-error input {
  border-color: #C0392B;
}
.form-row.has-error .field-error { display: block; }

@media (prefers-reduced-motion: reduce) {
  .modal-overlay, .modal-dialog { transition: none; }
}

/* Floating quote button */
.floating-quote-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 8000;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 14px 32px rgba(15,30,61,0.4);
}
.floating-quote-btn svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .floating-quote-btn { right: 16px; bottom: 16px; padding: 12px 18px; font-size: 0.9rem; }
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader-mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: preloaderPulse 1.1s ease-in-out infinite;
}
.preloader-mark svg { width: 34px; height: 34px; }
.preloader-mark img { width: 40px; height: 40px; object-fit: contain; }
.preloader-mark--full {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  animation: none;
  box-shadow: none;
}
.preloader-mark--full img {
  width: min(240px, 60vw);
  height: auto;
  border-radius: 8px;
  animation: preloaderPulse 1.1s ease-in-out infinite;
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,193,7,0.35); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 14px rgba(255,193,7,0); }
}
@media (prefers-reduced-motion: reduce) {
  .preloader { transition: none; }
  .preloader-mark, .preloader-mark--full img { animation: none; }
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -200px;
  z-index: 9000;
  background: var(--navy);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.25);
  transition: bottom 0.5s ease;
}
.cookie-banner.is-visible { bottom: 0; }
.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner p {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
}
.cookie-banner a { color: var(--amber); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; }
  .grid-3, .steps, .review-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .phone-link span.phone-label { display: none; }
  .grid-3, .grid-2, .steps, .review-grid, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 56px 0; }
  .trust-bar .container { justify-content: center; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-num { font-size: 1.9rem; }
  .hero-blob { display: none; }

  /* Mobile header: hamburger left, logo centered, phone icon right */
  .header-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 12px 16px;
  }
  .nav-toggle { justify-self: start; }
  .logo { justify-self: center; }
  .header-cta { justify-self: end; }
  .header-cta .phone-link { padding: 6px; }
}
@media (max-width: 360px) {
  .logo-full-img { max-width: 96px; }
  .hero-badge { font-size: 0.72rem; padding: 6px 12px; }
  .floating-quote-btn { padding: 10px 16px; font-size: 0.85rem; }
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 24px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  font-family: var(--font-display);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
}
.mobile-nav a:last-child { border-bottom: none; }
