/* MrClean website styles */

:root {
  --blue: #0B63A8;
  --navy: #0A2540;
  --sky: #EAF7FC;
  --mist: #D6EFFA;
  --light: #CFEAF8;
  --muted: #46627A;
  --sun: #F2B632;
  --white: #fff;
  --font-heading: 'Bricolage Grotesque', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1200px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--navy); background: var(--sky); }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-heading); margin: 0; }
.page { width: 100%; box-sizing: border-box; }
.section-title { font-size: 44px; font-weight: 700; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-weight: 700; border-radius: 999px; }
.btn-primary { background: var(--blue); color: var(--white); padding: 16px 28px; }
.btn-outline { border: 2px solid var(--navy); padding: 14px 26px; }
.btn-dark { background: var(--navy); color: var(--white); padding: 12px 22px; min-height: 20px; font-weight: 500; }

/* ---------- Header ---------- */
.header {
  max-width: var(--max-width); margin: 0 auto; padding: 20px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name { font-family: var(--font-heading); font-weight: 800; font-size: 28px; line-height: 1; color: var(--blue); }
.brand-name span { color: var(--navy); }
.brand-tag { font-size: 13px; font-weight: 500; color: var(--muted); }
.nav { display: flex; gap: 28px; align-items: center; font-weight: 500; }
.nav a.active:not(.btn) { color: var(--blue); }

/* Menu button (only shown on phones, see the media query at the bottom) */
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px; box-sizing: border-box;
  background: none; border: 2px solid var(--navy); border-radius: 12px; cursor: pointer;
}
.menu-bar { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max-width); margin: 0 auto; padding: 56px 32px 80px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center;
}
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.eyebrow { font-weight: 700; color: var(--blue); letter-spacing: .08em; font-size: 14px; }
.hero h1 { font-size: 64px; line-height: 1.02; font-weight: 800; }
.hero-lead { margin: 0; font-size: 19px; line-height: 1.6; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { border-radius: 32px; overflow: hidden; background: var(--blue); }
.hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; object-position: 85% center; }

/* ---------- Wave dividers ---------- */
.wave { line-height: 0; }
.wave img { display: block; width: 100%; height: 72px; }
.wave-on-sky { background: var(--sky); }
.wave-on-white { background: var(--white); }

/* ---------- Services ---------- */
.services { background: var(--white); padding: 80px 0; }
.services-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 32px;
  display: flex; flex-direction: column; gap: 40px;
}
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--sky); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card-no { font-family: var(--font-heading); font-weight: 700; color: var(--blue); font-size: 18px; }
.card h3 { font-size: 24px; font-weight: 700; }
.card p { margin: 0; line-height: 1.55; }

/* ---------- How it works ---------- */
.how {
  max-width: var(--max-width); margin: 0 auto; padding: 80px 32px;
  display: flex; flex-direction: column; gap: 40px;
}
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { border-top: 4px solid var(--sun); padding-top: 20px; }
.step h3 { font-size: 24px; }
.step p { line-height: 1.55; }

/* ---------- Photos ---------- */
.gallery {
  max-width: var(--max-width); margin: 0 auto; padding: 0 32px 80px;
  display: flex; flex-direction: column; gap: 40px;
}
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery-item { margin: 0; }
.gallery-item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.gallery-item figcaption { margin-top: 12px; font-weight: 500; }

/* ---------- Customer reviews ---------- */
.reviews {
  max-width: var(--max-width); margin: 0 auto; padding: 0 32px 80px;
  display: flex; flex-direction: column; gap: 32px;
}

/* ---------- Contact / quote ---------- */
.quote { max-width: var(--max-width); margin: 0 auto; padding: 80px 32px; }
.quote-panel {
  background: var(--blue); color: var(--white); border-radius: 28px; padding: 56px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center;
}
.quote-intro { display: flex; flex-direction: column; gap: 16px; }
.quote-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--light); }
.quote-intro h2 { font-size: 36px; font-weight: 700; line-height: 1.15; }
.quote-intro p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--mist); }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--white); border-radius: 16px; padding: 18px 20px;
}
.contact-icon {
  width: 48px; height: 48px; border-radius: 999px; background: var(--mist);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-label { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.contact-value { font-size: 20px; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--white); padding: 32px 0; }
.footer-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  align-items: start; gap: 28px;
}
.footer-right { min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 14px; text-align: left; }
.footer-section-title { font-family: var(--font-heading); font-size: 20px; font-weight: 700; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; line-height: 1.5; }
.footer-contact-row { display: flex; align-items: center; gap: 12px; min-width: 0; overflow-wrap: anywhere; }
.footer-contact-icon { width: 36px; height: 36px; flex: 0 0 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--mist); }
.footer-contact-icon img { display: block; width: 20px; height: 20px; }
.footer-name { font-family: var(--font-heading); font-weight: 800; font-size: 22px; }
.footer-tag { font-size: 14px; color: var(--light); }

/* ---------- Phones and small screens ---------- */
@media (max-width: 768px) {
  .hero, .card-grid, .steps, .quote-panel { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 28px 20px 48px; }
  .hero h1 { font-size: 40px; }
  .section-title, .quote-intro h2 { font-size: 30px; }
  .header { padding: 16px 20px; flex-wrap: wrap; }
  .nav { width: 100%; flex-wrap: wrap; gap: 8px 20px; }
  .js .menu-toggle { display: flex; }
  .js .nav { display: none; flex-direction: column; align-items: stretch; gap: 4px; padding-top: 12px; }
  .js .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 10px 0; }
  .nav .btn-dark { text-align: center; margin-top: 6px; }
  .services-inner, .footer-inner { padding: 0 20px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-right { text-align: left; width: 100%; }
  .how, .quote { padding: 48px 20px; }
  .quote-panel { padding: 28px; }
  /* Photos slide sideways on phones instead of stacking into a very long page */
  .gallery { padding: 0 20px 48px; }
  .reviews { padding: 0 20px 48px; }
  .gallery-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 8px; }
  .gallery-item { flex: 0 0 78%; scroll-snap-align: start; }
}
