/*
Theme Name: GreenFlow Child
Theme URI: https://greenflowhvac.com
Description: GreenFlow Heating & Cooling — Astra child theme matching Wix brand
Author: GreenFlow
Template: astra
Version: 2.8.4
Text Domain: greenflow-child
*/

/* ============================================
   BRAND TOKENS (from Wix site)
   ============================================ */
:root {
  --gf-green: #266B2D;
  --gf-green-light: #7BBD81;
  --gf-green-dark: #1a4e21;
  --gf-blue: #086994;
  --gf-blue-bright: #116dff;
  --gf-dark: #4D4949;
  --gf-gray: #5f6360;
  --gf-light: #FAFAFA;
  --gf-white: #FFFFFF;
  --gf-accent-gold: #E2C07D;
  
  --gf-font-heading: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --gf-font-body: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --gf-font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================
   TOP INFO BAR (green: "Free Same-Day Estimates | 24/7...")
   ============================================ */
.gf-topbar {
  background: var(--gf-green);
  color: var(--gf-white);
  font-family: var(--gf-font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 24px;
  text-align: left;
}
.gf-topbar a { color: var(--gf-white); text-decoration: none; }
.gf-topbar .gf-topbar-phone {
  margin-left: 20px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
@media (max-width: 768px) {
  .gf-topbar { font-size: 13px; padding: 8px 14px; text-align: center; }
  .gf-topbar .gf-topbar-phone { display: block; margin: 4px 0 0 0; font-size: 15px; }
}

/* ============================================
   HEADER (logo + reviews + CTA)
   ============================================ */
.site-header,
.ast-primary-header-bar {
  background: var(--gf-white) !important;
  border-bottom: 0 !important;
  padding: 10px 0 !important;
}
.ast-site-identity { padding: 5px 0; }

/* Google reviews chip */
.gf-reviews-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  font-family: var(--gf-font-body);
  font-size: 14px;
}
.gf-reviews-chip .stars { color: #FBBC05; letter-spacing: 2px; }
.gf-reviews-chip .rating { font-weight: 700; }

/* Schedule Now header button */
.ast-builder-menu .menu-item.gf-cta > a,
.gf-schedule-btn {
  background: var(--gf-blue) !important;
  color: var(--gf-white) !important;
  padding: 14px 28px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: background 0.2s;
}
.gf-schedule-btn:hover { background: var(--gf-green) !important; }

/* ============================================
   PRIMARY NAV (dark gray bar)
   ============================================ */
.ast-secondary-header-bar,
.gf-nav-bar {
  background: var(--gf-dark) !important;
}
.ast-secondary-header-bar .menu-item > a,
.gf-nav-bar a {
  color: var(--gf-white) !important;
  font-family: var(--gf-font-heading) !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  letter-spacing: 0.3px !important;
  padding: 20px 24px !important;
  text-transform: none !important;
}
.ast-secondary-header-bar .menu-item.current-menu-item > a,
.ast-secondary-header-bar .menu-item > a:hover {
  color: var(--gf-blue-bright) !important;
}
.gf-nav-social {
  display: inline-flex;
  gap: 12px;
  padding: 0 24px;
  align-items: center;
}
.gf-nav-social a {
  color: var(--gf-white);
  font-size: 20px;
  transition: opacity 0.2s;
}
.gf-nav-social a:hover { opacity: 0.7; }

/* ============================================
   HERO (large image with overlay text) - LEGACY
   ============================================ */
.gf-hero {
  position: relative;
  min-height: 620px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--gf-white);
}
.gf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%);
}
.gf-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
  width: 100%;
}
.gf-hero-eyebrow {
  font-family: var(--gf-font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--gf-white);
}
.gf-hero-title {
  font-family: var(--gf-font-heading);
  font-size: 80px;
  font-weight: 300;
  line-height: 1.1;
  margin: 10px 0;
  color: var(--gf-white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.gf-hero-subtitle {
  font-family: var(--gf-font-heading);
  font-size: 24px;
  font-weight: 400;
  margin: 15px 0 25px;
  color: var(--gf-white);
}
.gf-hero-cta {
  display: inline-block;
  background: var(--gf-green);
  color: var(--gf-white);
  padding: 20px 50px;
  font-family: var(--gf-font-heading);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}
.gf-hero-cta:hover { background: var(--gf-green-dark); color: var(--gf-white); }
.gf-hero-phone {
  color: var(--gf-white);
  margin-top: 15px;
  font-size: 16px;
}
.gf-hero-phone a { color: var(--gf-white); text-decoration: underline; }

/* ============================================
   TRUST BAR (blue "5.0★ | Trusted by...")
   ============================================ */
.gf-trust-bar {
  background: var(--gf-blue);
  color: var(--gf-white);
  padding: 15px 20px;
  text-align: center;
  font-family: var(--gf-font-heading);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.gf-trust-bar strong { font-weight: 700; }

/* ============================================
   SECTION HEADINGS (green H2 uppercase)
   ============================================ */
.entry-content h2 {
  color: var(--gf-green) !important;
  font-family: var(--gf-font-heading) !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin: 40px 0 20px !important;
  text-align: center;
}
.entry-content h3 {
  color: var(--gf-dark) !important;
  font-family: var(--gf-font-heading) !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  margin: 30px 0 15px !important;
}
.entry-content h4 {
  color: var(--gf-blue) !important;
  font-family: var(--gf-font-heading) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  margin: 25px 0 12px !important;
}

/* Page title (H1) */
.ast-single-post-header h1,
.entry-title {
  color: var(--gf-dark) !important;
  font-family: var(--gf-font-heading) !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  margin-bottom: 20px !important;
}

/* ============================================
   BODY TEXT
   ============================================ */
body,
.entry-content p,
.entry-content li {
  font-family: var(--gf-font-body) !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
  color: #333 !important;
}

.entry-content a {
  color: var(--gf-blue-bright);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(17,109,255,0.3);
  text-underline-offset: 3px;
}
.entry-content a:hover {
  color: var(--gf-green);
  text-decoration-color: var(--gf-green);
}

/* Phone links */
a[href^="tel:"] {
  color: inherit;
  font-weight: 700;
  white-space: nowrap;
}

/* ============================================
   BUTTONS (Elementor + generic)
   ============================================ */
.wp-block-button__link,
.gf-btn,
input[type="submit"],
button.wp-block-search__button {
  background-color: var(--gf-green) !important;
  color: var(--gf-white) !important;
  border: 0 !important;
  border-radius: 4px !important;
  padding: 16px 36px !important;
  font-family: var(--gf-font-heading) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer;
  transition: background 0.2s;
}
.wp-block-button__link:hover,
.gf-btn:hover { background-color: var(--gf-green-dark) !important; }
.gf-btn-blue { background-color: var(--gf-blue) !important; }
.gf-btn-blue:hover { background-color: var(--gf-blue-bright) !important; }

/* ============================================
   3-COLUMN SERVICE CARDS (Heating/Cooling/IAQ)
   ============================================ */
.gf-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}
.gf-service-card {
  text-align: center;
  padding: 30px 20px;
}
.gf-service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 25px;
}
.gf-service-card h3 {
  color: var(--gf-green) !important;
  text-transform: uppercase !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  margin-bottom: 15px !important;
}
.gf-service-card p {
  color: var(--gf-gray) !important;
  font-size: 16px;
  line-height: 1.6;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.gf-faq { margin: 40px 0; }
.gf-faq details {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}
.gf-faq details summary {
  font-family: var(--gf-font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--gf-dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.gf-faq details summary::-webkit-details-marker { display: none; }
.gf-faq details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 28px;
  color: var(--gf-green);
  font-weight: 300;
}
.gf-faq details[open] summary::after { content: "−"; }
.gf-faq details p {
  margin-top: 15px;
  color: var(--gf-gray);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer,
.ast-footer-overlay {
  background: var(--gf-dark) !important;
  color: var(--gf-white) !important;
}
.site-footer a { color: var(--gf-green-light) !important; }
.site-footer h3,
.site-footer h4 {
  color: var(--gf-white) !important;
  text-transform: uppercase;
  font-family: var(--gf-font-heading);
}
.ast-small-footer {
  background: #1c1a1a !important;
  color: #bbb !important;
  border-top: 0;
}

/* Sticky mobile CTA (click-to-call) */
.gf-sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gf-green);
  color: var(--gf-white);
  padding: 15px;
  text-align: center;
  font-family: var(--gf-font-heading);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
}
.gf-sticky-mobile-cta:hover { background: var(--gf-green-dark); color: var(--gf-white); }

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 768px) {
  .gf-hero-title { font-size: 44px !important; }
  .gf-hero-subtitle { font-size: 18px !important; }
  .gf-hero-inner { padding: 60px 20px; }
  .gf-services-grid { grid-template-columns: 1fr; }
  .entry-content h2 { font-size: 28px !important; }
  .entry-title { font-size: 32px !important; }
  .gf-sticky-mobile-cta { display: block; }
  body { padding-bottom: 60px; }
  .gf-topbar { text-align: center; }
  .gf-topbar .gf-topbar-phone { display: block; margin: 5px 0 0; }
}

/* ============================================
   HOMEPAGE POLISH — hide default page title AND redundant site title (logo shows brand)
   ============================================ */
/* Hide default WP entry header and featured image on ALL pages - we design our own hero */
.page .entry-header,
.page .ast-page-header-title,
.page h1.entry-title,
.page .ast-single-post-featured-section,
.page .post-thumb,
.page .ast-article-image-container,
.single-page .entry-header,
.home .entry-header,
.page-id-101 .entry-header,
.page-id-101 .ast-page-header-title,
.home .ast-page-header-title,
.page-id-101 h1.entry-title,
.home h1.entry-title,
body.home h1.entry-title,
body.page-id-101 h1.entry-title {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Reset article/entry-content top margin so our hero sits flush against nav */
.page article.ast-article-single,
.page .entry-content,
.page #main,
.page #primary,
.page .content-area,
.home #primary,
.home .content-area {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Force full-width content on all pages: remove Astra's sidebar column and center everything */
.page #primary,
.page .content-area,
.ast-plain-container #primary,
.ast-plain-container .content-area {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Kill the right-side empty gutter Astra reserves for sidebar */
.ast-no-sidebar #primary,
.no-sidebar #primary { padding-right: 0 !important; margin-right: 0 !important; }

/* Ensure body doesn't have overflow-x hidden that would clip our negative-margin full-width sections */
html, body { overflow-x: hidden; }
.page #content > .ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.page #secondary,
.page .widget-area {
  display: none !important;
}
/* Center inline text content inside entry-content up to a nice max-width, but let full-width sections escape */
/* Center inline text/list/heading content inside entry-content up to a nice readable max-width,
   but let elements with our full-width helper classes escape the wrapper */
.page .entry-content {
  max-width: 100% !important;
  margin: 0 !important;
}
.page .entry-content > *:not(.gfx-hero):not(.gf-hero):not(.gf-page-hero-cta):not(.gf-section):not(.gf-cta-bar):not(.gf-financing):not(.gf-honoring):not(.gf-testimonial-grid):not(.gf-service-grid):not(.gf-why-grid):not(.gf-btn-row):not(.gf-systems-grid):not(.gf-feature-row):not(.gf-emergency-list):not(.gf-pricing-table):not(.gf-area-grid):not(.gf-didyouknow) {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
  display: block !important;
}
.page .entry-content > .gfx-hero,
.page .entry-content > .gf-hero,
.page .entry-content > .gf-page-hero-cta,
.page .entry-content > .gf-section,
.page .entry-content > .gf-cta-bar,
.page .entry-content > .gf-financing,
.page .entry-content > .gf-honoring,
.page .entry-content > .gf-testimonial-grid,
.page .entry-content > .gf-service-grid,
.page .entry-content > .gf-why-grid,
.page .entry-content > .gf-btn-row,
.page .entry-content > .gf-systems-grid,
.page .entry-content > .gf-feature-row,
.page .entry-content > .gf-emergency-list,
.page .entry-content > .gf-pricing-table,
.page .entry-content > .gf-area-grid,
.page .entry-content > .gf-didyouknow {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Logo sizing - BIGGER for brand presence, but capped so nav has room */
html body img.custom-logo,
html body .custom-logo-link img,
html body .site-logo-img img,
html body .wp-custom-logo .site-logo-img img,
html body .ast-site-identity .site-logo-img img {
  max-height: 110px !important;
  height: auto !important;
  width: auto !important;
  max-width: 300px !important;
  min-width: 0 !important;
  object-fit: contain !important;
}
/* Force primary nav items onto a single line - no character wrapping */
html body .main-header-menu .menu-item,
html body .main-header-menu > li,
html body #ast-desktop-header .main-header-menu > li > a,
html body .main-header-menu > li > a {
  white-space: nowrap !important;
}
/* Slightly smaller nav font so all 11 items fit comfortably next to the bigger logo */
html body #ast-desktop-header .main-header-menu > li > a,
html body .main-header-menu > li > a {
  font-size: 15px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}
/* Tighten header vertical padding to eliminate white space around logo */
#masthead .ast-container,
.site-primary-header-wrap,
html body .main-header-bar,
html body .ast-primary-header-bar {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}
html body .ast-site-identity,
html body .site-branding {
  padding: 0 !important;
  margin: 0 !important;
}
html body .custom-logo-link {
  padding: 2px 0 !important;
  margin: 0 !important;
  display: inline-block !important;
  line-height: 0 !important;
}
@media (max-width: 640px) {
  html body img.custom-logo,
  html body .custom-logo-link img,
  html body .site-logo-img img {
    max-height: 74px !important;
    max-width: 240px !important;
  }
}

/* FAQ block */
.gf-faq-section { padding: 60px 24px; background: #f9fbf9; }
.gf-faq-block { max-width: 900px; margin: 0 auto; }
.gf-faq-section .gf-section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: var(--gf-green-dark, #1b4a20);
  margin: 0 0 32px 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.gf-faq-list { display: flex; flex-direction: column; gap: 12px; }
.gf-faq-item {
  background: #fff;
  border: 1px solid #e0e6df;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.gf-faq-item[open] {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: var(--gf-green, #266B2D);
}
.gf-faq-item summary {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: #222;
  list-style: none;
  position: relative;
  padding-right: 60px;
  line-height: 1.4;
}
.gf-faq-item summary::-webkit-details-marker { display: none; }
.gf-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gf-green, #266B2D);
  transition: transform 0.2s;
}
.gf-faq-item[open] summary::after {
  content: '−';
}
.gf-faq-item summary:hover { color: var(--gf-green, #266B2D); }
.gf-faq-answer {
  padding: 0 24px 20px 24px;
  color: #444;
  line-height: 1.65;
  font-size: 1rem;
}
@media (max-width: 640px) {
  .gf-faq-section { padding: 40px 16px; }
  .gf-faq-item summary { padding: 14px 18px; padding-right: 44px; font-size: 1rem; }
  .gf-faq-item summary::after { right: 18px; }
  .gf-faq-answer { padding: 0 18px 16px 18px; }

  /* Push Astra scroll-to-top button above the sticky call bar on mobile */
  #ast-scroll-top,
  .ast-scroll-top-icon,
  a#ast-scroll-top {
    bottom: 80px !important;
  }
}

/* Hide the redundant text site title next to the logo — logo has the brand */
.wp-custom-logo .site-title,
.wp-custom-logo .site-description,
.ast-site-title-wrap .site-title,
.ast-site-title-wrap .site-description {
  display: none !important;
}

.home .site-content > .container > .site-main > article,
.home .content-area,
.home .site-main {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

.home .entry-content {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

/* Also strip container width for full-bleed hero on home */
.home .ast-container,
.home #primary,
.home .single-content-inner,
.home .entry-content > * {
  max-width: none !important;
  padding: 0 !important;
}

/* Top bar formatting */
.gf-topbar {
  background: #266B2D;
  color: #fff;
  padding: 8px 24px;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
}
.gf-topbar-phone {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 700;
}
.gf-topbar-phone:hover { color: #7BBD81; }

/* Sticky mobile CTA (functions.php injects the element) */
.gf-sticky-mobile-cta {
  display: none;
}
@media (max-width: 768px) {
  .gf-sticky-mobile-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #266B2D;
    color: #fff;
    padding: 16px;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
  }
  body { padding-bottom: 60px !important; }
  .gf-hero h1 { font-size: 36px !important; }
  .gf-hero { padding: 60px 20px !important; min-height: auto !important; }
}

/* ============================================
   HOMEPAGE DARK SECTIONS — force light text
   ============================================ */
.home .gf-dark-section,
.home .gf-dark-section h1,
.home .gf-dark-section h2,
.home .gf-dark-section h3,
.home .gf-dark-section h4,
.home .gf-dark-section p,
.home .gf-dark-section a,
.home .gf-service-areas,
.home .gf-service-areas h1,
.home .gf-service-areas h2,
.home .gf-service-areas h3,
.home .gf-service-areas h4,
.home .gf-service-areas p,
.home .gf-service-areas .gf-kicker {
  color: #ffffff !important;
}
.home .gf-dark-section .gf-kicker { color: #ffffff !important; }
.home .gf-service-areas a[href="/service-area/"] { color: #1B6FB8 !important; }

/* Mobile QA polish */
@media (max-width: 768px) {
  .site-branding img.custom-logo,
  .site-branding .site-logo-img img { max-height: 74px !important; width: auto !important; height: auto !important; }
  .astra-scroll-top-icon, #ast-scroll-top, .ast-scroll-to-top { width: 46px !important; height: 46px !important; min-width: 46px !important; min-height: 46px !important; }
}

/* SEO H1 styling on service/city pages */
.entry-content h1.gf-page-h1 {
  font-size: 42px;
  font-weight: 800;
  color: #266B2D;
  line-height: 1.2;
  text-align: center;
  margin: 40px auto 30px;
  max-width: 1080px;
  padding: 0 24px;
  letter-spacing: -0.5px;
}
@media (max-width: 768px) {
  .entry-content h1.gf-page-h1 {
    font-size: 30px;
    margin: 24px auto 20px;
    padding: 0 16px;
  }
}
/* If page has hero + gf-page-h1, hide the SEO H1 visually but keep in DOM for SEO */
.entry-content .gf-page-hero-cta + h1.gf-page-h1,
.entry-content > h1.gf-page-h1:first-child {
  /* Show it if it's first in content, styled as page title */
}

.home .gf-cta-section,
.home .gf-cta-section h1,
.home .gf-cta-section h2,
.home .gf-cta-section h3,
.home .gf-cta-section p {
  color: #ffffff !important;
}
.home .gf-cta-section .gf-cta-button {
  background: #ffffff !important;
  color: #266B2D !important;
}

/* Also make sure homepage inline styles override Astra defaults */
.home .entry-content h1,
.home .entry-content h2,
.home .entry-content h3,
.home .entry-content h4 {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================
   HERO — force text colors over Astra defaults
   ============================================ */
.home .gf-hero p,
.home .gf-hero h1,
.home .gf-hero a { color: inherit; }
.home .gf-hero .gf-hero-inner h1 { color: #ffffff !important; }
.home .gf-hero .gf-hero-inner p.gf-eyebrow { color: #8fd695 !important; }
.home .gf-hero .gf-hero-inner p.gf-subtitle { color: #ffffff !important; }
.home .gf-hero .gf-hero-inner p.gf-reviews { color: #ffffff !important; }
.home .gf-hero .gf-hero-inner p.gf-reviews strong { color: #ffffff !important; }

/* ===== HERO CTA BANNER for service/city pages ===== */
.gf-page-hero-cta {
    background: linear-gradient(135deg, #266B2D 0%, #1e5624 100%);
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 0 0 30px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
}
.gf-page-hero-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.gf-page-hero-cta-text,
.gf-page-hero-cta p,
.gf-page-hero-cta .gf-page-hero-cta-text {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}
.gf-page-hero-cta * { color: #fff !important; }
.gf-page-hero-cta a.call-btn { color: #266B2D !important; }
.gf-page-hero-cta a.schedule-btn { color: #fff !important; }
.gf-page-hero-cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.gf-page-hero-cta a.call-btn {
    background: #fff;
    color: #266B2D !important;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    border-radius: 6px;
    display: inline-block;
    transition: transform 0.15s ease;
}
.gf-page-hero-cta a.call-btn:hover { transform: translateY(-2px); }
.gf-page-hero-cta a.schedule-btn {
    background: #1976d2;
    color: #fff !important;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    border-radius: 6px;
    display: inline-block;
    transition: transform 0.15s ease;
}
.gf-page-hero-cta a.schedule-btn:hover { transform: translateY(-2px); background: #1565c0; }
@media (max-width: 640px) {
    .gf-page-hero-cta { padding: 20px 16px; }
    .gf-page-hero-cta-text { font-size: 16px; }
    .gf-page-hero-cta a.call-btn, .gf-page-hero-cta a.schedule-btn { padding: 12px 20px; font-size: 15px; width: 100%; text-align: center; }
}

/* ===== END HERO CTA ===== */

/* Improve service page content readability */
.page .entry-content h2 {
    color: #266B2D;
    font-size: 30px;
    font-weight: 800;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8e8e8;
}
.page .entry-content h3 {
    color: #4D4949;
    font-size: 22px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 14px;
}
.page .entry-content ul li,
.page .entry-content ol li {
    margin-bottom: 8px;
    line-height: 1.65;
}
.page .entry-content p {
    line-height: 1.75;
    font-size: 16.5px;
    color: #333;
    margin-bottom: 18px;
}
.page .entry-content a {
    color: #266B2D;
    font-weight: 600;
}
.page .entry-content a:hover {
    color: #1976d2;
}

/* Better section spacing */
.page.page-id-104 .entry-content,
.page.page-id-105 .entry-content,
.page.page-id-106 .entry-content,
.page.page-id-102 .entry-content,
.page.page-id-109 .entry-content,
.page.page-id-103 .entry-content,
.page.page-id-107 .entry-content,
.page.page-id-108 .entry-content,
.page.page-id-110 .entry-content,
.page.page-id-131 .entry-content,
.page.page-id-133 .entry-content,
.page.page-id-135 .entry-content,
.page.page-id-134 .entry-content,
.page.page-id-137 .entry-content,
.page.page-id-136 .entry-content {
    max-width: 100%;
    margin: 0;
    padding: 20px 24px 40px;
}

/* City page entry content */
.page[class*="hvac-services-"] .entry-content {
    max-width: 100%;
    margin: 0;
    padding: 20px 24px 40px;
}

/* ============================================
   GF DESIGN SYSTEM - REUSABLE COMPONENTS
   Added 2026-09 for site-wide consistency
   ============================================ */

/* Force all inline color styles on children to survive Astra !important overrides */
.gf-section[style*="color:#fff"], .gf-section[style*="color:#fff"] *:not(a) { color: inherit; }

/* Override Astra's aggressive .entry-content p{} on any element containing style color:#fff */
.entry-content div[style*="background:linear-gradient(135deg,#266B2D"] p,
.entry-content div[style*="background:linear-gradient(135deg,#266B2D"] h1,
.entry-content div[style*="background:linear-gradient(135deg,#266B2D"] div,
.entry-content div[style*="background:linear-gradient(135deg,#266B2D"] span,
.entry-content div[style*="background:linear-gradient(135deg,#086994"] p,
.entry-content div[style*="background:linear-gradient(135deg,#086994"] h1,
.entry-content div[style*="background:linear-gradient(135deg,#086994"] div,
.entry-content div[style*="background:linear-gradient(135deg,#086994"] span,
.entry-content div[style*="background:linear-gradient(135deg,#1a1a1a"] p,
.entry-content div[style*="background:linear-gradient(135deg,#1a1a1a"] h1,
.entry-content div[style*="background:linear-gradient(135deg,#1a1a1a"] div,
.entry-content div[style*="background:linear-gradient(135deg,#1a1a1a"] span { color: #fff !important; }
.entry-content div[style*="background:linear-gradient"] .gold,
.entry-content div[style*="color:#FFD700"] { color: #FFD700 !important; }

/* HERO SECTION (dark green gradient with white text) */
.gfx-hero {
  background: linear-gradient(135deg, #266B2D 0%, #1a4e21 100%) !important;
  padding: 90px 24px 70px !important;
  text-align: center !important;
  color: #fff !important;
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  box-sizing: border-box !important;
  display: block !important;
}
.gfx-hero > *, .gfx-hero p, .gfx-hero h1, .gfx-hero div, .gfx-hero span { color: #fff !important; }
.gfx-hero .gf-stat-num.gold, .gfx-hero .gold { color: #FFD700 !important; }
.gfx-hero-stats {
  display: flex !important;
  justify-content: center !important;
  gap: 50px !important;
  flex-wrap: wrap !important;
  margin-top: 40px !important;
}
.gfx-hero-stats .gf-stat { display: block !important; text-align: center !important; }
.gfx-hero .gfx-hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 16px;
  opacity: 0.95;
}
.gfx-hero .gfx-hero-title {
  font-family: var(--gf-font-heading);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 20px;
  color: #fff !important;
}
.gfx-hero .gf-hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 720px;
  margin: 0 auto 30px;
  line-height: 1.6;
  color: #fff !important;
}
.gfx-hero .gfx-hero-phone {
  display: inline-block;
  font-size: 32px;
  font-weight: 800;
  color: #fff !important;
  text-decoration: none;
  margin: 20px 0;
  letter-spacing: 1px;
}
.gfx-hero .gfx-hero-phone:hover { opacity: 0.9; }

/* HERO STATS ROW (5.0 / 78+ Reviews / 100%) */
.gf-hero-stats, .gfx-hero-stats {
  display: flex !important;
  justify-content: center !important;
  gap: 50px !important;
  flex-wrap: wrap !important;
  margin-top: 40px !important;
}
.gf-hero-stats .gf-stat, .gfx-hero-stats .gf-stat { text-align: center !important; color: #fff !important; display: block !important; }
.gf-hero-stats .gf-stat-num, .gfx-hero-stats .gf-stat-num {
  font-size: 48px;
  font-weight: 800;
  color: #fff !important;
  line-height: 1;
}
.gf-hero-stats .gf-stat-num.gold, .gfx-hero-stats .gf-stat-num.gold { color: #FFD700 !important; }
.gf-hero-stats .gf-stat-label, .gfx-hero-stats .gf-stat-label {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
  color: #fff !important;
  font-weight: 600;
}

/* CTA BUTTONS */
.gf-btn {
  display: inline-block;
  padding: 16px 34px;
  text-decoration: none !important;
  font-weight: 800;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.gf-btn-primary {
  background: #266B2D !important;
  color: #fff !important;
}
.gf-btn-primary:hover { background: #1a4e21 !important; transform: translateY(-1px); }
.gf-btn-secondary {
  background: #116dff !important;
  color: #fff !important;
}
.gf-btn-secondary:hover { background: #0d5ad3 !important; transform: translateY(-1px); }
.gf-btn-outline {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #fff !important;
}
.gf-btn-outline:hover { background: #fff !important; color: #266B2D !important; }
.gf-btn-ghost {
  background: #fff !important;
  color: #266B2D !important;
  border: 2px solid #266B2D !important;
}
.gf-btn-ghost:hover { background: #266B2D !important; color: #fff !important; }

.gf-btn-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px 0;
}

/* SECTION WRAPPER */
.gf-section { padding: 70px 24px; }
.gf-section-light { background: #F5F7FA; }
.gf-section-white { background: #fff; }
.gf-section-dark { background: #1a4e21; color: #fff !important; }
.gf-section-dark * { color: inherit; }
.gf-section-container { max-width: 1200px; margin: 0 auto; }
.gf-section-header { text-align: center; margin-bottom: 50px; }
.gf-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 800;
  color: #266B2D;
  margin: 0 0 12px;
}
.gf-section-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 16px;
  color: #1a1a1a;
}
.gf-section-sub {
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto;
  color: #4D4949;
  line-height: 1.6;
}

/* SERVICE PILLAR CARDS (Home page) */
.gf-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.gf-service-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 40px 28px;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.gf-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.10);
  border-color: #266B2D;
}
.gf-service-card .gf-service-icon {
  font-size: 44px;
  margin-bottom: 20px;
  display: inline-block;
}
.gf-service-card h3 {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #266B2D;
  margin: 0 0 14px;
}
.gf-service-card p {
  color: #4D4949;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.gf-service-card a {
  color: #266B2D;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* WHY CHOOSE GRID (9 differentiators) */
.gf-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.gf-why-item {
  padding: 24px 20px;
}
.gf-why-item h4 {
  font-size: 18px;
  font-weight: 800;
  color: #266B2D;
  margin: 0 0 12px;
  border-left: 3px solid #266B2D;
  padding-left: 14px;
}
.gf-why-item p {
  color: #4D4949;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* TESTIMONIAL CARDS */
.gf-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.gf-testimonial-card {
  background: #fff;
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border: 1px solid #EEF0F3;
  position: relative;
}
.gf-testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 60px;
  color: #266B2D;
  opacity: 0.15;
  line-height: 1;
  font-family: Georgia, serif;
}
.gf-testimonial-card .gf-stars {
  color: #FFD700;
  font-size: 18px;
  margin-bottom: 12px;
}
.gf-testimonial-card blockquote {
  color: #4D4949;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 20px;
  padding: 0;
  border: none;
  font-style: normal;
}
.gf-testimonial-card .gf-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #EEF0F3;
}
.gf-testimonial-card .gf-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #266B2D;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}
.gf-testimonial-card .gf-author-name {
  font-weight: 800;
  color: #1a1a1a;
  font-size: 15px;
}
.gf-testimonial-card .gf-author-loc {
  color: #6b7280;
  font-size: 13px;
}

/* CONTACT CTA BAR (bottom of pages: YOUR COMFORT MATTERS) */
.gf-cta-bar {
  background: linear-gradient(135deg, #266B2D 0%, #1a4e21 100%);
  padding: 70px 24px;
  text-align: center;
  color: #fff !important;
}
.gf-cta-bar * { color: inherit; }
.gf-cta-bar h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff !important;
}
.gf-cta-bar p {
  font-size: 20px;
  margin: 0 0 30px;
  color: #fff !important;
}
.gf-cta-bar .gf-owner-quote {
  max-width: 780px;
  margin: 30px auto 0;
  padding: 24px 30px;
  background: rgba(255,255,255,0.08);
  border-left: 4px solid #FFD700;
  text-align: left;
  border-radius: 6px;
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: #fff !important;
}
.gf-cta-bar .gf-owner-name {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  color: #FFD700 !important;
  text-transform: uppercase;
}

/* DID YOU KNOW BOX */
.gf-didyouknow {
  background: #F5F7FA;
  border-left: 5px solid #266B2D;
  padding: 40px 30px;
  max-width: 900px;
  margin: 60px auto;
  border-radius: 6px;
}
.gf-didyouknow h3 {
  font-size: 18px;
  color: #266B2D;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  margin: 0 0 12px;
}
.gf-didyouknow p {
  font-size: 18px;
  line-height: 1.6;
  color: #1a1a1a;
  margin: 0;
  font-weight: 500;
}
.gf-didyouknow strong { color: #266B2D; font-size: 24px; }

/* FINANCING SECTION */
.gf-financing {
  background: linear-gradient(135deg, #086994 0%, #044e70 100%);
  padding: 70px 24px;
  color: #fff !important;
  text-align: center;
}
.gf-financing * { color: inherit; }
.gf-financing h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  margin: 0 0 16px;
  text-transform: uppercase;
  color: #fff !important;
}
.gf-financing .gf-lead {
  font-size: 20px;
  max-width: 720px;
  margin: 0 auto 30px;
  line-height: 1.6;
  color: #fff !important;
}
.gf-financing ul {
  max-width: 600px;
  margin: 30px auto;
  list-style: none;
  padding: 0;
  text-align: left;
}
.gf-financing ul li {
  padding: 10px 0 10px 34px;
  position: relative;
  color: #fff !important;
  font-size: 16px;
}
.gf-financing ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: #FFD700;
  font-weight: 800;
  font-size: 22px;
}

/* SYSTEM TYPES CARDS (heat pump split, ductless, dual-fuel etc.) */
.gf-systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.gf-system-card {
  background: #fff;
  border: 2px solid #EEF0F3;
  border-radius: 10px;
  padding: 32px 28px;
  transition: all 0.25s ease;
}
.gf-system-card:hover {
  border-color: #266B2D;
  box-shadow: 0 8px 20px rgba(38, 107, 45, 0.10);
}
.gf-system-card h3 {
  color: #266B2D;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 14px;
}
.gf-system-card p {
  color: #4D4949;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 12px;
}
.gf-system-card .gf-badge {
  display: inline-block;
  background: #266B2D;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

/* HONORING THOSE WHO SERVE */
.gf-honoring {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  padding: 80px 24px;
  color: #fff !important;
  text-align: center;
  background-image: linear-gradient(135deg, rgba(26,26,26,0.94), rgba(38,107,45,0.85));
}
.gf-honoring * { color: inherit; }
.gf-honoring .gf-eyebrow-white {
  color: #FFD700 !important;
  letter-spacing: 4px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.gf-honoring h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  margin: 0 0 24px;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.gf-honoring p {
  max-width: 780px;
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.7;
  color: #fff !important;
}
.gf-honoring .gf-honor-groups {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 30px 0;
  color: #fff !important;
}
.gf-honoring .gf-honor-groups span {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,215,0,0.5);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  color: #fff !important;
}
.gf-honoring .gf-discount {
  display: inline-block;
  background: #FFD700;
  color: #1a1a1a !important;
  padding: 8px 22px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 24px;
  margin: 10px 0;
}

/* FEATURE ROW (Free Consultation / Precision Install / Post-Install Support) */
.gf-feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto 0;
}
.gf-feature-item {
  text-align: center;
  padding: 24px;
}
.gf-feature-item .gf-feature-num {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #266B2D;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 20px;
}
.gf-feature-item h4 {
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.gf-feature-item p {
  color: #4D4949;
  font-size: 15px;
  line-height: 1.7;
}

/* PRICING TABLE (Contact page after-hours) */
.gf-pricing-table {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.gf-pricing-table .gf-pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid #EEF0F3;
}
.gf-pricing-table .gf-pricing-row:last-child { border-bottom: 0; }
.gf-pricing-table .gf-pricing-label {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 16px;
}
.gf-pricing-table .gf-pricing-price {
  color: #266B2D;
  font-weight: 800;
  font-size: 20px;
}

/* SERVICE AREA GRID */
.gf-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  max-width: 900px;
  margin: 30px auto;
}
.gf-area-grid a {
  display: block;
  padding: 12px 16px;
  background: #F5F7FA;
  border-radius: 6px;
  text-decoration: none;
  color: #266B2D;
  font-weight: 600;
  text-align: center;
  font-size: 14px;
  transition: all 0.15s ease;
}
.gf-area-grid a:hover {
  background: #266B2D;
  color: #fff;
}

/* EMERGENCY WARNING LIST */
.gf-emergency-list {
  max-width: 780px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.gf-emergency-list li {
  padding: 14px 20px 14px 50px;
  position: relative;
  background: #FEF3F2;
  margin: 8px 0;
  border-left: 4px solid #D92D20;
  border-radius: 6px;
  font-size: 15px;
  color: #1a1a1a;
  line-height: 1.5;
}
.gf-emergency-list li::before {
  content: '⚠';
  position: absolute;
  left: 18px;
  top: 12px;
  color: #D92D20;
  font-size: 20px;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
  .gf-section { padding: 50px 20px; }
  .gfx-hero { padding: 60px 20px 50px; }
  .gf-hero-stats { gap: 30px; }
  .gf-hero-stats .gf-stat-num { font-size: 36px; }
  .gf-cta-bar { padding: 50px 20px; }
  .gf-btn-row { flex-direction: column; align-items: center; }
  .gf-btn { width: 90%; max-width: 320px; }
  .gf-pricing-table .gf-pricing-row { flex-direction: column; text-align: center; gap: 6px; }
  .gf-honoring .gf-honor-groups { flex-direction: column; align-items: center; }
  .gf-honoring .gf-honor-groups span { width: 80%; text-align: center; }
  /* Keep mobile form controls comfortably tappable and prevent iOS zoom. */
  input:not([type="hidden"]), select, textarea {
    min-height: 44px;
    font-size: 16px !important;
  }
}


/* Hide JSON-LD script tags - Astra theme is styling them as block by default */
script[type="application/ld+json"] { display: none !important; }

/* ========== GF MOBILE HEADER FIX v12 (2026-09-07 supersedes v11) ========== */
@media (max-width: 921px) {
    /* Top green strap */
    .gf-topbar {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 4px !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        min-height: 0 !important;
    }
    .gf-topbar .gf-topbar-phone {
        font-size: 14px !important;
        font-weight: 700 !important;
        display: inline-block !important;
        margin: 0 !important;
    }

    /* White header: relative context, minimal padding, no extra height */
    #ast-mobile-header {
        position: relative !important;
        min-height: 100px !important;
        padding: 10px 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    /* Reset all wrapper containers */
    .ast-mobile-header-wrap,
    .ast-mobile-header-wrap .ast-main-header-wrap,
    .ast-mobile-header-wrap .site-primary-header-wrap,
    .ast-mobile-header-wrap .ast-builder-grid-row,
    .ast-mobile-header-wrap .site-header-primary-section-left,
    .ast-mobile-header-wrap .ast-builder-layout-element,
    .ast-mobile-header-wrap .site-branding,
    .ast-mobile-header-wrap .site-branding .site-logo-img,
    .ast-mobile-header-wrap .custom-logo-link {
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: center !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
    }
    /* LOGO: BIG - centered horizontally via translateX, vertically centered in header */
    #ast-mobile-header img.custom-logo,
    .ast-mobile-header-wrap img.custom-logo,
    header .custom-logo {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 360px !important;
        max-width: calc(100vw - 80px) !important;
        height: auto !important;
        max-height: 90px !important;
        object-fit: contain !important;
        margin: 0 !important;
        display: block !important;
        z-index: 5 !important;
    }
    /* Hide redundant text title */
    .ast-mobile-header-wrap .ast-site-title-wrap {
        display: none !important;
    }
    /* HAMBURGER: middle-right, vertically centered with logo, small blue lines */
    .ast-mobile-header-wrap .ast-button-wrap,
    #ast-mobile-header .ast-button-wrap,
    .ast-mobile-header-wrap .menu-toggle,
    #ast-mobile-header .menu-toggle {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        right: 15px !important;
        margin: 0 !important;
        z-index: 100 !important;
        flex: none !important;
        width: auto !important;
    }
    button.menu-toggle {
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 8px !important;
        background: transparent !important;
    }
}
/* ========== END GF MOBILE HEADER FIX v12 ========== */
