/* =====================================================
   SERVICE LANDING PAGE: HERO BANNER
   ===================================================== */

.service-hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.service-hero-banner {
    position: relative;
    width: 100%;
    height: clamp(350px, 45vw, 700px);
    /* responsive height based on viewport width */
    background-color: #eaeae5;
}

.service-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    /* align slightly higher so the pool & sofa are visible */
    display: block;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.08) 40%,
            rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.service-hero-content {
    position: absolute;
    bottom: 8%;
    /* position near the bottom center */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    text-align: center;
    pointer-events: none;
}

.service-hero-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* ── Responsive breakpoints ── */

@media (max-width: 768px) {
    .service-hero-banner {
        height: 380px;
        /* fixed height for smaller tablets */
    }

    .service-hero-content {
        bottom: 12%;
    }

    .service-hero-title {
        letter-spacing: 4px;
    }
}

@media (max-width: 480px) {
    .service-hero-banner {
        height: 280px;
        /* fixed height for mobile screens */
    }

    .service-hero-content {
        bottom: 15%;
    }

    .service-hero-title {
        letter-spacing: 3px;
    }
}

/* =====================================================
   CTA BANNER SECTION
   ===================================================== */

.sv-cta-section {
    position: relative;
    width: 100%;
    min-height: 340px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ---- Background image layer ---- */
.sv-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sv-cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.sv-cta-overlay {
    position: absolute;
    inset: 0;
    /* very light dark wash so the card stands out */
    background: rgba(30, 28, 26, 0.15);
}

/* ---- Container layer over the image ---- */
.sv-cta-ctnr {
    position: relative;
    z-index: 1;
    padding-top: 150px;
    padding-bottom: 150px;
}

/* ---- Cream semi-transparent card ---- */
.sv-cta-card {
    background: #F2F2EB;
    /* warm cream with slight transparency */
    padding: 60px;
    max-width: 550px;
    text-align: center;
    /* Center horizontally within ctnr */
    margin: 0 auto;
}

/* ---- Heading ---- */
.sv-cta-heading {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 400;
    line-height: 1.5;
    color: #2b2b28;
    /* dark almost-black */
    margin: 0 0 32px;
    letter-spacing: 0.2px;
}

.sv-cta-accent {
    color: #8a7451;
    /* warm gold-brown, matching "Property Styling" highlight */
}

/* ---- CTA Button ---- */
.sv-cta-btn {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    background: #6b5b3e;
    /* dark taupe, matching reference button */
    padding: 18px 32px;
    transition: background 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.sv-cta-btn:hover {
    background: #4a3f2d;
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
}

/* ── Responsive ── */

@media (max-width: 991px) {
    .sv-cta-card {
        max-width: 420px;
        padding: 40px 44px;
    }
}

@media (max-width: 767px) {
    .sv-cta-section {
        min-height: 280px;
    }

    .sv-cta-ctnr {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .sv-cta-card {
        max-width: 100%;
        padding: 36px 32px;
    }

    .sv-cta-btn {
        white-space: normal;
        display: block;
    }
}

@media (max-width: 480px) {
    .sv-cta-ctnr {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .sv-cta-card {
        padding: 28px 22px;
    }

    .sv-cta-btn {
        letter-spacing: 1.5px;
        padding: 16px 24px;
    }
}

/* =====================================================
   ABOUT / OBJECTIVE SPLIT SECTION
   ===================================================== */

.about-split-section {
    width: 100%;
    background: #fff;
    overflow: hidden;
}

/* Flex wrapper: left text + right image, full viewport width */
.about-split-inner {
    display: flex;
    align-items: stretch;
    min-height: 480px;
}

/* ---- LEFT column: takes ~50% width, text inside container ---- */
.about-split-left {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    padding: 72px 0;
    padding-left: calc((100% - 1290px) / 2);
}

/* ---- RIGHT column: image full-bleed to edge ---- */
.about-split-right {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    overflow: hidden;
}

.about-split-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.about-split-right:hover .about-split-img {
    transform: scale(1.03);
}

/* =====================================================
   RESPONSIVE: ABOUT SPLIT SECTION
   ===================================================== */

/* Tablet: shrink padding */
@media (max-width: 1100px) {
    .about-text-wrap {
        padding-right: 48px;
    }
}

@media (max-width: 991px) {
    .about-text-wrap {
        padding-right: 32px;
        padding-left: 24px;
    }
}

/* Mobile: stack vertically, image on top */
@media (max-width: 767px) {
    .about-split-inner {
        flex-direction: column-reverse;
        min-height: auto;
    }

    .about-split-left,
    .about-split-right {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .about-split-right {
        height: 56vw;
        min-height: 240px;
        max-height: 400px;
    }

    .about-split-left {
        justify-content: flex-start;
        padding: 48px 0;
    }

    .about-text-wrap {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-heading {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .about-split-left {
        padding: 36px 0;
    }
}

/* =====================================================
   TEAM PROFILE SECTION
   ===================================================== */

.team-profile-section {
    background-color: #f5f3ef;
    /* Warm cream, matching mockup background */
    padding: 90px 0;
    width: 100%;
}

/* ---- Each member row ---- */
.team-profile-item {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.team-profile-item:first-child {
    padding-top: 0;
}

.team-profile-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Alternating layout: second member has image on right */
.team-profile-item--reverse {
    flex-direction: row-reverse;
}

/* ---- Photo column ---- */
.team-profile-photo {
    flex: 0 0 38%;
    max-width: 38%;
    position: relative;
}

.team-profile-img {
    display: block;
    width: 100%;
    height: auto;
    /* aspect-ratio: 4 / 5; */
    /* Portrait ratio, matching mockup */
    object-fit: cover;
    object-position: center top;
    /* Thin white border frame matching the mockup */
    border: 6px solid #ffffff;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.10);
    transition: transform 0.5s ease;
}

.team-profile-photo:hover .team-profile-img {
    transform: scale(1.02);
}

/* ---- Content column ---- */
.team-profile-content {
    flex: 1;
    padding: 20px 0;
}

/* Role label e.g. "FOUNDER" */
.team-profile-role {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8a7451;
    /* warm gold-brown */
    margin: 0 0 12px;
    line-height: 1;
}

/* Name heading */
.team-profile-name {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 300;
    color: #1a1a19;
    margin: 0 0 24px;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

/* Thin divider line below name */
.team-profile-divider {
    width: 40px;
    height: 1px;
    background-color: #8a7451;
    margin-bottom: 24px;
}

/* Bio paragraphs */
.team-profile-bio {
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.85;
    color: #5a5855;
    margin: 0 0 16px;
    max-width: 520px;
}

.team-profile-bio:last-of-type {
    margin-bottom: 32px;
}

/* CONTACT button */
.team-profile-btn {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    background: #7a6a52;
    /* taupe matching the mockup button */
    padding: 18px 44px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.team-profile-btn:hover {
    background: #5a4f3c;
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
}

/* =====================================================
   RESPONSIVE: TEAM PROFILE SECTION
   ===================================================== */

@media (max-width: 1024px) {
    .team-profile-item {
        gap: 56px;
    }

    .team-profile-photo {
        flex: 0 0 42%;
        max-width: 42%;
    }
}

@media (max-width: 768px) {
    .team-profile-section {
        padding: 60px 0;
    }

    .team-profile-item,
    .team-profile-item--reverse {
        flex-direction: column;
        gap: 36px;
        padding: 48px 0;
        align-items: flex-start;
        margin: 0 30px;
    }

    .team-profile-photo {
        flex: none;
        max-width: 75%;
        width: 75%;
    }


    .team-profile-content {
        padding: 0;
    }

    .team-profile-bio {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .team-profile-section {
        padding: 40px 0;
    }

    .team-profile-photo {
        max-width: 100%;
        width: 100%;
    }

    .team-profile-name {
        font-size: 24px;
    }

    .team-profile-btn {
        padding: 15px 32px;
        letter-spacing: 2px;
    }
}

/* =====================================================
   TEAM LIST SECTION (COMPACT ALTERNATING)
   ===================================================== */

.team-list-section {
    background-color: #ffffff;
    padding: 80px 0 60px;
    width: 100%;
}

.team-list-section .ctnr {
    max-width: 900px;
}

/* Each member row */
.team-list-item {
    display: flex;
    align-items: center;
    gap: 70px;
    padding: 56px 0;
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.07); */
}

.team-list-item:first-child {
    padding-top: 0;
}

.team-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Default: text LEFT, photo RIGHT */
.team-list-item .team-list-content {
    order: 1;
}

.team-list-item .team-list-photo {
    order: 2;
}

/* Reverse: photo LEFT, text RIGHT */
.team-list-item--reverse .team-list-content {
    order: 2;
}

.team-list-item--reverse .team-list-photo {
    order: 1;
}

/* ---- Content column ---- */
.team-list-content {
    flex: 1 1 0;
    padding-top: 4px;
}

/* Role label */
.team-list-role {
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8a7451;
    margin: 0 0 10px;
    line-height: 1;
}

/* Name heading */
.team-list-name {
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 300;
    color: #1a1a19;
    margin: 0 0 26px;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

/* Bio paragraph */
.team-list-bio {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.85;
    color: #5a5855;
    margin: 0;
}

/* ---- Photo column ---- */
.team-list-photo {
    flex: 0 0 38%;
    max-width: 38%;
}

.team-list-img {
    display: block;
    width: 100%;
    height: auto;
    /* aspect-ratio: 5 / 6; */
    object-fit: cover;
    object-position: center top;
    /* Thin light border frame matching the mockup */
    border: 10px solid #F2F2EB;
    transition: transform 0.5s ease, box-shadow 0.4s ease;
}

.team-list-photo:hover .team-list-img {
    transform: scale(1.02);
}

/* =====================================================
   RESPONSIVE: TEAM LIST SECTION
   ===================================================== */

@media (max-width: 1024px) {
    .team-list-item {
        gap: 48px;
    }

    .team-list-photo {
        flex: 0 0 42%;
        max-width: 42%;
    }
}

@media (max-width: 768px) {
    .team-list-section {
        padding: 56px 0 40px;
    }

    .team-list-item,
    .team-list-item--reverse {
        flex-direction: column;
        gap: 28px;
        padding: 25px 0;
        align-items: flex-start;
        margin: 0 30px;
    }

    /* Reset order on mobile so content always comes first */
    .team-list-item .team-list-content,
    .team-list-item--reverse .team-list-content {
        order: 1;
    }

    .team-list-item .team-list-photo,
    .team-list-item--reverse .team-list-photo {
        order: 2;
    }

    .team-list-photo {
        flex: none;
        max-width: 70%;
        width: 70%;
    }
}

@media (max-width: 480px) {
    .team-list-section {
        padding: 44px 0 32px;
    }

    .team-list-photo {
        max-width: 100%;
        width: 100%;
    }

    .team-list-name {
        font-size: 22px;
    }

    .team-list-bio {
        font-size: 13px;
    }
}