/* Shared hero component. First enabled on the homepage for design review. */
.homepage-hero-layout, .homepage-hero-grid { display: contents; }
.hero-desktop-only, .hero-logo-mark, .hero-nav-phone, .hero-desktop-intro,
.hero-feature-cards, .hero-confidence, .hero-benefits-wrap, .hero-ribbon { display: none; }
.hero-desktop-only { display: none !important; }

/* Header and hero share opaque, raised buttons with a tactile pressed state. */
.site-hero .hero .cta-group > a,
.site-hero-page .navbar .nav-links a.btn-3d-pill,
.site-hero-page .navbar .hero-nav-phone a {
    --hero-button-surface: linear-gradient(180deg, #21a633, #158329);
    --hero-button-hover: linear-gradient(180deg, #26af39, #178d2d);
    --hero-button-edge: #096321;
    --hero-button-border: #16812c;
    --hero-button-text: #fff;
    background: var(--hero-button-surface) !important;
    color: var(--hero-button-text) !important;
    border: 1px solid var(--hero-button-border) !important;
    border-bottom-width: 1px !important;
    border-radius: 17px !important;
    box-shadow: 0 6px 0 var(--hero-button-edge), 0 13px 22px -8px #17472940,
        inset 0 1px 0 #ffffff30 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: translateY(0) !important;
    text-shadow: none !important;
    letter-spacing: .01em !important;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease !important;
    -webkit-tap-highlight-color: transparent;
}
.site-hero .hero .cta-group > a[href^="tel:"],
.site-hero-page .navbar .hero-nav-phone a {
    --hero-button-surface: linear-gradient(180deg, #fff, #edf3ee);
    --hero-button-hover: linear-gradient(180deg, #fff, #e5efe7);
    --hero-button-edge: #b4c7b9;
    --hero-button-border: #c0d1c5;
    --hero-button-text: #183723;
}
.site-hero .hero .cta-group > a[href^="tel:"] > i,
.site-hero-page .navbar .hero-nav-phone a > i { color: #14842e !important; }
.site-hero .hero .cta-group > a:focus-visible,
.site-hero-page .navbar .nav-links a.btn-3d-pill:focus-visible,
.site-hero-page .navbar .hero-nav-phone a:focus-visible { outline: 3px solid #006c00; outline-offset: 9px; }
@media (hover: hover) and (pointer: fine) {
    .site-hero .hero .cta-group > a:hover,
    .site-hero-page .navbar .nav-links a.btn-3d-pill:hover,
    .site-hero-page .navbar .hero-nav-phone a:hover {
        background: var(--hero-button-hover) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 0 var(--hero-button-edge), 0 17px 25px -8px #17472945,
            inset 0 1px 0 #ffffff30 !important;
    }
}
.site-hero .hero .cta-group > a:active,
.site-hero-page .navbar .nav-links a.btn-3d-pill:active,
.site-hero-page .navbar .hero-nav-phone a:active {
    transform: translateY(3px) !important;
    box-shadow: 0 3px 0 var(--hero-button-edge), 0 7px 12px -6px #17472930,
        inset 0 1px 0 #ffffff20 !important;
}
@media (prefers-reduced-motion: reduce) {
    .site-hero .hero .cta-group > a,
    .site-hero-page .navbar .nav-links a.btn-3d-pill,
    .site-hero-page .navbar .hero-nav-phone a { transition: none !important; }
}

@media (min-width: 1024px) {
    .site-hero-page .navbar {
        box-sizing: border-box;
        height: 96px;
        padding: 19px 0;
        background: #f6fbffed;
        border-bottom: 1px solid #ffffffa6;
        backdrop-filter: blur(18px);
    }
    .site-hero-page .navbar > .container { max-width: 1320px; padding: 0 30px; gap: 28px; }
    .site-hero-page .navbar .logo { display: inline-flex; align-items: center; gap: 0; flex-shrink: 0; font-size: 1.45rem; letter-spacing: -.02em; }
    .site-hero-page .navbar .logo .highlight { color: #009600; }
    .hero-logo-mark { display: inline-block; margin-right: 8px; color: #16ad00; }
    .site-hero-page .navbar .nav-links { gap: 23px; font-size: .92rem; }
    .hero-nav-phone { display: list-item; }
    .hero-nav-phone a { display: flex; align-items: center; gap: 10px; padding: 14px 17px; white-space: nowrap; font-size: 1.06rem; font-weight: 700 !important; }
    .hero-nav-phone i { color: #009e00; font-size: 1.2rem; }
    .site-hero-page .navbar .btn-3d-pill {
        min-height: 53px;
        padding: 12px 21px !important;
        gap: 14px !important;
        font-size: .88rem !important;
        white-space: nowrap;
    }
    .site-hero-page .navbar .btn-3d-pill .icon-circle { display: none !important; }
    .site-hero-page .navbar .btn-3d-pill .hero-desktop-only { display: inline-block !important; }
    .site-hero {
        position: relative;
        display: block;
        isolation: isolate;
        overflow: hidden;
        background: #edf6fa;
    }
    .site-hero .homepage-hero-grid {
        box-sizing: border-box;
        position: relative;
        z-index: 3;
        display: block;
        max-width: 1320px;
        margin: 0 auto;
        padding: 157px 30px 36px;
    }
    .site-hero .hero { display: block; min-height: 0; padding: 0; background: transparent; }
    .site-hero .hero-content { box-sizing: border-box; max-width: 660px; padding: 0; margin: 0; text-align: left; }
    .site-hero .hero .hero-trust-badge,
    .site-hero .hero .hero-subline,
    .site-hero .hero .trust-badges-hero { display: none !important; }
    .site-hero .hero-location { display: flex !important; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 1.02rem; font-weight: 600; color: #13201d; }
    .site-hero .hero-location i { color: #00a700; }
    .site-hero .hero h1 { max-width: 660px; margin: 0 0 18px; font-size: clamp(2.7rem, 3.8vw, 3.7rem); line-height: 1.1; letter-spacing: -.035em; text-wrap: initial; color: #0e1925; }
    .site-hero .hero h1 .highlight { position: relative; display: inline-block; color: #009f00; font-style: italic; }
    .site-hero .hero h1 .highlight::after { position: absolute; content: ''; left: 4%; right: -2%; bottom: -6px; height: 7px; border-top: 3px solid #0bb200; border-radius: 50%; transform: rotate(-4deg); }
    .hero-desktop-intro { display: block; max-width: 590px; margin: 0 0 24px; font-size: 1.14rem; line-height: 1.55; font-weight: 400; color: #2e4353; }
    .hero-desktop-intro strong { color: #14212b; font-weight: 600; }
    .hero-feature-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; width: 570px; max-width: 100%; margin: 0 0 31px; }
    .hero-feature-card {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 13px;
        min-height: 120px;
        padding: 15px 9px;
        background: linear-gradient(140deg, #ffffffcc, #e8f4f9b8);
        border: 1px solid #ffffffed;
        border-radius: 22px;
        box-shadow: 0 12px 24px #486d7b25, inset 0 1px 0 #fff;
        backdrop-filter: blur(13px);
        color: #121a1d;
        text-align: center;
    }
    .hero-feature-card > i { font-size: 1.85rem; color: #009d00; filter: drop-shadow(0 2px 1px #ffffff); }
    .hero-feature-card > span { font-size: .85rem; line-height: 1.35; font-weight: 600; }
    .site-hero .hero .cta-group { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 18px; margin: 0 0 27px; }
    .site-hero .hero .cta-group .icon-circle { display: none !important; }
    .site-hero .hero .cta-group .hero-desktop-only { display: inline-block !important; }
    .site-hero .hero .cta-group a {
        box-sizing: border-box;
        min-height: 59px;
        padding: 13px 24px !important;
        gap: 13px !important;
        font-size: 1.03rem !important;
        font-weight: 700 !important;
        text-transform: none !important;
        white-space: nowrap;
    }
    .site-hero .hero .cta-group a[href^="tel:"] > i { font-size: 1.2rem; }
    .hero-confidence { display: flex; flex-wrap: wrap; gap: 20px; font-size: .84rem; color: #142026; }
    .hero-confidence > span { display: flex; align-items: center; gap: 8px; font-weight: 500; }
    .hero-confidence i { color: #009e00; }
    .site-hero .hero-image-below { position: absolute; z-index: -2; inset: 96px 0 0; padding: 0; background: #eff6fa; pointer-events: none; }
    .site-hero .hero-image-below > .container { width: 100%; height: 100%; max-width: none; padding: 0; }
    .site-hero .hero-image-below picture { display: block; width: 100%; height: 100%; }
    .site-hero .hero-image-below #hero-img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 75%; border: 0; border-radius: 0; box-shadow: none; animation: none; filter: none; }
    .site-hero::after { position: absolute; z-index: -1; content: ''; inset: 96px 0 0; background: linear-gradient(90deg, #f0f8fffa 0%, #f0f8fff2 22%, #f1f8ffd9 35%, #f4f9ff80 45%, #f4f9ff00 58%); pointer-events: none; }
    .hero-ribbon { position: absolute; z-index: 1; display: block; pointer-events: none; }
    .hero-ribbon-top { left: 0; top: 96px; width: 310px; height: 104px; }
    .hero-ribbon-bottom { right: 0; bottom: 64px; width: 64%; height: 160px; }
    .hero-benefits-wrap { box-sizing: border-box; position: relative; z-index: 4; display: block; max-width: 1380px; padding: 0 30px 35px; margin: 0 auto; }
    .hero-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: linear-gradient(120deg, #456561eb, #123f27e8); border: 1px solid #ffffff47; border-radius: 24px; padding: 26px 20px; box-shadow: 0 12px 28px #1f503026; backdrop-filter: blur(16px); }
    .hero-benefits > div { display: flex; align-items: center; justify-content: center; gap: 19px; padding: 0 15px; border-right: 1px solid #ffffff3b; }
    .hero-benefits > div:last-child { border-right: 0; }
    .hero-benefits i { color: #b0fc7a; font-size: 2rem; filter: drop-shadow(0 0 7px #9aff4f33); }
    .hero-benefits span { color: #fff; font-size: .97rem; line-height: 1.5; font-weight: 500; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
    .site-hero-page .navbar > .container { padding: 0 22px; gap: 15px; }
    .site-hero-page .navbar .logo { font-size: 1.2rem; }
    .hero-logo-mark { width: 42px; margin-right: 5px; }
    .site-hero-page .navbar .nav-links { gap: 14px; font-size: .82rem; }
    .hero-nav-phone a { font-size: .91rem; padding: 12px 13px; }
    .site-hero-page .navbar .btn-3d-pill { padding: 12px 15px !important; font-size: .76rem !important; gap: 10px !important; }
    .site-hero .homepage-hero-grid { padding: 143px 28px 32px; }
    .site-hero .hero-content { max-width: 520px; }
    .site-hero .hero h1 { font-size: 2.7rem; }
    .hero-desktop-intro { max-width: 490px; font-size: 1rem; }
    .hero-feature-cards { max-width: 500px; gap: 12px; }
    .hero-feature-card { min-height: 110px; padding: 13px 7px; border-radius: 19px; }
    .hero-feature-card > span { font-size: .77rem; }
    .site-hero .hero .cta-group { gap: 14px; }
    .site-hero .hero .cta-group a { padding: 13px 20px !important; font-size: .93rem !important; gap: 11px !important; }
    .hero-confidence { gap: 14px; font-size: .77rem; }
    .site-hero .hero-image-below picture { display: flex; align-items: center; }
    .site-hero .hero-image-below #hero-img { height: auto; object-fit: contain; mask-image: linear-gradient(to bottom, transparent, #000 12%); }
    .hero-benefits-wrap { padding: 0 25px 30px; }
    .hero-benefits { padding: 22px 10px; }
    .hero-benefits > div { gap: 12px; padding: 0 10px; }
    .hero-benefits i { font-size: 1.7rem; }
    .hero-benefits span { font-size: .82rem; }
}

@media (max-width: 1023px) {
    .site-hero-page .navbar { box-sizing: border-box; height: 72px; padding: 12px 0; background: #f6fbffed; border-bottom: 1px solid #dce9e4; box-shadow: 0 3px 16px #234e3810; backdrop-filter: blur(16px); }
    .site-hero-page .navbar > .container { box-sizing: border-box; max-width: 760px; padding: 0 18px; gap: 14px; }
    .site-hero-page .navbar .logo { display: inline-flex; align-items: center; gap: 0; flex-shrink: 0; font-size: 1.1rem; line-height: 1; letter-spacing: -.025em; }
    .site-hero-page .navbar .logo .highlight { color: #009600; }
    .site-hero-page .hero-logo-mark { display: inline-block; width: 35px; height: 33px; margin-right: 6px; color: #10a200; }
    .site-hero-page .navbar .burger { box-sizing: border-box; display: flex !important; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 44px; height: 44px; padding: 9px; background: #ffffffc9; border: 1px solid #d8e6df; border-radius: 12px; }
    .site-hero-page .navbar .burger div { width: 20px; height: 2px; margin: 0; background: #143a27; border-radius: 2px; }
    .site-hero-page .navbar .burger:focus-visible { outline: 3px solid #008500; outline-offset: 3px; }
    .site-hero-page .navbar .burger.toggle .line1 { transform: translateY(6px) rotate(45deg); }
    .site-hero-page .navbar .burger.toggle .line2 { opacity: 0; }
    .site-hero-page .navbar .burger.toggle .line3 { transform: translateY(-6px) rotate(-45deg); }
    .site-hero-page .navbar .nav-links { box-sizing: border-box; position: fixed; top: 72px; right: 0; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 10px; width: min(88vw, 360px); height: calc(100dvh - 72px); margin: 0; padding: 24px 18px; overflow-y: auto; background: #f6fbfcfa; border-left: 1px solid #d8e5df; box-shadow: -16px 18px 36px #173b271a; transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
    .site-hero-page .navbar .nav-links.nav-active { transform: translateX(0); visibility: visible; }
    .site-hero-page .navbar .nav-links li { margin: 0; opacity: 1; transform: none; transition: none; }
    .site-hero-page .navbar .nav-links a:not(.btn-3d-pill) { display: flex; align-items: center; gap: 10px; min-height: 48px; box-sizing: border-box; padding: 12px 14px; border-radius: 12px; color: #183124; font-size: 1rem; font-weight: 600; }
    .site-hero-page .navbar .nav-links a:not(.btn-3d-pill):hover { background: #e8f3e9; }
    .site-hero-page .navbar .hero-nav-phone { display: list-item; margin: 8px 0; }
    .site-hero-page .navbar .hero-nav-phone i { color: #008500; }
    .site-hero-page .navbar .nav-links .btn-3d-pill { display: flex; justify-content: center; min-height: 52px; padding: 13px 18px !important; gap: 12px !important; font-size: .9rem; }
    .site-hero-page .navbar .nav-links .btn-3d-pill .icon-circle { display: none !important; }
    .site-hero-page .navbar .nav-links .btn-3d-pill .hero-desktop-only { display: inline-block !important; }
    .site-hero { position: relative; isolation: isolate; display: block; overflow: hidden; background: radial-gradient(ellipse at 95% 10%, #e4f3e2, transparent 48%), linear-gradient(#eff7fc, #f8fcf8); padding-bottom: 24px; }
    .site-hero .homepage-hero-grid { box-sizing: border-box; position: relative; z-index: 2; display: block; width: 100%; max-width: 680px; margin: 0 auto; padding: 98px 18px 0; }
    .site-hero .hero { display: block; min-height: 0; padding: 0; background: transparent; }
    .site-hero .hero-content { box-sizing: border-box; display: grid; grid-template-areas: 'location' 'heading' 'intro' 'actions' 'confidence' 'features'; width: 100%; max-width: none; margin: 0; padding: 0 !important; text-align: left; }
    .site-hero .hero .hero-trust-badge, .site-hero .hero .hero-subline, .site-hero .hero .trust-badges-hero { display: none !important; }
    .site-hero .hero-location { grid-area: location; display: flex !important; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .83rem; line-height: 1.5; font-weight: 600; color: #244630; }
    .site-hero .hero-location i { color: #009900; }
    .site-hero .hero h1 { grid-area: heading; margin: 0 0 15px; font-size: clamp(1.75rem, 7.8vw, 2.4rem) !important; line-height: 1.12 !important; letter-spacing: -.04em; text-wrap: initial; color: #0e1925; }
    .site-hero .hero h1 .highlight { position: relative; display: inline-block; font-style: italic; color: #009600; }
    .site-hero .hero h1 .highlight::after { position: absolute; content: ''; left: 3%; right: -2%; bottom: -5px; height: 5px; border-top: 2px solid #0bb200; border-radius: 50%; transform: rotate(-4deg); }
    .hero-desktop-intro { grid-area: intro; display: block; max-width: 590px; margin: 0 0 20px; color: #405361; font-size: .96rem; line-height: 1.65; }
    .hero-desktop-intro strong { font-weight: 600; color: #172d24; }
    .site-hero .hero .cta-group { grid-area: actions; display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 11px !important; width: 100%; margin: 0 0 16px !important; }
    .site-hero .hero .cta-group .icon-circle { display: none !important; }
    .site-hero .hero .cta-group .hero-desktop-only { display: inline-block !important; }
    .site-hero .hero .cta-group a { box-sizing: border-box; display: flex !important; justify-content: center !important; align-items: center; width: 100% !important; max-width: none !important; min-height: 54px; margin: 0 !important; padding: 13px 20px !important; gap: 12px !important; font-size: 1rem !important; line-height: 1.3; text-transform: none !important; font-weight: 700 !important; white-space: normal; }
    .site-hero .hero .cta-group a[href^="tel:"] > i { font-size: 1.13rem; }
    .hero-confidence { grid-area: confidence; display: flex; flex-wrap: wrap; gap: 6px 13px; margin-bottom: 23px; color: #36513f; }
    .hero-confidence > span { display: flex; align-items: center; gap: 5px; font-size: .69rem; line-height: 1.5; font-weight: 500; }
    .hero-confidence i { color: #008b00; }
    .hero-feature-cards { grid-area: features; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; margin: 0; }
    .hero-feature-card { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 91px; padding: 13px 10px; border: 1px solid #ffffffed; border-radius: 18px; background: linear-gradient(140deg, #ffffffdc, #e8f4f9c9); box-shadow: 0 7px 18px #486d7b16, inset 0 1px 0 #fff; backdrop-filter: blur(12px); color: #17271f; text-align: center; }
    .hero-feature-card > i { color: #009900; font-size: 1.55rem; }
    .hero-feature-card > span { font-size: .79rem; line-height: 1.35; font-weight: 600; }
    .site-hero .hero-image-below { box-sizing: border-box; position: relative; z-index: 2; width: 100%; max-width: 680px; margin: 21px auto 20px; padding: 0 18px !important; background: transparent; }
    .site-hero .hero-image-below > .container { box-sizing: border-box; width: 100%; max-width: none; padding: 5px !important; border: 1px solid #fff; border-radius: 24px; background: #fff; box-shadow: 0 14px 30px -12px #18422b35; }
    .site-hero .hero-image-below picture { display: block; line-height: 0; }
    .site-hero .hero-image-below #hero-img { display: block; width: 100%; height: auto !important; max-width: none !important; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border: 0; border-radius: 18px !important; box-shadow: none !important; animation: none; filter: none; }
    .hero-ribbon-top { position: absolute; z-index: 1; display: block; top: 72px; left: 0; width: 155px; height: 42px; pointer-events: none; }
    .hero-ribbon-bottom { display: none; }
    .hero-benefits-wrap { box-sizing: border-box; position: relative; z-index: 2; display: block; width: 100%; max-width: 680px; margin: 0 auto; padding: 0 18px; }
    .hero-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 12px; border: 1px solid #ffffff47; border-radius: 20px; background: linear-gradient(125deg, #456561f2, #123f27f2); box-shadow: 0 9px 22px #244a2d20; backdrop-filter: blur(14px); }
    .hero-benefits > div { display: flex; align-items: center; justify-content: flex-start; gap: 10px; min-width: 0; min-height: 63px; box-sizing: border-box; padding: 9px 8px; }
    .hero-benefits > div:nth-child(odd) { border-right: 1px solid #ffffff30; }
    .hero-benefits > div:nth-child(-n+2) { border-bottom: 1px solid #ffffff30; }
    .hero-benefits i { flex-shrink: 0; width: 25px; color: #b0fc7a; font-size: 1.35rem; text-align: center; }
    .hero-benefits span { color: #fff; font-size: .75rem; line-height: 1.45; font-weight: 500; }
    .site-hero-page #cookie-banner { box-sizing: border-box; padding: 14px 18px !important; gap: 10px !important; background: #f7fbf9 !important; color: #213d2b !important; border-top: 1px solid #c8ddd0 !important; box-shadow: 0 -6px 24px #21442b1a !important; }
    .site-hero-page #cookie-banner p { color: #213d2b; font-size: .8rem !important; line-height: 1.5; }
    .site-hero-page #cookie-banner #accept-cookies { min-height: 44px; height: auto; padding: 11px 24px !important; font-size: .84rem !important; }
}
@media (min-width: 600px) and (max-width: 1023px) {
    .site-hero .homepage-hero-grid { padding-top: 109px; }
    .site-hero .hero .cta-group { flex-direction: row !important; }
    .site-hero .hero .cta-group a { width: auto !important; flex: 1 1 0; }
    .hero-feature-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
    .hero-feature-card { min-height: 103px; }
    .hero-confidence > span { font-size: .79rem; }
    .hero-benefits > div { justify-content: center; gap: 16px; }
    .hero-benefits span { font-size: .88rem; }
}
@media (max-width: 360px) {
    .site-hero-page .navbar .logo { font-size: 1rem; }
    .site-hero .hero h1 { font-size: clamp(1.5rem, 7.7vw, 1.75rem) !important; }
    .hero-confidence { gap: 5px 9px; }
    .hero-confidence > span { font-size: .64rem; }
    .hero-benefits { padding: 10px; }
    .hero-benefits > div { gap: 7px; padding: 9px 5px; }
    .hero-benefits i { width: 21px; font-size: 1.2rem; }
    .hero-benefits span { font-size: .69rem; }
}
@media (prefers-reduced-motion: reduce) {
    .site-hero-page .navbar .nav-links, .site-hero-page .navbar .burger div { transition: none; }
}

/* Approved transparent 3D-glass icon family; shared on light and dark surfaces. */
.site-hero .hero-glass-icon { display: block; flex-shrink: 0; object-fit: contain; filter: none; pointer-events: none; }
.site-hero .hero-feature-card { padding: 12px 9px; gap: 8px; }
.site-hero .hero-feature-card > .hero-glass-icon { width: 88px; height: 52px; max-width: 100%; }
.site-hero .hero-benefits .hero-glass-icon { width: 70px; height: 52px; }
@media (max-width: 1023px) {
    .site-hero .hero-feature-card { padding: 11px 8px; gap: 6px; }
    .site-hero .hero-benefits .hero-glass-icon { width: 48px; height: 40px; }
}
@media (max-width: 360px) {
    .site-hero .hero-benefits .hero-glass-icon { width: 38px; height: 32px; }
}
