/* SERVICES
   Page-specific styles. Visible content remains editable in Gutenberg. */

.diana-services {
    --services-ink: #17130f;
    --services-muted: #625b53;
    --services-gold: #a37f47;
    --services-cream: #f4efe7;
    --services-paper: #fbfaf7;
    --services-line: rgba(23, 19, 15, .14);
    background: var(--services-paper);
    color: var(--services-ink);
}

.diana-services .wp-block-columns { margin-bottom: 0; }
.diana-services .wp-block-column { min-width: 0; }

.services-kicker {
    margin: 0 0 24px;
    color: var(--services-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.services-kicker--light { color: #c7a56d; }

.services-hero {
    padding: 118px max(60px, calc((100vw - 1280px) / 2)) 124px;
    background:
        radial-gradient(circle at 88% 12%, rgba(163,127,71,.08), transparent 28%),
        var(--services-cream);
}

.services-hero__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .72fr);
    gap: clamp(70px, 9vw, 150px);
    align-items: end;
}

.services-hero h1 {
    max-width: 760px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(54px, 5vw, 82px);
    font-weight: 400;
    line-height: .99;
    letter-spacing: -.05em;
}

.services-hero__copy {
    padding-top: 34px;
    border-top: 1px solid rgba(23,19,15,.2);
}

.services-hero__lead {
    max-width: 560px;
    margin: 0;
    color: #332e29;
    font-size: 17px;
    line-height: 1.78;
}

.services-hero__meta {
    margin: 24px 0 0;
    color: #7d746a;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .14em;
}

.services-actions { margin-top: 32px; }
.services-actions--center { justify-content: center; }

.services-button { margin: 0; padding: 0; }
.services-button .wp-block-button__link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 0;
    border-radius: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-decoration: none;
}

.services-button--primary .wp-block-button__link {
    color: #fff;
    background: var(--services-ink);
}

.services-button--primary .wp-block-button__link:hover {
    color: #fff;
    background: #2b241e;
}

.services-detail--selling .services-button--primary .wp-block-button__link {
    color: #17130f;
    background: #f8f3eb;
}

.services-detail--selling .services-button--primary .wp-block-button__link:hover {
    color: #17130f;
    background: #e7ded0;
}

.services-overview {
    padding: 0 max(60px, calc((100vw - 1280px) / 2));
    color: #f8f3eb;
    background: #17130f;
}

.services-overview__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-left: 1px solid rgba(199,165,109,.22);
    border-right: 1px solid rgba(199,165,109,.22);
}

.services-overview__card {
    min-height: 335px;
    padding: 50px 42px 48px;
}

.services-overview__card + .services-overview__card {
    border-left: 1px solid rgba(199,165,109,.22);
}

.services-overview__number {
    margin: 0 0 72px;
    color: #c7a56d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
}

.services-overview h2 {
    margin: 0 0 18px;
    color: #f8f3eb;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.05;
}

.services-overview__card p:last-child {
    max-width: 330px;
    margin: 0;
    color: rgba(248,243,235,.7);
    font-size: 14px;
    line-height: 1.76;
}

.services-detail {
    padding: 116px max(60px, calc((100vw - 1280px) / 2));
}

.services-detail--buying,
.services-detail--relocation { background: #fff; }

.services-detail--selling {
    color: #f8f3eb;
    background: #211a15;
}

.services-detail__grid {
    display: grid !important;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(70px, 9vw, 150px);
    align-items: start;
}

.services-detail__heading h2 {
    max-width: 650px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 4vw, 64px);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: -.04em;
}

.services-detail--selling .services-detail__heading h2 { color: #f8f3eb; }

.services-detail__copy {
    padding-top: 34px;
    border-top: 1px solid var(--services-line);
}

.services-detail--selling .services-detail__copy {
    border-color: rgba(199,165,109,.32);
}

.services-detail__copy > p {
    max-width: 620px;
    margin: 0 0 26px;
    color: var(--services-muted);
    font-size: 16px;
    line-height: 1.82;
}

.services-detail--selling .services-detail__copy > p {
    color: rgba(248,243,235,.72);
}

.services-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--services-line);
}

.services-detail--selling .services-checklist {
    border-color: rgba(199,165,109,.24);
}

.services-checklist li {
    position: relative;
    margin: 0;
    padding: 17px 0 17px 26px;
    border-bottom: 1px solid var(--services-line);
    color: #3f3933;
    font-size: 14px;
    line-height: 1.65;
}

.services-detail--selling .services-checklist li {
    color: rgba(248,243,235,.74);
    border-color: rgba(199,165,109,.24);
}

.services-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 26px;
    width: 9px;
    height: 1px;
    background: var(--services-gold);
}

.services-process {
    padding: 116px max(60px, calc((100vw - 1280px) / 2)) 122px;
    background: var(--services-cream);
}

.services-section-heading {
    max-width: 820px;
    margin-bottom: 56px;
}

.services-section-heading h2,
.services-language h2,
.services-cta h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 3.8vw, 62px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -.04em;
}

.services-process__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--services-line);
    border-bottom: 1px solid var(--services-line);
}

.services-process__item {
    min-height: 260px;
    padding: 36px 30px 40px;
}

.services-process__item + .services-process__item {
    border-left: 1px solid var(--services-line);
}

.services-process__number {
    margin: 0 0 54px;
    color: var(--services-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
}

.services-process__item h3 {
    margin: 0 0 13px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
}

.services-process__item p:last-child {
    margin: 0;
    color: var(--services-muted);
    font-size: 13px;
    line-height: 1.72;
}

.services-language {
    padding: 108px max(60px, calc((100vw - 1280px) / 2));
    color: #f8f3eb;
    background: #17130f;
}

.services-language__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    gap: clamp(70px, 8vw, 130px);
    align-items: end;
}

.services-language h2 {
    max-width: 730px;
    color: #f8f3eb;
}

.services-language__copy {
    padding-top: 28px;
    border-top: 1px solid rgba(199,165,109,.32);
}

.services-language__copy p:first-child {
    margin: 0;
    color: rgba(248,243,235,.72);
    font-size: 15px;
    line-height: 1.82;
}

.services-language__meta {
    margin: 26px 0 0;
    color: #c7a56d;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .13em;
}

.services-cta {
    padding: 120px max(60px, calc((100vw - 1280px) / 2)) 126px;
    text-align: center;
    background: #eee7dc;
}

.services-cta h2 { font-size: clamp(50px, 4.5vw, 72px); }

.services-cta__text {
    max-width: 650px;
    margin: 25px auto 0;
    color: var(--services-muted);
    font-size: 16px;
    line-height: 1.75;
}

@media (max-width: 1024px) {
    .services-hero,
    .services-overview,
    .services-detail,
    .services-process,
    .services-language,
    .services-cta {
        padding-left: 40px;
        padding-right: 40px;
    }

    .services-hero__grid,
    .services-detail__grid,
    .services-language__grid {
        gap: 64px;
    }

    .services-overview__grid { grid-template-columns: 1fr 1fr; }
    .services-overview__card:nth-child(3) {
        grid-column: 1 / -1;
        min-height: 260px;
        border-top: 1px solid rgba(199,165,109,.22);
        border-left: 0;
    }

    .services-process__grid { grid-template-columns: 1fr 1fr; }
    .services-process__item:nth-child(3) { border-left: 0; border-top: 1px solid var(--services-line); }
    .services-process__item:nth-child(4) { border-top: 1px solid var(--services-line); }
}

@media (max-width: 767px) {
    .services-hero,
    .services-detail,
    .services-process,
    .services-language,
    .services-cta {
        padding: 78px 24px 82px;
    }

    .services-overview { padding: 0 24px; }

    .services-hero__grid,
    .services-overview__grid,
    .services-detail__grid,
    .services-process__grid,
    .services-language__grid {
        grid-template-columns: 1fr;
    }

    .services-hero h1 { font-size: clamp(46px, 14vw, 62px); }
    .services-hero__copy { padding-top: 28px; }

    .services-overview__card,
    .services-overview__card:nth-child(3) {
        min-height: 0;
        grid-column: auto;
        padding: 36px 28px 38px;
        border-left: 0 !important;
        border-top: 1px solid rgba(199,165,109,.22);
    }

    .services-overview__card:first-child { border-top: 0; }
    .services-overview__number { margin-bottom: 42px; }

    .services-detail__grid,
    .services-language__grid { gap: 48px; }
    .services-detail__copy { padding-top: 26px; }

    .services-process__item,
    .services-process__item:nth-child(3),
    .services-process__item:nth-child(4) {
        min-height: 0;
        padding: 30px 0 32px;
        border-left: 0;
        border-top: 1px solid var(--services-line);
    }

    .services-process__item:first-child { border-top: 0; }
    .services-process__number { margin-bottom: 30px; }

    .services-language__copy { padding-top: 24px; }
    .services-cta { text-align: left; }
    .services-cta__text { margin-left: 0; }
    .services-actions--center { justify-content: flex-start; }
}


/* Approved responsive cleanup: process steps read as open editorial blocks. */
@media (max-width: 1180px) {
    .services-process__grid {
        border-top: 0 !important;
        border-bottom: 0 !important;
    }

    .services-process__item,
    .services-process__item:nth-child(3),
    .services-process__item:nth-child(4),
    .services-process__item + .services-process__item {
        border: 0 !important;
    }
}

@media (max-width: 767px) {
    .services-process__item {
        padding-top: 28px !important;
        padding-bottom: 34px !important;
    }

    .services-process__item + .services-process__item {
        margin-top: 4px;
    }
}

/* Visual QA: keep the three service overview cards in one row on tablets. */
@media (min-width: 768px) and (max-width: 1024px) {
    .services-overview__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .services-overview__card,
    .services-overview__card:nth-child(3) {
        grid-column: auto !important;
        min-height: 300px;
        padding: 40px 26px 38px;
        border-top: 0 !important;
    }

    .services-overview__card:nth-child(3) {
        border-left: 1px solid rgba(199,165,109,.22) !important;
    }

    .services-overview__number {
        margin-bottom: 48px;
    }

    .services-overview h2 {
        font-size: clamp(28px, 3.2vw, 34px);
        line-height: 1.08;
    }

    .services-overview__card p:last-child {
        font-size: 13px;
        line-height: 1.65;
    }
}

