/* Phoenix PI Landing Page Styles
   English, Arizona-desert-themed duplicate of the Spanish landing page.
   All overrides scoped to the template body class so shared CSS stays untouched. */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Offset for fixed header when scrolling to anchor */
#contact-form {
    scroll-margin-top: 100px;
}

/* ===== Ad Landing Header (recolored to Arizona brown-red) ===== */
.ad-landing-header {
    background-color: #8a2c25;
    padding: 12px 0;
}

.ad-landing-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ad-landing-logo img {
    height: 55px;
    width: auto;
}

.ad-landing-header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.ad-landing-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.ad-landing-phone-icon {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    padding: 8px;
}

.ad-landing-phone-text {
    display: flex;
    flex-direction: column;
}

.ad-landing-phone-label {
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

.ad-landing-phone-number {
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.ad-landing-cta {
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #8a2c25;
    background-color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.ad-landing-cta:hover {
    background-color: #f0611f;
    color: #fff;
}

/* Ad landing header responsive */
@media (max-width: 767px) {
    .ad-landing-header-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .ad-landing-phone-label {
        display: none;
    }

    .ad-landing-phone-number {
        font-size: 18px;
    }

    .ad-landing-cta {
        font-size: 12px;
        padding: 10px 20px;
    }

    .ad-landing-logo img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .ad-landing-header-inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .ad-landing-header-right {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .ad-landing-phone {
        justify-content: center;
    }

    .ad-landing-phone-number {
        font-size: 20px;
        white-space: nowrap;
    }
}

/* ===== Sticky header (the .wrapper div only wraps the header bar in this template) ===== */
.page-template-templatesphoenix-pi-landing-page-php .wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
}
.page-template-templatesphoenix-pi-landing-page-php.admin-bar .wrapper {
    top: var(--wp-admin--admin-bar--height, 32px);
}

/* ===== Banner: desert background + brown-red gradients ===== */
/* Tighter top padding (shared CSS uses 220px) so the full H1 clears the fold on laptops */
@media (min-width: 992px) {
    .page-template-templatesphoenix-pi-landing-page-php .banner-sec {
        padding-top: 140px;
    }
}
.page-template-templatesphoenix-pi-landing-page-php .banner-sec {
    background-image: url(../images/pi-landg-bnr-bg-v2.webp);
}
.page-template-templatesphoenix-pi-landing-page-php .banner-sec::before {
    background-image: -webkit-linear-gradient(90deg, rgb(138, 44, 37) 0%, rgba(138, 44, 37, 0) 100%);
    background-image: linear-gradient(0deg, rgb(138, 44, 37) 0%, rgba(138, 44, 37, 0) 100%);
}
.page-template-templatesphoenix-pi-landing-page-php .banner-sec::after {
    background-image: -webkit-linear-gradient(87deg, #8a2c25 18%, rgba(138, 44, 37, 0) 35%);
    background-image: linear-gradient(3deg, #8a2c25 18%, rgba(138, 44, 37, 0) 35%);
}
.page-template-templatesphoenix-pi-landing-page-php .banner-sec .hmbnr-lst .bnr-lft::before {
    background-image: -webkit-linear-gradient(92deg, #7a261f 18%, rgba(138, 44, 37, 0) 35%);
    background-image: linear-gradient(-2deg, #7a261f 18%, rgba(138, 44, 37, 0) 35%);
}
/* 'ramrock' watermark: sage-green -> warm sand */
.page-template-templatesphoenix-pi-landing-page-php .banner-sec .hmbnr-lst::before {
    color: #d8b09a;
}
@media (max-width: 991px) {
    .page-template-templatesphoenix-pi-landing-page-php .banner-sec {
        background-image: url(../images/pi-landg-bnr-mbl-bg-v2.webp);
    }
}

/* ===== Banner bottom band ===== */
.page-template-templatesphoenix-pi-landing-page-php .hm-banner-btm-sec {
    background-color: #8a2c25;
}
/* Center the banner bottom button (was inline style in header-spanish.php) */
.page-template-templatesphoenix-pi-landing-page-php .hm-banner-btm-sec .hmbnr-btn {
    text-align: center;
    margin-top: -40px;
    margin-bottom: 30px;
}

/* ===== Buttons: green -> Arizona orange ===== */
.page-template-templatesphoenix-pi-landing-page-php a.cmn-btn {
    background-color: #f0611f;
}
.page-template-templatesphoenix-pi-landing-page-php a.cmn-btn:hover {
    background-color: #d14416;
}
.page-template-templatesphoenix-pi-landing-page-php a.cmn-btn.btn-1 {
    background-color: #fff;
    color: #8a2c25;
}
.page-template-templatesphoenix-pi-landing-page-php a.cmn-btn.btn-1:hover {
    background-color: #d14416;
    color: #fff;
}

/* ===== Content section (overrides durable-landing-page-content.css, which uses !important) ===== */
.page-template-templatesphoenix-pi-landing-page-php .durable-landing-page-content a {
    background-color: #f0611f !important;
}
.page-template-templatesphoenix-pi-landing-page-php .durable-landing-page-content a:hover {
    background-color: #d14416 !important;
}
.page-template-templatesphoenix-pi-landing-page-php .durable-compensation-section h3 {
    color: #8a2c25;
}
/* Content typography: headings match the site's H2-ish scale (34-36px Radley),
   body copy matches the 19px used lower on the page */
.page-template-templatesphoenix-pi-landing-page-php .durable-landing-page-content h2 {
    font-size: 36px;
    line-height: 1.2;
    margin: 0 0 20px;
}
.page-template-templatesphoenix-pi-landing-page-php .durable-landing-page-content h3 {
    font-size: 28px;
    line-height: 1.25;
    margin: 30px 0 15px;
}
.page-template-templatesphoenix-pi-landing-page-php .durable-landing-page-content p,
.page-template-templatesphoenix-pi-landing-page-php .durable-landing-page-content li {
    font-size: 19px;
    line-height: 1.6;
}
/* Indent bullet lists so markers sit inside the content column */
.page-template-templatesphoenix-pi-landing-page-php .durable-landing-page-content ul,
.page-template-templatesphoenix-pi-landing-page-php .durable-landing-page-content ol {
    padding-left: 30px;
    margin: 0 0 20px;
}
.page-template-templatesphoenix-pi-landing-page-php .durable-landing-page-content li {
    margin-bottom: 8px;
}

/* ===== Benefits section accents ===== */
.page-template-templatesphoenix-pi-landing-page-php .injury-tp-itm h3::after {
    background-color: #f0611f;
}
/* Recolor the green sprite icon circles toward desert tones */
.page-template-templatesphoenix-pi-landing-page-php .injury-tp-itm h3::before {
    filter: sepia(1) saturate(2.5) hue-rotate(-30deg);
}

/* ===== Benefits section: cap width to match the page's content column ===== */
.page-template-templatesphoenix-pi-landing-page-php .hminjury-top-sec {
    background-image: none; /* full-bleed diagonal pattern removed so the section matches the page bg */
}
.page-template-templatesphoenix-pi-landing-page-php .hminjury-top-sec .container {
    max-width: 900px;
}
/* Shared CSS (home-responsive.css ≤991px) styles these tiles as bordered
   owl-carousel cards for the homepage — no carousel here, so drop the border
   and stack the tiles into a clean centered column on mobile */
@media (max-width: 991px) {
    .page-template-templatesphoenix-pi-landing-page-php .injury-tp-itm {
        border: none;
    }
}
@media (max-width: 767px) {
    .page-template-templatesphoenix-pi-landing-page-php .injury-tp-itm-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    /* Icon left, heading + copy left-aligned to its right; no lines */
    .page-template-templatesphoenix-pi-landing-page-php .injury-tp-itm {
        width: 100%;
        max-width: 440px;
        padding: 0 0 0 80px;
        position: relative;
        text-align: left;
        margin: 0;
    }
    .page-template-templatesphoenix-pi-landing-page-php .injury-tp-itm h3 {
        padding: 0 0 8px;
        border-bottom: none;
        font-size: 24px;
    }
    .page-template-templatesphoenix-pi-landing-page-php .injury-tp-itm h3::after {
        display: none;
    }
    .page-template-templatesphoenix-pi-landing-page-php .injury-tp-itm h3 br {
        display: none;
    }
    .page-template-templatesphoenix-pi-landing-page-php .injury-tp-itm h3::before,
    .page-template-templatesphoenix-pi-landing-page-php .injury-tp-itm:hover h3::before {
        transform: scale(0.45);
        transform-origin: top left;
        top: 0;
        left: -80px;
        right: auto;
        margin: 0;
    }
    .page-template-templatesphoenix-pi-landing-page-php .injury-tp-itm p {
        font-size: 17px;
        line-height: 1.5;
    }
}

/* ===== Results stat band ===== */
.page-template-templatesphoenix-pi-landing-page-php .phx-results-sec {
    background-color: #8a2c25;
    text-align: center;
    padding: 65px 20px 60px;
}
.page-template-templatesphoenix-pi-landing-page-php .phx-results-amount {
    font-family: 'Radley';
    font-weight: 400;
    font-size: 80px;
    line-height: 1;
    color: #fff;
    margin: 0 0 12px;
}
.page-template-templatesphoenix-pi-landing-page-php .phx-results-line {
    font-family: 'Quattrocento Sans';
    font-size: 22px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f5b88e;
    margin: 0;
}

/* ===== Testimonial section ===== */
.page-template-templatesphoenix-pi-landing-page-php .phx-testi-sec {
    padding: 80px 20px 70px;
}
.page-template-templatesphoenix-pi-landing-page-php .phx-testi-blk {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.page-template-templatesphoenix-pi-landing-page-php .phx-testi-stars::before {
    content: "\2605\2605\2605\2605\2605";
    font-size: 32px;
    letter-spacing: 10px;
    color: #f0611f;
    line-height: 1;
}
.page-template-templatesphoenix-pi-landing-page-php .phx-testi-stars {
    margin: 0 auto 25px;
}
.page-template-templatesphoenix-pi-landing-page-php .phx-testi-quote {
    font-family: 'Radley';
    font-style: italic;
    font-size: 26px;
    line-height: 1.5;
    color: #2a2a2a;
    margin: 0 0 25px;
}
.page-template-templatesphoenix-pi-landing-page-php .phx-testi-attrib {
    font-family: 'Quattrocento Sans';
    font-size: 19px;
    font-weight: 700;
    color: #8a2c25;
    margin: 0;
}
@media (max-width: 767px) {
    .page-template-templatesphoenix-pi-landing-page-php .phx-results-amount {
        font-size: 52px;
    }
    .page-template-templatesphoenix-pi-landing-page-php .phx-results-line {
        font-size: 17px;
        letter-spacing: 2px;
    }
    .page-template-templatesphoenix-pi-landing-page-php .phx-testi-quote {
        font-size: 21px;
    }
}

/* ===== Desert parallax band (adapted from pi-arizona-landing-page.css) ===== */
.phx-parallax-sec {
    position: relative;
    background-image: url(../images/pi-arizona-faq-bottm-bg.webp);
    background-size: cover;
    background-repeat: no-repeat;
}
.phx-parallax-sec .parallax-container {
    position: relative;
    overflow: hidden;
}
.phx-parallax-sec .parallax-layer {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    transition: transform 300ms linear;
}
.phx-parallax-sec .parallax-layer img {
    width: 100%;
}
.phx-parallax-sec #main-image {
    position: relative;
    z-index: 40;
}
.phx-parallax-sec #main-image img {
    display: block;
    width: 100%;
    margin: 0 0 -1px;
}

/* ===== Footer form: no map, single centered column, Arizona orange box ===== */
.page-template-templatesphoenix-pi-landing-page-php .hm-form-sec {
    background-image: none;
    padding: 60px 0 0;
}
.page-template-templatesphoenix-pi-landing-page-php .hm-frm-sec {
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}
.page-template-templatesphoenix-pi-landing-page-php .hm-lftfrm-sec {
    width: 100%;
    max-width: 720px;
    padding: 0;
    margin: 0 auto;
    text-align: center;
}
/* homepage.css hides this block (it's Arizona-page-only there) — re-show it here */
.page-template-templatesphoenix-pi-landing-page-php .pi-arizona-frm-cnt {
    display: block;
}
.page-template-templatesphoenix-pi-landing-page-php .hm-lftfrm-sec .pi-arizona-text-heading {
    font-family: 'Radley', serif;
    font-weight: 400;
    font-size: 34px;
    color: #8a2c25;
    margin: 0 0 15px;
    text-align: center;
}
.page-template-templatesphoenix-pi-landing-page-php .hm-lftfrm-sec .para-cnt {
    font-family: 'Quattrocento Sans';
    font-size: 19px;
    line-height: 1.6;
    color: #333;
    text-align: center;
}
.page-template-templatesphoenix-pi-landing-page-php .hm-lftfrm-sec .para-cnt a {
    color: #d14416;
    background: none;
    padding: 0;
    font-weight: 700;
}
.page-template-templatesphoenix-pi-landing-page-php .hm-rgtfrm-sec {
    width: 100%;
    max-width: 660px;
    margin: 0 auto 60px;
    background-color: #f06424;
    background-image: url(../images/pi-arizona-ftr-frm-pattern-img.webp);
}
/* Shared .text-heading is 70px (sized for the wider Spanish form box); tighten for the 660px box */
.page-template-templatesphoenix-pi-landing-page-php .hm-rgtfrm-sec .text-heading {
    font-size: 48px;
}
.page-template-templatesphoenix-pi-landing-page-php .hm-form-sec .gform_footer input[type=submit] {
    background: #000 !important;
    color: #fff !important;
}
.page-template-templatesphoenix-pi-landing-page-php .hm-form-sec .gform_footer input[type="submit"]:hover {
    background-color: #fff !important;
    color: #000 !important;
}

/* ===== Footer / copyright: kill green forest, orange hills + bar ===== */
.page-template-templatesphoenix-pi-landing-page-php .site-footer {
    background-image: none;
}
.page-template-templatesphoenix-pi-landing-page-php .ftr-main-blocks {
    justify-content: center;
}
.page-template-templatesphoenix-pi-landing-page-php .ftr-logo-main {
    border: none;
    width: auto;
    padding: 0;
}
.page-template-templatesphoenix-pi-landing-page-php .copyrights {
    background-color: #d35024;
}
.page-template-templatesphoenix-pi-landing-page-php .copyrights::before {
    background-image: url(../images/pi-arizona-footer-hills.webp);
}
@media (max-width: 991px) {
    /* Purple-footer bug fix: style.css paints .hm-footer-main #4b3566 at <=991px */
    .page-template-templatesphoenix-pi-landing-page-php .hm-footer-main {
        background-color: transparent;
        background-image: none;
    }
    .page-template-templatesphoenix-pi-landing-page-php .ftr-logo-main {
        border: none;
        max-width: none;
    }
}
