/* WA Solar Supplies — mobile-first rebuild
   Palette: deep solar slate + amber accent. Type: Space Grotesk (display) / Inter (body). */

:root {
  --ink: #10151a;
  --bg: #ffffff;
  --bg-alt: #f4f6f5;
  --bg-deep: #0c1210;
  --bg-deep-2: #101815;
  --line: #d9dfdc;
  --muted: #4c5a54;
  --accent: #e8930c;
  --accent-strong: #c87700;
  --accent-soft: #fdf3e3;
  --ok: #1a7f4e;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(12, 18, 16, .06), 0 8px 24px rgba(12, 18, 16, .07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent-strong); }
a:hover { color: var(--accent); }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
@media (min-width: 700px) { .wrap { width: min(1120px, 100% - 4rem); } }

/* ---------- type ---------- */
h1, h2, h3, .brand-text strong {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 1.2rem + 4vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 1.15rem + 2.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.13rem; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ok);
  margin-bottom: 1.1rem;
}

.lede { font-size: clamp(1.02rem, .95rem + .5vw, 1.2rem); color: var(--muted); max-width: 34em; }

/* ---------- focus / a11y ---------- */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: .5rem; top: .5rem; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .65rem 1.25rem;
  border-radius: 999px; font-weight: 600; font-size: .95rem;
  text-decoration: none; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #1a1206; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-ghost { color: #f3efe6; border: 1.5px solid rgba(243, 239, 230, .45); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-phone { background: var(--bg-deep); color: #f3efe6; }
.btn-phone:hover { background: var(--accent); color: #1a1206; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .65rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--bg-deep); color: var(--accent);
  display: grid; place-items: center; flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-text strong { font-size: 1.06rem; letter-spacing: -.01em; }
.brand-text small { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.site-nav { display: none; align-items: center; gap: 1.4rem; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .94rem; }
.site-nav a:hover { color: var(--accent-strong); }
.site-nav .btn-phone { min-height: 38px; padding: .35rem .95rem; font-size: .88rem; color: #f3efe6; }
.site-nav .btn-phone:hover { color: #1a1206; }
.site-nav .btn-phone svg { stroke: currentColor; }

.header-call {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent); color: #1a1206;
}
.header-call svg { width: 20px; height: 20px; }
@media (min-width: 860px) {
  .site-nav { display: flex; }
  .header-call { display: none; }
}

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #17241e 0%, var(--bg-deep) 55%); color: #f3efe6; }
.hero-grid { display: grid; gap: 2.5rem; padding-block: 3.2rem 3.6rem; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; padding-block: 5.2rem 5.6rem; align-items: center; }
}
.hero .eyebrow { color: var(--accent); }
.hero-copy .lede { color: #c9cfc7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1.6rem .5rem; }

.hero-facts {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, auto); gap: 1.4rem;
  width: fit-content;
}
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; color: var(--accent); }
.hero-facts span { font-size: .78rem; color: #a8b3aa; }

.hero-panel { position: relative; }
.panel-card {
  position: relative; z-index: 1;
  background: #fff; color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem 1.2rem;
  max-width: 420px; margin-inline: auto;
}
.panel-label { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ok); margin-bottom: .8rem; }
.panel-brands { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.panel-brands li {
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: .3rem .8rem; font-size: .88rem; font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}
.panel-note { font-size: .85rem; color: var(--muted); line-height: 1.55; }
.panel-sun {
  position: absolute; z-index: 0;
  width: 210px; height: 210px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(232, 147, 12, .55), rgba(232, 147, 12, 0) 70%);
  top: -60px; right: -30px;
}

/* ---------- trust strip ---------- */
.strip { background: var(--bg-alt); border-block: 1px solid var(--line); }
.strip-inner { padding-block: 1.1rem; display: grid; gap: .5rem; }
.strip-inner p { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.strip-inner ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; }
.strip-inner li { font-family: 'Space Grotesk', sans-serif; font-size: .92rem; font-weight: 500; color: var(--ink); }

/* ---------- sections ---------- */
.section { padding-block: 3.4rem; }
@media (min-width: 860px) { .section { padding-block: 5rem; } }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-cta { background: linear-gradient(180deg, var(--bg-alt) 0%, #eef1ef 100%); border-top: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 2rem; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

.split { display: grid; gap: 2.6rem; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

/* ---------- categories ---------- */
.cat-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.cat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem; box-shadow: var(--shadow);
}
.cat h3 { margin-bottom: .5rem; }
.cat p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- services ---------- */
.svc-list { display: grid; gap: .65rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-list { grid-template-columns: repeat(3, 1fr); } }
.svc {
  display: flex; flex-direction: column; gap: .15rem;
  padding: 1rem 1.15rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.svc:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.svc-name { font-weight: 600; font-family: 'Space Grotesk', sans-serif; }
.svc-desc { font-size: .85rem; color: var(--muted); }

/* ---------- mail inline ---------- */
.mail-inline { font-weight: 600; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.map-note { margin-top: 2rem; font-size: .88rem; color: var(--muted); }
.map-note a { font-weight: 600; }

.c-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .7rem;
}
.c-card h3 { margin: 0; font-size: 1.02rem; }
.c-card p { font-size: .93rem; color: var(--muted); margin: 0; }
.c-card a { color: var(--accent-strong); font-weight: 600; text-decoration: none; }
.c-card a:hover { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-deep-2); color: #c9cfc7; padding-block: 2rem; }
.footer-bar {
  display: flex; flex-direction: column; gap: 1rem;
  font-size: .88rem;
}
.footer-bar p { margin: 0; }
.footer-bar strong { color: #f3efe6; }
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bar a { color: #a8b3aa; text-decoration: none; }
.footer-bar a:hover { color: var(--accent); }
@media (min-width: 860px) {
  .footer-bar { flex-direction: row; justify-content: space-between; align-items: center; }
}
