.service-page {
    background: #0a0a0a;
    color: #fff;
}

.service-page .nav {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.service-hero {
    position: relative;
    height: 70vh;
    min-height: 450px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.service-hero-media {
    position: absolute;
    inset: 0;
}

.service-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: high-quality;
}

.service-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 48px;
    max-width: 600px;
}

.service-hero-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.service-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.service-hero-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1), left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-hero-title.active::after {
    width: 100%;
    left: 0;
}

.service-hero-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.service-detail {
    padding: 80px 0 100px;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 100px;
}

.service-detail-heading {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.service-detail-heading::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1), left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-detail-heading.active::after {
    width: 100%;
    left: 0;
}

.service-detail-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.service-detail-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.service-detail-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.service-detail-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.35);
}

.service-gallery-main {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.service-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    image-rendering: high-quality;
}

.service-gallery-main .service-gallery-img {
    aspect-ratio: 16 / 10;
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

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

.service-nav-cards {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 60px;
}

.service-nav-heading {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.6);
}

.service-nav-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.service-nav-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1;
    text-decoration: none;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-nav-card:hover {
    transform: scale(1.03);
}

.service-nav-card--active {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.service-nav-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: high-quality;
}

.service-nav-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
}

.service-nav-card-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    font-size: 0.72rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .service-hero {
        height: 40vh;
        min-height: 300px;
    }

    .service-hero-content {
        padding: 40px 24px;
    }

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

    .service-nav-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .service-nav-card-label {
        font-size: 0.65rem;
    }
}
