/* =========================================
   service.css — page-specific styles
   Extends: assets/css/styles.css
   All root variables from styles.css are
   available here — do NOT redefine :root.
   ========================================= */

/* ── page-hero and breadcrumb shared via about.css ────────────
   If about.css is NOT loaded on this page, redefine here.
   Since header.php loads only the $pageCSS you pass in,
   we include the full shared components below.
   ──────────────────────────────────────────────────────────── */

.page-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5rem;
    overflow: hidden;
    background: var(--navy);
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .22;
    animation: slowZoom 22s ease-in-out infinite alternate;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
            rgba(10, 22, 40, .97) 0%,
            rgba(10, 22, 40, .70) 60%,
            rgba(215, 38, 56, .12) 100%);
}

.page-hero__content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
}

.breadcrumb-custom {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.breadcrumb-custom li {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}

.breadcrumb-custom a {
    color: rgba(255, 255, 255, .55);
    transition: color var(--transition);
}

.breadcrumb-custom a:hover {
    color: var(--red);
}

.breadcrumb-custom i {
    font-size: .6rem;
    color: rgba(255, 255, 255, .3);
}

.breadcrumb-custom [aria-current="page"] {
    color: var(--gold);
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5rem);
    letter-spacing: .04em;
    line-height: 1.05;
    color: var(--white);
    animation: fadeInUp .8s ease both;
}

.page-hero__title span {
    color: var(--red);
}

.page-hero__sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .65);
    max-width: 580px;
    line-height: 1.7;
    margin-top: 1.2rem;
    animation: fadeInUp .9s .15s ease both;
}

/* ── Quick-jump navigation ── */
.service-jump-nav {
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    position: sticky;
    top: 0;
    /* sits below fixed #mainNav via JS offset */
    z-index: 900;
    padding: .75rem 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--red) transparent;
}

.service-jump-nav::-webkit-scrollbar {
    height: 3px;
}

.service-jump-nav::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 2px;
}

.sjn-inner {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.sjn-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    padding: .45rem .9rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .08);
    transition: all var(--transition);
    flex-shrink: 0;
}

.sjn-link i {
    font-size: .8rem;
}

.sjn-link:hover {
    background: rgba(215, 38, 56, .15);
    border-color: var(--red);
    color: var(--white);
}

.sjn-link.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* ── Service sections — alternating light / dark ── */
.service-section {
    padding: 90px 0;
    position: relative;
}

.service-section--light {
    background: var(--white);
}

.service-section--dark {
    background: var(--navy);
}

.service-section--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .015) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* ── Service image wrapper ── */
.ss-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.ss-image-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform .7s ease;
}

.ss-image-wrap:hover img {
    transform: scale(1.04);
}

.ss-num {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    font-family: var(--font-display);
    font-size: 4rem;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .18);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* ── Service content ── */
.ss-content {
    padding: 1rem 0;
}

.ss-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(215, 38, 56, .1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    transition: all var(--transition);
}

.service-section--dark .ss-icon-wrap {
    background: rgba(215, 38, 56, .2);
}

.ss-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: .04em;
    line-height: 1.1;
    color: var(--navy);
    margin: .5rem 0 .4rem;
}

.ss-title--light {
    color: var(--white);
}

.ss-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--red);
    margin-bottom: 1rem;
}

.ss-tagline--light {
    color: var(--gold);
}

.ss-desc {
    font-size: .97rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.ss-desc--light {
    color: rgba(255, 255, 255, .65);
}

/* Features checklist */
.ss-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
}

.ss-features li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--navy);
}

.service-section--dark .ss-features li {
    color: rgba(255, 255, 255, .8);
}

.ss-features i {
    color: var(--red);
    font-size: .85rem;
    flex-shrink: 0;
}

/* Action buttons */
.ss-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ss-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #25D366;
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .04em;
    padding: .82rem 1.6rem;
    border-radius: 8px;
    text-transform: uppercase;
    transition: all var(--transition);
    box-shadow: 0 6px 24px rgba(37, 211, 102, .30);
}

.ss-whatsapp:hover {
    background: #1ea952;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, .40);
}

/* ── CTA Band (same as about.css) ── */
.about-cta-band {
    background: var(--red);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.about-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 30px,
            rgba(0, 0, 0, .04) 30px, rgba(0, 0, 0, .04) 60px);
}

.cta-band-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    letter-spacing: .04em;
    color: var(--white);
    position: relative;
}

.cta-band-sub {
    font-size: .97rem;
    color: rgba(255, 255, 255, .75);
    margin-top: .5rem;
    position: relative;
}

/* ── Active jump-nav highlight via JS ── */

/* ── Responsive ── */
@media (max-width: 991px) {
    .service-jump-nav {
        top: 65px;
    }

    .ss-image-wrap img {
        height: 320px;
    }
}

@media (max-width: 767px) {
    .service-section {
        padding: 60px 0;
    }

    .ss-image-wrap img {
        height: 260px;
    }

    .ss-features {
        grid-template-columns: 1fr;
    }

    .page-hero {
        min-height: auto;
        padding-bottom: 3rem;
    }

    .page-hero__title {
        font-size: 2.6rem;
    }
}


