.service-hero { background-color: var(--navy) !important; }
.service-hero-intro { color: #d4dce6 !important; }
.service-hero-card { background: linear-gradient(145deg, rgba(53,78,99,.65), rgba(255,255,255,.025)) !important; }
.service-section h2 { color: var(--ink); }
.dark-section h2, .cta-section h2 { color: #fff; }
.section-kicker, .service-eyebrow { font-family: Manrope, sans-serif; }
.service-feature { box-shadow: 0 12px 34px rgba(18,24,32,.035); }
.service-feature h3, .process-item h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; }

section{
    padding: 20px;
}
/* Service page styles */
        .service-page {
            background: #fff;
            color: #101827;
            overflow: hidden;
        }
        .service-hero {
            position: relative;
            min-height: 548px;
            display: flex;
            align-items: center;
            background:
                radial-gradient(circle at 80% 20%, rgba(47,91,255,.20), transparent 32%),
                radial-gradient(circle at 15% 80%, rgba(242,105,28,.12), transparent 30%),
                #0a1020;
            color: #fff;
        }
        .service-hero-inner {
            width: min(1280px, calc(100% - 40px));
            margin: auto;
            padding: 110px 0 90px;
            display: grid;
            grid-template-columns: 1.1fr .9fr;
            gap: 70px;
            align-items: center;
        }
        .service-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: #ff9148;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: .12em;
            text-transform: uppercase;
            margin-bottom: 22px;
        }
        .service-eyebrow::before {
            content: "";
            width: 30px;
            height: 2px;
            background: #f2691c;
        }
        .service-hero h1 {
            max-width: 850px;
            margin: 0 0 25px;
            font-size: clamp(48px, 6vw, 82px);
            line-height: .98;
            letter-spacing: -.045em;
        }
        .service-hero-intro {
            max-width: 700px;
            color: #b9c2d0;
            font-size: 19px;
            line-height: 1.7;
            margin: 0;
        }

        .service-hero-card {
            position: relative;
            min-height: 400px;
            border: 1px solid rgba(255,255,255,.12);
            border-radius: 28px;
            background: linear-gradient(
                145deg,
                rgba(255,255,255,.10),
                rgba(255,255,255,.025)
            );
            backdrop-filter: blur(15px);
            padding: 35px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-shadow: 0 30px 80px rgba(0,0,0,.25);
        }

        .service-number {
            font-size: 100px;
            line-height: 1;
            font-weight: 800;
            letter-spacing: -.08em;
            color: rgba(255,255,255,.07);
        }

        .service-card-label {
            color: #fff;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: .12em;
        }

        .service-card-line {
            width: 70px;
            height: 3px;
            background: linear-gradient(90deg, #f2691c, #2f5bff);
            margin-top: 15px;
        }
        .service-intro-grid {
            display: grid;
            grid-template-columns: .4fr 1.2fr;
            gap: 20px;
            align-items: start;
        }

        .section-kicker {
            color: #f2691c;
            font-size: 13px;
            font-weight: 800;
            letter-spacing: .12em;
            text-transform: uppercase;
        }

        .service-section h2 {
            font-size: 30px;
            line-height: 1.05;
            letter-spacing: -.04em;
        }
        .service-feature-grid {
            margin-top: 70px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .service-feature {
            min-height: 190px;
            padding: 30px;
            border: 1px solid #e8ebf0;
            border-radius: 18px;
            background: #fff;
            transition: .3s ease;
        }

        .service-feature:hover {
            transform: translateY(-6px);
            border-color: #f2691c;
            box-shadow: 0 20px 45px rgba(10,16,32,.08);
        }

        .feature-index {
            display: block;
            color: #f2691c;
            font-size: 12px;
            font-weight: 800;
            margin-bottom: 35px;
        }

        .service-feature h3 {
            margin: 0;
            font-size: 19px;
            line-height: 1.4;
        }

        .dark-section {
            background: var(--soft);
            color: #fff;
        }

        .dark-section p {
            color: #aeb8c8;
        }

        .process-grid {
            margin-top: 60px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .process-item {
            padding: 30px;
            border-top: 1px solid rgba(255,255,255,.2);
        }

        .process-item span {
            color: #f2691c;
            font-weight: 800;
            font-size: 13px;
        }

        .process-item h3 {
            margin: 35px 0 12px;
            font-size: 21px;
        }

        .process-item p {
            font-size: 14px;
            line-height: 1.7;
        }

        .tech-wrap {
            margin-top: 50px;
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .tech-tag {
            padding: 12px 18px;
            border: 1px solid #dfe3e9;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 600;
            background: #fff;
        }

        .cta-section {
            background:#000000e0;
            color: #fff;
        }

        .cta-box {
            display: flex;
            justify-content: space-between;
            gap: 50px;
            align-items: center;
        }

        .cta-box h2 {
            max-width: 700px;
            margin: 0;
        }

        .cta-box p {
            max-width: 600px;
            color: #aeb8c8;
        }
        .service-btn {
            flex-shrink: 0;
            display: inline-flex;
            padding: 16px 25px;
            /* border-radius: 50px; */
            border: 1px solid white;
            background: #50504f00;
            color: #fff;
            text-decoration: none;
            font-weight: 700;
            transition: .3s ease;
        }
        .service-btn:hover {
            transform: translateY(-3px);
            background: #ff7d2c;
        }
	   .service-section.tech-section {
			position: relative;
			background-image: radial-gradient(#101827 1px, #273f44 1.2px);
			background-size: 22px 22px;
			overflow: hidden;
		}
 
    /* soft vignette so the dots fade out at the edges like the reference */
    .service-section.tech-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at center, transparent 40%, #0b0e13 100%);
        pointer-events: none;
    }
 
    .tech-section .service-container {
        position: relative;
        z-index: 1;
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
    }
 
    .tech-section .section-kicker {
        color: #f2691c;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: .12em;
        text-transform: uppercase;
    }
 
    .tech-section h2 {
        color: #fff;
        font-size:40px;
        line-height: 1.05;
        letter-spacing: -.04em;
    }
 
    /* ---------- logo wall ---------- */
    .tech-wall {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
 
    .tech-row {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }
 
   .tech-tag {
        display: inline-flex;
        gap: 10px;
        font-weight: 700;
        line-height: 1;
        opacity: .95;
        transition: opacity .3s ease, color .3s ease, transform .3s ease;
        align-items: center;
        justify-content: space-around;
    }
 
    /* small glyph in front of each name, like the logo marks */
    .tech-tag::before {
        content: "";
        width: 22px;
        height: 22px;
        border: 3px solid currentColor;
        border-radius: 6px;
        flex: none;
    }
 
    /* different brightness + weight per item = same "wall" feel */
    .tech-row .tech-tag:nth-child(1) { opacity: .45; font-weight: 600; letter-spacing: .04em; }
    .tech-row .tech-tag:nth-child(2) { opacity: .95; }
    .tech-row .tech-tag:nth-child(3) { opacity: .85; font-weight: 800; }
    .tech-row .tech-tag:nth-child(4) { opacity: .6; font-weight: 500; }
 
    .tech-row:nth-child(2) .tech-tag:nth-child(1) { opacity: .9; font-weight: 800; }
    .tech-row:nth-child(2) .tech-tag:nth-child(2) { opacity: .5; }
    .tech-row:nth-child(2) .tech-tag:nth-child(3) { opacity: .95; letter-spacing: .08em; }
    .tech-row:nth-child(2) .tech-tag:nth-child(4) { opacity: .35; }
 
    /* alternate the glyph shape */
    .tech-row .tech-tag:nth-child(even)::before { border-radius: 50%; }
    .tech-row .tech-tag:nth-child(3n)::before { border-radius: 4px 12px; }
 
    .tech-tag:hover {
        opacity: 1 !important;
        color: #f2691c;
        transform: translateY(-3px);
    }
 
    @media (max-width: 767px) {
        .service-section.tech-section { padding: 80px 20px; }
        .tech-wall { gap: 36px; }
        .tech-row { gap: 36px 44px; }
    }
 
    @media (prefers-reduced-motion: reduce) {
        .tech-tag { transition: none; }
    }
        @media(max-width: 900px) {

            .service-hero-inner,
            .service-intro-grid {
                grid-template-columns: 1fr;
            }

            .service-feature-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .process-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .cta-box {
                flex-direction: column;
                align-items: flex-start;
            }
        }

        @media(max-width: 600px) {

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

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

            .service-hero h1 {
                font-size: 48px;
            }

            .service-feature-grid,
            .process-grid {
                grid-template-columns: 1fr;
            }
        }
/* Shared service page polish and responsive layout */
main.service-page {
    --service-ink: #14201f;
    --service-teal: #1b2d30;
    --service-orange: #f2691c;
    overflow-x: clip;
}
main.service-page .service-intro-grid {
    gap: clamp(36px, 7vw, 88px);
}
main.service-page .section-kicker,
main.service-page .service-eyebrow {
    line-height: 1.4;
}
main.service-page .dark-section {
    background: var(--service-teal);
    color: #fff;
}
main.service-page .dark-section h2,
main.service-page .cta-section h2,
main.service-page .tech-section h2 {
    color: #fff;
}

main.service-page .service-feature-grid {
    gap: clamp(14px, 2vw, 22px);
}

main.service-page .service-feature {
    border-color: #e4e9e8;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(20,32,31,.055);
}

main.service-page .service-feature:hover {
    box-shadow: 0 22px 44px rgba(20,32,31,.11);
}

main.service-page .process-grid { gap: 18px; }
main.service-page .process-item { padding: 28px 24px; }

main.service-page .pf-card {
    overflow: hidden;
    border-radius: 18px;
}

main.service-page .pf-panel {
    margin-top: 22px;
    margin-bottom: 22px;
    border-radius: 0 14px 14px 0;
}

main.service-page .cta-box { gap: clamp(28px, 5vw, 56px); }
main.service-page .cta-box > div { max-width: 760px; }
main.service-page .service-btn { align-items: center; justify-content: center; }

main.service-page .tech-section { padding-right: 24px; padding-left: 24px; }
main.service-page .tech-section h2 { margin-bottom: clamp(38px, 6vw, 68px); }
main.service-page .tech-row { gap: 32px clamp(28px, 6vw, 84px); }

@media (max-width: 900px) {
    main.service-page .service-intro-grid { gap: 28px; }
    main.service-page .service-hero-inner { gap: 42px; }
    main.service-page .service-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    main.service-page .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    main.service-page .pf-card { grid-template-columns: 1fr; }
    main.service-page .pf-media { min-height: 340px; }
    main.service-page .pf-panel { margin: -28px 18px 18px; border-radius: 14px; }
}

@media (max-width: 600px) {
    main.service-page h2,
    main.service-page .wa h2 { font-size: clamp(29px, 8vw, 38px); }
    main.service-page .service-container { width: calc(100% - 36px); }
    main.service-page .service-hero.video-hero {
        height: 52svh;
        min-height: 320px;
    }
    main.service-page .service-hero-inner { padding: 76px 0 58px; }
    main.service-page .service-hero h1 { font-size: clamp(38px, 11vw, 52px); }
    main.service-page .service-hero-card { min-height: 280px; padding: 26px; }
    main.service-page .service-feature-grid,
    main.service-page .process-grid { grid-template-columns: 1fr; }
    main.service-page .service-feature { min-height: 150px; padding: 24px; }
    main.service-page .feature-index { margin-bottom: 22px; }
    main.service-page .pf-media { min-height: 250px; }
    main.service-page .pf-panel { margin: -20px 10px 10px; padding: 28px 22px; }
    main.service-page .pf-tabs { flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
    main.service-page .pf-tab { min-width: 48px; padding: 10px 13px; }
    main.service-page .cta-box { align-items: stretch; }
    main.service-page .service-btn { align-self: flex-start; }
    main.service-page .tech-section { padding-right: 18px; padding-left: 18px; }
    main.service-page .tech-row { gap: 24px 28px; }
    main.service-page .tech-tag { font-size: 16px; }
}
@media (max-width: 520px) { .service-hero-inner, .service-container { width: min(100% - 30px, 1280px) !important; } }
