/* =========================================================
   Henderson Generator Pros — main stylesheet
   Plain CSS, no build step. System fonts for max page speed.
   Edit the color variables below to re-theme the whole site.
   ========================================================= */

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --green: #16a34a;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 40px rgba(15, 23, 42, 0.15);
  --max-width: 1180px;
  font-size: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-800);
  line-height: 1.65;
  background: var(--white);
}

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

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

ul { list-style: none; }

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

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 800;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4vw, 2.85rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }

p { margin-bottom: 14px; color: var(--gray-700); }

.section {
  padding: 64px 0;
}
.section--tight { padding: 40px 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: var(--gray-200); }

.eyebrow {
  display: inline-block;
  color: var(--amber-dark);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--amber { background: var(--amber); color: var(--navy); box-shadow: var(--shadow); }
.btn--amber:hover { background: var(--amber-dark); }
.btn--outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: rgba(255,255,255,0.1); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-light); }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy);
  color: var(--gray-200);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: var(--amber); font-weight: 700; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(15,23,42,0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  white-space: nowrap;
}
.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-weight: 900;
  font-size: 1.1rem;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a.nav-link {
  display: block;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-800);
  border-radius: 6px;
}
.main-nav a.nav-link:hover { background: var(--gray-100); color: var(--amber-dark); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 280px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.15s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--gray-700);
}
.dropdown a:hover { background: var(--gray-50); color: var(--amber-dark); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: right;
}
.header-phone small { color: var(--gray-600); font-size: 0.75rem; }
.header-phone strong { color: var(--navy); font-size: 1.15rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #0b1220 100%);
  color: var(--white);
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(245,158,11,0.25), transparent 70%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero p.lead { font-size: 1.15rem; color: var(--gray-200); max-width: 560px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}
.hero-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-form {
  background: var(--white);
  color: var(--gray-800);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-form h3 { margin-bottom: 4px; }
.hero-form .form-note { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 16px; }

.hero-photo-placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
}

/* ---------- Forms ---------- */
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--gray-700);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--amber);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 22px 0;
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}
.trust-item .dot { color: var(--green); font-size: 1.2rem; }

/* ---------- Grid / Cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(245,158,11,0.12);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card a.card-link { color: var(--amber-dark); font-weight: 700; font-size: 0.9rem; }

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-200);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse .service-block__text { order: 2; }
.service-block.reverse .service-block__media { order: 1; }

.img-placeholder {
  background: repeating-linear-gradient(45deg, var(--gray-100), var(--gray-100) 12px, var(--gray-200) 12px, var(--gray-200) 24px);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray-600);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 24px;
  min-height: 220px;
}

/* Real photos (replaces .img-placeholder once an actual image is wired in) */
.photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ---------- Pricing table ---------- */
table.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
table.price-table th, table.price-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
table.price-table th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
table.price-table tr:last-child td { border-bottom: none; }
table.price-table tr:nth-child(even) td { background: var(--gray-50); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 20px 0;
}
.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.testimonial .stars { color: var(--amber); margin-bottom: 10px; font-size: 1.1rem; }
.testimonial .author { font-weight: 700; color: var(--navy); margin-top: 12px; }
.testimonial .author small { display: block; font-weight: 400; color: var(--gray-600); }

/* ---------- FAQ (native details/summary, no JS needed) ---------- */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}
.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--amber-dark);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--gray-700); }

/* ---------- Service area list ---------- */
.areas-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.areas-list a {
  display: block;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}
.areas-list a:hover { border-color: var(--amber); color: var(--amber-dark); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: var(--navy);
  padding: 46px 0;
  text-align: center;
}
.cta-band h2 { color: var(--navy); }
.cta-band .btn--navy:hover { background: #000; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 16px 0;
}
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--amber-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--gray-200);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid a { color: var(--gray-200); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--amber); }
.footer-brand p { color: var(--gray-200); font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--gray-600);
}
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--gray-600);
  max-width: 900px;
  margin-top: 14px;
  line-height: 1.5;
}

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  z-index: 200;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
.mobile-call-bar a {
  display: block;
  text-align: center;
  padding: 16px;
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.badge-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.badge-list span {
  background: var(--gray-100);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .service-block { grid-template-columns: 1fr; }
  .service-block.reverse .service-block__text,
  .service-block.reverse .service-block__media { order: initial; }
}

@media (max-width: 760px) {
  .main-nav, .header-cta .header-phone { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 10px;
  }
  .main-nav.open > ul { flex-direction: column; align-items: stretch; }
  .has-dropdown .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .areas-list { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 58px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
