/* ============================================================
   Quality Cleaning, LLC — v2 (modern)
   Brand navy #013A71 · electric blue gradient · Sora + Inter
   ============================================================ */

:root {
  --navy: #013a71;
  --navy-deep: #041a33;
  --navy-ink: #0b2545;
  --blue: #2f7ad9;
  --blue-bright: #5ea2f0;
  --sky: #9cc4f5;
  --ink: #12233d;
  --muted: #51647f;
  --bg: #ffffff;
  --bg-soft: #f3f7fc;
  --line: #e3ebf5;
  --gold: #f4b942;
  --radius: 22px;
  --shadow: 0 24px 60px -24px rgba(4, 26, 51, 0.3);
  --grad: linear-gradient(95deg, var(--blue) 0%, var(--blue-bright) 100%);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: #fff; }

.container { width: min(1140px, 92%); margin: 0 auto; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.8rem); font-weight: 700; overflow-wrap: break-word; }
h3 { font-size: 1.18rem; font-weight: 600; }

a { color: var(--blue); text-decoration: none; }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.grad-text {
  background: linear-gradient(95deg, var(--blue-bright), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text-dark {
  background: linear-gradient(95deg, var(--navy), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 3.4rem; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-grad {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(47, 122, 217, 0.65);
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(47, 122, 217, 0.8); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 14px 34px -16px rgba(4, 26, 51, 0.5); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px); }
.btn-outline:hover { border-color: #fff; transform: translateY(-2px); }
.btn-outline-dark { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-small { padding: 0.62rem 1.4rem; font-size: 0.88rem; }
.btn-full { width: 100%; border: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav.scrolled {
  background: rgba(4, 26, 51, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px -18px rgba(0, 0, 0, 0.5);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; }
.brand-logo { height: 56px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.93rem;
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 70% 0%, #06335f 0%, var(--navy-deep) 55%, #02101f 100%);
  color: #fff;
  padding: clamp(9rem, 16vw, 12rem) 0 clamp(5rem, 9vw, 7rem);
  overflow: hidden;
  text-align: center;
}
.aurora { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.b1 { width: 560px; height: 560px; background: #1559a8; top: -220px; left: -140px; animation: drift 14s ease-in-out infinite alternate; }
.b2 { width: 480px; height: 480px; background: #2f7ad9; bottom: -240px; right: -120px; animation: drift 18s ease-in-out infinite alternate-reverse; }
.b3 { width: 320px; height: 320px; background: #66d1e0; top: 30%; right: 18%; opacity: 0.22; animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 40px) scale(1.12); }
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(75% 65% at 50% 35%, black, transparent);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 880px; }
.hero-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sky);
  background: rgba(94, 162, 240, 0.12);
  border: 1px solid rgba(94, 162, 240, 0.3);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 38rem;
  margin: 1.5rem auto 2.4rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-chips { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 3.2rem; }
.chip {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 0.65rem 1.3rem;
}
.chip strong { font-family: var(--font-display); font-size: 1.02rem; color: #fff; }
.chip span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.62); }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  padding: 0.85rem 0;
  white-space: nowrap;
}
.marquee-track { display: inline-block; animation: scroll 38s linear infinite; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 1.1rem;
}
.marquee-track i { color: var(--gold); font-style: normal; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.bcard {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.bcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky); }
.bcard-wide { grid-column: span 2; background: linear-gradient(135deg, #f7fafd, #eef4fb); }
.bcard-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 15px;
  margin-bottom: 1.2rem;
}
.bcard h3 { margin-bottom: 0.55rem; }
.bcard p { color: var(--muted); font-size: 0.94rem; }
.bcard-tag {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(244, 185, 66, 0.25);
  border: 1px solid var(--gold);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}
.bcard-cta {
  grid-column: 1 / -1;
  background: linear-gradient(115deg, var(--navy), #0a4d8c 60%, #1167b8);
  border: none;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding: 2rem 2.4rem;
}
.bcard-cta h3 { color: #fff; }
.bcard-cta p { color: rgba(255, 255, 255, 0.7); flex: 1 1 280px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.6rem 1.9rem 2.1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  position: absolute;
  top: -22px; left: 1.7rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  background: var(--grad);
  border-radius: 14px;
  box-shadow: 0 10px 24px -8px rgba(47, 122, 217, 0.6);
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: stretch; }
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard-featured {
  background: linear-gradient(160deg, var(--navy), #0a4d8c);
  border: none;
  color: #fff;
}
.pcard-featured h3 { color: #fff; }
.pcard-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--gold);
  padding: 0.32rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pcard-price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0.7rem 0 1.1rem;
}
.pcard-featured .pcard-price { color: #fff; }
.pcard ul { list-style: none; margin-bottom: 1.8rem; flex: 1; }
.pcard li {
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.42rem 0 0.42rem 1.6rem;
  position: relative;
}
.pcard li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.pcard-featured li { color: rgba(255, 255, 255, 0.78); }
.pcard-featured li::before { color: var(--gold); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stars { color: var(--gold); letter-spacing: 0.18em; font-size: 0.95rem; }
.quote blockquote { font-size: 0.96rem; color: var(--muted); flex: 1; }
.quote figcaption { font-family: var(--font-display); font-size: 0.84rem; font-weight: 600; color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: radial-gradient(120% 160% at 30% 0%, #06335f 0%, var(--navy-deep) 70%);
  color: #fff;
  text-align: center;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  overflow: hidden;
}
.cta-band-inner { position: relative; display: grid; gap: 2rem; justify-items: center; }
.cta-band h2 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-sub { color: var(--muted); margin: 1.1rem 0 2rem; }
.contact-cards { display: grid; gap: 0.9rem; }
.ccard {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.ccard:hover { border-color: var(--blue); transform: translateX(4px); }
.ccard svg { color: var(--blue); flex-shrink: 0; margin-top: 0.2rem; }
.ccard strong { display: block; font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.ccard span { font-size: 0.92rem; color: var(--muted); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.4rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.9rem 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 122, 217, 0.14);
  background: #fff;
}
.form-fine { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 0.9rem; }
.hidden-field { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.85); padding: 4rem 0 0; }
.footer .brand-logo { height: 80px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-motto { font-family: var(--font-display); font-size: 0.92rem; color: var(--sky); margin-top: 1.1rem; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col a, .footer-col span { display: block; color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; margin-bottom: 0.55rem; }
.footer-col a:hover { color: var(--blue-bright); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 1.4rem 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bcard-wide { grid-column: span 2; }
  .steps, .pricing, .quotes { grid-template-columns: 1fr; }
  .steps { gap: 2.2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bcard-wide { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .brand-logo { height: 46px; }
  .chip { padding: 0.55rem 1rem; }

  .nav { background: rgba(4, 26, 51, 0.9); backdrop-filter: blur(14px); }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(4, 26, 51, 0.97);
    backdrop-filter: blur(14px);
    padding: 0.6rem 4% 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 0.85rem 0; }
  .nav-links .btn { margin-top: 0.6rem; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
