
:root{
  --bg:#0f172a;      /* slate-900 */
  --panel:#111827;   /* gray-900 */
  --text:#e5e7eb;    /* gray-200 */
  --muted:#94a3b8;   /* slate-400 */
  --brand:#f97316;   /* amber-500 */
  --brand-2:#22c55e; /* emerald-500 */
  --surface:#111827;
  --white:#fff;
  --border:#1f2937;
  --shadow:0 10px 30px rgba(0,0,0,.25);
}

* { box-sizing: border-box; }
html, body { margin:0; padding:0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top:0; z-index:50; background: rgba(15,23,42,.8); backdrop-filter: blur(8px); border-bottom:1px solid var(--border); }
.header-inner { display:flex; align-items:center; justify-content:space-between; padding: 12px 0; }
.brand { display:flex; align-items:center; gap:12px; }
.logo { width:36px; height:36px; display:grid; place-items:center; background: var(--panel); border:1px solid var(--border); border-radius:8px; }
.brand-text { display:flex; flex-direction:column; line-height:1; }
.brand-text strong { font-size: 18px; }
.brand-text span { color: var(--muted); font-size: 12px; }

.primary-nav a { margin-left:16px; color: var(--text); }
.primary-nav .btn-secondary { padding: 8px 12px; border:1px solid var(--border); border-radius:8px; }
.btn { display:inline-block; padding: 12px 18px; border-radius: 10px; background: var(--surface); border:1px solid var(--border); color: var(--text); cursor:pointer; box-shadow: var(--shadow); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: var(--bg); border:none; }

/* Hero */
.hero { padding: 64px 0; background: radial-gradient(1200px 600px at 10% -10%, rgba(245,158,11,.15), transparent 50%), radial-gradient(1200px 600px at 90% -10%, rgba(34,197,94,.15), transparent 50%); }
.hero-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.hero-copy h1 { font-size: 44px; margin: 0 0 8px; }
.hero-bullets { list-style:none; padding:0; margin: 16px 0 0; color: var(--muted); }
.hero-bullets li { margin: 6px 0; }

.hero-calculator { background: var(--panel); border:1px solid var(--border); border-radius: 14px; padding: 18px; }
.hero-calculator h2 { margin: 0 0 12px; }
.field { margin: 12px 0; }
.field label, .field span { display:block; margin-bottom:6px; font-weight:600; }
.field input[type="number"], .field input[type="date"], .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width:100%; padding:10px 12px; border-radius:10px; border:1px solid var(--border); background:#0b1220; color: var(--text);
}
.checkbox-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px 12px; }
.two-col { display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
.consent { display:block; font-size:12px; color: var(--muted); margin-top:6px; }
.lead-details summary { cursor:pointer; color: var(--muted); }
.calc-result { display:grid; grid-template-columns: 1fr; gap:6px; padding:12px; background:#0b1220; border:1px dashed var(--border); border-radius:10px; margin-top:10px; }
.actions { display:flex; gap:10px; margin-top:8px; }
.disclaimer { color: var(--muted); font-size:12px; }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: #0b1220; }
.section h2 { margin: 0 0 16px; font-size:28px; }
.cards { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card { background: var(--panel); border:1px solid var(--border); padding:14px; border-radius:12px; }
.card h3 { margin:0 0 6px; }

/* Projects */
.section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.filters { display:flex; gap:8px; }
.filter-btn { padding:8px 12px; border:1px solid var(--border); background:var(--panel); color:var(--text); border-radius:10px; cursor:pointer; }
.filter-btn.active { outline: 2px solid var(--brand); }
.projects-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:16px; }
.project-card { background: var(--panel); border:1px solid var(--border); border-radius:12px; padding:12px; }
.project-card .meta { color: var(--muted); font-size: 14px; margin: 4px 0 10px; }
.before-after { position: relative; overflow: hidden; border-radius:10px; border:1px solid var(--border); }
.before-after img { display:block; width:100%; height:auto; }
.before-after .before-wrap { position:absolute; inset:0; width:50%; overflow:hidden; }
.before-after .before-wrap img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.before-after .slider { position:absolute; left:0; right:0; bottom:10px; width:calc(100% - 20px); margin:0 10px; }

.cta-center { text-align:center; margin-top: 18px; }

/* Reviews */
.reviews { display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
.review { margin:0; background: var(--panel); border:1px solid var(--border); padding:14px; border-radius:12px; }

/* FAQ */
.faq details { background: var(--panel); border:1px solid var(--border); padding:10px 12px; border-radius:12px; margin:8px 0; }
.faq summary { cursor:pointer; font-weight:600; }

/* Contact */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
.map-wrap iframe { border:1px solid var(--border); border-radius:12px; }

/* Footer */
.site-footer { border-top:1px solid var(--border); padding: 16px 0; }
.footer-inner { display:flex; align-items:center; justify-content:space-between; color: var(--muted); }
.footer-nav a { margin-left:10px; color: var(--muted); }
.muted { color: var(--muted); }

/* Responsive */
@media (max-width: 980px){
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 620px){
  .cards, .projects-grid { grid-template-columns: 1fr; }
}



/* --- Enhanced HERO --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background:
    radial-gradient(1200px 400px at 10% 10%, rgba(37,99,235,.10), transparent 70%),
    radial-gradient(700px 300px at 90% 20%, rgba(245,158,11,.10), transparent 70%),
    linear-gradient(180deg,#ffffff, #f8fafc);
}
.hero::before, .hero::after{
  content:""; position:absolute; inset:auto; pointer-events:none; filter:blur(60px); opacity:.5;
}
.hero::before{ width:380px; height:380px; background:conic-gradient(from 90deg at 50% 50%, rgba(37,99,235,.18), rgba(245,158,11,.18), rgba(16,185,129,.18), rgba(37,99,235,.18)); left:-120px; top:-80px; border-radius:999px; }
.hero::after{ width:320px; height:320px; background:radial-gradient(circle at 30% 30%, rgba(37,99,235,.18), transparent 60%); right:-100px; bottom:-120px; border-radius:999px; }

.hero-copy h1{
  font-size: clamp(36px, 5vw, 54px);
  background: linear-gradient(90deg, #111827, #0f172a 40%, #1f2937);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy .sub{
  font-size: 1.1rem;
  color:#334155;
  max-width: 640px;
}
.hero-pills{
  display:flex; gap:10px; flex-wrap:wrap; margin:16px 0 4px 0;
}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; border:1px solid #e5e7eb; border-radius:999px; padding:8px 12px;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
  font-weight:600; color:#0f172a;
}
.pill small{color:#475569; font-weight:500}

.hero-metrics{ display:flex; gap:18px; flex-wrap:wrap; margin-top:14px; }
.metric{ background:#fff; border:1px solid #e5e7eb; border-radius:12px; padding:10px 12px; display:flex; flex-direction:column; box-shadow: var(--shadow); min-width:140px }
.metric .kpi{ font-size:1.3rem; font-weight:800 }
.metric .desc{ font-size:.85rem; color:#64748b }

.hero-calculator.card{
  position: relative;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(2,6,23,.12), 0 2px 6px rgba(2,6,23,.08);
  border: 1px solid rgba(2,6,23,.06);
}
.hero-calculator.card::after{
  content:""; position:absolute; inset:-1px; border-radius:22px;
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(245,158,11,.12));
  filter: blur(30px); z-index:-1;
}

.group.inline-help{ display:flex; justify-content:space-between; align-items:center }
.inline-help small{ color:#6b7280 }

input,select,textarea{
  transition: box-shadow .2s ease, border-color .2s ease, transform .05s ease;
}
input:focus,select:focus,textarea:focus{
  box-shadow: 0 0 0 6px rgba(37,99,235,.08);
}
.hero .result{
  border:1px dashed #cbd5e1;
  background: linear-gradient(180deg,#f8fafc,#ffffff);
}

/* CTA button hover */
.btn-primary{ transition: transform .05s ease, box-shadow .2s ease; }
.btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 10px 22px rgba(37,99,235,.28) }

/* Trust list with icons */
.trust{ gap:10px }
.trust li{ display:flex; align-items:center; gap:6px }
.trust li::before{ content:"✓"; display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; border-radius:999px; background:#10b981; color:#fff; font-size:.85rem }

/* Admin login page */
.login-wrap{ min-height:100dvh; display:grid; place-items:center; background:
  radial-gradient(800px 300px at 10% 10%, rgba(37,99,235,.08), transparent 60%),
  radial-gradient(600px 240px at 90% 90%, rgba(245,158,11,.10), transparent 60%),
  #f8fafc; padding:24px;
}
.login-card{ width:min(440px, 94vw); background:#fff; border:1px solid #e5e7eb; border-radius:20px; padding:22px; box-shadow: 0 18px 44px rgba(2,6,23,.12) }
.login-card h1{ margin:6px 0 12px 0; font-size:22px }
.login-card .fine{ margin-top:8px }
.login-actions{ display:flex; align-items:center; justify-content:space-between; gap:10px }
.logout-link{ margin-left:auto; color:#ef4444 }


/* -- Filter chips refined (small, horizontal) -- */
.filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;overflow:auto;padding-bottom:4px}
.chip{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 12px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;color:#111827;font-weight:600;font-size:.9rem;white-space:nowrap;transition:all .15s ease}
.chip:hover{transform:translateY(-1px);box-shadow:0 4px 10px rgba(0,0,0,.06)}
.chip.active{background:var(--brand);color:#fff;border-color:var(--brand)}
