/* =========================================================
   Demo Site — Contractor (distinct vibe)
   File: /css/demo-contractor.css
========================================================= */

:root{
  --bg:#06111a;
  --ink: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --stroke: rgba(255,255,255,.12);

  /* Contractor theme */
  --steel:#a7b3c2;
  --accent:#3FA9F5;      /* trust blue */
  --accent2:#6b7c8f;     /* slate */
  --warn:#C23A3A;

  --shadow: 0 18px 50px rgba(0,0,0,.42);
  --r16:16px; --r22:22px; --r28:28px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  /* "Concrete + blueprint" mood */
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 22%),
    radial-gradient(1000px 520px at 12% 10%, rgba(63,169,245,.16), transparent 55%),
    radial-gradient(900px 520px at 88% 16%, rgba(167,179,194,.10), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 10px, rgba(255,255,255,.01) 10px 20px),
    var(--bg);
  background-blend-mode: normal, normal, normal, overlay, normal;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.container{ width:min(1120px, calc(100% - 32px)); margin:0 auto; }
.muted{ color: var(--muted); }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px; padding:12px 16px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  font-weight:1000;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{
  background: linear-gradient(135deg, rgba(63,169,245,.95), rgba(63,169,245,.55));
  border-color: rgba(63,169,245,.35);
}
.btn-secondary{ background: rgba(255,255,255,.07); }
.btn-ghost{ background: transparent; }
.btn.full{ width:100%; }

/* Demo banner */
.demo-banner{
  background: rgba(167,179,194,.10);
  border-bottom:1px solid rgba(255,255,255,.10);
}
.demo-banner-inner{
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  padding:10px 0; flex-wrap:wrap;
}
.demo-banner-link{
  font-weight:1000;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background: rgba(0,0,0,.12);
}

/* Header */
.site-header{
  position:sticky; top:0; z-index:10;
  background: rgba(6,17,26,.78);
  backdrop-filter: blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0; }

.brand{ display:flex; align-items:center; gap:12px; }
.mark{
  width:44px; height:44px; border-radius:12px;
  display:grid; place-items:center;
  /* tougher, more “industrial” */
  background: rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.04);
  font-weight:1000;
}
.word{ display:flex; flex-direction:column; }
.name{ font-weight:1000; letter-spacing:.2px; }
.tag{ color: rgba(255,255,255,.70); font-weight:800; font-size:.92rem; }

.nav{ display:flex; align-items:center; gap:14px; }
.nav a{ color: rgba(255,255,255,.85); font-weight:900; }
.nav a:hover{ color: rgba(255,255,255,.98); }

/* Hero */
.hero{ padding: 44px 0 18px; }
.hero-grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap:22px; align-items:start; }

.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px; border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  font-weight:1000; color: rgba(255,255,255,.84);
}
.dot{
  width:10px; height:10px; border-radius:50%;
  background: rgba(63,169,245,.95);
  box-shadow:0 0 0 6px rgba(63,169,245,.14);
}
h1{
  /* contractor feels better with less “fancy” */
  font-size: clamp(2.0rem, 4.0vw, 3.1rem);
  line-height:1.06;
  margin: 14px 0 10px;
  letter-spacing:-.2px;
}
.lede{ color: rgba(255,255,255,.80); line-height:1.55; margin:0 0 14px; }

.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin: 12px 0 14px; }
.kpis{ display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; }
.kpi{
  padding:12px;
  border-radius: var(--r16);
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.10);
}
.k-num{ font-weight:1000; }
.k-lbl{ color: rgba(255,255,255,.68); font-weight:800; font-size:.92rem; margin-top:4px; }

/* Contractor-specific "trust strip" look */
.notice{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--r16);
  background: rgba(63,169,245,.08);
  border:1px solid rgba(63,169,245,.16);
  color: rgba(255,255,255,.82);
}

/* Media cards */
.hero-media{ display:grid; gap:14px; }
.media-card{
  overflow:hidden;
  border-radius: var(--r28);
  background:
    radial-gradient(800px 320px at 10% 0%, rgba(167,179,194,.16), transparent 60%),
    rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}
.media-bar{ padding:12px 14px; border-top:1px solid rgba(255,255,255,.10); }
.media-title{ font-weight:1000; }
.media-sub{ color: rgba(255,255,255,.66); font-weight:800; font-size:.92rem; margin-top:4px; }

.quick-card{
  padding:14px;
  border-radius: var(--r28);
  background:
    radial-gradient(800px 320px at 80% 0%, rgba(63,169,245,.12), transparent 60%),
    rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.quick-title{ font-weight:1000; margin-bottom:10px; }
.row{ display:flex; justify-content:space-between; gap:10px; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.row:last-child{ border-bottom:none; }
.label{ color: rgba(255,255,255,.68); font-weight:900; }
.value{ font-weight:1000; }

/* Sections */
.section{ padding: 40px 0; }
.section.alt{
  background: rgba(255,255,255,.03);
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.section-head{ margin-bottom:14px; }
.section h2{ margin:0 0 8px; font-size: 1.75rem; }

.grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; margin-top:16px; }
.card{
  padding:16px;
  border-radius: var(--r28);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.card h3{ margin:0 0 8px; }
.card p{ margin:0; color: rgba(255,255,255,.72); line-height:1.5; }

/* Contractor gallery placeholders feel like "project tiles" */
.gallery{ display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; margin-top:16px; }
.tile{
  height: 150px;
  border-radius: var(--r28);
  background:
    linear-gradient(135deg, rgba(167,179,194,.16), rgba(255,255,255,.04)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 8px, rgba(255,255,255,.02) 8px 16px);
  border:1px solid rgba(255,255,255,.10);
  position:relative;
  overflow:hidden;
}
.cap{
  position:absolute; left:12px; bottom:12px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(6,17,26,.72);
  border:1px solid rgba(255,255,255,.12);
  font-weight:1000;
  color: rgba(255,255,255,.88);
}

/* Reviews */
.reviews{ display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; margin-top:16px; }
.review{
  padding:16px;
  border-radius: var(--r28);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.stars{ color: rgba(63,169,245,.95); font-weight:1000; letter-spacing:1px; }
.review p{ margin:10px 0 10px; color: rgba(255,255,255,.78); line-height:1.55; }
.who{ color: rgba(255,255,255,.68); font-weight:800; }

/* Quote */
.quote-grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap:18px; align-items:start; }
.bullets{ margin: 14px 0 16px; padding-left:18px; color: rgba(255,255,255,.78); line-height:1.6; }
.badge{
  display:inline-block;
  padding:10px 12px;
  border-radius: var(--r16);
  background: rgba(167,179,194,.10);
  border:1px solid rgba(167,179,194,.18);
  font-weight:1000;
}
.form{
  padding:14px;
  border-radius: var(--r28);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.form-top{ display:flex; flex-direction:column; gap:6px; margin-bottom:12px; }
label{ display:flex; flex-direction:column; gap:8px; margin-bottom:12px; font-weight:1000; }
input, select, textarea{
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.92);
  padding: 12px;
  outline:none;
}
textarea{ resize: vertical; }
.tiny{ font-size:.9rem; margin:10px 0 0; }

/* Footer */
.footer{ padding:22px 0; border-top:1px solid rgba(255,255,255,.08); background: rgba(6,17,26,.75); }
.footer-inner{ display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.links{ display:flex; gap:14px; flex-wrap:wrap; }
.links a{ color: rgba(255,255,255,.78); font-weight:900; }
.links a:hover{ color: rgba(255,255,255,.96); }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .reviews{ grid-template-columns: 1fr; }
  .quote-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 520px){
  .nav{ display:none; }
  .kpis{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: 1fr; }
}
