/* =========================================================
   Bayou Pressure Washing Baton Rouge — styles.css
   Palette: deep navy, water blue, white, subtle green accents
   ========================================================= */

:root {
  --navy:        #0a2540;
  --navy-deep:   #071a30;
  --navy-soft:   #12385f;
  --blue:        #1e88c7;
  --blue-bright: #2ea3e6;
  --blue-tint:   #e9f4fb;
  --blue-tint-2: #d6ecf8;
  --green:       #35b37e;
  --green-deep:  #268a60;
  --white:       #ffffff;
  --ink:         #12283a;
  --muted:       #5a6b78;
  --line:        #e3e9ee;
  --bg-soft:     #f5f9fc;

  --radius:      14px;
  --radius-lg:   22px;
  --shadow-sm:   0 2px 10px rgba(10, 37, 64, 0.06);
  --shadow:      0 12px 34px rgba(10, 37, 64, 0.12);
  --shadow-lg:   0 24px 60px rgba(10, 37, 64, 0.18);
  --maxw:        1180px;

  --ff-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.15; color: var(--navy); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.3px; }
h3 { font-size: 1.28rem; }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 84px 0; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-lead { color: var(--muted); font-size: 1.1rem; }

.kicker {
  display: inline-block;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ------------------ Buttons ------------------ */
.btn {
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-head); font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { flex: none; }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(30,136,199,.32); }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30,136,199,.42); }

.btn-secondary { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-secondary:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.btn-light:hover { background: var(--blue-tint); transform: translateY(-2px); }

.btn-phone { background: var(--green); color: #fff; padding: 11px 18px; box-shadow: 0 8px 18px rgba(53,179,126,.32); }
.btn-phone:hover { background: var(--green-deep); transform: translateY(-2px); }

/* ------------------ Header ------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.97); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); font-family: var(--ff-head); }
.brand-icon { color: var(--blue); display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; font-size: 1.05rem; font-weight: 600; }
.brand-text strong { color: var(--navy); font-weight: 800; }
.brand-text small { font-size: .68rem; color: var(--blue); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }

.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a {
  color: var(--navy); font-family: var(--ff-head); font-weight: 500; font-size: .96rem;
  padding: 9px 13px; border-radius: 8px; position: relative; transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--blue); background: var(--blue-tint); }

.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  background: var(--blue-tint); border: none; border-radius: 10px; cursor: pointer; margin-left: auto;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ------------------ Hero ------------------ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  padding: 96px 0 130px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-soft) 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(46,163,230,.30), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(53,179,126,.20), transparent 45%);
}
/* Water-spray sheen */
.hero-spray {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(115deg, transparent 40%, rgba(255,255,255,.06) 50%, transparent 60%),
    repeating-linear-gradient(118deg, rgba(255,255,255,.05) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-head); font-weight: 500; font-size: .9rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px; color: #dcefff;
}
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(53,179,126,.28); }

.hero h1 { color: #fff; margin-bottom: 18px; }
.hero-sub { font-size: 1.22rem; color: #cfe1f0; max-width: 610px; margin-bottom: 30px; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: .96rem; color: #dbe9f5; font-weight: 500; }
.hero-trust svg { color: var(--green); flex: none; }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 1; }
.hero-wave svg { width: 100%; height: 90px; }

/* ------------------ Trust bar ------------------ */
.trust-bar { background: var(--white); padding: 30px 0; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-num { font-family: var(--ff-head); font-weight: 800; font-size: 1.5rem; color: var(--blue); }
.trust-label { font-size: .92rem; color: var(--muted); font-weight: 500; }

/* ------------------ Services ------------------ */
.services { background: var(--bg-soft); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-tint-2); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  background: var(--blue-tint); color: var(--blue); margin-bottom: 18px;
  transition: background .25s, color .25s;
}
.service-card:hover .service-icon { background: var(--blue); color: #fff; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--muted); margin: 0; font-size: .98rem; }

.services-cta { text-align: center; margin-top: 46px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.services-cta p { font-family: var(--ff-head); font-weight: 600; color: var(--navy); font-size: 1.15rem; margin: 0; }

/* ------------------ About ------------------ */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: center; }
.about-image {
  position: relative; border-radius: var(--radius-lg); min-height: 380px;
  background:
    radial-gradient(circle at 30% 25%, rgba(46,163,230,.35), transparent 55%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-soft) 60%, var(--blue) 130%);
  box-shadow: var(--shadow); overflow: hidden;
}
.about-image::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(120deg, rgba(255,255,255,.06) 0 2px, transparent 2px 24px);
}
.badge-float {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  background: #fff; color: var(--navy); border-radius: 14px; padding: 16px 22px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.25;
}
.badge-float strong { font-family: var(--ff-head); font-size: 1.25rem; color: var(--blue); }
.badge-float span { font-size: .85rem; color: var(--muted); }

.about-content p { color: #33475a; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 22px; }
.about-highlights div { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .98rem; color: var(--navy); }
.about-highlights svg { color: var(--green); flex: none; }

/* ------------------ Why choose us ------------------ */
.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--blue), var(--blue-bright)); color: #fff; margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(30,136,199,.3);
}
.why-card h3 { margin-bottom: 6px; }
.why-card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ------------------ Gallery / Before & After ------------------ */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.ba-card { margin: 0; }
.ba-frame {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 2 / 1; background: var(--blue-tint);
}
.ba-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.ba-card:hover .ba-frame img { transform: scale(1.045); }
/* Uniform Before/After labels (each photo is split down the middle) */
.ba-frame::before, .ba-frame::after {
  position: absolute; bottom: 12px; z-index: 2; pointer-events: none;
  font-family: var(--ff-head); font-weight: 600; font-size: .72rem; letter-spacing: 1px;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px; color: #fff;
}
.ba-frame::before { content: "Before"; left: 12px; background: rgba(10,37,64,.82); }
.ba-frame::after  { content: "After"; right: 12px; background: rgba(53,179,126,.92); }
.ba-card figcaption {
  margin-top: 12px; font-family: var(--ff-head); font-weight: 600; color: var(--navy);
  text-align: center; font-size: .98rem;
}

/* ------------------ Service areas ------------------ */
.areas { background: var(--bg-soft); }
.areas-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.areas-list {
  list-style: none; margin: 22px 0 28px; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.areas-list li {
  display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: .95rem;
}
.areas-list li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none;
}
.areas-map {
  min-height: 320px; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(46,163,230,.25), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.areas-map::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 44px 44px;
}
.map-pin { position: relative; z-index: 2; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.map-pin svg { color: var(--green); filter: drop-shadow(0 6px 10px rgba(0,0,0,.3)); animation: bob 2.6s ease-in-out infinite; }
.map-pin strong { font-family: var(--ff-head); font-size: 1.15rem; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ------------------ CTA banner ------------------ */
.cta-banner {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: 74px 0;
  background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 75%);
}
.cta-banner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(53,179,126,.35), transparent 45%);
}
.cta-inner { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; margin-bottom: 10px; }
.cta-banner p { font-size: 1.2rem; color: #e4f1fb; margin-bottom: 26px; }

/* ------------------ Contact ------------------ */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 50px; align-items: start; }
.contact-info h2 { margin-bottom: 12px; }
.contact-info > p { color: var(--muted); margin-bottom: 26px; }
.contact-line {
  display: flex; align-items: center; gap: 15px; padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.contact-line:first-of-type { border-top: 1px solid var(--line); }
.contact-line-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--blue-tint); color: var(--blue);
  display: grid; place-items: center; flex: none;
}
.contact-line small { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.contact-line strong { font-family: var(--ff-head); font-size: 1.12rem; color: var(--navy); }
a.contact-line:hover .contact-line-icon { background: var(--blue); color: #fff; }

.contact-form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 32px; box-shadow: var(--shadow);
}
.quote-form h3 { margin-bottom: 20px; font-size: 1.4rem; }
.form-row { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: block; font-family: var(--ff-head); font-weight: 500; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.quote-form label span { color: var(--blue); }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; font-family: var(--ff-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fbfdfe;
  transition: border-color .2s, box-shadow .2s;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,136,199,.14); background: #fff;
}
.quote-form textarea { resize: vertical; min-height: 108px; }
.quote-form input.invalid, .quote-form select.invalid { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.form-status { margin: 14px 0 0; font-weight: 500; font-size: .95rem; text-align: center; min-height: 1.2em; }
.form-status.success { color: var(--green-deep); }
.form-status.error { color: #cf3438; }
.form-fineprint { font-size: .84rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.hp-field { display: none !important; } /* honeypot spam trap — hidden from real users */

/* ------------------ Footer ------------------ */
.site-footer { background: var(--navy-deep); color: #b9c9d6; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.brand-footer { color: #fff; margin-bottom: 16px; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: var(--blue-bright); }
.footer-brand p { font-size: .95rem; color: #93a8b8; margin-bottom: 16px; max-width: 320px; }
.footer-phone { display: inline-block; font-family: var(--ff-head); font-weight: 700; font-size: 1.2rem; color: #fff; }
.footer-phone:hover { color: var(--blue-bright); }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: .3px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a, .footer-col li { color: #a9bccb; font-size: .93rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .84rem; color: #7d92a3; }

/* ------------------ Mobile sticky call bar ------------------ */
.mobile-call-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  align-items: center; justify-content: center; gap: 10px;
  background: var(--green); color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem;
  padding: 15px; box-shadow: 0 -6px 20px rgba(10,37,64,.2);
}
.mobile-call-bar svg { flex: none; }

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

/* ------------------ Responsive ------------------ */
@media (max-width: 980px) {
  .cards-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .areas-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-media { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 820px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 2px; background: #fff; padding: 14px 18px 22px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .3s ease; pointer-events: none;
  }
  .main-nav.open { transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 13px 12px; font-size: 1.05rem; border-radius: 10px; }
  .main-nav .mnav-call {
    margin-top: 8px; background: var(--green); color: #fff; text-align: center; font-weight: 700;
  }
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 58px; }
  .trust-bar { padding-bottom: 26px; }
}

@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .cards-grid, .why-grid, .gallery-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .about-highlights, .areas-list { grid-template-columns: 1fr; }
  .areas-list { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 68px 0 110px; }
  .hero-sub { font-size: 1.08rem; }
  .hero-buttons .btn { flex: 1 1 auto; }
  .contact-form-wrap { padding: 26px 20px; }
}

/* ------------------ Reduced motion ------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .map-pin svg { animation: none; }
}
