/* 24/7 Home Repair SEMO — main styles */
:root{
  --brand:#c1121f;
  --ink:#111;
  --ink-2:#333;
  --bg:#fff;
  --muted:#f6f6f7;
  --radius:16px;
  --shadow:0 8px 24px rgba(0,0,0,.12);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:Roboto,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.6}
img{max-width:100%;display:block}
a{color:var(--brand);text-decoration:none}
.container{width:min(1100px,92%);margin:auto}
.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:8px;top:8px;width:auto;height:auto;background:#fff;padding:8px;border-radius:8px;z-index:1000}

/* Header */
.site-header{position:sticky;top:0;background:#fff;border-bottom:1px solid #eee;z-index:50}
.nav{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.brand{display:flex;gap:10px;align-items:center;font-weight:700}
.logo{width:40px;height:40px;border-radius:10px}
.menu{display:flex;gap:16px;align-items:center;list-style:none;margin:0;padding:0}
.menu a{padding:8px 10px;border-radius:10px;color:var(--ink)}
.menu a.active{color:#fff;background:var(--brand)}
.btn{display:inline-block;background:var(--brand);color:#fff;padding:12px 16px;border-radius:999px;font-weight:600;box-shadow:var(--shadow)}
.btn--outline{background:transparent;color:#fff;border:2px solid #fff}
.btn--ghost{background:#fff;border:1px solid #ddd;color:var(--ink)}
.btn--sm{padding:8px 12px}

/* Hero */
.hero{position:relative;min-height:70vh;background:var(--ink);display:grid;place-items:center;background-image:var(--hero);background-size:cover;background-position:center}
.hero .overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,17,17,.6),rgba(17,17,17,.6))}
.hero__content{position:relative;color:#fff;text-align:left;padding:64px 0}
.hero h1{font-size:clamp(28px,4vw,44px);line-height:1.15;margin:0 0 12px}
.hero p{font-size:clamp(16px,2.2vw,20px);max-width:780px;margin:0 0 20px}
.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0 8px}
.trust{display:flex;gap:16px;flex-wrap:wrap;margin:12px 0 0;padding:0;list-style:none;font-weight:500}

/* Sections */
h2{font-size:clamp(22px,3vw,30px);margin:32px 0 12px}
h3{margin:10px 0 6px}
.center{text-align:center;margin-top:12px}
.grid{display:grid;gap:18px}
.cards{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.card{background:#fff;border:1px solid #eee;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.card img{aspect-ratio:16/10;object-fit:cover}
.card h3{padding:10px 14px 0}
.card p{padding:0 14px 16px;color:var(--ink-2)}

.band{padding:24px 0;background:var(--muted);border-top:1px solid #eee;border-bottom:1px solid #eee}
.band--dark{background:#1a1a1a;color:#fff}
.band__inner{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.pill-list{display:flex;gap:10px;flex-wrap:wrap;list-style:none;padding:0;margin:0}
.pill-list li{background:#fff;color:#111;border-radius:999px;padding:10px 14px;border:1px solid #e6e6e6}
.band--dark .pill-list li{background:#111;color:#fff;border-color:#333}

.two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:start;margin:28px auto}
@media (max-width:900px){.two-col{grid-template-columns:1fr}}
.feature-card{border:1px solid #eee;border-radius:var(--radius);padding:18px;box-shadow:var(--shadow);background:#fff}
.mt{margin-top:18px}
.checklist{list-style:none;padding:0;margin:12px 0}
.checklist li{padding-left:28px;position:relative;margin:8px 0}
.checklist li:before{content:"✔";position:absolute;left:0;top:0;color:var(--brand);font-weight:700}

.testimonials .quotes{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.testimonials blockquote{border-left:4px solid var(--brand);margin:0;padding:12px 14px;background:#fff;border-radius:8px;box-shadow:var(--shadow)}

/* Footer */
.site-footer{margin-top:40px;background:#0e0e0f;color:#ddd}
.footer__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;padding:28px 0}
.logo-sm{width:36px;height:36px;border-radius:8px;margin-bottom:8px}
.list{list-style:none;margin:0;padding:0}
.copy{text-align:center;border-top:1px solid #222;padding:12px;color:#aaa;font-size:14px}
.hero-img, .service-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.service-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ===== New Header / Buttons / Sticky Call ===== */
.header{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:1rem;box-shadow:0 2px 5px rgba(0,0,0,.1);position:sticky;top:0;z-index:1000}
.logo{display:flex;align-items:center;gap:.5rem}
.logo img{height:40px;width:auto}
.nav a{margin:0 .75rem;color:#111;text-decoration:none;font-weight:500}
.nav a.active,.nav a:hover{color:#c1121f}
.cta{background:#c1121f;color:#fff!important;padding:.5rem 1rem;border-radius:25px;font-weight:700;display:inline-block}
.cta:hover{background:#a50e1a}
.sticky-call{position:fixed;left:50%;transform:translateX(-50%);bottom:16px;background:#c1121f;color:#fff;text-decoration:none;padding:.9rem 1.25rem;border-radius:999px;font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.2)}
@media (min-width:769px){.sticky-call{display:none}}
@media screen and (max-width:768px){
  body{font-size:16px;line-height:1.5;overflow-x:hidden}
  .header{flex-direction:column;align-items:flex-start;gap:.75rem}
  .nav{display:flex;flex-wrap:wrap;gap:.5rem}
  .nav a{display:inline-block;padding:.4rem .6rem;font-size:.95rem}
  .logo img{height:40px}
  .container{width:94%;margin:0 auto}
  .hero{background-size:cover;background-position:center;min-height:60vh}
  .service-img{width:100%;height:auto;border-radius:10px}
}
/* === Mobile header hotfix (override old styles) === */
.header .logo{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:.5rem !important;
}
.header .logo img{ height:40px; width:auto; }
.header .logo span{
  font-weight:700;
  white-space:nowrap;        /* keep "24/7 Home Repair SEMO" on one line */
  line-height:1.1;
}

/* Keep nav left-aligned and tidy on phones */
@media (max-width:768px){
  .header{ flex-direction:column !important; align-items:flex-start !important; gap:.5rem !important; }
  .nav{
    display:flex !important;
    flex-wrap:wrap;
    justify-content:flex-start !important;
    gap:.5rem;
    margin:0; padding:0;
    width:100%;
  }
  .nav a{
    display:inline-block;
    padding:.45rem .75rem;
    border-radius:999px;
    font-size:.95rem;
  }
  /* make sure sticky call button doesn't cover content */
  body{ padding-bottom:84px; }
}
