@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800&display=swap');

:root {
    --gmp-pa-navy: #153852;
    --gmp-pa-deep: #0e2a3e;
    --gmp-pa-blue: #2e7894;
    --gmp-pa-pale: #f4f8f8;
    --gmp-pa-text: #263b47;
    --gmp-pa-muted: #667982;
    --gmp-pa-line: #d8e4e7;
}

body.gmp-pa-visual-system,
body.gmp-pa-visual-system button,
body.gmp-pa-visual-system input,
body.gmp-pa-visual-system select,
body.gmp-pa-visual-system textarea,
body.gmp-pa-visual-system .elementor-widget-container {
    font-family: "Onest", Arial, Helvetica, sans-serif !important;
}

body.gmp-pa-visual-system h1,
body.gmp-pa-visual-system h2,
body.gmp-pa-visual-system h3,
body.gmp-pa-visual-system h4,
body.gmp-pa-visual-system .elementor-heading-title {
    font-family: "Onest", Arial, Helvetica, sans-serif !important;
    letter-spacing: -0.025em;
}

body.gmp-pa-visual-system h1 {
    font-size: clamp(2.65rem, 5vw, 4rem) !important;
    line-height: 1.06 !important;
}

body.gmp-pa-visual-system h2 {
    font-size: clamp(2rem, 3.4vw, 3rem) !important;
    line-height: 1.12 !important;
}

/* Pennsylvania-only hero assets. Every gutter shown is a 6-inch K-style profile. */
body.page-id-3483 .gmv7-hero {
    background-image: url("../images/pa-repair-forest-6inch-kstyle.webp") !important;
}

body.page-id-3487 .gmv7-hero {
    background-image: url("../images/pa-cleaning-forest-6inch-kstyle.webp") !important;
}

body.page-id-3484 .gmv7-hero {
    background-image: url("../images/pa-guards-forest-6inch-kstyle.webp") !important;
}

body.page-id-3496 .gmv7-hero {
    background-image: url("../images/pa-soffit-fascia-forest-6inch-kstyle.webp") !important;
}

body.page-id-12602 .gmv7-hero {
    background-image: url("../images/pa-downspout-forest-6inch-kstyle.webp") !important;
}

body.page-id-3486 .gmv7-hero {
    background-image: url("../images/pa-portfolio-forest-6inch-kstyle.webp") !important;
}

body.gmp-pa-visual-system .gmv7-hero {
    background-position: center !important;
    background-size: cover !important;
    background-blend-mode: normal !important;
}

/* Home page: remove the legacy green interface and restore readable hero copy. */
body.page-id-3485 .elementor-button,
body.page-id-3485 a.elementor-button,
body.page-id-3485 button.elementor-button {
    background: var(--gmp-pa-blue) !important;
    border-color: var(--gmp-pa-blue) !important;
    color: #fff !important;
}

body.page-id-3485 .elementor-button:hover,
body.page-id-3485 a.elementor-button:hover,
body.page-id-3485 button.elementor-button:hover {
    background: var(--gmp-pa-deep) !important;
    border-color: var(--gmp-pa-deep) !important;
}

body.page-id-3485 .elementor-element-0000001c h1,
body.page-id-3485 .elementor-element-0000001c .elementor-icon-list-text {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.48);
}

body.page-id-3485 .elementor-element-0000001c .elementor-icon-list-icon {
    color: #dff1f5 !important;
}

/* Dedicated Call/Text controls are intentionally removed from Pennsylvania pages. */
body.gmp-pa-visual-system #chaty-widget-0,
body.gmp-pa-visual-system .pa-chaty-phone-fix,
body.page-id-3585 .elementor-element-ead0483,
body.page-id-3585 .elementor-element-56b708d,
body.page-id-3585 .elementor-element-b64b71c,
body.page-id-3585 .elementor-element-3dfefc5 {
    display: none !important;
}

/* Replace the legacy orange/green Privacy Policy chrome with the PA system. */
body.page-id-3585 > header.elementor-location-header,
body.page-id-3585 > footer.elementor-location-footer {
    display: none !important;
}

.gmp-pa-policy-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--gmp-pa-line);
    box-shadow: 0 8px 24px rgba(14, 42, 62, 0.06);
    backdrop-filter: blur(12px);
}

.gmp-pa-policy-header__inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 84px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.gmp-pa-policy-logo img {
    display: block;
    width: 180px;
    height: auto;
}

.gmp-pa-policy-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gmp-pa-navy);
}

.gmp-pa-policy-nav a,
.gmp-pa-policy-menu a,
.gmp-pa-policy-footer a {
    color: inherit;
    text-decoration: none;
}

.gmp-pa-policy-nav a:hover,
.gmp-pa-policy-menu a:hover,
.gmp-pa-policy-footer a:hover {
    color: var(--gmp-pa-blue);
}

.gmp-pa-policy-nav__cta {
    padding: 12px 17px;
    border-radius: 8px;
    background: var(--gmp-pa-blue);
    color: #fff !important;
}

.gmp-pa-policy-menu {
    display: none;
    position: relative;
}

.gmp-pa-policy-menu summary {
    min-width: 44px;
    min-height: 44px;
    display: grid;
    place-items: center;
    cursor: pointer;
    list-style: none;
    border-radius: 8px;
    background: var(--gmp-pa-blue);
    color: #fff;
    font-weight: 800;
}

.gmp-pa-policy-menu summary::-webkit-details-marker {
    display: none;
}

.gmp-pa-policy-menu__panel {
    position: absolute;
    right: 0;
    top: 52px;
    width: 240px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--gmp-pa-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(14, 42, 62, 0.14);
}

.gmp-pa-policy-menu__panel a {
    padding: 11px 12px;
    border-radius: 7px;
    color: var(--gmp-pa-navy);
    font-weight: 700;
}

body.page-id-3585 main,
body.page-id-3585 main * {
    font-family: "Onest", Arial, Helvetica, sans-serif !important;
}

html body.page-id-3585.gmp-pa-visual-system #main-content a {
    color: #2e7894 !important;
}

.gmp-pa-policy-footer {
    margin-top: 64px;
    padding: 54px 0 20px;
    background: var(--gmp-pa-deep);
    color: #eaf3f6;
}

.gmp-pa-policy-footer__inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 56px;
}

.gmp-pa-policy-footer__inner > div {
    display: grid;
    align-content: start;
    gap: 10px;
}

.gmp-pa-policy-footer img {
    width: 180px;
    height: auto;
    padding: 8px;
    border-radius: 8px;
    background: #fff;
}

.gmp-pa-policy-footer p {
    max-width: 420px;
    margin: 4px 0 0;
    color: #bed0d8;
    line-height: 1.65;
}

.gmp-pa-policy-footer strong {
    margin-bottom: 4px;
    color: #fff;
}

.gmp-pa-policy-footer__legal {
    width: min(1180px, calc(100% - 40px));
    margin: 34px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: #9fb5bf;
    font-size: 13px;
}

@media (max-width: 980px) {
    .gmp-pa-policy-nav {
        display: none;
    }

    .gmp-pa-policy-menu {
        display: block;
    }
}

@media (max-width: 767px) {
    body.gmp-pa-visual-system h1 {
        font-size: clamp(2.45rem, 11vw, 3.05rem) !important;
    }

    body.gmp-pa-visual-system h2 {
        font-size: clamp(1.85rem, 8vw, 2.35rem) !important;
    }

    .gmp-pa-policy-header__inner {
        width: min(100% - 28px, 1180px);
        min-height: 74px;
    }

    .gmp-pa-policy-logo img {
        width: 150px;
    }

    .gmp-pa-policy-footer {
        margin-top: 44px;
        padding-top: 40px;
    }

    .gmp-pa-policy-footer__inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
}
