/* ============================================
   HomeProMarketer.com — Global Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --blue-dark:   #0d2b5e;
  --blue:        #1a4da0;
  --blue-light:  #2563eb;
  --orange:      #f97316;
  --orange-dark: #ea6c08;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-600:    #475569;
  --gray-800:    #1e293b;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.10);
  --shadow-md:   0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.15);
  --radius:      10px;
  --radius-lg:   18px;
  --transition:  .22s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--gray-600); }

/* ---------- Utility ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 5rem 0; }
.section-alt { background: var(--gray-50); }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

.section-label {
  display: inline-block;
  background: rgba(249,115,22,.12);
  color: var(--orange-dark);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: .3rem .85rem;
  margin-bottom: .75rem;
}
.section-label.blue {
  background: rgba(37,99,235,.1);
  color: var(--blue);
}

.section-title { margin-bottom: .75rem; }
.section-sub   { font-size: 1.05rem; max-width: 620px; margin: 0 auto; color: var(--gray-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  border-radius: var(--radius);
  padding: .85rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(249,115,22,.40);
}
.btn-primary:hover {
  background: var(--orange-dark);
  box-shadow: 0 6px 20px rgba(249,115,22,.55);
}
.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: .6rem 1.35rem; font-size: .9rem; }

/* ---------- Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--blue-dark);
}
.logo-icon {
  width: 38px; height: 38px;
  background: var(--blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.15rem;
}
.logo span { color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--gray-600);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue); }
.nav-cta { margin-left: .5rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .3rem;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 1.25rem;
  gap: .25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-800);
  padding: .65rem .5rem;
  border-bottom: 1px solid var(--gray-100);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #1e5fb5 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(249,115,22,.2);
  border: 1px solid rgba(249,115,22,.4);
  color: #fbbf24;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: #fbbf24; }
.hero-sub {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
}
.hero-stat span { font-size: .85rem; color: rgba(255,255,255,.65); }

/* hero visual mockup */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mock-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  padding: 1.25rem 1.5rem;
  color: white;
}
.mock-card-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.mock-icon {
  width: 32px; height: 32px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.mock-bar { height: 7px; border-radius: 4px; background: rgba(255,255,255,.15); margin: .4rem 0; overflow: hidden; }
.mock-bar-fill { height: 100%; border-radius: 4px; background: var(--orange); }
.mock-row { display: flex; justify-content: space-between; font-size: .82rem; color: rgba(255,255,255,.7); margin-top: .3rem; }

/* ---------- Value Props / Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.feature-card h3 { margin-bottom: .5rem; }
.feature-card p  { font-size: .95rem; }

.icon-blue   { background: rgba(37,99,235,.1);  color: var(--blue); }
.icon-orange { background: rgba(249,115,22,.12); color: var(--orange-dark); }
.icon-green  { background: rgba(22,163,74,.1);   color: #16a34a; }
.icon-purple { background: rgba(124,58,237,.1);  color: #7c3aed; }
.icon-red    { background: rgba(220,38,38,.1);   color: #dc2626; }
.icon-teal   { background: rgba(13,148,136,.1);  color: #0d9488; }

/* ---------- Product Cards ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-card.featured {
  border: 2px solid var(--orange);
  position: relative;
}
.product-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--orange);
  color: white;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .25rem .7rem;
  border-radius: 50px;
}
.product-img {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}
.product-img.hvac   { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.product-img.roofing { background: linear-gradient(135deg, #ffedd5, #fed7aa); }
.product-img.audit  { background: linear-gradient(135deg, #dcfce7, #bbf7d0); }

.product-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.product-body p  { font-size: .9rem; margin-bottom: 1rem; flex: 1; }
.product-includes { margin-bottom: 1.25rem; }
.product-includes li {
  font-size: .85rem;
  color: var(--gray-600);
  padding: .2rem 0;
  display: flex;
  align-items: flex-start;
  gap: .45rem;
}
.product-includes li::before {
  content: '✓';
  color: #16a34a;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}
.product-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price { font-size: 1.8rem; font-weight: 800; color: var(--blue-dark); }
.price-orig { font-size: .9rem; color: var(--gray-400); text-decoration: line-through; margin-left: .3rem; }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.stars { color: #f59e0b; font-size: 1rem; margin-bottom: .75rem; letter-spacing: 2px; }
.testimonial-text {
  font-size: .95rem;
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: .95rem;
  color: white;
  flex-shrink: 0;
}
.author-info strong { display: block; font-size: .95rem; }
.author-info span   { font-size: .82rem; color: var(--gray-400); }

/* ---------- Email Capture ---------- */
.email-capture {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
  padding: 5rem 0;
}
.email-capture-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.email-capture h2 { color: white; }
.email-capture h2 span { color: #fbbf24; }
.email-capture p   { color: rgba(255,255,255,.75); margin-bottom: 0; }
.email-perks { margin-top: 1.25rem; }
.email-perks li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
  padding: .35rem 0;
}
.email-perks li::before {
  content: '→';
  color: #fbbf24;
  font-weight: 700;
}
.email-form { display: flex; flex-direction: column; gap: .85rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.8); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  background: rgba(255,255,255,.1);
  color: white;
  font-size: .95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input::placeholder { color: rgba(255,255,255,.45); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus  { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.15); }
.form-note { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: .25rem; }

/* contact page light form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form .form-group label  { color: var(--gray-800); }
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  border-color: var(--gray-200);
  background: var(--gray-50);
  color: var(--gray-800);
}
.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  border-color: var(--blue-light);
  background: white;
}
.contact-form .form-group select option { color: var(--gray-800); }
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder { color: var(--gray-400); }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--gray-600);
}
.trust-item-icon { font-size: 1.3rem; }

/* ---------- Guarantee Badge ---------- */
.guarantee-section { padding: 3.5rem 0; background: white; }
.guarantee-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.guarantee-badge {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #15803d);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: white;
  text-align: center;
  box-shadow: 0 6px 20px rgba(22,163,74,.35);
  flex-shrink: 0;
}
.guarantee-badge strong { font-size: 1.1rem; font-weight: 900; line-height: 1.1; }
.guarantee-badge span   { font-size: .7rem; margin-top: .25rem; opacity: .85; }
.guarantee-text h3 { margin-bottom: .5rem; }
.guarantee-text p  { max-width: 480px; font-size: .95rem; }

/* ---------- Comparison / Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.stat-box {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.stat-box strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-box span { font-size: .9rem; color: var(--gray-600); }

/* ---------- Process Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.step-card h3 { margin-bottom: .5rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--orange);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 { color: white; margin-bottom: .75rem; }
.cta-banner p  { color: rgba(255,255,255,.85); margin-bottom: 1.75rem; font-size: 1.05rem; }
.cta-banner .btn-primary {
  background: white;
  color: var(--orange-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.cta-banner .btn-primary:hover { background: var(--gray-100); }

/* ---------- Footer ---------- */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer h4 {
  color: white;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.footer ul { display: flex; flex-direction: column; gap: .5rem; }
.footer ul li a {
  font-size: .9rem;
  transition: color var(--transition);
}
.footer ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
}
.footer-bottom a:hover { color: white; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
  padding: 4rem 0;
  text-align: center;
}
.page-hero h1 { color: white; margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ---------- About Specifics ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  background: linear-gradient(135deg, var(--gray-100), #dbeafe);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.about-visual-icon { font-size: 5rem; }
.about-list { margin-top: 1rem; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: .95rem;
  color: var(--gray-600);
}
.about-list li:last-child { border-bottom: none; }
.about-list li::before { content: '✓'; color: #16a34a; font-weight: 800; flex-shrink: 0; margin-top: .05rem; }

/* ---------- Contact Specifics ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: .5rem; }
.contact-info p   { margin-bottom: 2rem; }
.contact-methods { display: flex; flex-direction: column; gap: 1rem; }
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.25rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.contact-method-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.contact-method strong { display: block; font-size: .9rem; margin-bottom: .15rem; }
.contact-method span  { font-size: .85rem; color: var(--gray-600); }

/* ---------- Alert / Toast ---------- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #16a34a;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(120px);
  opacity: 0;
  transition: all .35s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner  { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-grid,
  .products-grid,
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .stats-row          { grid-template-columns: 1fr 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .email-capture-inner,
  .about-grid,
  .contact-grid       { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .features-grid,
  .products-grid,
  .testimonials-grid,
  .stats-row,
  .steps-grid { grid-template-columns: 1fr; }
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .hero       { padding: 3.5rem 0 3rem; }
  .hero-actions { flex-direction: column; }
  .footer-grid  { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
}
