/* ═══════════════════════════════════════════
   SERVICE PAGE — Premium Layout
   ═══════════════════════════════════════════ */

/* ── SERVICE HERO ── */
.service-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

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

.service-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.7) 40%, rgba(10, 10, 10, 0.35) 100%),
        linear-gradient(135deg, rgba(10, 10, 10, 0.6) 0%, transparent 60%);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
    padding-top: 140px;
    max-width: 700px;
}

.service-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.service-hero-breadcrumb a {
    color: var(--gray-300);
    transition: color var(--duration-fast) var(--ease-out);
}

.service-hero-breadcrumb a:hover {
    color: var(--accent);
}

.service-hero-breadcrumb span {
    color: var(--accent);
}

.service-hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 16px;
}

.service-hero-subtitle {
    font-size: 20px;
    color: var(--gray-300);
    margin-bottom: 32px;
    line-height: 1.5;
}

.service-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Stats */
.service-hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-hero-stat-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.service-hero-stat-label {
    display: block;
    font-size: 12px;
    color: var(--gray-200);
    margin-top: 4px;
}

.service-hero-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
}

/* Scroll indicator */
.service-hero-scroll {
    position: absolute;
    bottom: 40px;
    right: clamp(20px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.service-hero-scroll span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    writing-mode: vertical-rl;
}

.service-hero-scroll-line {
    width: 1px;
    height: 60px;
    background: var(--gray-700);
    position: relative;
    overflow: hidden;
}

.service-hero-scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 40%;
    background: var(--accent);
    animation: serviceScrollLine 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes serviceScrollLine {
    0% { top: -40%; }
    100% { top: 100%; }
}


/* ── SERVICE INTRO ── */
.service-intro {
    padding: var(--section-py) 0;
    background: var(--black);
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

.service-intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.service-intro-text:last-child {
    margin-bottom: 0;
}

/* Benefits list */
.service-benefits {
    position: sticky;
    top: 100px;
    padding: 40px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, rgba(22, 22, 22, 0.9) 40%, var(--black-card) 100%);
    border: 1px solid rgba(201, 168, 76, 0.12);
    box-shadow:
        0 0 40px rgba(201, 168, 76, 0.04),
        inset 0 1px 0 rgba(201, 168, 76, 0.08);
}

.service-benefits-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.service-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-300);
}

.service-benefits-list li svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}


/* ── GALLERY ── */
.service-gallery {
    padding: var(--section-py) 0;
    background: var(--black-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 12px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0);
    transition: background var(--duration-fast) var(--ease-out);
    pointer-events: none;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover::after {
    background: rgba(10, 10, 10, 0.2);
}

/* First image: feature size */
.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

/* Last image: wide */
.gallery-item:nth-child(12) {
    grid-column: span 2;
}


/* ── LIGHTBOX ── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 10, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration) var(--ease-out);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    opacity: 0;
    transform: scale(0.95);
    transition: all var(--duration) var(--ease-out);
}

.lightbox.active .lightbox-img {
    opacity: 1;
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    border: none;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    border: none;
    z-index: 10;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: var(--gray-300);
    font-weight: 500;
}


/* ── SERVICE DETAILS (image + text rows) ── */
.service-details {
    padding: var(--section-py) 0;
    background: var(--black);
}

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

.detail-row:last-of-type {
    margin-bottom: 80px;
}

.detail-row--reverse {
    grid-template-columns: 1.2fr 1fr;
    direction: rtl;
}

.detail-row--reverse > * {
    direction: ltr;
}

.detail-row-img {
    position: relative;
    aspect-ratio: 3/4;
    margin: 16px 0 16px 16px;
}

.detail-row-img::before {
    content: '';
    position: absolute;
    top: 16px;
    left: -16px;
    right: 16px;
    bottom: -16px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    opacity: 0.4;
    transition: opacity var(--duration) var(--ease-out);
    pointer-events: none;
}

.detail-row:hover .detail-row-img::before {
    opacity: 0.7;
}

.detail-row-img img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    z-index: 1;
    transition: transform 0.8s var(--ease-out);
}

.detail-row:hover .detail-row-img img {
    transform: scale(1.04);
}

/* Reverse row: offset goes to the right */
.detail-row--reverse .detail-row-img {
    margin: 16px 16px 16px 0;
}

.detail-row--reverse .detail-row-img::before {
    left: 16px;
    right: -16px;
}

/* Highlights (numbers) */
.detail-row-highlights {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--black-border);
}

.detail-highlight {
    display: flex;
    flex-direction: column;
}

.detail-highlight-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.detail-highlight-label {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 2px;
}

.service-details-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.service-details-text:last-of-type {
    margin-bottom: 0;
}

.service-details-cta {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* Brands Card */
.service-brands-card {
    text-align: center;
    padding: 48px 40px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.service-brands-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.service-brands-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 24px;
}

.service-brands-card .section-tag {
    justify-content: center;
}

.service-brands-card .section-tag::before {
    display: none;
}

.service-brands-title {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.service-brands-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 60px;
}


/* ── SERVICE CTA ── */
.service-cta {
    position: relative;
    padding: var(--section-py) 0;
    overflow: hidden;
    background: var(--black);
}

.service-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.service-cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 60px 40px;
    background: rgba(22, 22, 22, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.service-cta-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.service-cta-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.service-cta-text {
    font-size: 16px;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 32px;
}

.service-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}


/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .service-intro-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .service-benefits {
        position: static;
    }

    .detail-row,
    .detail-row--reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    .detail-row-img {
        aspect-ratio: 16/10;
        max-height: 400px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 220px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item:nth-child(12) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {

    /* ── Service Hero ── */
    .service-hero {
        min-height: 60vh;
    }

    .service-hero-content {
        padding-top: 110px;
        padding-bottom: 36px;
    }

    .service-hero-title {
        font-size: clamp(40px, 10vw, 64px);
    }

    .service-hero-subtitle {
        font-size: 17px;
    }

    .service-hero-actions {
        flex-direction: column;
    }

    .service-hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .service-hero-stats {
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;
        margin-top: 32px;
        padding-top: 24px;
    }

    .service-hero-stat-number {
        font-size: 22px;
    }

    .service-hero-stat-divider {
        width: 1px;
        height: 36px;
    }

    .service-hero-scroll {
        display: none;
    }

    .service-hero-breadcrumb {
        font-size: 12px;
    }

    /* ── Intro + Benefits ── */
    .service-benefits {
        padding: 28px;
    }

    .service-benefits-title {
        font-size: 18px;
    }

    .service-benefits-list li {
        font-size: 13px;
    }

    /* ── Gallery ── */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item:nth-child(12) {
        grid-column: span 2;
    }

    /* ── Lightbox ── */
    .lightbox-prev { left: 12px; }
    .lightbox-next { right: 12px; }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }

    .lightbox-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    /* ── Detail rows ── */
    .detail-row-img {
        margin: 12px 0 12px 12px;
    }

    .detail-row-img::before {
        top: 12px;
        left: -12px;
        right: 12px;
        bottom: -12px;
    }

    .detail-row--reverse .detail-row-img {
        margin: 12px 12px 12px 0;
    }

    .detail-row--reverse .detail-row-img::before {
        left: 12px;
        right: -12px;
    }

    .detail-row {
        margin-bottom: 60px;
    }

    .detail-row-highlights {
        gap: 20px;
        flex-wrap: wrap;
    }

    .detail-highlight-number {
        font-size: 22px;
    }

    /* ── Brands card ── */
    .service-brands-card {
        padding: 32px 24px;
    }

    .service-brands-title {
        font-size: 18px;
    }

    .service-brands-badges {
        flex-direction: column;
        align-items: center;
    }

    /* ── CTA ── */
    .service-cta-inner {
        padding: 40px 24px;
    }

    .service-cta-title {
        font-size: clamp(24px, 5vw, 32px);
    }

    .service-details-cta {
        flex-direction: column;
    }

    .service-details-cta .btn {
        width: 100%;
        text-align: center;
    }
}
