/* ============================================ */
/* SERVICE DETAIL PAGE — COMPLETE STYLES       */
/* ============================================ */

/* ============================================ */
/* SECTION 01: IMMERSIVE HERO                   */
/* ============================================ */
.service-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--void-black);
    overflow: hidden;
    padding-top: var(--nav-height);
}

.service-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.service-hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(200, 255, 0, 0.04) 0%, transparent 70%);
}

.service-hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.service-hero-particle {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(200, 255, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(200, 255, 0, 0.015) 0%, transparent 50%);
}

.service-hero-container {
    position: relative;
    z-index: 1;
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.service-hero-meta {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 60px;
}

.service-hero-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(242, 239, 232, 0.85);
    padding: 8px 16px;
    border: 1px solid rgba(242, 239, 232, 0.04);
    border-radius: 20px;
}

.service-hero-number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--electric-lime);
}

.service-hero-content {
    max-width: 800px;
}

.service-hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--pure-white);
    margin-bottom: 32px;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    color: var(--electric-lime);
}

.service-hero-divider {
    width: 80px;
    height: 2px;
    background: var(--electric-lime);
    margin-bottom: 32px;
    opacity: 0.3;
}

.service-hero-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(242, 239, 232, 0.85);
    max-width: 560px;
    margin-bottom: 40px;
}

.service-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 18px 48px;
    font-size: 1rem;
}

.service-hero-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-indicator-line {
    width: 1px;
    height: 40px;
    background: var(--line-color);
    animation: indicatorBounce 2s ease-in-out infinite;
}

@keyframes indicatorBounce {
    0%, 100% { transform: scaleY(1); opacity: 0.2; }
    50% { transform: scaleY(0.5); opacity: 0.6; }
}

.hero-indicator-text {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: rgba(242, 239, 232, 0.72);
    text-transform: uppercase;
}

/* ============================================ */
/* SECTION 02: PHILOSOPHY                      */
/* ============================================ */
.service-philosophy {
    padding: var(--section-padding);
    background: var(--warm-white);
    color: var(--text-dark);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: start;
}

.philosophy-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
}

/* FIXED: Section number on light background — now black */
.service-philosophy .section-number {
    color: var(--black) !important;
    opacity: 0.3;
}

/* FIXED: Section label on light background — now black */
.service-philosophy .section-label {
    color: var(--black) !important;
    opacity: 0.2;
}

.philosophy-content {
    max-width: 700px;
}

/* FIXED: Philosophy title — now black */
.philosophy-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--black) !important;
    margin-bottom: 32px;
}

/* FIXED: Philosophy accent — now black */
.philosophy-accent {
    color: var(--black) !important;
    opacity: 0.8;
}

.philosophy-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.philosophy-paragraph {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(8, 8, 8, 0.6);
    max-width: 580px;
}

/* ============================================ */
/* SECTION 03: DELIVERABLES                     */
/* ============================================ */
.service-deliverables {
    padding: var(--section-padding);
    background: var(--void-black);
}

.deliverables-header {
    margin-bottom: 60px;
}

.deliverables-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--pure-white);
    margin-top: 8px;
}

.deliverables-accent {
    color: var(--electric-lime);
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--line-color);
}

.deliverable-item {
    background: var(--void-black);
    padding: 32px 24px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.deliverable-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(200, 255, 0, 0.03), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.deliverable-item:hover::before {
    opacity: 1;
}

.deliverable-item:hover {
    transform: scale(1.02);
    z-index: 2;
    background: var(--graphite);
}

.deliverable-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.deliverable-number {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: rgba(242, 239, 232, 0.72);
    transition: color 0.4s ease;
}

.deliverable-item:hover .deliverable-number {
    color: var(--electric-lime);
}

.deliverable-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pure-white);
    margin: 12px 0 8px;
    transition: color 0.4s ease;
}

.deliverable-item:hover .deliverable-name {
    color: var(--electric-lime);
}

.deliverable-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(242, 239, 232, 0.85);
    flex: 1;
    margin-bottom: 16px;
}

.deliverable-icon {
    font-size: 1.2rem;
    color: rgba(242, 239, 232, 0.85);
    transition: all 0.4s ease;
    align-self: flex-end;
}

.deliverable-item:hover .deliverable-icon {
    color: var(--electric-lime);
    transform: translateX(4px);
}

/* ============================================ */
/* SECTION 04: APPROACH                        */
/* ============================================ */
.service-approach {
    padding: var(--section-padding);
    background: var(--warm-white);
    color: var(--text-dark);
}

/* FIXED: Section number on light background — now black */
.service-approach .section-number {
    color: var(--black) !important;
    opacity: 0.3;
}

/* FIXED: Section label on light background — now black */
.service-approach .section-label {
    color: var(--black) !important;
    opacity: 0.2;
}

.approach-header {
    margin-bottom: 60px;
}

/* FIXED: Approach title — now black */
.approach-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--black) !important;
    margin-top: 8px;
}

/* FIXED: Approach accent — now black */
.approach-accent {
    color: var(--black) !important;
    opacity: 0.8;
}

.approach-timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.approach-stage {
    padding: 32px 24px;
    background: var(--pure-white);
    border: 1px solid var(--line-color-light);
    border-radius: 12px;
    transition: all 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    cursor: default;
}

.approach-stage:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 255, 0, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
}

.stage-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stage-number {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--electric-lime);
    opacity: 0.3;
}

/* FIXED: Stage name — now black */
.stage-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black) !important;
}

.stage-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(8, 8, 8, 0.4);
}

.stage-arrow,
.stage-icon {
    font-size: 1.2rem;
    color: var(--electric-lime);
    opacity: 0.2;
    margin-top: 8px;
}

/* ============================================ */
/* SECTION 05: FEATURED WORK                   */
/* ============================================ */
.service-featured {
    padding: var(--section-padding);
    background: var(--void-black);
}

.featured-header {
    margin-bottom: 60px;
}

.featured-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--pure-white);
    margin-top: 8px;
}

.featured-accent {
    color: var(--electric-lime);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.featured-card {
    display: block;
    text-decoration: none;
    background: var(--graphite);
    border: 1px solid var(--line-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.featured-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 255, 0, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.featured-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.featured-card:hover .featured-card-image img {
    transform: scale(1.05);
}

.featured-card-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.featured-card-tag {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--electric-lime);
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(200, 255, 0, 0.1);
}

.featured-card-info {
    padding: 20px 24px 24px;
}

.featured-card-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 4px;
}

.featured-card-desc {
    font-size: 0.85rem;
    color: rgba(242, 239, 232, 0.85);
    line-height: 1.5;
}

/* ============================================ */
/* SECTION 06: COMPARISON                      */
/* ============================================ */
.service-comparison {
    padding: var(--section-padding);
    background: var(--warm-white);
    color: var(--text-dark);
}

/* FIXED: Section number on light background — now black */
.service-comparison .section-number {
    color: var(--black) !important;
    opacity: 0.3;
}

/* FIXED: Section label on light background — now black */
.service-comparison .section-label {
    color: var(--black) !important;
    opacity: 0.2;
}

.comparison-header {
    margin-bottom: 60px;
}

/* FIXED: Comparison title — now black */
.comparison-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--black) !important;
    margin-top: 8px;
}

/* FIXED: Comparison accent — now black */
.comparison-accent {
    color: var(--black) !important;
    opacity: 0.8;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: stretch;
}

.comparison-column {
    padding: 40px;
    border-radius: 16px;
}

.comparison-typical {
    background: var(--pure-white);
    border: 1px solid var(--line-color-light);
}

.comparison-alto {
    background: var(--void-black);
    border: 1px solid var(--line-color);
}

.comparison-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 24px;
    color: rgba(8, 8, 8, 0.15);
}

.comparison-alto .comparison-label {
    color: rgba(242, 239, 232, 0.72);
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comparison-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.comparison-typical .comparison-text {
    color: rgba(8, 8, 8, 0.4);
}

.comparison-alto .comparison-text {
    color: rgba(242, 239, 232, 0.85);
}

.comparison-highlight {
    color: var(--pure-white) !important;
}

.comparison-icon {
    font-size: 0.8rem;
    flex-shrink: 0;
}

.comparison-typical .comparison-icon {
    color: rgba(8, 8, 8, 0.15);
}

.comparison-alto .comparison-icon {
    color: var(--electric-lime);
}

.comparison-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}

.divider-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(8, 8, 8, 0.2);
    background: var(--warm-white);
    padding: 8px 12px;
    border-radius: 20px;
}

/* ============================================ */
/* SECTION 07: TOOLKIT                         */
/* ============================================ */
.service-toolkit {
    padding: var(--section-padding);
    background: var(--void-black);
}

.toolkit-header {
    margin-bottom: 60px;
}

.toolkit-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--pure-white);
    margin-top: 8px;
}

.toolkit-accent {
    color: var(--electric-lime);
}

.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.toolkit-item {
    padding: 24px;
    background: var(--graphite);
    border: 1px solid var(--line-color);
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    cursor: default;
}

.toolkit-item:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 255, 0, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.toolkit-icon {
    color: rgba(242, 239, 232, 0.85);
    margin-bottom: 12px;
    display: inline-block;
    transition: color 0.4s ease;
}

.toolkit-item:hover .toolkit-icon {
    color: var(--electric-lime);
}

.toolkit-name {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(242, 239, 232, 0.85);
    display: block;
}

.toolkit-item:hover .toolkit-name {
    color: rgba(242, 239, 232, 0.85);
}

/* ============================================ */
/* SECTION 08: FAQ                             */
/* ============================================ */
.service-faq {
    padding: var(--section-padding);
    background: var(--warm-white);
    color: var(--text-dark);
}

/* FIXED: Section number on light background — now black */
.service-faq .section-number {
    color: var(--black) !important;
    opacity: 0.3;
}

/* FIXED: Section label on light background — now black */
.service-faq .section-label {
    color: var(--black) !important;
    opacity: 0.2;
}

.faq-header {
    margin-bottom: 60px;
}

/* FIXED: FAQ title — now black */
.faq-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--black) !important;
    margin-top: 8px;
}

/* FIXED: FAQ accent — now black */
.faq-accent {
    color: var(--black) !important;
    opacity: 0.8;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--line-color-light);
}

.faq-item:last-child {
    border-bottom: none;
}

/* FIXED: FAQ question — now black */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--black) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.faq-question:hover {
    color: var(--electric-lime);
}

.faq-icon {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--electric-lime);
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
                padding 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(8, 8, 8, 0.5);
}

/* ============================================ */
/* SECTION 09: FINAL CTA                       */
/* ============================================ */
.service-final-cta {
    position: relative;
    padding: 120px 0;
    background: var(--void-black);
    overflow: hidden;
}

.final-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.final-cta-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(200, 255, 0, 0.04) 0%, transparent 70%);
}

.final-cta-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.final-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--electric-lime);
    display: block;
    margin-bottom: 16px;
}

.final-cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--pure-white);
    line-height: 1.05;
    margin-bottom: 16px;
}

.final-cta-accent {
    color: var(--electric-lime);
}

.final-cta-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(242, 239, 232, 0.85);
    margin-bottom: 32px;
}

/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */

@media (max-width: 1024px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .deliverables-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .comparison-divider {
        padding: 8px 0;
    }

    .divider-text {
        background: var(--warm-white);
        padding: 4px 16px;
    }
}

@media (max-width: 768px) {
    .deliverables-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .deliverable-item {
        min-height: 140px;
        padding: 24px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .approach-timeline {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .approach-stage {
        padding: 24px;
    }

    .toolkit-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .service-hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .service-hero-desc {
        font-size: 1rem;
    }

    .service-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .final-cta-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .final-cta-text {
        font-size: 0.95rem;
    }

    .service-hero-meta {
        margin-bottom: 40px;
    }

    .comparison-column {
        padding: 24px;
    }

    .service-final-cta {
        padding: 80px 0;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
    }

    .philosophy-paragraph {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .service-hero-title {
        font-size: 2rem;
    }

    .deliverable-name {
        font-size: 1rem;
    }

    .deliverable-desc {
        font-size: 0.8rem;
    }

    .toolkit-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .toolkit-item {
        padding: 16px;
    }

    .toolkit-name {
        font-size: 0.65rem;
    }

    .comparison-item {
        font-size: 0.85rem;
    }

    .faq-question {
        font-size: 0.95rem;
    }
}
/* Public project showcases: one or two approved projects. */
.featured-grid--public { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.featured-grid--public > :only-child { grid-column: 1 / -1; width: 100%; max-width: 640px; justify-self: center; }
@media (max-width: 768px) {
    .featured-grid--public { grid-template-columns: minmax(0, 1fr); }
}
/* Decorative prompt yields to content on small phones. */
@media (max-width: 480px) {
    .service-hero-indicator { display: none; }
}
