/* ============================================================
   Mountaineer Solar — Premium Design System
   ============================================================ */

:root {
  --ink: #111110;
  --ink-soft: #2a2a28;
  --paper: #FAFAF7;
  --paper-warm: #F5F2EB;
  --pine: #1B3A1E;
  --pine-mid: #2F5130;
  --pine-light: #3D6B40;
  --barn: #9B3E2A;
  --solar: #F59E0B;
  --solar-light: #FCD34D;
  --solar-dark: #D97706;
  --sky: #0284C7;
  --slate: #64748B;
  --slate-light: #94A3B8;
  --surface: #FFFFFF;
  --border: #E2E0D9;
  --border-light: #EEEDEA;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-glow: 0 0 24px rgba(245,158,11,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --container: 1120px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.7; font-size: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

/* ---- Accessibility ---- */
.skip { position: absolute; left: -9999px; top: auto; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; border-radius: var(--radius-sm); z-index: 1000; box-shadow: var(--shadow-md); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---- Layout ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; color: var(--ink); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin: 0 0 1rem; font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); margin: 0 0 0.75rem; font-weight: 700; }
h4 { font-size: 1.1rem; margin: 0 0 0.5rem; font-weight: 700; }
h5 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: 'Inter', sans-serif; font-weight: 700; }
.prose p { margin: 0 0 1rem; line-height: 1.8; color: var(--ink-soft); }
.prose h2, .prose h3, .prose h4 { margin-top: 2rem; }
.prose ul, .prose ol { line-height: 1.8; color: var(--ink-soft); }
.prose a { color: var(--pine-mid); font-weight: 600; border-bottom: 1px solid var(--solar); }
.prose a:hover { color: var(--solar-dark); }

/* ============================================================
   MASTHEAD / HEADER
   ============================================================ */
.masthead {
  background: var(--pine);
  color: #fff;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.masthead-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 0; text-decoration: none; color: #fff; }
.logo { height: 48px; display: block; }
.logo.small { height: 36px; }
.brandlines { display: none; }

/* ---- Navigation ---- */
.main-nav { display: flex; gap: 2px; align-items: center; }
.main-nav a {
  display: inline-block; padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; text-decoration: none;
  transition: all var(--transition); letter-spacing: 0.01em;
}
.main-nav a[aria-current='page'] { background: rgba(255,255,255,0.12); font-weight: 600; }
.main-nav a:hover { background: rgba(255,255,255,0.08); }
.main-nav a:last-child {
  background: var(--solar); color: var(--ink); font-weight: 700;
  margin-left: 8px; border-radius: var(--radius-sm);
}
.main-nav a:last-child:hover { background: var(--solar-dark); }

/* ---- Hamburger ---- */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 10; }
.hamburger {
  display: block; width: 22px; height: 2px; background: #fff;
  position: relative; transition: background var(--transition); border-radius: 2px;
}
.hamburger::before, .hamburger::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 2px;
  background: #fff; transition: transform var(--transition); border-radius: 2px;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: rotate(-45deg); top: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.cta {
  display: inline-block; background: var(--solar); color: var(--ink);
  padding: 14px 28px; border-radius: var(--radius); font-weight: 700;
  font-size: 0.95rem; font-family: 'Inter', sans-serif; border: none; cursor: pointer;
  transition: all var(--transition); letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(245,158,11,0.25);
}
.cta:hover {
  background: var(--solar-dark); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,0.3);
}
.cta:active { transform: translateY(0); }
.cta-barn { background: var(--barn); color: #fff; box-shadow: 0 2px 8px rgba(155,62,42,0.25); }
.cta-barn:hover { background: #7a3220; box-shadow: 0 6px 20px rgba(155,62,42,0.3); }
.cta-pine { background: var(--pine); color: #fff; box-shadow: var(--shadow-sm); }
.cta-pine:hover { background: var(--pine-light); }
.ghost {
  display: inline-block; border: 2px solid rgba(255,255,255,0.7); color: #fff;
  padding: 12px 26px; border-radius: var(--radius); font-weight: 600;
  font-size: 0.95rem; font-family: 'Inter', sans-serif;
  transition: all var(--transition); backdrop-filter: blur(4px);
}
.ghost:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  position: relative; color: #fff; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(27,58,30,0.92) 0%, rgba(17,17,16,0.75) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: clamp(80px, 12vw, 140px) 0; text-align: center;
}
.hero h2 {
  font-size: clamp(2rem, 5.5vw, 3.5rem); margin: 0 0 1rem;
  color: #fff; font-weight: 800; letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero p {
  max-width: 600px; margin: 0 auto 2rem;
  font-size: clamp(1rem, 1.8vw, 1.15rem); opacity: 0.92; line-height: 1.7;
}
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.trust-line {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  margin-top: 2.5rem; font-size: 0.85rem; opacity: 0.85;
}
.trust-line span {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; letter-spacing: 0.02em;
}
.trust-line span::before {
  content: ''; display: block; width: 6px; height: 6px;
  background: var(--solar); border-radius: 50%;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { padding: 80px 0; background: var(--surface); }
.how-it-works h2 { text-align: center; margin-bottom: 3rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.step { position: relative; padding: 0 12px; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--solar), var(--solar-dark));
  color: var(--ink); font-weight: 800; font-size: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}
.step h3 { margin-top: 0; font-size: 1.15rem; }
.step p { color: var(--slate); font-size: 0.95rem; line-height: 1.6; }
/* Connector lines between steps */
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 32px;
  right: -20px; width: 40px; height: 2px;
  background: var(--border); display: block;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--pine) 0%, #0f2912 100%);
  color: #fff; padding: 36px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-value {
  font-family: 'Playfair Display', serif; font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700; color: var(--solar-light);
}
.stat-label { font-size: 0.78rem; opacity: 0.7; margin-top: 6px; letter-spacing: 0.03em; text-transform: uppercase; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card h4 { margin-top: 0; }

/* Lead Card */
.lead-card {
  border: none; border-radius: var(--radius-lg);
  padding: 36px 32px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.lead-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--solar), var(--solar-dark), var(--barn));
}
.form-heading { margin-top: 0; font-size: 1.5rem; }

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.service-areas { padding: 80px 0; background: var(--paper); }
.service-areas h2 { text-align: center; margin-bottom: 2rem; }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.area-link {
  display: block; padding: 18px 16px; text-align: center; background: var(--surface);
  border: 1px solid var(--border-light); border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem;
  transition: all var(--transition);
}
.area-link:hover {
  border-color: var(--solar); box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--pine) 0%, #0f2912 100%);
  color: #fff; padding: 28px 0;
}
.cta-strip .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.cta-strip h3 { margin: 0; font-size: 1.25rem; color: #fff; }

/* ============================================================
   BLOG TEASERS
   ============================================================ */
.blog-teasers { padding: 80px 0; background: var(--surface); }
.blog-teasers h2 { text-align: center; margin-bottom: 2rem; }
.teaser-card {
  display: flex; flex-direction: column; color: var(--ink);
  transition: all var(--transition); border-radius: var(--radius-lg);
}
.teaser-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.teaser-card h4 { color: var(--pine-mid); font-size: 1.05rem; margin-bottom: 0.5rem; }
.teaser-card p { color: var(--slate); font-size: 0.9rem; line-height: 1.6; flex-grow: 1; }
.teaser-meta { font-size: 0.78rem; color: var(--slate-light); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ============================================================
   BLOG LIST & POST
   ============================================================ */
.blog-list { padding: 80px 0; }
.post-card { margin-bottom: 1.5rem; }
.post-card h3 { margin-bottom: 0.25rem; }
.post-card h3 a { color: var(--pine-mid); }
.post-card h3 a:hover { color: var(--solar-dark); }
.post-card p { color: var(--slate); }

.blog-post { padding: 60px 0; }
.blog-post-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; }
.blog-post-content { min-width: 0; }
.blog-sidebar { position: sticky; top: 100px; align-self: start; }
.blog-sidebar .card { margin-bottom: 1.25rem; }
.post-meta { font-size: 0.82rem; color: var(--slate-light); margin-bottom: 2rem; text-transform: uppercase; letter-spacing: 0.05em; }
.post-content h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.post-content h3 { font-size: 1.2rem; margin-top: 2rem; }
.post-content p { margin: 0 0 1.2rem; line-height: 1.85; color: var(--ink-soft); }
.post-content ul, .post-content ol { margin: 0 0 1.2rem; line-height: 1.85; color: var(--ink-soft); }
.post-content strong { color: var(--ink); }
.post-content a { color: var(--pine-mid); font-weight: 600; border-bottom: 1px solid var(--solar); }

/* Ad placeholder */
.ad-slot {
  background: var(--paper-warm); border: 1px dashed var(--border);
  border-radius: var(--radius-sm); padding: 32px 16px; text-align: center;
  font-size: 0.75rem; color: var(--slate-light); margin: 1.5rem 0;
}

/* ============================================================
   FORMS
   ============================================================ */
.form { display: grid; gap: 16px; margin: 20px 0 0; }
.form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--surface); font-family: 'Inter', sans-serif; font-size: 0.95rem;
  color: var(--ink); transition: all var(--transition);
  -webkit-appearance: none; appearance: none;
}
.form input::placeholder, .form textarea::placeholder { color: var(--slate-light); }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--solar);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.12);
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px; cursor: pointer;
}
.form textarea { resize: vertical; min-height: 80px; }
.form button { justify-self: start; }
fieldset { border: none; padding: 0; margin: 0; }
legend { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.2rem; margin-bottom: 0.75rem; }

/* ---- 2-step form ---- */
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.savings-preview {
  background: linear-gradient(135deg, var(--pine) 0%, var(--pine-light) 100%);
  color: #fff; padding: 24px; border-radius: var(--radius); margin-bottom: 20px;
  text-align: center;
}
.savings-preview .preview-amount {
  font-family: 'Playfair Display', serif; font-size: 2.25rem;
  font-weight: 800; color: var(--solar-light);
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.savings-preview p { margin: 4px 0; font-size: 0.9rem; opacity: 0.85; }

/* ---- Radio group ---- */
.radio-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.radio-label {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.85rem; cursor: pointer; transition: all var(--transition); font-weight: 500;
}
.radio-label:hover { border-color: var(--slate-light); }
.radio-label:has(input:checked) { border-color: var(--solar); background: rgba(245,158,11,0.06); box-shadow: 0 0 0 1px var(--solar); }
.radio-label input[type="radio"] { accent-color: var(--solar); width: 16px; height: 16px; }

/* ---- Consent ---- */
.consent-wrap { margin: 12px 0; padding: 14px 16px; background: var(--paper); border-radius: var(--radius-sm); border: 1px solid var(--border-light); }
.consent-label { display: flex; gap: 12px; align-items: flex-start; font-size: 0.78rem; color: var(--slate); line-height: 1.5; }
.consent-label input[type="checkbox"] { margin-top: 2px; accent-color: var(--solar); flex-shrink: 0; width: 16px; height: 16px; }

/* ============================================================
   TICKS LIST
   ============================================================ */
.ticks { list-style: none; padding-left: 0; }
.ticks li { margin: 0.6rem 0; position: relative; padding-left: 28px; color: var(--ink-soft); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--solar); display: flex; align-items: center; justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l2.5 3L9 1' stroke='%23111' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ============================================================
   OFFERINGS / FEATURES
   ============================================================ */
.offerings { padding: 80px 0; background: var(--surface); }
.offerings .card { border-top: 3px solid var(--solar); }
.offerings .card h4 { font-size: 1.15rem; }
.offerings .card p { color: var(--slate); font-size: 0.95rem; line-height: 1.65; }

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section-pad { padding: 80px 0; }
.text-center { text-align: center; }
.note { display: block; color: var(--slate); font-size: 0.88rem; line-height: 1.5; margin-bottom: 0.5rem; }
.fine { font-size: 0.78rem; color: var(--slate-light); line-height: 1.5; }
.ftc-disclosure { font-size: 0.72rem; color: #888; line-height: 1.5; margin-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item { border-bottom: 1px solid var(--border-light); padding: 1.5rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; margin: 0 0 0.75rem; color: var(--ink); }
.faq-a { color: var(--slate); margin: 0; line-height: 1.7; }
.faq-a a { color: var(--pine-mid); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #ccc; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding: 48px 0 36px; }
.footer-grid h5 { margin: 0 0 12px; color: #fff; font-size: 0.75rem; }
.footer-grid p { font-size: 0.88rem; line-height: 1.6; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { margin: 6px 0; }
.list a { font-size: 0.88rem; opacity: 0.75; transition: opacity var(--transition); }
.list a:hover { opacity: 1; }

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc-section { padding: 80px 0; }
.calc-results { display: none; margin-top: 2rem; }
.calc-results.visible { display: block; animation: fadeIn 0.4s ease; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 1.25rem 0; }
.result-item { padding: 16px; background: var(--paper); border-radius: var(--radius-sm); }
.result-item h4 { margin: 0 0 6px; font-size: 0.78rem; color: var(--slate); font-family: 'Inter', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.result-value { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--pine-mid); }
.result-value small { font-size: 0.7rem; font-family: 'Inter', sans-serif; color: var(--slate); font-weight: 500; }
.itc-note {
  background: rgba(245,158,11,0.08); border-left: 3px solid var(--solar);
  padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.25rem 0; font-size: 0.88rem; line-height: 1.6; color: var(--ink-soft);
}

/* ============================================================
   B2B / FOR INSTALLERS
   ============================================================ */
.b2b-hero {
  background: linear-gradient(135deg, var(--pine) 0%, #0f2912 100%);
  color: #fff; padding: 80px 0; text-align: center;
}
.b2b-hero h2 { color: #fff; }
.b2b-hero p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* ============================================================
   THANK YOU
   ============================================================ */
.thank-you { padding: 80px 0; text-align: center; }
.thank-you .card { text-align: left; max-width: 560px; margin: 2rem auto; }
.thank-you h2 { font-size: 2rem; }

/* ============================================================
   404
   ============================================================ */
.page-404 { padding: 100px 0; text-align: center; }
.page-404 h2 { font-size: 5rem; color: var(--solar); margin-bottom: 0.5rem; }
.page-404 p { color: var(--slate); font-size: 1.1rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4, .area-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .blog-post-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .step:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; flex-direction: column; position: absolute; top: 100%;
    left: 0; right: 0; background: var(--pine); padding: 8px 24px 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 1rem; }
  .main-nav a:last-child { margin: 12px 0 4px; text-align: center; border-bottom: none; }
  .masthead-inner { position: relative; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-strip .container { flex-direction: column; text-align: center; }
  .result-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 60px 0; }
  .lead-card { padding: 28px 20px; }
  .section-pad, .how-it-works, .offerings, .service-areas, .blog-teasers { padding: 56px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta, .ghost { text-align: center; padding: 16px 20px; }
  .radio-group { flex-direction: column; }
  .trust-line { flex-direction: column; gap: 8px; align-items: center; }
  .hero h2 { font-size: 1.75rem; }
  .lead-card { padding: 24px 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .area-grid { grid-template-columns: 1fr 1fr; }
}
