/* =========================================================
   TufKo services pages
   ========================================================= */

/* Shared hero */

.service-hero {
    background:
        linear-gradient(135deg,
            var(--tufko-black),
            var(--tufko-grey-900) 70%,
            var(--tufko-steel-dark));
    color: var(--tufko-white);
}

.service-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
    min-height: 500px;
    padding-block: clamp(4.5rem, 9vw, 7rem);
}

.service-hero__content {
    max-width: 800px;
}

.service-hero h1 {
    max-width: 850px;
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1;
}

.service-hero__summary {
    max-width: 680px;
    margin: 1.75rem 0 0;
    color: var(--tufko-steel-light);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.service-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.service-hero__mark {
    display: flex;
    justify-content: center;
}

.service-hero__mark img {
    width: min(100%, 290px);
    height: auto;
    filter: drop-shadow(0 1.5rem 2.5rem rgb(0 0 0 / 40%));
}

/* Services overview */

.services-introduction {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: clamp(2rem, 7vw, 6rem);
    align-items: start;
}

.services-introduction h2,
.service-content h2,
.service-process h2,
.service-cta h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.08;
}

.services-introduction__summary {
    margin: 0;
    color: var(--tufko-grey-700);
    font-size: 1.08rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.services-card {
    display: flex;
    flex-direction: column;
    min-height: 320px;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    background: var(--tufko-white);
    border: 1px solid var(--tufko-grey-300);
    border-top: 4px solid var(--tufko-orange);
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.services-card:hover {
    box-shadow: 0 1rem 2rem rgb(0 0 0 / 8%);
    transform: translateY(-3px);
}

.services-card h2 {
    margin: 0 0 1rem;
    color: var(--tufko-orange-dark);
    font-family: var(--font-heading);
    font-size: 1.7rem;
    line-height: 1.15;
}

.services-card p {
    margin: 0;
    color: var(--tufko-grey-700);
}

.services-card a {
    width: fit-content;
    margin-top: auto;
    padding-top: 2rem;
    color: var(--tufko-orange-dark);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.services-card a::after {
    content: " →";
}

/* Detail-page content */

.service-content {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
}

.service-content__main {
    max-width: 760px;
}

.service-content__main>p {
    font-size: 1.06rem;
}

.service-content__main h2 {
    margin-top: 3rem;
}

.service-content__main h3 {
    margin: 2rem 0 0.65rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.service-content__main ul {
    padding-left: 1.25rem;
}

.service-content__main li {
    margin-bottom: 0.6rem;
}

/* Sidebar */

.service-sidebar {
    position: sticky;
    top: 2rem;
    padding: 2rem;
    background: var(--tufko-grey-100);
    border-top: 4px solid var(--tufko-orange);
}

.service-sidebar h2 {
    margin: 0 0 1.25rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.service-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-sidebar li {
    padding-block: 0.8rem;
    border-bottom: 1px solid var(--tufko-grey-300);
}

.service-sidebar li:last-child {
    border-bottom: 0;
}

.service-sidebar strong {
    display: block;
    color: var(--tufko-grey-900);
    font-family: var(--font-heading);
}

.service-sidebar span {
    color: var(--tufko-grey-700);
    font-size: 0.92rem;
}

/* Deliverables */

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.deliverable-card {
    padding: 1.75rem;
    background: var(--tufko-white);
    border: 1px solid var(--tufko-grey-300);
    border-top: 4px solid var(--tufko-orange);
}

.deliverable-card h3 {
    margin: 0 0 0.75rem;
    color: var(--tufko-orange-dark);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.2;
}

.deliverable-card p {
    margin: 0;
    color: var(--tufko-grey-700);
}

/* Process */

.service-process {
    background: var(--tufko-charcoal);
    color: var(--tufko-white);
}

.service-process__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 3rem;
    background: rgb(255 255 255 / 15%);
}

.service-process__step {
    padding: 2rem;
    background: var(--tufko-charcoal);
}

.service-process__step h3 {
    margin: 0 0 0.75rem;
    color: var(--tufko-orange-bright);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.2;
}

.service-process__step p {
    margin: 0;
    color: var(--tufko-steel-light);
}

/* CTA */

.service-cta {
    background: var(--tufko-grey-100);
}

.service-cta__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.service-cta__content {
    max-width: 760px;
}

.service-cta__content p:not(.eyebrow) {
    margin-bottom: 0;
    color: var(--tufko-grey-700);
    font-size: 1.05rem;
}

/* Service navigation */

.service-navigation {
    border-top: 1px solid var(--tufko-grey-300);
}

.service-navigation__inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-block: 2rem;
}

.service-navigation a {
    color: var(--tufko-orange-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
}

/* Responsive */

@media (max-width: 950px) {

    .service-hero__inner,
    .services-introduction,
    .service-content {
        grid-template-columns: 1fr;
    }

    .service-hero__mark img {
        width: min(55%, 260px);
    }

    .service-sidebar {
        position: static;
    }

    .deliverables-grid,
    .service-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {

    .services-grid,
    .deliverables-grid,
    .service-process__grid {
        grid-template-columns: 1fr;
    }

    .service-cta__inner,
    .service-navigation__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-hero h1 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }
}

@media (max-width: 480px) {
    .service-hero__inner {
        padding-block: 3.75rem;
    }

    .service-hero__mark img {
        width: min(72%, 230px);
    }

    .services-card,
    .service-sidebar,
    .deliverable-card,
    .service-process__step {
        padding: 1.5rem;
    }
}
