:root{
  --gg-green-900:#033409;
  --gg-green-800:#14682B;
  --gg-green-700:#3D9B36;
  --gg-green-600:#67BB40;
  --gg-green-500:#ABE641;
  --gg-green-200:#CCE3B0;

  --bg:#F6FBF4;
  --surface:#FFFFFF;
  --text:#102216;
  --muted:#3B4A3F;
  --border:rgba(20,104,43,.18);
  --shadow:0 10px 30px rgba(3,52,9,.10);
  --radius:18px;
  --max:1120px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(171,230,65,.22), transparent 60%),
    radial-gradient(900px 500px at 85% 15%, rgba(103,187,64,.20), transparent 55%),
    linear-gradient(180deg, var(--bg), #ffffff 60%);
  line-height:1.45;
}

a{color:var(--gg-green-800); text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:var(--max); margin:0 auto; padding:18px}

.topbar{
  position:sticky; top:0; z-index:10;
  background:rgba(246,251,244,.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.topbar-inner{
  display:flex; align-items:center; gap:14px;
  padding:12px 18px;
  max-width:var(--max); margin:0 auto;
}
.brand{display:flex; align-items:center; gap:12px; min-width:220px}
.brand img{height:44px; width:auto}
.brand .title{display:flex; flex-direction:column}
.brand .title strong{font-size:15px; letter-spacing:.2px}
.brand .title span{font-size:12px; color:var(--muted)}

.nav-toggle{
  display:none;
  margin-left:auto;
  border:1px solid var(--border);
  background:var(--surface);
  border-radius:12px;
  padding:10px 12px;
  box-shadow:0 6px 18px rgba(3,52,9,.08);
  cursor:pointer;
}

.layout{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap:18px;
  max-width:var(--max);
  margin:18px auto 40px;
  padding:0 18px;
}

.sidebar{
  background:rgba(255,255,255,.86);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  height: fit-content;
}
.sidebar .section{padding:14px 14px 6px 14px}
.sidebar .section h4{margin:0 0 8px 0; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted)}
.sidebar a.item{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 12px;
  margin:6px 0;
  border-radius:14px;
  border:1px solid transparent;
}
.sidebar a.item:hover{
  background:rgba(171,230,65,.14);
  border-color:rgba(20,104,43,.20);
  text-decoration:none;
}
.sidebar a.item.active{
  background:rgba(103,187,64,.18);
  border-color:rgba(20,104,43,.28);
}
.badge{
  font-size:11px;
  padding:3px 8px;
  border-radius:999px;
  background:rgba(20,104,43,.08);
  border:1px solid rgba(20,104,43,.18);
  color:var(--gg-green-800);
}

.main{
  background:rgba(255,255,255,.86);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
}

.hero{
  display:grid;
  grid-template-columns: 1.3fr .9fr;
  gap:18px;
  align-items:center;
  padding:18px;
  border-radius:calc(var(--radius) + 6px);
  border:1px solid rgba(20,104,43,.16);
  background:
    radial-gradient(700px 320px at 10% 20%, rgba(171,230,65,.24), transparent 55%),
    radial-gradient(600px 300px at 85% 15%, rgba(103,187,64,.20), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.70));
}
.hero h1{margin:0 0 8px 0; font-size:30px; line-height:1.1}
.hero p{margin:0; color:var(--muted); font-size:14px}
.cta-row{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(20,104,43,.22);
  background:var(--surface);
  box-shadow:0 8px 18px rgba(3,52,9,.08);
  font-weight:600;
}
.btn.primary{
  background:linear-gradient(180deg, rgba(171,230,65,.9), rgba(103,187,64,.9));
  border-color:rgba(3,52,9,.20);
  color:#0B200F;
}
.btn:hover{text-decoration:none; transform: translateY(-1px)}
.kpis{
  display:grid;
  gap:10px;
}
.kpi{
  border-radius:16px;
  padding:12px;
  border:1px solid rgba(20,104,43,.16);
  background:rgba(255,255,255,.78);
}
.kpi strong{display:block; font-size:16px}
.kpi span{display:block; font-size:12px; color:var(--muted); margin-top:3px}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:16px;
}
.card{
  border-radius:16px;
  padding:14px;
  border:1px solid rgba(20,104,43,.16);
  background:rgba(255,255,255,.78);
}
.card h3{margin:0 0 6px 0; font-size:15px}
.card p{margin:0; color:var(--muted); font-size:13px}

hr{border:0; border-top:1px solid rgba(20,104,43,.14); margin:18px 0}

.footer{
  max-width:var(--max);
  margin:0 auto 26px;
  padding:0 18px;
  color:var(--muted);
  font-size:12px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:space-between;
  align-items:center;
}

.notice{
  border-left:4px solid var(--gg-green-600);
  padding:10px 12px;
  border-radius:14px;
  background:rgba(171,230,65,.12);
  border:1px solid rgba(20,104,43,.14);
  color:var(--muted);
  font-size:13px;
}

.form{
  display:grid;
  gap:10px;
  max-width:680px;
}
label{font-size:13px; color:var(--muted)}
input, textarea, select{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(20,104,43,.20);
  background:rgba(255,255,255,.92);
  font:inherit;
}
textarea{min-height:120px; resize:vertical}

@media (max-width: 940px){
  .layout{grid-template-columns: 1fr}
  .sidebar{display:none}
  .nav-toggle{display:inline-flex}
  .hero{grid-template-columns: 1fr}
  .grid3{grid-template-columns: 1fr}
}
.sidebar.open{display:block}

/* ============================================================
   Added 2026-08-12 — GGG Public Website + Direct Quote Intake.
   ADDITIVE ONLY: nothing above this line was changed. Two real,
   pre-existing gaps in this file (classes referenced by the
   original pages but never defined — confirmed by grepping every
   real page's class usage against this file before this addition)
   are filled in here rather than silently left broken:
     - .grid2 — used by government-contracting.html, never defined
       (only .grid3 existed).
     - .steps/.step/.num — used by index.html's "How we operate"
       section, never defined at all.
   Both are modeled directly on the existing .grid3/.card/.kpi
   patterns already established above, not a new visual language.
   ============================================================ */

.grid2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
  margin-top:16px;
}
@media (max-width: 940px){
  .grid2{grid-template-columns: 1fr}
}

.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:16px;
}
.step{
  border-radius:16px;
  padding:14px;
  border:1px solid rgba(20,104,43,.16);
  background:rgba(255,255,255,.78);
}
.step .num{
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px;
  border-radius:50%;
  background:linear-gradient(180deg, rgba(171,230,65,.9), rgba(103,187,64,.9));
  color:#0B200F;
  font-weight:700;
  font-size:13px;
  margin-bottom:8px;
}
.step h4{margin:0 0 4px 0; font-size:14px}
.step p{margin:0; color:var(--muted); font-size:13px}
@media (max-width: 940px){
  .steps{grid-template-columns: 1fr}
}

/* Real, previously-missing disabled-button state (the quote form uses
   this before a real backend is wired up — see quotes.js). */
.btn[disabled]{opacity:.5; cursor:not-allowed}
.btn[disabled]:hover{transform:none}

/* Quote request form (quotes.html) */
.honeypot-field{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}
.form-msg{padding:12px 14px; border-radius:14px; margin-bottom:14px; font-size:13px}
.form-msg.error{background:#fdecec; color:#8a1f1f; border:1px solid #f3c1c1}
.form-msg.success{background:rgba(171,230,65,.18); color:var(--gg-green-900); border:1px solid rgba(20,104,43,.24)}
.table-scroll{overflow-x:auto}
.line-items-table{width:100%; border-collapse:collapse; margin-bottom:10px}
.line-items-table th, .line-items-table td{text-align:left; padding:6px; border-bottom:1px solid var(--border); font-size:13px}
.line-items-table input{width:100%; padding:8px; border:1px solid var(--border); border-radius:10px; font:inherit}
.file-list ul{margin:8px 0 0; padding-left:18px; font-size:13px; color:var(--muted)}
.radio-group{display:flex; gap:16px; flex-wrap:wrap; font-size:13px; color:var(--muted)}
.radio-group label{display:flex; align-items:center; gap:6px}

/* Track Record page (history.html) */
.metrics-row{display:grid; grid-template-columns:repeat(auto-fit, minmax(160px, 1fr)); gap:12px; margin-bottom:18px}
.metric{text-align:center; padding:16px; border-radius:16px; border:1px solid rgba(20,104,43,.16); background:rgba(255,255,255,.78)}
.metric .num{font-size:26px; font-weight:800; color:var(--gg-green-800)}
.metric .label{font-size:12px; color:var(--muted); margin-top:2px}
.history-table{width:100%; border-collapse:collapse}
.history-table th, .history-table td{text-align:left; padding:10px; border-bottom:1px solid var(--border); font-size:13px}
.history-table th{color:var(--muted); font-weight:600; font-size:11px; text-transform:uppercase; letter-spacing:.05em}
.badge-market{display:inline-block; padding:3px 9px; border-radius:999px; font-size:11px; font-weight:700; background:rgba(20,104,43,.08); border:1px solid rgba(20,104,43,.18); color:var(--gg-green-800)}
.empty-state{text-align:center; padding:40px 16px; color:var(--muted)}
