.service-page {
    color: var(--gmlaw-text);
    overflow: hidden;
}

.service-shell {
    width: min(100% - 40px, 1110px);
    margin-inline: auto;
}

.service-page h1,
.service-page h2,
.service-page h3 {
    color: var(--gmlaw-heading);
}

.service-page p {
    margin: 0 0 16px;
}

.service-page ul {
    margin: 0;
    padding-left: 22px;
}

.service-page a:not(.site-button) {
    color: var(--gmlaw-red);
}

.service-hero {
    max-width: 1920px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 45.5% 54.5%;
}

.service-hero__copy {
    padding: 80px 60px 190px clamp(30px, calc((100vw - 1460px) / 2), 230px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-hero__copy h1 {
    max-width: 600px;
    margin: 0 0 26px;
    font-size: 70px;
    font-weight: 400;
    line-height: 1.14;
}

.service-hero__copy p {
    max-width: 545px;
    font-size: 17px;
    line-height: 1.4;
}

.service-hero__media {
    position: relative;
    z-index: 2;
    display: block;
}

.service-hero__media img {
    width: 100%;
    height: auto;
    display: block;
}

.service-story {
    margin-top: -180px;
    padding: 250px 0 95px;
    position: relative;
    z-index: 1;
    background: var(--gmlaw-red);
    color: #fff;
}

.service-story__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px;
}

.service-story h2 {
    margin: 0 0 25px;
    color: #fff;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
}

.service-story p {
    font-size: 17px;
    line-height: 1.45;
}

.service-main-content {
    padding-top: 50px;
    padding-bottom: 70px;
}

.service-quote {
    min-height: 420px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(249deg, var(--gmlaw-red) 37.68%, #300912 88.71%);
    color: #fff;
}

.service-quote picture,
.service-quote picture img {
    height: 100%;
    display: block;
}

.service-quote picture {
    position: absolute;
    inset: 0 0 0 auto;
}

.service-quote picture img {
    width: auto;
    object-fit: cover;
}

.service-quote__copy {
    max-width: 555px;
    padding: 58px;
    position: relative;
    z-index: 1;
}

.service-quote h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
}

.service-quote p {
    max-width: 420px;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.35;
}

.service-quote__action {
    margin-top: 35px;
    position: relative;
    display: inline-block;
}

.service-quote__action svg {
    width: 26px;
    height: 27px;
    position: absolute;
    top: -20px;
    left: -20px;
    fill: var(--gmlaw-red);
}

.service-offerings {
    margin-top: 48px;
}

.service-offerings > h2,
.service-process h2,
.service-section-heading h2,
.service-faq h2 {
    margin: 0;
    color: var(--gmlaw-red);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
}

.service-offerings__grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.service-info-card {
    padding: 38px 34px;
    background: var(--gmlaw-soft);
    font-size: 17px;
    line-height: 1.42;
}

.service-info-card h3 {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}

.service-info-card li + li {
    margin-top: 4px;
}

.service-info-card--buyers {
    grid-column: 1;
    grid-row: 1;
}

.service-info-card--sellers {
    grid-column: 2;
    grid-row: 1;
}

.service-offerings__image {
    margin: 0;
    grid-column: 1;
    grid-row: 2;
}

.service-offerings__image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
    object-fit: cover;
}

.service-info-card--smsf {
    grid-column: 1;
    grid-row: 3;
}

.service-info-card--agents {
    grid-column: 2;
    grid-row: 2 / span 2;
}

.service-costs {
    padding: 64px 0 70px;
    background: #1e1e1e;
    color: #fff;
    text-align: center;
}

.service-costs h2,
.service-costs h3 {
    color: #fff;
}

.service-costs h2 {
    margin: 0 0 18px;
    font-size: 40px;
    font-weight: 500;
}

.service-costs__intro {
    max-width: 700px;
    margin-inline: auto !important;
    font-size: 17px;
    line-height: 1.45;
}

.service-costs__packages {
    max-width: 900px;
    margin: 34px auto 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px;
    text-align: left;
}

.service-costs__packages article {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.service-costs__packages h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
}

.service-costs__packages p,
.service-costs__inner > p {
    font-size: 16px;
    line-height: 1.4;
}

.service-costs .site-button {
    margin-top: 8px;
}

.service-process {
    padding: 56px 0 64px;
    background: var(--gmlaw-soft);
}

.service-process h2 {
    margin-bottom: 30px;
}

.service-process__grid {
    display: grid;
    grid-template-columns: 445px minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}

.service-process__grid img {
    width: 100%;
    height: auto;
    display: block;
}

.service-process__grid > div {
    padding-top: 4px;
    font-size: 17px;
    line-height: 1.45;
}

.service-process .site-button {
    margin-top: 10px;
}

.service-testimonials {
    padding: 62px 0 46px;
}

.service-section-heading {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.service-slider-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.service-slider-nav__button {
    min-width: 145px;
    padding: 0;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    background: transparent;
    color: var(--gmlaw-heading);
    font: inherit;
    cursor: pointer;
}

.service-slider-nav__button svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-slider-nav__button:hover,
.service-slider-nav__button:focus-visible {
    color: var(--gmlaw-red);
}

.service-slider-nav__button.swiper-button-disabled {
    opacity: .4;
    cursor: default;
}

.service-testimonials__slider {
    width: calc(100% + 16px);
    margin-left: -16px;
    padding-left: 16px;
    overflow: hidden;
}

.service-testimonial {
    height: auto;
    padding: 42px 38px 42px 95px;
    position: relative;
    isolation: isolate;
    background: var(--gmlaw-soft);
}

.service-testimonial__quote {
    width: 134px;
    height: 86px;
    position: absolute;
    top: 42px;
    left: -16px;
    z-index: 0;
    pointer-events: none;
}

.service-testimonial h3,
.service-testimonial__location,
.service-testimonial__text {
    position: relative;
    z-index: 1;
}

.service-testimonial h3 {
    margin: 0;
    font-size: 27px;
    font-weight: 600;
}

.service-testimonial__text {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.45;
}

.service-testimonial__text p:last-child {
    margin-bottom: 0;
}

.service-testimonials__scrollbar {
    display: none;
}

.service-faq {
    padding: 22px 0 80px;
}

.service-faq h2 {
    margin-bottom: 28px;
}

.service-faq__item {
    border: 0;
}

.service-faq__item + .service-faq__item {
    margin-top: 10px;
    border-top: 0;
}

.service-faq__item summary {
    min-height: 72px;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: var(--gmlaw-soft);
    color: var(--gmlaw-heading);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
    cursor: pointer;
    list-style: none;
}

.service-faq__item summary::-webkit-details-marker {
    display: none;
}

.service-faq__item .faq-item__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: grid;
    place-items: center;
    border: 0;
    transform: none;
    transition: none;
}

.service-faq__item[open] .faq-item__icon {
    transform: none;
}

.service-faq__item .faq-item__icon::before,
.service-faq__item .faq-item__icon::after {
    content: none;
}

.service-faq__item .faq-item__icon svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}

.service-faq__item[open] .faq-item__icon svg {
    transform: rotate(180deg);
}

.service-faq__answer {
    padding: 24px 40px 30px;
    font-size: 17px;
    line-height: 1.5;
}

.service-faq__answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1480px) {
    .service-hero__copy {
        padding-top: 60px;
        padding-bottom: 140px;
    }

    .service-hero__copy h1 {
        font-size: 50px;
    }

    .service-story {
        margin-top: -120px;
        padding-top: 190px;
    }
}

@media (max-width: 1200px) {
    .service-hero__copy {
        padding-left: 40px;
        padding-bottom: 100px;
    }

    .service-hero__copy h1 {
        font-size: 40px;
    }

    .service-story {
        margin-top: -80px;
        padding-top: 140px;
    }
}

@media (max-width: 1024px) {
    .service-shell {
        width: min(100% - 30px, 760px);
    }

    .service-hero {
        display: block;
    }

    .service-hero__copy {
        padding: 36px 15px 32px;
    }

    .service-hero__copy h1 {
        margin-bottom: 16px;
        font-size: 34px;
    }

    .service-hero__copy p {
        margin-bottom: 0;
        font-size: 15px;
    }

    .service-hero__media img {
        width: 100%;
    }

    .service-story {
        margin-top: 0;
        padding: 40px 0 46px;
    }

    .service-story__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-story h2 {
        margin-bottom: 18px;
        font-size: 28px;
    }

    .service-story p,
    .service-info-card,
    .service-costs__intro,
    .service-costs__packages p,
    .service-costs__inner > p,
    .service-process__grid > div,
    .service-testimonial__text,
    .service-faq__answer {
        font-size: 15px;
    }

    .service-main-content {
        padding-top: 25px;
        padding-bottom: 40px;
    }

    .service-quote {
        min-height: 0;
        padding: 38px 24px 275px;
    }

    .service-quote picture {
        width: 100%;
        height: auto;
        inset: auto 0 0;
    }

    .service-quote picture img {
        width: 100%;
        height: auto;
    }

    .service-quote__copy {
        max-width: none;
        padding: 0;
    }

    .service-quote h2 {
        font-size: 28px;
    }

    .service-quote p {
        max-width: none;
        font-size: 15px;
    }

    .service-quote__action {
        margin-top: 22px;
    }

    .service-quote__action svg {
        width: 17px;
        height: 18px;
        top: -12px;
        left: -12px;
    }

    .service-offerings {
        margin-top: 28px;
    }

    .service-offerings > h2,
    .service-process h2,
    .service-section-heading h2,
    .service-faq h2,
    .service-costs h2 {
        font-size: 28px;
    }

    .service-offerings__grid {
        margin-top: 18px;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-info-card--buyers,
    .service-info-card--sellers,
    .service-offerings__image,
    .service-info-card--smsf,
    .service-info-card--agents {
        grid-column: auto;
        grid-row: auto;
    }

    .service-info-card {
        padding: 28px 22px;
    }

    .service-info-card h3 {
        font-size: 18px;
    }

    .service-offerings__image img {
        min-height: 0;
    }

    .service-costs {
        padding: 38px 0 44px;
        text-align: left;
    }

    .service-costs__intro {
        margin-inline: 0 !important;
    }

    .service-costs__packages {
        margin: 26px 0 22px;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-costs__packages h3 {
        font-size: 18px;
    }

    .service-process {
        padding: 38px 0 45px;
    }

    .service-process h2 {
        margin-bottom: 18px;
    }

    .service-process__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-testimonials {
        padding: 38px 0 32px;
    }

    .service-section-heading {
        margin-bottom: 22px;
        align-items: center;
    }

    .service-slider-nav {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .service-testimonials__prev {
        order: 1;
    }

    .service-testimonials__next {
        order: 2;
    }

    .service-slider-nav__button {
        min-width: 34px;
        width: 34px;
        height: 34px;
        justify-content: center;
    }

    .service-slider-nav__button span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .service-testimonials__slider {
        width: 100%;
        margin-left: 0;
        padding: 14px 0 30px;
    }

    .service-testimonial {
        padding: 42px 22px 28px 27px;
    }

    .service-testimonial__quote {
        width: 117px;
        height: 74px;
        top: -14px;
        left: 0;
    }

    .service-testimonial h3 {
        font-size: 22px;
    }

    /* Keep mobile slider progress compact and centered across service pages. */
    .service-testimonials__slider > .service-testimonials__scrollbar {
        width: min(250px, calc(100% - 40px)) !important;
        height: 5px !important;
        margin: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        left: 50% !important;
        display: block;
        border-radius: 3px;
        background: rgba(38, 42, 43, .14);
        transform: translateX(-50%);
    }

    .service-testimonials__slider > .service-testimonials__scrollbar .swiper-scrollbar-drag {
        border-radius: 3px;
        background: var(--gmlaw-red);
    }

    .service-faq {
        padding: 18px 0 50px;
    }

    .service-faq h2 {
        margin-bottom: 18px;
    }

    .service-faq__item summary {
        min-height: 62px;
        padding: 17px 20px;
        font-size: 17px;
        line-height: 1.4;
    }

    .service-faq__answer {
        padding: 18px 20px 24px;
    }
}

@media (max-width: 480px) {
    .service-quote {
        padding-bottom: 245px;
    }

    .service-quote .site-button {
        min-height: 50px;
        padding-inline: 18px;
        font-size: 14px;
    }
}
