/* =========================================================
   Done Cleaning Chicago — landing page
   ========================================================= */

:root {
  --bg: #F3F6FB;
  --paper: #FFFFFF;
  --mist: #E8EFFB;
  --line: #DAE2EF;
  --blue: #1F6BFF;
  --blue-light: #78A9FF;
  --blue-dark: #0C4ED1;
  --ink: #0A1631;
  --muted: #59657E;
  --navy: #040A1C;
  --navy-2: #0A1430;
  --navy-3: #111E40;
  --navy-line: rgba(120, 169, 255, .2);
  --danger: #C2382F;

  --serif: "Marcellus", "Times New Roman", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -30px rgba(6, 22, 70, .35);
  --shadow-sm: 0 10px 28px -16px rgba(6, 22, 70, .35);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 400; font-family: var(--serif); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }

.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.eyebrow .ic { width: 13px; height: 13px; }
.eyebrow--light { color: var(--blue-light); }
.section-title {
  font-size: clamp(32px, 4.2vw, 50px);
  letter-spacing: -.005em;
  margin-bottom: 16px;
}
.accent { color: var(--blue); }
.section-sub { color: var(--muted); max-width: 560px; font-size: 16.5px; }
.section-sub a { color: var(--blue-dark); font-weight: 600; }

.section { padding: 80px 0; }
@media (min-width: 992px) { .section { padding: 112px 0; } }
.section-head { margin-bottom: 48px; max-width: 760px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }
.section-head--split { max-width: none; display: grid; gap: 8px 64px; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; } }
.section-head--split .section-title { margin-bottom: 0; }
.section-head--split .section-sub { margin: 0; padding-bottom: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn .ic { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -14px rgba(31, 107, 255, .9); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--mist); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

/* ---------- Promo bar ---------- */
.promo-bar { background: var(--blue); color: #fff; font-size: 13.5px; }
.promo-bar__inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.promo-bar .ic { width: 12px; height: 12px; opacity: .9; }
.promo-bar__link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
@media (max-width: 767px) { .promo-bar__more { display: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 10, 28, .94);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--navy-line);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 14px 34px -20px rgba(0, 0, 0, .6); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.header__logo img { height: 60px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__list a { display: block; padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: #C3CEE6; border-radius: 8px; transition: color .2s, background-color .2s; }
.nav__list a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav__list a.is-active { color: #fff; background: rgba(31, 107, 255, .22); }
.nav__mobile-extra { display: none; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; line-height: 1.2; }
.header__phone small { display: block; font-size: 11px; font-weight: 500; color: var(--blue-light); letter-spacing: .04em; }
.header__phone-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--navy-line); color: var(--blue-light); }
.header__quick { display: none; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger span:nth-child(2) { transition: opacity .12s, transform .2s var(--ease), visibility 0s; }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); visibility: hidden; transition: opacity .12s, transform .2s var(--ease), visibility 0s .12s; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1240px) { .header__phone { display: none; } }
@media (max-width: 1080px) {
  :root { --header-h: 70px; }
  .header__logo img { height: 50px; }
  .header__inner { gap: 12px; }
  .burger { display: flex; }
  .header__actions { margin-left: auto; gap: 8px; }
  .header__cta { display: none; }
  .header__quick { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--navy); border-bottom: 1px solid var(--navy-line);
    padding: 8px 16px 24px; box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .7);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: 15px 4px; font-size: 17px; border-bottom: 1px solid var(--navy-line); border-radius: 0; background: none !important; }
  .nav__mobile-extra { display: grid; gap: 10px; margin-top: 18px; }
}

/* ---------- Footer ---------- */
.footer { background: #02061A; color: #8C9CC2; padding: 72px 0 0; font-size: 14.5px; border-top: 1px solid var(--navy-line); }
.footer__inner { display: grid; gap: 36px; padding-bottom: 48px; }
@media (min-width: 768px) { .footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }
.footer__brand img { width: 140px; margin-bottom: 16px; }
.footer__brand p { max-width: 300px; }
.footer h4 { color: #fff; font-size: 19px; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 9px; }
.footer__col a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; margin-bottom: 20px; }
.footer__social a { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--navy-line); color: #fff; transition: background-color .25s, border-color .25s; }
.footer__social a:hover { background: var(--blue); border-color: var(--blue); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--navy-line); font-size: 13px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Floating contact button ---------- */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
@media (max-width: 767px) { .fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); } }
.fab__backdrop { position: fixed; inset: 0; z-index: -1; background: rgba(4, 10, 28, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.fab.is-open .fab__backdrop { opacity: 1; visibility: visible; }
.fab__btn {
  position: relative; width: 64px; height: 64px; border-radius: 50%; border: 0;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #3F86FF, var(--blue-dark));
  box-shadow: 0 16px 34px -10px rgba(31, 107, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .3s var(--ease), background .3s;
}
.fab__btn:hover { transform: scale(1.06); }
.fab__btn .ic { position: absolute; width: 27px; height: 27px; transition: transform .35s var(--ease), opacity .25s; }
.fab__phone { animation: fab-ring 4s ease-in-out infinite; transform-origin: 50% 60%; }
.fab__close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.fab.is-open .fab__btn { background: var(--navy); box-shadow: 0 0 0 2px rgba(120, 169, 255, .35), 0 16px 34px -10px rgba(0, 0, 0, .6); }
.fab.is-open .fab__phone { opacity: 0; transform: rotate(90deg) scale(.6); animation: none; }
.fab.is-open .fab__close { opacity: 1; transform: none; }
.fab__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue); animation: fab-pulse 2.6s ease-out infinite; pointer-events: none; }
.fab__ring--2 { animation-delay: 1.3s; }
.fab.is-open .fab__ring { animation: none; opacity: 0; }
@keyframes fab-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes fab-ring {
  0%, 62%, 100% { transform: rotate(0); }
  66% { transform: rotate(-16deg); } 70% { transform: rotate(14deg); }
  74% { transform: rotate(-12deg); } 78% { transform: rotate(10deg); }
  82% { transform: rotate(-6deg); } 86% { transform: rotate(0); }
}

.fab__menu { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding-right: 8px; }
.fab__item { display: flex; align-items: center; gap: 12px; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.85); transform-origin: right center; transition: opacity .25s var(--ease), transform .35s var(--ease), visibility .25s; transition-delay: calc((4 - var(--i)) * 25ms); }
.fab.is-open .fab__item { opacity: 1; visibility: visible; transform: none; transition-delay: calc(var(--i) * 55ms); }
.fab__label { padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 26px -12px rgba(4, 10, 28, .5); }
.fab__ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 22px -10px rgba(4, 10, 28, .6); transition: transform .25s var(--ease); }
.fab__ic .ic { width: 21px; height: 21px; }
.fab__item:hover .fab__ic { transform: scale(1.1); }
.fab__item:hover .fab__label { color: var(--blue-dark); }
.fab__ic--call { background: var(--blue); }
.fab__ic--sms { background: var(--navy-3); }
.fab__ic--wa { background: #25D366; }
.fab__ic--quote { background: #fff; color: var(--blue); }

.fab__hint {
  position: absolute; right: 78px; bottom: 8px; padding: 10px 16px; border-radius: 14px 14px 4px 14px;
  background: #fff; color: var(--muted); font-size: 12.5px; line-height: 1.35; white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(4, 10, 28, .55);
  opacity: 0; visibility: hidden; transform: translateX(10px) scale(.95); transform-origin: right bottom;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; pointer-events: none;
}
.fab__hint strong { display: block; color: var(--ink); font-size: 14px; }
.fab.is-hint .fab__hint { opacity: 1; visibility: visible; transform: none; }
.fab.is-open .fab__hint { opacity: 0; visibility: hidden; }


/* ---------- FAB: stay clear of the hero buttons and footer on phones ---------- */
.fab { transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.fab.is-away { opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); pointer-events: none; }
@media (max-width: 767px) { .footer__bottom { padding-bottom: 96px; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Legal page ---------- */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(38px, 5vw, 54px); margin-bottom: 8px; }
.legal h2 { font-size: 26px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal a { color: var(--blue-dark); text-decoration: underline; }

/* ---------- Mobile: larger icons, no hero offer badge ---------- */
@media (max-width: 767px) {
  .hero__offer { display: none; }
  .ic { width: 21px; height: 21px; }
  .btn .ic { width: 20px; height: 20px; }
  .eyebrow .ic { width: 15px; height: 15px; }
  .header__quick { width: 46px; height: 46px; }
  .header__quick .ic { width: 22px; height: 22px; }
  .service__icon { width: 58px; height: 58px; top: -29px; }
  .service__icon .ic { width: 26px; height: 26px; }
  .combo__item .ic { width: 19px; height: 19px; }
  .step__icon { width: 54px; height: 54px; }
  .step__icon .ic { width: 25px; height: 25px; }
  .how__stamp .ic { width: 46px; height: 46px; padding: 11px; }
  .why__icon { width: 52px; height: 52px; }
  .why__icon .ic { width: 24px; height: 24px; }
  .review__g { width: 26px; height: 26px; }
  .review__verified { width: 18px; height: 18px; }
  .quote__ic { width: 50px; height: 50px; }
  .quote__ic .ic { width: 23px; height: 23px; }
    .footer__social a { width: 48px; height: 48px; }
  .footer__social .ic { width: 22px; height: 22px; }
}

/* ---------- WordPress ---------- */
.admin-bar .header { top: 32px; }
html:has(body.admin-bar) { scroll-padding-top: calc(var(--header-h) + 44px); }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }
@media (max-width: 1080px) { .admin-bar .nav { inset: calc(var(--header-h) + 46px) 0 auto 0; } }
@media (min-width: 783px) and (max-width: 1080px) { .admin-bar .nav { inset: calc(var(--header-h) + 32px) 0 auto 0; } }

.default-page, .page-404 { padding: 64px 0 96px; }
.default-page .container { max-width: 820px; }
.default-page h1, .default-page h2, .default-page h3 { margin: 1.2em 0 .5em; }
.default-page ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.default-page a { color: var(--blue-dark); text-decoration: underline; }
.page-404 { text-align: center; }
.page-404 .numeric-title { font-size: clamp(72px, 12vw, 140px); color: var(--blue); }
.page-404 .page-notification { color: var(--muted); font-size: 18px; }
