/* =========================================================
   Nampa Generator Pros — stylesheet
   Naming convention: ngp-<component>[-<modifier>]
   Palette: Treasure Valley pine + harvest gold on warm cream
   ========================================================= */

:root {
  --ngp-pine: #1f3a2e;
  --ngp-pine-dark: #142720;
  --ngp-slate: #55594f;
  --ngp-slate-dark: #33362e;
  --ngp-cream: #f7f2e7;
  --ngp-cream-deep: #ede4cf;
  --ngp-gold: #c98a2b;
  --ngp-gold-dark: #a66f1e;
  --ngp-white: #ffffff;
  --ngp-line: #ddd3bc;

  --ngp-font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --ngp-font-body: "Work Sans", "Segoe UI", sans-serif;

  --ngp-radius: 12px;
  --ngp-shadow: 0 14px 32px -16px rgba(20, 39, 32, 0.4);
  --ngp-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ngp-font-body);
  color: var(--ngp-slate-dark);
  background: var(--ngp-white);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--ngp-font-head);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 0.5em;
  color: var(--ngp-pine-dark);
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.ngp-wrap {
  max-width: var(--ngp-max);
  margin: 0 auto;
  padding: 0 24px;
}

.ngp-eyebrow {
  display: inline-block;
  font-family: var(--ngp-font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ngp-gold-dark);
  margin-bottom: 0.6em;
}

/* ---------- Buttons ---------- */
.ngp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--ngp-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.ngp-btn:hover { transform: translateY(-1px); }
.ngp-btn-primary {
  background: var(--ngp-gold);
  color: var(--ngp-pine-dark);
}
.ngp-btn-primary:hover { background: var(--ngp-gold-dark); color: var(--ngp-white); }
.ngp-btn-dark {
  background: var(--ngp-pine);
  color: var(--ngp-white);
}
.ngp-btn-dark:hover { background: var(--ngp-pine-dark); }
.ngp-btn-outline {
  background: transparent;
  border-color: var(--ngp-pine);
  color: var(--ngp-pine);
}
.ngp-btn-outline:hover { background: var(--ngp-pine); color: var(--ngp-white); }
.ngp-btn-block { width: 100%; }

/* ---------- Top utility bar ---------- */
.ngp-topbar {
  background: var(--ngp-pine-dark);
  color: var(--ngp-cream-deep);
  font-size: 0.85rem;
}
.ngp-topbar .ngp-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.ngp-topbar a { font-weight: 600; }
.ngp-topbar a:hover { color: var(--ngp-gold); }

/* ---------- Header / nav ---------- */
.ngp-header {
  background: var(--ngp-white);
  border-bottom: 1px solid var(--ngp-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.ngp-header .ngp-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.ngp-logo {
  font-family: var(--ngp-font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ngp-pine-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.ngp-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ngp-pine);
  color: var(--ngp-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ngp-font-head);
  font-size: 1rem;
  flex: none;
}

.ngp-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.ngp-nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 0;
}
.ngp-nav-link:hover { color: var(--ngp-gold-dark); }
.ngp-nav-link[aria-current="page"] { color: var(--ngp-gold-dark); }

.ngp-has-dropdown { position: relative; }
.ngp-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ngp-white);
  border: 1px solid var(--ngp-line);
  border-radius: var(--ngp-radius);
  box-shadow: var(--ngp-shadow);
  min-width: 270px;
  padding: 8px;
  display: none;
  z-index: 60;
}
.ngp-has-dropdown:hover .ngp-dropdown,
.ngp-has-dropdown.is-open .ngp-dropdown {
  display: block;
}
.ngp-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
}
.ngp-dropdown a:hover { background: var(--ngp-cream); color: var(--ngp-gold-dark); }

.ngp-header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ngp-header-phone {
  font-family: var(--ngp-font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ngp-pine-dark);
  white-space: nowrap;
}
.ngp-header-phone small {
  display: block;
  font-family: var(--ngp-font-body);
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--ngp-slate);
}

.ngp-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ngp-line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.ngp-hero {
  background: linear-gradient(180deg, var(--ngp-cream) 0%, var(--ngp-white) 100%);
  padding: 56px 0 64px;
}
.ngp-hero .ngp-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.ngp-hero h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.ngp-hero-lede { font-size: 1.1rem; color: var(--ngp-slate); max-width: 54ch; }
.ngp-hero-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.ngp-badge {
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--ngp-white);
  border: 1px solid var(--ngp-line);
  padding: 8px 14px;
  border-radius: 999px;
}
.ngp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Quote form card ---------- */
.ngp-quote-card {
  background: var(--ngp-white);
  border: 1px solid var(--ngp-line);
  border-radius: var(--ngp-radius);
  box-shadow: var(--ngp-shadow);
  padding: 26px;
}
.ngp-quote-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.ngp-quote-card .ngp-form-sub { color: var(--ngp-slate); font-size: 0.9rem; margin-bottom: 18px; }
.ngp-field { margin-bottom: 14px; }
.ngp-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ngp-slate-dark);
}
.ngp-field input,
.ngp-field select,
.ngp-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ngp-line);
  border-radius: 8px;
  font-family: var(--ngp-font-body);
  font-size: 0.95rem;
  background: var(--ngp-cream);
}
.ngp-field textarea { min-height: 90px; resize: vertical; }
.ngp-field input:focus,
.ngp-field select:focus,
.ngp-field textarea:focus {
  outline: 2px solid var(--ngp-pine);
  outline-offset: 1px;
  background: var(--ngp-white);
}
.ngp-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.ngp-form-fine { font-size: 0.78rem; color: var(--ngp-slate); margin-top: 10px; text-align: center; }
.ngp-form-message {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #eaf1e6;
  border: 1px solid #c6dab9;
  font-size: 0.9rem;
  display: none;
}
.ngp-form-message.is-visible { display: block; }
.ngp-form-message--error { background: #fbeee0; border-color: #e9cf9f; color: var(--ngp-gold-dark); }

/* ---------- Sections ---------- */
.ngp-section { padding: 76px 0; }
.ngp-section-alt { background: var(--ngp-cream); }
.ngp-section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.ngp-section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
.ngp-section-head p { color: var(--ngp-slate); }

/* ---------- Card grid ---------- */
.ngp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.ngp-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ngp-grid-4 { grid-template-columns: repeat(4, 1fr); }

.ngp-card {
  background: var(--ngp-white);
  border: 1px solid var(--ngp-line);
  border-radius: var(--ngp-radius);
  padding: 28px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.ngp-card:hover { box-shadow: var(--ngp-shadow); transform: translateY(-2px); }
.ngp-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--ngp-cream-deep);
  color: var(--ngp-pine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.ngp-card h3 { font-size: 1.1rem; }
.ngp-card p { color: var(--ngp-slate-dark); font-size: 0.95rem; margin-bottom: 12px; }
.ngp-card-link { font-weight: 600; color: var(--ngp-gold-dark); font-size: 0.9rem; }
.ngp-card-link:hover { text-decoration: underline; }

/* ---------- Media + text row ---------- */
.ngp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.ngp-split.ngp-split-reverse .ngp-split-media { order: 2; }
.ngp-split-media img {
  border-radius: var(--ngp-radius);
  box-shadow: var(--ngp-shadow);
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.ngp-split-body .ngp-eyebrow { display: block; }
.ngp-list-check li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.96rem;
}
.ngp-list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ngp-pine);
  font-weight: 700;
}

/* ---------- Pricing table ---------- */
.ngp-table-wrap { overflow-x: auto; }
.ngp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ngp-white);
  border: 1px solid var(--ngp-line);
  border-radius: var(--ngp-radius);
  overflow: hidden;
}
.ngp-table th, .ngp-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ngp-line);
  font-size: 0.92rem;
}
.ngp-table th {
  background: var(--ngp-pine);
  color: var(--ngp-cream);
  font-family: var(--ngp-font-head);
  font-weight: 600;
}
.ngp-table tr:last-child td { border-bottom: none; }
.ngp-table-note { font-size: 0.85rem; color: var(--ngp-slate); margin-top: 12px; }

/* ---------- Process steps ---------- */
.ngp-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  counter-reset: step;
}
.ngp-step { position: relative; padding-top: 8px; }
.ngp-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ngp-gold);
  color: var(--ngp-pine-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ngp-font-head);
  font-weight: 700;
  margin-bottom: 14px;
}
.ngp-step h3 { font-size: 1rem; }
.ngp-step p { font-size: 0.88rem; color: var(--ngp-slate-dark); }

/* ---------- Service area chips ---------- */
.ngp-chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ngp-chip {
  background: var(--ngp-white);
  border: 1px solid var(--ngp-line);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ngp-pine-dark);
}

/* ---------- FAQ (native details/summary) ---------- */
.ngp-faq { max-width: 820px; margin: 0 auto; }
.ngp-faq-item {
  border-bottom: 1px solid var(--ngp-line);
  padding: 6px 0;
}
.ngp-faq-item summary {
  cursor: pointer;
  font-family: var(--ngp-font-head);
  font-weight: 600;
  font-size: 1.04rem;
  padding: 14px 4px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ngp-faq-item summary::-webkit-details-marker { display: none; }
.ngp-faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--ngp-gold-dark);
  margin-left: 12px;
  flex: none;
}
.ngp-faq-item[open] summary::after { content: "–"; }
.ngp-faq-item p { padding: 0 4px 16px; color: var(--ngp-slate-dark); }

/* ---------- Trust / why us bullets ---------- */
.ngp-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ngp-trust-item { text-align: center; }
.ngp-trust-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--ngp-pine);
  color: var(--ngp-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.ngp-trust-item h3 { font-size: 1rem; }
.ngp-trust-item p { font-size: 0.88rem; color: var(--ngp-slate); }

/* ---------- CTA band ---------- */
.ngp-cta-band {
  background: var(--ngp-pine);
  color: var(--ngp-cream);
  padding: 54px 0;
  text-align: center;
}
.ngp-cta-band h2 { color: var(--ngp-white); }
.ngp-cta-band p { color: #d7ddce; }

/* ---------- Page header (interior pages) ---------- */
.ngp-page-header {
  background: var(--ngp-pine-dark);
  color: var(--ngp-cream);
  padding: 48px 0;
}
.ngp-page-header h1 { color: var(--ngp-white); margin-bottom: 8px; }
.ngp-breadcrumb { font-size: 0.85rem; color: #b9c0ae; }
.ngp-breadcrumb a { color: #d3d8c4; }
.ngp-breadcrumb a:hover { color: var(--ngp-white); }

/* ---------- Footer ---------- */
.ngp-footer {
  background: var(--ngp-pine-dark);
  color: #c9cabb;
  padding: 58px 0 26px;
}
.ngp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.ngp-footer h4 {
  color: var(--ngp-white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.ngp-footer a { font-size: 0.9rem; display: block; margin-bottom: 10px; color: #c9cabb; }
.ngp-footer a:hover { color: var(--ngp-gold); }
.ngp-footer-logo { color: var(--ngp-white); font-family: var(--ngp-font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 12px; }
.ngp-footer-bottom {
  border-top: 1px solid #33422e;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #9aa08e;
}
.ngp-footer-bottom a { display: inline; margin: 0 0 0 16px; font-size: 0.82rem; }

/* ---------- Sticky mobile call bar ---------- */
.ngp-mobile-callbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ngp-gold);
  z-index: 80;
}
.ngp-mobile-callbar a {
  display: block;
  text-align: center;
  color: var(--ngp-pine-dark);
  font-family: var(--ngp-font-head);
  font-weight: 700;
  padding: 14px;
  font-size: 1rem;
}

/* ---------- Utility ---------- */
.ngp-center { text-align: center; }
.ngp-mt-0 { margin-top: 0; }
.ngp-text-slate { color: var(--ngp-slate); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .ngp-hero .ngp-wrap { grid-template-columns: 1fr; }
  .ngp-split { grid-template-columns: 1fr; }
  .ngp-split.ngp-split-reverse .ngp-split-media { order: -1; }
  .ngp-grid { grid-template-columns: repeat(2, 1fr); }
  .ngp-steps { grid-template-columns: repeat(3, 1fr); }
  .ngp-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .ngp-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .ngp-topbar { display: none; }
  .ngp-nav-toggle { display: inline-flex; }
  .ngp-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ngp-white);
    border-bottom: 1px solid var(--ngp-line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 18px;
    display: none;
  }
  .ngp-nav.is-open { display: flex; }
  .ngp-nav-link { padding: 12px 0; border-bottom: 1px solid var(--ngp-line); }
  .ngp-has-dropdown .ngp-dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 12px;
  }
  .ngp-has-dropdown.is-open .ngp-dropdown { display: block; }
  .ngp-header-phone { display: none; }
  .ngp-mobile-callbar { display: block; }
  body { padding-bottom: 52px; }
}

@media (max-width: 700px) {
  .ngp-grid, .ngp-grid-2, .ngp-grid-4 { grid-template-columns: 1fr; }
  .ngp-steps { grid-template-columns: 1fr 1fr; }
  .ngp-trust-grid { grid-template-columns: 1fr; }
  .ngp-footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .ngp-footer-bottom { flex-direction: column; }
  .ngp-footer-bottom a { margin: 0 16px 0 0; }
  .ngp-section { padding: 54px 0; }
}
