/* =========================================================
   STARTDOT SERVICES — MODERN TYPOGRAPHY
   ========================================================= */

:root {
    --sd-ink: #171923;
    --sd-text: #202229;
    --sd-soft: #686b73;
    --sd-muted: #92949b;
    --sd-line: #dedfe2;
    --sd-paper: #ffffff;
    --sd-card: #f6f6f5;
    --sd-red: #d92027;
    --sd-width: 1180px;

    --sd-font:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}

.sd-services,
.sd-services * {
    box-sizing: border-box;
}

.sd-services {
    width: 100%;
    color: var(--sd-text);
    background: #fff;
    font-family: var(--sd-font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.sd-services a {
    font-family: inherit;
}

.sd-services p,
.sd-services h1,
.sd-services h2,
.sd-services h3 {
    margin-top: 0;
}

.sd-services h1,
.sd-services h2,
.sd-services h3 {
    font-feature-settings: "kern" 1;
}

/* =========================================================
   SHARED WIDTH
   ========================================================= */

.services-hero,
.services-intro,
.services-list-section,
.services-process,
.services-faq {
    width: min(var(--sd-width), calc(100% - 60px));
    margin-inline: auto;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.black-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 52px;
    padding: 0 22px;

    border-radius: 999px;
    background: var(--sd-ink);
    color: #fff;

    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -.01em;
    text-decoration: none;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.black-button span {
    font-size: 17px;
    line-height: 1;
}

.black-button:hover {
    transform: translateY(-2px);
    background: var(--sd-red);
    box-shadow: 0 10px 25px rgba(217,32,39,.15);
}

.text-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--sd-text);

    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    text-decoration: none;

    transition: gap .25s ease, color .25s ease;
}

.text-button span {
    font-size: 17px;
}

.text-button:hover {
    gap: 15px;
    color: var(--sd-red);
}

/* =========================================================
   HERO
   ========================================================= */

.services-hero {
    min-height: 680px;

    padding-top: 145px;
    padding-bottom: 105px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.services-pill,
.cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 13px;

    border: 1px solid #e2e3e5;
    border-radius: 999px;

    background: #fafafa;
    color: #4f525a;

    font-size: 10px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.services-pill span,
.cta-pill span {
    font-size: 9px;
}

.services-hero h1 {
    max-width: 950px;

    margin: 25px auto 0;

    color: #202229;

    font-size: clamp(54px, 6vw, 82px);
    line-height: .96;
    letter-spacing: -.065em;
    font-weight: 600;
}

.services-hero h1 span {
    color: #D92027;
}

.services-hero > p {
    max-width: 620px;

    margin: 29px auto 0;

    color: #666970;

    font-size: 17px;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: -.01em;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 27px;

    margin-top: 32px;
}

/* =========================================================
   SECTION LABEL
   ========================================================= */

.section-top {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 15px;

    border-top: 1px solid var(--sd-line);

    color: #595c64;

    font-size: 10px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.section-top span:first-child {
    color: #9b9da4;
}


/* =====================================================
   SERVICES SECTION
===================================================== */

.services-list-section {
    position: relative;

    padding: 95px 0 175px;

    background: #ffffff;
}


/* =====================================================
   SECTION TOP
===================================================== */

.services-list-section .section-top {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 18px;

    border-bottom: 1px solid #dedfe1;

    color: #777a82;

    font-size: 9px;
    line-height: 1;
    font-weight: 600;

    letter-spacing: .12em;
    text-transform: uppercase;
}


/* =====================================================
   SERVICES GRID
===================================================== */

.services-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 18px;
    row-gap: 18px;

    margin-top: 42px;
}


/* =====================================================
   SERVICE CARD
===================================================== */

.service-card {
    position: relative;

    height: 285px;
    min-height: 285px;

    padding: 25px;

    background: #f5f5f3;

    border: 1px solid #dedfe1;
    border-radius: 28px;

    overflow: hidden;

    isolation: isolate;

    transition:
        height .5s cubic-bezier(.2,.8,.2,1),
        min-height .5s cubic-bezier(.2,.8,.2,1),
        transform .4s cubic-bezier(.2,.8,.2,1),
        box-shadow .4s ease,
        border-color .3s ease;
}


/* =====================================================
   REMOVE OLD NUMBERING
===================================================== */

.service-card-number {
    display: none !important;
}


/* =====================================================
   DECORATIVE CIRCLE
===================================================== */

.service-card::after {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    right: -85px;
    bottom: -100px;

    border-radius: 50%;

    background: #ededeb;

    z-index: -1;

    transition:
        transform .6s cubic-bezier(.2,.8,.2,1),
        background .4s ease;
}


.service-card:hover::after {
    transform: scale(1.35);

    background: #e8e8e5;
}


/* =====================================================
   CARD HOVER
===================================================== */

.service-card:hover {
    transform: translateY(-5px);

    border-color: #d2d3d5;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .07);
}


/* =====================================================
   CONTROLLED STAGGER
===================================================== */

/* Right column sits slightly lower */

.service-card:nth-child(even):not(.is-open) {
    transform: translateY(14px);
}


.service-card:nth-child(even):not(.is-open):hover {
    transform: translateY(9px);
}


/* =====================================================
   OPEN CARD
===================================================== */

.service-card.is-open {
    height:650px;
    min-height:650px;
    transform:translateY(0)!important;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}


/* =====================================================
   DEFAULT VIEW
===================================================== */

.service-main {
    position: absolute;

    inset: 25px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .4s cubic-bezier(.2,.8,.2,1);
}


/* Hide default view */

.service-card.is-open .service-main {
    opacity: 0;

    visibility: hidden;

    transform: translateY(-18px);
}


/* =====================================================
   STARTDOT LABEL
===================================================== */

.service-main::before {
    content: "STARTDOT";

    position: absolute;

    top: 0;
    left: 0;

    color: #9b9da3;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: .16em;
}


/* =====================================================
   SERVICE TITLE
===================================================== */

.service-main h3 {
    max-width: 480px;

    margin: 0;

    color: #202229;

    font-size: clamp(36px, 4vw, 58px);

    line-height: .9;

    letter-spacing: -.065em;

    font-weight: 600;

    transition:
        transform .4s cubic-bezier(.2,.8,.2,1);
}


.service-card:hover .service-main h3 {
    transform: translateX(5px);
}


/* =====================================================
   DESCRIPTION
===================================================== */

.service-main p {
    max-width: 450px;

    margin: 18px 0 0;

    color: #666970;

    font-size: 13px;

    line-height: 1.55;

    letter-spacing: -.01em;
}


/* =====================================================
   ARROW / CLOSE BUTTON
===================================================== */

.service-toggle,
.service-close {
    position: absolute;

    top: 20px;
    right: 20px;

    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #d9dade;

    border-radius: 50%;

    background: #ffffff;

    color: #202229;

    font-size: 18px;

    line-height: 1;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease,
        transform .4s cubic-bezier(.2,.8,.2,1);
}


/* Arrow hover */

.service-toggle:hover {
    background: #202229;

    border-color: #202229;

    color: #ffffff;

    transform: rotate(45deg);
}


/* Hide arrow when open */

.service-card.is-open .service-toggle {
    display: none;
}


/* =====================================================
   EXPANDED DETAILS
===================================================== */

.service-details {
    position: absolute;

    inset: 25px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform: translateY(18px);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .45s cubic-bezier(.2,.8,.2,1);
}


.service-card.is-open .service-details {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: translateY(0);
}


/* =====================================================
   DETAILS HEADER
===================================================== */

.service-details-top {
    min-height: 68px;

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;

    padding-bottom: 17px;

    border-bottom: 1px solid #dcdde0;
}


.service-details-label {
    display: block;

    margin-bottom: 7px;

    color: #999ba1;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: .14em;
}


.service-details-top h3 {
    margin: 0;

    color: #202229;

    font-size: 25px;

    line-height: 1;

    letter-spacing: -.045em;

    font-weight: 600;
}


/* =====================================================
   CLOSE BUTTON
===================================================== */

.service-close {
    position: relative;

    top: auto;
    right: auto;

    flex: 0 0 43px;

    font-size: 22px;
}


.service-close:hover {
    background: #202229;

    border-color: #202229;

    color: #ffffff;

    transform: rotate(90deg);
}


/* =====================================================
   SUB SERVICES
===================================================== */

.service-details .service-points {
    margin-top: 13px;

    border-top: 0;
}


.service-details .service-points div {
    min-height: 50px;

    display: grid;

    grid-template-columns: 42px 1fr;

    align-items: center;

    border-bottom: 1px solid #dcdde0;

    transition:
        padding-left .3s ease,
        background .3s ease;
}


.service-details .service-points div:hover {
    padding-left: 8px;

    background: #eeeeec;
}


.service-details .service-points span {
    color: #9b9da3;

    font-size: 8px;

    font-weight: 600;
}


.service-details .service-points strong {
    color: #272930;

    font-size: 13px;

    font-weight: 500;

    transition:
        color .25s ease;
}


.service-details .service-points div:hover strong {
    color: var(--sd-red);
}


/* =====================================================
   EXTRA CLEARANCE BELOW LAST ROW
===================================================== */

/*
   The right-column cards are visually shifted down.
   This prevents the final row from touching/overlapping
   the section that comes after Services.
*/

.services-grid {
    padding-bottom: 25px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .services-list-section {
        padding: 70px 0 100px;
    }


    .services-list-section .section-top {
        padding-bottom: 14px;
    }


    .services-grid {
        grid-template-columns: 1fr;

        gap: 12px;

        margin-top: 30px;

        padding-bottom: 0;
    }


    /* Remove stagger on mobile */

    .service-card,
    .service-card:nth-child(even):not(.is-open) {
        height: 260px;

        min-height: 260px;

        transform: none;
    }


    .service-card:hover,
    .service-card:nth-child(even):not(.is-open):hover {
        transform: translateY(-3px);
    }


    /* Open card */

    .service-card.is-open {
    height:620px;
    min-height:620px;
    transform:none!important;
 }


    .service-main,
    .service-details {
        inset: 21px;
    }


    .service-main h3 {
        font-size: 42px;
    }


    .service-main p {
        font-size: 12px;

        margin-top: 15px;
    }


    .service-toggle,
    .service-close {
        top: 17px;
        right: 17px;

        width: 39px;
        height: 39px;
    }


    .service-details-top {
        padding-bottom: 14px;
    }


    .service-details-top h3 {
        font-size: 22px;
    }


    .service-details .service-points div {
        min-height: 47px;
    }

}

/* =========================================================
   DARK FEATURE
   ========================================================= */

.services-dark {
    width: 100%;

    background: var(--sd-ink);
    color: #fff;
}

.dark-inner {
    width: min(var(--sd-width), calc(100% - 60px));
    margin-inline: auto;

    padding: 100px 0 115px;
}

.dark-label {
    border-color: #3a3c45;
    color: #a9abb2;
}

.dark-label span:first-child {
    color: #696b74;
}

.dark-content {
    margin-top: 78px;
}

.dark-content h2 {
    max-width: 980px;

    margin: 0;

    color: #fff;

    font-size: clamp(52px, 6.3vw, 82px);
    line-height: .94;
    letter-spacing: -.07em;
    font-weight: 600;
}

.dark-content h2 span {
    color: var(--sd-red);
}

.dark-content p {
    max-width: 610px;

    margin: 31px 0 0;

    color: #b8bac1;

    font-size: 17px;
    line-height: 1.65;
}

.white-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    margin-top: 34px;
    padding: 7px 7px 7px 20px;

    border: 1px solid #50525b;
    border-radius: 999px;

    color: #fff;

    font-size: 14px;
    font-weight: 500;
    text-decoration: none;

    transition: border-color .25s ease;
}

.white-button span {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: var(--sd-red);

    font-size: 17px;
}

.white-button:hover {
    border-color: #fff;
}

/* =========================================================
   PROCESS
   ========================================================= */

.services-process {
    padding-top: 110px;
    padding-bottom: 135px;
}

.process-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;

    margin-top: 73px;
}

.process-intro h2 {
    margin: 0;

    color: var(--sd-text);

    font-size: clamp(47px, 5vw, 68px);
    line-height: .97;
    letter-spacing: -.065em;
    font-weight: 600;
}

.process-intro h2 span {
    color: #7b7e86;
}

.process-intro > p {
    max-width: 510px;

    margin: 4px 0 0;

    color: #64676f;

    font-size: 17px;
    line-height: 1.65;
}

.process-list {
    margin-top: 70px;
    border-top: 1px solid #171923;
}

.process-row {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 40px;

    padding: 28px 0;

    border-bottom: 1px solid #dedfe1;
}

.process-row > span {
    padding-top: 3px;

    color: #999ba2;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
}

.process-row h3 {
    margin: 0;

    color: #22242b;

    font-size: 21px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -.025em;
}

.process-row p {
    max-width: 600px;

    margin: 8px 0 0;

    color: #70737b;

    font-size: 14px;
    line-height: 1.65;
}

/* =========================================================
   FAQ — UPDATED DESIGN
========================================================= */

.services-faq {
    padding-top: 110px;
    padding-bottom: 150px;
}


/* =========================================================
   FAQ LAYOUT
========================================================= */

.faq-layout {
    display: grid;

    grid-template-columns: .78fr 1.22fr;

    gap: 95px;

    margin-top: 72px;

    align-items: start;
}


/* =========================================================
   LEFT HEADING
========================================================= */

.faq-heading {
    position: sticky;
    top: 120px;
}


.faq-heading h2 {
    margin: 0;

    color: #202229;

    font-size: clamp(47px, 5vw, 67px);

    line-height: .95;

    letter-spacing: -.065em;

    font-weight: 600;
}


.faq-heading h2 span {
    color: #85888f;
}


.faq-heading p {
    max-width: 290px;

    margin: 27px 0 0;

    color: #777a82;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   FAQ LIST
========================================================= */

.faq-list {
    display: flex;

    flex-direction: column;

    gap: 10px;

    border: 0;
}


/* =========================================================
   FAQ ITEM
========================================================= */

.faq-item {
    position: relative;

    border: 1px solid #dedfe1;

    border-radius: 20px;

    background: #f5f5f3;

    overflow: hidden;

    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        border-color .3s ease,
        background .3s ease,
        box-shadow .35s ease;
}


/* Hover */

.faq-item:hover {
    transform: translateY(-3px);

    border-color: #d2d3d5;

    box-shadow:
        0 14px 35px rgba(0, 0, 0, .055);
}


/* Active */

.faq-item.active {
    border-color: #cfd0d3;

    background: #f8f8f7;

    box-shadow:
        0 15px 38px rgba(0, 0, 0, .06);
}


/* =========================================================
   QUESTION
========================================================= */

.faq-question {
    width: 100%;

    min-height: 72px;

    padding: 19px 20px 19px 23px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    border: 0;

    background: transparent;

    color: #202229;

    text-align: left;

    font-family: inherit;

    font-size: 15px;

    line-height: 1.35;

    font-weight: 500;

    cursor: pointer;
}


/* =========================================================
   QUESTION TEXT
========================================================= */

.faq-question span {
    display: block;

    padding-right: 15px;

    transition:
        transform .3s ease,
        color .3s ease;
}


.faq-item:hover .faq-question span {
    transform: translateX(3px);
}


.faq-item.active .faq-question span {
    color: #202229;
}


/* =========================================================
   PLUS BUTTON
========================================================= */

.faq-question b {
    flex: 0 0 auto;

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #d7d8da;

    border-radius: 50%;

    background: #ffffff;

    color: #202229;

    font-size: 21px;

    line-height: 1;

    font-weight: 400;

    transition:
        transform .4s cubic-bezier(.2,.8,.2,1),
        background .3s ease,
        color .3s ease,
        border-color .3s ease;
}


/* Hover plus */

.faq-item:hover .faq-question b {
    background: #202229;

    border-color: #202229;

    color: #ffffff;

    transform: rotate(45deg);
}


/* Active plus */

.faq-item.active .faq-question b {
    background: #202229;

    border-color: #202229;

    color: #ffffff;

    transform: rotate(45deg);
}


/* =========================================================
   ANSWER
========================================================= */

.faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows .45s cubic-bezier(.2,.8,.2,1);
}


.faq-answer p {
    min-height: 0;

    overflow: hidden;

    max-width: 650px;

    margin: 0;

    padding: 0 75px 0 23px;

    color: #70737b;

    font-size: 14px;

    line-height: 1.65;

    opacity: 0;

    transform: translateY(-8px);

    transition:
        padding .45s ease,
        opacity .3s ease,
        transform .45s ease;
}


/* =========================================================
   ACTIVE ANSWER
========================================================= */

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}


.faq-item.active .faq-answer p {
    padding: 0 75px 25px 23px;

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   SMALL ACCENT LINE
========================================================= */

.faq-item::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 0;
    height: 2px;

    background: var(--sd-red);

    transition:
        width .45s cubic-bezier(.2,.8,.2,1);
}


.faq-item.active::before {
    width: 100%;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .services-faq {
        padding-top: 80px;

        padding-bottom: 100px;
    }


    .faq-layout {
        grid-template-columns: 1fr;

        gap: 45px;

        margin-top: 50px;
    }


    .faq-heading {
        position: relative;

        top: auto;
    }


    .faq-heading h2 {
        font-size: clamp(44px, 11vw, 58px);
    }


    .faq-heading p {
        max-width: 400px;

        margin-top: 20px;
    }


    .faq-list {
        gap: 9px;
    }


    .faq-item {
        border-radius: 17px;
    }


    .faq-question {
        min-height: 68px;

        padding: 16px 16px 16px 19px;

        font-size: 14px;
    }


    .faq-question b {
        width: 36px;
        height: 36px;

        font-size: 20px;
    }


    .faq-answer p {
        padding-left: 19px;

        padding-right: 55px;

        font-size: 13px;
    }


    .faq-item.active .faq-answer p {
        padding-left: 19px;

        padding-right: 55px;

        padding-bottom: 22px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .services-faq {
        padding-top: 65px;

        padding-bottom: 80px;
    }


    .faq-layout {
        gap: 35px;

        margin-top: 40px;
    }


    .faq-question {
        min-height: 64px;

        padding: 15px 14px 15px 17px;

        gap: 12px;
    }


    .faq-question span {
        padding-right: 5px;
    }


    .faq-question b {
        width: 34px;
        height: 34px;

        font-size: 19px;
    }


    .faq-answer p,
    .faq-item.active .faq-answer p {
        padding-left: 17px;

        padding-right: 45px;

        padding-bottom: 20px;

        font-size: 13px;
    }

}


/* =========================================================
   SHARED HEADER FONT ONLY
   Does NOT change Services page/body typography.
   ========================================================= */

#site-header,
#site-header *,
#site-header *::before,
#site-header *::after {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif !important;
}
