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

.services-page {
    --s-graphite: #171522;
    --s-deep: #242132;
    --s-violet: #8B5CF6;
    --s-lavender: #A78BFA;
    --s-soft: #E9E3F5;
    --s-white: #F8F7FA;
    --s-muted: #777382;

    background: var(--s-white);
    color: var(--s-graphite);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

.services-page * {
    box-sizing: border-box;
}

.services-page a {
    text-decoration: none;
    color: inherit;
}

.services-container {
    width: min(1160px, calc(100% - 100px));
    margin: 0 auto;
}


/* NAVIGATION */

.services-header {
    position: relative;
    z-index: 100;
    background: var(--s-graphite);
    border-bottom: 1px solid rgba(255,255,255,0.09);
}

.services-nav-wrap {
    width: min(1320px, calc(100% - 100px));
    min-height: 84px;
    margin: auto;

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

.services-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.brand-symbol {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;

    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;

    border: 1px solid rgba(167,139,250,0.65);
    color: var(--s-lavender);
    border-radius: 10px;
}

.brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.1px;
}

.services-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.services-nav > a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    transition: color .25s ease;
}

.services-nav > a:hover,
.services-nav > a.active {
    color: white;
}

.services-nav .nav-contact {
    padding: 13px 17px;
    background: var(--s-violet);
    color: white;
    border-radius: 5px;
}

.nav-contact span {
    margin-left: 8px;
}

.services-menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
}


/* HERO */

.services-hero {
    min-height: 620px;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 82% 40%,
            rgba(139,92,246,0.24),
            transparent 38%
        ),
        linear-gradient(120deg, #171522, #242132);

    color: white;
}

.services-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);

    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.services-hero-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    right: -130px;
    top: 90px;

    border-radius: 50%;
    background: rgba(139,92,246,0.17);
    filter: blur(100px);
    animation: servicesGlow 8s ease-in-out infinite alternate;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 125px;
    padding-bottom: 50px;
}

.services-eyebrow,
.section-kicker {
    font-size: 11px;
    letter-spacing: 2.5px;
    font-weight: 700;
    color: var(--s-lavender);
}

.services-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 6.5vw, 82px);
    line-height: 1.08;
    letter-spacing: -4px;
    font-weight: 500;
    margin: 30px 0;
}

.services-hero h1 span {
    color: var(--s-lavender);
}

.services-hero-description {
    max-width: 550px;
    font-size: 16px;
    line-height: 1.85;
    color: rgba(255,255,255,0.65);
}

.services-text-link {
    display: inline-flex;
    gap: 16px;
    margin-top: 35px;

    font-size: 13px;
    color: white;
    border-bottom: 1px solid var(--s-lavender);
    padding-bottom: 10px;
}

.services-text-link span {
    color: var(--s-lavender);
}

.services-hero-bottom {
    display: flex;
    gap: 36px;
    margin-top: 105px;
    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,0.12);
}

.services-hero-bottom span {
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.45);
}


/* INTRO */

.services-intro {
    padding: 115px 0;
    background: var(--s-soft);
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 60px;
}

.intro-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--s-violet);
}

.intro-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -1.8px;
    max-width: 650px;
    margin: 0 0 25px;
}

.intro-content p {
    max-width: 650px;
    color: #696573;
    font-size: 15px;
    line-height: 1.9;
}


/* SERVICES LIST */

.service-list-section {
    padding: 120px 0;
    background: var(--s-white);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 65px;
}

.section-heading h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(38px, 4vw, 55px);
    font-weight: 500;
    letter-spacing: -2px;
    margin: 18px 0 0;
}

.section-heading > p {
    max-width: 340px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--s-muted);
}

.service-detail {
    display: grid;
    grid-template-columns: 70px 1fr 220px;
    gap: 35px;

    padding: 60px 0;
    border-top: 1px solid #dedbe5;
}

.service-detail:last-of-type {
    border-bottom: 1px solid #dedbe5;
}

.service-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    color: var(--s-violet);
}

.service-topline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;

    font-size: 10px;
    letter-spacing: 1.7px;
    font-weight: 700;
    color: var(--s-muted);
}

.service-status {
    color: var(--s-violet);
}

.service-main h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -1.8px;
    margin: 28px 0 20px;
}

.service-description {
    max-width: 650px;
    color: #777382;
    font-size: 14px;
    line-height: 1.9;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 25px;
    margin-top: 30px;
}

.service-features span {
    position: relative;
    padding-left: 17px;

    font-size: 12px;
    color: #514e5b;
}

.service-features span::before {
    content: "";
    width: 5px;
    height: 5px;

    position: absolute;
    left: 0;
    top: 6px;

    background: var(--s-violet);
    border-radius: 50%;
}

.service-price {
    align-self: center;
    padding: 25px 20px;

    background: #F0EDF6;
    border: 1px solid #e4deef;
    border-radius: 9px;
}

.price-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--s-muted);
}

.price-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 39px;
    font-weight: 600;
    letter-spacing: -2px;
    margin: 12px 0 4px;
}

.price-value > span {
    font-size: 24px;
    color: var(--s-violet);
}

.service-price > p {
    color: var(--s-muted);
    font-size: 11px;
    margin: 0 0 25px;
}

.price-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    padding-top: 17px;
    border-top: 1px solid #dcd5e8;

    font-size: 11px;
    font-weight: 700;
    color: var(--s-violet);
}

.price-link span {
    font-size: 16px;
}

.pricing-note {
    max-width: 700px;
    margin: 30px 0 0 auto;
    color: var(--s-muted);
    font-size: 11px;
    line-height: 1.8;
    text-align: right;
}


/* CAPABILITIES */

.capabilities-section {
    padding: 120px 0;
    background: var(--s-graphite);
    color: white;
}

.capabilities-heading {
    max-width: 650px;
}

.capabilities-heading h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(42px, 5vw, 62px);
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -2px;
    margin: 25px 0;
}

.capabilities-heading > p {
    color: rgba(255,255,255,0.58);
    font-size: 14px;
    line-height: 1.9;
    max-width: 520px;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 75px;
    border-top: 1px solid rgba(255,255,255,0.14);
}

.capability {
    padding: 35px 25px 35px 0;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

.capability:not(:nth-child(3n)) {
    border-right: 1px solid rgba(255,255,255,0.14);
}

.capability:nth-child(3n + 2),
.capability:nth-child(3n + 3) {
    padding-left: 30px;
}

.capability-number {
    color: var(--s-lavender);
    font-size: 11px;
    letter-spacing: 1px;
}

.capability h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 21px;
    font-weight: 500;
    margin: 22px 0 12px;
}

.capability p {
    max-width: 280px;
    color: rgba(255,255,255,0.53);
    font-size: 12px;
    line-height: 1.9;
}


/* INDUSTRIES */

.industries-section {
    padding: 120px 0;
    background: var(--s-soft);
}

.industries-inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 90px;
}

.industries-heading h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(35px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-top: 25px;
}

.industries-list {
    border-top: 1px solid #d7d0e2;
}

.industry-item {
    display: grid;
    grid-template-columns: 45px 1fr 20px;
    align-items: center;
    gap: 15px;

    padding: 23px 0;
    border-bottom: 1px solid #d7d0e2;

    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;

    transition: padding .3s ease;
}

.industry-item:hover {
    padding-left: 10px;
}

.industry-item > span:first-child {
    font-size: 10px;
    color: var(--s-violet);
}

.industry-item > span:last-child {
    color: var(--s-violet);
}


/* CTA */

.services-cta {
    padding: 125px 0;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(139,92,246,0.23),
            transparent 35%
        ),
        var(--s-deep);
    color: white;
    text-align: center;
}

.cta-inner h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(40px, 5vw, 66px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -2px;
    margin: 28px 0;
}

.cta-inner h2 span {
    color: var(--s-lavender);
}

.cta-inner > p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.services-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 25px;

    padding: 17px 24px;
    border-radius: 5px;

    background: var(--s-violet);
    color: white;

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

    transition: transform .25s ease, background .25s ease;
}

.services-cta-button:hover {
    transform: translateY(-4px);
    background: #7545df;
}


/* FOOTER */

.services-footer {
    background: #12111a;
    color: white;
    padding: 55px 0 25px;
}

.footer-inner > p {
    color: rgba(255,255,255,0.48);
    font-size: 13px;
    margin: 22px 0 35px;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding-bottom: 35px;
}

.footer-links a {
    font-size: 12px;
    color: rgba(255,255,255,0.62);
    transition: color .2s ease;
}

.footer-links a:hover {
    color: var(--s-lavender);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.12);

    color: rgba(255,255,255,0.38);
    font-size: 10px;
}


/* REVEAL ANIMATIONS */

.services-page .reveal {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2,.7,.2,1);
}

.services-page .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes servicesGlow {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(-40px, 30px) scale(1.15);
    }
}


/* TABLET */

@media (max-width: 950px) {

    .services-container {
        width: min(100% - 60px, 760px);
    }

    .services-nav-wrap {
        width: calc(100% - 60px);
    }

    .services-nav {
        gap: 18px;
    }

    .service-detail {
        grid-template-columns: 45px 1fr 180px;
        gap: 20px;
    }

    .service-price {
        padding: 20px 15px;
    }

    .price-value {
        font-size: 32px;
    }

    .industries-inner {
        gap: 45px;
    }
}


/* MOBILE NAVIGATION */

@media (max-width: 760px) {

    .services-nav-wrap {
        min-height: 75px;
    }

    .services-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 10px;
    }

    .services-menu-toggle span {
        width: 25px;
        height: 2px;
        background: white;
        transition: transform .25s ease;
    }

    .services-menu-toggle.open span:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .services-menu-toggle.open span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .services-nav {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;

        padding: 25px 30px 30px;
        background: var(--s-graphite);

        flex-direction: column;
        align-items: stretch;
        gap: 23px;

        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .services-nav.open {
        display: flex;
    }

    .services-nav > a {
        font-size: 14px;
    }

    .services-nav .nav-contact {
        text-align: center;
    }
}


/* MOBILE LAYOUT */

@media (max-width: 600px) {

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

    .services-nav-wrap {
        width: calc(100% - 40px);
    }

    .brand-name {
        font-size: 10px;
    }

    .services-hero {
        min-height: auto;
    }

    .services-hero-content {
        padding-top: 90px;
        padding-bottom: 35px;
    }

    .services-hero h1 {
        font-size: clamp(43px, 11vw, 60px);
        letter-spacing: -2.5px;
        margin: 25px 0;
    }

    .services-hero-description {
        font-size: 14px;
    }

    .services-hero-bottom {
        gap: 17px;
        margin-top: 75px;
        flex-wrap: wrap;
    }

    .services-hero-bottom span {
        font-size: 9px;
    }

    .services-intro,
    .service-list-section,
    .capabilities-section,
    .industries-section {
        padding: 80px 0;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .intro-content h2 {
        font-size: 35px;
    }

    .section-heading {
        display: block;
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 40px;
    }

    .section-heading > p {
        margin-top: 20px;
    }

    .service-detail {
        grid-template-columns: 32px 1fr;
        gap: 12px;
        padding: 40px 0;
    }

    .service-number {
        font-size: 14px;
    }

    .service-main h3 {
        font-size: 34px;
        margin: 22px 0 17px;
    }

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

    .service-features {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .service-price {
        grid-column: 2;
        margin-top: 15px;
        padding: 23px;
    }

    .price-value {
        font-size: 37px;
    }

    .pricing-note {
        text-align: left;
        margin-top: 25px;
    }

    .capabilities-heading h2 {
        font-size: 43px;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        margin-top: 45px;
    }

    .capability,
    .capability:nth-child(3n + 2),
    .capability:nth-child(3n + 3) {
        padding: 28px 0;
        border-right: none;
    }

    .capability h3 {
        font-size: 20px;
    }

    .industries-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .industries-heading h2 {
        font-size: 39px;
    }

    .industry-item {
        font-size: 14px;
    }

    .services-cta {
        padding: 90px 0;
    }

    .cta-inner h2 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .footer-links {
        gap: 18px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .services-page *,
    .services-page *::before,
    .services-page *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .services-page .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =================================
   ONE-TIME PAYMENT BANNER
================================= */

.one-time-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 32px 38px;
    margin-bottom: 35px;

    background: #242132;
    color: white;
    border-radius: 10px;

    position: relative;
    overflow: hidden;
}

.one-time-banner::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    right: 80px;
    top: -130px;

    background: rgba(139,92,246,0.25);
    filter: blur(55px);
    border-radius: 50%;
    pointer-events: none;
}

.one-time-content {
    position: relative;
    z-index: 1;
}

.one-time-label {
    color: #A78BFA;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.one-time-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 600;
    letter-spacing: -1px;
    margin: 13px 0 9px;
}

.one-time-content p {
    max-width: 590px;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

.one-time-side {
    position: relative;
    z-index: 1;
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    font-family: 'Space Grotesk', sans-serif;
    color: #A78BFA;
    font-size: 11px;
    letter-spacing: 2px;
}

.one-time-side strong {
    color: white;
    font-size: 19px;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .one-time-banner {
        padding: 25px 22px;
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .one-time-side {
        align-items: flex-start;
        flex-direction: row;
        gap: 8px;
    }
}
