/* ================================
   SERVICES PAGE
================================ */

.services-page .services-hero {
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 72px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 112px 40px;
}

.services-hero__content {
    max-width: 720px;
}

.services-hero h1 {
    max-width: 690px;
}

.services-hero__intro {
    max-width: 610px;
    margin-bottom: 36px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.services-hero__visual {
    min-height: 460px;
    position: relative;
    overflow: visible;
}

.hero-work {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(11, 38, 56, 0.12);
    border-radius: 11px;
    background: #f7f5ef;
    box-shadow: 0 18px 38px rgba(11, 38, 56, 0.16);
}

.hero-work img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-work figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 7px 10px;
    border-radius: 2px;
    background: rgba(247, 245, 239, 0.94);
    color: #123b55;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-work--digital {
    z-index: 1;
    top: 22px;
    right: 0;
    width: 88%;
    height: 270px;
    transform: rotate(1.5deg);
}

.hero-work--digital img {
    object-position: 50% 48%;
}

.hero-work--digital figcaption {
    top: 12px;
    right: 12px;
    bottom: auto;
    left: auto;
}

.hero-work--identity {
    z-index: 2;
    left: 0;
    bottom: 20px;
    width: 64%;
    height: 205px;
    transform: rotate(-2.5deg);
}

.hero-work--identity img {
    object-position: center;
}

.hero-work__mark {
    position: absolute;
    z-index: 3;
    right: -4px;
    bottom: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #123b55;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-work__mark img {
    display: block;
    width: 130px;
    height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(11, 38, 56, 0.12));
}

.service-offerings,
.service-process {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
    border-top: 1px solid #e2e0da;
}

.offering-list {
    margin-top: 72px;
    border-top: 1px solid #d6d2c9;
}

.offering {
    display: grid;
    grid-template-columns: 80px minmax(0, 1.2fr) minmax(230px, 0.8fr);
    gap: 40px;
    padding: 44px 0;
    border-bottom: 1px solid #d6d2c9;
}

/* Individual services */
.individual-services {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
    border-top: 1px solid #e2e0da;
}

.individual-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 64px;
}

.individual-service {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    padding: 28px;
    border: 1px solid #d6d2c9;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.individual-service:hover {
    border-color: #123b55;
    box-shadow: 0 12px 24px rgba(11, 38, 56, 0.06);
    transform: translateY(-4px);
}

.individual-service:focus-visible {
    outline-offset: 5px;
}

.individual-service__category {
    margin-bottom: 20px;
    color: #5f6b73;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.individual-service h3 {
    margin-bottom: 14px;
    font-family: "Montserrat", sans-serif;
    font-size: 1.35rem;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.individual-service > p:not(.individual-service__category):not(.individual-service__price):not(.individual-service__link) {
    color: #242a30;
    font-size: 0.95rem;
    line-height: 1.6;
}

.individual-service__price,
.individual-service__link {
    margin-top: auto;
    padding-top: 24px;
    color: #123b55;
    font-size: 0.95rem;
    font-weight: 700;
}

.individual-service--custom {
    background: #eae7df;
}

.offering {
    scroll-margin-top: 110px;
}

.offering__number,
.service-process__steps span {
    color: #5f6b73;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.offering .eyebrow {
    margin-bottom: 14px;
    color: #123b55;
    font-size: 0.72rem;
}

.offering h3,
.service-path h3,
.service-process h3 {
    font-family: "Montserrat", sans-serif;
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.offering h3 {
    max-width: 540px;
    margin-bottom: 16px;
    font-size: 2rem;
}

.offering__content > p:last-child,
.service-path__intro > p:last-child,
.service-path__options p:last-child,
.service-process__steps p {
    color: #242a30;
    font-size: 1rem;
    line-height: 1.65;
}

.offering__details {
    align-self: end;
    list-style: none;
    padding: 0;
}

.offering__details li {
    padding: 9px 0;
    border-bottom: 1px solid #e2e0da;
    color: #123b55;
    font-size: 0.92rem;
    font-weight: 600;
}

.offering__details li::before {
    content: "/";
    margin-right: 8px;
    color: #5f6b73;
}

/* Project proof */
.project-proof {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 72px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
    border-top: 1px solid #e2e0da;
}

.project-proof__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid #d6d2c9;
    border-radius: 16px;
    box-shadow: 0 16px 38px rgba(11, 38, 56, 0.08);
}

.project-proof__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-proof__content h2 {
    margin-bottom: 20px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.2rem, 3.5vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.project-proof__content > p:not(.eyebrow) {
    color: #242a30;
    font-size: 1.05rem;
    line-height: 1.65;
}

.project-proof__results {
    margin: 30px 0 28px;
    padding: 0;
    border-top: 1px solid #d6d2c9;
    list-style: none;
}

.project-proof__results li {
    padding: 12px 0;
    border-bottom: 1px solid #d6d2c9;
    color: #123b55;
    font-size: 0.9rem;
    font-weight: 600;
}

.project-proof__results li::before {
    content: "/";
    margin-right: 9px;
    color: #5f6b73;
}

.project-proof__link {
    color: #123b55;
    font-size: 0.9rem;
    font-weight: 700;
}

.project-proof__link:hover {
    color: #5f6b73;
}

.service-path {
    padding: 120px max(40px, calc((100vw - 1200px) / 2));
    background: #123b55;
    color: #f7f5ef;
}

.service-path__intro {
    max-width: 650px;
}

.service-path .eyebrow,
.services-cta .eyebrow {
    color: #f7f5ef;
}

.service-path h2,
.services-cta h2 {
    margin-bottom: 20px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.service-path__intro > p:last-child,
.service-path__options p:last-child {
    color: rgba(247, 245, 239, 0.82);
}

.service-path__options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.service-path__options article {
    display: flex;
    min-height: 440px;
    flex-direction: column;
    padding: 32px;
    border: 1px solid rgba(247, 245, 239, 0.28);
}

.service-path__option--featured {
    position: relative;
    border-color: #f7f5ef !important;
    background: rgba(247, 245, 239, 0.07);
    transform: translateY(-8px);
}

.package-recommended {
    position: absolute;
    top: 16px;
    right: 18px;
    color: #9fb7c6;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.package-label {
    margin-bottom: 32px;
    color: #9fb7c6;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.service-path h3 {
    margin-bottom: 18px;
    font-size: 1.45rem;
}

.package-price {
    margin-bottom: 8px;
    color: #f7f5ef;
    font-family: "Montserrat", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.package-timeline {
    margin-bottom: 22px;
    color: #9fb7c6;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.package-price span {
    margin-left: 4px;
    color: #9fb7c6;
    font-family: "Manrope", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    vertical-align: middle;
}

.service-path__options ul {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.service-path__options li {
    padding: 7px 0;
    border-bottom: 1px solid rgba(247, 245, 239, 0.18);
    color: rgba(247, 245, 239, 0.9);
    font-size: 0.86rem;
}

.service-path__options li::before {
    content: "/";
    margin-right: 8px;
    color: #9fb7c6;
}

.package-description {
    margin-bottom: 26px;
    color: rgba(247, 245, 239, 0.82);
    font-size: 0.9rem;
    line-height: 1.6;
}

.package-action {
    align-self: flex-start;
    margin-top: auto;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(247, 245, 239, 0.6);
    color: #f7f5ef;
    font-size: 0.84rem;
    font-weight: 700;
}

.package-action:hover {
    border-color: #f7f5ef;
}

.engagement-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
    padding-top: 36px;
    border-top: 1px solid rgba(247, 245, 239, 0.3);
}

.engagement-notes span {
    display: block;
    margin-bottom: 16px;
    color: #9fb7c6;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.engagement-notes h3 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.engagement-notes p {
    color: rgba(247, 245, 239, 0.75);
    font-size: 0.82rem;
    line-height: 1.6;
}

.service-path__note {
    margin-top: 28px;
    color: rgba(247, 245, 239, 0.68);
    font-size: 0.82rem;
}

.individual-service--brand {
    border-top: 3px solid #123b55;
}

.individual-service--digital {
    border-top: 3px solid #3a7ca5;
}

.individual-service--creative {
    border-top: 3px solid #8a7655;
}

.individual-service--support {
    border-top: 3px solid #5f6b73;
}

.individual-service--custom {
    border-top: 3px solid #d6d2c9;
}

.service-process .section-heading {
    max-width: 760px;
}

.service-process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
    list-style: none;
    counter-reset: process;
}

.service-process__steps li {
    padding-top: 24px;
    border-top: 2px solid #123b55;
}

.service-process__steps span {
    display: block;
    margin-bottom: 34px;
}

.service-process h3 {
    margin-bottom: 14px;
    font-size: 1.3rem;
}

.services-cta {
    padding: 112px max(40px, calc((100vw - 1200px) / 2));
    background: #123b55;
    color: #f7f5ef;
}

.services-cta > div {
    max-width: 660px;
}

.services-cta > div > p:not(.eyebrow) {
    max-width: 560px;
    margin-bottom: 32px;
    color: rgba(247, 245, 239, 0.88);
    font-size: 1.1rem;
    line-height: 1.6;
}

.services-cta .cta-button:focus-visible {
    outline-color: #f7f5ef;
}

@media (max-width: 768px) {
    .services-page .services-hero,
    .service-offerings,
    .project-proof,
    .individual-services,
    .service-process {
        padding: 72px 24px;
    }

    .services-page .services-hero {
        display: block;
        min-height: 0;
    }

    .services-hero h1 {
        font-size: 2.65rem;
    }

    .services-hero__visual {
        min-height: 360px;
        margin-top: 48px;
    }

    .hero-work--digital {
        top: 12px;
        right: 0;
        width: 90%;
        height: 215px;
    }

    .hero-work--identity {
        left: 0;
        bottom: 16px;
        width: 65%;
        height: 150px;
    }

    .hero-work__mark {
        right: -2px;
        bottom: 6px;
        font-size: 0.48rem;
    }

    .hero-work__mark img {
        width: 84px;
        height: 84px;
    }

    .offering-list {
        margin-top: 48px;
    }

    .offering {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 36px 0;
    }

    .project-proof {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .offering h3 {
        font-size: 1.75rem;
    }

    .offering__details {
        max-width: none;
    }

    .service-path,
    .services-cta {
        padding: 80px 24px;
    }

    .service-path__options,
    .service-process__steps {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 48px;
    }

    .individual-services__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 48px;
    }

    .individual-service {
        min-height: 0;
    }

    .service-path__options article {
        min-height: 0;
        padding: 28px;
    }

    .service-path__option--featured {
        border-width: 2px;
        background: rgba(247, 245, 239, 0.1);
        transform: none;
    }

    .engagement-notes {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 48px;
    }

    .service-process__steps {
        gap: 32px;
    }

    .service-process__steps span {
        margin-bottom: 18px;
    }
}
