/* ═══════════════════════════════════════════════
   Crispy Clean Cleaning Services — Joplin, MO
   Retro-fresh: cream, teal, coral, hard shadows
   ═══════════════════════════════════════════════ */

:root {
  --cream: #fff6ea;
  --cream-2: #fdeed8;
  --ink: #14453f;
  --teal: #12766b;
  --teal-dark: #0d5a51;
  --coral: #ff6b4a;
  --coral-dark: #e8552f;
  --yellow: #ffc53d;
  --sky: #a5dff0;
  --muted: #5d7871;
  --head: "Fredoka", "Segoe UI", sans-serif;
  --body: "Nunito", "Segoe UI", sans-serif;
  --maxw: 1120px;
  --radius: 18px;
  --hard: 6px 6px 0 var(--ink);
  --hard-sm: 4px 4px 0 var(--ink);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 400;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.12;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; }

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
.center { text-align: center; }

.section { padding: clamp(64px, 9vw, 110px) 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--teal);
  padding: .35em 1.1em;
  border-radius: 100px;
  margin-bottom: 1rem;
  font-weight: 600;
  transform: rotate(-1.5deg);
}
.center .eyebrow, .eyebrow.center { transform: rotate(1.5deg); }

.section-sub {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2.8rem;
  font-size: 1.08rem;
  font-weight: 600;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

/* tilt utilities */
.rot-l { transform: rotate(-1.6deg); }
.rot-r { transform: rotate(1.6deg); }
.rot-l2 { transform: rotate(-3deg); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--head);
  font-weight: 600;
  font-size: .92rem;
  padding: .85em 1.6em;
  border-radius: 14px;
  border: 3px solid var(--ink);
  box-shadow: var(--hard-sm);
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
  text-decoration: none;
}
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn-lg { font-size: 1rem; padding: 1em 1.9em; }
.btn svg { width: 1em; height: 1em; }

.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-dark); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-teal-outline { background: var(--cream); color: var(--ink); }
.btn-teal-outline:hover { background: var(--cream-2); color: var(--ink); }

/* ─── Nav ─── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.scrolled {
  background: rgba(255, 246, 234, .95);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
  padding: 8px 0;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .45em;
  margin-right: auto;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  font-size: 1.3rem;
  border-radius: 12px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-6deg);
}
.brand-text {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
}
.brand-text em { font-style: normal; color: var(--coral); }

.nav-links { display: flex; gap: 22px; }
.nav-links a {
  color: var(--ink);
  font-family: var(--head);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
.nav-links a:hover { color: var(--coral); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 3px; border-radius: 2px; background: var(--ink); transition: .3s; display: block; }

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 160px 0 90px;
  background:
    radial-gradient(circle at 85% 15%, rgba(165, 223, 240, .5) 0%, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255, 197, 61, .25) 0%, transparent 45%),
    var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.sticker {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 50%;
  width: 108px; height: 108px;
  justify-content: center;
  font-family: var(--head);
  font-weight: 600;
  font-size: .6rem;
  letter-spacing: .14em;
  box-shadow: var(--hard-sm);
  transform: rotate(-8deg);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}
.sticker strong { font-size: 1.6rem; letter-spacing: 0; }

.hero-sub {
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
  color: var(--muted);
  font-weight: 600;
  max-width: 540px;
  margin: 1.3rem 0 2rem;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* the wipe word trick */
.wipe-word {
  position: relative;
  display: inline-block;
  color: var(--coral);
}
.dirty-word {
  display: inline-block;
  color: #8a7a5e;
  filter: blur(.5px);
  animation: dirtOut .6s ease forwards;
  animation-delay: 1.6s;
}
.clean-word {
  position: absolute;
  left: 0; top: 0;
  color: var(--coral);
  clip-path: inset(0 100% 0 0);
  animation: cleanIn .6s ease forwards;
  animation-delay: 1.6s;
  text-decoration: underline wavy var(--sky) 4px;
  text-underline-offset: 8px;
}
@keyframes dirtOut { to { opacity: 0; transform: translateY(6px); filter: blur(3px); } }
@keyframes cleanIn { to { clip-path: inset(0 0 0 0); } }
.squeegee {
  position: relative;
  display: inline-block;
  font-size: .55em;
  margin-left: .45em;
  animation: swipe 1s ease forwards;
  animation-delay: 1.3s;
  transform: translateX(-1.2em) rotate(-20deg);
  opacity: 0;
}
@keyframes swipe {
  0% { opacity: 0; transform: translateX(-1.2em) rotate(-20deg); }
  30% { opacity: 1; }
  100% { opacity: 1; transform: translateX(.1em) rotate(10deg); }
}

/* hero badges */
.hero-badges {
  display: grid;
  gap: 20px;
  justify-items: center;
}
.badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--hard);
  padding: 18px 34px;
  min-width: 190px;
}
.badge-yellow { background: var(--yellow); }
.badge-sky { background: var(--sky); }
.badge-big {
  font-family: var(--head);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.1;
}
.badge-label {
  font-family: var(--head);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* floating bubbles */
.bubble-field { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.bubble-field span {
  position: absolute;
  bottom: -70px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.95), rgba(255,255,255,.2) 60%, rgba(165,223,240,.25));
  border: 2px solid rgba(20, 69, 63, .18);
  animation: rise linear infinite;
}
@keyframes rise {
  to { transform: translateY(-110vh) translateX(40px); opacity: 0; }
}

/* ─── Marquee ─── */
.marquee {
  background: var(--ink);
  color: var(--cream);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
  padding: 12px 0;
  transform: rotate(-1deg) scale(1.02);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  font-family: var(--head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .18em;
  animation: scroll 28s linear infinite;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ─── Cards ─── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 26px;
  margin-bottom: 3.2rem;
}
.card {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--hard);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: rotate(0deg) translate(-3px, -3px) !important;
  box-shadow: 9px 9px 0 var(--ink);
}
.card-emoji {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  font-size: 1.7rem;
  background: var(--cream-2);
  border: 3px solid var(--ink);
  border-radius: 14px;
  margin-bottom: 1.1rem;
  transform: rotate(-4deg);
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .96rem; font-weight: 600; }

/* ─── Why ─── */
.why { background: var(--cream-2); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.why > .container > div > p { color: var(--muted); font-weight: 600; }

.checks { list-style: none; margin-top: 1.5rem; }
.checks li {
  padding-left: 2.1em;
  position: relative;
  margin-bottom: .85em;
  color: var(--muted);
  font-weight: 600;
}
.checks li strong { color: var(--ink); }
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .1em;
  width: 1.4em; height: 1.4em;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--ink);
  color: #fff;
  font-size: .85em;
  display: grid;
  place-items: center;
  font-weight: 800;
}

/* polaroids */
.polaroid-stack { position: relative; display: grid; place-items: center; min-height: 380px; }
.polaroid {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: var(--hard);
  padding: 14px 14px 10px;
  width: min(260px, 62vw);
  position: absolute;
}
.polaroid-back { translate: -70px 60px; z-index: -1; opacity: .9; }
.polaroid-img {
  height: 190px;
  border-radius: 6px;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 3.4rem;
}
.grad-1 { background: linear-gradient(140deg, var(--sky), #d8f3fb); }
.grad-2 { background: linear-gradient(140deg, var(--yellow), #ffe29b); }
.polaroid p {
  font-family: "Fredoka", cursive;
  text-align: center;
  font-weight: 500;
  padding-top: 8px;
  font-size: .95rem;
}

/* ─── Quote band ─── */
.band {
  background: var(--teal);
  color: var(--cream);
  padding: 64px 0;
  text-align: center;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.stars-row {
  color: var(--yellow);
  font-size: 1.7rem;
  letter-spacing: .3em;
  margin-bottom: .7rem;
  text-shadow: 2px 2px 0 var(--ink);
}
.band-quote {
  font-family: var(--head);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  max-width: 760px;
  margin: 0 auto .5rem;
}
.band-source { opacity: .9; font-size: .95rem; font-weight: 600; }
.band-source a { color: var(--yellow); }

/* ─── Areas ─── */
.area-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 2rem;
}
.area-list li {
  font-family: var(--head);
  font-weight: 600;
  border: 3px solid var(--ink);
  border-radius: 100px;
  padding: .45em 1.25em;
  font-size: .95rem;
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
}
.area-list li:nth-child(3n) { background: var(--sky); transform: rotate(1.5deg); }
.area-list li:nth-child(3n+1) { background: var(--yellow); transform: rotate(-1.5deg); }
.areas-note { color: var(--muted); font-weight: 600; }

/* ─── FAQ ─── */
.faq-section { background: var(--cream-2); border-top: 3px solid var(--ink); }
.faq-item {
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  margin-bottom: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--hard-sm);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 22px;
  font-family: var(--head);
  font-size: 1.08rem;
  font-weight: 600;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--coral);
  font-size: 1.6rem;
  font-weight: 500;
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 22px 18px; color: var(--muted); font-weight: 600; }

/* ─── Contact ─── */
.contact p { color: var(--muted); font-weight: 600; }
.contact-list { list-style: none; margin: 1.8rem 0 2.2rem; }
.contact-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 1.1rem;
  align-items: flex-start;
  font-weight: 600;
}
.contact-list .ci { font-size: 1.25rem; line-height: 1.6; }
.visit-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.map-wrap {
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--hard);
  aspect-ratio: 4 / 3.2;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ─── Footer ─── */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0 90px;
  text-align: center;
  border-top: 3px solid var(--ink);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-bottom: .9rem;
}
.footer .brand-text { color: var(--cream); }
.footer .brand-text em { color: var(--yellow); }
.footer-tag { opacity: .85; font-weight: 600; margin-bottom: .8rem; }
.footer-meta { opacity: .85; font-size: .92rem; margin-bottom: 1.3rem; }
.footer-meta a { color: var(--sky); }
.footer-copy { opacity: .5; font-size: .82rem; }

/* ─── Mobile call bar ─── */
.mobile-call {
  display: none;
  position: fixed;
  inset: auto 12px 12px 12px;
  z-index: 90;
  background: var(--coral);
  color: #fff;
  font-family: var(--head);
  font-weight: 600;
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  border: 3px solid var(--ink);
  box-shadow: var(--hard-sm);
  align-items: center;
  justify-content: center;
  gap: .5em;
  text-decoration: none;
}
.mobile-call svg { width: 1.1em; height: 1.1em; }

/* ─── Reveal animation ─── */
.reveal {
  opacity: 0;
  translate: 0 24px;
  transition: opacity .7s ease, translate .7s ease;
}
.reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; transition: none; }
  .bubble-field span { animation: none; display: none; }
  .marquee-track { animation: none; }
  .dirty-word { animation: none; opacity: 0; }
  .clean-word { animation: none; clip-path: inset(0 0 0 0); }
  .squeegee { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .grid-2, .hero-grid { grid-template-columns: 1fr; }
  .hero-badges { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .badge-card { min-width: 0; padding: 14px 10px; }
  .badge-big { font-size: 1.8rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .polaroid-stack { min-height: 340px; margin-top: 2rem; }
}

@media (max-width: 720px) {
  .nav-links, .nav-call { display: none; }
  .nav-toggle { display: flex; }
  .nav { background: rgba(255, 246, 234, .95); }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 20px 24px 26px;
    gap: 18px;
    border-bottom: 3px solid var(--ink);
  }
  .cards { grid-template-columns: 1fr; }
  .mobile-call { display: inline-flex; }
  .footer { padding-bottom: 110px; }
  .hero { padding-top: 130px; }
  .hero-badges { grid-template-columns: 1fr 1fr; }
}
