/* ==========================================================================
   Services Hub — Page Styles
   Template: template-services.php
   ========================================================================== */

/* ── Variables ── */
.ntono-services-hub {
    --sh-primary: var(--ntono-color-primary, #FAA916);
    --sh-danger: var(--ntono-color-danger, #E5383B);
    --sh-bg: #0B090A;
    --sh-surface: #161A1D;
}

/* ── Hero Section ── */
.ntono-sh-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    overflow: hidden;
    background: var(--sh-bg);
}

.ntono-sh-hero__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: rgba(229, 56, 59, 0.1);
    filter: blur(120px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.ntono-sh-hero__title {
    font-size: clamp(2.8rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 0 40px rgba(237, 28, 36, 0.4);
    position: relative;
    z-index: 1;
}

.ntono-sh-hero__title .ntono-cs-text-primary {
    color: var(--sh-primary);
}

.ntono-sh-hero__desc {
    max-width: 640px;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.ntono-sh-hero__scroll {
    margin-top: 3rem;
    opacity: 0.4;
    animation: sh-bounce 2s infinite;
    position: relative;
    z-index: 1;
}

.ntono-sh-hero__scroll .material-icons {
    font-size: 2.5rem;
    color: #fff;
}

@keyframes sh-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* ── Service Cards Section ── */
.ntono-sh-pillars {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.ntono-sh-card {
    position: relative;
    flex: 1;
    min-height: 80vh;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ntono-sh-card:last-child {
    border-right: none;
}

.ntono-sh-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ntono-sh-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(1);
    transition: all 0.7s ease;
}

.ntono-sh-card:hover .ntono-sh-card__img {
    filter: grayscale(0);
    opacity: 0.5;
    transform: scale(1.05);
}

.ntono-sh-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
}

.ntono-sh-card__content {
    position: relative;
    z-index: 1;
    padding: 3rem;
}

.ntono-sh-card__tag {
    color: var(--sh-primary);
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.ntono-sh-card__title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.ntono-sh-card__desc {
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
    margin-bottom: 2rem;
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.6;
}

.ntono-sh-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--sh-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: padding-left 0.3s ease;
}

.ntono-sh-card:hover .ntono-sh-card__link {
    padding-left: 1rem;
}

/* ── Sub-services List ── */
.ntono-sh-card__sub-services {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ntono-sh-card__sub-item a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.ntono-sh-card__sub-item a:hover {
    color: var(--sh-primary);
    background: rgba(250, 169, 22, 0.08);
    border-color: rgba(250, 169, 22, 0.15);
}

.ntono-sh-card__sub-item .material-symbols-rounded {
    font-size: 1rem;
    color: var(--sh-primary);
    opacity: 0.7;
}

/* ── CTA Section ── */
.ntono-sh-cta {
    padding: 8rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--sh-bg);
}

.ntono-sh-cta__line {
    width: 96px;
    height: 1px;
    background: rgba(250, 169, 22, 0.3);
    margin-bottom: 3rem;
}

.ntono-sh-cta__title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.ntono-sh-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--sh-primary);
    color: #000;
    padding: 1.25rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(250, 169, 22, 0.1);
    border: none;
    cursor: pointer;
}

.ntono-sh-cta__btn:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(250, 169, 22, 0.2);
}

.ntono-sh-cta__note {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-style: italic;
    font-weight: 300;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .ntono-sh-card__content {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .ntono-sh-pillars {
        flex-direction: column;
    }

    .ntono-sh-card {
        min-height: 60vh;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .ntono-sh-card:last-child {
        border-bottom: none;
    }

    .ntono-sh-hero {
        min-height: 50vh;
        padding-top: 6rem;
    }
}

@media (max-width: 480px) {
    .ntono-sh-card {
        min-height: 50vh;
    }

    .ntono-sh-card__content {
        padding: 2rem 1.5rem;
    }
}