/* ─── assets/css/base.css ────────────────────────────────────────────────────
   CSS custom properties, reset, typography, shared buttons.
   Everything in this file applies site-wide.
   ─────────────────────────────────────────────────────────────────────────── */

/* ── Custom properties ─────────────────────────────────────────────────────── */
:root {
  --orange:      #F47B20;
  --orange-dark: #d96a10;
  --navy:        #0F2B5B;
  --text:        #1a1a2e;
  --muted:       #555;
  --white:       #fff;
  --border:      #e0e8f0;
  --radius:      10px;
  --nav-h:       68px;
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Base typography ───────────────────────────────────────────────────────── */
body {
  font-family: 'Manrope', sans-serif;
  background: var(--white);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

/* ── Section commons ───────────────────────────────────────────────────────── */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
}

.section-header-center { text-align: center; margin-bottom: 52px; }
.section-header-center .section-desc { margin: 0 auto; }

.section-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.view-all-link:hover { color: var(--orange); }

/* ── Shared button tokens ──────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 20px;
  border-radius: 8px;
  border: 1.5px solid var(--navy);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }

/* Package / battery card quote buttons */
.btn-quote {
  display: block;
  text-align: center;
  padding: 13px 20px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
}
.btn-quote-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-quote-navy:hover { background: #0a1f47; transform: translateY(-1px); }

.btn-quote-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-quote-orange:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* Shared check icon */
.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e6f9ee;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-icon svg { color: #16a34a; }

/* Flash messages (form feedback) */
.flash {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.flash-ok  { background: rgba(34,197,94,0.15); color: #15803d; }
.flash-err { background: rgba(239,68,68,0.15);  color: #b91c1c; }

/* ── Responsive base ──────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  :root { --nav-h: 60px; }
}
