.services-page {
    background: #f7faf9;
    color: #142029;
}

.services-page [class*="tracking-"] {
    letter-spacing: 0 !important;
}

.services-hero {
    min-height: 88vh;
    padding: 8rem 1rem 4rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(110deg, rgba(7, 11, 19, 0.88) 0%, rgba(15, 143, 148, 0.72) 50%, rgba(7, 11, 19, 0.46) 100%),
        url("../../uploads/services/11/services-1.jpg") center/cover no-repeat;
}

.services-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 34%;
    background: linear-gradient(180deg, rgba(247, 250, 249, 0), #f7faf9);
    pointer-events: none;
}

.service-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #d9fbff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    backdrop-filter: blur(18px);
}

.service-kicker span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #e69122;
    box-shadow: 0 0 0 0.35rem rgba(230, 145, 34, 0.18);
}

.services-hero-title {
    max-width: 760px;
    color: #fff;
    font-size: clamp(2.6rem, 7vw, 6.1rem);
    line-height: 0.98;
    font-weight: 800;
    margin: 1.35rem 0 1.25rem;
}

.services-hero-copy {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.8;
}

.services-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.service-primary-btn,
.service-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 3.2rem;
    padding: 0 1.2rem;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.service-primary-btn {
    background: #e69122;
    color: #fff;
    border: 1px solid #e69122;
}

.service-secondary-btn {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.08);
}

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

.service-secondary-btn:hover {
    background: #fff;
    color: #0f8f94;
    border-color: #fff;
}

.hero-service-rail {
    display: grid;
    gap: 0.75rem;
    width: min(100%, 360px);
}

.hero-service-chip {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px);
    color: #fff;
}

.hero-service-chip i {
    width: 2.3rem;
    height: 2.3rem;
    display: grid;
    place-items: center;
    background: rgba(42, 187, 199, 0.18);
    color: #8bf5ff;
}

.hero-service-chip strong {
    display: block;
    font-size: 0.88rem;
    color: #fff;
}

.hero-service-chip small {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    margin-top: 0.15rem;
}

.section-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1rem;
}

.section-label {
    color: #0f8f94;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.section-title {
    margin-top: 0.75rem;
    color: #111827;
    font-size: clamp(1.75rem, 2.5vw, 2.35rem);
    line-height: 1.2;
    font-weight: 800;
}

.section-copy {
    color: #5d6b76;
    line-height: 1.8;
    font-size: 1rem;
}

.services-command {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 3rem;
    align-items: start;
}

.metric-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2.5rem;
    border: 1px solid #dbe8e8;
    background: #fff;
}

.metric-strip div {
    padding: 1.4rem;
    border-right: 1px solid #dbe8e8;
}

.metric-strip div:last-child {
    border-right: 0;
}

.metric-strip strong {
    display: block;
    color: #0f8f94;
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 800;
}

.metric-strip span {
    display: block;
    margin-top: 0.4rem;
    color: #64727d;
    font-size: 0.84rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(230px, 1fr));
    gap: 1rem;
    overflow-x: auto;
    padding: 0.35rem 0 0.75rem;
    scrollbar-width: none;
}

.service-grid::-webkit-scrollbar {
    display: none;
}

.service-card {
    min-height: 430px;
    background: #fff;
    border: 1px solid #dfeaea;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 55px -38px rgba(13, 35, 42, 0.34);
    transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(15, 143, 148, 0.4);
    box-shadow: 0 30px 70px -38px rgba(15, 143, 148, 0.55);
}

.service-card figure {
    position: relative;
    height: 170px;
    overflow: hidden;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.service-card:hover img {
    transform: scale(1.06);
}

.service-number {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    width: 2.35rem;
    height: 2.35rem;
    display: grid;
    place-items: center;
    background: #fff;
    color: #0f8f94;
    font-weight: 800;
}

.service-card-content {
    padding: 1.25rem;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.service-card h3 {
    color: #111827;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.2;
}

.service-card p {
    margin-top: 0.85rem;
    color: #5e6c77;
    line-height: 1.65;
    font-size: 0.92rem;
}

.service-card a {
    margin-top: auto;
    padding-top: 1.2rem;
    color: #e69122;
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.service-flow {
    background: #07111a;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.service-flow::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        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: 52px 52px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent);
}

.service-flow .section-title,
.service-flow .section-copy {
    color: #fff;
}

.process-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.process-step {
    min-height: 230px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
    padding: 1.4rem;
    border-radius: 8px;
}

.process-step i {
    width: 2.8rem;
    height: 2.8rem;
    display: grid;
    place-items: center;
    background: rgba(42, 187, 199, 0.14);
    color: #5ee6ee;
}

.process-step h3 {
    margin-top: 1.4rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.process-step p {
    margin-top: 0.7rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.65;
    font-size: 0.92rem;
}

.plus-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem;
    align-items: center;
    border: 1px solid #dfeaea;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.plus-panel img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.plus-content {
    padding: clamp(1.4rem, 4vw, 3.5rem);
}

.plus-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 2rem;
}

.plus-list li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem;
    background: #f3f8f8;
    color: #344650;
    font-size: 0.9rem;
}

.plus-list i {
    color: #0f8f94;
}

.services-cta {
    margin-top: -1px;
    background:
        linear-gradient(105deg, rgba(15, 143, 148, 0.96), rgba(17, 24, 39, 0.96)),
        url("../../uploads/services/12/services-2.png") center/cover no-repeat;
    color: #fff;
}

.services-cta .section-label {
    color: #b7fbff;
}

.cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
}

.cta-panel h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.04;
    font-weight: 800;
}

.cta-panel p {
    margin-top: 1rem;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
}

.service-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 620ms ease, transform 620ms ease;
}

.service-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .services-command,
    .plus-panel,
    .cta-panel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .hero-service-rail {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .services-hero {
        min-height: auto;
        padding-top: 7rem;
    }

    .services-hero-actions {
        align-items: stretch;
    }

    .service-primary-btn,
    .service-secondary-btn {
        width: 100%;
    }

    .section-shell {
        padding: 2.5rem 1rem;
    }

    .metric-strip {
        grid-template-columns: 1fr;
    }

    .metric-strip div {
        border-right: 0;
        border-bottom: 1px solid #dbe8e8;
    }

    .metric-strip div:last-child {
        border-bottom: 0;
    }

    .process-grid,
    .plus-list {
        grid-template-columns: 1fr;
    }

    .plus-panel img {
        min-height: 280px;
    }
}
