/* =====================================================================
   Pittsburgh Landing Page — Body Styles
   (Header, footer, and form-field styling are inherited from style.css.
   Everything below is unique to this page's body: hero slider, trust
   strip, neighborhoods, property types, process, testimonials, CTA,
   and the contact-form wrapper.)
   ===================================================================== */

/* ---------- Local tokens ---------- */
:root {
    --pgh-line: #cbd5e1;
    --pgh-navy-tint: rgba(30, 58, 138, 0.06);
    --pgh-gold-tint: rgba(15, 122, 114, 0.10);
    /* Pittsburgh's own accent — a river/steel teal, distinct from the
       gold used sitewide, applied only to this page's decorative
       details. Primary CTA buttons stay gold to match the header. */
    --pgh-accent: #0f7a72;
    --pgh-accent-light: #5eead4;
    --pgh-gradient-accent: linear-gradient(135deg, #0f7a72 0%, #2dd4bf 100%);
}

/* =====================================================================
   HERO — self-contained slider (own classes, no Bootstrap carousel
   dependency, so it never collides with the legacy .carousel-item /
   .carousel-control-* / .carousel-indicators rules in style.css)
   ===================================================================== */
.pgh-hero {
    position: relative;
    background: var(--dark-navy);
}

.pgh-slider {
    position: relative;
    height: 92vh;
    min-height: 640px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.pgh-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.72) 38%, rgba(15,23,42,0.35) 68%, rgba(15,23,42,0.15) 100%);
}

.hero-slide .container,
.hero-slide .pgh-hero-grid {
    position: relative;
    z-index: 2;
    height: 100%;
}

.pgh-hero-grid {
    display: flex;
    align-items: center;
}

.pgh-hero-content {
    max-width: 620px;
    padding: 40px 0;
}

.pgh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pgh-gold-tint);
    border: 1px solid rgba(45, 212, 191, 0.4);
    color: var(--pgh-accent-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 22px;
}

.pgh-eyebrow i { color: var(--pgh-accent-light); }

.pgh-hero-content h1 {
    color: var(--white);
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    line-height: 1.18;
    margin-bottom: 18px;
}

.pgh-hero-content h1 span {
    background: var(--pgh-gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pgh-hero-lead {
    color: rgba(255,255,255,0.82);
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 520px;
}

.pgh-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.pgh-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-gold);
    color: #1a1200;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(217,119,6,0.35);
    border: none;
}

.pgh-btn-primary:hover { color: #1a1200; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(217,119,6,0.45); }

.pgh-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.45);
}

.pgh-btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: var(--white); }

.pgh-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.pgh-hero-tags span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.88);
    font-size: 0.92rem;
    font-weight: 500;
}

.pgh-hero-tags i { color: var(--pgh-accent-light); }

/* Slider arrows */
.pgh-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(15,23,42,0.45);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pgh-slider-arrow:hover { background: rgba(15,122,114,0.85); }
.pgh-slider-arrow.prev { left: 20px; }
.pgh-slider-arrow.next { right: 20px; }

/* Slider dots */
.pgh-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 28px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255,255,255,0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.slider-dot.active { background: var(--pgh-accent-light); }

/* Hero form card — overlays the slider on desktop, stacks below on mobile/tablet */
.pgh-hero-form-wrap {
    position: relative;
    z-index: 6;
    padding: 30px 20px;
}

.pgh-form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 28px 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.45);
    border-top: 5px solid var(--pgh-accent);
    max-width: 460px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .pgh-hero {
        /* height comes entirely from .pgh-slider; the form overlays it */
        overflow: visible;
    }

    .pgh-hero-form-wrap {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 40px clamp(20px, 4vw, 60px);
        pointer-events: none; /* let clicks reach the slider arrows/dots */
    }

    .pgh-hero-form-wrap .pgh-form-card {
        pointer-events: auto;
        width: 420px;
        max-width: 420px;
        max-height: calc(100% - 20px);
        overflow-y: auto;
        margin: 0;
    }

    .pgh-hero-form-wrap .pgh-form-card::-webkit-scrollbar { width: 6px; }
    .pgh-hero-form-wrap .pgh-form-card::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 6px; }

    /* Reserve room so the hero headline never runs under the card */
    .pgh-hero-content { max-width: 560px; }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .pgh-hero-content { max-width: 460px; }
    .pgh-hero-form-wrap .pgh-form-card { width: 380px; max-width: 380px; }
}

.pgh-form-card-head {
    text-align: center;
    margin-bottom: 20px;
}

.pgh-form-card-head h3 {
    font-size: 1.35rem;
    color: var(--dark-navy);
    margin-bottom: 6px;
}

.pgh-form-card-head p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .pgh-slider { height: auto; min-height: 520px; }
    .pgh-hero-grid { padding: 70px 0 40px; }
    .pgh-hero-form-wrap { padding: 0 0 50px; }
    .pgh-slider-arrow { display: none; }
}

@media (max-width: 576px) {
    .pgh-slider { min-height: 480px; }
}

   TRUST STRIP
   ===================================================================== */
.pgh-trust {
    background: transparent;
    padding: 0 0 50px;
    position: relative;
    z-index: 8;
}

.pgh-trust-row {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(15,23,42,0.22);
    margin-top: -30px;
    padding: 44px 26px 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 9;
}

@media (max-width: 991px) {
    .pgh-trust-row { margin-top: 0; box-shadow: 0 10px 30px rgba(15,23,42,0.1); }
    .pgh-trust { padding-top: 44px; }
}

.pgh-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 10px;
}

.pgh-trust-item:not(:last-child) {
    border-right: 1px solid var(--pgh-line);
}

.pgh-trust-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--pgh-navy-tint);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.pgh-trust-num {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-navy);
    line-height: 1.1;
}

.pgh-trust-label {
    font-size: 0.85rem;
    color: var(--gray-600);
}

@media (max-width: 991px) {
    .pgh-trust-row { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
    .pgh-trust-item:nth-child(2) { border-right: none; }
}
@media (max-width: 576px) {
    .pgh-trust-row { grid-template-columns: 1fr; }
    .pgh-trust-item { border-right: none !important; }
}

/* =====================================================================
   SECTION HEADERS (shared look for this page's sections)
   ===================================================================== */
.pgh-section { padding: 90px 0; }
.pgh-section.alt { background: var(--light-bg); }

.pgh-head {
    max-width: 640px;
    margin: 0 auto 50px;
    text-align: center;
}

.pgh-kicker {
    display: inline-block;
    color: var(--pgh-accent);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 12px;
}

.pgh-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    color: var(--dark-navy);
    margin-bottom: 14px;
}

.pgh-head p {
    color: var(--gray-600);
    font-size: 1rem;
}

/* =====================================================================
   WHY PHILADELPHIA (about-style section)
   ===================================================================== */
.pgh-why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.pgh-why-media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-xl);
}

.pgh-why-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pgh-why-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: var(--white);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pgh-why-badge i { color: var(--pgh-accent); font-size: 1.5rem; }
.pgh-why-badge strong { display: block; color: var(--dark-navy); font-size: 1rem; }
.pgh-why-badge span { color: var(--gray-600); font-size: 0.82rem; }

.pgh-why-list {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.pgh-why-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.pgh-why-list .ico {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--pgh-gold-tint);
    color: var(--pgh-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.pgh-why-list strong { color: var(--dark-navy); display: block; margin-bottom: 2px; }
.pgh-why-list p { margin: 0; color: var(--gray-600); font-size: 0.94rem; }

@media (max-width: 991px) {
    .pgh-why-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* =====================================================================
   NEIGHBORHOODS — signature section
   A quiet nod to Philly's transit lines: a horizontal route with stops
   running behind the neighborhood chips.
   ===================================================================== */
.pgh-neighborhoods { position: relative; }

.pgh-route-track {
    position: relative;
    margin: 0 auto 46px;
    max-width: 900px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pgh-line) 8%, var(--pgh-line) 92%, transparent);
    display: none;
}

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

.pgh-hood-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--pgh-line);
    border-radius: 16px;
    padding: 22px 18px;
    text-align: center;
    transition: all 0.25s ease;
}

.pgh-hood-card::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--pgh-accent);
}

.pgh-hood-card:hover {
    border-color: var(--pgh-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.pgh-hood-card i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
}

.pgh-hood-card h4 {
    font-size: 0.98rem;
    color: var(--dark-navy);
    margin: 0 0 4px;
}

.pgh-hood-card p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--gray-600);
}

.pgh-hoods-more {
    text-align: center;
    margin-top: 26px;
    color: var(--gray-600);
    font-size: 0.92rem;
}

.pgh-hoods-more a { color: var(--pgh-accent); font-weight: 600; }

@media (min-width: 992px) {
    .pgh-route-track { display: block; }
}
@media (max-width: 991px) {
    .pgh-hoods-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .pgh-hoods-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================================
   PROPERTY TYPES
   ===================================================================== */
.pgh-props-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pgh-prop-card {
    background: var(--white);
    border-radius: 18px;
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--pgh-line);
    transition: all 0.25s ease;
}

.pgh-prop-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-5px);
}

.pgh-prop-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.pgh-prop-card h3 { font-size: 1.15rem; color: var(--dark-navy); margin-bottom: 8px; }
.pgh-prop-card p { color: var(--gray-600); font-size: 0.92rem; margin: 0; }

@media (max-width: 991px) { .pgh-props-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .pgh-props-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   PROCESS
   ===================================================================== */
.pgh-process-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

.pgh-process-card {
    background: var(--white);
    border-radius: 18px;
    padding: 34px 26px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.pgh-process-num {
    width: 46px;
    height: 46px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--dark-navy);
    color: var(--pgh-accent-light);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.pgh-process-card h3 { font-size: 1.1rem; color: var(--dark-navy); margin-bottom: 10px; }
.pgh-process-card p { color: var(--gray-600); font-size: 0.92rem; margin: 0; }

@media (max-width: 900px) { .pgh-process-row { grid-template-columns: 1fr; } }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.pgh-testi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pgh-testi-card {
    background: var(--white);
    border-radius: 18px;
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--pgh-line);
}

.pgh-testi-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 14px; }

.pgh-testi-card p.quote {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.pgh-testi-who { display: flex; align-items: center; gap: 12px; }

.pgh-testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.pgh-testi-who strong { display: block; color: var(--dark-navy); font-size: 0.92rem; }
.pgh-testi-who span { color: var(--gray-600); font-size: 0.8rem; }

@media (max-width: 900px) { .pgh-testi-row { grid-template-columns: 1fr; } }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.pgh-cta {
    background: var(--gradient-primary);
    border-radius: 26px;
    padding: 56px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.pgh-cta::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

.pgh-cta-text h2 { color: var(--white); font-size: 1.7rem; margin-bottom: 8px; }
.pgh-cta-text p { color: rgba(255,255,255,0.85); margin: 0; }

.pgh-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

@media (max-width: 768px) {
    .pgh-cta { padding: 40px 26px; text-align: center; justify-content: center; }
    .pgh-cta-actions { justify-content: center; }
}

/* =====================================================================
   CONTACT / LONG FORM WRAPPER
   (The form fields themselves keep their original .main-offer-form /
   .contact-form classes and styling from style.css.)
   ===================================================================== */
.pgh-contact {
    background: linear-gradient(180deg, #16223d 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 3px solid var(--pgh-accent);
}

.pgh-contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
}

.pgh-contact-side h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 16px; }
.pgh-contact-side p { color: rgba(255,255,255,0.75); margin-bottom: 30px; }

.pgh-contact-points { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 18px; }

.pgh-contact-points li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,0.85); font-size: 0.94rem; }
.pgh-contact-points i { color: var(--pgh-accent-light); margin-top: 3px; }

.pgh-contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    padding: 16px 20px;
    color: var(--white);
}

.pgh-contact-phone i { color: var(--pgh-accent-light); font-size: 1.3rem; }
.pgh-contact-phone strong { display: block; font-size: 1.05rem; }
.pgh-contact-phone span { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

.pgh-form-panel {
    background: var(--white);
    border-radius: 22px;
    padding: 38px 34px;
    box-shadow: var(--shadow-xl);
    max-height: 720px;
    overflow-y: auto;
}

.pgh-form-panel::-webkit-scrollbar { width: 8px; }
.pgh-form-panel::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 8px; }

@media (max-width: 991px) {
    .pgh-contact-grid { grid-template-columns: 1fr; }
    .pgh-form-panel { max-height: none; }
}

/* =====================================================================
   MISC
   ===================================================================== */
.pgh-divider-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--pgh-gold-tint);
    color: var(--pgh-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}