/* ==========================================================================
   EDGE ENERGY — HTML Template
   Pages: index.html, blog.html, blog-single.html
   Fonts: Poppins (primary), Inter (labels/stats)
   ========================================================================== */

:root {
  --bg: #F8FAFC;
  --dark: #0F172A;
  --text-muted: rgba(0, 0, 0, 0.73);
  --teal: #14B8A6;
  --teal-soft: rgba(20, 184, 166, 0.15);
  --blue: #2563EB;
  --blue-label: #4A6CF7;
  --amber: #F5B958;
  --grad: linear-gradient(90deg, #4A6CF7 0%, #63E6DB 100%);
  --radius-card: 30px;
  --shadow-card: 0 4px 40px rgba(0, 0, 0, 0.12);
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-alt: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* [WP] global reset removed - Divi provides its own */

html { scroll-behavior: smooth; }

/* Never allow sideways scroll (e.g. from the off-canvas drawer on some mobile browsers) */
html, body { overflow-x: clip; }

/* [WP] body base scoped: applied on new-design surfaces only */
.nd-scope, .site-header, .site-footer, .side-menu {
  font-family: var(--font-main);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nd-page { background: var(--bg); }

.nd-scope img, .site-header img, .site-footer img, .side-menu img { max-width: 100%; display: block; }

.nd-scope a, .site-header a, .site-footer a, .side-menu a { color: var(--teal); text-decoration: none; transition: color .2s ease; }
.nd-scope a:hover, .site-header a:hover, .site-footer a:hover, .side-menu a:hover { color: var(--blue); }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  background: var(--grad);
  border: none;
  border-radius: 13px;
  padding: 15px 28px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(74, 108, 247, 0.35); }
.btn .arrow { font-size: 18px; line-height: 1; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--teal);
  font-size: 18px;
  font-weight: 500;
  border-radius: 30px;
  padding: 18px 40px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease;
}
.btn-outline:hover { transform: translateY(-2px); color: var(--teal); }

/* --------------------------------------------------------------------------
   Section labels  ( // ABOUT EDGE )
   -------------------------------------------------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-alt);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--blue-label);
  text-transform: uppercase;
}
.section-label::before {
  content: "";
  width: 16px;
  height: 14px;
  background:
    linear-gradient(to bottom right, transparent 46%, var(--teal) 46%, var(--teal) 54%, transparent 54%) left / 7px 100% no-repeat,
    linear-gradient(to bottom right, transparent 46%, var(--teal) 46%, var(--teal) 54%, transparent 54%) right / 7px 100% no-repeat;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 24px;
  max-width: 1440px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-size: 30px; line-height: 1; white-space: nowrap; }
.brand-name b { font-weight: 700; color: var(--dark); }
.brand-name span { font-weight: 600; color: rgba(20, 184, 166, 0.85); }
.brand img { width: 34px; height: 34px; }

.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.main-nav a {
  color: var(--dark);
  font-size: 17px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.main-nav a:hover { color: var(--teal); }
.main-nav .caret { font-size: 11px; opacity: .7; }
.header-cta { white-space: nowrap; }

.nav-toggle { display: none; margin-left: auto; background: none; border: none; font-size: 28px; color: var(--dark); cursor: pointer; }

/* ==========================================================================
   HERO (homepage)
   ========================================================================== */
.hero { position: relative; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 52%);
  align-items: center;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 0 60px 48px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 15px;
  padding: 10px 22px;
  font-weight: 300;
  font-size: 18px;
  color: var(--teal);
  background: var(--bg);
  margin-bottom: 28px;
}
.hero-badge img { width: 24px; height: 24px; }

.hero h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--teal); }
.hero-sub {
  font-size: 19px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-call { display: flex; align-items: center; gap: 16px; }
.hero-call .icon-circle { background: rgba(20, 184, 166, 0.11); }
.hero-call-label { font-size: 17px; }
.hero-call-number { font-size: 16px; border-bottom: 1.5px solid var(--teal); padding-bottom: 2px; color: var(--dark); }
.hero-call-number:hover { color: var(--teal); }

.icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-circle svg { width: 26px; height: 26px; }

.trust-row { display: flex; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .icon-circle { width: 56px; height: 56px; }
.trust-item p { font-family: var(--font-alt); font-weight: 500; font-size: 15px; line-height: 1.3; color: var(--dark); }

.hero-visual { position: relative; min-height: 480px; }
.hero-visual img.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: 600px 0 0 600px;
}
.hero-float {
  position: absolute;
  right: 36px;
  bottom: 56px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 18px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-float .icon-circle { width: 56px; height: 56px; background: rgba(99, 230, 219, 0.7); }
.hero-float .icon-circle img { width: 30px; height: 30px; }
.hero-float p { font-size: 15px; font-weight: 500; line-height: 1.35; }
.hero-float a { font-size: 14px; color: var(--teal); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { padding: 90px 0 40px; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}
.about-visual { position: relative; }
.about-visual > img { border-radius: 30px; width: 100%; }
.about-card {
  position: absolute;
  left: 40px;
  bottom: -30px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
  padding: 16px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.about-card .icon-circle { width: 54px; height: 54px; background: var(--teal-soft); }
.about-card strong { font-size: 15px; font-weight: 600; display: block; }
.about-card small { font-size: 11px; color: var(--text-muted); }

.about-content h2 {
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 600;
  margin: 14px 0 10px;
}
.about-content .heading-rule { width: 90px; height: 4px; background: var(--teal); border: none; margin-bottom: 26px; }
.about-content p { font-size: 17px; color: var(--text-muted); max-width: 560px; }

.about-stats {
  display: flex;
  gap: 70px;
  margin-top: 46px;
  padding-top: 40px;
  border-top: 2px solid rgba(0, 0, 0, 0.07);
}
.stat { text-align: center; }
.stat .icon-circle { margin: 0 auto 18px; width: 74px; height: 74px; }
.stat-number { font-family: var(--font-alt); font-size: 42px; font-weight: 500; line-height: 1; }
.stat-number.is-blue { color: var(--blue); }
.stat-number.is-teal { color: var(--teal); }
.stat-caption { font-family: var(--font-alt); font-size: 16px; margin-top: 12px; }
.stat-rule { width: 55px; height: 3px; border: none; margin: 14px auto 0; }
.stat-rule.is-blue { background: var(--blue); }
.stat-rule.is-teal { background: var(--teal); }

/* --------------------------------------------------------------------------
   Feature strip
   -------------------------------------------------------------------------- */
.feature-strip { padding: 70px 0 0; }
.feature-strip-inner {
  background: #fff;
  border-radius: 40px;
  padding: 36px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 18px;
}
.feature .icon-circle { width: 70px; height: 70px; }
.feature h3 { font-size: 18px; font-weight: 500; line-height: 1.3; }
.feature p { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why { padding: 110px 0 60px; }
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
  gap: 60px;
  align-items: start;
}
.why h2 { font-size: clamp(32px, 3.4vw, 46px); font-weight: 600; margin: 14px 0 8px; }
.why h2 .accent { color: var(--teal); }
.why .heading-rule { width: 88px; height: 5px; background: rgba(20, 184, 166, 0.85); border: none; margin-bottom: 18px; }
.why-intro { font-size: 17px; color: var(--text-muted); max-width: 520px; margin-bottom: 40px; }

.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-card { background: #fff; border-radius: 20px; padding: 26px; }
.why-card .icon-circle { width: 62px; height: 62px; margin-bottom: 16px; }
.why-card h3 { font-size: 18px; font-weight: 500; }
.why-card .mini-rule { width: 45px; height: 2.5px; background: var(--teal); border: none; margin: 8px 0 12px; }
.why-card p { font-size: 12.5px; color: var(--text-muted); }

.why-banner {
  grid-column: 1 / -1;
  background: #fff;
  border-radius: 20px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.why-banner .icon-circle { width: 62px; height: 62px; background: rgba(20, 184, 166, 0.18); }
.why-banner strong { font-size: 16px; font-weight: 500; display: block; }
.why-banner small { font-size: 12px; color: var(--text-muted); }

.why-visual { position: relative; }
.why-visual > img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; border-radius: 40px; }
.why-float {
  position: absolute;
  left: -50px;
  bottom: 60px;
  background: var(--bg);
  border-radius: 30px;
  box-shadow: var(--shadow-card);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 360px;
}
.why-float .icon-circle { width: 68px; height: 68px; background: rgba(20, 184, 166, 0.8); }
.why-float strong { font-size: 19px; font-weight: 500; line-height: 1.3; display: block; }
.why-float small { font-size: 11px; color: var(--text-muted); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { padding: 90px 0; text-align: center; }
.testimonials .section-label { text-transform: none; font-family: var(--font-main); font-weight: 500; font-size: 26px; color: var(--dark); }
.testimonials h2 {
  font-size: clamp(40px, 5.5vw, 74px);
  font-weight: 600;
  line-height: 1.1;
  margin: 18px 0 8px;
}
.testimonials .heading-rule { width: 140px; height: 6px; background: rgba(20, 184, 166, 0.85); border: none; margin: 0 auto 26px; }
.testimonials-intro { font-size: clamp(18px, 2vw, 24px); color: var(--text-muted); max-width: 900px; margin: 0 auto 60px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; text-align: left; }
.testimonial-card {
  background: #fff;
  border-radius: 35px;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
}
.testimonial-card .icon-circle { width: 70px; height: 70px; background: rgba(20, 184, 166, 0.17); margin-bottom: 22px; }
.stars { color: var(--amber); font-size: 22px; letter-spacing: 4px; margin-bottom: 20px; }
.testimonial-card blockquote {
  font-size: 16px;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 30px;
}
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-author img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { font-size: 18px; font-weight: 500; display: block; }
.testimonial-author small { font-size: 15px; color: var(--text-muted); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding: 40px 0 100px; }
.contact-wrap {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 44%);
  min-height: 640px;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background: url('img/house-solar.png') center right / cover no-repeat;
  z-index: 0;
}
.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 250, 252, 0.92) 0%, rgba(248, 250, 252, 0.55) 45%, rgba(248, 250, 252, 0.05) 100%);
}
.contact-info { position: relative; z-index: 1; padding: 70px 20px 70px 60px; }
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: #fff;
  border-radius: 20px;
  padding: 10px 26px;
  font-size: 15px;
  margin-bottom: 30px;
}
.contact-info h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 600; line-height: 1.2; margin-bottom: 20px; }
.contact-info h2 .accent { color: var(--teal); }
.contact-info > p { font-size: 16px; color: var(--text-muted); max-width: 400px; margin-bottom: 40px; }

.contact-points { display: grid; gap: 26px; }
.contact-point { display: flex; align-items: center; gap: 18px; }
.contact-point .icon-circle { width: 60px; height: 60px; background: rgba(20, 184, 166, 0.14); }
.contact-point strong { font-size: 17px; font-weight: 500; display: block; }
.contact-point small { font-size: 13px; color: var(--text-muted); }

.contact-form-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 30px;
  margin: 48px 48px 48px 0;
  padding: 40px 44px;
}
.contact-form-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 30px; display: flex; align-items: center; gap: 10px; }
.contact-form-card h3::before {
  content: "";
  width: 16px; height: 16px;
  background:
    linear-gradient(to bottom right, transparent 46%, var(--blue) 46%, var(--blue) 54%, transparent 54%) left / 7px 100% no-repeat,
    linear-gradient(to bottom right, transparent 46%, var(--blue) 46%, var(--blue) 54%, transparent 54%) right / 7px 100% no-repeat;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label { font-size: 17px; font-weight: 500; display: block; margin-bottom: 10px; }
.form-group label .req { color: rgba(230, 24, 24, 0.8); margin-left: 4px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--dark);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  padding: 16px 18px;
  outline: none;
  transition: border-color .2s ease;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--teal); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(0, 0, 0, 0.5); }

.phone-row { display: grid; grid-template-columns: 96px 1fr; gap: 14px; }

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 19px;
  border-radius: 20px;
  padding: 18px;
  margin-top: 10px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { padding: 0 0 60px; }
.footer-card {
  background: var(--bg);
  border-radius: 40px;
  box-shadow: var(--shadow-card);
  padding: 60px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 48px;
}
.footer-brand .brand-name { font-size: 40px; display: block; line-height: 1.05; }
.footer-brand .brand-name span { display: block; }
.footer-tagline { font-size: 15px; color: var(--text-muted); margin: 20px 0 28px; max-width: 300px; }
.footer-mini-cta {
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 320px;
}
.footer-mini-cta .icon-circle { width: 58px; height: 58px; background: var(--teal-soft); }
.footer-mini-cta .icon-circle img { width: 32px; height: 32px; }
.footer-mini-cta strong { font-size: 14px; font-weight: 500; display: block; line-height: 1.35; }
.footer-mini-cta a { font-size: 13px; }

.footer-col > .icon-circle { width: 74px; height: 74px; background: var(--teal-soft); margin-bottom: 14px; }
.footer-col h4 { font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.footer-col .mini-rule { width: 60px; height: 4px; background: var(--grad); border: none; margin-bottom: 22px; }
.footer-col ul { list-style: none; display: grid; gap: 16px; }
.footer-col ul a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(0, 0, 0, 0.65);
  font-size: 17px;
  font-weight: 500;
}
.footer-col ul a:hover { color: var(--teal); }
.footer-col ul a svg { width: 22px; height: 22px; flex-shrink: 0; }

.footer-locations { display: grid; gap: 18px; align-content: start; }
.footer-location {
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-location .icon-circle { width: 46px; height: 46px; background: var(--teal-soft); }
.footer-location .icon-circle svg { width: 22px; height: 22px; }
.footer-location strong { font-size: 15px; font-weight: 500; display: block; }
.footer-location small { font-size: 11.5px; color: var(--text-muted); line-height: 1.4; display: block; }
.footer-location a { color: var(--text-muted); }
.footer-location a:hover { color: var(--teal); }

.footer-bottom {
  margin-top: 28px;
  background: var(--bg);
  border-radius: 40px;
  box-shadow: var(--shadow-card);
  padding: 26px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-bottom.dark { background: var(--dark); }
.footer-bottom.dark p { color: #fff; }
.footer-bottom p { font-size: 15px; color: var(--text-muted); }
.footer-social { display: flex; gap: 14px; margin-left: auto; }
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social img { width: 20px; height: 20px; }
.back-to-top {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, #4A6CF7 0%, #63E6DB 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.back-to-top svg { width: 24px; height: 24px; }

/* ==========================================================================
   BLOG INDEX
   ========================================================================== */
.blog-hero { position: relative; overflow: hidden; }
.blog-hero-bg {
  position: absolute;
  inset: 0;
  background: url('img/house-solar.png') center / cover no-repeat;
}
.blog-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.88) 0%, rgba(248, 250, 252, 0.55) 55%, var(--bg) 100%);
}
.blog-hero-inner { position: relative; padding: 80px 0 60px; }
.blog-hero-top { display: flex; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.blog-hero h1 { font-size: clamp(44px, 6vw, 84px); font-weight: 600; line-height: 1.05; }
.blog-hero .heading-rule-top { width: 80px; height: 8px; background: var(--teal); border: none; margin-bottom: 18px; }
.blog-hero .heading-rule-bottom { width: 95px; height: 3px; background: var(--dark); border: none; margin: 22px 0 26px; }
.blog-hero-sub { font-size: 20px; color: var(--text-muted); max-width: 520px; }

.blog-stats {
  margin-left: auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 25px;
  box-shadow: var(--shadow-card);
  padding: 30px 40px;
  display: flex;
  gap: 44px;
}
.blog-stat { text-align: center; position: relative; }
.blog-stat + .blog-stat::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 10%;
  height: 80%;
  width: 1.5px;
  background: rgba(0, 0, 0, 0.3);
}
.blog-stat .icon-circle { width: 62px; height: 62px; background: rgba(20, 184, 166, 0.11); margin: 0 auto 14px; }
.blog-stat strong { font-size: 26px; font-weight: 600; color: var(--dark); display: block; line-height: 1; }
.blog-stat small { font-size: 12px; color: var(--text-muted); display: block; margin-top: 6px; padding-bottom: 8px; border-bottom: 1px solid rgba(15,23,42,0.4); }

.blog-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 50px 0 0;
}
.post-card {
  background: #fff;
  border-radius: 30px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease;
}
.post-card:hover { transform: translateY(-6px); }
.post-thumb { position: relative; }
.post-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-icon {
  position: absolute;
  left: 26px;
  bottom: -26px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--teal);
  border: 4px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-icon svg { width: 26px; height: 26px; }
.post-body { padding: 42px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.post-author { font-size: 14px; font-weight: 500; color: var(--dark); letter-spacing: .5px; }
.post-meta .sep { width: 1px; height: 16px; background: rgba(15, 23, 42, 0.5); }
.post-date { font-size: 11px; color: var(--teal); }
.post-body h3 { font-size: 20px; font-weight: 500; line-height: 1.35; margin-bottom: 20px; flex: 1; }
.post-body h3 a { color: var(--dark); }
.post-body h3 a:hover { color: var(--teal); }
.read-more { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: var(--teal); }
.read-more:hover { gap: 16px; color: var(--teal); }
.read-more { transition: gap .2s ease; }

.blog-actions { text-align: center; padding: 60px 0 20px; }

.pagination { display: flex; justify-content: center; gap: 14px; padding: 30px 0 90px; flex-wrap: wrap; }
.pagination a {
  min-width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  padding: 0 18px;
}
.pagination a:hover { border-color: var(--teal); color: var(--teal); }
.pagination a.current { background: #63d9c7; border-color: transparent; color: #fff; }
.pagination .next { gap: 10px; color: var(--teal); }

/* ==========================================================================
   SINGLE POST
   ========================================================================== */
.single-hero { padding: 60px 0 0; }
.single-hero .back-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 30px; }
.single-cat {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 8px 20px;
  margin-bottom: 22px;
}
.single-hero h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  max-width: 900px;
  margin-bottom: 26px;
}
.single-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 44px; flex-wrap: wrap; }
.single-meta img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.single-meta strong { font-size: 16px; font-weight: 500; display: block; }
.single-meta small { font-size: 13px; color: var(--teal); }
.single-meta .reading-time { margin-left: auto; font-size: 14px; color: var(--text-muted); }

.single-feature { border-radius: 35px; width: 100%; max-height: 560px; object-fit: cover; box-shadow: var(--shadow-card); }

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 60px;
  padding: 70px 0 60px;
}

.post-content { font-size: 17px; color: rgba(15, 23, 42, 0.85); }
.post-content > * + * { margin-top: 24px; }
.post-content h2 { font-size: 30px; font-weight: 600; color: var(--dark); margin-top: 48px; }
.post-content h3 { font-size: 23px; font-weight: 500; color: var(--dark); margin-top: 40px; }
.post-content p { text-wrap: pretty; }
.post-content ul { padding-left: 24px; display: grid; gap: 10px; }
.post-content blockquote {
  border-left: 4px solid var(--teal);
  background: #fff;
  border-radius: 0 20px 20px 0;
  padding: 26px 32px;
  font-size: 19px;
  font-weight: 400;
  color: var(--dark);
}
.post-content figure img { border-radius: 25px; }
.post-content figcaption { font-size: 13px; color: var(--text-muted); margin-top: 10px; }

.post-tags { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 44px; }
.post-tags a {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 14px;
  color: var(--text-muted);
}
.post-tags a:hover { border-color: var(--teal); color: var(--teal); }

.author-box {
  margin-top: 50px;
  background: #fff;
  border-radius: 30px;
  padding: 34px;
  display: flex;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-card);
}
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box strong { font-size: 19px; font-weight: 500; display: block; margin-bottom: 6px; }
.author-box p { font-size: 14.5px; color: var(--text-muted); }

/* Sidebar */
.sidebar { display: grid; gap: 34px; align-content: start; }
.widget { background: #fff; border-radius: 30px; padding: 32px; box-shadow: var(--shadow-card); }
.widget h4 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.widget .mini-rule { width: 50px; height: 3px; background: var(--teal); border: none; margin-bottom: 22px; }
.widget-posts { display: grid; gap: 20px; }
.widget-post { display: flex; gap: 16px; align-items: center; }
.widget-post img { width: 74px; height: 74px; border-radius: 16px; object-fit: cover; flex-shrink: 0; }
.widget-post a { font-size: 15px; font-weight: 500; color: var(--dark); line-height: 1.4; display: block; }
.widget-post a:hover { color: var(--teal); }
.widget-post small { font-size: 12px; color: var(--teal); }
.widget-cats { list-style: none; display: grid; gap: 14px; }
.widget-cats a { display: flex; justify-content: space-between; color: rgba(0, 0, 0, 0.65); font-size: 16px; }
.widget-cats a:hover { color: var(--teal); }
.widget-cta { background: var(--grad); color: #fff; text-align: center; }
.widget-cta h4 { color: #fff; font-size: 24px; }
.widget-cta p { font-size: 15px; opacity: .9; margin-bottom: 24px; }
.widget-cta .btn { background: #fff; color: var(--blue); font-weight: 500; }
.widget-cta .btn:hover { color: var(--blue); }

.related { padding: 30px 0 100px; }
.related h2 { font-size: 34px; font-weight: 600; margin-bottom: 40px; }

/* ==========================================================================
   HEADER DROPDOWN  ("More" menu)
   ========================================================================== */
.nav-item { position: relative; display: inline-flex; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  padding: 12px 0;
  min-width: 220px;
  display: none;
  z-index: 150;
}
.nav-item.align-right .dropdown-menu,
.main-nav .nav-item:last-child .dropdown-menu { left: auto; right: -10px; }
.nav-item:hover .dropdown-menu,
.nav-item.open .dropdown-menu { display: block; }
.nav-item::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 18px; }
.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  padding: 9px 22px;
  color: var(--teal);
  font-size: 15px;
  white-space: nowrap;
}
.dropdown-menu .nd-scope a:hover, .site-header a:hover, .site-footer a:hover, .side-menu a:hover { color: var(--blue); }
.dropdown-menu .caret { font-size: 11px; opacity: .7; }
.has-sub { position: relative; }
.dropdown-sub {
  position: absolute;
  left: 100%;
  top: -12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  padding: 12px 0;
  min-width: 220px;
  display: none;
}
.has-sub:hover > .dropdown-sub { display: block; }
.nav-item.align-right .dropdown-sub,
.main-nav .nav-item:last-child .dropdown-sub { left: auto; right: 100%; }

/* ==========================================================================
   MOBILE SIDE MENU (drawer)
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 200;
}
.drawer-overlay.show { opacity: 1; pointer-events: auto; }

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(330px, 86vw);
  background: #0F172A;
  color: #fff;
  z-index: 201;
  transform: translateX(105%);
  transition: transform .32s ease;
  padding: 26px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
}
.side-menu.open { transform: none; }
/* Drawer children must NOT shrink: an expanded tree has to overflow the drawer
   (overflow-y auto → it scrolls). Default flex shrink compressed + clipped the
   tree instead, leaving expanded submenus unreachable with no scroll at all. */
.side-menu > * { flex-shrink: 0; }
.side-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.side-menu-head .brand-name { font-size: 24px; }
.side-menu-head .brand-name b { color: #fff; }
.side-menu-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.side-menu-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 20px 0 12px;
  padding: 0;
}
.side-menu-label .chev { font-size: 14px; transition: transform .25s ease; }
.side-menu-label.collapsed .chev { transform: rotate(-90deg); }
/* Collapse animation: nd.js pins a measured max-height per toggle (no fixed
   ceiling — admin-driven menus can be any size and must never get clipped). */
.side-menu-nav { display: grid; gap: 12px; overflow: hidden; transition: max-height .3s ease; }
.side-menu-nav.collapsed { max-height: 0; }
.side-menu-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 16px;
}
.side-menu-nav a svg { width: 20px; height: 20px; flex-shrink: 0; }
.side-menu-nav a.active { background: var(--teal); border-color: transparent; }
.side-menu-nav a:hover { color: #fff; border-color: var(--teal); }
.side-menu-cta { margin-top: 32px; justify-content: center; }

/* Nested collapsible tree inside the side menu (mirrors the prod menu).
   A childless top-level item renders as a bare anchor directly in the tree —
   give it the same row treatment as .sm-row so icons + hit area match. */
.side-menu-tree > a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 16px;
}

.side-menu-tree { display: grid; gap: 12px; overflow: hidden; transition: max-height .3s ease; }
.side-menu-tree.collapsed { max-height: 0; }
.sm-row { display: flex; align-items: stretch; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 14px; }
.sm-row a {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  padding: 14px 18px;
  font-size: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.sm-row a svg { width: 20px; height: 20px; flex-shrink: 0; }
.sm-toggle {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 16px;
  font-size: 14px;
  cursor: pointer;
  transition: transform .25s ease;
}
.sm-item.open > .sm-row .sm-toggle { transform: rotate(180deg); color: var(--teal); }
.sm-sub { display: none; }
.sm-item.open > .sm-sub {
  display: grid;
  gap: 6px;
  margin: 10px 0 4px 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.sm-sub a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.85);
  padding: 9px 12px;
  font-size: 15px;
  border-radius: 10px;
}
.sm-sub a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.sm-sub .sm-row { border: none; }
.sm-sub .sm-row a { padding: 9px 12px; font-size: 15px; color: rgba(255, 255, 255, 0.85); border-right: none; }

/* --------------------------------------------------------------------------
   Menu icons — 100% editable from wp-admin: add a class below (e.g.
   `nav-icon--bolt`) to a menu item's "CSS Classes" field (Appearance → Menus,
   enable the field under Screen Options). The class reaches the item's <a> and
   paints a currentColor icon via mask. Adding an icon = one --nav-icon line.
   -------------------------------------------------------------------------- */
.side-menu a[class*="nav-icon--"]::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background-color: currentcolor;
  -webkit-mask: var(--nav-icon) center / contain no-repeat;
          mask: var(--nav-icon) center / contain no-repeat;
}
.nav-icon--bolt { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E"); }
.nav-icon--sun { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cline x1='12' y1='1' x2='12' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='23'/%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'/%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'/%3E%3Cline x1='1' y1='12' x2='3' y2='12'/%3E%3Cline x1='21' y1='12' x2='23' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'/%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'/%3E%3C/svg%3E"); }
.nav-icon--hvac { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 16.9A5 5 0 0 0 18 7h-1.26a8 8 0 1 0-11.62 9'/%3E%3Cpolyline points='13 11 9 17 15 17 11 23'/%3E%3C/svg%3E"); }
.nav-icon--layers { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E"); }
.nav-icon--grid { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E"); }
.nav-icon--phone { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.nav-icon--mail { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E"); }

/* Newsletter widget + comments (single post) */
.widget-newsletter p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 18px; }
.widget-newsletter .btn { width: 100%; justify-content: center; }
.comments {
  margin-top: 50px;
  background: #fff;
  border-radius: 30px;
  padding: 38px 34px;
  box-shadow: var(--shadow-card);
}
.comments h2 { font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.comments > p { font-size: 14px; color: var(--text-muted); margin-bottom: 26px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }
.form-check input { margin-top: 4px; accent-color: var(--teal); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; padding: 40px 24px 60px; }
  .hero-visual img.hero-photo { border-radius: 40px; min-height: 380px; }
  .about-grid, .why-grid { grid-template-columns: 1fr; }
  .why-visual > img { min-height: 420px; }
  .why-float { left: 20px; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .feature-strip-inner { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-form-card { margin: 0 32px 40px; }
  .contact-info { padding: 50px 32px 30px; }
  .footer-card { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .single-layout { grid-template-columns: 1fr; }
}

@media (max-width: 1050px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; color: var(--teal); }
}

@media (max-width: 720px) {
  .container { padding: 0 12px; }
  .header-inner { padding: 14px 12px; }
  .hero-inner { padding: 32px 12px 48px; }
  .header-cta { display: none; }
  .feature-strip-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-card { grid-template-columns: 1fr; padding: 44px 30px; }
  .footer-bottom { flex-wrap: wrap; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-stats { margin-left: 0; }
  .about-stats { gap: 40px; }
  .author-box { flex-direction: column; text-align: center; }
}

/* ════════════════════════════════════════════════════════════════════
   WordPress integration fixes (appended for the theme build)
   ════════════════════════════════════════════════════════════════════ */
/* keep the sticky header below the WP admin bar when logged in */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
/* drawer above every Divi layer */
.side-menu { z-index: 100000; }
.drawer-overlay { z-index: 99999; }
/* legacy pages: the old floating-nav clearance is not needed under the new
   sticky header — normalize the first section's breathing room */
html body.edge-native #et-main-area > .et_pb_section:first-child { padding-top: 38px !important; }
/* scoped link color must not repaint buttons (scoped `a` rule outranks .btn) */
.site-header a.btn, .site-footer a.btn, .side-menu a.btn, .nd-scope a.btn,
.site-header .btn, .side-menu .btn { color: #fff; }
/* ...except the sidebar CTA card, whose button is white with blue text */
.nd-scope .widget-cta a.btn { background: #fff; color: var(--blue); }
.nd-scope .widget-cta a.btn:hover { color: var(--blue); }
/* entity glyphs (carets/chevrons/close) can miss in some font stacks — pin a safe stack */
.caret, .chev, .sm-toggle, .side-menu-close, .nav-toggle, .btn .arrow, .read-more span, .back-link {
  font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', 'DejaVu Sans', Arial, sans-serif;
}

/* ════════════════════════════════════════════════════════════════════
   Divi-wrapper glue: the homepage design sections are emitted as native
   Divi blocks (et_pb_section/row/column/module). Map the design layout
   onto those wrappers. Non-!important where possible (VB edits win).
   ════════════════════════════════════════════════════════════════════ */
.et_pb_section.nd-scope { background: transparent; }
.nd-scope .et_pb_row { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.nd-scope .et_pb_column { float: none; margin-right: 0; }
.nd-scope .et_pb_module { margin-bottom: 0; }
.nd-scope .et_pb_text_inner { line-height: inherit; }
/* rows that are flex layouts in the design */
.nd-scope .et_pb_row.hero-inner, .nd-scope .et_pb_row.about-grid,
.nd-scope .et_pb_row.why-grid, .nd-scope .et_pb_row.contact-wrap,
.nd-scope .et_pb_row.testimonial-grid { display: flex; }
.nd-scope .et_pb_row.testimonial-grid { gap: 28px; align-items: stretch; }
.nd-scope .et_pb_row.testimonial-grid .et_pb_column { flex: 1 1 0; }
.nd-scope .testimonial-card { height: 100%; }
/* section paddings (design gives .hero none; hero-inner carries it) */
.et_pb_section.hero { padding: 0; }
.et_pb_section.about, .et_pb_section.feature-strip, .et_pb_section.why,
.et_pb_section.testimonials, .et_pb_section.contact { padding-left: 0; padding-right: 0; }
/* photos: class lands on the module wrapper; style the img inside */
.et_pb_image.hero-photo { width: 100%; }
.hero-visual .et_pb_image.hero-photo img {
  width: 100%; height: 520px; object-fit: cover;
  border-radius: 42px 260px 42px 42px;
  box-shadow: var(--shadow-card);
}
.about-visual .et_pb_image img { border-radius: 30px; width: 100%; }
.why-visual .et_pb_image img { border-radius: 30px; width: 100%; height: 640px; object-fit: cover; }
/* float cards live inside text-module wrappers — keep those wrappers static */
.hero-float-wrap, .about-card-wrap, .why-float-wrap { position: static; }
/* decorative contact background (markup div replaced by a pseudo-element) */
.nd-scope .et_pb_row.contact-wrap { position: relative; }
.nd-scope .et_pb_row.contact-wrap::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-card);
  background: url('img/house-solar.png') center / cover no-repeat; opacity: .999; z-index: 0;
}
.nd-scope .et_pb_row.contact-wrap::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-card);
  background: linear-gradient(90deg, rgba(15,23,42,.55), rgba(15,23,42,.15)); z-index: 0;
}
.nd-scope .contact-info, .nd-scope .contact-form-col { position: relative; z-index: 1; }
/* the HubSpot form inside the design card */
.contact-form-card { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 38px; }
.contact-form-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 18px; }
.contact-form-card .hs-form-frame iframe { width: 100% !important; }

/* testimonials head is centered in the design; Divi text modules don't inherit it */
.et_pb_section.testimonials .testimonials-head .et_pb_text { text-align: center; }

/* glyph-carrying atoms (stars, chips, arrows) — same safe stack as the nav carets */
.stars, .contact-chip, .footer-mini-cta a {
  font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', 'DejaVu Sans', Arial, sans-serif;
}

/* Mobile glue: the design's responsive rules reset grid-template-columns, but
   these Divi rows are flex — stack them explicitly at the design breakpoint. */
@media (max-width: 1100px) {
  .nd-scope .et_pb_row.hero-inner, .nd-scope .et_pb_row.about-grid,
  .nd-scope .et_pb_row.why-grid, .nd-scope .et_pb_row.contact-wrap,
  .nd-scope .et_pb_row.testimonial-grid { flex-direction: column; gap: 36px; }
  .nd-scope .et_pb_row > .et_pb_column { width: 100%; max-width: 100%; flex: none; }
  .hero-visual .et_pb_image.hero-photo img { height: 380px; border-radius: 40px; }
  .why-visual .et_pb_image img { height: 420px; }
  /* the about card hangs 30px below its photo — reserve room once stacked */
  .nd-scope .et_pb_column.about-visual { margin-bottom: 34px; }
}
@media (max-width: 640px) {
  .why-cards { grid-template-columns: 1fr; }
}
