/* ==========================================================================
   ACF Hero Section Block
   Based on DESIGN/Landing Page.html
   ========================================================================== */

.wp-block-custom-blocks-hero-section {
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

html:has(.site-main.no-header-page) {
    scroll-behavior: auto !important;
}

.site-main.no-header-page {
    padding: 0 !important;
}

.site-main.no-header-page .entry-content {
    padding: 0 !important;
    margin: 0 !important;
}

.wp-block-custom-blocks-hero-section .hero-section,
.hero-section.alignfull {
    --fh-green: #64a50e;
    --fh-green-dark: #4a7d09;
    --fh-forest: #213a0e;
    --fh-ink: #18200f;
    --fh-ink-soft: #4a5340;
    --fh-cream: #faf7f0;
    --fh-line: #d9d5c4;
    --fh-accent-light: #c5e88a;
    --fh-kicker: #d6e6b0;
    --fh-font-display: 'Instrument Serif', Georgia, serif;
    --fh-font-body: 'Manrope', 'Roboto', sans-serif;
    --fh-font-mono: 'JetBrains Mono', monospace;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    background: none !important;
    text-align: left !important;
    font-family: var(--fh-font-body) !important;
    color: var(--fh-ink) !important;
}

.entry-content > .hero-section.alignfull,
.content-wrapper > .hero-section.alignfull,
.container > .hero-section.alignfull {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.hero-section__wrap {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 32px !important;
}

.hero-section__header {
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    background: rgba(250, 247, 240, 0.92) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid var(--fh-line) !important;
}

.hero-section__header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 76px !important;
    gap: 32px !important;
}

.hero-section__brand {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: inherit !important;
}

.hero-section__brand img {
    display: block !important;
    height: 44px !important;
    width: auto !important;
    max-width: 312px !important;
}

.hero-section__header-cta {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-shrink: 0 !important;
}

.hero-section__phone-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    color: var(--fh-ink) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.hero-section__phone-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: var(--fh-green) !important;
    box-shadow: 0 0 0 4px rgba(100, 165, 14, 0.18) !important;
    flex-shrink: 0 !important;
}

.hero-section__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 22px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    letter-spacing: 0.01em !important;
    border: 1px solid transparent !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease !important;
}

.hero-section__btn--primary {
    background: var(--fh-green) !important;
    color: #fff !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 8px 20px -10px rgba(74, 125, 9, 0.45) !important;
}

.hero-section__btn--primary:hover {
    background: var(--fh-green-dark) !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
}

.hero-section__btn--on-dark {
    background: #fff !important;
    color: var(--fh-forest) !important;
    font-size: 18px !important;
    padding: 12px 29px 12px 22px !important;
}

.hero-section__btn--on-dark:hover {
    background: var(--fh-cream) !important;
    color: var(--fh-forest) !important;
}

.hero-section__btn-arrow {
    margin-left: 4px !important;
}

.hero-section__hero {
    position: relative !important;
    overflow: hidden !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    min-height: 720px !important;
    color: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    padding-bottom: 72px !important;
}

.hero-section__bg {
    position: absolute !important;
    inset: 0 !important;
    background-size: cover !important;
    background-position: center 35% !important;
    filter: saturate(1.05) !important;
}

.hero-section__overlay {
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(30, 30, 30, 0.55) 0%, rgba(30, 30, 30, 0.45) 30%, rgba(20, 20, 20, 0.7) 70%, rgba(15, 15, 15, 0.85) 100%),
        linear-gradient(90deg, rgba(25, 25, 25, 0.6) 0%, rgba(25, 25, 25, 0.25) 65%, rgba(25, 25, 25, 0) 100%) !important;
}

.hero-section__content {
    position: relative !important;
    width: 100% !important;
    z-index: 2 !important;
    padding-top: 67px !important;
    padding-bottom: 104px !important;
}

.hero-section__kicker {
    font-family: var(--fh-font-mono) !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--fh-kicker) !important;
    margin-bottom: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.hero-section__kicker::before {
    content: "" !important;
    width: 24px !important;
    height: 1px !important;
    background: var(--fh-kicker) !important;
    flex-shrink: 0 !important;
}

.wp-block-custom-blocks-hero-section .hero-section__title,
.hero-section.alignfull .hero-section__title,
h1.hero-section__title {
    font-family: var(--fh-font-display) !important;
    font-weight: 400 !important;
    font-size: clamp(72px, 12vw, 60px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.025em !important;
    max-width: 14ch !important;
    margin: 0 0 28px !important;
    color: #fff !important;
}

.wp-block-custom-blocks-hero-section .hero-section__title p,
.hero-section__title p {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    color: inherit !important;
    margin: 0 !important;
}

.wp-block-custom-blocks-hero-section .hero-section__title em,
.hero-section__title em {
    font-style: italic !important;
    color: var(--fh-accent-light) !important;
}

.wp-block-custom-blocks-hero-section .hero-section__title strong,
.wp-block-custom-blocks-hero-section .hero-section__title b,
.hero-section__title strong,
.hero-section__title b {
    font-weight: 700 !important;
}

.hero-section__description {
    font-size: 19px !important;
    line-height: 1.5 !important;
    max-width: 52ch !important;
    color: rgba(255, 255, 255, 0.88) !important;
    margin: 0 0 36px !important;
}

.hero-section__actions {
    display: flex !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

.hero-section__strip {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 3 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: rgba(20, 30, 10, 0.55) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

.hero-section__strip-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 32px !important;
    padding-top: 22px !important;
    padding-bottom: 22px !important;
}

.hero-section__strip-cell {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-section__strip-title {
    font-family: var(--fh-font-display) !important;
    font-size: 34px !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    color: var(--fh-accent-light) !important;
}

.hero-section__strip-subtitle {
    font-size: 13px !important;
    margin-top: 6px !important;
    color: rgba(255, 255, 255, 0.75) !important;
}

@media (max-width: 960px) {
    .hero-section__wrap {
        padding: 0 22px !important;
    }

    .hero-section__header-row {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 16px 0 !important;
        gap: 14px !important;
    }

    .hero-section__brand {
        justify-content: center !important;
    }

    .hero-section__brand img {
        height: 36px !important;
    }

    .hero-section__header-cta {
        display: none !important;
    }

    .hero-section__content {
        padding-top: 96px !important;
        padding-bottom: 120px !important;
    }

    .hero-section__kicker {
        margin-top: 8px !important;
    }

    .wp-block-custom-blocks-hero-section .hero-section__title,
    .hero-section.alignfull .hero-section__title,
    h1.hero-section__title {
        font-size: clamp(40px, 9vw, 56px) !important;
        max-width: none !important;
    }

    .hero-section__hero {
        min-height: 620px !important;
        padding-bottom: 180px !important;
    }

    .hero-section__strip {
        padding: 8px 0 !important;
    }

    .hero-section__strip-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px 24px !important;
        padding: 28px 8px !important;
    }

    .hero-section__strip-cell {
        padding: 8px 12px !important;
    }

    .hero-section__strip-title {
        font-size: 28px !important;
    }
}

@media (max-width: 480px) {
    .hero-section__header-row {
        padding: 14px 0 !important;
        gap: 12px !important;
    }

    .hero-section__phone-link {
        font-size: 14px !important;
    }

    .hero-section__btn {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }

    .hero-section__btn--on-dark {
        font-size: 16px !important;
    }

    .hero-section__content {
        padding-top: 88px !important;
    }

    .wp-block-custom-blocks-hero-section .hero-section__title,
    .hero-section.alignfull .hero-section__title,
    h1.hero-section__title {
        font-size: clamp(32px, 8.5vw, 44px) !important;
    }

    .hero-section__description {
        font-size: 17px !important;
    }

    .hero-section__strip-grid {
        gap: 16px 20px !important;
        padding: 24px 4px !important;
    }

    .hero-section__strip-cell {
        padding: 10px 8px !important;
    }

    .hero-section__strip-title {
        font-size: 24px !important;
    }
}


.our-services__item-title{
    color: white !important;
}