/* Pure Pro Cleaning Services — main stylesheet */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b1a3a;
  --ink: #1d2a45;
  --muted: #4b5873;
  --blue: #0924a8;
  --blue-700: #061a7d;
  --blue-50: #eef2ff;
  --green: #0baf2e;
  --green-ink: #07772a;
  --green-50: #e9f8ed;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --line: #e1e6ee;
  --error: #b42318;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 26, 58, .06), 0 8px 24px rgba(11, 26, 58, .06);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
#main:focus { outline: none; }
.muted { color: var(--muted); font-size: .95rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--lg { min-height: 54px; padding: .8em 1.6em; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue-50); color: var(--blue-700); }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { background: var(--blue-50); color: var(--blue-700); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand img { width: 172px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px; color: var(--navy); font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-link[aria-current="page"], .nav-menu-btn[aria-expanded="true"] { background: var(--bg-soft); color: var(--blue); }
.nav-menu-btn .icon { transition: transform .15s ease; }
.nav-menu-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--green); }
.nav-toggle { display: none; }

.has-menu { position: relative; }
.mega { display: none; position: absolute; left: -24px; top: calc(100% + 10px); width: min(760px, 90vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.mega.is-open { display: block; }
.mega-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 28px; }
.mega-title { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); margin: 0 0 8px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 6px 0; color: var(--navy); text-decoration: none; font-weight: 600; }
.mega li a:hover, .mega li a[aria-current="page"] { color: var(--blue); text-decoration: underline; }
.mega-col--all { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px; }
.mega-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 84px) 0; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.hero--slim { padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 44px); }
.hero--slim .lead { max-width: 62ch; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero--page .hero-grid { grid-template-columns: 1.15fr .85fr; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 14px; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-call { margin-top: 18px; color: var(--muted); }
.hero-call a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); }
.hero-call .icon { color: var(--green); }
.hero-media { position: relative; }
.hero-img { width: 100%; border-radius: 22px; object-fit: cover; aspect-ratio: 5 / 6; }
.hero-img--wide { aspect-ratio: 4 / 3; }
.hero--home .hero-media::before { content: ""; position: absolute; inset: auto -14px -14px auto; width: 58%; height: 58%; border-radius: 22px; background: var(--green-50); z-index: -1; }
.hero--home .hero-media { isolation: isolate; max-width: 460px; justify-self: end; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; font-size: .92rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #9aa4b8; }
.breadcrumbs a { color: var(--muted); }

/* Sections */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tight { padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p:not(.eyebrow) { color: var(--muted); }
.section-cta { margin: 36px 0 0; }

/* Service cards */
.service-group + .service-group { margin-top: 44px; }
.service-group-title { font-size: 1.05rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 16px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.card:hover { border-color: #c5cfe0; box-shadow: var(--shadow); }
.card:focus-within { outline: 3px solid var(--green); outline-offset: 2px; }
.card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-title { margin-bottom: 6px; font-size: 1.15rem; }
.card-title a { color: var(--navy); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-title a:focus-visible { outline: none; }
.card-body p { color: var(--muted); font-size: .98rem; margin-bottom: 14px; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); font-size: .95rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }

/* Prose content */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { max-width: 72ch; }
.prose--page { margin: 0 auto 0 0; }
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2307772a'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.prose ol li { margin-bottom: .55em; }
.prose .note { background: var(--blue-50); border-left: 4px solid var(--blue); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose-wide { max-width: 860px; }
.prose details, .faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; margin-bottom: 10px; background: #fff; }
.prose summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 16px 28px 16px 0; list-style: none; position: relative; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.5rem; font-weight: 500; color: var(--blue); }
.prose details[open] summary::after { content: "–"; }
.prose details > :not(summary) { margin-top: 0; }
.prose details[open] { padding-bottom: 4px; }
.prose .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.prose .contact-list { list-style: none; padding: 0; }
.prose .contact-list li::before { display: none; }
.prose .contact-list li { padding-left: 0; }

.side-card { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.side-card > * + .btn { margin-top: 10px; }
.side-title { font-size: 1.2rem; }
.side-card p { color: var(--muted); }
.side-call, .side-area, .side-hours { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; }
.side-call a { font-weight: 700; color: var(--navy); overflow-wrap: anywhere; min-width: 0; }
.side-call .icon, .side-area .icon, .side-hours .icon { color: var(--green-ink); margin-top: .3em; }

/* CTA band */
.cta-band { background: var(--blue); color: #fff; padding: clamp(44px, 6vw, 72px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); }
.cta-band a:not(.btn) { color: #fff; font-weight: 700; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.82); padding: 64px 0 24px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand img { background: #fff; border-radius: 10px; padding: 8px 10px; width: 200px; margin-bottom: 16px; }
.footer-title { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .btn--light, .site-footer .btn--light:hover { color: var(--blue); text-decoration: none; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; min-width: 0; }
.footer-contact a, .footer-contact span { overflow-wrap: anywhere; min-width: 0; }
.prose a { overflow-wrap: anywhere; }
.footer-contact .icon { color: var(--green); margin-top: .3em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.14); margin-top: 48px; padding-top: 20px; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.mobile-bar { display: none; }

/* Booking page */
.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.booking-side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.booking-side .side-card { position: static; box-shadow: none; }
.mini-steps { padding-left: 1.2em; color: var(--muted); }
.mini-steps li { margin-bottom: 8px; }

.ppb-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.ppb-group { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.ppb-group > legend { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 14px; padding: 0; }
.ppb-subgroup { border: 0; padding: 0; margin: 6px 0 0; }
.ppb-subgroup legend { font-weight: 700; color: var(--navy); margin-bottom: 8px; padding: 0; }
.ppb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.ppb-row .ppb-field--short { max-width: 200px; }
.ppb-field { margin-bottom: 18px; }
.ppb-field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.req, .opt { font-weight: 500; color: var(--muted); font-size: .9rem; }
.ppb-form input[type="text"], .ppb-form input[type="tel"], .ppb-form input[type="email"], .ppb-form input[type="date"], .ppb-form select, .ppb-form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #c3cbd9; border-radius: var(--radius-sm); appearance: none;
}
.ppb-form select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230b1a3a'%3E%3Cpath d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E") right 12px center / 22px no-repeat; padding-right: 42px; }
.ppb-form textarea { min-height: 120px; resize: vertical; }
.ppb-form input:focus, .ppb-form select:focus, .ppb-form textarea:focus { border-color: var(--blue); outline: 3px solid rgba(9, 36, 168, .18); outline-offset: 0; }
.ppb-form [aria-invalid="true"] { border-color: var(--error); }
.ppb-form select:disabled { background-color: var(--bg-soft); color: var(--muted); }
.ppb-hint { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }
.ppb-error { color: var(--error); font-weight: 600; font-size: .93rem; margin: 6px 0 0; }
.ppb-error[hidden] { display: none; }
.ppb-choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ppb-choice { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px 10px 14px; border: 1.5px solid #c3cbd9; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--navy); }
.ppb-choice input { width: 20px; height: 20px; accent-color: var(--blue); margin: 0; }
.ppb-choice:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.ppb-choice:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
.ppb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ppb-summary { background: #fef3f2; border: 1px solid #f5c2bd; color: var(--error); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 24px; }
.ppb-summary p { margin: 0; }
.ppb-submit { border-top: 1px solid var(--line); padding-top: 24px; }
.ppb-privacy, .ppb-alt { font-size: .93rem; color: var(--muted); margin: 14px 0 0; }
.ppb-date-opt { display: none; }
.is-quote .ppb-date-req, .is-quote .ppb-addr-req { display: none; }
.is-quote .ppb-date-opt { display: inline; }
.is-sms .ppb-email-req { visibility: hidden; }
.ppb-success, .ppb-notice { background: var(--green-50); border: 1px solid #b7e4c3; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.ppb-success h2 { color: var(--green-ink); }
.ppb-success:focus { outline: none; }

/* Staging banner */
.staging-bar { background: #fff4d6; color: #5c3d00; text-align: center; font-size: .82rem; font-weight: 700; padding: 6px; }

/* Responsive */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .header-phone span { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .brand img { width: 148px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }
  .nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .site-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 120px; overflow-y: auto; border-top: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.1rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-link:hover, .nav-menu-btn[aria-expanded="true"] { background: none; }
  .mega { position: static; width: auto; border: 0; box-shadow: none; padding: 8px 4px 16px; }
  .mega-inner { grid-template-columns: 1fr; gap: 16px; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 20px; }
  .header-phone { justify-content: center; min-height: 48px; border: 1.5px solid var(--line); border-radius: 999px; }
  .header-phone span { display: inline; }
  .hero-grid, .hero--page .hero-grid { grid-template-columns: 1fr; }
  .hero--home .hero-media { max-width: none; justify-self: stretch; }
  .hero--home .hero-img { aspect-ratio: 4 / 3; }
  .hero--home .hero-media::before { display: none; }
  .content-grid, .booking-grid { grid-template-columns: minmax(0, 1fr); }
  .side-card, .booking-side { position: static; }
  .steps { grid-template-columns: 1fr; }
  body { padding-bottom: 72px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(11,26,58,.08); }
  .mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; }
  .mobile-bar-call { border: 2px solid var(--blue); color: var(--blue); }
  .mobile-bar-book { background: var(--blue); color: #fff; }
  .view-booking .mobile-bar { grid-template-columns: 1fr; }
  .view-booking .mobile-bar-book { display: none; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .ppb-row { grid-template-columns: 1fr; }
  .ppb-row .ppb-field--short { max-width: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .prose .two-col { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
