/* ============================================================
   BlueRise Pressure Washing — bespoke styles
   Square corners. Light contractor base. Gulf-coast editorial.
   ============================================================ */

:root {
  --ink: #0a1826;
  --ink-2: #43606f;
  --base: #f2f7fb;
  --paper: #ffffff;
  --blue: #0b82e6;        /* reserved CTA / brand */
  --blue-deep: #0a4c8a;
  --navy: #07223b;        /* dark accent band + footer */
  --cyan: #35b7ff;        /* highlight word */
  --line: rgba(10, 24, 38, .14);
  --line-2: rgba(10, 24, 38, .07);
  --pad: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  background: var(--base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { display: block; max-width: 100%; }

h1, h2, h3 { font-family: 'Archivo', sans-serif; letter-spacing: -.03em; margin: 0; }
h1 { font-weight: 800; line-height: .92; }
h2 { font-weight: 700; line-height: .98; }

.hl { color: var(--cyan); }
.eyebrow {
  margin: 0 0 1.1rem; font-size: .74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em; color: var(--blue-deep);
}
.eyebrow-light { color: rgba(255, 255, 255, .8); }

/* faint texture on the light base */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 40vw at 82% -5%, rgba(11, 130, 230, .07), transparent 60%),
    radial-gradient(50vw 40vw at -10% 105%, rgba(11, 130, 230, .06), transparent 60%);
}

/* ---------- Buttons (square, flat, alive on interaction) ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; border: 1.5px solid transparent; border-radius: 0;
  padding: .82rem 1.35rem; font-weight: 600; font-size: .92rem;
  cursor: pointer; white-space: nowrap;
  background: var(--bg); color: var(--fg);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 4px 4px 0 var(--navy); }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--navy); }
.btn-primary:active { transform: translate(0, 0); box-shadow: 2px 2px 0 var(--navy); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; flex: none; }
.wm-name { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: -.04em; }
.wm-name span { color: var(--blue); }
.wm-sub { margin-top: .28rem; font-size: .58rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); }
.wordmark-light .wm-name { color: #fff; }
.wordmark-light .wm-name span { color: var(--cyan); }
.wordmark-light .wm-sub { color: rgba(255, 255, 255, .6); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 40;
  height: 78px; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.hdr .wm-name { color: #fff; }
.hdr .wm-name span { color: var(--cyan); }
.hdr .wm-sub { color: rgba(255, 255, 255, .7); }
.hdr.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(7, 34, 59, .07);
}
.hdr.scrolled .wm-name { color: var(--ink); }
.hdr.scrolled .wm-name span { color: var(--blue); }
.hdr.scrolled .wm-sub { color: var(--ink-2); }
.hdr.scrolled .nav > a { color: var(--ink); }
.hdr.scrolled .nav-call { border-color: var(--line); }
.nav { display: flex; align-items: center; gap: 1.6rem; font-size: .9rem; font-weight: 500; }
.nav > a { color: #fff; }
.nav .btn { font-size: .84rem; }
.hdr.scrolled .nav .btn-primary { color: #fff; }
.burger { display: none; background: none; border: 0; padding: .7rem; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: background .3s; }
.hdr.scrolled .burger span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100dvh; display: flex; align-items: flex-end;
  padding: 8rem var(--pad) clamp(3rem, 7vh, 5.5rem); overflow: hidden;
  color: #fff; background: var(--navy);
}
.hero-img, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  background:
    linear-gradient(90deg, rgba(4, 24, 45, .9) 0%, rgba(5, 34, 60, .62) 42%, rgba(6, 40, 70, .18) 78%),
    linear-gradient(0deg, rgba(4, 18, 34, .78), transparent 55%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
}
.hero-copy { max-width: 780px; }
.hero h1 { font-size: clamp(3.5rem, 9.5vw, 8.2rem); }
.lede { max-width: 540px; margin: 1.7rem 0 2.2rem; font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: rgba(255, 255, 255, .9); }
.lede b { color: #fff; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-tag {
  flex: none; text-align: right; padding: 1.1rem 1.25rem;
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-left: 3px solid var(--cyan);
  background: rgba(4, 24, 45, .35); backdrop-filter: blur(4px);
}
.hero-tag-k { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.hero-tag-v { display: block; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.4rem; margin-top: .2rem; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy); color: #fff; overflow: hidden;
  padding: .95rem 0; border-top: 1px solid rgba(255, 255, 255, .1);
}
.marquee-track {
  width: max-content; display: flex; align-items: center; gap: 1.5rem;
  animation: marquee 32s linear infinite;
  font-family: 'Archivo', sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; font-size: .82rem;
}
.marquee i { width: 6px; height: 6px; background: var(--cyan); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section rhythm ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) var(--pad); }
.rail-head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.rail-idx {
  display: inline-block; margin-bottom: 1.4rem; padding-bottom: .5rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-deep); border-bottom: 2px solid var(--blue);
}
.rail-head h2 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
.rail-head-light .rail-idx { color: #fff; }
.rail-idx-light { color: #fff !important; border-bottom-color: var(--cyan) !important; }
.rail-head-light h2 { color: #fff; }

/* ---------- Intro + stats ---------- */
.intro-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
.intro-copy h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.intro-lede { margin: 1.6rem 0 0; color: var(--ink-2); max-width: 46ch; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.stat {
  border: 1.5px solid var(--ink); background: var(--paper);
  padding: 1.3rem 1.4rem; box-shadow: 7px 7px 0 var(--blue);
  display: flex; flex-direction: column;
}
.stat:nth-child(2) { box-shadow: -7px 7px 0 var(--navy); }
.stat:nth-child(3) { box-shadow: 7px 7px 0 var(--cyan); }
.stat-num { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; color: var(--blue-deep); }
.stat-label { margin-top: .55rem; font-size: .86rem; color: var(--ink-2); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.svc-card {
  position: relative; background: var(--paper); border: 1.5px solid var(--line);
  padding: 2.2rem 2rem 2.6rem; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.svc-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--blue); border-color: var(--ink); }
.svc-n { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--blue); letter-spacing: .05em; }
.svc-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: .9rem 0 .8rem; }
.svc-card p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.svc-mark {
  position: absolute; right: 1.6rem; bottom: 1.5rem; font-size: 1.25rem; color: var(--blue);
  opacity: 0; transform: translateX(-6px); transition: .22s;
}
.svc-card:hover .svc-mark { opacity: 1; transform: none; }
.svc-photo { position: relative; grid-column: 1 / -1; border: 1.5px solid var(--ink); overflow: hidden; min-height: 260px; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 78%; min-height: 260px; }
.svc-photo-tag {
  position: absolute; left: 0; bottom: 0; max-width: 460px;
  padding: 1.1rem 1.4rem; background: var(--navy); color: #fff;
  font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 1.05rem;
  border-top: 3px solid var(--cyan);
}

/* ---------- Process (photo band) ---------- */
.process { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.process-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.process-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 26, 47, .82), rgba(5, 22, 40, .92)); }
.process-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) var(--pad); }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
  border-top: 3px solid var(--cyan); padding: 1.7rem 1.5rem 2rem; backdrop-filter: blur(3px);
}
.step-n { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 2rem; color: var(--cyan); line-height: 1; }
.step h3 { font-size: 1.2rem; margin: 1rem 0 .6rem; }
.step p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .9rem; }

/* ---------- Why (dark accent band) ---------- */
.why { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--navy); color: #fff; }
.why-visual {
  display: grid; place-items: center; padding: clamp(3rem, 6vw, 5rem);
  background: radial-gradient(circle at 50% 40%, #0f5ca8 0, #0a3f77 48%, #06233d 100%);
  border-right: 1px solid rgba(255, 255, 255, .1);
}
/* the ONE deliberate feature-frame radius exception on the page */
.why-visual img {
  width: min(70%, 340px); aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 70px rgba(0, 12, 30, .5);
}
.why-copy { padding: clamp(3.5rem, 7vw, 6.5rem) var(--pad); }
.statement { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 2.8rem; }
.why-points { display: grid; gap: 1.6rem; }
.why-points article { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 1rem; }
.why-points span { display: block; font-family: 'Archivo', sans-serif; font-weight: 700; color: var(--cyan); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .55rem; }
.why-points p { margin: 0; color: rgba(255, 255, 255, .8); font-size: .95rem; }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.area-map { background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 10px 10px 0 var(--blue); padding: .5rem; }
.area-map svg { width: 100%; height: auto; display: block; }
.area-map .dots circle { fill: var(--blue); }
.area-map .dots circle.hq { fill: var(--navy); stroke: var(--cyan); stroke-width: 3; }
.area-map .dots text { font-family: 'Inter', sans-serif; font-size: 9px; font-weight: 600; fill: var(--ink); }
.area-map .dots text.hq-t { font-weight: 700; fill: var(--navy); font-size: 10px; }
.area-lede { margin: 0 0 1.6rem; color: var(--ink-2); }
.area-list ul { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.area-list li {
  position: relative; padding-left: 1.4rem; font-weight: 600; font-size: 1rem;
}
.area-list li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--blue); transform: rotate(45deg); }
.area-note { margin: 0; color: var(--ink-2); font-size: .92rem; }
.area-note a { color: var(--blue-deep); font-weight: 700; border-bottom: 2px solid var(--blue); }

/* ---------- Quote ---------- */
.quote { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(2.5rem, 6vw, 6rem); background: var(--blue); color: #fff; max-width: none; }
.quote > * { max-width: var(--maxw); }
.quote { position: relative; overflow: hidden; }
.quote::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0, rgba(255, 255, 255, .12), transparent 60%); }
.quote-head, .quote-form { position: relative; z-index: 2; }
.quote-head h2 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); margin-bottom: 1.4rem; }
.quote-head .hl { color: #cdeeff; }
.quote-lede { color: rgba(255, 255, 255, .88); max-width: 40ch; }
.quote-phone { display: inline-block; margin-top: 1.6rem; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.3rem); color: #fff; border-bottom: 3px solid rgba(255, 255, 255, .5); }
.quote-phone:hover { border-bottom-color: #fff; }
.quote-form { align-self: center; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; background: var(--paper); color: var(--ink); border: 1.5px solid var(--navy); box-shadow: 12px 12px 0 var(--navy); padding: clamp(1.8rem, 3vw, 2.6rem); }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field-full { grid-column: 1 / -1; }
label { font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
input, select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 0; background: #fff;
  padding: .85rem .9rem; color: var(--ink); outline: none; transition: border-color .18s, box-shadow .18s;
}
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 130, 230, .18); }
.quote-form .btn { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: .8rem; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.ftr { background: var(--navy); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) var(--pad) clamp(2rem, 4vw, 3rem); }
.ftr-top { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ftr-slogan { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 2rem); margin: 0; color: rgba(255, 255, 255, .92); }
.ftr-bottom { max-width: var(--maxw); margin: 1.8rem auto 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ftr-phone { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.5rem; color: #fff; border-bottom: 3px solid var(--cyan); }
.ftr-bottom p { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* ---------- Sticky mobile call ---------- */
.mobile-call { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
  .why-visual { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .area-grid { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; }
  .hero-tag { display: none; }
}

@media (max-width: 720px) {
  .nav {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .5rem;
    padding: 1.25rem var(--pad) 1.75rem; background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .nav.open { display: flex; }
  .nav > a { color: #fff; padding: .6rem 0; }
  .nav .btn { justify-content: flex-start; }
  .nav .nav-call { color: #fff; border-color: rgba(255, 255, 255, .3); }
  .burger { display: block; }
  body { padding-bottom: 70px; }

  .svc-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .area-list ul { grid-template-columns: 1fr; }
  .hero { min-height: 640px; }
  .hero-img { object-position: 66% center; }
  .hero-actions .btn { flex: 1 1 auto; }
  .stat { box-shadow: 5px 5px 0 var(--blue) !important; }

  .mobile-call {
    position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: space-between;
    min-height: 70px; padding: .75rem var(--pad);
    background: #fff; color: var(--navy);
    border-top: 2px solid var(--blue); box-shadow: 0 -8px 30px rgba(7, 34, 59, .16);
  }
  .mobile-call span { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--ink-2); }
  .mobile-call b { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
