:root {
  --bg: #0b3d2e;                 /* deep forest green */
  --bg-soft: #145843;            /* softer green */
  --bg-softer: #1e6f52;          /* lighter pine green */
  --accent: #e63946;             /* warm red */
  --accent-soft: rgba(230, 57, 70, 0.18);
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --shadow-soft: 0 18px 45px rgba(15,23,42,0.28);
  --max-width: 1120px;
}

/* Reset / base */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #145843 0, #0b3d2e 55%, #06261c 100%);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.page { display: block; }

.section-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 20px 72px;
}

/* NAV */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f172a;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  color: #1f2937;
  font-weight: 500;
  transition: color 0.18s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: #1e6f52;
  transition: width 0.18s ease;
}

.nav-links a:hover {
  color: #0b1f3a;
}

.nav-links a:hover::after {
  width: 100%;
}

/* HOME */

#home .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  #home .section-inner {
    grid-template-columns: minmax(0,1fr);
    gap: 40px;
    padding-top: 88px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 6px;
  border-radius: 999px;
  background: rgba(15,23,42,0.08);
  border: 1px solid rgba(148,163,184,0.5);
  margin-bottom: 20px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #e5e7eb;
}

.eyebrow-dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.85rem;
}

.hero-title {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.hero-highlight {
  background: linear-gradient(to right, #fbbf24, #fb923c, #f97316);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-body {
  color: var(--text-muted);
  max-width: 520px;
  font-size: 0.98rem;
  margin-bottom: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: #9ca3af;
}

.hero-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  background: rgba(15,23,42,0.7);
}

/* Right hero panel – keep if you add content later */
.hero-panel {
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  background: radial-gradient(circle at top left, #1e293b 0, #020617 60%);
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* SOLUTIONS */

#solutions {
  background: #EFF2F1;          /* cool stone, matches forest palette */
  color: #0B1F3A;
}

#solutions .section-inner {
  padding-top: 72px;
  padding-bottom: 88px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #0B1F3A;
}

.section-intro {
  max-width: 640px;
  font-size: 0.98rem;
  color: #4B5563;
  margin-bottom: 36px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.solution-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid #D6DDDB;          /* cool neutral */
  padding: 28px 24px 30px;
  box-shadow: 0 16px 40px rgba(15,23,42,0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 210px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(15,23,42,0.12);
  border-color: #C3D4CF;
}

.solution-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(20, 88, 67, 0.10);  /* soft green echo */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.solution-title {
  font-size: 1.15rem;
  font-weight: 650;
  color: #0B1F3A;
}

.solution-body {
  font-size: 0.96rem;
  line-height: 1.55;
  color: #4B5563;
}


/* CONTACT */

#contact {
  background: radial-gradient(circle at top, #145843 0, #0b3d2e 55%, #06261c 100%);
  color: #e5e7eb;
  display: flex;
  justify-content: center;
}

#contact .section-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #f97316, #c2410c 55%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: white;
}

.contact-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
}

.contact-brand-name {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #f9fafb;
  font-size: 0.8rem;
}

.contact-brand-tagline {
  color: #cbd5f5;
  font-size: 0.85rem;
}

#contact a {
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 500;
}

#contact span:last-child {
  color: #9ca3af;
  font-size: 0.78rem;
}

/* FIRE CANVAS */

#fire-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
