:root{
  --bg:#f4f7f5;
  --panel:#ffffff;
  --card:#f0f4f2;
  --text:#0f172a;
  /* Slightly lighter body copy for a calmer, cleaner look */
  --muted:#6a7b8f;
  --soft:#7f92aa;
  --brand:#22c55e;
  --brand2:#60a5fa;
  --gold:#c8a43a;
  /* Logo mark ink (cleaner figure/hoover). Kept neutral to match reference. */
  --logoInk: rgba(15,23,42,.78);
  --logoStroke: rgba(15,23,42,.68);
  --line:rgba(15,23,42,.08);
  --shadow: 0 10px 28px rgba(15,23,42,.12);
  --radius: 22px;
  --radius2: 16px;
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(900px 520px at 15% 10%, rgba(34,197,94,.10), transparent 60%),
    radial-gradient(900px 520px at 85% 15%, rgba(96,165,250,.08), transparent 60%),
    linear-gradient(180deg, #f3f7f5, #edf3ef 70%);
  color:var(--text);
  line-height:1.6;
}

a{color:inherit; text-decoration:none}
a.link{color: #0f172a; text-decoration: underline; text-underline-offset: 3px;}

/* Responsive CTA labels (desktop vs mobile) */
.labelDesktop{display:inline}
.labelMobile{display:none}

.wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.panel p + p{margin-top:10px}
.card p + p{margin-top:8px}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,.85);
  border-bottom:1px solid var(--line);
  /* Slightly taller header so the logo lockup reads clearly */
  padding: 14px 0;
}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex; align-items:center; gap:14px;
  font-weight:800;
  letter-spacing:.2px;
  font-size: 18px;
}

/* Logo mark sizing */
.logoMark{width:48px; height:48px; flex:0 0 auto}

.brandText{display:block; line-height:1.1}
/* Stacked logo text (Michael’s on first line, Five Star Cleaning beneath) */
.brandStack{display:flex; flex-direction:column; gap:2px; line-height:1.05}
.brandStack .brandMichael{font-size:20px}
.brandStack .brandGold{font-size:14px; letter-spacing:.25px}
.brandMichael{color: var(--brand);}
.brandGold{color: var(--gold);}


.brand small{
  display:block;
  font-weight:650;
  color:var(--muted);
  letter-spacing:.15px;
  margin-top:2px;
  font-size:12px;
}

/* (Removed duplicate .logoMark rule) */

.menu{
  display:flex; gap:10px; align-items:center;
  flex-wrap:wrap;
}
.menu a{
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
  border:1px solid transparent;
}
.menu a:hover{border-color:var(--line); color:var(--text)}

.cta{display:flex; gap:10px; align-items:center;}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  font-weight:700;
  letter-spacing:.2px;
  border:1px solid rgba(15,23,42,.18);
  background: #e6ebef; /* soft slate */
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(15,23,42,.10);
  cursor:pointer;
}
.btn:hover{transform: translateY(-1px); transition:.2s ease}
.btn.primary{
  border-color: rgba(34,197,94,.35);
  background: linear-gradient(135deg, rgba(34,197,94,.95), rgba(134,239,172,.85));
  color:#0f172a;
}

main{min-height: 70vh}

.hero{padding: 26px 0 8px;}
.heroGrid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items:stretch;
}

.panel{
  border:1px solid var(--line);
  background: rgba(255,255,255,.82);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  overflow:hidden;
  position:relative;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(15,23,42,.10);
  color:var(--muted);
  background: rgba(255,255,255,.70);
  font-weight:650;
  font-size: 13px;
}
.kicker .dot{width:8px; height:8px; border-radius:999px; background: var(--brand)}

h1{
  margin: 14px 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.6px;
}

.sub{
  margin:0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: none;
}

.heroActions{display:flex; gap:12px; flex-wrap:wrap; margin-top:16px}

.badges{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}
.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding: 9px 12px;
  border-radius: 999px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.65);
}
.badge span{
  width:7px; height:7px; border-radius:999px;
  background: var(--brand2);
  display:inline-block;
}

.photo{
  display:grid;
  grid-template-rows: 1fr auto;
  min-height: 340px;
  padding: 0;
}
.photoTop{
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--line);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  background:
    radial-gradient(700px 280px at 25% 20%, rgba(34,197,94,.16), transparent 62%),
    radial-gradient(700px 280px at 85% 20%, rgba(96,165,250,.14), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.85), rgba(240,244,242,.75));
  display:grid;
  place-items:center;
  padding: 18px;
}
.photoTop .ph{
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  background: linear-gradient(135deg, rgba(15,23,42,.04), rgba(15,23,42,.02));
  display:grid;
  place-items:center;
  text-align:center;
  padding: 18px;
  color: var(--muted);
}
.photoTop .ph strong{color:var(--text)}
.photoFoot{
  padding: 16px 18px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}
.photoFoot p{margin:0; color:var(--muted); font-size: 13px}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.22);
  color: var(--text);
  font-weight: 800;
  font-size: 13px;
  white-space:nowrap;
}

.section{padding: 22px 0}

/* Generic grids (used across pages) */
.grid{display:grid; gap:22px}
.grid.two{grid-template-columns:1fr}
.grid.three{grid-template-columns:1fr}

@media (min-width: 780px){
  .grid.two{grid-template-columns:1fr 1fr; align-items:start}
  .grid.three{grid-template-columns:repeat(3, 1fr)}
}
.section h2{
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.2px;
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card{color:var(--muted);
  border:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.72);
  border-radius: var(--radius2);
  padding: 16px;
  box-shadow: 0 10px 22px rgba(15,23,42,.10);
}
.card h3{color:var(--text);margin:0 0 6px; font-size: 16px}
.card p{margin:0;color:var(--muted);font-size:14px;font-weight:500}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

footer{
  border-top:1px solid var(--line);
  margin-top: 22px;
  padding: 18px 0 28px;
  color: var(--soft);
  font-size: 13px;
}

.footerRow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
}
.footerLinks{
  display:flex; flex-wrap:wrap; gap:12px; align-items:center;
}
.footerLinks a{
  color: var(--soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footerLinks a:hover{color: var(--text);}

.pageTitle{
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: -0.3px;
}
.pageIntro{
  margin: 0;
  color: var(--muted);
  max-width: 75ch;
}

.listClean{margin: 10px 0 0; padding-left: 18px; color: var(--muted);}
.listClean li{margin: 6px 0;}

.note{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.70);
  color: var(--muted);
  font-size: 14px;
}

/* Mobile menu */
.menuBtn{
  display:none;
  width:44px; height:44px;
  border-radius:12px;
  border:0;
  background: transparent;
  box-shadow: none;
  align-items:center;
  justify-content:center;
  gap:6px;
  cursor:pointer;
}
.menuBtn span{
  display:block;
  width:24px;
  height:3px;
  background: var(--text);
  border-radius:99px;
  opacity:1;
  /* Prevent odd subpixel rendering on some mobile screens */
  transform: translateZ(0);
}
.menuBtn:focus-visible{outline: 3px solid rgba(34,197,94,.35); outline-offset: 3px}

.mobileMenu{
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.22);
  backdrop-filter: blur(6px);
  display:none;
  padding: 18px;
  z-index: 60;
}
.mobileMenu.open{display:block;}
.mobileMenuInner{
  max-width: 520px;
  margin: 0 auto;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15,23,42,.18);
  padding: 14px;
}
.mobileMenuHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 4px 6px 10px;
  border-bottom: 1px solid rgba(15,23,42,.08);
  margin-bottom: 10px;
}
.mobileTitle{font-weight:800; color:var(--text)}
.closeBtn{
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  background: #e6ebef;
  cursor:pointer;
  font-size:16px;
}
.mobileMenuInner a{
  display:block;
  padding: 12px 10px;
  border-radius: 14px;
  color: var(--text);
  border: 1px solid transparent;
  font-weight: 700;
}
.mobileMenuInner a:hover{border-color: rgba(15,23,42,.10); background: rgba(34,197,94,.06)}
.mobileCtas{display:grid; gap:10px; margin-top: 10px;}

@media (max-width: 980px){
  .wrap{padding:18px}
  .heroGrid{grid-template-columns: 1fr;}
  .photo{min-height: 300px;}
  .grid3{grid-template-columns: 1fr;}
  .split{grid-template-columns: 1fr;}
  .menu{display:none}
  .menuBtn{display:inline-flex}
  .cta{gap:8px}
  .btn{padding:12px 14px}

  /* Mobile header: shorten CTA label */
  .cta .labelDesktop, .mobileCtas .labelDesktop{display:none}
  .cta .labelMobile, .mobileCtas .labelMobile{display:inline}
}

@media (max-width: 560px){
  .topbar{padding: 10px 0}
  .wrap{padding:16px}
  .brand{font-size:16px; gap:12px}
  .logoMark{width:42px;height:42px}
  .brandStack .brandMichael{font-size:18px}
  .brandStack .brandGold{font-size:12px}
  .brand small{font-size:11px}

  h1{font-size: clamp(26px, 7vw, 34px); line-height:1.15}
  .sub{font-size:15px}

  .heroActions{gap:10px}
  .heroActions .btn{width:100%}

  .panel{padding:18px}
  .badge{width:100%; justify-content:flex-start}
  .photoTop .ph{min-height: 220px}

  .btn{min-height:44px}
  .section{padding:18px 0}
  .section h2{font-size:20px}
}

/* Mobile-only CTA label swap: show shorter label in the header on small screens */
.labelMobile{display:none}
@media (max-width: 980px){
  .labelDesktop{display:none}
  .labelMobile{display:inline}
}

@media (prefers-reduced-motion: reduce){
  .btn:hover{transform:none; transition:none}
}


/* Utility: allow long paragraphs to use full panel width (no max-width cap) */
.sub.full{max-width:none}


/* v3 polish: consistent calm body text + avoid narrow line length inside panels/cards */
.panel p, .panel li, .card p, .card li, .note, .pageIntro, .pageIntro p, .listClean li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}

/* Keep headings strong */
.panel h1, .panel h2, .panel h3, .card h3 { color: var(--text); }

/* Let panel text use full width (hero readability is handled via .sub max-width) */
.panel p, .panel ul, .panel ol { max-width: none; }
.card p, .card ul, .card ol { max-width: none; }

/* Optional: lists align visually with paragraphs */
.listClean li { line-height: 1.6; }


/* Keep hero text comfortably readable */
.hero .sub{max-width:62ch}


.media{margin-top:16px;border-radius:16px;overflow:hidden;border:1px solid var(--border);background:#f8fafc; aspect-ratio: 4 / 3}
.media img{display:block;width:100%;height:100%;object-fit:cover}
.about-support img{height:180px;object-fit:cover}

/* Hover/focus response-time tooltip (no visible pill by default)
   Only appears on buttons that include the data-rt attribute.
*/
.btn.primary[data-rt]{
  position: relative;
}
.btn.primary[data-rt]::after{
  content: attr(data-rt);
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%) translateY(-2px);
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.12);
  box-shadow: 0 12px 26px rgba(15,23,42,.14);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 30;
}
.btn.primary[data-rt]:hover::after,
.btn.primary[data-rt]:focus::after,
.btn.primary[data-rt]:focus-visible::after{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
