/*
Theme Name: Fast Layne Plumbing
Theme URI: https://flplumbingaz.com
Author: LMH Agency
Author URI: https://lmh.agency
Description: Custom child theme for Fast Layne Plumbing - San Tan Valley, AZ. Refined Classic aesthetic: forest-green-and-gold palette, Fraunces serif display + DM Sans body, photo-driven heroes with dark gradient overlays, clean component grid, lifetime-warranty trust signals. Built on lmh-parent.
Version: 3.2.15
License: Proprietary
Template: lmh-parent
Text Domain: flplumbing
*/

/* ============================================================
   FAST LAYNE PLUMBING — REFINED CLASSIC v3.0
   Color: forest green dominant, sharp gold accent, cream paper bg
   Type:  Fraunces (serif display) + DM Sans (body)
   Style: photo-driven heroes, soft cards, dotted dividers
   ============================================================ */

:root {
    /* PALETTE */
    --fl-green-900: #0E3A2D;
    --fl-green-800: #14503D;
    --fl-green-700: #1B6B53;
    --fl-gold-500:  #C9A227;
    --fl-gold-400:  #D7B544;
    --fl-cream-50:  #FBF7EE;
    --fl-cream-100: #F5EFE0;
    --fl-ink-900:   #0F1F19;
    --fl-ink-700:   #34423C;
    --fl-ink-500:   #6A7873;
    --fl-line:      #E6DFCC;

    /* LEGACY ALIASES — keep imported post styles working */
    --fl-green:      var(--fl-green-900);
    --fl-green-deep: var(--fl-ink-900);
    --fl-gold:       var(--fl-gold-500);
    --fl-cream:      var(--fl-cream-50);
    --fl-paper:      var(--fl-cream-100);
    --fl-ink:        var(--fl-ink-900);
    --fl-ink-mute:   var(--fl-ink-500);

    /* TYPE */
    --fl-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --fl-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fl-mono:    'JetBrains Mono', 'Courier New', monospace;

    /* SCALE */
    --fl-shadow-sm: 0 1px 2px rgba(14,58,45,.06), 0 2px 6px rgba(14,58,45,.04);
    --fl-shadow-md: 0 4px 14px rgba(14,58,45,.08), 0 8px 24px rgba(14,58,45,.06);
    --fl-shadow-lg: 0 12px 40px rgba(14,58,45,.14);
    --fl-radius-sm: 8px;
    --fl-radius-md: 14px;
    --fl-radius-lg: 22px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--fl-body);
    color: var(--fl-ink-900);
    background: var(--fl-cream-50);
    line-height: 1.55;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--fl-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--fl-ink-900);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; }
p  { margin: 0 0 1em; color: var(--fl-ink-700); }
a  { color: inherit; text-decoration: none; }
a:hover { color: var(--fl-green-900); }
ul { padding-left: 1.2em; margin: 0 0 1em; }
.container, .wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* Skip link */
.skip-link {
    position: absolute; top: -40px; left: 0;
    background: var(--fl-green-900); color: var(--fl-cream-50);
    padding: 8px 16px; z-index: 100;
}
.skip-link:focus { top: 0; }

/* ============================================================
   TOPBAR (above header — emergency call strip)
   ============================================================ */
.fl-topbar {
    background: var(--fl-green-900);
    color: var(--fl-cream-50);
    font-size: 0.85rem;
    padding: 10px 0;
    font-family: var(--fl-body);
}
.fl-topbar__inner {
    max-width: 1200px; margin: 0 auto; padding: 0 28px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.fl-topbar__lead {
    background: var(--fl-gold-500); color: var(--fl-green-900);
    padding: 3px 10px; border-radius: 999px; font-weight: 600;
}
.fl-topbar__phone {
    color: var(--fl-cream-50); font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
}
.fl-topbar__phone:hover { color: var(--fl-gold-400); }
.fl-phone-icon::before { content: "☎"; }

/* ============================================================
   HEADER (sticky, blurred cream)
   ============================================================ */
.fl-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 247, 238, 0.92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--fl-line);
}
.fl-header__inner {
    max-width: 1200px; margin: 0 auto; padding: 14px 28px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.fl-header__brand img { height: 56px; width: auto; }
.fl-header__brand:hover { opacity: 0.85; }
.fl-mainnav__list {
    list-style: none; display: flex; gap: 28px; padding: 0; margin: 0;
}
.fl-mainnav__list li a {
    font-family: var(--fl-body); font-weight: 500; font-size: 0.95rem;
    color: var(--fl-ink-700); padding: 4px 0; position: relative;
}
.fl-mainnav__list li a:hover,
.fl-mainnav__list li.current-menu-item a {
    color: var(--fl-green-900);
}
.fl-mainnav__list li.current-menu-item a {
    font-weight: 600;
}
.fl-mainnav__list li.current-menu-item a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 2px; background: var(--fl-gold-500);
}
.fl-nav-toggle {
    display: none; background: none; border: none; padding: 8px; cursor: pointer;
    flex-direction: column; gap: 5px;
}
.fl-nav-toggle span {
    display: block; width: 26px; height: 2px; background: var(--fl-green-900); border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.fl-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 18px; border-radius: 999px;
    font-family: var(--fl-body); font-weight: 600; font-size: 0.95rem;
    background: var(--fl-green-900); color: var(--fl-cream-50);
    border: 1.5px solid var(--fl-green-900);
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    cursor: pointer; text-decoration: none;
    line-height: 1.2;
}
.fl-btn:hover {
    background: var(--fl-green-800); border-color: var(--fl-green-800);
    color: var(--fl-cream-50); transform: translateY(-1px); box-shadow: var(--fl-shadow-md);
}
.fl-btn--lg { padding: 14px 24px; font-size: 1rem; }
.fl-btn--xl { padding: 18px 32px; font-size: 1.1rem; letter-spacing: 0.01em; }
.fl-btn--full { display: flex; justify-content: center; width: 100%; }
.fl-btn--ghost {
    background: transparent; color: var(--fl-green-900); border-color: var(--fl-green-900);
}
.fl-btn--ghost:hover {
    background: var(--fl-green-900); color: var(--fl-cream-50);
}
.fl-btn--ghost-light {
    background: transparent; color: var(--fl-cream-50); border-color: rgba(245,239,224,0.5);
}
.fl-btn--ghost-light:hover {
    background: var(--fl-cream-50); color: var(--fl-green-900); border-color: var(--fl-cream-50);
}
.fl-btn--gold {
    background: var(--fl-gold-500); color: var(--fl-green-900); border-color: var(--fl-gold-500);
}
.fl-btn--gold:hover {
    background: var(--fl-gold-400); color: var(--fl-green-900); border-color: var(--fl-gold-400);
}

/* ============================================================
   EYEBROWS (small uppercase labels above section heads)
   ============================================================ */
.fl-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--fl-body); font-weight: 600;
    font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--fl-green-800); margin-bottom: 18px;
}
.fl-eyebrow::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--fl-gold-500); flex-shrink: 0;
}
.fl-eyebrow--gold { color: var(--fl-gold-500); }
.fl-eyebrow--green { color: var(--fl-green-800); }
.fl-eyebrow--light { color: var(--fl-gold-400); }

/* Section heading block */
.fl-section-head {
    text-align: center; max-width: 720px; margin: 0 auto 56px;
}
.fl-section-head .fl-eyebrow { justify-content: center; }
.fl-section-head h2 { margin: 0 0 14px; }
.fl-section-head p { font-size: 1.1rem; color: var(--fl-ink-500); }

/* ============================================================
   FRONT-PAGE HERO (large photo background, dark overlay, two-col)
   ============================================================ */
.fl-hero {
    position: relative; overflow: hidden;
    padding: 110px 0 110px;
    background: var(--fl-green-900);
    color: var(--fl-cream-50);
}
.fl-hero__bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: right center; background-repeat: no-repeat;
}
.fl-hero__overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(95deg, rgba(8,30,22,0.97) 0%, rgba(8,30,22,0.94) 35%, rgba(14,58,45,0.78) 60%, rgba(14,58,45,0.45) 85%, rgba(14,58,45,0.30) 100%),
        radial-gradient(1100px 500px at 80% -10%, rgba(201,162,39,.18), transparent 60%);
}
.fl-hero__inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
}
.fl-hero__content { position: relative; }
.fl-hero .fl-eyebrow { color: var(--fl-gold-400); }
.fl-hero__title {
    color: white; margin: 0;
    text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.fl-hero__title span {
    color: var(--fl-gold-400); font-style: italic; font-weight: 500;
}
.fl-hero__bullets {
    list-style: none; padding: 0; margin: 28px 0 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px;
}
.fl-hero__bullets li {
    display: flex; align-items: center; gap: 10px;
    color: rgba(245,239,224,0.92);
    font-weight: 500; font-size: 0.98rem;
}
.fl-hero__bullets li::before {
    content: ""; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
    background-color: var(--fl-gold-500);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E3A2D' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 11px 11px; background-repeat: no-repeat; background-position: center;
}
.fl-hero__cta {
    display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap;
}
.fl-hero__cta .fl-btn {
    background: var(--fl-gold-500); color: var(--fl-green-900); border-color: var(--fl-gold-500);
}
.fl-hero__cta .fl-btn:hover {
    background: var(--fl-gold-400); border-color: var(--fl-gold-400);
}
.fl-hero__cta .fl-btn--ghost-light {
    background: transparent; color: var(--fl-cream-50); border-color: rgba(245,239,224,0.5);
}

/* Hero side card (review or quick-form) */
.fl-hero__form,
.fl-hero__card {
    background: white; color: var(--fl-ink-900);
    border-radius: var(--fl-radius-lg); padding: 28px;
    box-shadow: var(--fl-shadow-lg); border: 1px solid var(--fl-line);
}
.fl-quote-form__title {
    color: var(--fl-green-900); margin: 0 0 14px;
    font-size: 1.4rem;
}
.fl-hero__card .stars { color: var(--fl-gold-500); letter-spacing: 2px; font-size: 1.15rem; }
.fl-hero__card blockquote {
    margin: 18px 0;
    font-style: italic; color: var(--fl-ink-700);
    border-left: 3px solid var(--fl-gold-500);
    padding-left: 14px; font-size: 0.98rem;
}
.fl-hero__card .reviewer { display: flex; align-items: center; gap: 12px; }
.fl-hero__card .reviewer .avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--fl-green-700), var(--fl-green-900));
    color: var(--fl-cream-50);
    display: grid; place-items: center; font-weight: 700;
}
.fl-hero__card .reviewer small {
    display: block; color: var(--fl-ink-500); font-size: 0.8rem;
}
.fl-hero__card .badges {
    display: flex; gap: 8px; margin-top: 22px;
    padding-top: 22px; border-top: 1px dashed var(--fl-line);
}
.fl-hero__card .badge {
    flex: 1; text-align: center;
    padding: 8px 6px; border-radius: var(--fl-radius-sm);
    background: var(--fl-cream-100);
    font-size: 0.78rem; font-weight: 600; color: var(--fl-green-900);
}

/* ============================================================
   PAGE HERO (interior pages — smaller than front-page hero)
   ============================================================ */
.fl-page-hero {
    position: relative; overflow: hidden;
    padding: 80px 0 80px;
    background: var(--fl-green-900);
    color: var(--fl-cream-50);
}
.fl-page-hero__bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
.fl-page-hero__bg--default {
    background-image:
        radial-gradient(circle at 20% 30%, rgba(201,162,39,0.18) 0, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(201,162,39,0.10) 0, transparent 50%),
        linear-gradient(135deg, var(--fl-green-800), var(--fl-green-900));
}
.fl-page-hero__overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(95deg, rgba(8,30,22,0.94) 0%, rgba(8,30,22,0.85) 40%, rgba(14,58,45,0.65) 70%, rgba(14,58,45,0.40) 100%),
        radial-gradient(1100px 500px at 80% -10%, rgba(201,162,39,.18), transparent 60%);
}
.fl-page-hero__inner {
    position: relative; z-index: 2;
}
.fl-page-hero .fl-eyebrow { color: var(--fl-gold-400); }
.fl-page-hero__title {
    color: white; margin: 0;
    text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.fl-page-hero__title span {
    color: var(--fl-gold-400); font-style: italic; font-weight: 500;
}
.fl-page-hero__lede {
    margin-top: 18px; font-size: 1.15rem; max-width: 620px;
    color: rgba(245,239,224,0.92);
    text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
.fl-page-hero__cta {
    display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap;
}
.fl-page-hero__cta .fl-btn {
    background: var(--fl-gold-500); color: var(--fl-green-900); border-color: var(--fl-gold-500);
}
.fl-page-hero__cta .fl-btn:hover {
    background: var(--fl-gold-400); border-color: var(--fl-gold-400);
}
.fl-page-hero__cta .fl-btn--ghost-light {
    background: transparent; color: var(--fl-cream-50); border-color: rgba(245,239,224,0.5);
}
.fl-page-hero__cta .fl-btn--ghost-light:hover {
    background: var(--fl-cream-50); color: var(--fl-green-900); border-color: var(--fl-cream-50);
}

/* Two-col page hero (service detail with side card) */
.fl-page-hero--split .fl-page-hero__inner {
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center;
}

.fl-post-meta {
    color: rgba(245,239,224,0.7); font-family: var(--fl-mono);
    font-size: 0.82rem; margin-top: 14px; letter-spacing: 0.04em;
}

/* Breadcrumb */
.fl-breadcrumb {
    display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
    color: rgba(245,239,224,0.7); font-size: 0.82rem; letter-spacing: 0.04em;
    margin-bottom: 22px; text-transform: uppercase; font-weight: 500;
    font-family: var(--fl-body);
}
.fl-breadcrumb a { color: var(--fl-gold-400); }
.fl-breadcrumb a:hover { color: var(--fl-gold-500); }
.fl-breadcrumb span { color: rgba(245,239,224,0.4); }
.fl-breadcrumb span:last-child { color: rgba(245,239,224,0.85); }

/* ============================================================
   TRUST STRIP (immediately under hero)
   ============================================================ */
.fl-trust-strip {
    background: var(--fl-green-900);
    color: var(--fl-cream-100);
    padding: 22px 0;
    border-top: 1px solid rgba(201,162,39,0.20);
}
.fl-trust-strip__inner {
    max-width: 1200px; margin: 0 auto; padding: 0 28px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.fl-trust-item {
    display: flex; gap: 12px; align-items: center; font-size: 0.92rem;
}
.fl-trust-item svg {
    width: 22px; height: 22px; color: var(--fl-gold-400); flex-shrink: 0;
}
.fl-trust-item strong { color: white; display: block; font-weight: 600; }
.fl-trust-item span { font-size: 0.8rem; color: rgba(245,239,224,0.7); }

/* ============================================================
   GENERIC SECTION + GRIDS
   ============================================================ */
.fl-block { padding: 100px 0; }
.fl-block--tight { padding: 70px 0; }
.fl-block--cream { background: var(--fl-cream-100); }
.fl-block--white { background: white; }

/* Stats band overlapping hero */
.fl-stats-band {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    background: white; border-radius: var(--fl-radius-lg);
    border: 1px solid var(--fl-line); box-shadow: var(--fl-shadow-md);
    overflow: hidden;
    margin-top: -50px; position: relative; z-index: 5;
}
.fl-stats-band__cell {
    padding: 30px 24px; border-right: 1px solid var(--fl-line); text-align: center;
}
.fl-stats-band__cell:last-child { border-right: none; }
.fl-stats-band__num {
    font-family: var(--fl-display); font-size: 2.4rem; font-weight: 600;
    color: var(--fl-green-900); line-height: 1; letter-spacing: -0.02em;
}
.fl-stats-band__num .accent { color: var(--fl-gold-500); }
.fl-stats-band__lbl { color: var(--fl-ink-500); font-size: 0.85rem; margin-top: 8px; }

/* ============================================================
   SERVICE CARDS (with photos) — used on services index
   ============================================================ */
.fl-services-band { padding: 100px 0; }
.fl-services-band--full { padding: 80px 0; }
.fl-services-band__more { margin-top: 40px; text-align: center; }

.fl-services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.fl-services-grid--full {
    grid-template-columns: repeat(3, 1fr);
}
.fl-service-card {
    display: flex; flex-direction: column;
    background: white; border: 1px solid var(--fl-line);
    border-radius: var(--fl-radius-md); overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
    text-decoration: none; color: var(--fl-ink-900);
}
.fl-service-card:hover {
    transform: translateY(-4px); box-shadow: var(--fl-shadow-md); border-color: var(--fl-gold-400);
    color: var(--fl-ink-900);
}
.fl-service-card__img {
    aspect-ratio: 5/3;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    background-color: var(--fl-green-900);
    transition: transform .4s ease;
    position: relative;
}
.fl-service-card__img::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.18) 100%);
    pointer-events: none;
}
.fl-service-card:hover .fl-service-card__img { transform: scale(1.04); }
.fl-service-card__price {
    position: absolute; top: 14px; left: 14px;
    background: var(--fl-gold-500); color: var(--fl-green-900);
    font-family: var(--fl-body); font-weight: 700;
    padding: 5px 12px; border-radius: 999px; font-size: 0.82rem;
    z-index: 2;
}
.fl-service-card__body {
    padding: 26px 24px; flex: 1;
    display: flex; flex-direction: column;
}
.fl-service-card__body h3 {
    font-family: var(--fl-display); font-weight: 600;
    color: var(--fl-green-900); margin: 0 0 8px;
    font-size: 1.3rem;
}
.fl-service-card__body p {
    font-size: 0.95rem; flex: 1; margin: 0 0 18px;
}
.fl-service-card__cta {
    color: var(--fl-green-800); font-weight: 600; font-size: 0.9rem;
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: auto;
}
.fl-service-card__cta::after {
    content: "→"; transition: transform .2s ease;
}
.fl-service-card:hover .fl-service-card__cta::after {
    transform: translateX(3px);
}
.fl-service-card--lg .fl-service-card__body { padding: 30px 28px; }

/* ============================================================
   AUTISM AWARENESS BAND (front-page community section)
   ============================================================ */
.fl-autism-band {
    background: white;
    padding: 100px 0;
}
.fl-autism-band__inner {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: center;
}
.fl-autism-band__media {
    position: relative; aspect-ratio: 4/5;
    border-radius: var(--fl-radius-lg); overflow: hidden;
    box-shadow: var(--fl-shadow-lg);
}
.fl-autism-band__media img {
    width: 100%; height: 100%; object-fit: cover;
}
.fl-autism-band__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(8,30,22,0.6) 100%);
}
.fl-stamp {
    position: absolute; bottom: 22px; left: 22px; right: 22px; z-index: 2;
    color: var(--fl-cream-50);
    font-family: var(--fl-display); font-style: italic;
    font-size: 1.2rem; line-height: 1.25;
    text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.fl-autism-band__copy h2 { margin-bottom: 16px; }
.fl-autism-band__copy .fl-lede {
    font-family: var(--fl-display); font-style: italic; font-weight: 500;
    color: var(--fl-green-900); font-size: 1.2rem; line-height: 1.45;
    margin: 18px 0 14px;
}
.fl-autism-band__copy p { font-size: 1rem; }
.fl-autism-band__copy .fl-btn { margin-top: 26px; }

/* ============================================================
   TRUST BAND (front-page stats)
   ============================================================ */
.fl-trust-band {
    background: var(--fl-cream-100);
    padding: 80px 0;
    text-align: center;
}
.fl-trust-band__title {
    margin: 0 0 40px;
}
.fl-trust-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    max-width: 980px; margin: 0 auto 40px;
}
.fl-stat {
    background: white; border: 1px solid var(--fl-line);
    border-radius: var(--fl-radius-md); padding: 32px 22px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.fl-stat:hover { transform: translateY(-2px); box-shadow: var(--fl-shadow-sm); }
.fl-stat__num {
    display: block; font-family: var(--fl-display); font-weight: 600;
    font-size: clamp(2rem, 4vw, 2.8rem); color: var(--fl-green-900);
    letter-spacing: -0.03em; line-height: 1;
}
.fl-stat__label {
    display: block; margin-top: 10px;
    color: var(--fl-ink-500); font-size: 0.88rem;
}
.fl-trust-badges {
    display: flex; gap: 36px; justify-content: center; align-items: center;
    flex-wrap: wrap; opacity: 0.8;
}
.fl-trust-badges img { max-height: 64px; width: auto; }

/* ============================================================
   AREAS BAND (front-page short list)
   ============================================================ */
.fl-areas-band {
    padding: 100px 0;
    background: var(--fl-cream-50);
}
.fl-areas-list {
    list-style: none; padding: 0; margin: 0 0 32px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    max-width: 980px; margin-left: auto; margin-right: auto;
}
.fl-areas-list li a {
    display: block; padding: 16px 18px;
    background: white; border: 1px solid var(--fl-line);
    border-radius: var(--fl-radius-sm);
    color: var(--fl-ink-900); font-weight: 500;
    text-align: center; transition: all .2s ease;
}
.fl-areas-list li a:hover {
    border-color: var(--fl-gold-400);
    background: var(--fl-cream-100);
    color: var(--fl-green-900); transform: translateY(-1px);
}
.fl-areas-band__cta { text-align: center; margin-top: 40px; }

/* ============================================================
   AREAS GRID BAND (service-areas directory page)
   ============================================================ */
.fl-areas-grid-band {
    padding: 80px 0;
    background: var(--fl-cream-100);
}
.fl-cities-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.fl-city-card {
    background: white; border: 1px solid var(--fl-line);
    border-radius: var(--fl-radius-md); padding: 22px 22px;
    transition: all .2s ease;
    display: flex; flex-direction: column; gap: 8px;
    text-decoration: none; color: var(--fl-ink-900);
    position: relative;
}
.fl-city-card--linked {
    cursor: pointer;
}
.fl-city-card--linked:hover {
    border-color: var(--fl-gold-400);
    box-shadow: var(--fl-shadow-sm);
    transform: translateY(-2px);
    color: var(--fl-ink-900);
}
.fl-city-card--unlinked {
    background: var(--fl-cream-50);
}
.fl-city-card__name {
    font-family: var(--fl-display); font-weight: 600;
    color: var(--fl-green-900); font-size: 1.15rem;
}
.fl-city-card__cta {
    color: var(--fl-green-800); font-weight: 600; font-size: 0.85rem;
    margin-top: auto;
}
.fl-city-card__cta::after { content: " →"; }
.fl-city-card__phone a {
    color: var(--fl-green-800); font-weight: 600; font-size: 0.85rem;
}
.fl-areas-toggle { text-align: center; margin: 36px 0 0; }
.fl-additional-cities { margin: 36px auto 0; max-width: 880px; text-align: center; }
.fl-additional-cities__title {
    color: var(--fl-green-900); margin-bottom: 8px;
}
.fl-additional-cities__lede {
    color: var(--fl-ink-500); margin-bottom: 22px;
}
.fl-additional-cities__list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.fl-additional-cities__list li {
    background: white; border: 1px solid var(--fl-line);
    padding: 8px 14px; border-radius: 999px;
    font-size: 0.92rem; color: var(--fl-ink-700);
}
.fl-areas-grid-band__note {
    text-align: center; color: var(--fl-ink-500);
    font-size: 0.92rem; margin-top: 30px;
}

/* ============================================================
   CTA BANNER (final big call-to-action band)
   ============================================================ */
.fl-final-cta {
    background: linear-gradient(135deg, var(--fl-green-900) 0%, var(--fl-green-800) 100%);
    color: var(--fl-cream-50);
    padding: 80px 0;
    position: relative; overflow: hidden;
}
.fl-final-cta::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(700px 300px at 90% 50%, rgba(201,162,39,0.22), transparent 65%);
    pointer-events: none;
}
.fl-final-cta__inner {
    position: relative; text-align: center; max-width: 720px; margin: 0 auto;
}
.fl-final-cta__inner h2 { color: white; margin: 0 0 14px; }
.fl-final-cta__inner p {
    color: rgba(245,239,224,0.85); font-size: 1.1rem; margin: 0 0 28px;
}
.fl-final-cta__inner .fl-btn {
    background: var(--fl-gold-500); color: var(--fl-green-900); border-color: var(--fl-gold-500);
}
.fl-final-cta__inner .fl-btn:hover {
    background: var(--fl-gold-400); border-color: var(--fl-gold-400);
}

/* ============================================================
   PAGE BODY (generic content area + sidebar)
   ============================================================ */
.fl-page-body { padding: 80px 0; background: var(--fl-cream-50); }
.fl-page-body__grid {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: start;
}
.fl-page-body__main { min-width: 0; } /* prevent overflow */
.fl-page-body__main h2,
.fl-page-body__main h3 {
    color: var(--fl-green-900); margin: 1.6em 0 0.6em;
}
.fl-page-body__main h2:first-child,
.fl-page-body__main h3:first-child { margin-top: 0; }
.fl-page-body__main p { font-size: 1.02rem; line-height: 1.65; }
.fl-page-body__main ul, .fl-page-body__main ol {
    padding-left: 1.5em; margin-bottom: 1.4em;
}
.fl-page-body__main li { margin-bottom: 0.4em; }
.fl-page-body__main img {
    border-radius: var(--fl-radius-md);
    margin: 1.4em 0;
}
.fl-page-body__main a {
    color: var(--fl-green-800); text-decoration: underline;
    text-decoration-color: var(--fl-gold-500); text-underline-offset: 3px;
}
.fl-page-body__main a:hover {
    color: var(--fl-green-900);
    text-decoration-color: var(--fl-green-900);
}
.fl-page-body__main blockquote {
    border-left: 3px solid var(--fl-gold-500);
    background: var(--fl-cream-100);
    padding: 18px 24px; margin: 1.6em 0;
    font-family: var(--fl-display); font-style: italic;
    font-size: 1.1rem; color: var(--fl-green-900);
    border-radius: 0 var(--fl-radius-sm) var(--fl-radius-sm) 0;
}

/* Sidebar widgets */
.fl-page-body__side { display: grid; gap: 22px; }
.fl-side-cta {
    background: var(--fl-green-900); color: var(--fl-cream-50);
    border-radius: var(--fl-radius-md); padding: 28px;
    position: relative; overflow: hidden;
}
.fl-side-cta::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(400px 200px at 90% 100%, rgba(201,162,39,0.15), transparent 65%);
    pointer-events: none;
}
.fl-side-cta > * { position: relative; }
.fl-side-cta h3 {
    color: white; margin: 0 0 8px;
    font-family: var(--fl-display); font-size: 1.25rem;
}
.fl-side-cta p {
    color: rgba(245,239,224,0.85); font-size: 0.95rem; margin: 0 0 18px;
}
.fl-side-cta .fl-btn {
    background: var(--fl-gold-500); color: var(--fl-green-900); border-color: var(--fl-gold-500);
}
.fl-side-cta .fl-btn:hover {
    background: var(--fl-gold-400); border-color: var(--fl-gold-400);
}
.fl-side-cta__small {
    margin-top: 12px; font-size: 0.85rem;
    color: rgba(245,239,224,0.7);
}
.fl-side-cta__small a { color: var(--fl-gold-400); text-decoration: underline; }

.fl-side-services {
    background: white; border: 1px solid var(--fl-line);
    border-radius: var(--fl-radius-md); padding: 28px;
}
.fl-side-services h4 {
    color: var(--fl-green-900); font-family: var(--fl-body);
    font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase;
    margin: 0 0 14px;
}
.fl-side-services ul {
    list-style: none; padding: 0; margin: 0; display: grid; gap: 10px;
}
.fl-side-services li a {
    display: flex; align-items: center; gap: 10px;
    color: var(--fl-ink-700); font-size: 0.95rem;
    padding: 6px 0; border-bottom: 1px dashed var(--fl-line);
}
.fl-side-services li a:hover {
    color: var(--fl-green-900);
}
.fl-side-services li a::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--fl-gold-500); flex-shrink: 0;
}
.fl-side-services li:last-child a { border-bottom: none; }

/* ============================================================
   SERVICE CATEGORIES (services landing — 3 cards)
   ============================================================ */
.fl-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fl-cat-card {
    background: white; border: 1px solid var(--fl-line);
    border-radius: var(--fl-radius-lg); padding: 36px 30px;
    display: flex; flex-direction: column;
    transition: all .25s ease;
}
.fl-cat-card:hover {
    box-shadow: var(--fl-shadow-md); border-color: var(--fl-gold-400);
    transform: translateY(-3px);
}
.fl-cat-card__icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--fl-green-900); color: var(--fl-gold-400);
    display: grid; place-items: center; margin-bottom: 22px;
}
.fl-cat-card__icon svg { width: 26px; height: 26px; }
.fl-cat-card__label {
    font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--fl-gold-500); font-weight: 700; margin-bottom: 10px;
}
.fl-cat-card h3 {
    font-family: var(--fl-display); font-size: 1.55rem; color: var(--fl-green-900);
    margin: 0 0 16px; line-height: 1.15;
}
.fl-cat-card p { font-size: 0.95rem; margin-bottom: 22px; }
.fl-cat-card ul {
    list-style: none; padding: 0; margin: 0 0 26px;
    display: grid; gap: 10px; flex: 1;
}
.fl-cat-card li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.93rem; color: var(--fl-ink-700);
}
.fl-cat-card li::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--fl-gold-500); flex-shrink: 0;
}
.fl-cat-card li a:hover { color: var(--fl-green-900); text-decoration: underline; }
.fl-cat-card__more {
    color: var(--fl-green-800); font-weight: 600; font-size: 0.92rem;
    display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
}
.fl-cat-card__more::after { content: "→"; transition: transform .2s ease; }
.fl-cat-card:hover .fl-cat-card__more::after { transform: translateX(3px); }

/* ============================================================
   PROCESS / TIMELINE
   ============================================================ */
.fl-process { background: var(--fl-cream-100); padding: 100px 0; }
.fl-process-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.fl-process-step {
    background: white; border: 1px solid var(--fl-line);
    border-radius: var(--fl-radius-md); padding: 28px;
}
.fl-process-step__num {
    font-family: var(--fl-display); font-style: italic; font-size: 2.2rem;
    color: var(--fl-gold-500); line-height: 1;
    margin-bottom: 18px; display: block;
}
.fl-process-step h3 {
    font-family: var(--fl-body); font-size: 1.05rem;
    color: var(--fl-green-900); margin-bottom: 6px; font-weight: 600;
}
.fl-process-step p { font-size: 0.9rem; }

/* ============================================================
   PULL QUOTE / TESTIMONIAL CALLOUT
   ============================================================ */
.fl-pull {
    text-align: center; max-width: 880px; margin: 0 auto;
}
.fl-pull__stars {
    color: var(--fl-gold-500); letter-spacing: 4px;
    font-size: 1.3rem; margin-bottom: 22px;
}
.fl-pull blockquote {
    margin: 0; font-family: var(--fl-display); font-style: italic;
    font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.3;
    color: var(--fl-green-900);
}
.fl-pull__attrib {
    margin-top: 28px; display: inline-flex; align-items: center; gap: 14px;
}
.fl-pull__attrib .av {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--fl-green-800); color: var(--fl-gold-400);
    display: grid; place-items: center; font-weight: 700;
}
.fl-pull__attrib strong { display: block; }
.fl-pull__attrib small { color: var(--fl-ink-500); font-size: 0.85rem; }

/* ============================================================
   REVIEW CARDS (3-up)
   ============================================================ */
.fl-reviews { background: var(--fl-cream-100); padding: 100px 0; }
.fl-review-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.fl-review-card {
    background: white; border-radius: var(--fl-radius-md); padding: 28px;
    border: 1px solid var(--fl-line);
}
.fl-review-card__stars {
    color: var(--fl-gold-500); letter-spacing: 2px; font-size: 1rem;
}
.fl-review-card p {
    margin: 14px 0 18px; font-size: 0.95rem; color: var(--fl-ink-700);
}
.fl-review-card__who {
    display: flex; align-items: center; gap: 12px;
    padding-top: 14px; border-top: 1px dashed var(--fl-line);
}
.fl-review-card__who .av {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--fl-green-800); color: var(--fl-gold-400);
    display: grid; place-items: center; font-weight: 700; font-size: 0.85rem;
}
.fl-review-card__who strong { font-size: 0.95rem; }
.fl-review-card__who small {
    display: block; color: var(--fl-ink-500); font-size: 0.78rem;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.fl-faq { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.fl-faq details {
    background: white; border: 1px solid var(--fl-line);
    border-radius: var(--fl-radius-md); padding: 22px 28px;
    transition: border-color .2s ease;
}
.fl-faq details[open] { border-color: var(--fl-gold-400); }
.fl-faq summary {
    list-style: none; cursor: pointer;
    font-family: var(--fl-body); font-weight: 600;
    color: var(--fl-green-900); font-size: 1.05rem;
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.fl-faq summary::-webkit-details-marker { display: none; }
.fl-faq summary::after {
    content: "+"; color: var(--fl-gold-500);
    font-size: 1.6rem; line-height: 1; transition: transform .2s ease;
}
.fl-faq details[open] summary::after { transform: rotate(45deg); }
.fl-faq p {
    margin-top: 14px; font-size: 0.95rem; padding-right: 30px;
    color: var(--fl-ink-700);
}

/* ============================================================
   BLOG GRID + CARDS
   ============================================================ */
.fl-blog-count {
    color: var(--fl-ink-500); font-family: var(--fl-mono);
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em;
    text-align: center; margin: 1.5rem 0 2.5rem;
}
.fl-blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
    margin-top: 30px;
}
.fl-blog-card {
    background: white; border: 1px solid var(--fl-line);
    border-radius: var(--fl-radius-md); overflow: hidden;
    transition: all .2s ease;
    display: flex; flex-direction: column;
}
.fl-blog-card:hover {
    transform: translateY(-3px); box-shadow: var(--fl-shadow-md);
    border-color: var(--fl-gold-400);
}
.fl-blog-card__media {
    aspect-ratio: 16/10; overflow: hidden;
    background: var(--fl-green-900);
    display: block;
}
.fl-blog-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.fl-blog-card:hover .fl-blog-card__media img { transform: scale(1.04); }
.fl-blog-card__placeholder {
    width: 100%; height: 100%;
    background:
        radial-gradient(circle at 30% 50%, rgba(201,162,39,0.12) 0, transparent 40%),
        linear-gradient(135deg, var(--fl-green-800), var(--fl-green-900));
}
.fl-blog-card__body {
    padding: 24px 24px 26px; flex: 1;
    display: flex; flex-direction: column;
}
.fl-blog-card__title {
    font-family: var(--fl-display); font-weight: 600;
    font-size: 1.2rem; line-height: 1.25;
    margin: 0 0 10px;
}
.fl-blog-card__title a { color: var(--fl-green-900); }
.fl-blog-card__title a:hover { color: var(--fl-green-800); }
.fl-blog-card__excerpt {
    font-size: 0.92rem; color: var(--fl-ink-500);
    margin: 0 0 16px; flex: 1;
}
.fl-blog-card__cta {
    color: var(--fl-green-800); font-weight: 600; font-size: 0.88rem;
    margin-top: auto;
}

/* ============================================================
   POST (single article) styles
   ============================================================ */
.fl-post hr {
    border: none; border-top: 1px dashed var(--fl-line); margin: 40px 0;
}
.fl-post-cta {
    background: var(--fl-cream-100); border: 1px solid var(--fl-line);
    border-radius: var(--fl-radius-md);
    padding: 32px; margin-top: 30px;
}
.fl-post-cta h3 {
    color: var(--fl-green-900); font-family: var(--fl-display);
    margin: 0 0 8px;
}
.fl-post-cta p {
    color: var(--fl-ink-700); margin: 0 0 18px;
}
.fl-post-cta .fl-btn { margin-right: 10px; margin-bottom: 8px; }

/* Pagination */
.pagination, .nav-links {
    display: flex; justify-content: center; gap: 12px; margin-top: 60px;
}
.pagination .page-numbers, .nav-links a, .nav-links span {
    padding: 10px 16px; border-radius: var(--fl-radius-sm);
    background: white; border: 1px solid var(--fl-line);
    font-weight: 600; color: var(--fl-ink-700); text-decoration: none;
}
.pagination .page-numbers.current, .nav-links span.current {
    background: var(--fl-green-900); color: var(--fl-cream-50); border-color: var(--fl-green-900);
}
.pagination .page-numbers:hover, .nav-links a:hover {
    border-color: var(--fl-gold-400); color: var(--fl-green-900);
}

/* ============================================================
   CONTACT
   ============================================================ */
.fl-contact-body { padding: 80px 0 100px; }
.fl-contact-grid {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px;
}
.fl-contact-info h2 { margin: 0 0 24px; color: var(--fl-green-900); }
.fl-contact-block {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px dashed var(--fl-line);
}
.fl-contact-block:last-child { border-bottom: none; }
.fl-contact-block h3 {
    font-family: var(--fl-body); color: var(--fl-green-900);
    font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase;
    margin: 0 0 8px;
}
.fl-contact-block p { margin: 0 0 4px; color: var(--fl-ink-700); }
.fl-contact-phone {
    font-family: var(--fl-display); color: var(--fl-green-900);
    font-size: 2rem; font-weight: 600; letter-spacing: -0.02em;
}
.fl-contact-form-wrap {
    background: white; border: 1px solid var(--fl-line);
    border-radius: var(--fl-radius-lg); padding: 36px 32px;
    box-shadow: var(--fl-shadow-md);
}
.fl-contact-form-wrap h2 {
    color: var(--fl-green-900); margin: 0 0 22px;
    font-family: var(--fl-display);
}
.fl-contact-extra { padding: 60px 0 0; }

/* Form fallback */
.fl-form-fallback {
    background: var(--fl-cream-100); border: 1px dashed var(--fl-line);
    border-radius: var(--fl-radius-md); padding: 24px; color: var(--fl-ink-700);
}
.fl-form-fallback a { color: var(--fl-green-800); text-decoration: underline; }

/* ============================================================
   GRAVITY FORMS — minimal restyle
   ============================================================ */
.fl-gf-wrapper .gform_wrapper {
    max-width: none;
}
.fl-gf-wrapper .gform_fields {
    display: grid; gap: 14px; padding: 0; list-style: none;
}
.fl-gf-wrapper .gfield_label {
    font-family: var(--fl-body); font-weight: 600;
    font-size: 0.85rem; color: var(--fl-green-900);
    letter-spacing: 0.04em; margin-bottom: 6px; display: block;
}
.fl-gf-wrapper .gfield_required { color: var(--fl-gold-500); margin-left: 4px; }
.fl-gf-wrapper input[type=text],
.fl-gf-wrapper input[type=email],
.fl-gf-wrapper input[type=tel],
.fl-gf-wrapper input[type=url],
.fl-gf-wrapper input[type=number],
.fl-gf-wrapper textarea,
.fl-gf-wrapper select {
    width: 100%; padding: 12px 14px;
    border: 1px solid var(--fl-line); border-radius: var(--fl-radius-sm);
    background: white; color: var(--fl-ink-900);
    font-family: var(--fl-body); font-size: 0.96rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.fl-gf-wrapper input:focus,
.fl-gf-wrapper textarea:focus,
.fl-gf-wrapper select:focus {
    outline: none; border-color: var(--fl-gold-500);
    box-shadow: 0 0 0 3px rgba(201,162,39,0.18);
}
.fl-gf-wrapper textarea { min-height: 120px; resize: vertical; }
.fl-gf-wrapper .gform_button,
.fl-gf-wrapper input[type=submit] {
    background: var(--fl-green-900); color: var(--fl-cream-50);
    border: 1.5px solid var(--fl-green-900); border-radius: 999px;
    padding: 13px 26px; font-family: var(--fl-body); font-weight: 600;
    font-size: 0.98rem; cursor: pointer;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
    width: 100%;
}
.fl-gf-wrapper .gform_button:hover,
.fl-gf-wrapper input[type=submit]:hover {
    background: var(--fl-green-800); transform: translateY(-1px);
    box-shadow: var(--fl-shadow-md);
}
.fl-gf-wrapper .gform_validation_error,
.fl-gf-wrapper .gfield_error {
    color: #B23A3A;
}
.fl-gf-wrapper .gform_confirmation_message {
    background: var(--fl-cream-100); border-left: 3px solid var(--fl-gold-500);
    padding: 16px 20px; border-radius: var(--fl-radius-sm);
    color: var(--fl-green-900);
}

/* ============================================================
   FOOTER
   ============================================================ */
.fl-footer {
    background: var(--fl-ink-900); color: rgba(245,239,224,0.85);
    padding: 60px 0 0;
}
.fl-footer__grid {
    max-width: 1200px; margin: 0 auto; padding: 0 28px 40px;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fl-footer__brand { display: inline-block; margin-bottom: 18px; }
.fl-footer__brand img {
    height: 60px; width: auto;
    background: rgba(255,255,255,0.04); padding: 8px 10px;
    border-radius: var(--fl-radius-sm);
}
.fl-footer__desc {
    color: rgba(245,239,224,0.6); font-size: 0.92rem; line-height: 1.5;
    max-width: 320px; margin: 0 0 14px;
}
.fl-footer__phone a {
    font-family: var(--fl-display); color: var(--fl-gold-400);
    font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em;
}
.fl-footer__phone a:hover { color: var(--fl-gold-500); }
.fl-footer__title {
    color: white; font-family: var(--fl-body);
    font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase;
    margin: 0 0 16px;
}
.fl-footer__list {
    list-style: none; padding: 0; margin: 0; display: grid; gap: 10px;
}
.fl-footer__list a {
    color: rgba(245,239,224,0.7); font-size: 0.92rem;
}
.fl-footer__list a:hover { color: var(--fl-gold-400); }
.fl-footer__bottom {
    padding: 24px 0; background: var(--fl-ink-900);
}
.fl-footer__bottom .container {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 14px;
}
.fl-footer__bottom p {
    margin: 0; font-size: 0.82rem; color: rgba(245,239,224,0.5);
}
.fl-footer__credit a { color: var(--fl-gold-400); }
.fl-footer__credit a:hover { color: var(--fl-gold-500); }

/* ============================================================
   ENTRY CONTENT (post body) — generic prose styling
   ============================================================ */
.entry-content { color: var(--fl-ink-700); }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 1.6em 0 0.5em; color: var(--fl-green-900); }
.entry-content h3 { font-size: 1.25rem; margin: 1.4em 0 0.4em; color: var(--fl-green-900); }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption {
    font-size: 0.85rem; color: var(--fl-ink-500);
    text-align: center; margin-top: 8px;
}
.entry-content table {
    width: 100%; border-collapse: collapse; margin: 1.4em 0;
}
.entry-content th, .entry-content td {
    padding: 10px 14px; border-bottom: 1px solid var(--fl-line);
    text-align: left;
}
.entry-content th {
    background: var(--fl-cream-100); color: var(--fl-green-900); font-weight: 600;
}

/* ============================================================
   SERVICE-DETAIL SPECIFIC (when in PHP markup we want)
   ============================================================ */
.fl-quick-card {
    background: white; color: var(--fl-ink-900);
    border-radius: var(--fl-radius-lg); padding: 28px;
    box-shadow: var(--fl-shadow-lg); border: 1px solid var(--fl-line);
}
.fl-quick-card h3 {
    color: var(--fl-green-900); margin: 0 0 18px; font-size: 1.15rem;
}
.fl-quick-card .row {
    display: flex; align-items: baseline; gap: 12px;
    padding: 12px 0; border-bottom: 1px dashed var(--fl-line);
}
.fl-quick-card .row:last-of-type { border-bottom: none; padding-bottom: 0; }
.fl-quick-card .key { color: var(--fl-ink-500); font-size: 0.85rem; flex: 1; }
.fl-quick-card .val {
    font-family: var(--fl-display); font-weight: 600;
    color: var(--fl-green-900); font-size: 1.15rem;
}
.fl-quick-card .val.gold { color: var(--fl-gold-500); }
.fl-quick-card .actions { margin-top: 22px; display: grid; gap: 10px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .fl-services-grid, .fl-services-grid--full { grid-template-columns: repeat(2, 1fr); }
    .fl-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .fl-cities-grid { grid-template-columns: repeat(3, 1fr); }
    .fl-areas-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
    .fl-mainnav {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--fl-cream-50);
        border-bottom: 1px solid var(--fl-line);
        padding: 16px 28px;
    }
    .fl-mainnav.is-open { display: block; }
    .fl-mainnav__list { flex-direction: column; gap: 12px; }
    .fl-nav-toggle { display: flex; }

    .fl-hero { padding: 70px 0 70px; }
    .fl-hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .fl-hero__bullets { grid-template-columns: 1fr; }

    .fl-page-hero { padding: 60px 0 60px; }
    .fl-page-hero--split .fl-page-hero__inner { grid-template-columns: 1fr; gap: 30px; }

    .fl-trust-strip__inner { grid-template-columns: 1fr 1fr; }
    .fl-stats-band { grid-template-columns: 1fr 1fr; margin-top: -30px; }
    .fl-stats-band__cell { border-right: none; border-bottom: 1px solid var(--fl-line); }
    .fl-stats-band__cell:nth-child(odd) { border-right: 1px solid var(--fl-line); }
    .fl-stats-band__cell:nth-last-child(-n+2) { border-bottom: none; }

    .fl-services-grid, .fl-services-grid--full { grid-template-columns: 1fr; }
    .fl-cat-grid { grid-template-columns: 1fr; }
    .fl-process-grid { grid-template-columns: 1fr 1fr; }
    .fl-trust-stats { grid-template-columns: 1fr 1fr; }
    .fl-areas-list { grid-template-columns: 1fr 1fr; }
    .fl-cities-grid { grid-template-columns: 1fr 1fr; }
    .fl-review-grid { grid-template-columns: 1fr; }
    .fl-blog-grid { grid-template-columns: 1fr; }

    .fl-autism-band__inner { grid-template-columns: 1fr; gap: 40px; }
    .fl-page-body__grid { grid-template-columns: 1fr; gap: 40px; }
    .fl-contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .fl-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .fl-footer__bottom .container { flex-direction: column; text-align: center; }

    .fl-block, .fl-trust-band, .fl-areas-band, .fl-areas-grid-band,
    .fl-services-band, .fl-autism-band, .fl-process, .fl-reviews,
    .fl-final-cta, .fl-page-body { padding: 60px 0; }
}

@media (max-width: 540px) {
    .container, .wrap, .fl-topbar__inner, .fl-header__inner,
    .fl-trust-strip__inner, .fl-footer__grid { padding-left: 18px; padding-right: 18px; }
    .fl-trust-stats { grid-template-columns: 1fr 1fr; }
    .fl-cities-grid { grid-template-columns: 1fr; }
    .fl-areas-list { grid-template-columns: 1fr 1fr; }
    .fl-process-grid { grid-template-columns: 1fr; }
    .fl-autism-band__media { aspect-ratio: 4/3; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .fl-topbar, .fl-header, .fl-footer, .fl-final-cta, .fl-side-cta,
    .fl-page-hero__overlay, .fl-page-hero__bg { display: none !important; }
    body { background: white; color: black; }
    a { color: black; text-decoration: underline; }
}

/* ============================================================
   v3.0.1 — FORM POLISH (override GF defaults + size down)
   ============================================================ */

/* Make the side card more compact */
.fl-hero__form,
.fl-hero__card {
    padding: 22px 22px 20px;
}
.fl-quote-form__title {
    font-size: 1.15rem;
    margin: 0 0 10px;
}

/* Tighter form field spacing */
.fl-gf-wrapper .gform_fields,
body .fl-gf-wrapper .gform_fields {
    gap: 10px;
}

.fl-gf-wrapper .gfield_label,
body .fl-gf-wrapper .gfield_label {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
    color: var(--fl-green-900);
    font-weight: 600;
}
.fl-gf-wrapper .gfield_required,
body .fl-gf-wrapper .gfield_required {
    font-size: 0.72rem;
    color: var(--fl-gold-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-left: 4px;
}

/* Smaller, denser inputs */
.fl-gf-wrapper input[type=text],
.fl-gf-wrapper input[type=email],
.fl-gf-wrapper input[type=tel],
.fl-gf-wrapper input[type=url],
.fl-gf-wrapper input[type=number],
.fl-gf-wrapper textarea,
.fl-gf-wrapper select,
body .fl-gf-wrapper input[type=text],
body .fl-gf-wrapper input[type=email],
body .fl-gf-wrapper input[type=tel],
body .fl-gf-wrapper input[type=url],
body .fl-gf-wrapper input[type=number],
body .fl-gf-wrapper textarea,
body .fl-gf-wrapper select {
    padding: 9px 12px;
    font-size: 0.9rem;
    border-radius: 8px;
    border-color: #DCD5C0;
}
.fl-gf-wrapper input::placeholder,
.fl-gf-wrapper textarea::placeholder {
    color: #A8B0AB;
    font-style: italic;
}
.fl-gf-wrapper textarea,
body .fl-gf-wrapper textarea {
    min-height: 84px;
}

/* Submit button — force green, beat GF's blue.
   Multiple selectors + !important to crush the cascade no matter
   what stylesheet load order GF picks. */
.fl-gf-wrapper .gform_button,
.fl-gf-wrapper input[type=submit],
.fl-gf-wrapper button[type=submit],
body .fl-gf-wrapper .gform_button,
body .fl-gf-wrapper input[type=submit],
body .fl-gf-wrapper button[type=submit],
html body .gform_wrapper .gform_button,
html body .gform_wrapper input[type=submit] {
    background: var(--fl-green-900) !important;
    background-color: var(--fl-green-900) !important;
    background-image: none !important;
    color: var(--fl-cream-50) !important;
    border: 1.5px solid var(--fl-green-900) !important;
    border-radius: 999px !important;
    padding: 11px 22px !important;
    font-family: var(--fl-body) !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    letter-spacing: 0.01em !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease !important;
    text-shadow: none !important;
    box-shadow: none !important;
    margin-top: 4px !important;
}
.fl-gf-wrapper .gform_button:hover,
.fl-gf-wrapper input[type=submit]:hover,
.fl-gf-wrapper button[type=submit]:hover,
body .fl-gf-wrapper .gform_button:hover,
body .fl-gf-wrapper input[type=submit]:hover,
html body .gform_wrapper .gform_button:hover,
html body .gform_wrapper input[type=submit]:hover {
    background: var(--fl-green-800) !important;
    background-color: var(--fl-green-800) !important;
    border-color: var(--fl-green-800) !important;
    color: var(--fl-cream-50) !important;
    transform: translateY(-1px);
    box-shadow: var(--fl-shadow-md) !important;
}
.fl-gf-wrapper .gform_button:focus,
.fl-gf-wrapper input[type=submit]:focus {
    outline: 2px solid var(--fl-gold-500) !important;
    outline-offset: 2px !important;
}

/* Footer "(Required)" wording — Gravity Forms outputs as ".gfield_required_text" sometimes */
.fl-gf-wrapper .gfield_required_text,
body .fl-gf-wrapper .gfield_required_text {
    color: var(--fl-gold-500);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

/* Tighter footer in form (e.g., GF's gform_footer wrapper) */
.fl-gf-wrapper .gform_footer,
body .fl-gf-wrapper .gform_footer {
    padding: 8px 0 0;
    margin: 6px 0 0;
}

/* ============================================================
   v3.0.2 — FOOTER LINK COLOR OVERRIDE
   The parent theme (lmh-parent) ships an a-tag color rule that
   wins over our footer styles. Crush it with high specificity.
   ============================================================ */
.fl-footer a,
.fl-footer .fl-footer__list a,
.fl-footer .fl-footer__col a,
body .fl-footer a,
body .fl-footer .fl-footer__list a,
html body footer.fl-footer a,
html body footer.fl-footer .fl-footer__list li a {
    color: rgba(245,239,224,0.78) !important;
    text-decoration: none !important;
    transition: color .15s ease !important;
}
.fl-footer a:hover,
.fl-footer .fl-footer__list a:hover,
body .fl-footer a:hover,
html body footer.fl-footer .fl-footer__list li a:hover {
    color: var(--fl-gold-400) !important;
    text-decoration: none !important;
}

/* Preserve special-cased footer text */
.fl-footer .fl-footer__phone a,
html body footer.fl-footer .fl-footer__phone a {
    color: var(--fl-gold-400) !important;
    font-family: var(--fl-display) !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
}
.fl-footer .fl-footer__phone a:hover,
html body footer.fl-footer .fl-footer__phone a:hover {
    color: var(--fl-gold-500) !important;
}

/* Footer credit line */
.fl-footer .fl-footer__credit a,
html body footer.fl-footer .fl-footer__credit a {
    color: var(--fl-gold-400) !important;
    font-size: 0.82rem !important;
}
.fl-footer .fl-footer__credit a:hover,
html body footer.fl-footer .fl-footer__credit a:hover {
    color: var(--fl-gold-500) !important;
}

/* Footer column titles stay gold */
.fl-footer .fl-footer__title,
html body footer.fl-footer .fl-footer__title {
    color: var(--fl-gold-400) !important;
    font-family: var(--fl-body) !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

/* Make sure footer body text stays readable */
.fl-footer .fl-footer__desc,
html body footer.fl-footer .fl-footer__desc {
    color: rgba(245,239,224,0.70) !important;
}

/* ============================================================
   v3.0.3 — ENTRY-CONTENT IMAGE NORMALIZATION
   The imported page content has images of wildly different
   sizes (1080x1080, 1024x1364, etc.) sitting on their own line
   right after each H2. Constrain them to a uniform 16:10 box,
   cap width, and float right so the related copy wraps beside.
   Each H2 clears the previous float so sections start fresh.
   ============================================================ */

/* Contain floats so they don't overflow into other sections */
.entry-content {
    overflow: hidden;
}

/* The <p> that wraps a single <img> becomes a right-floating figure */
.entry-content p:has(> img:only-child),
.entry-content p:has(> a > img:only-child) {
    float: right;
    clear: right;
    width: 360px;
    max-width: 42%;
    margin: 4px 0 20px 28px;
}

/* Uniform image rendering — same width, same 16:10 aspect, cropped to fill */
.entry-content p > img,
.entry-content p > a > img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: var(--fl-radius-md);
    box-shadow: var(--fl-shadow-sm);
    display: block;
    margin: 0;
}

/* Each section heading clears the previous float so layout doesn't run together */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    clear: both;
}

/* Standalone <figure> blocks get the same treatment */
.entry-content figure {
    float: right;
    clear: right;
    width: 360px;
    max-width: 42%;
    margin: 4px 0 20px 28px;
}
.entry-content figure img {
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
    border-radius: var(--fl-radius-md);
    box-shadow: var(--fl-shadow-sm);
    display: block;
    margin: 0;
}
.entry-content figure figcaption {
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--fl-ink-500);
    text-align: center;
}

/* Mobile: stop floating, stack full-width */
@media (max-width: 720px) {
    .entry-content p:has(> img:only-child),
    .entry-content p:has(> a > img:only-child),
    .entry-content figure {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 20px 0;
    }
    .entry-content p > img,
    .entry-content p > a > img,
    .entry-content figure img {
        aspect-ratio: 16 / 9 !important;
    }
}

/* Fallback for browsers without :has() (older Firefox/Safari) */
@supports not (selector(:has(*))) {
    .entry-content img {
        width: 100% !important;
        max-width: 600px !important;
        height: auto !important;
        aspect-ratio: 16 / 10 !important;
        object-fit: cover !important;
        border-radius: var(--fl-radius-md);
        margin: 20px auto !important;
        display: block !important;
    }
}

/* ============================================================

/* ============================================================
   v3.0.5 — Reverted gallery filter; kept v3.0.3 inline image
   layout (float-right with uniform 16:10 aspect ratio).
   ============================================================ */

/* ============================================================
   v3.0.6 — FULL-WIDTH BANNER IMAGE
   The first standalone <img> in entry-content (or any <p>
   tagged with .fl-banner-img) renders full-width above the
   first H2 — no float, natural aspect ratio.
   ============================================================ */
.entry-content > p.fl-banner-img,
.entry-content > p:first-child:has(> img:only-child),
.entry-content > p:first-of-type:has(> img:only-child) {
    float: none !important;
    clear: both;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 32px !important;
}
.entry-content > p.fl-banner-img img,
.entry-content > p.fl-banner-img > a > img,
.entry-content > p:first-child:has(> img:only-child) img,
.entry-content > p:first-child:has(> img:only-child) > a > img,
.entry-content > p:first-of-type:has(> img:only-child) img,
.entry-content > p:first-of-type:has(> img:only-child) > a > img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: var(--fl-radius-md);
    box-shadow: none !important;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================================
   v3.0.7 — BLOG CARD MEDIA + FULL-WIDTH POST IMAGES
   1) Make sure blog-card thumbnail images cover the media box
      uniformly (both featured-image and inline-image fallbacks).
   2) On single-post pages (.fl-post), every inline content image
      is full-width — never floats right, never tiny.
   ============================================================ */

/* Blog card thumbnail — uniform crop */
.fl-blog-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    aspect-ratio: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

/* Single post body — full-width inline images, no float */
.fl-post p:has(> img:only-child),
.fl-post p:has(> a > img:only-child),
.fl-post figure,
body.single .entry-content > p:has(> img:only-child),
body.single .entry-content > p:has(> a > img:only-child),
body.single .entry-content > figure {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 28px 0 !important;
}
.fl-post p > img,
.fl-post p > a > img,
.fl-post figure img,
body.single .entry-content > p > img,
body.single .entry-content > p > a > img,
body.single .entry-content > figure img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    border-radius: var(--fl-radius-md) !important;
    box-shadow: var(--fl-shadow-sm) !important;
    margin: 0 !important;
    display: block !important;
}

/* ============================================================
   v3.0.8 — STRIP UNDERLINE FROM BUTTONS IN POST BODY
   The .fl-page-body__main a rule (gold-underlined links inside
   entry-content prose) was bleeding onto .fl-btn anchors. Exclude
   buttons and any anchor inside .fl-post-cta / .fl-side-cta.
   ============================================================ */
.fl-page-body__main a.fl-btn,
.fl-page-body__main .fl-post-cta a,
.fl-page-body__main .fl-post-cta a.fl-btn,
.fl-page-body__main a.fl-btn:hover,
.fl-page-body__side a.fl-btn,
.fl-side-cta a,
.fl-side-cta a.fl-btn {
    text-decoration: none !important;
    text-decoration-color: transparent !important;
}

/* Defensive: remove text-decoration from any descendants of fl-btn */
a.fl-btn,
a.fl-btn *,
.fl-btn,
.fl-btn * {
    text-decoration: none !important;
}

/* ============================================================
   v3.0.9 — BUTTON TEXT COLOR INSIDE POST BODY
   The .fl-page-body__main a { color: green-800 } prose-link rule
   was inheriting onto .fl-btn anchors making their text invisible
   against the green pill background. Force button text colors to
   match their variant regardless of context.
   ============================================================ */
.fl-page-body__main a.fl-btn,
.fl-page-body__main .fl-post-cta a.fl-btn,
.fl-page-body__side a.fl-btn,
.fl-side-cta a.fl-btn,
body .fl-page-body__main a.fl-btn {
    color: var(--fl-cream-50) !important;
}

/* Ghost variants keep dark green text */
.fl-page-body__main a.fl-btn.fl-btn--ghost,
.fl-page-body__main .fl-post-cta a.fl-btn.fl-btn--ghost,
.fl-page-body__side a.fl-btn.fl-btn--ghost,
body .fl-page-body__main a.fl-btn.fl-btn--ghost {
    color: var(--fl-green-900) !important;
}
.fl-page-body__main a.fl-btn.fl-btn--ghost:hover,
body .fl-page-body__main a.fl-btn.fl-btn--ghost:hover {
    color: var(--fl-cream-50) !important;
}

/* Ghost-light keeps cream text */
.fl-page-body__main a.fl-btn.fl-btn--ghost-light,
body .fl-page-body__main a.fl-btn.fl-btn--ghost-light {
    color: var(--fl-cream-50) !important;
}
.fl-page-body__main a.fl-btn.fl-btn--ghost-light:hover,
body .fl-page-body__main a.fl-btn.fl-btn--ghost-light:hover {
    color: var(--fl-green-900) !important;
}

/* Gold variants keep dark text */
.fl-page-body__main a.fl-btn.fl-btn--gold,
body .fl-page-body__main a.fl-btn.fl-btn--gold {
    color: var(--fl-green-900) !important;
}

/* Defensive: any descendant of .fl-btn (icons, spans) inherits properly */
.fl-page-body__main a.fl-btn *,
.fl-page-body__side a.fl-btn *,
.fl-side-cta a.fl-btn * {
    color: inherit !important;
}

/* ============================================================
   v3.1.0 — SVG PHONE ICON (replaces 📞 emoji)
   Injects a vector phone icon before any tel: link inside .fl-btn
   or .fl-topbar__phone or .fl-contact-phone. Uses CSS mask so the
   icon picks up currentColor from the parent — works on green
   buttons, gold buttons, dark topbars, anywhere.
   ============================================================ */

a.fl-btn[href^="tel:"]::before,
a.fl-topbar__phone::before,
.fl-contact-phone::before,
a[href^="tel:"].fl-contact-phone::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.5em;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg 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'><path 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'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg 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'><path 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'/></svg>");
    -webkit-mask-size: contain;
            mask-size: contain;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    vertical-align: -0.12em;
}

/* The legacy fl-phone-icon span in topbar — hide its old ☎ char,
   the ::before above on the parent <a> handles the icon */
.fl-topbar__phone .fl-phone-icon { display: none; }
.fl-phone-icon::before { content: ""; }

/* Don't double-up icon on already-styled CTA bars */
.fl-page-hero__cta a.fl-btn[href^="tel:"]::before,
.fl-hero__cta a.fl-btn[href^="tel:"]::before,
.cta-actions a.fl-btn[href^="tel:"]::before {
    /* keep the icon */
}

/* ============================================================
   v3.1.1 — FULL-WIDTH IMAGES ON SERVICE-AREA PAGES
   The body class fl-service-area is set by flplumbing_body_class()
   for any page with a slug ending in -az. Beat the float-right
   rule from v3.0.3 and render images full-width instead.
   ============================================================ */
body.fl-service-area .entry-content > p:has(> img:only-child),
body.fl-service-area .entry-content > p:has(> a > img:only-child),
body.fl-service-area .entry-content > figure,
body.fl-service-area .entry-content p:has(> img:only-child),
body.fl-service-area .entry-content p:has(> a > img:only-child),
body.fl-service-area .entry-content figure {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 28px 0 !important;
}
body.fl-service-area .entry-content p > img,
body.fl-service-area .entry-content p > a > img,
body.fl-service-area .entry-content figure img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    border-radius: var(--fl-radius-md) !important;
    box-shadow: var(--fl-shadow-sm) !important;
    margin: 0 !important;
    display: block !important;
}

/* ============================================================
   v3.1.2 — HEADER LOGO HEIGHT
   ============================================================ */
.fl-header__brand img,
header.fl-header .fl-header__brand img,
body header.fl-header .fl-header__brand img {
    height: 100px !important;
    width: auto !important;
    max-width: 100%;
}

/* ============================================================
   v3.1.4 — LIGHTER HERO OVERLAY
   Drop the heavy darkening so the background photo shows through.
   Compensate with stronger text-shadows so headline / lede / bullets
   stay readable on a brighter scrim, plus a soft localized scrim
   behind the .fl-hero__content column only.
   ============================================================ */

/* Lighter overall overlay — just a subtle dark tint + soft vignette */
.fl-hero__overlay,
section.fl-hero .fl-hero__overlay {
    background:
        linear-gradient(180deg, rgba(8,30,22,0.18) 0%, rgba(8,30,22,0.28) 100%),
        radial-gradient(900px 500px at 75% 50%, rgba(8,30,22,0.0), rgba(8,30,22,0.18) 100%) !important;
}

/* Soft localized scrim behind hero content text (left column only) */
.fl-hero__content {
    position: relative;
}
.fl-hero__content::before {
    content: "";
    position: absolute;
    inset: -20px -30px;
    background: radial-gradient(ellipse at 30% 50%, rgba(8,30,22,0.55) 0%, rgba(8,30,22,0.35) 50%, rgba(8,30,22,0.0) 80%);
    z-index: -1;
    pointer-events: none;
    border-radius: 24px;
    filter: blur(6px);
}

/* Strong text shadows so content stays legible against the lighter overlay */
.fl-hero__title,
section.fl-hero .fl-hero__title {
    text-shadow:
        0 2px 6px rgba(0,0,0,0.55),
        0 4px 28px rgba(0,0,0,0.45),
        0 1px 1px rgba(0,0,0,0.7) !important;
}
.fl-hero .fl-eyebrow {
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.fl-hero__bullets li {
    text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}

/* ============================================================
   v3.1.5 — INLINE TESTIMONIALS (in entry-content)
   When the testimonials replacement filter injects the styled
   review-grid into post content, give it a friendly inline
   container — cream card, padded, stacks to 1 col when the
   content column is narrow (i.e. when there's a sidebar).
   ============================================================ */
.fl-reviews-inline {
    margin: 50px 0;
    padding: 40px 36px;
    background: var(--fl-cream-100);
    border-radius: var(--fl-radius-lg);
    border: 1px solid var(--fl-line);
}
.fl-reviews-inline .fl-section-head {
    margin-bottom: 36px;
}
.fl-reviews-inline h3 {
    font-family: var(--fl-display);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    color: var(--fl-green-900);
    margin: 0 0 10px;
}
.fl-reviews-inline > .fl-section-head p {
    font-size: 0.95rem;
    color: var(--fl-ink-500);
}
.fl-reviews-inline .fl-review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.fl-reviews-inline .fl-review-card {
    background: white;
    border: 1px solid var(--fl-line);
    border-radius: var(--fl-radius-md);
    padding: 22px;
}
.fl-reviews-inline .fl-review-card p {
    font-size: 0.93rem;
}

/* Narrower content column (page-body grid with sidebar) — 1 col */
.fl-page-body__main .fl-reviews-inline .fl-review-grid {
    grid-template-columns: 1fr;
}

@media (max-width: 880px) {
    .fl-reviews-inline {
        padding: 28px 22px;
        margin: 36px 0;
    }
    .fl-reviews-inline .fl-review-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   v3.1.6 — INLINE TESTIMONIALS NOW 2-UP
   The replacement filter only renders 2 cards (homepage stays
   at 3 since it uses inline markup). Switch grid to 2-col.
   ============================================================ */
.fl-reviews-inline .fl-review-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}
.fl-page-body__main .fl-reviews-inline .fl-review-grid {
    grid-template-columns: 1fr !important;
}
@media (max-width: 880px) {
    .fl-reviews-inline .fl-review-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   v3.1.7 — INLINE REVIEWS FILL CONTENT WIDTH
   Use auto-fit grid so the cards expand to fill whatever content
   area they're in. Each card needs at least 360px before wrapping.
   Also crush any earlier rule that was forcing a single column.
   ============================================================ */
.fl-reviews-inline,
.entry-content .fl-reviews-inline,
.fl-page-body__main .fl-reviews-inline,
.fl-contact-extra .fl-reviews-inline {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    margin: 50px 0 !important;
}
.fl-reviews-inline .fl-review-grid,
.entry-content .fl-reviews-inline .fl-review-grid,
.fl-page-body__main .fl-reviews-inline .fl-review-grid,
.fl-contact-extra .fl-reviews-inline .fl-review-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important;
    gap: 20px !important;
}
.fl-reviews-inline .fl-review-card {
    min-width: 0;
}
@media (max-width: 720px) {
    .fl-reviews-inline .fl-review-grid,
    .fl-page-body__main .fl-reviews-inline .fl-review-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   PRIMARY NAV — DROPDOWN SUBMENU (added v3.2.4)
   Adds styling for .menu-item-has-children + .sub-menu so
   second-level menu items render as a proper dropdown panel
   on desktop and as indented stacked links on mobile.
   ============================================================ */

.fl-mainnav__list > li.menu-item-has-children {
    position: relative;
}
.fl-mainnav__list > li.menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .15s ease;
    opacity: .65;
}
.fl-mainnav__list > li.menu-item-has-children:hover > a::after,
.fl-mainnav__list > li.menu-item-has-children:focus-within > a::after {
    transform: translateY(0) rotate(225deg);
    opacity: 1;
}

.fl-mainnav__list .sub-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: -14px;
    min-width: 220px;
    background: var(--fl-cream-50);
    border-top: 3px solid var(--fl-gold-500);
    border-radius: 0 0 var(--fl-radius-sm) var(--fl-radius-sm);
    box-shadow: var(--fl-shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
    z-index: 50;
}
.fl-mainnav__list > li.menu-item-has-children:hover > .sub-menu,
.fl-mainnav__list > li.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .15s ease, transform .15s ease, visibility 0s linear 0s;
}

.fl-mainnav__list .sub-menu li {
    list-style: none;
}
.fl-mainnav__list .sub-menu li a {
    display: block;
    padding: 9px 18px;
    font-family: var(--fl-body);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--fl-ink-700);
    white-space: nowrap;
    transition: background-color .12s ease, color .12s ease;
}
.fl-mainnav__list .sub-menu li a:hover,
.fl-mainnav__list .sub-menu li.current-menu-item a {
    background: var(--fl-cream-100);
    color: var(--fl-green-900);
}
.fl-mainnav__list .sub-menu li.current-menu-item a::after {
    display: none;
}

@media (max-width: 880px) {
    .fl-mainnav__list .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border-top: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 6px 0 0;
        min-width: 0;
        transition: none;
    }
    .fl-mainnav__list .sub-menu li a {
        padding: 6px 0 6px 16px;
        white-space: normal;
        font-size: 0.9rem;
    }
    .fl-mainnav__list .sub-menu li a:hover,
    .fl-mainnav__list .sub-menu li.current-menu-item a {
        background: transparent;
    }
    .fl-mainnav__list > li.menu-item-has-children > a::after {
        display: none;
    }
}

/* ============================================================
   PRIMARY NAV — FIT FIX (added v3.2.5)
   With 7 top-level menu items the nav was wrapping mid-label
   inside the 1200px header. Tighten gaps, drop the font slightly,
   prevent labels from breaking mid-word, shrink chevron margin.
   Override-only — does not touch the v3.2.1/v3.2.4 rules above.
   ============================================================ */

/* No mid-word wrapping on top-level labels (e.g. "Install &" / "Repair") */
.fl-mainnav__list > li > a {
    white-space: nowrap;
}

/* Tighter horizontal rhythm + smaller font on desktop top-level only */
.fl-mainnav__list {
    gap: 18px;
}
.fl-mainnav__list > li > a {
    font-size: 0.9rem;
}

/* Chevron sits closer to the label now that gaps are tighter */
.fl-mainnav__list > li.menu-item-has-children > a::after {
    margin-left: 4px;
}

/* Mobile (≤880px): restore the original column layout's gap.
   The earlier rule sets gap: 12px column — keep it. */
@media (max-width: 880px) {
    .fl-mainnav__list {
        gap: 12px;
    }
    .fl-mainnav__list > li > a {
        white-space: normal;
        font-size: 0.95rem;
    }
}

/* ============================================================
   TRUST BADGES — REFINED CARD GRID (added v3.2.6)
   Replaces the bare 2-image strip with a 4-cell linked grid.
   Cards mirror the stat cards above (white surface, soft shadow,
   rounded corners) and lift on hover. Each cell is an <a>.
   ============================================================ */

.fl-trust-badges {
    --fl-tb-card: #FFFFFF;
    --fl-tb-line: var(--fl-line);
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.fl-trust-badges .fl-trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 26px 20px 22px;
    background: var(--fl-tb-card);
    border: 1px solid var(--fl-tb-line);
    border-radius: var(--fl-radius-md);
    box-shadow: var(--fl-shadow-sm);
    text-decoration: none;
    color: var(--fl-ink-900);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    position: relative;
    overflow: hidden;
    min-height: 168px;
}

.fl-trust-badges .fl-trust-badge::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fl-gold-500), var(--fl-gold-400));
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .25s ease;
}

.fl-trust-badges .fl-trust-badge:hover,
.fl-trust-badges .fl-trust-badge:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--fl-shadow-md);
    border-color: var(--fl-gold-400);
    outline: none;
}
.fl-trust-badges .fl-trust-badge:hover::before,
.fl-trust-badges .fl-trust-badge:focus-visible::before {
    transform: scaleX(1);
}

/* Art slot — keeps each badge centered in a fixed-height area
   so cards stay the same shape regardless of source asset. */
.fl-trust-badges .fl-trust-badge__art {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: 100%;
}
.fl-trust-badges .fl-trust-badge__art img,
.fl-trust-badges .fl-trust-badge__art svg {
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Caption */
.fl-trust-badges .fl-trust-badge__caption {
    font-family: var(--fl-body);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--fl-ink-700);
    text-align: center;
    line-height: 1.35;
    letter-spacing: .01em;
}
.fl-trust-badges .fl-trust-badge:hover .fl-trust-badge__caption {
    color: var(--fl-green-900);
}

/* Google card — stars + "5.0 on Google" stack */
.fl-trust-badges .fl-trust-badge__stars {
    display: block;
    color: var(--fl-gold-500);
    font-size: 1.05rem;
    letter-spacing: 2px;
    line-height: 1;
}
.fl-trust-badges .fl-trust-badge__sub {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    color: var(--fl-ink-500);
    font-weight: 500;
    letter-spacing: .02em;
}

/* Autism card gets a subtle gold tint on hover instead of just lift */
.fl-trust-badges .fl-trust-badge--autism:hover {
    background: var(--fl-cream-50);
}

/* Responsive — 2 columns at tablet, 1 at small phones */
@media (max-width: 880px) {
    .fl-trust-badges {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin-top: 28px;
    }
    .fl-trust-badges .fl-trust-badge {
        min-height: 152px;
        padding: 22px 16px 18px;
    }
}
@media (max-width: 480px) {
    .fl-trust-badges {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   TOP-NAV — BOLD WEIGHT (added v3.2.6)
   The earlier v3.2.5 fit-fix dropped font-size to 0.9rem and
   weight stayed 500. Make labels bolder for stronger presence.
   ============================================================ */
.fl-mainnav__list > li > a {
    font-weight: 600;
}
/* Active page reads heaviest */
.fl-mainnav__list > li.current-menu-item > a,
.fl-mainnav__list > li.current-menu-parent > a,
.fl-mainnav__list > li.current-menu-ancestor > a {
    font-weight: 700;
}

/* ============================================================
   MOBILE HEADER TIDY (added v3.2.7)
   - Hide the "Family-Owned · Licensed · Bonded · Insured" line
     in the topbar so the topbar reads cleanly on phones.
   - Hide the header "Get a Quote" CTA so the hamburger sits
     flush right next to the brand logo.
   - Slightly shrink the brand logo so it doesn't dominate.
   Override-only — does not touch any earlier rule.
   ============================================================ */

@media (max-width: 880px) {
    /* Topbar credentials (the second span next to the 24/7 pill) */
    .fl-topbar__inner > div > span:not(.fl-topbar__lead) {
        display: none;
    }

    /* Header CTA wrapper — only direct <div> child of .fl-header__inner
       is the Get-a-Quote button wrapper. Hiding it lets the hamburger
       sit at the right edge via the existing space-between layout. */
    .fl-header__inner > div {
        display: none;
    }

    /* Smaller brand logo on mobile */
    .fl-header__brand img {
        height: 44px;
    }
}

/* ============================================================
   v3.2.8 — FIX MOBILE HEADER CTA HIDING
   The v3.2.7 mobile rule lost a specificity fight: header.php
   had inline style="display:flex" on the Get-a-Quote wrapper,
   which beats any external rule. v3.2.8 replaces that inline
   style with class .fl-header__cta and styles it here. The
   mobile media query then hides it cleanly without !important.

   Also: stronger selector on the mobile logo size, in case the
   parent theme's rule was outranking the v3.2.7 override.
   ============================================================ */

/* Desktop: replicate the styles that were inline on the wrapper */
.fl-header__cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

@media (max-width: 880px) {
    /* Hide the header CTA wrapper now that it has a real class */
    .fl-header__cta {
        display: none;
    }

    /* Stronger logo selector — beats any parent-theme rule */
    .fl-header .fl-header__brand img {
        height: 44px;
    }
}
