/* =========================================
   VALUE GATE SOLUTIONS — MASTER CSS
   Final locked version with mobile correction
========================================= */

:root{
  --blue:#1E73BE;
  --teal:#2BB6C4;
  --accent:#F47C4D;
  --light:#F7F9FC;
  --dark:#14181f;
  --muted:#566070;
  --border:rgba(20,24,31,.12);
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --radius:14px;
  --max:1180px;
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--dark);
  line-height:1.6;
  background:#fff;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:min(var(--max),92%);
  margin:auto;
}

.h1{
  font-size:clamp(32px,4vw,46px);
  line-height:1.15;
  font-weight:900;
  margin:0 0 14px;
}

.h2{
  font-size:clamp(26px,3vw,36px);
  line-height:1.2;
  font-weight:900;
  margin:0 0 12px;
}

.p{
  margin:0;
  color:var(--muted);
}

.lead{
  font-size:18px;
  color:rgba(255,255,255,.95);
  max-width:760px;
  margin:0;
}

.kicker{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:900;
  color:var(--accent);
}

.heroKicker{
  display:inline-block;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.24);
  color:#fff;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:13px;
  padding:8px 12px;
  border-radius:999px;
  margin-bottom:14px;
}

.heroSetupPill{
  display:inline-block;
  margin-top:2px;
  padding:11px 16px;
  border-radius:999px;
  background:rgba(244,124,77,.34);
  border:1px solid rgba(244,124,77,.72);
  color:#fff;
  font-weight:900;
  font-size:14px;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:0 8px 18px rgba(244,124,77,.18);
}

.heroSetupPill:hover{
  background:rgba(244,124,77,.46);
}

.section-divider{
  width:80px;
  height:4px;
  background:var(--accent);
  border-radius:999px;
  margin:14px auto 0;
}

.section{
  padding:72px 0;
}

.section.compact{
  padding:42px 0;
}

.section.light{
  background:var(--light);
}

.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:#fff;
  border-bottom:1px solid var(--border);
}

.nav{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:10px 0;
}

.brandWrap{
  display:flex;
  align-items:flex-start;
  gap:14px;
  min-width:0;
  flex:1 1 auto;
}

.shieldHome{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}

.shieldHome img{
  width:132px;
  height:132px;
  object-fit:contain;
}

.brandStack{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap:10px;
  min-width:0;
  flex:0 1 auto;
  padding-top:10px;
}

.brandTitle{
  font-weight:900;
  font-size:34px;
  line-height:1;
  color:var(--blue);
  white-space:nowrap;
  display:inline-block;
  padding:2px 0 4px;
}

.serviceMiniNav{
  display:flex;
  flex-wrap:nowrap;
  gap:18px;
  white-space:nowrap;
}

.serviceMiniNav a{
  font-size:15px;
  font-weight:800;
  color:var(--muted);
  padding:6px 4px;
  border-bottom:2px solid transparent;
  display:inline-block;
}

.serviceMiniNav a:hover{
  color:var(--blue);
  border-bottom-color:var(--accent);
}

.navlinks{
  display:none !important;
}

.navcta{
  display:flex;
  align-items:flex-end;
  gap:8px;
  flex-wrap:wrap;
  margin-left:auto;
}

.navctaDesktop{
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
}

.navctaTop{
  display:flex;
  gap:8px;
  align-items:center;
}

.navctaBottom{
  display:flex;
  justify-content:flex-end;
  width:100%;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:12px;
  font-weight:800;
  border:1px solid transparent;
  cursor:pointer;
  transition:all .2s ease;
  text-align:center;
}

.btn.small{
  padding:10px 14px;
  font-size:14px;
}

.btn.primary{
  background:var(--blue);
  color:#fff;
}

.btn.primary:hover{
  filter:brightness(.96);
}

.btn.ghost{
  border-color:var(--border);
  background:#fff;
  color:var(--dark);
}

.btn.ghost:hover{
  background:var(--light);
}

.btn.teal{
  background:var(--teal);
  color:#fff;
}

.btn.teal:hover{
  filter:brightness(.96);
}

.hero{
  background:linear-gradient(135deg,var(--blue),var(--teal));
  color:#fff;
  padding:72px 0;
}

.herogrid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:32px;
  align-items:center;
}

.card{
  background:#fff;
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}

.card.pad{
  padding:22px;
}

.icon{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(30,115,190,.08);
  border:1px solid rgba(30,115,190,.12);
  color:var(--blue);
  font-size:24px;
}

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

.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px;
}

.list{
  margin:12px 0 0;
  padding-left:18px;
  color:var(--dark);
}

.list li{
  margin:6px 0;
}

.turnoverSpotlight,
.fullSetupSpotlight{
  position:relative;
  overflow:hidden;
}

.turnoverSpotlight{
  border-color:rgba(30,115,190,.22);
  box-shadow:0 14px 34px rgba(30,115,190,.12);
}

.turnoverSpotlightBar{
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:6px;
  background:linear-gradient(90deg,var(--accent),var(--blue));
}

.turnoverTitle{
  color:var(--blue);
}

.fullSetupSpotlight{
  border-color:rgba(244,124,77,.22);
  box-shadow:0 14px 34px rgba(244,124,77,.10);
}

.fullSetupSpotlightBar{
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:6px;
  background:linear-gradient(90deg,var(--blue),var(--accent));
}

.fullSetupTitle{
  color:var(--blue);
}

.form label{
  display:block;
  font-weight:800;
  margin:10px 0 6px;
  font-size:13px;
}

.form input,
.form select,
.form textarea{
  width:100%;
  padding:12px;
  border-radius:10px;
  border:1px solid var(--border);
  font:inherit;
  background:#fff;
}

.form textarea{
  resize:vertical;
}

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

.help{
  font-size:12px;
  color:var(--muted);
  margin-top:6px;
}

.hp{
  position:absolute !important;
  left:-9999px !important;
  opacity:0 !important;
  pointer-events:none !important;
}

.checkRow{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-weight:700;
}

.checkRow input{
  width:auto;
  margin-top:4px;
}

.checkCol{
  width:100%;
}

.estForm{
  margin-top:8px;
}

.estIncludes{
  margin-top:12px;
  padding:14px;
  border-radius:12px;
  background:rgba(30,115,190,.05);
  border:1px solid rgba(30,115,190,.12);
  font-size:14px;
}

.estIncludes ul{
  margin:8px 0 0;
  padding-left:18px;
}

.fine{
  font-size:12px;
  color:var(--muted);
  margin-top:8px;
}

.quoteOut{
  margin-top:16px;
  padding:16px;
  border-radius:12px;
  background:rgba(30,115,190,.06);
  border:1px solid rgba(30,115,190,.15);
  font-weight:700;
}

.quoteOut b{
  color:var(--blue);
}

.trustbar{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}

.trustitem,
.badge{
  background:rgba(20,24,31,.05);
  border:1px solid rgba(20,24,31,.1);
  border-radius:999px;
  padding:10px 14px;
  text-align:center;
  font-weight:800;
  font-size:14px;
}

.badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}

.hero .badge{
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.22);
  color:#fff;
  font-size:13px;
}

.badgeLink:hover{
  background:rgba(255,255,255,.26);
}

.inlineServiceLink{
  color:var(--blue);
  font-weight:800;
  text-decoration:underline;
}

.ctaband{
  background:var(--blue);
  color:#fff;
  text-align:center;
  padding:60px 0;
}

.ctaband .p{
  color:rgba(255,255,255,.9);
}

.footer{
  padding:24px 0;
  border-top:1px solid var(--border);
  font-size:14px;
}

.footergrid{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
}

#turnovers,
#full-setup,
#furniture-assembly,
#tv-wall-services,
#smart-locks-cameras,
#handyman-repairs,
#moving-unit-relocation,
#included-top,
#kitchen-setup,
#bathroom-setup,
#guest-ready-staging{
  scroll-margin-top:260px;
}

@media (max-width:1180px){
  .shieldHome img{
    width:118px;
    height:118px;
  }

  .brandTitle{
    font-size:30px;
  }

  .serviceMiniNav{
    gap:14px;
  }

  .serviceMiniNav a{
    font-size:14px;
  }
}

/* ===== MOBILE CORRECTION ===== */
@media (max-width:920px){
  .herogrid{
    grid-template-columns:1fr;
  }

  .grid3{
    grid-template-columns:1fr;
  }

  .grid2{
    grid-template-columns:1fr;
  }

  .form .row{
    grid-template-columns:1fr;
  }

  .hero{
    padding:56px 0;
  }

  .nav{
    flex-wrap:wrap;
    align-items:flex-start;
    gap:14px;
  }

  .brandWrap{
    width:100%;
    align-items:flex-start;
    gap:14px;
  }

  .shieldHome img{
    width:104px;
    height:104px;
  }

  .brandStack{
    flex:1 1 auto;
    gap:10px;
    padding-top:8px;
  }

  .brandTitle{
    font-size:24px;
    line-height:1.1;
    white-space:normal;
  }

  /* restore simple mobile mini-link behavior */
  .serviceMiniNav{
    flex-wrap:wrap;
    gap:12px 18px;
    white-space:normal;
    overflow:visible;
  }

  .serviceMiniNav a{
    font-size:15px;
    padding:6px 0;
    white-space:nowrap;
    flex:0 0 auto;
  }

  /* IMPORTANT: restore old mobile CTA behavior */
  .navcta{
    width:100%;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-left:0;
  }

  .navctaDesktop{
    flex-direction:row;
    align-items:stretch;
  }

  .navctaTop{
    display:flex;
    gap:10px;
    width:100%;
  }

  .navctaBottom{
    width:100%;
    display:flex;
  }

  .navctaTop .btn{
    flex:1;
    min-width:150px;
  }

  .navctaBottom .btn{
    width:100%;
  }

  .section{
    padding:56px 0;
  }

  .section.compact{
    padding:32px 0;
  }

  #turnovers,
  #full-setup,
  #furniture-assembly,
  #tv-wall-services,
  #smart-locks-cameras,
  #handyman-repairs,
  #moving-unit-relocation,
  #included-top,
  #kitchen-setup,
  #bathroom-setup,
  #guest-ready-staging{
    scroll-margin-top:210px;
  }
}

@media (max-width:520px){
  .trustbar{
    flex-direction:column;
    align-items:stretch;
  }

  .brandWrap{
    gap:12px;
  }

  .shieldHome img{
    width:96px;
    height:96px;
  }

  .brandTitle{
    font-size:21px;
  }

  .serviceMiniNav{
    gap:10px 14px;
  }

  .serviceMiniNav a{
    font-size:14px;
    padding:6px 0;
  }

  .heroSetupPill{
    font-size:13px;
    padding:10px 14px;
    background:rgba(244,124,77,.42);
    border:1px solid rgba(244,124,77,.82);
  }

  /* do NOT make every button full width globally on mobile */
  .btn{
    width:auto;
  }

  .navctaTop .btn{
    flex:1;
    width:auto;
  }

  .navctaBottom .btn{
    width:100%;
  }

  .card.pad{
    padding:18px;
  }

  #turnovers,
  #full-setup,
  #furniture-assembly,
  #tv-wall-services,
  #smart-locks-cameras,
  #handyman-repairs,
  #moving-unit-relocation,
  #included-top,
  #kitchen-setup,
  #bathroom-setup,
  #guest-ready-staging{
    scroll-margin-top:185px;
  }
}