/* ============================================================
   RESTORE IT — service-page.css  (v2 — fixed)
   Place at: assets/css/service-page.css
   ============================================================ */

/* ─── SERVICE HERO — 100vh ─── */
.sp-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* content sits at bottom */
    overflow: hidden;
}

.sp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sp-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenburns 18s ease-in-out infinite alternate;
}

@keyframes kenburns {
    0% {
        transform: scale(1) translateX(0);
    }

    100% {
        transform: scale(1.06) translateX(-16px);
    }
}

.sp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
            rgba(5, 8, 16, 0.97) 0%,
            rgba(0, 26, 87, 0.7) 45%,
            rgba(5, 8, 16, 0.5) 100%);
    z-index: 1;
}

.sp-hero-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
        linear-gradient(rgba(26, 77, 189, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 77, 189, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(135deg, transparent 20%, rgba(0, 0, 0, 0.3) 60%, transparent 90%);
}

/* ─── HERO INNER — holds breadcrumb + content ─── */
.sp-hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 80px;
    /* bottom padding pushes away from edge */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ─── BREADCRUMB — inside flow, above badge ─── */
.sp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sp-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: color 0.25s;
}

.sp-breadcrumb a:hover {
    color: var(--gold);
}

.sp-breadcrumb i {
    color: white;
    font-size: 9px;
}

.sp-breadcrumb span {
    color: var(--gold);
}

/* ─── HERO CONTENT ─── */
.sp-hero-content {
    display: flex;
    flex-direction: column;
}

.sp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(26, 77, 189, 0.18);
    border: 1px solid rgba(26, 77, 189, 0.45);
    padding: 8px 20px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
    width: fit-content;
}

.sp-hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

.sp-accent {
    display: block;
    background: linear-gradient(90deg, var(--gold) 0%, #ffcc55 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sp-hero-sub {
    font-size: 1.05rem;
    color: white;
    line-height: 1.8;
    max-width: 700px;
    margin-bottom: 32px;
}

.sp-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ─── INTRO SECTION ─── */
.sp-intro-section {
    padding: 90px 5%;
    background: var(--dark);
}

.sp-intro-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 70px;
    align-items: start;
}

.sp-intro-text .section-title {
    color: #fff;
}

.sp-intro-text p {
    color: white;
    line-height: 1.85;
    font-size: 1rem;
    margin-bottom: 32px;
}

.sp-cta-inline {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Sidebar card */
.sp-intro-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--blue);
    padding: 32px 28px;
    position: sticky;
    top: 100px;
}

.sp-card-icon-wrap {
    width: 64px;
    height: 64px;
    border: 1px solid transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}

.sp-intro-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sp-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
}

.sp-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: white;
    font-size: 0.88rem;
    line-height: 1.5;
}

.sp-checklist li i {
    color: var(--gold);
    font-size: 11px;
    margin-top: 3px;
    flex-shrink: 0;
}

.sp-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    padding: 14px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.3s;
}

.sp-card-cta:hover {
    background: var(--gold);
    color: var(--dark);
}

/* ─── PROCESS ─── */
.sp-process-section {
    padding: 90px 5%;
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sp-process-inner {
    max-width: 1050px;
    margin: 0 auto;
}

.sp-process-head {
    text-align: center;
    margin-bottom: 55px;
}

.sp-process-head .section-title {
    color: #fff;
}

.sp-process-sub {
    color: white;
    font-size: 0.95rem;
    margin-top: 14px;
}

.sp-steps {
    display: flex;
    flex-direction: column;
    position: relative;
}

.sp-steps::before {
    content: '';
    position: absolute;
    left: 52px;
    top: 26px;
    bottom: 26px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(26, 77, 189, 0.35) 15%, rgba(26, 77, 189, 0.35) 85%, transparent);
}

.sp-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 26px 20px 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
    transition: background 0.3s;
    border-radius: 2px;
}

.sp-step:last-child {
    border-bottom: none;
}

.sp-step:hover {
    background: rgba(26, 77, 189, 0.05);
    padding-left: 12px;
}

.sp-step-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.12);
    width: 26px;
    flex-shrink: 0;
    padding-top: 16px;
    text-align: right;
}

.sp-step-icon {
    width: 50px;
    height: 50px;
    background: rgba(26, 77, 189, 0.12);
    border: 1px solid rgba(26, 77, 189, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--blue);
    flex-shrink: 0;
    transition: all 0.3s;
}

.sp-step:hover .sp-step-icon {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.sp-step-body {
    flex: 1;
    padding-top: 8px;
}

.sp-step-body h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 6px;
    transition: color 0.3s;
}

.sp-step:hover .sp-step-body h3 {
    color: var(--gold);
}

.sp-step-body p {
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.9rem;
    line-height: 1.75;
}

/* ─── GALLERY SECTION ─── */
.sp-gallery-section {
    padding: 90px 5%;
    background: var(--darker);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.sp-gallery-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.sp-gallery-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

.sp-gallery-head .section-title {
    color: #fff;
    margin-bottom: 0;
}

.sp-gallery-all {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
    white-space: nowrap;
}

.sp-gallery-all:hover {
    gap: 14px;
}

/* Grid: 1 big left (span 2 rows) + 4 right */
.sp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 260px 260px;
    gap: 10px;
}

.sp-gi {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.sp-gi-featured {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    /* tall left cell */
}

.sp-gi img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.sp-gi:hover img {
    transform: scale(1.06);
}

.sp-gi-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 16, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: #fff;
    font-size: 22px;
}

.sp-gi:hover .sp-gi-overlay {
    opacity: 1;
}

/* ─── CTA BANNER ─── */
.sp-cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, rgba(26, 77, 189, 0.2) 50%, var(--darker) 100%);
    border-top: 1px solid rgba(26, 77, 189, 0.25);
    border-bottom: 1px solid rgba(26, 77, 189, 0.25);
    padding: 50px 5%;
}

.sp-cta-banner-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.sp-cta-banner-inner h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 6px;
}

.sp-cta-banner-inner p {
    color: white;
    font-size: 0.9rem;
}

.sp-cta-banner-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ─── FAQ — custom classes, no conflict with index.html ─── */
.sp-faq-section {
    padding: 90px 5%;
    background: var(--dark);
}

.sp-faq-inner {
    max-width: 820px;
    margin: 0 auto;
}

.sp-faq-head {
    margin-bottom: 38px;
}

.sp-faq-head .section-title {
    color: #fff;
}

.sp-faq-list {
    display: flex;
    flex-direction: column;
}

.sp-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sp-faq-trigger {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: left;
    gap: 20px;
    transition: color 0.25s;
}

.sp-faq-trigger:hover {
    color: var(--gold);
}

.sp-faq-trigger i {
    color: var(--blue);
    font-size: 12px;
    flex-shrink: 0;
    transition: transform 0.35s, color 0.25s;
}

.sp-faq-item.open .sp-faq-trigger {
    color: #fff;
}

.sp-faq-item.open .sp-faq-trigger i {
    transform: rotate(180deg);
    color: var(--gold);
}

.sp-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1), padding-bottom 0.3s;
    padding-bottom: 0;
}

.sp-faq-body p {
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    font-size: 0.92rem;
    padding-bottom: 4px;
}

/* ─── RELATED SERVICES ─── */
.sp-related-section {
    padding: 90px 5%;
    background: var(--darker);
}

.sp-related-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.sp-related-inner .section-title {
    color: #fff;
}

.sp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 36px;
}

.sp-related-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.sp-related-card:hover {
    background: rgba(26, 77, 189, 0.1);
    border-color: rgba(26, 77, 189, 0.4);
    transform: translateY(-3px);
}

.sp-rc-icon {
    width: 42px;
    height: 42px;
    background: rgba(26, 77, 189, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 15px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.sp-related-card:hover .sp-rc-icon {
    background: var(--blue);
    color: #fff;
}

.sp-rc-name {
    flex: 1;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.sp-related-card:hover .sp-rc-name {
    color: #fff;
}

.sp-rc-arr {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    transition: all 0.3s;
}

.sp-related-card:hover .sp-rc-arr {
    color: var(--gold);
    transform: translateX(4px);
}

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

    .sp-intro-card {
        position: static;
        max-width: 100%;
    }

    .sp-related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .sp-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 220px 220px;
    }

    .sp-gi-featured {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
}

@media (max-width: 768px) {
    .sp-hero {
        height: 100svh;
    }

    /* safe area on mobile */
    .sp-hero-inner {
        padding-bottom: 56px;
    }

    .sp-hero-title {
        font-size: clamp(2.6rem, 10vw, 4rem);
    }

    .sp-hero-actions {
        flex-direction: column;
        max-width: 280px;
    }

    .sp-steps::before {
        display: none;
    }

    .sp-step-num {
        display: none;
    }

    .sp-cta-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .sp-related-grid {
        grid-template-columns: 1fr;
    }

    .sp-gallery-grid {
        grid-template-rows: 200px 200px 200px;
    }
}

@media (max-width: 540px) {

    .sp-hero {
        height: 125vh;
    }

    .sp-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .sp-gi {
        height: 220px;
    }

    .sp-gi-featured {
        grid-column: auto;
        grid-row: auto;
        height: 260px;
    }

    .sp-cta-inline {
        flex-direction: column;
    }

    .sp-cta-banner-btns {
        flex-direction: column;
        width: 100%;
    }

    .sp-cta-banner-btns a {
        text-align: center;
        justify-content: center;
    }
}