/* ===========================
   BASE (shared) — typography, layout, components
   =========================== */

/* Reset / base */
:root{
  --container: 960px;

  /* common tokens */
  --radius-8: 8px;
  --radius-10: 10px;
  --radius-12: 12px;
  --radius-14: 14px;

  --badge-bg: #b71c1c;
  --cta-bg: #e53935;
  --fab-bg: #22c55e;

  /* default (theme overrides these) */
  --bg: #ffffff;
  --text: #0f172a;
  --muted: rgba(15,23,42,.78);
  --muted-2: rgba(15,23,42,.60);

  --panel-bg: #ffffff;
  --panel-border: rgba(15,23,42,.12);
  --divider: rgba(15,23,42,.12);

  --shadow-cta: 0 10px 30px rgba(0,0,0,.18);
  --shadow-card: 0 10px 24px rgba(15,23,42,.06);
  --shadow-card-soft: 0 10px 24px rgba(15,23,42,.04);

  --lock-left: var(--cta-bg);
  --accent-blue-bg: rgba(53,156,229,.14);
  --accent-blue-border: rgba(53,156,229,.20);
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 25px 15px;
}

/* Headings */
h1{
  font-size: 36px;
  line-height: 1.15;
  margin: 0 0 0px;
  color: var(--text);
}

h2 {
    margin-top: 0;
    padding-bottom: 20px !important;
    font-weight: 100;
}

h3 {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 300;
  color: var(--muted);
  margin: 0 0 20px 0;
  
}

/* Badge */
.badge{
  display:inline-block;
  background: var(--badge-bg);
  color:#fff;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 12px;
}

/* CTA */
.cta{
  display:block;
  background: var(--cta-bg);
  color:#fff;
  text-align:center;
  padding: 18px;
  font-size: 20px;
  font-weight: 700;
  text-decoration:none;
  border-radius: var(--radius-8);
  margin: 22px 0 10px;
  box-shadow: var(--shadow-cta);
}
.cta-tight{ margin-top: 12px; }

/* keep your internal CTA text rules */
.cta span{ padding-top: 10px; margin: 0; color:#fff; }
.cta p{
  color:#fff;
  text-decoration:none;
  text-align:center;
  margin:0 auto;
  width:100%;
  font-weight:100;
  font-size: 16px;
}

/* Hero trust line */
.trust{
  font-size: 13px;
  color: var(--muted-2);
  text-align:center;
  margin: 16px 0 22px;
}

/* Panels (lock/panic/card/etc.) */
.panel{
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-10);
}

.panel--left{
  border-left: 4px solid var(--lock-left);
}

.lock{
  padding: 18px;
  margin: 0;
  font-size: 15px;
  box-shadow: var(--shadow-card);
  color: var(--text);
}
.lock.panel{ /* ensure consistent borders */
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-10);
}
.lock.panel--left{ border-left: 4px solid var(--lock-left); }

.panic{
  padding: 20px;
  margin: 28px 0;
  box-shadow: var(--shadow-card);
}
.panic h3{
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text);
}
.panic ul{
  padding-left: 18px;
  margin: 10px 0 0;
  color: var(--muted);
}
.panic li{ margin-bottom: 8px; }
.panic p{ font-size: 15px; }

.section{ margin: 34px 0; }
.section h3{
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--text);
}
.section p{
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 10px;
  font-size: 15px;
}

.divider{
  height: 1px;
  background: var(--divider);
  margin: 46px 0;
}

/* Sticky bar (kept) */
.sticky{
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--cta-bg);
  text-align:center;
  padding: 16px;
  z-index: 999;
}
.sticky a{
  color:#fff;
  font-size: 18px;
  font-weight:700;
  text-decoration:none;
}

/* Hero wrapper (only structure here; theme/page sets overlay + image) */
.hero {
  padding-bottom: 50px;
  padding-top: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Contractor avatar */
.contractor img{
  border-radius: 50%;
  overflow: hidden;
}

/* CTA icon */
.cta-ico{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items:center;
  margin: 0 10px 0 0;
}
.cta-ico svg{
  width: 18px;
  height: 18px;
  opacity: .95;
}

/* Trust logos row */
.trust-logos{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 14px 0 8px;
}
@media (min-width:560px){
  .trust-logos{ grid-template-columns: repeat(3, 1fr); }
}

.trust-logo{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-12);
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  box-shadow: var(--shadow-card);
}
.trust-logo img{
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.12));
}
.trust-logo span{
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--muted);
}
.trust-logo picture{ display:inline-block; line-height:0; }
.trust-logo picture img{ display:block; }

.trust-logos--compact .trust-logo{
  box-shadow: none; /* theme may override */
}
.trust-logos--compact .trust-logo img{ width: 40px; height: 40px; }

/* Cards / grids */
.grid-3{
  display:grid;
  gap: 12px;
  margin: 18px 0 10px;
}
@media (min-width:740px){
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
}

.card{
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-14);
  padding: 16px;
  box-shadow: var(--shadow-card);
}
.card h4{
  margin: 10px 0 6px;
  font-size: 16px;
  color: var(--text);
}
.card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px; /* theme may override */
}

/* Icon inside cards */
.icon{
  width: 42px;
  height: 42px;
  display:grid;
  place-items:center;
  border-radius: var(--radius-14);
  background: var(--accent-blue-bg);
  border: 1px solid var(--accent-blue-border);
}
.icon svg{
  width: 22px;
  height: 22px;
  opacity: .92;
}

/* Services */
.services{
  display:grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-top: 12px;
}
@media (min-width:740px){
  .services{ grid-template-columns: 1fr 1fr; }
}
.svc{
  padding: 12px;
  border-radius: var(--radius-12);
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  color: var(--muted);
  box-shadow: var(--shadow-card-soft);
}

.note{
  margin-top: 12px;
  padding: 12px;
  border-left: 4px solid var(--cta-bg);
  border-radius: var(--radius-10);
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  color: var(--muted);
  box-shadow: var(--shadow-card);
}

/* Reviews */
.reviews{
  display:grid;
  gap: 12px;
  margin-top: 12px;
}
@media (min-width:740px){
  .reviews{ grid-template-columns: repeat(3, 1fr); }
}
.review{
  padding: 16px;
  border-radius: var(--radius-14);
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  box-shadow: var(--shadow-card);
}
.stars{
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 8px;
}
.review p{
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.6;
}
.who{
  font-size: 12px;
  color: var(--muted-2);
}
.mini-trust{
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 13px;
}

/* FAQ */
.faq{
  display:grid;
  gap: 10px;
  margin-top: 12px;
}
.faq details{
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-12);
  background: var(--panel-bg);
  padding: 12px 14px;
  box-shadow: var(--shadow-card-soft);
}
.faq summary{
  cursor:pointer;
  font-weight:700;
  color: var(--text);
}
.faq p{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

/* About badges */
.about-badges{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.pill{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: rgba(15,23,42,.04); /* theme can override */
  font-size: 12px;
  color: var(--muted);
}

/* White-back section */
.white-back{
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  padding: 22px;
  border-radius: var(--radius-14);
  box-shadow: var(--shadow-card);
}

/* Stats */
.stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0 6px;
}
.stat{
  text-align:center;
  padding: 12px 10px;
  border-radius: var(--radius-12);
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-card);
}
.stat strong{
  display:block;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.stat span{
  display:block;
  font-size: 12px;
  margin-top: 4px;
  color: var(--muted);
}
@media (max-width:420px){
  .stat strong{ font-size: 16px; }
  .stat span{ font-size: 11px; }
}

/* Floating call button */
.fab-call{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: var(--fab-bg);
  z-index: 1000;
  text-decoration:none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 14px 30px rgba(0,0,0,.20);
  border: 1px solid var(--panel-border);
}
.fab-call svg{
  width: 26px;
  height: 26px;
  fill: #fff;
}

.fab-call-label{
  position: fixed;
  right: 86px;
  bottom: 22px;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  text-decoration:none;
  z-index: 1000;
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}



/* Responsive typography */
@media (min-width:819px){
  .hero { 
    padding-bottom: 30px; 
    padding-top: 70px; 
  }



  .top-logo img {
    height: 54px; 
  }

}

@media (max-width:818px){
  h1 { font-size: 32px; }

  .hero { 
    padding-top: 40px; 
  }

  .top-logo img {
    height: 74px; 
  }
}


/* Top centered logo */
.top-logo{
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  pointer-events: none;
}

.top-logo__link{
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;

}

.top-logo img{
  display: block;
  height: 54px; 
  width: auto;
}

.hero{
  position: relative;
  padding-top: 94px;
}


@media (max-width: 480px){
  .top-logo{
    top: 10px;
    margin-bottom: 5px;
  }
  .top-logo img {
    height: 54px;
  }
  .hero{
    padding-top: 66px;
  }
}





/* Split proof layout: image left, cards stacked right */
.proof-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 14px;
}

.proof-split__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
  box-shadow: 0 16px 34px rgba(0,0,0,.25);
  min-height: 100%;
  max-height: 400px;

}

.proof-split__media img{
  width: 100%;
  height: 100%;
  max-height: 500px;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.proof-split__caption{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.proof-split__cards{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Ensure the cards don't look “short” next to the image */
.proof-split__cards .card{
  height: auto;
}

/* Tablet/mobile: stack */
@media (max-width: 900px){
  .proof-split{
    grid-template-columns: 1fr;
  }
  .proof-split__media{
    max-height: 420px;
  }
}


.site-footer{
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
}

.site-footer .container{
  display: grid;
  justify-items: center;   /* centers logo + footer-center */
  gap: 14px;
  text-align: center;
}

.bottom-logo{
  display: flex;
  justify-content: center;
}

.bottom-logo a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bottom-logo img{
  height: 56px;
  width: auto;
  display: block;
}

.footer-center{
  max-width: 720px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

/* Existing link styles (keep or adjust) */
.footer-link,
.footer-phone{
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .2px;
}

.footer-link:hover,
.footer-phone:hover{ text-decoration: underline; }

.footer-address{
  color: rgba(255,255,255,.75);
  font-size: 14px;
}

.footer-copyright{
  color: rgba(255,255,255,.55);
  font-size: 12px;
  margin-top: 6px;
}

