/* Clean Wave Carpet Cleaning — site styles
   Brand colors sampled from the Clean Wave logo. */
:root {
  --orange: #ea8c22;
  --orange-hover: #f29c3a;
  --orange-soft: #fbe9d5;
  --teal: #2ba3be;
  --teal-deep: #156980;
  --aqua: #5bc8e0;
  --aqua-soft: #e6f5f9;
  --navy: #0d4352;
  --ink: #0a2e38;
  --text: #24414a;
  --muted: #557079;
  --line: #d8e7ec;
  --bg: #ffffff;
  --bg-alt: #f5fafb;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px -12px rgba(13, 67, 82, .25);
  --max: 1180px;
  --font-head: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--bg-alt); }
.section--sand { background: var(--orange-soft); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: .6rem;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  line-height: 1; text-decoration: none;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--orange-hover); color: var(--ink); }
.btn--teal { background: var(--teal-deep); color: #fff; }
.btn--teal:hover { background: var(--navy); color: #fff; }
.btn--ghost { border-color: var(--teal-deep); color: var(--teal-deep); background: transparent; }
.btn--ghost:hover { background: var(--teal-deep); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--aqua-soft); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar { background: var(--navy); color: #d9eef3; font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { width: 190px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a, .nav summary {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none; cursor: pointer;
}
.nav a:hover, .nav summary:hover, .nav a[aria-current="page"] { background: var(--aqua-soft); color: var(--teal-deep); }
.nav details { position: relative; }
.nav summary { list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; display: inline-block; margin-left: 6px; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.nav .dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
  list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: 13px 20px; font-size: 1rem; }
.phone-link { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.menu-toggle {
  display: none; background: none; border: 2px solid var(--line); border-radius: 10px;
  padding: 8px 10px; cursor: pointer; color: var(--ink);
}
.menu-toggle svg { width: 26px; height: 26px; display: block; }

@media (max-width: 1080px) {
  .phone-link { display: none; }
}
@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .header-cta .btn { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 20px 20px; max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav summary { padding: 14px 12px; font-size: 1.05rem; }
  .nav .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .brand img { width: 160px; }
  .topbar .hide-sm { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--aqua-soft) 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 7vw, 88px); }
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--teal-deep); display: block; }
.hero .lead { font-size: 1.2rem; color: var(--text); max-width: 34em; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero-media .hero-badge {
  position: absolute; left: -24px; bottom: -24px; width: 120px; height: 120px;
  aspect-ratio: auto; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .18));
}
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; list-style: none; padding: 0; margin: 28px 0 0; }
.trust-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: .98rem; }
.trust-list svg { flex: none; width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media .hero-badge { width: 92px; height: 92px; left: auto; right: 12px; bottom: -20px; }
}
@media (max-width: 420px) { .trust-list { grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: #d9eef3; padding: clamp(40px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: var(--aqua); }
.page-hero p { font-size: 1.15rem; max-width: 46em; }
.page-hero .btn-row { margin-top: 24px; }
.page-hero::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px;
  border-radius: 50%; border: 48px solid rgba(91, 200, 224, .12);
}
.breadcrumbs { font-size: .9rem; margin-bottom: 14px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: var(--aqua); }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: 1rem; }
.card-link { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--teal-deep); }
.card-link::after { content: " →"; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }

.feature { padding: 28px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.feature .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--aqua-soft); color: var(--teal-deep); margin-bottom: 18px;
}
.feature .icon svg { width: 28px; height: 28px; }
.feature p { color: var(--muted); margin: 0; }

/* Split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

/* Process */
.process { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.process li {
  counter-increment: step; position: relative; background: #fff; border-radius: var(--radius-lg);
  padding: 30px 26px 26px; border: 1px solid var(--line);
}
.process li::before {
  content: counter(step); position: absolute; top: -18px; left: 24px;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  background: var(--orange); color: var(--ink); box-shadow: 0 0 0 5px var(--bg-alt);
}
.process h3 { margin-top: 6px; }
.process p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Guarantee */
.guarantee {
  display: grid; grid-template-columns: 180px 1fr; gap: 36px; align-items: center;
  background: var(--navy); color: #d9eef3; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 52px);
}
.guarantee h2 { color: #fff; }
.guarantee p { margin: 0; font-size: 1.1rem; }
@media (max-width: 680px) { .guarantee { grid-template-columns: 1fr; text-align: center; } .guarantee img { margin: 0 auto; width: 140px; } }

/* Service area */
.area { text-align: center; }
.area-skyline { max-width: 760px; margin: 0 auto 32px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0 0 28px; }
.chips a, .chips span {
  display: inline-block; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 600; text-decoration: none; color: var(--ink);
}
.chips a:hover { border-color: var(--teal); color: var(--teal-deep); }
.city { padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: 140px; }
.city:first-of-type { border-top: 0; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.8rem; color: var(--teal-deep); font-weight: 600;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 22px; color: var(--text); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--teal-deep), var(--navy)); color: #d9eef3; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { font-size: 1.15rem; max-width: 640px; margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .97rem; }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(43, 163, 190, .25); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.check-group { display: flex; flex-wrap: wrap; gap: 10px; }
.check-group label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; margin: 0; cursor: pointer; }
.check-group input { width: auto; accent-color: var(--teal-deep); }
.form-note { font-size: .9rem; color: var(--muted); }
.form-status { font-weight: 600; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--aqua-soft); color: var(--teal-deep); display: grid; place-items: center; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--ink); }
.booking-embed { min-height: 520px; }

/* Footer */
.site-footer { background: var(--ink); color: #b8d3db; font-size: .98rem; }
.footer-skyline { display: block; width: 100%; max-width: 900px; margin: 0 auto -1px; opacity: .9; }
.footer-skyline-wrap { background: #fff; padding-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-block: 56px 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1.15rem; color: #fff; letter-spacing: .04em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #e3f2f6; text-decoration: none; }
.site-footer a:hover { color: var(--orange); text-decoration: underline; }
.footer-logo { background: #fff; border-radius: 14px; padding: 12px 16px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { width: 180px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.social a:hover { background: var(--orange); color: var(--ink); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px 28px; font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
  }
  .mobile-bar .btn { padding: 13px 8px; font-size: 1rem; }
}

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