/* Value Gate Solutions - cleaned + mobile-optimized */
: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;
}

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

/* ==== LAYOUT SAFETY (prevents right-shift / overflow) ==== */
html, body { overflow-x:hidden; }

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

/* Sections */
.section{padding:72px 0}
.section.light{background:var(--light)}
.section.compact{padding:54px 0}

/* Topbar / Nav */
.topbar{
  position:sticky; top:0; z-index:999;
  background:#fff;
  border-bottom:1px solid var(--border);
  backdrop-filter:saturate(1.2) blur(8px);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

/* Header brand */
.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none;
  min-width:0;
}
.brandtext{min-width:0}
.brandname{
  font-weight:900;
  letter-spacing:.2px;
  font-size:16px;
  line-height:1.1;
  color:var(--dark);
}
.brand .tag{
  font-size:12px;
  color:var(--muted);
  margin-top:-2px;
  font-weight:900;
  white-space:normal;
  line-height:1.15;
  max-width:380px;
}

/* ✅ Single source of truth for logo size */
.brand img{
  width:120px;
  height:120px;
  object-fit:contain;
  flex:0 0 auto;
}

.navlinks{display:flex; gap:18px; align-items:center}
.navlinks a{
  text-decoration:none;
  font-weight:600;
  color:var(--muted);
  padding:8px 10px;
  border-radius:10px;
}
.navlinks a:hover{background:var(--light); color:var(--dark)}

.navcta{display:flex; gap:10px; align-items:center; flex-wrap:nowrap}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  text-decoration:none;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid transparent;
  font-weight:700;
  cursor:pointer;
  transition:.15s ease;
  white-space:nowrap;
}
.btn.primary{background:var(--blue); color:#fff}
.btn.primary:hover{transform:translateY(-1px); filter:brightness(.98)}
.btn.ghost{background:#fff; border-color:var(--border); color:var(--dark)}
.btn.ghost:hover{background:var(--light)}
.btn.teal{background:var(--teal); color:#fff}
.btn.small{padding:10px 12px; border-radius:10px; font-weight:700}

/* Hero */
.hero{
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color:#fff;
  padding:72px 0;
}
.herogrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:34px;
  align-items:center;
  width:100%;
}

.h1{
  font-size: clamp(30px, 4vw, 48px);
  line-height:1.1;
  margin:0 0 14px;
  letter-spacing:-.6px;
  font-weight:900;
}
.lead{font-size:18px; color:rgba(255,255,255,.92); margin:0 0 22px}

.badges{
  display:flex; flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.badge{
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .3px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

/* Cards / Grids */
.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.card.pad{padding:22px}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
  width:100%;
}
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:22px;
  width:100%;
}

.kicker{
  color:var(--blue);
  font-weight:900;
  letter-spacing:.3px;
  text-transform:uppercase;
  font-size:12px;
}
.h2{
  margin:10px 0 14px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height:1.2;
  font-weight:900;
  letter-spacing:-.4px;
}
.p{color:var(--muted); margin:0}

.icon{
  width:44px;
  height:44px;
  border-radius:12px;
  background: rgba(43,182,196,.18);
  border:1px solid rgba(43,182,196,.28);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color: var(--teal);
}

.section-divider{
  width:64px;
  height:4px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  border-radius:999px;
  margin:14px auto 28px;
}

/* CTA band */
.ctaband{
  background: var(--blue);
  color:#fff;
  padding:54px 0;
  text-align:center;
}
.ctaband .h2{color:#fff; margin:0 0 10px}
.ctaband .p{color:rgba(255,255,255,.88); margin:0 0 18px}

/* Footer */
.footer{
  border-top:1px solid var(--border);
  padding:28px 0;
  color:var(--muted);
  font-size:14px;
}
.footer a{color:var(--muted)}
.footergrid{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

/* Forms */
.form label{display:block; font-weight:800; margin:10px 0 6px}
.form input, .form select, .form textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  outline:none;
  font:inherit;
  background:#fff;
}
.form input:focus, .form select:focus, .form textarea:focus{
  border-color:rgba(30,115,190,.45);
  box-shadow:0 0 0 4px rgba(30,115,190,.12);
}
.form .row{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
.form .help{font-size:13px; color:var(--muted); margin-top:6px}
.form .hp{display:none !important}

/* Estimator add-on clarity block */
.estIncludes{
  margin-top:10px;
  padding:12px;
  border-radius:12px;
  background: rgba(20,24,31,.04);
  border: 1px solid rgba(20,24,31,.10);
  color: var(--muted);
  font-size: 13px;
}
.estIncludes b{color:var(--dark)}
.estIncludes ul{margin:8px 0 0; padding-left:18px}
.estIncludes li{margin:4px 0}

/* Quote output */
.quoteOut{
  margin-top:14px;
  padding:14px;
  border-radius:12px;
  background:rgba(30,115,190,.06);
  border:1px solid rgba(30,115,190,.14);
  color:var(--dark);
  min-height:58px;
}
.quoteOut b{color:var(--blue)}
.fine{display:block; margin-top:6px; font-size:12px; color:var(--muted)}

/* ✅ Checkbox alignment (tablet-safe) */
.estForm .row{align-items:flex-start}
.estForm .checkCol{display:flex; flex-direction:column}
.estForm .checkRow{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  padding:0;
  font-weight:900;
}
.estForm .checkRow input{margin:0}

/* Trust bar */
.trustbar{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
.trustitem{
  background: rgba(20,24,31,.06);
  border:1px solid rgba(20,24,31,.10);
  border-radius:999px;
  padding:10px 12px;
  text-align:center;
  font-weight:800;
  font-size:13px;
  color: var(--dark);
}

/* Add-on pills */
.addon-pill{
  background:#fff;
  border:1px solid var(--border);
  border-radius:999px;
  padding:10px 16px;
  font-weight:800;
  font-size:14px;
  box-shadow:0 6px 16px rgba(0,0,0,.06);
}

/* Sticky call bar */
.stickyCall{
  position:fixed;
  left:12px; right:12px; bottom:12px;
  display:none;
  z-index:1000;
}
.stickyCall.show{display:block}
.stickyCall .bar{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  padding:12px 12px;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}

/* Tablet */
@media (max-width: 1024px){
  .brand .tag{max-width:46vw}
  .brand img{width:110px; height:110px}
}

/* Mobile */
@media (max-width: 920px){
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .herogrid{grid-template-columns:1fr}
  .navlinks{display:none}
  .form .row{grid-template-columns:1fr}

  body{padding-bottom:92px}
  .section{padding:56px 0}
  .hero{padding:56px 0}

  .navcta{flex-wrap:wrap}
  .navcta .btn{flex:1; min-width:140px}

  .trustbar{grid-template-columns:1fr 1fr}
}

/* Extra small */
@media (max-width: 520px){
  .trustbar{grid-template-columns:1fr}
  .trustitem{font-size:13px}
  .brand img{width:120px; height:120px}
  .brandname{font-size:14px}
  .brand .tag{font-size:10.5px}
}