/* ==========================================================
   PHL PUBLIC HOMEPAGE V2
   ========================================================== */

.phl-home-v2 {
    --phl-green: #063f35;
    --phl-green-dark: #043229;
    --phl-gold: #b48a2a;
    --phl-gold-dark: #98711c;
    --phl-ink: #17211f;
    --phl-muted: #68736f;
    --phl-line: #e5e8e5;
    --phl-soft: #f6f7f4;
    --phl-white: #ffffff;
    color: var(--phl-ink);
    background: var(--phl-white);
    overflow: hidden;
}

.phl-home-v2,
.phl-home-v2 * {
    box-sizing: border-box;
}

.phl-home-v2 a {
    color: inherit;
    text-decoration: none;
}

.phl-home-v2 img {
    display: block;
    max-width: 100%;
}

.phl-home-v2__container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.phl-home-v2__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--phl-gold-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1.3;
}

.phl-home-v2__eyebrow--light {
    color: #e5c56d;
}

.phl-home-v2 h1,
.phl-home-v2 h2,
.phl-home-v2 h3,
.phl-home-v2 p {
    margin-top: 0;
}

.phl-home-v2 h1,
.phl-home-v2 h2,
.phl-home-v2 h3 {
    font-family: Georgia, 'Times New Roman', serif;
}

.phl-home-v2 h2 {
    margin-bottom: 14px;
    color: var(--phl-ink);
    font-size: clamp(32px, 4vw, 48px);
    line-height: .98;
    letter-spacing: -.025em;
}

.phl-home-v2 p {
    color: var(--phl-muted);
    font-size: 15px;
    line-height: 1.7;
}

.phl-home-v2 svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    flex: 0 0 auto;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.phl-home-v2__button,
.phl-home-v2__small-button,
.phl-home-v2__text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.phl-home-v2__button:hover,
.phl-home-v2__small-button:hover,
.phl-home-v2__text-button:hover {
    transform: translateY(-2px);
}

.phl-home-v2__button--gold,
.phl-home-v2__small-button {
    color: #fff;
    background: var(--phl-gold);
}

.phl-home-v2__button--gold:hover,
.phl-home-v2__small-button:hover {
    background: var(--phl-gold-dark);
    color: #fff;
}

.phl-home-v2__button--outline {
    color: #fff;
    border: 1px solid rgba(255,255,255,.72);
    background: rgba(0,0,0,.08);
}

.phl-home-v2__button--outline:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255,255,255,.12);
}

.phl-home-v2__text-button {
    min-height: 42px;
    padding: 0 14px;
    color: var(--phl-gold-dark);
    border: 1px solid var(--phl-gold);
    background: transparent;
    white-space: nowrap;
}

.phl-home-v2__text-button:hover {
    color: #fff;
    background: var(--phl-gold);
}

.phl-home-v2__small-button {
    min-height: 42px;
    padding-inline: 15px;
}

.phl-home-v2__small-button--full {
    width: 100%;
}

/* ==========================================================
   HERO
   ========================================================== */

.phl-home-v2__hero {
    position: relative;
    min-height: 590px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.phl-home-v2__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,33,27,.83) 0%, rgba(0,38,31,.63) 42%, rgba(0,30,25,.08) 100%);
}

.phl-home-v2__hero-inner {
    position: relative;
    min-height: 590px;
    display: flex;
    align-items: center;
}

.phl-home-v2__hero-copy {
    width: min(650px, 100%);
    padding-block: 80px;
    color: #fff;
}

.phl-home-v2__hero-copy h1 {
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(48px, 6vw, 76px);
    line-height: .93;
    letter-spacing: -.035em;
}

.phl-home-v2__hero-copy p {
    max-width: 560px;
    margin-bottom: 28px;
    color: rgba(255,255,255,.92);
    font-size: 18px;
    line-height: 1.55;
}

.phl-home-v2__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================
   TRUST STRIP
   ========================================================== */

.phl-home-v2__trust-strip {
    border-bottom: 1px solid var(--phl-line);
    background: #fff;
}

.phl-home-v2__trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.phl-home-v2__trust-item {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    border-right: 1px solid var(--phl-line);
}

.phl-home-v2__trust-item:first-child {
    padding-left: 0;
}

.phl-home-v2__trust-item:last-child {
    border-right: 0;
    padding-right: 0;
}

.phl-home-v2__trust-item .phl-home-v2__icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--phl-green);
}

.phl-home-v2__trust-item strong,
.phl-home-v2__trust-item small {
    display: block;
}

.phl-home-v2__trust-item strong {
    margin-bottom: 3px;
    font-size: 13px;
}

.phl-home-v2__trust-item small {
    color: var(--phl-muted);
    font-size: 11px;
}

/* ==========================================================
   GENERAL SECTIONS
   ========================================================== */

.phl-home-v2__section {
    padding: 88px 0;
}

.phl-home-v2__section--developments {
    background: #fff;
}

.phl-home-v2__section--why,
.phl-home-v2__section--models,
.phl-home-v2__section--specialists,
.phl-home-v2__section--journal {
    background: var(--phl-soft);
}

.phl-home-v2__section-heading {
    margin-bottom: 36px;
}

.phl-home-v2__section-heading > div {
    max-width: 620px;
}

.phl-home-v2__section-heading p {
    max-width: 590px;
    margin-bottom: 0;
}

.phl-home-v2__section-heading--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

/* ==========================================================
   DEVELOPMENT CARDS
   ========================================================== */

.phl-home-v2__development-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.phl-home-v2__development-card,
.phl-home-v2__model-card,
.phl-home-v2__journal-card,
.phl-home-v2__specialist-card {
    overflow: hidden;
    border: 1px solid var(--phl-line);
    background: #fff;
    box-shadow: 0 10px 28px rgba(14,28,24,.055);
}

.phl-home-v2__development-image,
.phl-home-v2__model-image,
.phl-home-v2__journal-image {
    display: block;
    overflow: hidden;
    background: #e9ece8;
}

.phl-home-v2__development-image {
    aspect-ratio: 16 / 8.8;
}

.phl-home-v2__development-image img,
.phl-home-v2__model-image img,
.phl-home-v2__journal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.phl-home-v2__development-card:hover img,
.phl-home-v2__model-card:hover img,
.phl-home-v2__journal-card:hover img {
    transform: scale(1.035);
}

.phl-home-v2__development-body {
    padding: 22px;
}

.phl-home-v2__development-body h3 {
    margin-bottom: 8px;
    font-size: 22px;
    line-height: 1.1;
}

.phl-home-v2__development-body p {
    min-height: 50px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.55;
}

.phl-home-v2__location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    color: var(--phl-green);
    font-size: 12px;
    font-weight: 700;
}

.phl-home-v2__location svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================
   FINDER
   ========================================================== */

.phl-home-v2__finder {
    padding: 48px 0;
    color: #fff;
    background: var(--phl-green);
}

.phl-home-v2__finder-inner {
    display: grid;
    grid-template-columns: .75fr 1.65fr;
    align-items: center;
    gap: 36px;
}

.phl-home-v2__finder h2 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 38px;
}

.phl-home-v2__finder p {
    margin-bottom: 0;
    color: rgba(255,255,255,.76);
    font-size: 13px;
}

.phl-home-v2__finder-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 8px;
    align-items: stretch;
}

.phl-home-v2__finder-field {
    min-width: 0;
    min-height: 66px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 9px 13px;
    background: #fff;
    color: var(--phl-ink);
}

.phl-home-v2__finder-controls span {
    display: block;
    margin-bottom: 4px;
    color: var(--phl-muted);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.phl-home-v2__finder-field select {
    width: 100%;
    min-width: 0;
    min-height: 28px;
    padding: 0 28px 0 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background-color: transparent;
    color: var(--phl-ink);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.phl-home-v2__finder-field select:focus-visible {
    outline: 2px solid var(--phl-gold);
    outline-offset: 2px;
}

.phl-home-v2__finder-button {
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: var(--phl-gold);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.phl-home-v2__finder-button svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.phl-home-v2__finder-button:hover,
.phl-home-v2__finder-button:focus-visible {
    color: #fff;
    filter: brightness(.94);
}

.phl-home-v2__finder-button {
    min-width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 16px;
    color: #fff;
    background: var(--phl-gold);
    font-size: 12px;
    font-weight: 800;
}

/* ==========================================================
   ADVANTAGES
   ========================================================== */

.phl-home-v2__section-heading--why {
    margin-bottom: 30px;
}

.phl-home-v2__advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--phl-line);
    border-bottom: 1px solid var(--phl-line);
}

.phl-home-v2__advantage {
    padding: 30px 26px;
    text-align: center;
    border-right: 1px solid var(--phl-line);
}

.phl-home-v2__advantage:last-child {
    border-right: 0;
}

.phl-home-v2__advantage-icon,
.phl-home-v2__stat-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    place-items: center;
    color: var(--phl-gold-dark);
}

.phl-home-v2__advantage h3 {
    margin-bottom: 7px;
    font-size: 18px;
}

.phl-home-v2__advantage p {
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.5;
}

/* ==========================================================
   HOUSE MODELS
   ========================================================== */

.phl-home-v2__model-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.phl-home-v2__model-image {
    aspect-ratio: 1.35 / 1;
}

.phl-home-v2__model-body {
    padding: 18px;
}

.phl-home-v2__model-body h3 {
    margin-bottom: 9px;
    font-size: 20px;
}

.phl-home-v2__model-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
    min-height: 48px;
    margin-bottom: 16px;
}

.phl-home-v2__model-specs span {
    color: var(--phl-muted);
    font-size: 11px;
}

.phl-home-v2__model-specs span:not(:last-child)::after {
    content: '•';
    margin-left: 8px;
}

/* ==========================================================
   JOURNEY
   ========================================================== */

.phl-home-v2__journey {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    background: url('https://lqwrealty.com/wp-content/uploads/2026/06/GreenvilleWestMornng.png') center / cover no-repeat;
}

.phl-home-v2__journey-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4,38,32,.91), rgba(4,48,40,.68) 62%, rgba(0,0,0,.15));
}

.phl-home-v2__journey-inner {
    position: relative;
    display: grid;
    grid-template-columns: .95fr 1.35fr;
    align-items: center;
    gap: 70px;
    padding-block: 70px;
}

.phl-home-v2__journey-copy h2 {
    margin-bottom: 8px;
    color: #fff;
}

.phl-home-v2__journey-copy p {
    margin-bottom: 0;
    color: rgba(255,255,255,.78);
}

.phl-home-v2__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.phl-home-v2__step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
}

.phl-home-v2__step-number {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--phl-green);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 700;
}

.phl-home-v2__step strong {
    font-size: 12px;
}

.phl-home-v2__step small {
    margin-top: 3px;
    color: rgba(255,255,255,.72);
    font-size: 10px;
}

/* ==========================================================
   INVESTMENT
   ========================================================== */

.phl-home-v2__investment-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.25fr 1fr;
    align-items: stretch;
    gap: 0;
}

.phl-home-v2__investment-copy {
    padding: 24px 42px 24px 0;
}

.phl-home-v2__investment-copy p {
    max-width: 420px;
}

.phl-home-v2__investment-copy .phl-home-v2__text-button {
    margin-top: 8px;
}

.phl-home-v2__investment-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid var(--phl-line);
    border-right: 1px solid var(--phl-line);
}

.phl-home-v2__investment-stats > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 10px;
    text-align: center;
    border-right: 1px solid var(--phl-line);
}

.phl-home-v2__investment-stats > div:last-child {
    border-right: 0;
}

.phl-home-v2__stat-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
}

.phl-home-v2__investment-stats strong {
    color: var(--phl-green);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 38px;
    line-height: 1;
}

.phl-home-v2__investment-stats small {
    max-width: 90px;
    margin-top: 6px;
    color: var(--phl-muted);
    font-size: 10px;
}

.phl-home-v2__investment-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.phl-home-v2__investment-points li {
    position: relative;
    padding-left: 18px;
    color: var(--phl-muted);
    font-size: 14px;
    line-height: 1.5;
}

.phl-home-v2__investment-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .65em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--phl-gold);
    transform: translateY(-50%);
}

.phl-home-v2__investment-image {
    min-height: 270px;
    overflow: hidden;
}

.phl-home-v2__investment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================
   SPECIALISTS
   ========================================================== */

.phl-home-v2__specialist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.phl-home-v2__specialist-card {
    padding: 18px;
}

.phl-home-v2__specialist-photo {
    width: 108px;
    height: 108px;
    margin: 0 auto 13px;
    overflow: hidden;
    border-radius: 50%;
    background: #eef0ed;
}

.phl-home-v2__specialist-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.phl-home-v2__specialist-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    padding: 15px;
    place-items: center;
    color: var(--phl-muted);
    font-size: 10px;
    text-align: center;
}

.phl-home-v2__specialist-card h3 {
    min-height: 42px;
    margin-bottom: 5px;
    text-align: left;
    color: #23466f;
    font-size: 18px;
    line-height: 1.15;
}

.phl-home-v2__specialist-title {
    display: block;
    min-height: 28px;
    color: var(--phl-gold-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.35;
    text-align: left;
}

.phl-home-v2__specialist-contact {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 9px;
    color: var(--phl-muted);
    font-size: 11px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.phl-home-v2__specialist-contact span {
    color: var(--phl-green);
    flex: 0 0 auto;
}

.phl-home-v2__specialist-card .phl-home-v2__small-button {
    margin-top: 16px;
    min-height: 44px;
    font-size: 12px;
}

.phl-home-v2__specialist-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 22px;
    padding: 22px 24px;
    border: 1px solid var(--phl-line);
    background: #fff;
}

.phl-home-v2__specialist-cta strong,
.phl-home-v2__specialist-cta span {
    display: block;
}

.phl-home-v2__specialist-cta strong {
    margin-bottom: 3px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
}

.phl-home-v2__specialist-cta span {
    color: var(--phl-muted);
    font-size: 12px;
}

/* ==========================================================
   JOURNAL
   ========================================================== */

.phl-home-v2__journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.phl-home-v2__journal-image {
    aspect-ratio: 1.7 / 1;
}

.phl-home-v2__journal-body {
    padding: 20px;
}

.phl-home-v2__journal-body time {
    color: var(--phl-gold-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.phl-home-v2__journal-body h3 {
    margin: 9px 0 9px;
    font-size: 20px;
    line-height: 1.12;
}

.phl-home-v2__journal-body p {
    margin-bottom: 0;
    font-size: 12px;
}

/* ==========================================================
   FINAL CTA
   ========================================================== */

.phl-home-v2__final-cta {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--phl-green);
}

.phl-home-v2__final-cta::after {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -130px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

.phl-home-v2__final-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-block: 62px;
}

.phl-home-v2__final-cta h2 {
    margin-bottom: 8px;
    color: #fff;
}

.phl-home-v2__final-cta p {
    margin-bottom: 0;
    color: rgba(255,255,255,.76);
}

.phl-home-v2__final-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

/* ==========================================================
   RESPONSIVE — TABLET
   ========================================================== */

@media (max-width: 1024px) {
    .phl-home-v2__container {
        width: min(940px, calc(100% - 36px));
    }

    .phl-home-v2__hero,
    .phl-home-v2__hero-inner {
        min-height: 520px;
    }

    .phl-home-v2__development-grid,
    .phl-home-v2__journal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phl-home-v2__development-card:last-child {
        grid-column: span 2;
    }

    .phl-home-v2__model-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phl-home-v2__specialist-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phl-home-v2__finder-inner,
    .phl-home-v2__journey-inner,
    .phl-home-v2__investment-grid {
        grid-template-columns: 1fr;
    }

    .phl-home-v2__finder-controls {
        grid-template-columns: repeat(2, 1fr);
    }

    .phl-home-v2__finder-button {
        min-height: 58px;
    }

    .phl-home-v2__investment-copy {
        padding-right: 0;
    }

.phl-home-v2__investment-image {
        min-height: 300px;
    }

    .phl-home-v2__final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .phl-home-v2__final-actions {
        justify-content: flex-start;
    }
}

/* ==========================================================
   RESPONSIVE — MOBILE
   ========================================================== */

@media (max-width: 680px) {
    .phl-home-v2__investment-points { grid-template-columns: 1fr; }
    .phl-home-v2__container {
        width: min(100% - 28px, 520px);
    }

    .phl-home-v2__desktop-break {
        display: none;
    }

    .phl-home-v2 h2 {
        font-size: 35px;
    }

    .phl-home-v2__section {
        padding: 58px 0;
    }

    .phl-home-v2__hero,
    .phl-home-v2__hero-inner {
        min-height: 590px;
    }

    .phl-home-v2__hero {
        background-position: 63% center;
    }

    .phl-home-v2__hero-overlay {
        background: linear-gradient(180deg, rgba(0,38,31,.45) 0%, rgba(0,34,28,.88) 62%, rgba(0,28,23,.96) 100%);
    }

    .phl-home-v2__hero-inner {
        align-items: flex-end;
    }

    .phl-home-v2__hero-copy {
        padding: 36px 0 38px;
    }

    .phl-home-v2__hero-copy h1 {
        font-size: clamp(43px, 12vw, 58px);
        line-height: .92;
    }

    .phl-home-v2__hero-copy p {
        font-size: 15px;
    }

    .phl-home-v2__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .phl-home-v2__button {
        width: 100%;
    }

    .phl-home-v2__trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phl-home-v2__trust-item,
    .phl-home-v2__trust-item:first-child,
    .phl-home-v2__trust-item:last-child {
        min-height: 88px;
        padding: 14px 10px;
        border-right: 1px solid var(--phl-line);
        border-bottom: 1px solid var(--phl-line);
    }

    .phl-home-v2__trust-item:nth-child(2n) {
        border-right: 0;
    }

    .phl-home-v2__trust-item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .phl-home-v2__trust-item .phl-home-v2__icon {
        width: 28px;
        height: 28px;
    }

    .phl-home-v2__trust-item strong {
        font-size: 11px;
    }

    .phl-home-v2__trust-item small {
        font-size: 9px;
    }

    .phl-home-v2__section-heading--split {
        display: block;
    }

    .phl-home-v2__section-heading--split .phl-home-v2__text-button {
        margin-top: 18px;
    }

    .phl-home-v2__development-grid,
    .phl-home-v2__model-grid,
    .phl-home-v2__journal-grid,
    .phl-home-v2__specialist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .phl-home-v2__development-card:last-child {
        grid-column: auto;
    }

    .phl-home-v2__development-image {
        aspect-ratio: 1.4 / 1;
    }

    .phl-home-v2__development-body {
        padding: 14px;
    }

    .phl-home-v2__development-body h3 {
        font-size: 17px;
    }

    .phl-home-v2__development-body p {
        min-height: 0;
        font-size: 11px;
    }

    .phl-home-v2__small-button {
        min-height: 40px;
        padding-inline: 9px;
        font-size: 9px;
    }

    .phl-home-v2__finder {
        padding: 40px 0;
    }

    .phl-home-v2__finder h2 {
        font-size: 34px;
    }

    .phl-home-v2__finder-controls {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .phl-home-v2__finder-controls > a:not(.phl-home-v2__finder-button) {
        min-height: 60px;
    }

    .phl-home-v2__finder-button {
        min-height: 52px;
    }

    .phl-home-v2__advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .phl-home-v2__advantage {
        padding: 24px 12px;
        border-bottom: 1px solid var(--phl-line);
    }

    .phl-home-v2__advantage:nth-child(2n) {
        border-right: 0;
    }

    .phl-home-v2__advantage:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .phl-home-v2__advantage h3 {
        font-size: 18px;
    }

    .phl-home-v2__advantage p {
        font-size: 10px;
    }

    .phl-home-v2__model-body {
        padding: 12px;
    }

    .phl-home-v2__model-body h3 {
        font-size: 17px;
    }

    .phl-home-v2__model-specs {
        display: block;
        min-height: 0;
    }

    .phl-home-v2__model-specs span {
        display: block;
        margin-bottom: 3px;
        font-size: 9px;
    }

    .phl-home-v2__model-specs span:not(:last-child)::after {
        display: none;
    }

    .phl-home-v2__journey-inner {
        gap: 34px;
        padding-block: 54px;
    }

    .phl-home-v2__steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }

    .phl-home-v2__step-number {
        width: 48px;
        height: 48px;
        font-size: 19px;
    }

    .phl-home-v2__step strong {
        font-size: 9px;
    }

    .phl-home-v2__step small {
        font-size: 8px;
    }

    .phl-home-v2__investment-stats {
        border-left: 0;
        border-right: 0;
    }

    .phl-home-v2__investment-stats strong {
        font-size: 30px;
    }

.phl-home-v2__investment-image {
        min-height: 220px;
    }

    .phl-home-v2__specialist-card {
        padding: 12px;
    }

    .phl-home-v2__specialist-photo {
        width: 84px;
        height: 84px;
    }

    .phl-home-v2__specialist-card h3 {
        min-height: 36px;
        font-size: 14px;
    }

    .phl-home-v2__specialist-title {
        min-height: 25px;
        font-size: 7px;
    }

    .phl-home-v2__specialist-contact {
        font-size: 8px;
    }

    .phl-home-v2__specialist-card .phl-home-v2__small-button {
        margin-top: 11px;
    }

    .phl-home-v2__specialist-cta {
        display: block;
        padding: 18px;
    }

    .phl-home-v2__specialist-cta strong {
        font-size: 18px;
    }

    .phl-home-v2__specialist-cta .phl-home-v2__button {
        margin-top: 14px;
    }

    .phl-home-v2__journal-body {
        padding: 14px;
    }

    .phl-home-v2__journal-body h3 {
        font-size: 16px;
    }

    .phl-home-v2__journal-body p {
        font-size: 10px;
        line-height: 1.5;
    }

    .phl-home-v2__final-cta-inner {
        padding-block: 50px;
    }

    .phl-home-v2__final-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   Current Homepage Content Sections
   ========================================================== */

.phl-home-v2__section--solutions,
.phl-home-v2__section--featured-properties,
.phl-home-v2__section--property-map {
    background: #fff;
}

.phl-home-v2__solution-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.phl-home-v2__solution-card {
    padding: 28px 24px;
    border: 1px solid rgba(13, 67, 55, .12);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 49, 43, .06);
}

.phl-home-v2__solution-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(190, 145, 45, .12);
    color: #b88a2d;
}

.phl-home-v2__solution-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.phl-home-v2__solution-card h3 {
    margin: 0 0 10px;
}

.phl-home-v2__solution-card p {
    margin: 0;
}

.phl-home-v2__featured-property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.phl-home-v2__featured-property {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    border: 1px solid rgba(13, 67, 55, .1);
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 49, 43, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.phl-home-v2__featured-property:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(16, 49, 43, .1);
}

.phl-home-v2__featured-property-image {
    display: block;
    width: calc(100% + 48px);
    margin: -24px -24px 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--phl-soft);
}

.phl-home-v2__featured-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phl-home-v2__featured-property-price {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #b88a2d;
}

.phl-home-v2__featured-property strong {
    font-size: 1.05rem;
}

.phl-home-v2__featured-property small {
    color: #68736f;
}

.phl-home-v2__legacy-map {
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid var(--phl-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 49, 43, .06);
}

.phl-home-v2__legacy-map .lqw-map-preview-section {
    margin: 0;
    padding: 0;
}

.phl-home-v2__map-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 28px;
    padding: 30px;
    border-radius: 18px;
    background: #f4f7f5;
}

.phl-home-v2__map-panel-copy {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.phl-home-v2__map-panel-copy strong {
    font-size: 1.15rem;
}

.phl-home-v2__map-panel-copy span {
    color: #68736f;
}

@media (max-width: 900px) {
    .phl-home-v2__solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .phl-home-v2__featured-property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .phl-home-v2__solution-grid,
    .phl-home-v2__featured-property-grid {
        grid-template-columns: 1fr;
    }

    .phl-home-v2__legacy-map {
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid var(--phl-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 49, 43, .06);
}

.phl-home-v2__legacy-map .lqw-map-preview-section {
    margin: 0;
    padding: 0;
}

.phl-home-v2__map-panel {
        align-items: stretch;
        flex-direction: column;
    }
}

.phl-home-v2__hero-solutions {
    background: #fff;
    border-bottom: 1px solid rgba(13, 67, 55, .08);
}

.phl-home-v2__hero-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.phl-home-v2__hero-solutions-grid a {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    color: #123f35;
    font-weight: 700;
    text-decoration: none;
    border-right: 1px solid rgba(13, 67, 55, .08);
}

.phl-home-v2__hero-solutions-grid a:last-child {
    border-right: 0;
}

@media (max-width: 640px) {
    .phl-home-v2__hero-solutions-grid {
        grid-template-columns: 1fr;
    }

    .phl-home-v2__hero-solutions-grid a {
        min-height: 48px;
        border-right: 0;
        border-bottom: 1px solid rgba(13, 67, 55, .08);
    }

    .phl-home-v2__hero-solutions-grid a:last-child {
        border-bottom: 0;
    }
}

/* ==========================================================
   FINAL VISUAL ALIGNMENT / IMAGE SCALE PASS
   ==========================================================
   Keep the approved homepage content unchanged. These rules
   tighten image proportions, card alignment, and responsive
   spacing so the live WordPress/Spectra environment does not
   allow source image dimensions to dictate the layout.
   ========================================================== */

.phl-home-v2 {
    width: 100%;
    max-width: 100%;
}

.phl-home-v2__container {
    width: min(1180px, calc(100% - 48px));
}

/* Hero */
.phl-home-v2__hero,
.phl-home-v2__hero-inner {
    min-height: 590px;
}

.phl-home-v2__hero-copy {
    width: min(650px, 100%);
    padding-block: 80px;
}

.phl-home-v2__hero-copy h1 {
    max-width: 560px;
    font-size: clamp(48px, 6vw, 76px);
}

.phl-home-v2__hero-copy p {
    max-width: 560px;
    font-size: 18px;
}

/* All content images are constrained by their frame. */
.phl-home-v2__development-image,
.phl-home-v2__model-image,
.phl-home-v2__featured-property-image,
.phl-home-v2__journal-image,
.phl-home-v2__investment-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.phl-home-v2__development-image {
    aspect-ratio: 16 / 9;
}

.phl-home-v2__model-image {
    aspect-ratio: 4 / 3;
}

.phl-home-v2__featured-property-image {
    aspect-ratio: 16 / 10;
}

.phl-home-v2__journal-image {
    aspect-ratio: 16 / 9;
}

.phl-home-v2__development-image img,
.phl-home-v2__model-image img,
.phl-home-v2__featured-property-image img,
.phl-home-v2__journal-image img,
.phl-home-v2__investment-image img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
}

/* Development cards stay equal and aligned. */
.phl-home-v2__development-grid {
    align-items: stretch;
    gap: 22px;
}

.phl-home-v2__development-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.phl-home-v2__development-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.phl-home-v2__development-body p {
    flex: 1 1 auto;
}

/* House model cards */
.phl-home-v2__model-grid {
    align-items: stretch;
}

.phl-home-v2__model-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.phl-home-v2__model-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.phl-home-v2__model-body .phl-home-v2__small-button {
    margin-top: auto;
}

/* Featured properties: four balanced cards on desktop. */
.phl-home-v2__featured-property-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}

.phl-home-v2__featured-property {
    min-width: 0;
    min-height: 0;
    justify-content: flex-start;
    padding: 0 18px 18px;
}

.phl-home-v2__featured-property-image {
    width: calc(100% + 36px);
    margin: 0 -18px 12px;
}

.phl-home-v2__featured-property strong,
.phl-home-v2__featured-property small,
.phl-home-v2__featured-property-price {
    display: block;
}

/* Investment image is a controlled panel, not a free-sized image. */
.phl-home-v2__investment-image {
    height: 240px;
    min-height: 240px;
}

/* Specialist cards: compact portrait frame, no oversized source images. */
.phl-home-v2__specialist-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

.phl-home-v2__specialist-card {
    min-width: 0;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 14px;
}

.phl-home-v2__specialist-photo {
    width: 100%;
    height: 250px;
    flex: 0 0 250px;
    margin: 0 0 14px;
    border-radius: 11px;
}

.phl-home-v2__specialist-photo img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center top;
}

.phl-home-v2__specialist-contact {
    min-width: 0;
}

.phl-home-v2__specialist-card .phl-home-v2__small-button {
    margin-top: auto;
}

/* Journal cards stay visually consistent. */
.phl-home-v2__journal-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.phl-home-v2__journal-body {
    flex: 1 1 auto;
}

/* Remove unintended WP/Spectra image margins inside the module. */
.phl-home-v2 figure,
.phl-home-v2 .wp-block-image,
.phl-home-v2 .wp-block-image img {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* ==========================================================
   TABLET ALIGNMENT
   ========================================================== */

@media (max-width: 1024px) {
    .phl-home-v2__container {
        width: min(940px, calc(100% - 36px));
    }

    .phl-home-v2__hero,
    .phl-home-v2__hero-inner {
        min-height: 440px;
    }

    .phl-home-v2__featured-property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .phl-home-v2__specialist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .phl-home-v2__specialist-card {
        padding: 14px;
    }

    .phl-home-v2__specialist-photo {
        width: 100%;
        height: 280px;
        flex-basis: 280px;
    }

    .phl-home-v2__investment-image {
        height: 280px;
        min-height: 280px;
    }
}

/* ==========================================================
   MOBILE ALIGNMENT
   ========================================================== */

@media (max-width: 680px) {
    .phl-home-v2__container {
        width: calc(100% - 28px);
        max-width: 520px;
    }

    .phl-home-v2__hero,
    .phl-home-v2__hero-inner {
        min-height: 520px;
    }

    .phl-home-v2__hero {
        background-position: 64% center;
    }

    .phl-home-v2__hero-copy {
        padding: 30px 0 30px;
    }

    .phl-home-v2__hero-copy h1 {
        max-width: 100%;
        font-size: clamp(38px, 11vw, 52px);
    }

    .phl-home-v2__hero-copy p {
        max-width: 100%;
        font-size: 14px;
    }

    .phl-home-v2__section {
        padding: 48px 0;
    }

    /* One-column visual rhythm for image-heavy content. */
    .phl-home-v2__development-grid,
    .phl-home-v2__model-grid,
    .phl-home-v2__featured-property-grid,
    .phl-home-v2__journal-grid {
        grid-template-columns: 1fr;
    }

    .phl-home-v2__development-card:last-child {
        grid-column: auto;
    }

    .phl-home-v2__development-image {
        aspect-ratio: 16 / 9;
    }

    .phl-home-v2__model-image {
        aspect-ratio: 16 / 10;
    }

    .phl-home-v2__featured-property-image {
        aspect-ratio: 16 / 9;
    }

    .phl-home-v2__journal-image {
        aspect-ratio: 16 / 9;
    }

    /* Eight specialists: two-column compact cards. */
    .phl-home-v2__specialist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .phl-home-v2__specialist-card {
        padding: 12px 10px;
    }

    .phl-home-v2__specialist-photo {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }

    .phl-home-v2__specialist-card h3 {
        min-height: 0;
        font-size: 13px;
        line-height: 1.15;
    }

    .phl-home-v2__specialist-title {
        min-height: 0;
        font-size: 8px;
    }

    .phl-home-v2__specialist-contact {
        font-size: 8px;
        line-height: 1.3;
    }

    .phl-home-v2__specialist-card .phl-home-v2__small-button {
        margin-top: 10px;
        min-height: 36px;
        padding-inline: 7px;
        font-size: 9px;
    }

    .phl-home-v2__investment-image {
        height: 190px;
        min-height: 190px;
    }

    .phl-home-v2__map-panel,
    .phl-home-v2__specialist-cta {
        border-radius: 12px;
    }
}

@media (max-width: 380px) {
    .phl-home-v2__container {
        width: calc(100% - 22px);
    }

    .phl-home-v2__specialist-grid {
        gap: 8px;
    }

    .phl-home-v2__specialist-card {
        padding: 10px 8px;
    }

    .phl-home-v2__specialist-photo {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
    }

    .phl-home-v2__specialist-contact {
        font-size: 7.5px;
    }
}



/* ==========================================================
   APPROVED PROPERTY SPECIALIST PRESENTATION
   ========================================================== */

@media (min-width: 1025px) {
    .phl-home-v2__section--specialists .phl-home-v2__section-heading {
        display: block;
        max-width: 860px;
        margin-inline: auto;
        text-align: center;
    }

    .phl-home-v2__section--specialists .phl-home-v2__section-heading > div {
        max-width: 860px;
        margin-inline: auto;
    }

    .phl-home-v2__section--specialists .phl-home-v2__section-heading h2 {
        color: #23466f;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 44px;
        font-weight: 800;
        line-height: 1.05;
        letter-spacing: -.02em;
    }

    .phl-home-v2__section--specialists .phl-home-v2__section-heading p {
        max-width: 760px;
        margin-inline: auto;
        color: #6d7f98;
        font-size: 16px;
    }

    .phl-home-v2__section--specialists .phl-home-v2__section-heading .phl-home-v2__text-button {
        display: none;
    }

    .phl-home-v2__specialist-card h3 {
        min-height: 42px;
        margin: 0 0 4px;
        color: #23466f;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 17px;
        font-weight: 800;
        line-height: 1.15;
        text-align: left;
    }

    .phl-home-v2__specialist-title {
        min-height: 26px;
        color: #d59a00;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .09em;
        text-align: left;
    }

    .phl-home-v2__specialist-contact {
        margin-top: 7px;
        color: #7a8ca3;
        font-size: 11px;
    }

    .phl-home-v2__specialist-card .phl-home-v2__small-button {
        min-height: 42px;
        margin-top: auto;
        border-radius: 7px;
        background: #23466f;
        font-size: 11px;
    }

    .phl-home-v2__specialist-card .phl-home-v2__small-button:hover {
        background: #183654;
    }

    .phl-home-v2__specialist-cta {
        display: none;
    }
}

/* ==========================================================
   ACCESSIBILITY / DARK-BACKGROUND TEXT CONTRAST
   ========================================================== */

.phl-home-v2__finder,
.phl-home-v2__journey,
.phl-home-v2__final-cta {
    color: #ffffff;
}

.phl-home-v2__finder h1,
.phl-home-v2__finder h2,
.phl-home-v2__finder h3,
.phl-home-v2__finder p,
.phl-home-v2__finder strong,
.phl-home-v2__finder span,
.phl-home-v2__finder small,
.phl-home-v2__journey h1,
.phl-home-v2__journey h2,
.phl-home-v2__journey h3,
.phl-home-v2__journey p,
.phl-home-v2__journey strong,
.phl-home-v2__journey span,
.phl-home-v2__journey small,
.phl-home-v2__final-cta h1,
.phl-home-v2__final-cta h2,
.phl-home-v2__final-cta h3,
.phl-home-v2__final-cta p,
.phl-home-v2__final-cta strong,
.phl-home-v2__final-cta span,
.phl-home-v2__final-cta small {
    color: #ffffff;
}

.phl-home-v2__finder .phl-home-v2__finder-controls span,
.phl-home-v2__finder .phl-home-v2__finder-controls strong {
    color: var(--phl-ink);
}

.phl-home-v2__journey .phl-home-v2__eyebrow--light {
    color: #e5c56d;
}

.phl-home-v2__specialist-contact-button {
    appearance: none;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.phl-home-v2__specialist-contact-button:focus-visible,
.phl-home-v2__button:focus-visible,
.phl-home-v2__small-button:focus-visible,
.phl-home-v2__text-button:focus-visible {
    outline: 3px solid rgba(180, 138, 42, .45);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .phl-home-v2__finder-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .phl-home-v2__finder-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .phl-home-v2__finder-button {
        min-height: 56px;
    }
}

@media (max-width: 560px) {
    .phl-home-v2__finder {
        padding: 36px 0;
    }

    .phl-home-v2__finder-controls {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .phl-home-v2__finder-field,
    .phl-home-v2__finder-button {
        min-height: 58px;
    }
}

/* ==========================================================
   HOMEPAGE V2 — FINAL CONTENT / VISUAL CORRECTIONS
   ========================================================== */

/* ----------------------------------------------------------
   PROPERTY MAP — FOUR LIVE CARDS
   The map preview source is random, so the four visible cards
   change naturally between page loads while remaining limited
   to four cards in the homepage presentation.
   ---------------------------------------------------------- */

.phl-home-v2__legacy-map .lqw-map-preview-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: 14px;
    overflow: hidden;
}

.phl-home-v2__legacy-map .lqw-map-preview-card {
    min-width: 0;
    min-height: 0;
    height: 100%;
}

.phl-home-v2__legacy-map .lqw-map-preview-card:nth-child(n + 5) {
    display: none;
}

.phl-home-v2__legacy-map .lqw-map-preview-card img {
    width: 105px;
    min-width: 105px;
    height: 100%;
}

.phl-home-v2__legacy-map .lqw-map-preview-card-body {
    min-width: 0;
    padding: 14px 12px 14px 0;
}

/* ----------------------------------------------------------
   HOMEOWNERSHIP JOURNEY — REAL ICONS, NOT EMPTY CIRCLES
   ---------------------------------------------------------- */

.phl-home-v2__step {
    position: relative;
}

.phl-home-v2__step-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin-bottom: 10px;
    place-items: center;
    border: 2px solid rgba(229, 197, 109, .85);
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: var(--phl-green);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.phl-home-v2__step-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.phl-home-v2__step-number {
    display: grid;
    width: 22px;
    height: 22px;
    margin: -20px 0 9px auto;
    place-items: center;
    border-radius: 50%;
    background: var(--phl-gold);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    z-index: 2;
}

/* ----------------------------------------------------------
   INVESTMENT — IMAGE FIRST, THREE ICON/STATS BELOW IT
   ---------------------------------------------------------- */

@media (min-width: 1025px) {
    .phl-home-v2__investment-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "copy image"
            "copy stats";
        column-gap: 48px;
        row-gap: 0;
        align-items: stretch;
    }

    .phl-home-v2__investment-copy {
        grid-area: copy;
        padding: 12px 0 12px;
    }

    .phl-home-v2__investment-image {
        grid-area: image;
        height: 300px;
        min-height: 300px;
        border-radius: 16px;
    }

    .phl-home-v2__investment-stats {
        grid-area: stats;
        min-height: 150px;
        border-left: 0;
        border-right: 0;
        border-top: 1px solid var(--phl-line);
    }

    .phl-home-v2__investment-stats > div {
        padding: 22px 18px;
    }

    .phl-home-v2__stat-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 10px;
        color: var(--phl-gold);
    }

    .phl-home-v2__stat-icon svg {
        width: 100%;
        height: 100%;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .phl-home-v2__investment-stats strong {
        font-size: 34px;
    }
}

/* ----------------------------------------------------------
   PROPERTY SPECIALISTS — KEEP THE INTRO COMPACT BETWEEN LINES
   ---------------------------------------------------------- */

@media (min-width: 1025px) {
    .phl-home-v2__section--specialists .phl-home-v2__section-heading p {
        width: min(680px, 100%);
        max-width: 680px;
        margin-right: auto;
        margin-left: auto;
        line-height: 1.55;
    }

    .phl-home-v2__section--specialists .phl-home-v2__specialist-grid {
        margin-top: 34px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .phl-home-v2__section--specialists .phl-home-v2__specialist-card {
        padding: 14px;
        min-height: 0;
        background: #fff;
        border: 1px solid #e5e9ed;
        border-radius: 14px;
        box-shadow: 0 10px 28px rgba(31, 54, 75, .08);
    }

    .phl-home-v2__section--specialists .phl-home-v2__specialist-photo {
        width: 100%;
        height: 260px;
        flex-basis: 260px;
        margin-bottom: 15px;
        border-radius: 10px;
    }
}

/* ----------------------------------------------------------
   LATEST STORIES — ALWAYS PRESENT THE THREE LATEST JOURNAL ITEMS
   ---------------------------------------------------------- */

.phl-home-v2__journal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.phl-home-v2__journal-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--phl-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 49, 43, .06);
}

.phl-home-v2__journal-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.phl-home-v2__journal-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .phl-home-v2__legacy-map .lqw-map-preview-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        height: auto;
        max-height: none;
        overflow: hidden;
    }

    .phl-home-v2__legacy-map .lqw-map-preview-card {
        min-height: 190px;
    }

    .phl-home-v2__legacy-map .lqw-map-preview-card img {
        height: 190px;
    }

    .phl-home-v2__investment-grid {
        grid-template-columns: 1fr;
    }

    .phl-home-v2__investment-image {
        height: 300px;
        min-height: 300px;
    }

    .phl-home-v2__investment-stats {
        margin-top: 0;
    }

    .phl-home-v2__journal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .phl-home-v2__step-icon {
        width: 58px;
        height: 58px;
    }

    .phl-home-v2__step-icon svg {
        width: 25px;
        height: 25px;
    }

    .phl-home-v2__legacy-map .lqw-map-preview-list {
        grid-template-columns: 1fr;
    }

    .phl-home-v2__legacy-map .lqw-map-preview-card img {
        width: 110px;
        min-width: 110px;
        height: 190px;
    }

    .phl-home-v2__investment-image {
        height: 230px;
        min-height: 230px;
    }

    .phl-home-v2__investment-stats {
        grid-template-columns: 1fr;
    }

    .phl-home-v2__investment-stats > div {
        border-right: 0;
        border-bottom: 1px solid var(--phl-line);
    }

    .phl-home-v2__investment-stats > div:last-child {
        border-bottom: 0;
    }

    .phl-home-v2__journal-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   HOMEPAGE V2.2 — FINAL VISIBILITY / CONTENT CORRECTIONS
   ========================================================== */

/* ----------------------------------------------------------
   HOMEOWNERSHIP JOURNEY
   The previous icon treatment used a white circle with a
   white SVG, making the icon disappear. Give the icon holder
   a gold background and keep the SVG white.
   ---------------------------------------------------------- */

.phl-home-v2__journey .phl-home-v2__step-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 0 12px;
    place-items: center;
    border: 2px solid rgba(255,255,255,.28);
    border-radius: 50%;
    background: var(--phl-gold);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.phl-home-v2__journey .phl-home-v2__step-icon svg,
.phl-home-v2__journey .phl-home-v2__step-icon svg * {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    color: #ffffff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.phl-home-v2__journey .phl-home-v2__step-number {
    width: 24px;
    height: 24px;
    margin: -24px 0 10px auto;
    background: #ffffff;
    color: var(--phl-green);
    border: 2px solid var(--phl-gold);
    z-index: 3;
}

.phl-home-v2__journey .phl-home-v2__step strong {
    color: #ffffff;
}

.phl-home-v2__journey .phl-home-v2__step small {
    color: rgba(255,255,255,.78);
}

/* ----------------------------------------------------------
   INVESTMENT STATS
   Keep all three icon/stat items visible below the image.
   ---------------------------------------------------------- */

.phl-home-v2__investment-stats .phl-home-v2__stat-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    place-items: center;
    color: var(--phl-gold);
}

.phl-home-v2__investment-stats .phl-home-v2__stat-icon svg,
.phl-home-v2__investment-stats .phl-home-v2__stat-icon svg * {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    color: var(--phl-gold);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ----------------------------------------------------------
   MAP CTA
   Default = white text.
   Hover/focus = black text.
   ---------------------------------------------------------- */

.phl-home-v2__legacy-map .lqw-map-preview-action .lqw-button,
.phl-home-v2__legacy-map .lqw-map-preview-action .lqw-button-primary,
.phl-home-v2__legacy-map .lqw-map-preview-action .lqw-button-lg {
    color: #ffffff !important;
    text-decoration: none;
}

.phl-home-v2__legacy-map .lqw-map-preview-action .lqw-button:hover,
.phl-home-v2__legacy-map .lqw-map-preview-action .lqw-button:focus,
.phl-home-v2__legacy-map .lqw-map-preview-action .lqw-button-primary:hover,
.phl-home-v2__legacy-map .lqw-map-preview-action .lqw-button-primary:focus,
.phl-home-v2__legacy-map .lqw-map-preview-action .lqw-button-lg:hover,
.phl-home-v2__legacy-map .lqw-map-preview-action .lqw-button-lg:focus {
    color: #000000 !important;
}

/* ----------------------------------------------------------
   LATEST STORIES — three equal cards.
   ---------------------------------------------------------- */

.phl-home-v2__journal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.phl-home-v2__journal-card {
    min-width: 0;
}

.phl-home-v2__journal-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    background: #e9edeb;
}

.phl-home-v2__journal-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .phl-home-v2__journal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .phl-home-v2__journal-grid {
        grid-template-columns: 1fr;
    }

    .phl-home-v2__journey .phl-home-v2__step-icon {
        width: 62px;
        height: 62px;
    }
}

/* ==========================================================
   LQW HOMEPAGE V2 — FINAL LAYOUT HARDENING 1.4.0
   ========================================================== */

/* ----------------------------------------------------------
   PROPERTY FINDER
   Match the current PHP markup exactly.
   ---------------------------------------------------------- */

.phl-home-v2__finder > .phl-home-v2__container {
    width: min(1180px, calc(100% - 48px)) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
    min-width: 0 !important;
}

.phl-home-v2__finder-inner {
    display: grid !important;
    grid-template-columns: minmax(250px, .75fr) minmax(0, 1.65fr) !important;
    align-items: center !important;
    gap: 36px !important;
    width: 100% !important;
    min-width: 0 !important;
}

.phl-home-v2__finder-heading,
.phl-home-v2__finder-form,
.phl-home-v2__finder-controls {
    min-width: 0 !important;
    max-width: none !important;
}

.phl-home-v2__finder-form.phl-home-v2__finder-controls {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto !important;
    gap: 8px !important;
    align-items: stretch !important;
    margin: 0 !important;
}

.phl-home-v2__finder-form .phl-home-v2__finder-field {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

/* ----------------------------------------------------------
   LATEST STORIES
   Force the section to behave independently of any global
   card/grid styles loaded elsewhere in the theme.
   ---------------------------------------------------------- */

section.phl-home-v2__section--journal.phl-home-v2__latest-stories {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
}

section.phl-home-v2__section--journal.phl-home-v2__latest-stories
> .phl-home-v2__latest-stories-container {
    display: block !important;
    width: min(1180px, calc(100% - 48px)) !important;
    max-width: 1180px !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

section.phl-home-v2__section--journal.phl-home-v2__latest-stories
.phl-home-v2__journal-grid {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-columns: auto !important;
    gap: 24px !important;
    align-items: stretch !important;
}

section.phl-home-v2__section--journal.phl-home-v2__latest-stories
.phl-home-v2__journal-card {
    display: flex !important;
    flex: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    flex-direction: column !important;
}

section.phl-home-v2__section--journal.phl-home-v2__latest-stories
.phl-home-v2__journal-image {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
}

section.phl-home-v2__section--journal.phl-home-v2__latest-stories
.phl-home-v2__journal-image img {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: cover !important;
}

section.phl-home-v2__section--journal.phl-home-v2__latest-stories
.phl-home-v2__journal-body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 1 1 auto !important;
}

@media (max-width: 1024px) {
    .phl-home-v2__finder-inner {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .phl-home-v2__finder-form.phl-home-v2__finder-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    section.phl-home-v2__section--journal.phl-home-v2__latest-stories
    > .phl-home-v2__latest-stories-container {
        width: min(940px, calc(100% - 36px)) !important;
        max-width: 940px !important;
    }

    section.phl-home-v2__section--journal.phl-home-v2__latest-stories
    .phl-home-v2__journal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .phl-home-v2__finder-form.phl-home-v2__finder-controls {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    section.phl-home-v2__section--journal.phl-home-v2__latest-stories
    > .phl-home-v2__latest-stories-container {
        width: calc(100% - 28px) !important;
        max-width: none !important;
    }

    section.phl-home-v2__section--journal.phl-home-v2__latest-stories
    .phl-home-v2__journal-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 380px) {
    .phl-home-v2__finder > .phl-home-v2__container,
    section.phl-home-v2__section--journal.phl-home-v2__latest-stories
    > .phl-home-v2__latest-stories-container {
        width: calc(100% - 22px) !important;
    }
}


/* ==========================================================
   LQW HOMEPAGE V2 — SPECIALISTS / JOURNAL FINAL SAFETY 1.5.0
   The PHP markup is now structurally valid. Keep these sections
   independent from any theme-level card/grid rules.
   ========================================================== */

section.phl-home-v2__section--specialists {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
}

section.phl-home-v2__section--specialists > .phl-home-v2__container {
    display: block !important;
    width: min(1180px, calc(100% - 48px)) !important;
    max-width: 1180px !important;
    min-width: 0 !important;
    margin-inline: auto !important;
}

section.phl-home-v2__section--specialists .phl-home-v2__specialist-grid {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-columns: auto !important;
    gap: 20px !important;
    align-items: stretch !important;
}

section.phl-home-v2__section--specialists .phl-home-v2__specialist-card {
    display: flex !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    flex-direction: column !important;
    grid-column: auto !important;
    grid-row: auto !important;
}

@media (max-width: 1024px) {
    section.phl-home-v2__section--specialists > .phl-home-v2__container {
        width: min(940px, calc(100% - 36px)) !important;
        max-width: 940px !important;
    }

    section.phl-home-v2__section--specialists .phl-home-v2__specialist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    section.phl-home-v2__section--specialists > .phl-home-v2__container {
        width: calc(100% - 28px) !important;
        max-width: none !important;
    }

    section.phl-home-v2__section--specialists .phl-home-v2__specialist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

@media (max-width: 380px) {
    section.phl-home-v2__section--specialists > .phl-home-v2__container,
    section.phl-home-v2__section--journal.phl-home-v2__latest-stories > .phl-home-v2__latest-stories-container {
        width: calc(100% - 22px) !important;
    }
}
