/* ==========================================================
   PREMIER POINT MORTGAGE — REAL ESTATE
   FULL CORRECTED STYLESHEET
   HERO TITLE ALIGNMENT + PREMIERBLU OVERLAP
   ========================================================== */

/* ==========================================================
   GLOBAL
   ========================================================== */

.pp-re-widget-wrap {
    --pp-blue: #0D47A1;
    --pp-blue-hover: #0B3D8A;
    --pp-navy: #0B1C33;
    --pp-navy-deep: #071525;
    --pp-white: #FFFFFF;
    --pp-muted: #A8B7CA;
    --pp-line: rgba(13, 71, 161, .48);
    --pp-max: 1500px;

    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: var(--pp-white);
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.pp-re-widget-wrap *,
.pp-re-widget-wrap *::before,
.pp-re-widget-wrap *::after {
    box-sizing: border-box;
    border-radius: 0 !important;
}

.pp-re-widget-wrap img {
    display: block;
    max-width: 100%;
}

.pp-re-section-container {
    width: min(100%, var(--pp-max));
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

/* ==========================================================
   SHARED TYPOGRAPHY
   ========================================================== */

.pp-re-eyebrow,
.pp-re-form-eyebrow {
    display: block;
    margin: 0 0 12px;
    color: var(--pp-blue);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 1.45px;
    text-transform: uppercase;
}

.pp-re-section-title {
    margin: 0;
    color: #FFFFFF;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -.55px;
}

.pp-re-dark-title {
    margin: 0;
    color: #000000;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -.55px;
}

.pp-re-script-accent {
    margin: 7px 0 22px;
    color: var(--pp-blue);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 36px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.08;
}

/* ==========================================================
   SHARED BUTTONS
   ========================================================== */

.pp-re-blue-btn,
.pp-re-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .65px;
    text-decoration: none;
    text-transform: uppercase;
    transition: .18s ease;
}

.pp-re-blue-btn {
    border: 1px solid var(--pp-blue);
    background: var(--pp-blue);
    color: #FFFFFF;
}

.pp-re-blue-btn:hover,
.pp-re-blue-btn:focus {
    border-color: var(--pp-blue-hover);
    background: var(--pp-blue-hover);
    color: #FFFFFF;
}

.pp-re-outline-btn {
    border: 1px solid rgba(255, 255, 255, .8);
    background: transparent;
    color: #FFFFFF;
}

.pp-re-outline-btn:hover,
.pp-re-outline-btn:focus {
    background: #FFFFFF;
    color: #071525;
}

.pp-re-btn-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==========================================================
   HERO
   ========================================================== */

.pp-re-hero-section {
    position: relative;
    width: 100%;
    min-height: 760px;
    overflow: hidden;
    background-color: #050A10;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.pp-re-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(3, 8, 14, .70);
    pointer-events: none;
}

.pp-re-hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, .64) 0%,
        rgba(0, 0, 0, .32) 47%,
        rgba(0, 0, 0, .12) 100%
    );
    pointer-events: none;
}

.pp-re-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 63fr) minmax(390px, 37fr);
    gap: 52px;
    align-items: center;
    min-height: 760px;
    padding-top: 64px;
    padding-bottom: 64px;
}

.pp-re-hero-left {
    max-width: 760px;
    min-width: 0;
    transform: translateY(-10px);
}

/* HERO TITLE — CORRECTED */
.pp-re-hero-title {
    margin: 0;
    padding: 0;
    color: #FFFFFF;
    font-size: clamp(46px, 3.75vw, 60px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -1.35px;
}

.pp-re-hero-title .pp-re-hero-line1 {
    display: block;
    margin: 0;
    padding: 0;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    font-style: normal;
    font-weight: 500;
    line-height: 1.05;
}

.pp-re-hero-title .pp-re-hero-line2 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: .14em;
    width: auto;
    margin: 4px 0 0;
    padding: 0;
    white-space: nowrap;
}

.pp-re-hero-title .pp-re-hero-line2 .pp-re-hero-accent-word {
    display: inline-block !important;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--pp-blue);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1em;
    font-style: italic;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -1px;
    white-space: nowrap;
}

.pp-re-hero-title .pp-re-hero-line2 .pp-re-hero-line2-text {
    display: inline-block !important;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    font-style: normal;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -1.35px;
    white-space: nowrap;
}

.pp-re-divider {
    width: 58px;
    height: 2px;
    margin: 21px 0;
    border: 0;
    background: var(--pp-blue);
}

.pp-re-hero-desc {
    max-width: 670px;
    margin: 0 0 28px;
    color: #ECF2F8;
    font-size: 14.5px;
    line-height: 1.68;
}

.pp-re-hero-right {
    min-width: 0;
}

/* ==========================================================
   HERO FORM
   ========================================================== */

.pp-re-form-panel {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    padding: 29px 30px 22px;
    border: 1px solid rgba(13, 71, 161, .62);
    background: rgba(11, 28, 51, .94);
}

.pp-re-form-heading {
    margin: 0 0 8px;
    color: #FFFFFF;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.2;
}

.pp-re-form-intro {
    margin: 0 0 18px;
    color: #A8B7CA;
    font-size: 12px;
    line-height: 1.52;
}

.pp-re-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 10px;
}

.pp-re-form-field {
    margin-bottom: 10px;
}

.pp-re-form label {
    display: block;
    margin: 0 0 5px;
    color: #F1F5F9;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.pp-re-form input,
.pp-re-form select,
.pp-re-form textarea {
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid rgba(255, 255, 255, .16);
    outline: none;
    background: rgba(255, 255, 255, .025);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 12.5px;
}

.pp-re-form textarea {
    min-height: 68px;
    resize: vertical;
}

.pp-re-form input:focus,
.pp-re-form select:focus,
.pp-re-form textarea:focus {
    border-color: var(--pp-blue);
}

.pp-re-form select option {
    background: var(--pp-navy);
    color: #FFFFFF;
}

.pp-re-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.pp-re-submit-btn {
    width: 100%;
    min-height: 44px;
    margin-top: 1px;
    border: 1px solid var(--pp-blue);
    background: var(--pp-blue);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .55px;
    text-transform: uppercase;
    cursor: pointer;
}

.pp-re-submit-btn:disabled {
    opacity: .65;
    cursor: wait;
}

.pp-re-form-response {
    margin-top: 8px;
    font-size: 11px;
    text-align: center;
}

.pp-re-form-response:empty {
    display: none;
}

.pp-re-form-response.success {
    color: #75D59C;
}

.pp-re-form-response.error {
    color: #FF9B9B;
}

.pp-re-form-privacy {
    margin: 8px 0 0;
    color: #6F849C;
    font-size: 9px;
    line-height: 1.45;
    text-align: center;
}

/* ==========================================================
   ONE CONNECTED EXPERIENCE
   ========================================================== */

.pp-re-experience-section {
    position: relative;
    z-index: 1;
    background: var(--pp-navy);
}

.pp-re-experience-inner {
    padding-top: 72px;
    padding-bottom: 76px;
}

.pp-re-experience-top {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 54px;
}

.pp-re-experience-intro {
    max-width: 500px;
    margin: 0 0 2px auto;
    color: #AFC0D2;
    font-size: 13.5px;
    line-height: 1.72;
}

.pp-re-experience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.pp-re-experience-col {
    min-width: 0;
    min-height: 112px;
    padding: 4px 34px;
    border-left: 1px solid var(--pp-line);
}

.pp-re-experience-col:first-child {
    padding-left: 0;
    border-left: 0;
}

.pp-re-experience-col h3 {
    margin: 0 0 14px;
    color: var(--pp-blue);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .75px;
    text-transform: uppercase;
}

.pp-re-experience-col p {
    margin: 0;
    color: #B0BED0;
    font-size: 13px;
    line-height: 1.68;
}

/* ==========================================================
   BETTER TOGETHER
   ========================================================== */

.pp-re-better-section {
    position: relative;
    z-index: 1;
    overflow: visible;
    background: var(--pp-navy-deep);
}

.pp-re-better-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(270px, 30fr) minmax(0, 70fr);
    gap: 62px;
    align-items: center;
    padding-top: 82px;
    padding-bottom: 110px;
}

.pp-re-better-content {
    position: relative;
    z-index: 2;
    max-width: 410px;
}

.pp-re-better-content p {
    margin: 22px 0 0;
    color: #A7B7CA;
    font-size: 13.5px;
    line-height: 1.74;
}

.pp-re-better-media {
    min-width: 0;
    min-height: 420px;
    overflow: hidden;
    background: #081728;
}

.pp-re-better-media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
}

/* ==========================================================
   PREMIERBLU REALTY — CORRECT OVERLAP
   ========================================================== */

.pp-re-pb-section {
    position: relative;
    z-index: 3;
    overflow: visible !important;
    background: #FFFFFF;
    color: #000000;
}

.pp-re-pb-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(260px, 30fr) minmax(0, 70fr);
    gap: 62px;
    align-items: center;
    overflow: visible !important;
    padding-top: 64px;
    padding-bottom: 68px;
}

.pp-re-pb-content {
    position: relative;
    z-index: 3;
    max-width: 400px;
}

.pp-re-pb-content p {
    margin: 0 0 26px;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.74;
}

.pp-re-pb-media {
    position: relative;
    z-index: 10;
    min-width: 0;
    width: 100%;
    margin-top: -145px;
    overflow: visible !important;
    background: #FFFFFF;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .16);
}

.pp-re-pb-media img {
    display: block;
    width: 100%;
    height: 420px;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    object-position: top center;
    background: #FFFFFF;
}

/* ==========================================================
   BUYING POWER
   ========================================================== */

.pp-re-power-section {
    position: relative;
    z-index: 1;
    background: #FFFFFF;
    color: #000000;
}

.pp-re-power-grid {
    display: grid;
    grid-template-columns: minmax(0, 52fr) minmax(360px, 48fr);
    min-height: 430px;
}

.pp-re-power-media {
    min-height: 430px;
    overflow: hidden;
    background: #E9EEF5;
}

.pp-re-power-media img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    object-position: center;
}

.pp-re-power-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 62px clamp(40px, 5vw, 90px);
}

.pp-re-power-content p {
    max-width: 560px;
    margin: 0 0 26px;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.74;
}

/* ==========================================================
   FINAL CTA
   ========================================================== */

.pp-re-cta-section {
    background: var(--pp-navy);
}

.pp-re-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 210px;
}

.pp-re-cta-media {
    min-height: 210px;
    background-color: #071525;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.pp-re-cta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px clamp(34px, 5vw, 80px);
}

.pp-re-cta-content h2 {
    margin: 0 0 20px;
    color: #FFFFFF;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.55px;
}

/* ==========================================================
   AFFILIATED BUSINESS DISCLOSURE
   ========================================================== */

.pp-re-disclosure-section {
    border-top: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: #475569;
}

.pp-re-disclosure-section .pp-re-section-container {
    padding-top: 30px;
    padding-bottom: 32px;
}

.pp-re-disclosure-section h4 {
    margin: 0 0 9px;
    color: #0F172A;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.pp-re-disclosure-section p {
    max-width: 1250px;
    margin: 0;
    font-size: 10.5px;
    line-height: 1.65;
}

/* ==========================================================
   SMALL DESKTOP
   ========================================================== */

@media (max-width: 1100px) {
    .pp-re-hero-grid {
        grid-template-columns: minmax(0, 60fr) minmax(380px, 40fr);
        gap: 34px;
    }

    .pp-re-form-panel {
        padding: 27px 26px 21px;
    }

    .pp-re-better-grid,
    .pp-re-pb-grid {
        gap: 38px;
    }

    .pp-re-pb-media {
        margin-top: -115px;
    }
}

/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {
    .pp-re-hero-grid,
    .pp-re-better-grid,
    .pp-re-pb-grid,
    .pp-re-power-grid,
    .pp-re-cta-grid,
    .pp-re-experience-top {
        grid-template-columns: 1fr;
    }

    .pp-re-hero-grid {
        min-height: 0;
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .pp-re-hero-title .pp-re-hero-line2 {
        flex-wrap: wrap;
        white-space: normal;
    }

    .pp-re-form-panel {
        max-width: 700px;
        margin-left: 0;
    }

    .pp-re-experience-intro {
        margin-left: 0;
    }

    .pp-re-experience-grid {
        grid-template-columns: 1fr;
    }

    .pp-re-experience-col,
    .pp-re-experience-col:first-child {
        padding: 24px 0;
        border-left: 0;
        border-top: 1px solid var(--pp-line);
    }

    .pp-re-experience-col:first-child {
        border-top: 0;
    }

    .pp-re-better-grid {
        padding-bottom: 90px;
    }

    .pp-re-better-media,
    .pp-re-better-media img {
        height: 360px;
        min-height: 360px;
    }

    .pp-re-pb-grid {
        gap: 36px;
        padding-top: 54px;
        padding-bottom: 60px;
    }

    .pp-re-pb-media {
        margin-top: -75px;
    }

    .pp-re-pb-media img {
        height: auto;
        min-height: 0;
    }

    .pp-re-power-media,
    .pp-re-power-media img {
        min-height: 360px;
    }

    .pp-re-power-content {
        padding: 56px 40px;
    }

    .pp-re-cta-media {
        min-height: 280px;
    }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {
    .pp-re-section-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pp-re-hero-title {
        font-size: 40px;
        line-height: 1.08;
    }

    .pp-re-hero-title .pp-re-hero-line2 {
        flex-wrap: wrap;
        gap: 0 .12em;
        white-space: normal;
    }

    .pp-re-hero-title .pp-re-hero-line2 .pp-re-hero-line2-text {
        white-space: normal;
    }

    .pp-re-section-title,
    .pp-re-dark-title,
    .pp-re-cta-content h2 {
        font-size: 29px;
    }

    .pp-re-script-accent {
        font-size: 30px;
    }

    .pp-re-hero-left {
        transform: none;
    }

    .pp-re-form-panel {
        padding: 24px 20px 20px;
    }

    .pp-re-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pp-re-form-row .pp-re-form-col {
        margin-bottom: 10px;
    }

    .pp-re-btn-row {
        flex-direction: column;
    }

    .pp-re-blue-btn,
    .pp-re-outline-btn {
        width: 100%;
    }

    .pp-re-experience-inner,
    .pp-re-better-grid,
    .pp-re-pb-grid {
        padding-top: 58px;
        padding-bottom: 60px;
    }

    .pp-re-better-grid {
        padding-bottom: 58px;
    }

    .pp-re-better-media,
    .pp-re-better-media img {
        height: 300px;
        min-height: 300px;
    }

    .pp-re-pb-media {
        margin-top: 0;
    }

    .pp-re-pb-media img {
        height: auto;
    }

    .pp-re-power-media,
    .pp-re-power-media img {
        height: 300px;
        min-height: 300px;
    }

    .pp-re-power-content {
        padding: 50px 20px;
    }

    .pp-re-cta-content {
        padding: 42px 20px;
    }
}

@media (max-width: 480px) {
    .pp-re-hero-title {
        font-size: 35px;
    }
}
