/* ============================================================
   Sweepless in Seattle — brand stylesheet
   Palette pulled from the brand art: navy + rose pink + cream,
   with a warm sunset-gold accent.
   ============================================================ */

:root {
  --navy:        #15264f;
  --navy-deep:   #0d1b3a;
  --navy-700:    #1d3160;
  --pink:        #ec6f9e;   /* bright brand pink — decorative / large text only */
  --pink-dark:   #b23a6e;   /* AA text + CTA bg with white (>=4.5:1) */
  --pink-darker: #94285b;   /* CTA hover */
  --pink-soft:   #f7c9da;
  --cream:       #f9f1e5;
  --cream-soft:  #fffaf2;
  --gold:        #f3b14e;
  --ink:         #14203a;
  --muted:       #5b6680;
  --white:       #ffffff;
  --line:        #e7ddcd;

  --shadow-sm: 0 2px 8px rgba(13, 27, 58, .08);
  --shadow:    0 14px 40px rgba(13, 27, 58, .12);
  --shadow-lg: 0 26px 60px rgba(13, 27, 58, .22);

  --radius:    18px;
  --radius-sm: 12px;
  --pill:      999px;

  --container: 1180px;
  --header-h:  76px;

  --font-script: "Pacifico", "Brush Script MT", cursive;
  --font-head:   "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:   "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  /* Safety net: nothing should ever scroll the page sideways on a phone.
     `clip` (not `hidden`) so the sticky header keeps sticking. */
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

img { max-width: 100%; display: block; }
a { color: var(--pink-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 1rem + 2.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

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

.section { padding: clamp(48px, 6vw, 92px) 0; }
.section--tint { background: var(--cream-soft); }
.section--navy { background: var(--navy); color: #e9eefb; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  font-size: .78rem;
  color: var(--pink-dark);
  margin: 0 0 .6rem;
}
.section--navy .eyebrow { color: var(--pink-soft); }

.section-head { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 52px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--navy .section-head p { color: #c7d2ea; }

/* ---------------- Buttons / CTAs ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .85em 1.5em; border-radius: var(--pill);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--pink-dark); color: #fff; box-shadow: 0 10px 24px rgba(178, 58, 110, .38); }
.btn-primary:hover { background: var(--pink-darker); color: #fff; box-shadow: 0 14px 30px rgba(178, 58, 110, .5); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

.btn-on-dark { background: #fff; color: var(--navy); }
.btn-on-dark:hover { background: var(--cream); color: var(--navy); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

.btn-sm { padding: .6em 1.1em; font-size: .9rem; min-height: 44px; }
.btn-lg { padding: 1em 1.8em; font-size: 1.08rem; }

/* ---------------- Top utility bar ---------------- */
.topbar { background: var(--navy-deep); color: #d7e0f5; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .topbar-area { display: inline-flex; align-items: center; gap: .45em; }
.topbar .call-now { display: inline-flex; align-items: center; gap: .45em; }
.topbar .call-now strong { color: var(--gold); letter-spacing: .02em; }

/* ---------------- Header / nav ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--header-h); }

.brand { display: inline-flex; flex-direction: column; line-height: .9; min-width: 0; flex-shrink: 0; }
.brand .brand-script { font-family: var(--font-script); font-size: 1.7rem; color: var(--pink); }
.brand .brand-city { font-family: var(--font-head); font-weight: 700; letter-spacing: .22em; font-size: .72rem; color: var(--navy); text-transform: uppercase; padding-left: 2px; }
.brand:hover { text-decoration: none; }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .96rem; }
.nav-links a:hover { color: var(--pink-dark); text-decoration: none; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-family: var(--font-head); font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: .4em; }
.nav-phone:hover { color: var(--pink-dark); text-decoration: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; border-radius: 10px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; position: relative; transition: .2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(13,27,58,.92) 0%, rgba(13,27,58,.74) 42%, rgba(13,27,58,.30) 100%);
}
.hero-inner { padding: clamp(54px, 8vw, 120px) 0 clamp(48px, 6vw, 96px); max-width: 660px; }
.hero .badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.hero .badge {
  display: inline-flex; align-items: center; gap: .45em;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  padding: .4em .85em; border-radius: var(--pill); font-size: .82rem; font-weight: 600; font-family: var(--font-head);
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.6rem); margin-bottom: .35em; }
.hero h1 .accent { color: var(--pink); }
.hero .tagline { font-family: var(--font-script); color: var(--pink-soft); font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); margin-bottom: .5em; }
.hero p.lead { font-size: 1.12rem; color: #dfe6f7; max-width: 33em; }
.hero .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero .service-pills { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.hero .service-pills span { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: #eaf0ff; }
.hero .service-pills .dot { color: var(--pink); }
.hero .stars { color: var(--gold); letter-spacing: 2px; }

/* ---------------- Benefits row ---------------- */
.benefits { background: var(--cream-soft); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.benefit { text-align: center; padding: 8px; }
.benefit .icon { width: 58px; height: 58px; margin: 0 auto 14px; color: var(--pink); background: #fde6ee; border-radius: 16px; display: grid; place-items: center; }
.benefit .icon svg { width: 30px; height: 30px; }
.benefit h3 { font-size: 1.08rem; margin-bottom: .25em; }
.benefit p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------------- Services grid ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon { width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: var(--pink-soft); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .96rem; flex: 1; }
.card .learn { margin-top: 14px; font-family: var(--font-head); font-weight: 700; color: var(--pink-dark); display: inline-flex; align-items: center; gap: .4em; }
.card .learn:hover { text-decoration: none; }
.card .learn .arrow { transition: transform .15s ease; }
.card .learn:hover .arrow { transform: translateX(3px); }

/* ---------------- Split / spotlight ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split.reverse .split-media { order: 2; }
/* height:auto is required: the <img> carries width/height attributes (for CLS),
   so without it the height attribute becomes a fixed CSS height and the image
   stretches vertically to fill the taller text column. */
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; display: block; }
.split-body h2 { margin-bottom: .5em; }
.checklist { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; }
.checklist li svg { flex: none; width: 24px; height: 24px; color: var(--pink); margin-top: 2px; }
.section--navy .checklist li svg { color: var(--gold); }

/* ---------------- Full-width CTA band ---------------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% -10%, rgba(236,111,158,.4), transparent 55%); }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6def5; max-width: 40em; margin-inline: auto; font-size: 1.1rem; }
.cta-band .cta-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 26px; }

/* ---------------- Testimonials ---------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.review .stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.review blockquote { margin: 12px 0 18px; font-size: 1.02rem; color: #2b3656; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.review .who strong { display: block; color: var(--navy); font-family: var(--font-head); }
.review .who span { color: var(--muted); font-size: .88rem; }

/* ---------------- Owners / about ---------------- */
.owners-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }

/* ---------------- Quote form ---------------- */
.quote-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
/* Grid tracks default to a min-content floor; the date input's intrinsic width
   would otherwise widen the whole column past a small phone screen. */
.quote-wrap > *, .form-grid > * { min-width: 0; }
.quote-aside h2 { margin-bottom: .4em; }
.quote-aside .lead { color: var(--muted); font-size: 1.08rem; }
.quote-aside .assurances { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.quote-aside .assurances li { display: flex; gap: 12px; align-items: flex-start; }
.quote-aside .assurances svg { width: 24px; height: 24px; color: var(--pink); flex: none; }
.quote-call { margin-top: 26px; padding: 18px 20px; background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.quote-call span { color: var(--muted); font-size: .9rem; }
.quote-call a { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--navy); }

.quote-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); }
.field label .req { color: var(--pink-dark); }
.field input, .field select, .field textarea {
  font: inherit; padding: .72em .9em; border: 1.5px solid var(--line); border-radius: 10px;
  width: 100%; min-width: 0;
  background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--pink-dark);
  outline: 2px solid var(--pink-dark); outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(178,58,110,.25);
}
.field textarea { resize: vertical; min-height: 92px; }
.form-foot { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.form-foot .btn { width: 100%; justify-content: center; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.form-status { font-family: var(--font-head); font-weight: 600; border-radius: 10px; padding: 12px 14px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e6f7ec; color: #1c7a43; border: 1px solid #b7e3c6; }
.form-status.err { background: #fdecef; color: #b3274a; border: 1px solid #f4c0cc; }

/* ---------------- FAQ ---------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-weight: 600;
  color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 22px; height: 22px; color: var(--pink); transition: transform .2s ease; }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 18px; color: var(--muted); }

/* ---------------- Service areas ---------------- */
.areas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 900px; margin: 0 auto; }
.areas span { background: #fff; border: 1px solid var(--line); border-radius: var(--pill); padding: .5em 1.1em; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy); box-shadow: var(--shadow-sm); }
.areas span::before { content: "📍"; margin-right: .4em; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-deep); color: #c2cce6; padding: clamp(46px, 6vw, 72px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .04em; margin-bottom: 1em; }
.site-footer a { color: #c2cce6; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-script { font-family: var(--font-script); font-size: 1.9rem; color: var(--pink); display: block; line-height: 1; }
.footer-brand .brand-city { font-family: var(--font-head); font-weight: 700; letter-spacing: .22em; font-size: .72rem; text-transform: uppercase; color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 30ch; font-size: .94rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .95rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 19px; height: 19px; color: var(--pink); flex: none; margin-top: 3px; }
.footer-cta { margin-top: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; font-size: .85rem; color: #93a0c2; }
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------------- Legal pages ---------------- */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.8rem); }
.legal .updated { color: var(--muted); font-style: italic; margin-bottom: 2em; }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal h3 { margin-top: 1.4em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal .callout { background: var(--cream-soft); border-left: 4px solid var(--gold); border-radius: 8px; padding: 16px 20px; margin: 1.5em 0; }
.legal .callout p { margin: 0; }

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

/* Visually-hidden (screen-reader-only) */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Keyboard focus indicator for all interactive controls */
a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 6px;
}
/* Light ring on dark surfaces */
.section--navy a:focus-visible, .cta-band a:focus-visible, .topbar a:focus-visible,
.site-footer a:focus-visible, .hero a:focus-visible, .cta-band .btn:focus-visible,
.hero .btn:focus-visible { outline-color: #fff; }
:focus:not(:focus-visible) { outline: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote-wrap { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 0; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 22px; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-cta .nav-phone { display: none; }
  .topbar .topbar-area { display: none; }
  /* Brand + CTA + burger must fit one phone-width row without overflowing. */
  .nav { gap: 10px; }
  .nav-cta { gap: 8px; flex-shrink: 0; }
}

@media (max-width: 560px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero .hero-cta .btn { width: 100%; justify-content: center; }

  /* Tighten the header row: on a 360px Android the untrimmed row measured
     407px, which pushed the burger off-screen and gave the whole page a
     horizontal scroll. */
  .container { padding: 0 16px; }
  .brand .brand-script { font-size: 1.45rem; }
  .brand .brand-city { font-size: .66rem; letter-spacing: .17em; }
  .nav-cta .btn-sm { padding: .55em .9em; font-size: .84rem; }
  .nav-cta .btn .arrow { display: none; }
  .nav-toggle { width: 44px; height: 44px; margin-right: -6px; }
}

@media (max-width: 380px) {
  .brand .brand-script { font-size: 1.3rem; }
  .brand .brand-city { font-size: .6rem; letter-spacing: .14em; }
  .nav-cta .btn-sm { padding: .5em .8em; font-size: .78rem; }
  .topbar { font-size: .8rem; }
}
