/* ==========================================================
   ATRABYTE — SERVICE DETAIL V2
   Designed for the selected reference
   ========================================================== */


/* ==========================================================
   ROOT
   ========================================================== */

.service-detail-page {
    background: #fff;
}

.service-detail-page #landing {
    background: #fff;
    color: #101020;
}

.service-detail-page #foot {
    margin-top: 0;
}

.service-page {
    --sd-bg: #ffffff;
    --sd-soft-bg: #f7f7fd;
    --sd-soft-bg-2: #f4f4fb;

    --sd-text: #111122;
    --sd-muted: #74768a;
    --sd-soft: #a8a9b6;

    --sd-purple: #6554ee;
    --sd-purple-dark: #5040d6;
    --sd-purple-light: #efedff;

    --sd-dark: #101020;
    --sd-dark-purple: #17152d;

    --sd-border: #e4e4ee;

    /*
     * IMPORTANT:
     * Reference design is wide.
     * Don't squeeze everything into a tiny center column.
     */
    --sd-container: 1440px;

    width: 100%;
    overflow: clip;

    background: var(--sd-bg);
    color: var(--sd-text);
}

.service-container {
    width: min(
        var(--sd-container),
        calc(100% - clamp(48px, 7vw, 120px))
    );

    margin-inline: auto;
}

.service-page *,
.service-page *::before,
.service-page *::after {
    box-sizing: border-box;
}

.service-page h1,
.service-page h2,
.service-page h3,
.service-page p {
    margin-top: 0;
}

.service-page img {
    max-width: 100%;
}

.service-page button,
.service-page a {
    font-family: inherit;
}


/* ==========================================================
   PREVIEW
   ========================================================== */

.service-preview {
    padding: 9px 20px;

    background: #17152d;
    color: #fff;

    text-align: center;

    font-size: 11px;
}


/* ==========================================================
   HERO
   ========================================================== */

.service-hero {
    position: relative;

    padding:
        clamp(65px, 7vw, 105px)
        0
        clamp(70px, 7vw, 110px);

    background:
        radial-gradient(
            circle at 72% 30%,
            rgba(108, 88, 245, .11),
            transparent 31%
        ),
        linear-gradient(
            180deg,
            #fafaff 0%,
            #f8f8fd 100%
        );
}

.service-hero__grid {
    display: grid;

    /*
     * RTL:
     * first element = text
     * second = visual
     */
    grid-template-columns:
        minmax(430px, .9fr)
        minmax(560px, 1.1fr);

    gap: clamp(60px, 7vw, 120px);

    align-items: center;
}


/* ==========================================================
   HERO COPY
   ========================================================== */

.service-hero__content {
    position: relative;
    z-index: 2;

    min-width: 0;
}

.service-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin: 0 0 44px;

    color: #8a8b9b;

    font-size: 11px;
}

.service-breadcrumb a {
    color: inherit;
    text-decoration: none;

    transition: color .18s ease;
}

.service-breadcrumb a:hover {
    color: var(--sd-purple);
}


/* eyebrow */

.service-eyebrow {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

    color: var(--sd-purple);

    font-size: 12px;
    font-weight: 750;
}

.service-eyebrow__icon {
    width: 46px;
    height: 46px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #8172ff,
            #5d49df
        );

    color: #fff;

    font-size: 16px;

    box-shadow:
        0 13px 28px rgba(100, 82, 235, .22);
}


/* title */

.service-hero__title {
    max-width: 680px;

    margin: 0 0 24px;

    font-size:
        clamp(48px, 5.2vw, 82px);

    font-weight: 800;

    line-height: 1.12;

    letter-spacing: -.045em;

    text-wrap: balance;
}


/* description */

.service-hero__description {
    max-width: 590px;

    margin: 0 0 32px;

    color: var(--sd-muted);

    font-size:
        clamp(14px, 1.05vw, 17px);

    line-height: 2;

    text-wrap: pretty;
}


.service-price {
    max-width: 590px;
    margin: 0 0 32px;
    padding-top: 16px;
    border-top: 1px solid var(--sd-border);
    line-height: 2;
}

.service-price dt {
    color: var(--sd-muted);
    font-size: 14px;
    font-weight: 400;
}

.service-price dd {
    margin: 0;
    color: var(--sd-text);
    font-size: 17px;
    font-weight: 600;
}


/* ==========================================================
   HERO ACTIONS
   ========================================================== */

.service-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;
}

.service-btn {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 24px;

    padding: 11px 22px;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 750;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.service-btn--primary {
    border: 1px solid var(--sd-dark);

    background: var(--sd-dark);
    color: #fff;

    box-shadow:
        0 12px 30px rgba(16, 16, 32, .13);
}

.service-btn--primary:hover {
    transform: translateY(-2px);

    border-color: var(--sd-purple);

    background: var(--sd-purple);

    box-shadow:
        0 16px 34px rgba(101, 84, 238, .22);
}

.service-btn--secondary {
    border: 1px solid #cbc7ef;

    background: rgba(255, 255, 255, .7);

    color: var(--sd-text);
}

.service-btn--secondary:hover {
    transform: translateY(-2px);

    border-color: var(--sd-purple);

    background: #fff;
}


/* ==========================================================
   HERO HIGHLIGHTS
   ========================================================== */

.service-hero__highlights {
    display: grid;

    grid-template-columns:
        repeat(4, max-content);

    gap: clamp(18px, 2.2vw, 34px);

    margin: 38px 0 0;
    padding: 0;

    list-style: none;
}

.service-hero__highlights li {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #56586a;

    font-size: 10px;
    font-weight: 650;
}

.service-highlight__icon {
    width: 31px;
    height: 31px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border: 1px solid #e1dfff;
    border-radius: 50%;

    background: #fff;

    color: var(--sd-purple);

    font-size: 9px;

    box-shadow:
        0 6px 17px rgba(40, 34, 100, .06);
}


/* ==========================================================
   HERO IMAGE
   ========================================================== */

.service-hero__visual {
    position: relative;

    width: 100%;

    min-width: 0;
}

.service-hero__image {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 14px;

    background: #e9e9f0;

    box-shadow:
        0 30px 70px rgba(23, 20, 60, .13);
}

.service-hero__image img {
    width: 100%;

    aspect-ratio: 1.55 / 1;

    display: block;

    object-fit: cover;
    object-position: center;
}

.service-hero__image::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 65%,
            rgba(10, 10, 25, .08)
        );
}


/* floating card */

.service-hero__floating-card {
    position: absolute;

    inset-inline-start: -28px;
    bottom: 28px;

    width: 230px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 16px;

    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 13px;

    background: rgba(255, 255, 255, .9);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        0 16px 40px rgba(20, 17, 65, .14);
}

.service-hero__floating-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: var(--sd-purple-light);

    color: var(--sd-purple);
}

.service-hero__floating-card strong {
    font-size: 11px;
    line-height: 1.7;
}


/* ==========================================================
   SECTION LABEL
   ========================================================== */

.service-section-number {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 22px;

    color: #838496;

    font-size: 10px;
    font-weight: 700;
}

.service-section-number > span:first-child {
    color: var(--sd-text);

    font-size: 11px;
    font-weight: 800;
}

.service-section-number__line {
    width: 30px;
    height: 1px;

    display: block;

    background: var(--sd-purple);
}


/* ==========================================================
   ABOUT
   ========================================================== */

.service-about {
    padding:
        clamp(90px, 9vw, 140px)
        0;

    background: #fff;
}

.service-about__grid {
    display: grid;

    grid-template-columns:
        minmax(520px, 1fr)
        minmax(480px, 1fr);

    gap: clamp(70px, 9vw, 145px);

    align-items: center;
}

.service-about__visual {
    position: relative;

    min-width: 0;
}

.service-about__image {
    width: 100%;

    overflow: hidden;

    border-radius: 12px;

    background: #efeff4;
}

.service-about__image img {
    width: 100%;

    aspect-ratio: 1.45 / 1;

    display: block;

    object-fit: cover;
    object-position: center;
}

.service-about__placeholder {
    min-height: 390px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background:
        radial-gradient(
            circle,
            #eae7ff,
            #f6f5ff 55%,
            #eeeeF5
        );

    color: var(--sd-purple);

    font-size: 70px;
}


/* About copy */

.service-about__content {
    min-width: 0;
}

.service-about__content h2 {
    max-width: 690px;

    margin: 0 0 24px;

    font-size:
        clamp(38px, 4vw, 60px);

    font-weight: 790;

    line-height: 1.2;

    letter-spacing: -.035em;

    text-wrap: balance;
}


/* ==========================================================
   RICH TEXT
   ========================================================== */

.service-richtext {
    max-width: 680px;

    color: var(--sd-muted);

    font-size: 14px;

    line-height: 2.05;
}

.service-richtext > *:first-child {
    margin-top: 0;
}

.service-richtext > *:last-child {
    margin-bottom: 0;
}

.service-richtext p {
    margin-bottom: 15px;
}

.service-richtext h2,
.service-richtext h3,
.service-richtext h4 {
    margin:
        28px
        0
        12px;

    color: var(--sd-text);

    line-height: 1.5;
}

.service-richtext h2 {
    font-size: 25px;
}

.service-richtext h3 {
    font-size: 20px;
}

.service-richtext h4 {
    font-size: 17px;
}

.service-richtext ul,
.service-richtext ol {
    padding-inline-start: 22px;
}

.service-richtext li {
    margin-bottom: 6px;
}


/* ==========================================================
   FEATURES
   ========================================================== */

.service-features {
    padding:
        20px
        0
        clamp(100px, 10vw, 150px);

    background: #fff;
}

.service-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 60px;

    margin-bottom: 42px;
}

.service-section-header h2 {
    margin: 0;

    font-size:
        clamp(36px, 4vw, 58px);

    font-weight: 790;

    line-height: 1.15;

    letter-spacing: -.035em;
}


/* Dynamic grid

   1 item  = full
   2 items = 2 columns
   3 items = 3 columns
   4+      = adaptive
*/

.service-features__grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(min(260px, 100%), 1fr)
        );

    gap: 15px;
}

.service-feature-card {
    position: relative;

    min-height: 205px;

    display: flex;
    flex-direction: column;

    padding: 26px;

    overflow: hidden;

    border: 1px solid var(--sd-border);
    border-radius: 10px;

    background:
        linear-gradient(
            180deg,
            #fff,
            #fdfdff
        );

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.service-feature-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(101, 84, 238, .28);

    box-shadow:
        0 20px 45px rgba(30, 26, 90, .07);
}

.service-feature-card__icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    margin-bottom: 30px;

    border-radius: 12px;

    background: var(--sd-purple-light);

    color: var(--sd-purple);

    font-size: 15px;
}

.service-feature-card h3 {
    max-width: 250px;

    margin: 0;

    font-size: 15px;
    font-weight: 750;

    line-height: 1.65;
}

.service-feature-card__number {
    position: absolute;

    inset-inline-end: 20px;
    bottom: 17px;

    color: #b9bac7;

    font-size: 10px;
    font-weight: 750;
}


/* ==========================================================
   PROCESS
   ========================================================== */

.service-process {
    padding:
        clamp(90px, 9vw, 140px)
        0
        clamp(100px, 10vw, 150px);

    background:
        linear-gradient(
            180deg,
            #f8f8fd 0%,
            #f5f5fb 100%
        );
}

.service-process__heading {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(320px, .75fr);

    gap: 80px;

    align-items: end;

    margin-bottom: 72px;
}

.service-process__heading h2 {
    max-width: 720px;

    margin: 0;

    font-size:
        clamp(40px, 4.5vw, 64px);

    font-weight: 790;

    line-height: 1.15;

    letter-spacing: -.04em;
}

.service-process__heading > p {
    max-width: 430px;

    margin: 0;

    color: var(--sd-muted);

    font-size: 13px;

    line-height: 2;
}


/* ==========================================================
   PROCESS GRID
   ========================================================== */

.service-process__timeline {
    position: relative;

    display: flex;

    align-items: flex-start;

    width: 100%;

    margin: 0;
    padding: 0;

    list-style: none;
}

.service-process__timeline::before {
    content: "";

    position: absolute;

    top: 29px;

    inset-inline-start: 3%;
    inset-inline-end: 3%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #bfb9f6 7%,
            #bfb9f6 93%,
            transparent
        );
}

.service-process-step {
    position: relative;

    flex:
        1
        1
        0;

    min-width: 0;

    padding-inline: 15px;

    text-align: center;
}

.service-process-step__marker {
    position: relative;
    z-index: 2;

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin:
        0
        auto
        25px;

    border: 1px solid #bcb5ff;
    border-radius: 50%;

    background: #f7f7fc;

    color: var(--sd-purple);

    box-shadow:
        0 0 0 8px #f7f7fc;
}

.service-process-step__marker span {
    font-size: 11px;
    font-weight: 800;
}

.service-process-step h3 {
    margin: 0 0 9px;

    font-size: 14px;
    font-weight: 750;

    line-height: 1.6;
}

.service-process-step__content > div {
    max-width: 230px;

    margin-inline: auto;

    color: var(--sd-muted);

    font-size: 11px;

    line-height: 1.85;
}

.service-process-step__content p {
    margin: 0;
}


/* If only 1–3 process items exist,
   don't let them collapse into tiny dots.
*/

.service-process__timeline:has(
    .service-process-step:nth-child(3):last-child
) {
    max-width: 1000px;

    margin-inline: auto;
}

.service-process__timeline:has(
    .service-process-step:nth-child(2):last-child
) {
    max-width: 760px;

    margin-inline: auto;
}


/* ==========================================================
   IMPACT CTA
   ========================================================== */

.service-impact {
    padding:
        0
        0
        clamp(90px, 9vw, 140px);

    background: #f5f5fb;
}

.service-impact__inner {
    position: relative;

    min-height: 185px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;

    overflow: hidden;

    padding:
        42px
        clamp(34px, 5vw, 68px);

    border-radius: 10px;

    background:
        radial-gradient(
            ellipse at 62% 145%,
            rgba(119, 83, 255, .72),
            transparent 35%
        ),
        linear-gradient(
            105deg,
            #10101f 0%,
            #121126 48%,
            #1b1640 100%
        );

    color: #fff;
}

.service-impact__inner::after {
    content: "";

    position: absolute;

    width: 520px;
    height: 170px;

    left: 38%;
    bottom: -125px;

    border-radius: 50%;

    background:
        linear-gradient(
            130deg,
            rgba(116, 79, 255, .8),
            rgba(89, 55, 190, .08)
        );

    transform: rotate(-9deg);

    filter: blur(4px);
}

.service-impact__content,
.service-impact__button {
    position: relative;
    z-index: 2;
}

.service-impact__label {
    display: block;

    margin-bottom: 13px;

    color: #9f94f7;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .25em;
}

.service-impact h2 {
    max-width: 630px;

    margin: 0;

    font-size:
        clamp(27px, 3vw, 43px);

    font-weight: 720;

    line-height: 1.35;

    letter-spacing: -.025em;
}

.service-impact__button {
    min-height: 49px;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    gap: 28px;

    padding: 11px 21px;

    border: 0;
    border-radius: 7px;

    background:
        linear-gradient(
            135deg,
            #e0d9ff,
            #ae9eff
        );

    color: #18152b;

    font-size: 11px;
    font-weight: 750;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.service-impact__button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 35px rgba(105, 78, 225, .25);
}


/* ==========================================================
   FAQ
   ========================================================== */

.service-faq-section {
    padding:
        clamp(100px, 10vw, 150px)
        0;

    background: #fff;
}

.service-faq-section__grid {
    display: grid;

    grid-template-columns:
        minmax(340px, .65fr)
        minmax(600px, 1.35fr);

    gap: clamp(80px, 10vw, 160px);

    align-items: start;
}

.service-faq-section__heading h2 {
    max-width: 470px;

    margin: 0 0 17px;

    font-size:
        clamp(40px, 4.5vw, 62px);

    font-weight: 790;

    line-height: 1.15;

    letter-spacing: -.04em;
}

.service-faq-section__heading > p {
    max-width: 320px;

    margin: 0;

    color: var(--sd-muted);

    font-size: 12px;

    line-height: 1.9;
}


/* FAQ rows */

.service-faq {
    border-top: 1px solid var(--sd-border);
}

.service-faq__item {
    border-bottom: 1px solid var(--sd-border);
}

.service-faq__item h3 {
    margin: 0;
}

.service-faq__item button {
    width: 100%;

    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding:
        18px
        3px;

    border: 0;

    background: transparent;

    color: var(--sd-text);

    text-align: start;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.service-faq__item button i {
    flex: 0 0 auto;

    color: var(--sd-purple);

    font-size: 10px;

    transition: transform .2s ease;
}

.service-faq__item button[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.service-faq__answer {
    max-width: 760px;

    padding:
        0
        3px
        25px;

    color: var(--sd-muted);

    font-size: 12px;

    line-height: 2;
}

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


/* ==========================================================
   RELATED
   ========================================================== */

.service-related {
    padding:
        20px
        0
        clamp(100px, 10vw, 150px);

    background: #fff;
}

.service-related__heading {
    display: grid;

    grid-template-columns:
        minmax(270px, .55fr)
        minmax(0, 1.45fr);

    gap: 70px;

    align-items: end;

    margin-bottom: 42px;
}

.service-related__heading h2 {
    max-width: 760px;

    margin: 0;

    font-size:
        clamp(36px, 4vw, 56px);

    font-weight: 790;

    line-height: 1.2;

    letter-spacing: -.035em;
}


/* cards */

.service-related__grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;
}

.service-related-card {
    min-width: 0;
    min-height: 200px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(120px, 35%);

    overflow: hidden;

    border: 1px solid var(--sd-border);
    border-radius: 10px;

    background: #fafaff;

    color: var(--sd-text);

    text-decoration: none;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.service-related-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(101, 84, 238, .28);

    box-shadow:
        0 18px 42px rgba(30, 27, 80, .07);
}

.service-related-card__content {
    position: relative;

    min-width: 0;

    padding: 23px;
}

.service-related-card__category {
    display: block;

    margin-bottom: 14px;

    color: var(--sd-purple);

    font-size: 9px;
    font-weight: 750;
}

.service-related-card h3 {
    margin: 0 0 8px;

    font-size: 16px;
    font-weight: 750;

    line-height: 1.5;
}

.service-related-card p {
    max-width: 250px;

    margin: 0;

    color: var(--sd-muted);

    font-size: 10px;

    line-height: 1.8;
}

.service-related-card__arrow {
    position: absolute;

    inset-inline-start: 22px;
    bottom: 20px;

    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--sd-purple);

    color: #fff;

    font-size: 11px;
}

.service-related-card__image {
    min-width: 0;

    overflow: hidden;
}

.service-related-card__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .4s ease;
}

.service-related-card:hover
.service-related-card__image img {
    transform: scale(1.04);
}


/* ==========================================================
   FINAL CTA
   ========================================================== */

.service-final-cta {
    padding:
        0
        0
        clamp(80px, 8vw, 120px);

    background: #fff;
}

.service-final-cta__inner {
    position: relative;

    min-height: 220px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;

    overflow: hidden;

    padding:
        45px
        clamp(35px, 5vw, 70px);

    border-radius: 11px;

    background:
        radial-gradient(
            ellipse at 61% 120%,
            rgba(111, 77, 255, .55),
            transparent 29%
        ),
        linear-gradient(
            110deg,
            #0f0f1e 0%,
            #141226 55%,
            #0f0f1e 100%
        );

    color: #fff;
}

.service-final-cta__inner::before {
    content: "";

    position: absolute;

    width: 110px;
    height: 190px;

    left: 58%;
    bottom: -55px;

    border: 22px solid rgba(118, 85, 255, .36);

    transform: rotate(42deg);

    box-shadow:
        0 0 75px rgba(103, 76, 232, .35);
}

.service-final-cta__inner > div,
.service-final-cta__button {
    position: relative;
    z-index: 2;
}

.service-final-cta__inner > div > span {
    display: block;

    margin-bottom: 13px;

    color: #a69de4;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .25em;
}

.service-final-cta h2 {
    margin: 0 0 10px;

    font-size:
        clamp(34px, 4vw, 55px);

    font-weight: 740;

    line-height: 1.2;

    letter-spacing: -.035em;
}

.service-final-cta p {
    margin: 0;

    color: #aaa9b7;

    font-size: 12px;

    line-height: 1.8;
}

.service-final-cta__button {
    min-height: 51px;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    gap: 28px;

    padding: 11px 22px;

    border: 0;
    border-radius: 7px;

    background:
        linear-gradient(
            135deg,
            #725df0,
            #9276ff
        );

    color: #fff;

    font-size: 11px;
    font-weight: 750;

    cursor: pointer;

    box-shadow:
        0 13px 30px rgba(102, 78, 226, .22);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.service-final-cta__button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 17px 38px rgba(102, 78, 226, .32);
}


/* ==========================================================
   RTL / LTR
   ========================================================== */

html[dir="ltr"] .service-btn i {
    transform: rotate(180deg);
}


/* ==========================================================
   LARGE SCREENS
   ========================================================== */

@media (min-width: 1700px) {

    .service-page {
        --sd-container: 1500px;
    }

}


/* ==========================================================
   LAPTOP
   ========================================================== */

@media (max-width: 1200px) {

    .service-container {
        width: calc(100% - 56px);
    }

    .service-hero__grid {
        grid-template-columns:
            minmax(390px, .9fr)
            minmax(470px, 1.1fr);

        gap: 55px;
    }

    .service-hero__title {
        font-size: 56px;
    }

    .service-hero__highlights {
        grid-template-columns:
            repeat(2, max-content);
    }

    .service-about__grid {
        grid-template-columns:
            minmax(400px, 1fr)
            minmax(400px, 1fr);

        gap: 70px;
    }

    .service-faq-section__grid {
        grid-template-columns:
            minmax(300px, .7fr)
            minmax(500px, 1.3fr);

        gap: 70px;
    }

}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .service-container {
        width: calc(100% - 40px);
    }


    /* HERO */

    .service-hero__grid {
        display: flex;
        flex-direction: column;

        gap: 50px;
    }

    .service-hero__content,
    .service-hero__visual {
        width: 100%;
    }

    .service-hero__title {
        max-width: 760px;

        font-size:
            clamp(46px, 8vw, 68px);
    }

    .service-hero__description {
        max-width: 680px;
    }

    .service-hero__highlights {
        grid-template-columns:
            repeat(4, max-content);
    }


    /* ABOUT */

    .service-about__grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .service-about__visual {
        order: 2;
    }

    .service-about__content {
        order: 1;
    }


    /* headings */

    .service-section-header,
    .service-process__heading,
    .service-related__heading {
        display: block;
    }

    .service-section-header
    .service-section-number,
    .service-related__heading
    .service-section-number {
        margin-bottom: 18px;
    }

    .service-process__heading > p {
        margin-top: 22px;
    }


    /* PROCESS VERTICAL */

    .service-process__timeline {
        display: block;

        max-width: none !important;
    }

    .service-process__timeline::before {
        top: 0;
        bottom: 0;

        inset-inline-start: 28px;
        inset-inline-end: auto;

        width: 1px;
        height: auto;

        background: #c3bdf6;
    }

    .service-process-step {
        display: grid;

        grid-template-columns:
            58px
            minmax(0, 1fr);

        gap: 25px;

        padding:
            0
            0
            45px;

        text-align: start;
    }

    .service-process-step__marker {
        margin: 0;
    }

    .service-process-step__content {
        padding-top: 4px;
    }

    .service-process-step__content > div {
        max-width: 600px;

        margin: 0;
    }


    /* FAQ */

    .service-faq-section__grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    /* RELATED */

    .service-related__grid {
        grid-template-columns: 1fr;
    }

    .service-related-card {
        min-height: 190px;

        grid-template-columns:
            minmax(0, 1fr)
            210px;
    }


    /* CTA */

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

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 600px) {

    .service-container {
        width: calc(100% - 28px);
    }


    /* HERO */

    .service-hero {
        padding:
            45px
            0
            70px;
    }

    .service-breadcrumb {
        margin-bottom: 32px;

        font-size: 9px;
    }

    .service-eyebrow {
        font-size: 10px;
    }

    .service-eyebrow__icon {
        width: 39px;
        height: 39px;

        border-radius: 11px;
    }

    .service-hero__title {
        margin-bottom: 18px;

        font-size:
            clamp(39px, 12vw, 54px);

        line-height: 1.16;
    }

    .service-hero__description {
        font-size: 13px;
    }

    .service-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .service-btn {
        width: 100%;
    }

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

        gap: 14px;
    }

    .service-hero__highlights li {
        font-size: 9px;
    }

    .service-hero__image img {
        aspect-ratio: 4 / 3;
    }

    .service-hero__floating-card {
        position: relative;

        inset: auto;

        width: calc(100% - 30px);

        margin:
            -27px
            auto
            0;
    }


    /* ABOUT */

    .service-about {
        padding:
            75px
            0;
    }

    .service-about__content h2 {
        font-size: 35px;
    }

    .service-about__image img {
        aspect-ratio: 4 / 3;
    }

    .service-richtext {
        font-size: 13px;
    }


    /* FEATURES */

    .service-features {
        padding-bottom: 80px;
    }

    .service-section-header h2 {
        font-size: 36px;
    }

    .service-features__grid {
        grid-template-columns: 1fr;
    }

    .service-feature-card {
        min-height: 170px;
    }


    /* PROCESS */

    .service-process {
        padding:
            80px
            0;
    }

    .service-process__heading {
        margin-bottom: 50px;
    }

    .service-process__heading h2 {
        font-size: 37px;
    }

    .service-process-step {
        grid-template-columns:
            48px
            minmax(0, 1fr);

        gap: 18px;
    }

    .service-process-step__marker {
        width: 48px;
        height: 48px;

        box-shadow:
            0 0 0 5px #f7f7fc;
    }

    .service-process__timeline::before {
        inset-inline-start: 24px;
    }


    /* IMPACT */

    .service-impact {
        padding-bottom: 75px;
    }

    .service-impact__inner {
        min-height: 290px;

        padding:
            32px
            24px;
    }

    .service-impact h2 {
        font-size: 29px;
    }

    .service-impact__button {
        width: 100%;

        justify-content: space-between;
    }


    /* FAQ */

    .service-faq-section {
        padding:
            75px
            0;
    }

    .service-faq-section__heading h2 {
        font-size: 38px;
    }

    .service-faq__item button {
        min-height: 64px;

        font-size: 12px;
    }


    /* RELATED */

    .service-related {
        padding-bottom: 80px;
    }

    .service-related__heading h2 {
        font-size: 35px;
    }

    .service-related-card {
        display: flex;
        flex-direction: column;

        min-height: 0;
    }

    .service-related-card__image {
        order: -1;

        height: 180px;
    }

    .service-related-card__content {
        min-height: 190px;
    }


    /* FINAL CTA */

    .service-final-cta {
        padding-bottom: 65px;
    }

    .service-final-cta__inner {
        min-height: 320px;

        padding:
            34px
            24px;
    }

    .service-final-cta h2 {
        font-size: 37px;
    }

    .service-final-cta__button {
        width: 100%;

        justify-content: space-between;
    }

}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .service-page *,
    .service-page *::before,
    .service-page *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }

}
