/*
Theme Name: Heat Pump Pro
Theme URI: https://heat-pump-pro.com
Author: SEOVIX LLC
Description: Professional SEO theme for heat pump repair services
Version: 2.0.1
License: Proprietary
Text Domain: heatpumppro
*/

:root {
  --hpp-primary: #1B5E20;
  --hpp-primary-light: #2E7D32;
  --hpp-primary-dark: #0D3B12;
  --hpp-accent: #FF6F00;
  --hpp-accent-light: #FF8F00;
  --hpp-accent-dark: #E65100;
  --hpp-bg: #FAFAFA;
  --hpp-bg-alt: #F0F4F0;
  --hpp-surface: #FFFFFF;
  --hpp-text: #1A1A1A;
  --hpp-text-muted: #555555;
  --hpp-text-light: #888888;
  --hpp-border: #E0E0E0;
  --hpp-border-light: #EEEEEE;
  --hpp-success: #4CAF50;
  --hpp-radius: 8px;
  --hpp-radius-lg: 12px;
  --hpp-radius-xl: 16px;
  --hpp-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.06);
  --hpp-shadow-lg: 0 4px 12px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);
  --hpp-shadow-xl: 0 8px 32px rgba(0,0,0,0.12);
  --hpp-max-width: 1200px;
  --hpp-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--hpp-font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--hpp-text);
  background: var(--hpp-bg);
}

a { color: var(--hpp-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--hpp-accent); }
img { max-width: 100%; height: auto; display: block; }

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

/* ===================== HEADER ===================== */
.hpp-header {
  background: var(--hpp-surface);
  border-bottom: 3px solid var(--hpp-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--hpp-shadow);
}

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

.hpp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--hpp-primary);
  text-decoration: none;
}

.hpp-logo svg { width: 36px; height: 36px; fill: var(--hpp-accent); }

.hpp-nav { display: flex; align-items: center; gap: 0; }
.hpp-nav li { list-style: none !important; display: inline-block; }

.hpp-nav a {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--hpp-text);
  border-radius: var(--hpp-radius);
  transition: all 0.2s;
}

.hpp-nav a:hover { background: var(--hpp-bg-alt); color: var(--hpp-primary); }

.hpp-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--hpp-text);
}

/* ===================== BUTTONS ===================== */
.hpp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--hpp-accent);
  color: #FFF !important;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: var(--hpp-radius);
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  line-height: 1.4;
}

.hpp-cta-btn:hover {
  background: var(--hpp-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--hpp-shadow-lg);
  color: #FFF !important;
}

.hpp-cta-lg { padding: 16px 36px; font-size: 17px; border-radius: var(--hpp-radius-lg); }

.hpp-cta-outline {
  background: transparent;
  color: #FFF !important;
  border: 2px solid rgba(255,255,255,0.5);
}

.hpp-cta-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #FFF;
  transform: translateY(-2px);
}

.hpp-cta-white {
  background: #FFF;
  color: var(--hpp-primary) !important;
}

.hpp-cta-white:hover {
  background: #F5F5F5;
  color: var(--hpp-primary-dark) !important;
}

.hpp-link-arrow {
  font-weight: 600;
  font-size: 15px;
  color: var(--hpp-primary);
}

.hpp-link-arrow:hover { color: var(--hpp-accent); }

/* ===================== HERO ===================== */
.hpp-hero {
  background: linear-gradient(135deg, var(--hpp-primary-dark) 0%, var(--hpp-primary) 50%, var(--hpp-primary-light) 100%);
  color: #FFF;
  padding: 72px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hpp-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hpp-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.9);
}

.hpp-hero h1 {
  font-size: clamp(30px, 5.5vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 20px;
  text-wrap: balance;
  letter-spacing: -0.02em;
}

.hpp-highlight { color: var(--hpp-accent); }

.hpp-hero-sub {
  font-size: clamp(16px, 2.5vw, 19px);
  opacity: 0.88;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hpp-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hpp-hero-disclaimer {
  font-size: 13px;
  opacity: 0.5;
}

/* ===================== TRUST BAR ===================== */
.hpp-trust-bar {
  background: var(--hpp-surface);
  border-bottom: 1px solid var(--hpp-border);
  padding: 18px 24px;
}

.hpp-trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  max-width: var(--hpp-max-width);
  margin: 0 auto;
}

.hpp-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hpp-text-muted);
}

.hpp-trust-item svg { width: 22px; height: 22px; fill: var(--hpp-primary); }

/* ===================== SECTIONS ===================== */
.hpp-section { padding: 72px 24px; }
.hpp-section-alt { background: var(--hpp-bg-alt); }

.hpp-section-eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hpp-accent);
  margin-bottom: 12px;
}

.hpp-section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--hpp-text);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hpp-section-subtitle {
  text-align: center;
  color: var(--hpp-text-muted);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.hpp-section-subtitle a { font-weight: 600; }

/* ===================== TYPE SELECTOR ===================== */
.hpp-type-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 32px;
}

.hpp-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  background: var(--hpp-surface);
  border: 2px solid var(--hpp-border);
  border-radius: var(--hpp-radius-lg);
  transition: all 0.25s;
  text-decoration: none;
  color: var(--hpp-text);
}

.hpp-type-card:hover {
  border-color: var(--hpp-primary);
  background: rgba(27,94,32,0.03);
  transform: translateY(-3px);
  box-shadow: var(--hpp-shadow-lg);
  color: var(--hpp-text);
}

.hpp-type-icon {
  width: 48px;
  height: 48px;
  background: rgba(27,94,32,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.hpp-type-icon svg { width: 24px; height: 24px; fill: var(--hpp-primary); }

.hpp-type-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.hpp-type-card p { font-size: 13px; color: var(--hpp-text-muted); line-height: 1.4; }

.hpp-type-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
}

/* ===================== STATS BAR ===================== */
.hpp-stats-bar {
  background: var(--hpp-primary);
  padding: 36px 24px;
}

.hpp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--hpp-max-width);
  margin: 0 auto;
  text-align: center;
}

.hpp-stat-number {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: #FFF;
  line-height: 1.1;
  margin-bottom: 6px;
}

.hpp-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===================== FEATURES GRID ===================== */
.hpp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--hpp-max-width);
  margin: 0 auto;
}

.hpp-feature {
  padding: 28px;
  border-radius: var(--hpp-radius-lg);
  background: var(--hpp-surface);
  border: 1px solid var(--hpp-border);
  transition: all 0.25s;
}

.hpp-feature:hover {
  border-color: var(--hpp-primary);
  box-shadow: var(--hpp-shadow);
}

.hpp-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(27,94,32,0.08);
  border-radius: var(--hpp-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.hpp-feature-icon svg { width: 22px; height: 22px; fill: var(--hpp-primary); }
.hpp-feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.hpp-feature p { font-size: 15px; color: var(--hpp-text-muted); line-height: 1.6; }
.hpp-feature a { font-weight: 600; }

/* ===================== BRANDS GRID ===================== */
.hpp-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.hpp-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  background: var(--hpp-surface);
  border: 2px solid var(--hpp-border);
  border-radius: var(--hpp-radius-lg);
  transition: all 0.25s;
  text-decoration: none;
  color: var(--hpp-text);
}

.hpp-brand-card:hover {
  border-color: var(--hpp-accent);
  transform: translateY(-3px);
  box-shadow: var(--hpp-shadow-lg);
  color: var(--hpp-text);
}

.hpp-brand-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.hpp-brand-sub {
  font-size: 12px;
  color: var(--hpp-text-muted);
  line-height: 1.4;
}

/* ===================== STEPS ===================== */
.hpp-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.hpp-step {
  text-align: center;
  padding: 24px;
}

.hpp-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--hpp-primary);
  color: #FFF;
  font-size: 20px;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 20px;
}

.hpp-step h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.hpp-step p { font-size: 15px; color: var(--hpp-text-muted); line-height: 1.6; }
.hpp-step a { font-weight: 600; }

.hpp-steps-cta { text-align: center; }

/* ===================== COST TABLE ===================== */
.hpp-cost-table-wrap {
  max-width: 700px;
  margin: 0 auto 24px;
  overflow-x: auto;
}

.hpp-cost-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.hpp-cost-table th {
  background: var(--hpp-primary);
  color: #FFF;
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.hpp-cost-table th:first-child { border-radius: var(--hpp-radius-lg) 0 0 0; }
.hpp-cost-table th:last-child { border-radius: 0 var(--hpp-radius-lg) 0 0; }

.hpp-cost-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--hpp-border);
  font-size: 15px;
}

.hpp-cost-table tbody tr:hover { background: var(--hpp-bg-alt); }
.hpp-cost-table tbody tr:last-child td:first-child { border-radius: 0 0 0 var(--hpp-radius-lg); }
.hpp-cost-table tbody tr:last-child td:last-child { border-radius: 0 0 var(--hpp-radius-lg) 0; }

.hpp-cost-cta { text-align: center; }

/* ===================== FAQ ===================== */
.hpp-faq-list {
  max-width: 750px;
  margin: 0 auto;
}

.hpp-faq {
  border: 1px solid var(--hpp-border);
  border-radius: var(--hpp-radius-lg);
  margin-bottom: 12px;
  background: var(--hpp-surface);
  overflow: hidden;
  transition: all 0.25s;
}

.hpp-faq:hover { border-color: var(--hpp-primary); }

.hpp-faq[open] {
  border-color: var(--hpp-primary);
  box-shadow: var(--hpp-shadow);
}

.hpp-faq summary {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--hpp-text);
  transition: all 0.2s;
}

.hpp-faq summary::-webkit-details-marker { display: none; }

.hpp-faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--hpp-text-muted);
  transition: transform 0.25s;
  flex-shrink: 0;
  margin-left: 16px;
}

.hpp-faq[open] summary::after {
  content: '\2212';
  color: var(--hpp-primary);
}

.hpp-faq summary:hover { color: var(--hpp-primary); }

.hpp-faq-body {
  padding: 0 24px 20px;
  color: var(--hpp-text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.hpp-faq-body a { font-weight: 600; }

/* ===================== CITIES GRID ===================== */
.hpp-cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto 16px;
}

.hpp-cities-grid span {
  display: inline-block;
  padding: 8px 18px;
  background: var(--hpp-surface);
  border: 1px solid var(--hpp-border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--hpp-text-muted);
}

.hpp-cities-more {
  text-align: center;
  font-size: 14px;
  color: var(--hpp-text-light);
  margin-top: 8px;
}

/* ===================== SERVICE CARDS ===================== */
.hpp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: var(--hpp-max-width);
  margin: 0 auto;
}

.hpp-card {
  background: var(--hpp-surface);
  border-radius: var(--hpp-radius-lg);
  padding: 28px;
  box-shadow: var(--hpp-shadow);
  border: 1px solid var(--hpp-border);
  transition: all 0.25s;
}

.hpp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hpp-shadow-lg);
  border-color: var(--hpp-primary);
}

.hpp-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(27,94,32,0.08);
  border-radius: var(--hpp-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.hpp-card-icon svg { width: 22px; height: 22px; fill: var(--hpp-primary); }
.hpp-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.hpp-card p { color: var(--hpp-text-muted); font-size: 15px; line-height: 1.6; }
.hpp-card a { font-weight: 600; font-size: 14px; }

/* ===================== ARTICLE GRID ===================== */
.hpp-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  max-width: var(--hpp-max-width);
  margin: 0 auto;
}

.hpp-article-card {
  background: var(--hpp-surface);
  border-radius: var(--hpp-radius-lg);
  overflow: hidden;
  box-shadow: var(--hpp-shadow);
  border: 1px solid var(--hpp-border);
  transition: all 0.25s;
}

.hpp-article-card:hover { transform: translateY(-2px); box-shadow: var(--hpp-shadow-lg); }
.hpp-article-thumb { width: 100%; height: 200px; object-fit: cover; }

.hpp-article-body { padding: 20px; }
.hpp-article-meta { font-size: 13px; color: var(--hpp-text-light); margin-bottom: 6px; }
.hpp-article-body h3 { font-size: 17px; font-weight: 700; line-height: 1.35; margin-bottom: 6px; }
.hpp-article-body h3 a { color: var(--hpp-text); }
.hpp-article-body h3 a:hover { color: var(--hpp-primary); }
.hpp-article-excerpt { font-size: 14px; color: var(--hpp-text-muted); line-height: 1.5; }

/* ===================== FINAL CTA ===================== */
.hpp-final-cta {
  background: linear-gradient(135deg, var(--hpp-primary-dark) 0%, var(--hpp-primary) 100%);
  color: #FFF;
  padding: 72px 24px;
  text-align: center;
}

.hpp-final-cta h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hpp-final-cta p {
  font-size: 18px;
  opacity: 0.88;
  max-width: 550px;
  margin: 0 auto 28px;
}

.hpp-final-sub {
  font-size: 13px !important;
  opacity: 0.5 !important;
  margin-top: 16px !important;
}

/* ===================== CTA BANNER (for pages) ===================== */
.hpp-cta-banner {
  background: var(--hpp-accent);
  color: #FFF;
  padding: 48px;
  border-radius: var(--hpp-radius-xl);
  text-align: center;
  margin: 48px 0;
}

.hpp-cta-banner h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; color: #FFF; }
.hpp-cta-banner p { opacity: 0.9; margin-bottom: 20px; }

.hpp-cta-banner .hpp-cta-btn {
  background: #FFF;
  color: var(--hpp-accent) !important;
}

.hpp-cta-banner .hpp-cta-btn:hover {
  background: #F5F5F5;
}

/* ===================== SINGLE POST ===================== */
.hpp-single { padding: 40px 24px 60px; }

.hpp-single-inner {
  max-width: 780px;
  margin: 0 auto;
}

.hpp-breadcrumbs {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--hpp-text-light);
}

.hpp-breadcrumbs a { color: var(--hpp-text-muted); font-weight: 500; }

.hpp-single-inner h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hpp-single-meta {
  font-size: 14px;
  color: var(--hpp-text-light);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hpp-border);
}

.hpp-featured-img {
  width: 100%;
  border-radius: var(--hpp-radius-lg);
  margin-bottom: 28px;
}

.hpp-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--hpp-text);
}

.hpp-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--hpp-text);
}

.hpp-content p { margin-bottom: 16px; }

.hpp-content ul, .hpp-content ol {
  margin: 0 0 16px 24px;
}

.hpp-content li { margin-bottom: 6px; }

.hpp-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  overflow-x: auto;
  display: block;
}

.hpp-content thead th {
  background: var(--hpp-primary);
  color: #FFF;
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.hpp-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--hpp-border);
}

.hpp-content tbody tr:hover { background: var(--hpp-bg-alt); }

.hpp-content blockquote {
  border-left: 4px solid var(--hpp-accent);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--hpp-bg-alt);
  border-radius: 0 var(--hpp-radius) var(--hpp-radius) 0;
  color: var(--hpp-text-muted);
  font-style: italic;
}

/* ===================== ARCHIVE ===================== */
.hpp-archive-hero {
  background: var(--hpp-primary);
  color: #FFF;
  padding: 40px 24px;
  text-align: center;
}

.hpp-archive-hero h1 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
}

.hpp-archive-body {
  padding: 40px 24px;
}

/* ===================== PAGINATION ===================== */
.hpp-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.hpp-pagination a, .hpp-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--hpp-radius);
  font-size: 14px;
  font-weight: 600;
}

.hpp-pagination a {
  background: var(--hpp-surface);
  border: 1px solid var(--hpp-border);
  color: var(--hpp-text);
}

.hpp-pagination a:hover { background: var(--hpp-bg-alt); border-color: var(--hpp-primary); }

.hpp-pagination .current {
  background: var(--hpp-primary);
  color: #FFF;
  border: 1px solid var(--hpp-primary);
}

/* ===================== FOOTER ===================== */
.hpp-footer {
  background: var(--hpp-text);
  color: rgba(255,255,255,0.7);
  padding: 56px 24px 32px;
}

.hpp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--hpp-max-width);
  margin: 0 auto 40px;
}

.hpp-footer h4 {
  color: #FFF;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hpp-footer p { font-size: 14px; line-height: 1.6; margin-bottom: 8px; }

.hpp-footer ul { list-style: none; }

.hpp-footer li { margin-bottom: 8px; }

.hpp-footer a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color 0.2s;
}

.hpp-footer a:hover { color: var(--hpp-accent); }

.hpp-footer-bottom {
  max-width: var(--hpp-max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===================== 404 ===================== */
.hpp-404 {
  text-align: center;
  padding: 80px 24px;
}

.hpp-404 h1 {
  font-size: 72px;
  font-weight: 900;
  color: var(--hpp-primary);
  margin-bottom: 12px;
}

/* ===================== MOBILE ===================== */
@media (max-width: 768px) {
  .hpp-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--hpp-surface); flex-direction: column; padding: 16px; border-bottom: 2px solid var(--hpp-primary); box-shadow: var(--hpp-shadow-lg); }
  .hpp-nav.open { display: flex; }
  .hpp-nav a { padding: 12px 16px; }
  .hpp-mobile-toggle { display: block; }

  .hpp-hero { padding: 48px 20px 56px; }
  .hpp-hero-actions { flex-direction: column; align-items: center; }

  .hpp-type-grid { grid-template-columns: repeat(2, 1fr); }
  .hpp-type-grid .hpp-type-card:last-child { grid-column: span 2; max-width: 300px; margin: 0 auto; }

  .hpp-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .hpp-features-grid { grid-template-columns: 1fr; }

  .hpp-brands-grid { grid-template-columns: repeat(2, 1fr); }

  .hpp-steps-grid { grid-template-columns: 1fr; gap: 16px; }

  .hpp-grid { grid-template-columns: 1fr; }
  .hpp-article-grid { grid-template-columns: 1fr; }

  .hpp-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  .hpp-section { padding: 48px 16px; }
  .hpp-final-cta { padding: 48px 16px; }

  .hpp-type-cta { flex-direction: column; gap: 12px; }

  .hpp-cta-banner { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .hpp-trust-items { gap: 16px; }
  .hpp-trust-item { font-size: 12px; }
  .hpp-trust-item svg { width: 18px; height: 18px; }
  .hpp-type-grid { grid-template-columns: 1fr; }
  .hpp-type-grid .hpp-type-card:last-child { grid-column: span 1; max-width: none; }
  .hpp-brands-grid { grid-template-columns: 1fr; }
  .hpp-stats-grid { grid-template-columns: 1fr; }
  .hpp-footer-grid { grid-template-columns: 1fr; }
}

/* ===================== PAGE HERO (for all inner pages) ===================== */
.hpp-page-hero {
  background: linear-gradient(135deg, var(--hpp-primary-dark) 0%, var(--hpp-primary) 100%);
  color: #FFF;
  padding: 48px 24px 52px;
  text-align: center;
}

.hpp-page-hero .hpp-breadcrumbs { margin-bottom: 16px; }
.hpp-page-hero .hpp-breadcrumbs, .hpp-page-hero .hpp-breadcrumbs a { color: rgba(255,255,255,0.6); }
.hpp-page-hero .hpp-breadcrumbs a:hover { color: #FFF; }

.hpp-page-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 800px;
  margin: 0 auto;
}

.hpp-page-hero-sub {
  font-size: 17px;
  opacity: 0.85;
  max-width: 600px;
  margin: 12px auto 0;
  line-height: 1.6;
}

.hpp-page-hero-slim { padding: 40px 24px 44px; }

/* ===================== POST META ===================== */
.hpp-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}

.hpp-meta-sep { opacity: 0.4; }

.hpp-post-cat-link {
  color: var(--hpp-accent-light) !important;
  font-weight: 600;
}

/* ===================== PAGE BODY ===================== */
.hpp-page-body {
  padding: 48px 24px 20px;
}

.hpp-page-content {
  max-width: 780px;
  margin: 0 auto;
}

/* Article layout with sidebar */
.hpp-article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.hpp-article-layout .hpp-page-content {
  max-width: none;
  min-width: 0;
}

/* ===================== SIDEBAR ===================== */
.hpp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 88px;
  align-self: start;
}

.hpp-sidebar-card {
  background: var(--hpp-surface);
  border: 1px solid var(--hpp-border);
  border-radius: var(--hpp-radius-lg);
  padding: 24px;
}

.hpp-sidebar-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--hpp-text);
}

.hpp-sidebar-card p {
  font-size: 14px;
  color: var(--hpp-text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.hpp-cta-sm { padding: 10px 20px; font-size: 14px; width: 100%; justify-content: center; }

.hpp-sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hpp-sidebar-links li {
  padding: 8px 0;
  border-bottom: 1px solid var(--hpp-border-light);
}

.hpp-sidebar-links li:last-child { border-bottom: none; }

.hpp-sidebar-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--hpp-text);
  display: block;
}

.hpp-sidebar-links a:hover { color: var(--hpp-primary); }

/* ===================== CATEGORY PILLS ===================== */
.hpp-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hpp-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--hpp-bg-alt);
  border: 1px solid var(--hpp-border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hpp-text-muted);
  transition: all 0.2s;
  text-decoration: none;
}

.hpp-cat-pill:hover {
  background: var(--hpp-primary);
  border-color: var(--hpp-primary);
  color: #FFF;
}

.hpp-cat-pill-active {
  background: var(--hpp-primary);
  border-color: var(--hpp-primary);
  color: #FFF;
}

.hpp-cat-count {
  font-size: 11px;
  opacity: 0.7;
}

.hpp-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
  padding: 0 16px;
}

/* ===================== BLOG SECTION ===================== */
.hpp-blog-section {
  padding: 40px 24px 60px;
}

.hpp-article-cat {
  color: var(--hpp-primary);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hpp-read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--hpp-primary);
  display: inline-block;
  margin-top: 8px;
}

.hpp-read-more:hover { color: var(--hpp-accent); }

/* ===================== FEATURED IMAGE ===================== */
.hpp-featured-wrap {
  margin-bottom: 32px;
  border-radius: var(--hpp-radius-lg);
  overflow: hidden;
}

.hpp-featured-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================== ESTIMATE PAGE ===================== */
.hpp-estimate-section {
  padding: 56px 24px 64px;
}

.hpp-estimate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 32px auto 40px;
}

.hpp-estimate-card {
  background: var(--hpp-surface);
  border: 2px solid var(--hpp-border);
  border-radius: var(--hpp-radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  outline: none;
}

.hpp-estimate-card:hover {
  border-color: var(--hpp-primary);
  transform: translateY(-3px);
  box-shadow: var(--hpp-shadow-lg);
}

.hpp-estimate-card:focus-visible {
  border-color: var(--hpp-primary);
  box-shadow: 0 0 0 3px rgba(27,94,32,0.2);
}

.hpp-estimate-card.active {
  border-color: var(--hpp-primary);
  background: rgba(27,94,32,0.04);
  box-shadow: var(--hpp-shadow-lg);
}

.hpp-estimate-card.active .hpp-estimate-icon {
  background: var(--hpp-primary);
}

.hpp-estimate-card.active .hpp-estimate-icon svg { fill: #FFF; }

.hpp-estimate-icon {
  width: 56px;
  height: 56px;
  background: rgba(27,94,32,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  transition: all 0.25s;
}

.hpp-estimate-icon svg { fill: var(--hpp-primary); transition: fill 0.25s; }

.hpp-estimate-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.hpp-estimate-card p { font-size: 14px; color: var(--hpp-text-muted); }

/* Estimate result panel */
.hpp-estimate-result {
  max-width: 640px;
  margin: 0 auto;
}

.hpp-estimate-result-inner {
  background: linear-gradient(135deg, var(--hpp-primary-dark) 0%, var(--hpp-primary) 100%);
  color: #FFF;
  border-radius: var(--hpp-radius-xl);
  padding: 48px 40px;
  text-align: center;
}

.hpp-estimate-result-inner h3 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.hpp-result-price {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--hpp-accent);
}

.hpp-result-note {
  font-size: 15px;
  opacity: 0.85;
  max-width: 460px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.hpp-result-actions { margin-bottom: 16px; }

.hpp-result-actions .hpp-cta-btn {
  background: #FFF;
  color: var(--hpp-primary) !important;
}

.hpp-result-actions .hpp-cta-btn:hover {
  background: #F5F5F5;
}

.hpp-result-disclaimer {
  font-size: 13px;
  opacity: 0.5;
}

/* ===================== AFFILIATE PLACEHOLDERS ===================== */
.hpp-affiliate-slot {
  border: 2px dashed var(--hpp-border);
  border-radius: var(--hpp-radius-lg);
  padding: 32px 24px;
  text-align: center;
  margin: 40px 0;
  background: var(--hpp-bg-alt);
}

.hpp-affiliate-inner {}

.hpp-affiliate-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hpp-accent);
  margin-bottom: 8px;
}

.hpp-affiliate-placeholder {
  font-size: 14px;
  color: var(--hpp-text-muted);
}

.hpp-affiliate-wide {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hpp-affiliate-sidebar {
  margin: 0;
}

/* ===================== ENTRY CONTENT IMPROVEMENTS ===================== */
.entry-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--hpp-text);
}

.entry-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--hpp-text);
}

.entry-content p { margin-bottom: 16px; line-height: 1.7; }

.entry-content ul, .entry-content ol {
  margin: 0 0 16px 24px;
  line-height: 1.7;
}

.entry-content li { margin-bottom: 6px; }

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.entry-content thead th {
  background: var(--hpp-primary);
  color: #FFF;
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.entry-content thead th:first-child { border-radius: var(--hpp-radius-lg) 0 0 0; }
.entry-content thead th:last-child { border-radius: 0 var(--hpp-radius-lg) 0 0; }

.entry-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--hpp-border);
}

.entry-content tbody tr:hover { background: var(--hpp-bg-alt); }

.entry-content blockquote {
  border-left: 4px solid var(--hpp-accent);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--hpp-bg-alt);
  border-radius: 0 var(--hpp-radius) var(--hpp-radius) 0;
  color: var(--hpp-text-muted);
  font-style: italic;
}

.entry-content a { font-weight: 500; }

/* ===================== ENTRY META ===================== */
.entry-meta {
  font-size: 14px;
  color: var(--hpp-text-light);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hpp-border);
}

/* ===================== MOBILE RESPONSIVE ADDITIONS ===================== */
@media (max-width: 768px) {
  .hpp-page-hero { padding: 36px 16px 40px; }

  .hpp-article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hpp-sidebar {
    position: static;
  }

  .hpp-estimate-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hpp-estimate-result-inner { padding: 36px 24px; }

  .hpp-cat-nav { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
}

@media (max-width: 480px) {
  .hpp-estimate-grid {
    grid-template-columns: 1fr;
  }

  .hpp-page-hero h1 { font-size: 24px; }
}


/* ===================== DROPDOWN MENU ===================== */
.hpp-nav li { position: relative; }

.hpp-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--hpp-surface);
  border: 1px solid var(--hpp-border);
  border-radius: var(--hpp-radius-lg);
  box-shadow: var(--hpp-shadow-lg);
  padding: 8px 0;
  min-width: 200px;
  z-index: 1000;
  list-style: none;
}

.hpp-nav li:hover > .sub-menu { display: block; }

.hpp-nav .sub-menu li { display: block; }

.hpp-nav .sub-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--hpp-text);
  white-space: nowrap;
  border-radius: 0;
}

.hpp-nav .sub-menu a:hover {
  background: rgba(27,94,32,0.06);
  color: var(--hpp-primary);
}

.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .hpp-nav .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    background: transparent;
    min-width: auto;
  }

  .hpp-nav .sub-menu { display: none; }
  .hpp-nav li.hpp-dropdown-open > .sub-menu { display: block; }

  .hpp-nav .sub-menu a {
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* ===================== AUTHOR BYLINE ===================== */
.hpp-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--hpp-surface);
  border: 1px solid var(--hpp-border);
  border-radius: var(--hpp-radius-lg);
  margin: 24px 0 32px;
}
.hpp-author-avatar { flex-shrink: 0; }
.hpp-author-info { display: flex; flex-direction: column; gap: 4px; }
.hpp-author-name { font-size: 15px; color: var(--hpp-text); }
.hpp-author-name strong { color: var(--hpp-primary); }
.hpp-author-cred { font-size: 13px; color: var(--hpp-text-secondary); }
.hpp-author-dates { font-size: 13px; color: var(--hpp-text-secondary); }
@media (max-width: 768px) {
  .hpp-author-box { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
}
