/* ───────────────────────────────────────────────────────────
   MAX Pressure Cleaners & Lawn Care
   Brand palette pulled directly from the logo.
   ─────────────────────────────────────────────────────────── */

:root {
  --navy:        #051221;
  --navy-2:      #0a1a2f;
  --navy-3:      #102842;
  --blue:        #1e9cf0;   /* Logo bright blue   */
  --blue-2:      #29b6f6;
  --blue-deep:   #006bb3;
  --green:       #7cd32c;   /* Logo lawn green    */
  --green-2:     #66bb1f;
  --green-deep:  #4a8a14;
  --white:       #ffffff;
  --off:         #f4faff;
  --soft:        #e6f1fb;
  --text:        #122036;
  --text-dim:    #56697e;
  --text-faint:  #97a8ba;

  --shadow-sm:   0 2px 6px rgba(5, 18, 33, 0.06);
  --shadow-md:   0 8px 24px rgba(5, 18, 33, 0.12);
  --shadow-lg:   0 18px 60px rgba(5, 18, 33, 0.18);
  --glow-blue:   0 0 24px rgba(30, 156, 240, 0.45);
  --glow-green:  0 0 24px rgba(124, 211, 44, 0.45);

  --radius:      14px;
  --radius-sm:   8px;
  --container:   1180px;

  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display:'Bebas Neue', 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--text-faint); }
.small { font-size: 13px; }

/* ─── NAV ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--soft);
  transition: box-shadow .25s ease;
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  gap: 16px;
}
.nav-logo img { height: 56px; width: auto; transition: transform .2s ease; }
.nav-logo:hover img { transform: scale(1.05) rotate(-1deg); }
.nav-links {
  display: flex; gap: 28px; align-items: center;
}
.nav-links a {
  color: var(--text); font-weight: 600; font-size: 15px;
  padding: 8px 4px; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--blue); transform: scaleX(0);
  transform-origin: center; transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.phone-link { color: var(--text); font-weight: 700; font-size: 15px; }
.phone-link:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  background: transparent; border: none; font-size: 28px; color: var(--navy);
}

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  border: none; cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: white;
  box-shadow: var(--shadow-md), var(--glow-blue);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg), var(--glow-blue); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-ghost:hover { background: white; color: var(--navy); border-color: white; }

.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 10px; }

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(30, 156, 240, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(124, 211, 44, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
  color: white;
  overflow: hidden;
  display: flex; align-items: center;
  padding: 60px 0 120px;
}
#water-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
  opacity: 0.65;
}
.hero-inner {
  position: relative; z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.32em; font-weight: 700;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 18px;
}
.eyebrow.center { display: flex; justify-content: center; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.02; font-weight: 400;
  letter-spacing: 0.005em;
  margin-bottom: 22px;
}
.grad-blue {
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-green {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-bullets {
  list-style: none;
  display: flex; gap: 28px; flex-wrap: wrap;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 15px;
}
.hero-bullets li::before { color: var(--green); margin-right: 6px; }

/* Animated grass blades at the bottom of the hero */
.hero-grass {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  z-index: 2; pointer-events: none;
  display: flex; align-items: flex-end; justify-content: space-around;
}
.hero-grass span {
  display: block;
  width: 6px;
  background: linear-gradient(to top, var(--green-deep), var(--green));
  transform-origin: bottom center;
  border-radius: 50% 50% 0 0 / 80% 80% 0 0;
  opacity: 0.9;
  animation: sway 5s ease-in-out infinite;
}
.hero-grass span:nth-child(1)  { height: 38px; animation-delay: -0.1s; animation-duration: 5s; }
.hero-grass span:nth-child(2)  { height: 52px; animation-delay: -1.2s; animation-duration: 6s; }
.hero-grass span:nth-child(3)  { height: 28px; animation-delay: -0.4s; animation-duration: 4.5s; }
.hero-grass span:nth-child(4)  { height: 48px; animation-delay: -2.0s; animation-duration: 5.5s; }
.hero-grass span:nth-child(5)  { height: 36px; animation-delay: -0.8s; animation-duration: 5s; }
.hero-grass span:nth-child(6)  { height: 56px; animation-delay: -1.5s; animation-duration: 6.5s; }
.hero-grass span:nth-child(7)  { height: 32px; animation-delay: -0.3s; animation-duration: 4.8s; }
.hero-grass span:nth-child(8)  { height: 44px; animation-delay: -2.2s; animation-duration: 5.2s; }
.hero-grass span:nth-child(9)  { height: 30px; animation-delay: -0.6s; animation-duration: 4.6s; }
.hero-grass span:nth-child(10) { height: 50px; animation-delay: -1.8s; animation-duration: 5.8s; }
@keyframes sway {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(3deg); }
}

.scroll-cue {
  position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
  color: white; font-size: 28px; opacity: 0.6;
  animation: bounce 2.2s ease-in-out infinite;
  z-index: 4;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ─── TRUST STRIP ─────────────────────────────────────── */
.trust {
  background: white;
  padding: 36px 0;
  border-bottom: 1px solid var(--soft);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  color: var(--blue-deep);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  color: var(--blue);
  margin-top: -8px;
}
.stat-label {
  font-size: 13px; color: var(--text-dim); font-weight: 600;
  letter-spacing: 0.04em;
}

/* ─── SECTIONS (shared) ───────────────────────────────── */
.section { padding: 96px 0; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  color: var(--navy);
  text-align: center;
  line-height: 1.05;
  margin-bottom: 14px;
  letter-spacing: 0.005em;
}
.section-sub {
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 17px;
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ─── SERVICES ────────────────────────────────────────── */
.service-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 30px;
}
.service-card {
  background: white; border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--blue);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative; overflow: hidden;
}
.service-card.lawn { border-top-color: var(--green); }
.service-card::after {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,156,240,0.12), transparent 70%);
  transition: transform .5s ease;
}
.service-card.lawn::after {
  background: radial-gradient(circle, rgba(124,211,44,0.15), transparent 70%);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scale(1.4); }

.service-icon {
  font-size: 44px;
  margin-bottom: 18px;
  display: inline-block;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 34px; color: var(--navy);
  margin-bottom: 12px; letter-spacing: 0.005em;
}
.service-card > p { color: var(--text-dim); margin-bottom: 20px; }
.service-list {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px;
}
.service-list li {
  position: relative; padding-left: 24px;
  font-size: 14px; color: var(--text);
}
.service-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--blue); font-weight: 700;
}
.service-card.lawn .service-list li::before { color: var(--green-2); }

.bundle-banner {
  text-align: center;
  margin-top: 32px;
  padding: 18px 24px;
  background: linear-gradient(135deg, rgba(30,156,240,0.08), rgba(124,211,44,0.08));
  border: 1.5px dashed var(--blue);
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 16px;
}
.bundle-banner strong { color: var(--blue-deep); }

/* ─── BEFORE/AFTER SLIDER ─────────────────────────────── */
.results { background: white; }
.ba-slider {
  position: relative;
  max-width: 880px; margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  user-select: none;
  cursor: ew-resize;
  background: var(--soft);
}
.ba-before, .ba-after {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
/* Real before/after photos — Nassau tile-roof soft wash */
.ba-after {
  background: url('../img/after-roof.png') center/cover no-repeat;
}
.ba-before {
  width: 50%;
  background: url('../img/before-roof.png') center/cover no-repeat;
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 4px; background: white;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15), 0 0 24px rgba(255,255,255,0.6);
  transform: translateX(-50%);
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: white; color: var(--navy);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.ba-label {
  position: absolute; top: 16px;
  font-family: var(--font-display); font-size: 22px;
  padding: 4px 12px; border-radius: 4px;
  letter-spacing: 0.05em;
  pointer-events: none;
}
.ba-label-before { left: 16px; background: rgba(0,0,0,0.55); color: white; }
.ba-label-after  { right: 16px; background: rgba(30,156,240,0.9); color: white; }

/* ─── HOW IT WORKS ────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.step {
  background: white; padding: 36px 28px; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform .3s ease;
}
.step:hover { transform: translateY(-4px); }
.step-num {
  font-family: var(--font-display); font-size: 56px;
  color: var(--blue);
  line-height: 1; margin-bottom: 14px;
  text-shadow: var(--glow-blue);
}
.step h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--text-dim); }

/* ─── WHY MAX ────────────────────────────────────────── */
.why { background: white; }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.why-card {
  background: var(--off);
  border-radius: var(--radius);
  padding: 26px 22px;
  border: 1px solid var(--soft);
  transition: all .25s ease;
}
.why-card:hover {
  background: white;
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.why-icon { font-size: 32px; margin-bottom: 12px; }
.why-card h4 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.why-card p { font-size: 14px; color: var(--text-dim); }

/* ─── REVIEWS ────────────────────────────────────────── */
.reviews { background: var(--navy); color: white; }
.reviews .section-title { color: white; }
.reviews .section-sub { color: rgba(255,255,255,0.7); }
.reviews .eyebrow { color: var(--blue-2); }
.review-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.review-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .25s ease;
}
.review-card:hover { border-color: var(--blue); background: rgba(30,156,240,0.05); }
.stars { color: var(--green); font-size: 16px; margin-bottom: 10px; letter-spacing: 0.1em; }
.review-card p { color: rgba(255,255,255,0.92); font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.review-card footer { font-size: 13px; color: var(--text-faint); }

/* ─── AREAS ──────────────────────────────────────────── */
.areas { background: white; }
.area-list {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 800px; margin: 0 auto;
}
.area-list li {
  padding: 8px 16px;
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--navy);
  transition: all .2s ease;
}
.area-list li:hover {
  background: var(--blue); color: white;
  border-color: var(--blue); transform: translateY(-2px);
}

/* ─── QUOTE FORM ─────────────────────────────────────── */
.quote {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: white;
  position: relative; overflow: hidden;
}
.quote::before {
  content: '';
  position: absolute; inset: -2px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(30,156,240,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(124,211,44,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.quote-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px;
  align-items: start;
  position: relative; z-index: 1;
}
.quote-copy .eyebrow { color: var(--blue-2); }
.quote-copy .section-title { color: white; text-align: left; margin-bottom: 18px; }
.quote-copy p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.quote-bullets {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 16px; color: white;
}
.quote-form {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.quote-form label {
  display: block; margin-bottom: 16px;
  font-size: 13px; font-weight: 700;
  color: var(--navy); letter-spacing: 0.04em;
  text-transform: uppercase;
}
.quote-form input, .quote-form select, .quote-form textarea {
  display: block; width: 100%; margin-top: 6px;
  padding: 12px 14px;
  font-family: inherit; font-size: 15px; color: var(--text);
  background: var(--off);
  border: 1.5px solid var(--soft);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  text-transform: none;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,156,240,0.15);
}
.quote-form button { width: 100%; margin-top: 6px; }
.form-foot { font-size: 12px; color: var(--text-faint); text-align: center; margin-top: 12px; font-weight: 400; text-transform: none; letter-spacing: 0; }

/* ─── FOOTER ─────────────────────────────────────────── */
.footer { background: var(--navy); color: white; padding: 56px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px;
  margin-bottom: 36px;
}
.footer-logo { height: 64px; width: auto; margin-bottom: 14px; }
.footer-tag { color: rgba(255,255,255,0.65); font-size: 14px; }
.footer h5 {
  font-family: var(--font-display); font-size: 18px;
  color: var(--blue-2); margin-bottom: 14px; letter-spacing: 0.05em;
}
.footer a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  padding: 4px 0;
}
.footer a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ─── FLOATING WHATSAPP BUTTON ───────────────────────── */
.whatsapp-fab {
  position: fixed; bottom: 22px; right: 22px;
  z-index: 999;
  display: flex; align-items: center; gap: 0;
  background: #25D366;
  color: white;
  height: 60px;
  padding: 0 16px 0 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45), 0 8px 24px rgba(0,0,0,0.2);
  transition: all .25s ease;
  overflow: hidden;
  font-weight: 600;
}
.whatsapp-fab:hover {
  background: #1faa50;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6), 0 12px 30px rgba(0,0,0,0.25);
  color: white;
}
.whatsapp-fab svg { flex: none; }
.whatsapp-fab-label {
  font-size: 15px; letter-spacing: 0.02em;
  margin-left: 10px; white-space: nowrap;
}
/* Pulsing ring for the first few seconds — draws the eye */
.whatsapp-fab::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
/* Shrink to icon-only on small screens */
@media (max-width: 600px) {
  .whatsapp-fab { padding: 0; width: 60px; justify-content: center; }
  .whatsapp-fab-label { display: none; }
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .service-cards, .steps, .why-grid, .review-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero { min-height: auto; padding: 50px 0 100px; }
  .section { padding: 64px 0; }
  .service-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
