:root {
    --ppc-navy: #003566;
    --ppc-blue: #0A4B78;
    --ppc-bright: #D92732;
    --ppc-pale: #F9E8EA;
    --ppc-ink: #252b33;
    --ppc-muted: #596575;
    --ppc-border: #d9e2ec;
    --ppc-white: #fff;
}

html {
    scroll-behavior: smooth;
}

.ppc-page {
    color: var(--ppc-ink);
    background: var(--ppc-white);
}

.ppc-page,
.ppc-form-dialog,
.ppc-mobile-actions {
    font-family: Montserrat, sans-serif;
}

.ppc-shell {
    width: min(100% - 2rem, 76rem);
    margin-right: auto;
    margin-left: auto;
}

.ppc-hero {
    padding: 10.5rem 0 5rem;
    color: var(--ppc-white);
    background-color: var(--ppc-navy);
    background-position: center;
    background-size: cover;
}

.ppc-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(22rem, .72fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.ppc-eyebrow,
.ppc-lead-card__eyebrow {
    margin: 0 0 .85rem;
    color: #FADADD;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.ppc-hero h1 {
    max-width: 13ch;
    margin: 0;
    color: var(--ppc-white);
    font-size: clamp(2.5rem, 5.2vw, 4.75rem);
    line-height: 1.03;
}

@media (min-width: 768px) {
    .ppc-page[data-ppc-page="imp-installation-texas"] .ppc-hero h1 {
        max-width: 14ch;
        font-size: clamp(2.5rem, 5vw, 4.625rem);
    }
}

.ppc-hero__subhead {
    max-width: 42rem;
    margin: 1.4rem 0 0;
    color: var(--ppc-white);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.55;
}

.ppc-hero-points {
    display: grid;
    gap: .65rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.ppc-hero-points li {
    position: relative;
    display: block;
    margin: 0;
    padding-left: 1.65rem;
    color: var(--ppc-white);
    font-weight: 600;
    line-height: 1.45;
}

.ppc-hero-points li::before,
.ppc-checklist li::before,
.ppc-check-list li::before {
    position: absolute;
    top: .08em;
    left: 0;
    color: var(--ppc-bright);
    font-weight: 900;
    content: "✓";
}

.ppc-hero-points li::before {
    color: #FADADD;
}

.ppc-hero__actions,
.ppc-final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.ppc-button {
    display: inline-flex;
    min-height: 3.25rem;
    padding: .85rem 1.35rem;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.ppc-button:hover,
.ppc-button:focus,
.ppc-button:focus-visible {
    transform: translateY(-1px);
}

.ppc-button:focus,
.ppc-mobile-actions a:focus {
    outline: 3px solid #FADADD;
    outline-offset: -3px;
}

.ppc-button--primary {
    color: var(--ppc-white);
    background: var(--ppc-blue);
}

.ppc-button--primary:hover,
.ppc-button--primary:focus,
.ppc-button--primary:focus-visible {
    color: var(--ppc-white);
    background: var(--ppc-navy);
}

.ppc-button--secondary {
    border-color: rgba(255, 255, 255, .55);
    color: var(--ppc-white);
    background: transparent;
}

.ppc-button--secondary:hover,
.ppc-button--secondary:focus-visible {
    border-color: var(--ppc-white);
    color: var(--ppc-navy);
    background: var(--ppc-white);
}

.ppc-button--phone {
    gap: .3em;
}

.ppc-phone-link {
    display: inline-flex;
    gap: .3em;
    align-items: baseline;
    color: var(--ppc-white);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .45);
    text-underline-offset: .25rem;
}

.ppc-phone-link:hover,
.ppc-phone-link:focus-visible {
    color: #FADADD;
}

.ppc-lead-card {
    padding: clamp(1.4rem, 3vw, 2rem);
    border-top: .35rem solid var(--ppc-bright);
    color: var(--ppc-ink);
    background: var(--ppc-white);
    box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, .24);
}

.ppc-lead-card__eyebrow {
    color: var(--ppc-blue);
}

.ppc-lead-card h2 {
    margin: 0 0 .65rem;
    color: var(--ppc-navy);
    font-size: clamp(1.55rem, 2.8vw, 2.15rem);
    line-height: 1.12;
}

.ppc-lead-card > p:not(.ppc-lead-card__eyebrow):not(.ppc-form-privacy) {
    margin: 0;
    color: var(--ppc-muted);
    line-height: 1.5;
}

.ppc-lead-card__actions {
    display: grid;
    gap: .75rem;
    margin-top: 1.4rem;
    text-align: center;
}

.ppc-lead-card__actions > span {
    color: var(--ppc-muted);
    font-size: .9rem;
}

.ppc-lead-card__actions > span a {
    color: var(--ppc-blue);
    font-weight: 700;
}

.ppc-lead-card__assurances {
    display: grid;
    gap: .55rem;
    margin: 1.2rem 0 0;
    padding: 1.1rem 0 0;
    border-top: 1px solid var(--ppc-border);
    list-style: none;
}

.ppc-lead-card__assurances li {
    position: relative;
    display: block;
    margin: 0;
    padding-left: 1.4rem;
    color: var(--ppc-muted);
    font-size: .88rem;
    line-height: 1.4;
}

.ppc-lead-card__assurances li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--ppc-bright);
    font-weight: 900;
    content: "✓";
}

.ppc-form-privacy {
    margin: .85rem 0 0;
    color: var(--ppc-muted);
    font-size: .75rem;
    line-height: 1.45;
}

.ppc-form-privacy a {
    color: var(--ppc-blue);
}

.ppc-form-unavailable {
    margin-top: 1.25rem !important;
    padding: 1rem;
    border-left: .25rem solid var(--ppc-bright);
    background: var(--ppc-pale);
}

.ppc-form-dialog {
    position: fixed;
    inset: 0;
    width: min(100% - 1.5rem, 58rem);
    max-width: 58rem;
    max-height: min(calc(100dvh - 1rem), 78rem);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 0;
    color: var(--ppc-ink);
    background: var(--ppc-white);
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, .38);
}

.ppc-form-dialog::backdrop {
    background: rgba(5, 20, 40, .82);
    backdrop-filter: blur(3px);
}

.ppc-form-dialog__panel {
    position: relative;
    min-height: 100%;
}

.ppc-form-dialog__close {
    position: sticky;
    z-index: 2;
    top: .75rem;
    float: right;
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    margin: .75rem .75rem -3.5rem 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: var(--ppc-white);
    background: var(--ppc-navy);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.ppc-form-dialog__close:hover,
.ppc-form-dialog__close:focus-visible {
    background: var(--ppc-blue);
}

.ppc-form-dialog__header {
    padding: 2rem 4.5rem 1.25rem 2rem;
    border-top: .35rem solid var(--ppc-bright);
    background: var(--ppc-pale);
}

.ppc-form-dialog__header .ppc-eyebrow {
    color: var(--ppc-blue);
}

.ppc-form-dialog__header h2 {
    margin: 0 0 .65rem;
    color: var(--ppc-navy);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.12;
}

.ppc-form-dialog__header p:last-child {
    max-width: 46rem;
    margin: 0;
    color: var(--ppc-muted);
    line-height: 1.55;
}

.ppc-ghl-frame {
    min-height: 20rem;
    padding: 0 1rem;
    background: var(--ppc-white);
}

.ppc-ghl-frame iframe {
    display: block;
    max-width: 100%;
}

.ppc-form-dialog > .ppc-form-dialog__panel > .ppc-form-privacy {
    margin: 0;
    padding: 0 2rem 2rem;
}

html.ppc-dialog-open {
    overflow: hidden;
}

.ppc-trust {
    border-bottom: 1px solid var(--ppc-border);
    background: #f6f8fb;
}

.ppc-trust__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ppc-trust__item {
    padding: 1.3rem 1.6rem;
    border-right: 1px solid var(--ppc-border);
}

.ppc-trust__item:first-child {
    padding-left: 0;
}

.ppc-trust__item:last-child {
    padding-right: 0;
    border-right: 0;
}

.ppc-trust__item strong,
.ppc-trust__item span {
    display: block;
}

.ppc-trust__item strong {
    margin-bottom: .2rem;
    color: var(--ppc-navy);
    font-size: 1rem;
}

.ppc-trust__item span {
    color: var(--ppc-muted);
    font-size: .9rem;
    line-height: 1.45;
}

.ppc-module-heading {
    max-width: 52rem;
}

.ppc-module-heading .ppc-eyebrow,
.ppc-validation .ppc-eyebrow,
.ppc-client-proof .ppc-eyebrow {
    color: var(--ppc-blue);
}

.ppc-module-heading h2,
.ppc-validation h2,
.ppc-client-proof h2,
.ppc-inline-cta h2 {
    margin: 0;
    color: var(--ppc-navy);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
}

.ppc-features {
    padding: clamp(3.5rem, 7vw, 5.75rem) 0;
}

.ppc-page--residential .ppc-features {
    padding-top: clamp(2rem, 4vw, 3rem);
}

.ppc-features__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.25rem;
}

.ppc-feature {
    min-width: 0;
    padding: 1.6rem 1.35rem;
    border: 1px solid var(--ppc-border);
    background: var(--ppc-white);
    box-shadow: 0 .75rem 2rem rgba(0,53,102, .07);
}

.ppc-feature__icon {
    display: flex;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    align-items: center;
    justify-content: center;
    color: var(--ppc-blue);
}

.ppc-feature__icon .blue-icon {
    width: 3.75rem;
    height: 3.75rem;
}

.ppc-feature h3,
.ppc-validation h3 {
    margin: 0 0 .55rem;
    color: var(--ppc-navy);
    font-size: 1.2rem;
    line-height: 1.25;
}

.ppc-feature p,
.ppc-validation p {
    margin: 0;
    color: var(--ppc-muted);
    line-height: 1.6;
}

.ppc-location-context {
    padding: clamp(3.5rem, 7vw, 5.75rem) 0;
    background: var(--ppc-pale);
}

.ppc-location-context__intro {
    max-width: 62rem;
}

.ppc-location-context .ppc-eyebrow {
    color: var(--ppc-blue);
}

.ppc-location-context h2 {
    max-width: 22ch;
    margin: 0;
    color: var(--ppc-navy);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
}

.ppc-location-context__intro > p:not(.ppc-eyebrow) {
    margin: 1rem 0 0;
    color: var(--ppc-muted);
    font-size: 1.06rem;
    line-height: 1.7;
}

.ppc-location-context__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.25rem;
}

.ppc-location-context__grid article {
    min-width: 0;
    padding: 1.6rem 1.35rem;
    border: 1px solid #E8CED1;
    background: var(--ppc-white);
    box-shadow: 0 .75rem 2rem rgba(0,53,102, .07);
}

.ppc-location-context__icon {
    display: flex;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    align-items: center;
    justify-content: center;
    color: var(--ppc-blue);
}

.ppc-location-context__icon .blue-icon {
    width: 3.75rem;
    height: 3.75rem;
}

.ppc-location-context__grid h3 {
    margin: 0 0 .55rem;
    color: var(--ppc-navy);
    font-size: 1.2rem;
    line-height: 1.25;
}

.ppc-location-context__grid p {
    margin: 0;
    color: var(--ppc-muted);
    line-height: 1.6;
}

.ppc-roof-options {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    background: var(--ppc-navy);
}

.ppc-roof-options .ppc-module-heading {
    max-width: 64rem;
}

.ppc-roof-options .ppc-module-heading .ppc-eyebrow,
.ppc-roof-options__cta .ppc-eyebrow {
    color: #FADADD;
}

.ppc-roof-options .ppc-module-heading h2,
.ppc-roof-options__cta h3 {
    color: var(--ppc-white);
}

.ppc-roof-options__intro {
    max-width: 58rem;
    margin: 1.25rem 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 1.08rem;
    line-height: 1.65;
}

.ppc-roof-options__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.ppc-roof-option {
    position: relative;
    min-width: 0;
    min-height: 35rem;
    overflow: hidden;
    isolation: isolate;
    color: var(--ppc-white);
    background-color: #003566;
    background-position: center;
    background-size: cover;
    box-shadow: 0 1rem 2.75rem rgba(0, 0, 0, .28);
}

.ppc-roof-option::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 22, 45, .05) 25%, rgba(4, 22, 45, .96) 88%);
    content: "";
}

.ppc-roof-option__body {
    position: absolute;
    inset: 0;
    display: flex;
    min-height: 0;
    padding: 1.5rem;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(7, 32, 64, .06) 24%, rgba(7, 32, 64, .98) 70%);
}

.ppc-roof-option h3 {
    flex-shrink: 0;
    margin: 0;
    color: var(--ppc-white);
    font-size: clamp(1.45rem, 2.1vw, 1.9rem);
    line-height: 1.12;
}

.ppc-roof-option__summary {
    max-height: 12rem;
    margin: .7rem 0 0;
    overflow: hidden;
    flex-shrink: 0;
    color: rgba(255, 255, 255, .9);
    font-weight: 600;
    line-height: 1.45;
    opacity: 1;
    transition: max-height .24s ease, margin-top .24s ease, opacity .16s ease;
}

.ppc-roof-option__toggle {
    display: inline-flex;
    gap: .45rem;
    margin-top: .85rem;
    padding: 0;
    align-items: center;
    border: 0;
    color: #FCEBED;
    background: transparent;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
}

.ppc-roof-option__toggle [data-ppc-roof-option-symbol] {
    font-size: 1.25rem;
    line-height: 1;
}

.ppc-roof-option__toggle:focus-visible {
    outline: 3px solid #FADADD;
    outline-offset: .3rem;
}

.ppc-roof-option__detail {
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    flex-shrink: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height .28s ease, margin-top .28s ease, opacity .2s ease .06s, visibility 0s linear .26s;
}

.ppc-roof-option__detail p {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: .96rem;
    line-height: 1.5;
}

.ppc-roof-option__detail a {
    display: inline-flex;
    gap: .4rem;
    margin-top: 1rem;
    align-items: center;
    color: var(--ppc-white);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #FADADD;
    text-underline-offset: .25rem;
}

.ppc-roof-option__detail a:hover,
.ppc-roof-option__detail a:focus-visible {
    color: #FADADD;
}

.ppc-roof-option__detail a:focus-visible {
    outline: 3px solid #FADADD;
    outline-offset: .3rem;
}

.ppc-roof-option.is-expanded .ppc-roof-option__detail {
    max-height: 22rem;
    margin-top: 1rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s, 0s, .06s, 0s;
}

.ppc-roof-option.is-expanded .ppc-roof-option__summary {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
    .ppc-roof-option:hover .ppc-roof-option__detail {
        max-height: 22rem;
        margin-top: 1rem;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s, 0s, .06s, 0s;
    }

    .ppc-roof-option:hover .ppc-roof-option__summary {
        max-height: 0;
        margin-top: 0;
        opacity: 0;
    }
}

.ppc-roof-options__cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    margin-top: 2.5rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
}

.ppc-roof-options__cta h3 {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1.12;
}

.ppc-roof-options__cta p:not(.ppc-eyebrow) {
    max-width: 50rem;
    margin: .8rem 0 0;
    color: rgba(255, 255, 255, .86);
    line-height: 1.55;
}

.ppc-roof-options__cta small {
    display: block;
    margin-top: .75rem;
    color: rgba(255, 255, 255, .72);
    line-height: 1.4;
}

.ppc-roof-options__actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-direction: column;
}

.ppc-phone-link--dark {
    color: var(--ppc-white);
}

.ppc-suppliers {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    overflow: hidden;
    color: var(--ppc-white);
    background: var(--ppc-blue);
}

.ppc-suppliers .ppc-eyebrow {
    color: #FCEBED;
}

.ppc-suppliers h2 {
    max-width: 22ch;
    margin: 0;
    color: var(--ppc-white);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
}

.ppc-suppliers__copy {
    max-width: 52rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 1.05rem;
    line-height: 1.6;
}

.ppc-suppliers__flow {
    margin-top: 2.25rem;
}

.ppc-suppliers__flow .logo-flow__item img {
    filter: none;
}

.ppc-gallery {
    padding: clamp(3.5rem, 7vw, 5.75rem) 0;
    overflow: hidden;
    background: #f6f8fb;
}

.ppc-gallery__header {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
    justify-content: space-between;
}

.ppc-gallery__controls {
    display: flex;
    flex: 0 0 auto;
    gap: .65rem;
    align-items: center;
}

.ppc-gallery__controls button {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ppc-blue);
    color: var(--ppc-white);
    background: var(--ppc-blue);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

.ppc-gallery__controls button:hover,
.ppc-gallery__controls button:focus-visible {
    border-color: var(--ppc-navy);
    color: var(--ppc-white);
    background: var(--ppc-navy);
}

.ppc-gallery__controls button:focus-visible {
    outline: 3px solid #FADADD;
    outline-offset: 2px;
}

.ppc-gallery__controls button:disabled {
    border-color: #aeb9c6;
    color: #5e6976;
    background: #dfe5eb;
    cursor: default;
}

.ppc-gallery__controls span {
    min-width: 4.5rem;
    color: var(--ppc-muted);
    font-weight: 700;
    text-align: center;
}

.ppc-gallery__track {
    display: flex;
    gap: 1rem;
    margin-top: 2.25rem;
    padding: 0 0 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--ppc-blue) #dfe5eb;
    scrollbar-width: thin;
}

.ppc-gallery__track:focus-visible {
    outline: 3px solid var(--ppc-blue);
    outline-offset: .35rem;
}

.ppc-gallery__slide {
    flex: 0 0 clamp(19rem, 38vw, 31rem);
    margin: 0;
    overflow: hidden;
    scroll-snap-align: start;
    background: var(--ppc-white);
    box-shadow: 0 .75rem 2rem rgba(0,53,102, .12);
}

.ppc-gallery__slide img {
    display: block;
    width: 100%;
    aspect-ratio: 10 / 7;
    object-fit: cover;
}

.ppc-gallery__slide figcaption {
    min-height: 4.35rem;
    padding: 1rem 1.1rem;
    color: var(--ppc-navy);
    font-weight: 700;
    line-height: 1.4;
}

.ppc-inline-cta {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    border-bottom: 1px solid #E8CED1;
    background: var(--ppc-pale);
}

.ppc-inline-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
}

.ppc-inline-cta h2 {
    max-width: 24ch;
    font-size: clamp(1.75rem, 3vw, 2.65rem);
}

.ppc-inline-cta p:not(.ppc-eyebrow) {
    max-width: 46rem;
    margin: .85rem 0 0;
    color: var(--ppc-muted);
    line-height: 1.6;
}

.ppc-validation {
    padding: clamp(3.5rem, 7vw, 6rem) 0 0;
    background: #f6f8fb;
}

.ppc-validation__intro {
    max-width: 57rem;
}

.ppc-validation__intro > p:last-child {
    margin-top: 1.25rem;
    font-size: 1.08rem;
}

.ppc-validation__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.25rem;
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.ppc-validation__grid article {
    padding: 1.5rem;
    border-top: .3rem solid var(--ppc-blue);
    background: var(--ppc-white);
}

.ppc-validation__grid .blue-icon {
    width: 3.4rem;
    height: 3.4rem;
    margin-bottom: 1rem;
    color: var(--ppc-blue);
}

.ppc-client-proof {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: var(--ppc-white);
}

.ppc-client-proof .logo-flow {
    margin-top: 1.5rem;
}

/* The inherited mobile menu is translated off-screen when closed. Hide it
   from keyboard focus and assistive technology in that state as well. */
body.page-template-page-ppc .mob-nav:not(.mob-nav--active) .scroll-container {
    visibility: hidden;
}

body.page-template-page-ppc .mob-nav.mob-nav--active .scroll-container {
    visibility: visible;
}

.ppc-content {
    padding-top: clamp(3.5rem, 7vw, 6rem);
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.ppc-section {
    margin-top: clamp(3.5rem, 7vw, 6rem);
}

.ppc-section:first-child {
    margin-top: 0;
}

.ppc-section__header {
    max-width: 50rem;
    margin-bottom: 2rem;
}

.ppc-section__header .ppc-eyebrow,
.ppc-card .ppc-eyebrow,
.ppc-content > .ppc-section > .ppc-eyebrow {
    color: var(--ppc-blue);
}

.ppc-content h2 {
    margin: 0 0 1rem;
    color: var(--ppc-navy);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
}

.ppc-content h3 {
    margin: 0 0 .65rem;
    color: var(--ppc-navy);
    font-size: 1.35rem;
    line-height: 1.25;
}

.ppc-content p,
.ppc-content li {
    color: var(--ppc-muted);
    line-height: 1.7;
}

.ppc-content p {
    margin: 0 0 1rem;
}

.ppc-grid {
    display: grid;
    gap: 1.25rem;
}

.ppc-grid--2,
.ppc-qualify-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ppc-qualify-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.ppc-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ppc-card {
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 1px solid var(--ppc-border);
    background: var(--ppc-white);
    box-shadow: 0 .75rem 2rem rgba(0,53,102, .07);
}

.ppc-card--tint {
    border-color: transparent;
    background: var(--ppc-pale);
    box-shadow: none;
}

.ppc-card--navy {
    border-color: var(--ppc-navy);
    color: var(--ppc-white);
    background: var(--ppc-navy);
}

.ppc-card--navy h2,
.ppc-card--navy h3,
.ppc-card--navy p,
.ppc-card--navy li {
    color: var(--ppc-white);
}

.ppc-decision-summary {
    max-width: 58rem;
    margin: 2rem auto 0;
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid #E8CED1;
    border-top: .3rem solid var(--ppc-blue);
    background: var(--ppc-pale);
    box-shadow: 0 .75rem 2rem rgba(0,53,102, .08);
    text-align: center;
}

.ppc-content .ppc-decision-summary p {
    max-width: 50rem;
    margin: 0 auto;
    color: var(--ppc-navy);
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.65;
}

.ppc-checklist,
.ppc-check-list,
.ppc-warning-list {
    display: grid;
    gap: .65rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.ppc-checklist li,
.ppc-check-list li,
.ppc-warning-list li {
    position: relative;
    display: block;
    margin: 0;
    padding-left: 1.65rem;
}

.ppc-warning-list li::before {
    position: absolute;
    top: .08em;
    left: .2rem;
    color: #c44730;
    font-weight: 900;
    content: "–";
}

.ppc-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 2rem 0 0;
    padding: 0;
    counter-reset: ppc-step;
    list-style: none;
}

.ppc-process li {
    position: relative;
    display: block;
    min-height: 100%;
    margin: 0;
    padding: 4.25rem 1.35rem 1.5rem;
    border-top: .3rem solid var(--ppc-bright);
    background: #f6f8fb;
    counter-increment: ppc-step;
}

.ppc-process li::before {
    position: absolute;
    top: 1rem;
    left: 1.35rem;
    color: var(--ppc-blue);
    font-size: 1.7rem;
    font-weight: 800;
    content: "0" counter(ppc-step);
}

.ppc-process strong {
    display: block;
    margin-bottom: .45rem;
    color: var(--ppc-navy);
    font-size: 1.05rem;
}

.ppc-note {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border-left: .3rem solid var(--ppc-bright);
    background: var(--ppc-pale);
}

.ppc-note p:last-child {
    margin-bottom: 0;
}

.ppc-faq,
.ppc-faq-list {
    border-top: 1px solid var(--ppc-border);
}

.ppc-faq details,
.ppc-faq-list details {
    border-bottom: 1px solid var(--ppc-border);
}

.ppc-faq summary,
.ppc-faq-list summary {
    position: relative;
    padding: 1.25rem 2.5rem 1.25rem 0;
    color: var(--ppc-navy);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.ppc-faq summary::-webkit-details-marker,
.ppc-faq-list summary::-webkit-details-marker {
    display: none;
}

.ppc-faq summary::after,
.ppc-faq-list summary::after {
    position: absolute;
    top: 1.15rem;
    right: .25rem;
    color: var(--ppc-blue);
    font-size: 1.35rem;
    content: "+";
}

.ppc-faq details[open] summary::after,
.ppc-faq-list details[open] summary::after {
    content: "−";
}

.ppc-faq details > div,
.ppc-faq-list details > div,
.ppc-faq-list details > p {
    max-width: 52rem;
    padding: 0 0 1.25rem;
}

.ppc-final-cta {
    padding: clamp(3rem, 6vw, 5rem) 0;
    color: var(--ppc-white);
    background: var(--ppc-navy);
}

.ppc-final-cta__inner {
    display: flex;
    max-width: 68rem;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.ppc-final-cta h2 {
    max-width: 24ch;
    margin: 0;
    color: var(--ppc-white);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
}

.ppc-final-cta p:not(.ppc-eyebrow) {
    max-width: 50rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .85);
    line-height: 1.65;
}

.ppc-final-cta__actions {
    justify-content: center;
    margin-top: 1.75rem;
}

.ppc-final-cta__actions .ppc-button {
    gap: .35rem;
}

/* PPC pages already end with a full-width call to action. Keep the shared
   mission panel in normal document flow so it cannot overlap that section. */
body.page-template-page-ppc footer {
    margin-top: 0;
}

body.page-template-page-ppc footer > div:first-child {
    display: none;
}

body.page-template-page-ppc .footer-main {
    padding-top: clamp(3.5rem, 7vw, 5rem);
}

.ppc-mobile-actions {
    position: fixed;
    z-index: 45;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -.5rem 1.5rem rgba(0, 0, 0, .2);
}

.ppc-mobile-actions a {
    display: flex;
    min-height: 3.6rem;
    padding: .75rem;
    align-items: center;
    justify-content: center;
    color: var(--ppc-white);
    background: var(--ppc-navy);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.ppc-mobile-actions a:last-child {
    background: var(--ppc-blue);
}

.ppc-mobile-actions a:hover,
.ppc-mobile-actions a:focus,
.ppc-mobile-actions a:focus-visible {
    color: var(--ppc-white);
    background: var(--ppc-navy);
}

@media (max-width: 1199px) {
    .ppc-roof-options__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .ppc-hero {
        padding-top: 9rem;
    }

    .ppc-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(20rem, .85fr);
        gap: 2rem;
    }

    .ppc-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ppc-features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ppc-final-cta__inner {
        grid-template-columns: 1fr;
    }

    .ppc-final-cta__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .ppc-shell {
        width: min(100% - 1.5rem, 76rem);
    }

    .ppc-hero {
        padding: 10.5rem 0 3rem;
        background-position: 62% center;
    }

    .ppc-hero__grid,
    .ppc-grid--2,
    .ppc-grid--3,
    .ppc-qualify-grid,
    .ppc-trust__grid {
        grid-template-columns: 1fr;
    }

    .ppc-hero h1 {
        max-width: none;
        font-size: clamp(2.35rem, 12vw, 3.3rem);
    }

    .ppc-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ppc-phone-link {
        display: flex;
        min-height: 2.75rem;
        align-items: center;
        justify-content: center;
    }

    .ppc-lead-card {
        margin-top: .5rem;
    }

    .ppc-form-dialog {
        width: 100%;
        max-height: 100vh;
        margin: 0;
    }

    .ppc-form-dialog__header {
        padding: 1.5rem 3.8rem 1rem 1rem;
    }

    .ppc-ghl-frame {
        padding: 0;
    }

    .ppc-form-dialog > .ppc-form-dialog__panel > .ppc-form-privacy {
        padding: 0 1rem calc(1.5rem + env(safe-area-inset-bottom));
    }

    .ppc-trust__item,
    .ppc-trust__item:first-child,
    .ppc-trust__item:last-child {
        padding: 1rem 0;
        border-right: 0;
        border-bottom: 1px solid var(--ppc-border);
    }

    .ppc-trust__item:last-child {
        border-bottom: 0;
    }

    .ppc-process {
        grid-template-columns: 1fr;
    }

    .ppc-features__grid,
    .ppc-validation__grid,
    .ppc-location-context__grid {
        grid-template-columns: 1fr;
    }

    .ppc-gallery__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ppc-gallery__controls {
        width: 100%;
        justify-content: flex-end;
    }

    .ppc-gallery__slide {
        flex-basis: min(86vw, 25rem);
    }

    .ppc-inline-cta__inner {
        grid-template-columns: 1fr;
    }

    .ppc-roof-options__cta {
        grid-template-columns: 1fr;
    }

    .ppc-roof-options__actions {
        align-items: flex-start;
    }

    .ppc-inline-cta .ppc-button {
        width: 100%;
    }

    .ppc-roof-options__grid {
        grid-template-columns: 1fr;
    }

    .ppc-roof-option {
        min-height: 34rem;
    }

    .ppc-roof-option__body,
    .ppc-roof-option:hover .ppc-roof-option__body,
    .ppc-roof-option.is-expanded .ppc-roof-option__body {
        background: linear-gradient(180deg, rgba(7, 32, 64, .18), rgba(7, 32, 64, .98) 22%);
    }

    .ppc-roof-option__detail {
        max-height: none;
        margin-top: 1rem;
        overflow: visible;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .ppc-roof-option__toggle {
        display: none;
    }

    .ppc-roof-options__actions {
        align-items: stretch;
    }

    .ppc-roof-options__actions .ppc-button {
        width: 100%;
    }

    .ppc-final-cta__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ppc-mobile-actions {
        display: grid;
    }

    /* The global GHL chat bubble sits over the fixed PPC action bar on phones.
       The landing-page form and call actions remain available in the bar. */
    body.page-template-page-ppc chat-widget {
        display: none !important;
    }

    body.page-template-page-ppc .site-wrapper {
        padding-bottom: calc(3.6rem + env(safe-area-inset-bottom));
    }

    #request-assessment {
        scroll-margin-top: 1rem;
    }
}

@media (max-width: 359px) {
    .ppc-shell {
        width: min(100% - 1rem, 76rem);
    }

    .ppc-hero {
        padding-top: 10.5rem;
    }

    .ppc-lead-card,
    .ppc-card {
        padding: 1.15rem;
    }
}

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

    .ppc-button {
        transition: none;
    }

    .ppc-gallery__track {
        scroll-behavior: auto;
    }

    .ppc-roof-option__body,
    .ppc-roof-option__detail {
        transition: none;
    }
}

/* Opt-in photographic treatment for the two refurbishment review pages. */
.ppc-page--photo-led {
    --ppc-hero-overlay: linear-gradient(90deg, rgba(0,29,55,.72) 0%, rgba(0,29,55,.62) 55%, rgba(0,29,55,.18) 100%);
}

.ppc-page--photo-led .ppc-inline-cta .ppc-eyebrow {
    color: var(--ppc-navy);
}

@media (max-width: 767px) {
    .ppc-page--photo-led {
        --ppc-hero-overlay: linear-gradient(rgba(0,29,55,.70), rgba(0,29,55,.70));
    }
}
