/* =========================================================
   SolarFireDrum.com
   site.css
   Off-grid wildfire defense / ABC Solar field-invention style
   ========================================================= */

:root {
  --bg: #120c08;
  --bg-2: #1d130c;
  --bg-3: #2b1b10;
  --ink: #fff8ed;
  --muted: #f4d8b8;
  --soft: #d6aa78;
  --line: rgba(255, 214, 165, 0.22);

  --fire: #ff5a1f;
  --fire-2: #ff9d2e;
  --gold: #ffd37a;
  --ember: #8b2d13;
  --water: #4bd7ff;
  --green: #75d17a;

  --card: rgba(255, 255, 255, 0.075);
  --card-strong: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.48);

  --max: 1180px;
  --radius: 26px;
  --radius-sm: 16px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------------- Base ---------------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 102, 31, 0.24), transparent 32rem),
    radial-gradient(circle at 85% 12%, rgba(255, 194, 83, 0.13), transparent 30rem),
    linear-gradient(180deg, var(--bg), #070403 62%, #120c08);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  z-index: -1;
}

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

a {
  color: inherit;
}

p {
  margin: 0 0 1.05rem;
}

strong {
  color: #fff;
}

::selection {
  background: var(--fire);
  color: #fff;
}

/* ---------------- Layout ---------------- */

.wrap,
.container,
.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 86px 0;
}

.section.tight {
  padding: 54px 0;
}

.section.dark {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------------- Header / Navigation ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 12, 8, 0.86);
  border-bottom: 1px solid rgba(255, 211, 122, 0.18);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #220b03;
  font-weight: 950;
  letter-spacing: -0.08em;
  background:
    radial-gradient(circle at 35% 20%, #fff2b8, transparent 30%),
    linear-gradient(135deg, var(--gold), var(--fire));
  box-shadow: 0 16px 38px rgba(255, 90, 31, 0.28);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text b {
  font-size: 1.03rem;
  letter-spacing: -0.03em;
}

.brand-text span {
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-toggle {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(255, 248, 237, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 750;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.nav-menu .cta-link,
.cta-link {
  color: #2b0e04;
  background: linear-gradient(135deg, var(--gold), var(--fire-2));
  box-shadow: 0 14px 34px rgba(255, 157, 46, 0.2);
}

.nav-menu .cta-link:hover,
.nav-menu .cta-link:focus-visible {
  color: #1b0802;
  background: linear-gradient(135deg, #ffe9a8, #ff8b1f);
}

/* CSS-only mobile menu support */
.mobile-menu-checkbox {
  display: none;
}

.mobile-menu-button {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border-radius: 14px;
  padding: 10px 13px;
  font-weight: 850;
  cursor: pointer;
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 4, 2, 0.94) 0%, rgba(18, 12, 8, 0.78) 42%, rgba(18, 12, 8, 0.34) 100%),
    var(--hero-image, radial-gradient(circle at 70% 40%, rgba(255, 90, 31, 0.36), transparent 28rem));
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 230px;
  background: linear-gradient(transparent, var(--bg));
  z-index: -1;
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 1fr);
  gap: 38px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-bottom: 22px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 211, 122, 0.28);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 211, 122, 0.08);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--fire);
  box-shadow: 0 0 18px var(--fire);
}

h1,
.h1 {
  margin: 0 0 24px;
  max-width: 900px;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.085em;
}

.hero h1 span,
.fire-text {
  color: transparent;
  background: linear-gradient(135deg, #fff8ed, var(--gold) 42%, var(--fire));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lede,
.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  line-height: 1.55;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #1f0902;
  background: linear-gradient(135deg, var(--gold), var(--fire));
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(255, 90, 31, 0.24);
}

.button:hover,
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.button.secondary,
.btn.secondary {
  color: var(--ink);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255, 211, 122, 0.26);
  box-shadow: none;
}

.button.secondary:hover,
.btn.secondary:hover {
  background: rgba(255,255,255,0.13);
}

.hero-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.055)),
    rgba(18,12,8,0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.status-list {
  display: grid;
  gap: 13px;
  margin: 22px 0 0;
}

.status-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.status-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #250b02;
  font-weight: 950;
  background: linear-gradient(135deg, var(--gold), var(--fire));
}

.status-item b {
  display: block;
  color: #fff;
}

.status-item span {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------------- Typography ---------------- */

.kicker {
  color: var(--fire-2);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

h2,
.h2 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

h3,
.h3 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
}

/* ---------------- Cards ---------------- */

.card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.045));
  box-shadow: 0 20px 70px rgba(0,0,0,0.25);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--fire), var(--gold), var(--water));
  opacity: 0.9;
}

.card p {
  color: var(--muted);
}

.card.hot {
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 90, 31, 0.22), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045));
}

.card.water {
  background:
    radial-gradient(circle at 85% 0%, rgba(75, 215, 255, 0.15), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045));
}

.card.green {
  background:
    radial-gradient(circle at 85% 0%, rgba(117, 209, 122, 0.14), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045));
}

.card-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 900;
  text-decoration: none;
}

.card-link:hover {
  color: #fff;
}

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #270d03;
  font-size: 1.35rem;
  font-weight: 950;
  background: linear-gradient(135deg, var(--gold), var(--fire));
}

/* ---------------- Feature / Split Blocks ---------------- */

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 44px;
  align-items: center;
}

.panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.panel p {
  color: var(--muted);
}

.media-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,0.68)),
    var(--image, radial-gradient(circle at 50% 35%, rgba(255,90,31,0.28), rgba(255,255,255,0.04)));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.media-card .caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.17);
  border-radius: 18px;
  background: rgba(0,0,0,0.48);
  backdrop-filter: blur(10px);
}

.media-card .caption b {
  display: block;
  font-size: 1.25rem;
  line-height: 1.1;
}

.media-card .caption span {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------------- Lists ---------------- */

.check-list,
.fire-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.check-list li,
.fire-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
}

.check-list li::before,
.fire-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #230b02;
  font-size: 0.78rem;
  font-weight: 950;
  background: linear-gradient(135deg, var(--gold), var(--fire));
}

.fire-list li::before {
  content: "!";
}

/* ---------------- Stats ---------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.075);
}

.stat b {
  display: block;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

/* ---------------- Process ---------------- */

.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.065);
}

.step::before {
  content: counter(step);
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #260b02;
  font-weight: 1000;
  font-size: 1.45rem;
  background: linear-gradient(135deg, var(--gold), var(--fire));
}

.step p {
  color: var(--muted);
}

/* ---------------- Warning / Disclaimer Boxes ---------------- */

.warning,
.notice {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 90, 31, 0.34);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 90, 31, 0.16), transparent 24rem),
    rgba(255, 255, 255, 0.06);
}

.notice {
  border-color: rgba(75, 215, 255, 0.28);
  background:
    radial-gradient(circle at 0% 0%, rgba(75, 215, 255, 0.12), transparent 24rem),
    rgba(255, 255, 255, 0.06);
}

.warning b,
.notice b {
  color: #fff;
}

/* ---------------- FAQ ---------------- */

.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.065);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 900;
  color: #fff;
}

.faq details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq details p {
  padding: 18px 22px 22px;
  margin: 0;
  color: var(--muted);
}

/* ---------------- Forms ---------------- */

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 211, 122, 0.24);
  border-radius: 15px;
  background: rgba(0,0,0,0.24);
  color: var(--ink);
  padding: 14px 15px;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(255, 157, 46, 0.55);
  outline-offset: 2px;
}

/* ---------------- CTA Band ---------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 211, 122, 0.25), transparent 25rem),
    radial-gradient(circle at 90% 20%, rgba(255, 90, 31, 0.22), transparent 25rem),
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.045));
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 850px;
}

.cta-band p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.12rem;
}

/* ---------------- Footer ---------------- */

.site-footer {
  padding: 58px 0 34px;
  border-top: 1px solid var(--line);
  background: #090504;
}

.footer-grid {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr 0.75fr;
  gap: 30px;
}

.footer-grid h3,
.footer-grid h4 {
  margin-top: 0;
}

.footer-grid p,
.footer-grid li {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,248,237,0.68);
  font-size: 0.92rem;
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
}

/* ---------------- Utility Classes ---------------- */

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.gold {
  color: var(--gold);
}

.fire {
  color: var(--fire-2);
}

.water {
  color: var(--water);
}

.green {
  color: var(--green);
}

.max-700 {
  max-width: 700px;
}

.max-850 {
  max-width: 850px;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 12px; }
.mb-2 { margin-bottom: 24px; }
.mb-3 { margin-bottom: 36px; }

/* ---------------- Responsive ---------------- */

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding: 74px 0;
  }

  .hero-inner,
  .split,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.four,
  .stats,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card {
    max-width: 640px;
  }
}

@media (max-width: 820px) {
  .navbar {
    min-height: 68px;
    align-items: center;
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(18, 12, 8, 0.97);
    box-shadow: var(--shadow);
  }

  .nav-menu a {
    width: 100%;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,0.055);
  }

  .mobile-menu-checkbox:checked ~ .nav-menu,
  .nav-menu.open {
    display: flex;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(8, 4, 2, 0.94) 0%, rgba(18, 12, 8, 0.8) 58%, rgba(18, 12, 8, 0.45) 100%),
      var(--hero-image, radial-gradient(circle at 70% 40%, rgba(255, 90, 31, 0.36), transparent 28rem));
    background-size: cover;
    background-position: center;
  }

  h1,
  .h1 {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .section {
    padding: 64px 0;
  }

  .cta-band {
    padding: 34px;
  }
}

@media (max-width: 620px) {
  .wrap,
  .container,
  .section-inner,
  .hero-inner,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, var(--max));
  }

  .brand-text span {
    display: none;
  }

  .grid.three,
  .grid.four,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 0;
  }

  .hero-lede,
  .lede {
    font-size: 1.04rem;
  }

  .hero-actions,
  .actions {
    flex-direction: column;
  }

  .button,
  .btn {
    width: 100%;
  }

  .card,
  .panel {
    padding: 22px;
  }

  .media-card {
    min-height: 310px;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .step::before {
    width: 52px;
    height: 52px;
    border-radius: 17px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .navbar {
    width: min(100% - 22px, var(--max));
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .brand-text b {
    font-size: 0.95rem;
  }

  .mobile-menu-button {
    padding: 9px 11px;
  }

  h1,
  .h1 {
    letter-spacing: -0.075em;
  }

  h2,
  .h2 {
    letter-spacing: -0.055em;
  }

  .eyebrow {
    font-size: 0.72rem;
  }
}

/* ---------------- Print ---------------- */

@media print {
  body {
    color: #111;
    background: #fff;
  }

  .site-header,
  .hero-actions,
  .actions,
  .site-footer {
    display: none;
  }

  .card,
  .panel,
  .warning,
  .notice {
    border: 1px solid #aaa;
    box-shadow: none;
    background: #fff;
    color: #111;
  }

  p,
  .muted {
    color: #333;
  }
}
