/* J&B Solutions Pressure Washing — site stylesheet */

:root{
  --bg: #060a12;
  --bg-alt: #0a0f1c;
  --panel: #0d1424;
  --line: rgba(255,255,255,.10);
  --white: #f4f7fc;
  --muted: #9aa7c2;
  --blue: #2f7dff;
  --blue-light: #6fb0ff;
  --blue-deep: #0d2a73;
  --navy: #0a1638;
  --font-head: 'Poppins', 'Arial Black', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
  --photo-filter: contrast(1.08) saturate(.85) brightness(.92);
  --section-pad: 120px;
}

@media (max-width: 768px){
  :root{ --section-pad: 72px; }
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--white);
  font-family:var(--font-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--font-body); font-weight:800; margin:0 0 .5em; letter-spacing:-0.015em; }
h1,h2{ font-family:var(--font-head); }
p{ margin:0 0 1em; color:var(--muted); }
.container{ max-width:1200px; margin:0 auto; padding:0 24px; }
.eyebrow{
  display:inline-block; text-transform:uppercase; letter-spacing:.14em;
  font-size:.78rem; font-weight:700; color:var(--blue-light);
  margin-bottom:14px;
}
.accent{ color:var(--blue-light); }
section{ padding:var(--section-pad) 0; position:relative; }

/* ---------- Buttons ---------- */
.btn{
  position:relative;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:16px 32px;
  font-family:var(--font-head); font-weight:700; font-size:.92rem;
  letter-spacing:.04em; text-transform:uppercase;
  border:2px solid var(--blue);
  color:var(--white);
  background:transparent;
  border-radius:4px;
  isolation:isolate;
  overflow:hidden;
  cursor:pointer;
  transition:color .35s ease, transform .25s ease, box-shadow .25s ease;
}
.btn::before{
  content:"";
  position:absolute; inset:0; z-index:-1;
  background:var(--blue);
  transform:scaleX(0); transform-origin:left;
  transition:transform .38s cubic-bezier(.65,0,.35,1);
}
.btn:hover{ transform:translateY(-2px); box-shadow:0 10px 26px rgba(47,125,255,.35); }
.btn:hover::before{ transform:scaleX(1); }
.btn--solid{ background:var(--blue); border-color:var(--blue); }
.btn--solid::before{ background:#fff; }
.btn--solid:hover{ color:var(--navy); }
.btn--ghost-white{ border-color:rgba(255,255,255,.5); }
.btn--ghost-white::before{ background:#fff; }
.btn--ghost-white:hover{ color:var(--navy); }
.btn--sm{ padding:11px 22px; font-size:.78rem; }

/* ---------- Header / Nav ---------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:200;
  background:rgba(8,12,20,.96);
  border-bottom:1px solid var(--line);
  transform:translateZ(0);
  will-change:transform;
}
.nav{
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center;
  padding:12px 28px; max-width:1320px; margin:0 auto; height:64px;
}
.nav__logo{ justify-self:start; }
.nav__right{ justify-self:end; }
.nav__logo{ display:flex; align-items:center; gap:12px; }
.nav__logo img{ height:46px; width:46px; object-fit:cover; border-radius:50%; }
.nav__logo-text{ font-family:var(--font-head); font-weight:800; font-size:1.05rem; line-height:1.1; white-space:nowrap; }
.nav__logo-text span{ display:block; font-size:.65rem; font-weight:600; letter-spacing:.12em; color:var(--blue-light); text-transform:uppercase; }
.nav__links{ display:flex; align-items:center; gap:34px; }
.nav__links a{
  font-family:var(--font-head); font-weight:600; font-size:.8rem;
  text-transform:uppercase; letter-spacing:.04em; color:var(--white);
  position:relative; padding:6px 0;
}
.nav__links a::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:2px;
  background:var(--blue-light); transition:width .25s ease;
}
.nav__links a:hover::after{ width:100%; }
.nav__right{ display:flex; align-items:center; }
.nav__mobile-call{ display:none; }
.nav__toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:6px; }
.nav__toggle span{ width:26px; height:2px; background:var(--white); display:block; }

.dropdown{ position:relative; }
.dropdown__menu{
  position:absolute; top:calc(100% + 18px); left:50%; transform:translateX(-50%) translateY(8px);
  background:var(--panel); border:1px solid var(--line); border-radius:8px;
  min-width:220px; padding:10px; opacity:0; pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
  box-shadow:0 20px 40px rgba(0,0,0,.45);
}
.dropdown__menu::before{
  /* invisible bridge so the cursor stays "inside" .dropdown while crossing
     the visual gap between the nav link and the menu below it */
  content:""; position:absolute; left:0; right:0; top:-18px; height:18px;
}
.dropdown:hover .dropdown__menu{ opacity:1; pointer-events:auto; transform:translateX(-50%) translateY(0); }
.dropdown__menu a{
  display:block; padding:10px 12px; border-radius:5px; font-size:.82rem;
  text-transform:none; letter-spacing:0; font-weight:500; color:var(--muted);
}
.dropdown__menu a:hover{ background:rgba(47,125,255,.12); color:var(--white); }
.dropdown__menu a::after{ display:none; }

@media (max-width: 960px){
  .nav{ display:flex; justify-content:space-between; }
  .nav__links{
    position:fixed; top:80px; left:0; right:0; bottom:0;
    background:var(--bg-alt); flex-direction:column; align-items:flex-start;
    padding:30px 28px; gap:0; transform:translateX(100%);
    transition:transform .3s ease; overflow-y:auto;
  }
  .nav__links.is-open{ transform:translateX(0); }
  .nav__links a{ padding:16px 0; width:100%; border-bottom:1px solid var(--line); }
  .nav__links a.nav__mobile-call{ display:inline-flex; justify-content:center; border-bottom:0; padding:14px 32px; margin-top:16px; }
  .dropdown__menu{
    position:static; transform:none; opacity:1; pointer-events:auto;
    display:none; box-shadow:none; border:0; background:transparent; padding:0 0 0 14px;
    min-width:0;
  }
  .dropdown.is-open .dropdown__menu{ display:block; }
  .nav__toggle{ display:flex; }
  .nav__right{ display:none; }
}
@media (max-width: 420px){
  .nav__logo-text{ font-size:.9rem; }
  .nav__logo img{ height:42px; width:42px; }
}

/* ---------- Hero (grime-wash scroll effect) ---------- */
/* .hero is tall so there's scroll room for the wash; .hero__pin sticks to the
   viewport for that scroll range so the wash line tracks the viewport, not the page. */
.hero{ position:relative; height:190vh; padding:0; }
.hero__pin{
  position:sticky; top:0; height:100vh; height:100dvh;
  display:flex; align-items:center; overflow:hidden; padding-top:90px;
}
.hero__layer{
  /* both photos are the same wall/drainpipe/grass-line at this framing, so the
     before/after seam lines up instead of jumping between two different crops */
  position:absolute; inset:0; z-index:0; background-size:cover; background-position:50% 70%;
}
.hero__layer--dirty{
  background-image:url('../img/before.jpg');
  filter:var(--photo-filter) grayscale(.15) sepia(.25);
}
.hero__layer--clean{
  background-image:url('../img/after.jpg');
  filter:var(--photo-filter);
  clip-path:inset(0 0 100% 0);
}
.hero__wash-line{
  position:absolute; left:0; right:0; top:0; z-index:1; height:14px;
  transform:translateY(-50%);
  background:linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(180,220,255,.9) 40%, var(--blue) 55%, rgba(180,220,255,.9) 70%, rgba(255,255,255,0) 100%);
  box-shadow:0 0 34px 10px rgba(47,125,255,.7), 0 0 90px 18px rgba(47,125,255,.4);
  filter:blur(1.5px);
  transition:opacity .25s ease;
}
.hero__scrim{ position:absolute; inset:0; z-index:1; background:linear-gradient(180deg, rgba(6,10,18,.72) 0%, rgba(6,10,18,.55) 40%, rgba(6,10,18,.92) 100%); }
.hero__content{ position:relative; z-index:2; width:100%; }
.hero__logo{ width:64px; height:64px; border-radius:50%; overflow:hidden; margin-bottom:14px; border:2px solid rgba(255,255,255,.25); background:#fff; }
.hero__logo img{ width:100%; height:100%; object-fit:cover; }
.hero__type{ font-family:var(--font-head); font-weight:700; color:var(--blue-light); font-size:clamp(.88rem,1.5vw,1.02rem); margin-bottom:10px; display:flex; align-items:center; }
.hero__type-caret{ display:inline-block; width:2px; height:1.1em; background:var(--blue-light); margin-left:3px; animation:blink 1s step-end infinite; }
@keyframes blink{ 50%{ opacity:0; } }
.hero h1{ font-size:clamp(2rem,3.8vw,3.2rem); max-width:720px; margin-bottom:16px; }
.hero p.lede{ max-width:520px; font-size:.96rem; color:#dbe3f2; }
.hero__ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-top:22px; }
.hero__wash-hint{ position:absolute; bottom:22px; left:0; right:0; z-index:2; text-align:center; font-size:.7rem; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); }

/* trust cards over hero */
.trust-row{ position:relative; z-index:2; display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.trust-card{
  background:rgba(6,10,18,.66); border:1px solid var(--line); border-left:3px solid var(--blue);
  padding:12px 16px; min-width:190px; backdrop-filter:blur(6px); border-radius:4px;
}
.trust-card b{ display:block; font-family:var(--font-head); font-size:.86rem; margin-bottom:3px; }
.trust-card span{ font-size:.76rem; color:var(--muted); }

/* ---------- Marquee ---------- */
.marquee{ background:var(--blue); overflow:hidden; padding:14px 0; white-space:nowrap; }
.marquee__track{ display:inline-flex; gap:40px; animation:scroll-left 32s linear infinite; }
.marquee__track span{ font-family:var(--font-head); font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:var(--navy); font-size:.95rem; }
@keyframes scroll-left{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

/* ---------- Section headers ---------- */
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(2rem,4vw,2.9rem); }

/* ---------- Reveal ---------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ---------- Services grid ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.service-card{
  background:var(--panel); border:1px solid var(--line); border-radius:10px; overflow:hidden;
  transition:transform .3s ease, border-color .3s ease;
}
.service-card:hover{ transform:translateY(-6px); border-color:var(--blue); }
.service-card__img{ height:210px; overflow:hidden; position:relative; }
.service-card__img img{ width:100%; height:100%; object-fit:cover; filter:var(--photo-filter); transition:transform .5s ease; }
.service-card:hover .service-card__img img{ transform:scale(1.06); }
.service-card__body{ padding:24px; }
.service-card__body h3{ font-size:1.2rem; margin-bottom:10px; }
.service-card__body a{ color:var(--blue-light); font-weight:700; font-size:.82rem; text-transform:uppercase; letter-spacing:.05em; }

.bento{ display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:170px; gap:18px; }
.bento .service-card{ grid-column:span 1; grid-row:span 1; }
.bento .service-card.is-featured{ grid-column:span 2; grid-row:span 2; }
.bento .service-card__img{ height:100%; }
.bento .service-card{ position:relative; display:flex; }
.bento .service-card__img{ position:absolute; inset:0; }
.bento .service-card__body{ position:relative; z-index:1; margin-top:auto; padding:20px; background:linear-gradient(180deg, transparent, rgba(3,6,12,.92) 78%); width:100%; }

/* ---------- Testimonials carousel ---------- */
.stars{ color:var(--blue-light); letter-spacing:2px; margin-bottom:10px; }
.carousel{ display:flex; gap:22px; overflow-x:auto; padding:8px 4px 26px; scroll-snap-type:x mandatory; }
.carousel::-webkit-scrollbar{ height:6px; }
.carousel::-webkit-scrollbar-thumb{ background:var(--blue); border-radius:6px; }
.t-card{
  flex:0 0 340px; scroll-snap-align:start; background:var(--panel); border:1px solid var(--line);
  border-radius:10px; padding:28px;
}
.t-card p{ color:var(--white); font-style:italic; }
.t-card b{ font-family:var(--font-head); font-size:.9rem; }
.t-card small{ color:var(--muted); }

/* ---------- Why us ---------- */
.why-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.why-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:22px; }
.why-list li{ display:flex; gap:16px; }
.why-list b{ display:block; font-family:var(--font-head); margin-bottom:4px; }
.why-num{
  flex:none; width:42px; height:42px; border:2px solid var(--blue); border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-weight:800; color:var(--blue-light);
}
.why-media{ position:relative; border-radius:12px; overflow:hidden; aspect-ratio:4/5; }
.why-media img{ width:100%; height:100%; object-fit:cover; filter:var(--photo-filter); }

/* ---------- Before/After slider ---------- */
.ba-slider{
  position:relative; max-width:900px; margin:0 auto; aspect-ratio:4/3; border-radius:12px;
  overflow:hidden; border:1px solid var(--line); user-select:none; touch-action:pan-y;
  box-shadow:0 30px 60px rgba(0,0,0,.5);
}
.ba-slider img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:var(--photo-filter); }
.ba-slider__after{ z-index:1; }
.ba-slider__before{ z-index:2; clip-path:inset(0 50% 0 0); }
.ba-tag{ position:absolute; top:16px; z-index:3; background:rgba(6,10,18,.75); border:1px solid var(--line); padding:6px 14px; border-radius:20px; font-family:var(--font-head); font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; }
.ba-tag--before{ left:16px; }
.ba-tag--after{ right:16px; }
.ba-slider__handle{
  position:absolute; top:0; bottom:0; left:50%; z-index:4; width:0;
  transform:translateX(-50%); display:flex; align-items:center; justify-content:center;
}
.ba-slider__line{ position:absolute; top:0; bottom:0; left:0; width:3px; background:var(--blue); transform:translateX(-50%); box-shadow:0 0 14px rgba(47,125,255,.8); }
.ba-slider__grip{
  flex:none; width:52px; height:52px; border-radius:50%; background:var(--blue); border:3px solid var(--white);
  display:flex; align-items:center; justify-content:center; cursor:ew-resize; box-shadow:0 6px 20px rgba(0,0,0,.4);
  color:var(--white);
}
.ba-slider__grip svg{ pointer-events:none; }
.ba-slider__range{ position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:ew-resize; z-index:5; }

/* ---------- Gallery ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.gallery-item{ position:relative; border-radius:8px; overflow:hidden; aspect-ratio:4/3; }
.gallery-item img{ width:100%; height:100%; object-fit:cover; filter:var(--photo-filter); transition:transform .5s ease; }
.gallery-item:hover img{ transform:scale(1.08); }
.gallery-item__tag{
  position:absolute; left:12px; bottom:12px; background:rgba(6,10,18,.75); border:1px solid var(--line);
  padding:5px 12px; border-radius:16px; font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; font-family:var(--font-head);
}

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; background:none; border:0; color:var(--white); text-align:left; padding:22px 0;
  display:flex; justify-content:space-between; align-items:center; cursor:pointer;
  font-family:var(--font-head); font-weight:700; font-size:1.05rem;
}
.faq-q::after{ content:"+"; font-size:1.6rem; color:var(--blue-light); transition:transform .3s ease; }
.faq-item.is-open .faq-q::after{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-item.is-open .faq-a{ max-height:240px; }
.faq-a p{ padding-bottom:22px; margin:0; }

/* ---------- Locations ---------- */
.loc-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.loc-card{
  background:var(--panel); border:1px solid var(--line); border-radius:10px; padding:26px 22px;
  transition:border-color .3s ease, transform .3s ease;
}
.loc-card:hover{ border-color:var(--blue); transform:translateY(-4px); }
.loc-card b{ font-family:var(--font-head); display:block; margin-bottom:6px; font-size:1.05rem; }
.loc-card span{ font-size:.8rem; color:var(--muted); }
.loc-card.is-home{ border-color:var(--blue); background:linear-gradient(145deg, rgba(47,125,255,.16), var(--panel)); }
.loc-card.is-home::before{ content:"HOME BASE"; display:inline-block; font-size:.62rem; letter-spacing:.1em; background:var(--blue); color:var(--navy); padding:3px 8px; border-radius:10px; font-weight:800; margin-bottom:10px; }

.map-banner{
  border:1px solid var(--line); border-radius:12px; padding:40px; text-align:center;
  background:radial-gradient(circle at 50% 0%, rgba(47,125,255,.14), transparent 70%);
}

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(120deg, var(--navy), var(--blue-deep));
  border-radius:16px; padding:64px 40px; text-align:center; margin:0 24px;
  border:1px solid rgba(255,255,255,.08);
}
.cta-band h2{ font-size:clamp(1.8rem,4vw,2.6rem); }
.cta-band .btn{ margin-top:10px; }

/* ---------- Contact ---------- */
.contact-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:60px; }
.form-field{ margin-bottom:20px; }
.form-field label{ display:block; font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:8px; }
.form-field input, .form-field select, .form-field textarea{
  width:100%; background:var(--panel); border:1px solid var(--line); border-radius:6px;
  padding:14px 16px; color:var(--white); font-family:var(--font-body); font-size:.95rem;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ outline:none; border-color:var(--blue); }
.form-field textarea{ resize:vertical; min-height:130px; }
.contact-info-card{ background:var(--panel); border:1px solid var(--line); border-radius:10px; padding:32px; }
.contact-info-card .row{ display:flex; gap:14px; margin-bottom:22px; align-items:flex-start; }
.contact-info-card .row b{ display:block; font-family:var(--font-head); }
.form-note{ font-size:.78rem; color:var(--muted); margin-top:10px; }
.form-success{ display:none; background:rgba(47,125,255,.12); border:1px solid var(--blue); padding:16px 18px; border-radius:8px; margin-bottom:20px; }
.form-success.is-visible{ display:block; }

/* ---------- Breadcrumb / page hero ---------- */
.page-hero{
  padding:170px 0 70px; text-align:center; position:relative; overflow:hidden;
  background:linear-gradient(180deg, var(--bg-alt), var(--bg));
}
.page-hero::before{
  content:""; position:absolute; inset:0; background:radial-gradient(circle at 50% 0%, rgba(47,125,255,.16), transparent 60%);
}
.page-hero .eyebrow{ position:relative; }
.page-hero h1{ position:relative; font-size:clamp(2.2rem,5vw,3.6rem); }
.breadcrumb{ position:relative; font-size:.82rem; color:var(--muted); margin-top:14px; }
.breadcrumb a{ color:var(--blue-light); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--bg-alt); border-top:1px solid var(--line); padding:70px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:50px; }
.footer-grid h4{ font-size:.95rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:18px; color:var(--blue-light); }
.footer-grid ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.footer-grid ul a{ color:var(--muted); font-size:.9rem; }
.footer-grid ul a:hover{ color:var(--white); }
.footer-brand img{ height:56px; margin-bottom:14px; }
.footer-brand p{ font-size:.88rem; max-width:280px; }
.footer-bottom{
  border-top:1px solid var(--line); padding-top:26px; display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:10px; font-size:.8rem; color:var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px){
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .bento{ grid-template-columns:repeat(2,1fr); }
  .bento .service-card.is-featured{ grid-column:span 2; grid-row:span 1; height:220px; }
  .why-grid{ grid-template-columns:1fr; }
  .contact-wrap{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
  .loc-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 600px){
  .services-grid{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:1fr; }
  .loc-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .hero__ctas{ flex-direction:column; align-items:stretch; }
  .hero__ctas .btn{ text-align:center; }

  /* Mobile hero: tighter type scale + a horizontally-scrolling trust row so
     everything fits inside the pinned 100dvh viewport without overflowing. */
  .hero__pin{ padding-top:76px; }
  .hero__type{ font-size:.78rem; margin-bottom:8px; }
  .hero h1{ font-size:1.9rem; margin-bottom:12px; line-height:1.15; }
  .hero p.lede{ font-size:.86rem; margin-bottom:0; }
  .hero__ctas{ margin-top:16px; gap:10px; }
  .hero__ctas .btn{ padding:13px 20px; font-size:.8rem; }
  .trust-row{
    flex-wrap:nowrap; overflow-x:auto; margin-top:18px; gap:10px;
    -webkit-overflow-scrolling:touch; padding-bottom:4px;
  }
  .trust-card{ flex:none; min-width:168px; padding:10px 14px; }
  .hero__wash-hint{ display:none; }

  /* Portrait phone viewports don't crop the tall source photos the way a wide
     desktop viewport does under background-size:cover, so the two photos no
     longer land on the same matched band — force a tighter, matched zoom. */
  .hero__layer{ background-size:300% auto; background-position:50% 76%; }
}
