/* Sassy Cleaning Services — light and bright, matched to the navy + teal logo */
:root {
  --paper: #ffffff;
  --mist: #eef8fa;
  --sky: #cfeaf0;
  --sapphire: #0a3d7a;
  --sapphire-deep: #032d5d;
  --ink: #0d2240;
  --muted: #4f6378;
  --sass: #0692ab;
  --line: #d3e3ea;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sapphire); text-underline-offset: 3px; }
a:hover { color: var(--sapphire-deep); text-decoration-color: var(--sass); }
:focus-visible { outline: 3px solid var(--sass); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.4rem;
  border: 2px solid var(--sapphire);
  border-radius: 999px;
  background: var(--sapphire);
  color: #fff;
  font: 600 1rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn:hover { background: var(--sapphire-deep); border-color: var(--sapphire-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--sapphire); }
.btn-ghost:hover { background: var(--mist); color: var(--sapphire-deep); }
.btn-small { padding: .55rem 1rem; font-size: .95rem; }

/* Header */
.bar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 86px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand img { height: 64px; width: auto; }
.wordmark { font: 800 1.35rem/1 var(--display); letter-spacing: -.01em; color: var(--sapphire); }
.bar-nav { display: flex; align-items: center; gap: 1.4rem; }
.bar-nav > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.bar-nav > a:not(.btn):hover { color: var(--sapphire); }
.bar-phone { font-weight: 600 !important; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 85% 10%, var(--sky) 0%, transparent 70%),
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%);
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 3rem; align-items: center; }
.hero-kicker { margin: 0 0 1rem; color: var(--sapphire); font-weight: 600; font-size: 1.05rem; }
.hero-title {
  margin: 0;
  font: 800 clamp(2.7rem, 7.2vw, 5.4rem)/.98 var(--display);
  letter-spacing: -.035em;
  max-width: 13ch;
}
.hero-tag { margin: 1.4rem 0 0; font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* The one moment: a squeegee wipes fog off the headline on load */
.wipe { display: block; position: relative; }
.wipe::after {
  content: ""; position: absolute; inset: -.12em -.25em;
  background:
    repeating-linear-gradient(100deg, rgba(255,255,255,.35) 0 14px, rgba(210,236,242,.3) 14px 30px),
    rgba(235,246,249,.94);
  border-radius: 12px;
  clip-path: inset(0 0 0 0);
  animation: fog-off 1.15s .35s cubic-bezier(.65,.05,.3,1) forwards;
  pointer-events: none;
}
.wipe::before {
  content: ""; position: absolute; z-index: 2;
  top: -.2em; bottom: -.2em; left: -.25em;
  width: 12px; border-radius: 8px;
  background: var(--sapphire);
  box-shadow: -5px 0 0 var(--sass);
  animation: blade 1.15s .35s cubic-bezier(.65,.05,.3,1) forwards;
  pointer-events: none;
}
@keyframes fog-off { to { clip-path: inset(0 0 0 100%); } }
@keyframes blade {
  0%   { left: -.25em; opacity: 1; }
  88%  { opacity: 1; }
  100% { left: calc(100% + .25em - 12px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wipe::after, .wipe::before { display: none; }
}

.hero-pane { display: flex; justify-content: center; }
.facet { width: min(300px, 100%); filter: drop-shadow(0 24px 40px rgba(3,45,93,.18)); }
.f-base { fill: var(--sapphire-deep); }
.f-a { fill: #3fb6cc; } .f-b { fill: #8fd6e3; } .f-c { fill: #0a7fa0; } .f-d { fill: #c7ecf3; }
.f-e { fill: #0a5a8c; } .f-f { fill: #0692ab; } .f-g { fill: #032d5d; }
.glint { fill: var(--sass); } .g2 { fill: #8fd6e3; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint { background: var(--mist); }
.h2 { margin: 0 0 1rem; font: 700 clamp(2rem, 4.2vw, 3rem)/1.05 var(--display); letter-spacing: -.025em; max-width: 20ch; }
.lede { margin: 0 0 2.5rem; color: var(--muted); font-size: 1.15rem; max-width: 60ch; }

.spaces {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 3rem;
}
.spaces li {
  display: grid; gap: .2rem;
  padding: 1.15rem 0 1.15rem 1.1rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.spaces li::before {
  content: ""; position: absolute; left: 0; top: 1.55rem;
  width: 7px; height: 7px; background: var(--sass); transform: rotate(45deg);
}
.spaces strong { font: 700 1.2rem/1.3 var(--display); }
.spaces span { color: var(--muted); }

.steps {
  list-style: none; counter-reset: step; margin: 2rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.steps li { counter-increment: step; position: relative; padding-top: 3.6rem; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 2.7rem; height: 2.7rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--sapphire); color: var(--sapphire);
  font: 800 1.15rem/1 var(--display);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 1.35rem; left: 3.2rem; right: -1rem;
  border-top: 2px dashed var(--sky);
}
.steps h3 { margin: 0 0 .4rem; font: 700 1.2rem/1.25 var(--display); }
.steps p { margin: 0; color: var(--muted); }

.promises { margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 3rem; }
.promises div { border-left: 3px solid var(--sky); padding-left: 1rem; }
.promises dt { font: 700 1.15rem/1.3 var(--display); }
.promises dd { margin: .3rem 0 0; color: var(--muted); }

/* Quote */
.quote { background: linear-gradient(180deg, var(--paper), var(--mist)); }
.quote-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.quote-intro p { color: var(--muted); max-width: 36ch; }
.quote-call a { font-weight: 600; }
.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid; gap: 1rem;
  box-shadow: 0 18px 50px -24px rgba(3,45,93,.30);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: .75rem .85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.4 var(--body);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--sapphire); box-shadow: 0 0 0 3px var(--sky);
}
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: var(--radius-lg); padding: 1.5rem; }
.notice h3 { margin: 0 0 .4rem; font: 700 1.4rem/1.2 var(--display); }
.notice p { margin: 0; }
.notice-ok { background: var(--paper); border: 2px solid var(--sapphire); }
.notice-err { background: #fdf2f2; border: 1.5px solid #d4506a; padding: .9rem 1rem; border-radius: var(--radius-sm); }

/* Footer */
.foot { background: var(--mist); border-top: 1px solid var(--line); padding: 3rem 0; color: var(--muted); font-size: .98rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.foot p { margin: 0 0 .4rem; }
.foot-name { font: 700 1.2rem/1.3 var(--display); color: var(--ink); }
.foot address { font-style: normal; }
.foot-small { font-size: .9rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-pane { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .promises { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brand img { height: 46px; }
  .bar-nav > a:not(.btn):not(.bar-phone) { display: none; }
  .bar-phone { display: none; }
  .spaces, .steps, .promises, .field-row { grid-template-columns: 1fr; }
}
