/* ==========================================================================
   New Skin Laser Studio — Service Page Blocks  v1.1
   Design tokens inherited from main.css :root
   GRO-348: Treatment Process, Why Choose Us, Pricing Table, Service Detail
   layout/style corrections applied.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Service-page token overrides / extensions
   -------------------------------------------------------------------------- */
:root {
    --sp-bg-dark:       #0f0f11;
    --sp-bg-card:       #12181f;
    --sp-accent-cyan:   var(--cyan, #64d2f4);
    --sp-accent-gold:   #c18b18;
    --sp-text:          var(--text, #ffffff);
    --sp-text-muted:    #949ea1;
    --sp-text-body:     var(--text-body, #d0d0d0);
    --sp-border:        rgba(255,255,255,0.08);
    --sp-section-py:    clamp(60px, 8vw, 100px);
    --sp-section-px:    clamp(20px, 5vw, 80px);
    --sp-col-gap:       30px;
    --sp-card-gap:      20px;
    --sp-radius:        0px;
    --sp-ticker-speed:  30s;
    --sp-arrow-dur:     1.5s;
}

/* ==========================================================================
   1. SERVICE HERO
   ========================================================================== */
.nsl-sp-hero {
    position: relative;
    width: 100%;
    min-height: 80svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #000;
}

.nsl-sp-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
}

.nsl-sp-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.55) 60%,
        rgba(0,0,0,0.80) 100%
    );
    z-index: 1;
}

.nsl-sp-hero__inner {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding: var(--sp-section-px);
    padding-bottom: 60px;
}

.nsl-sp-hero__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.nsl-sp-hero__h1 {
    font-family: var(--font-display, 'Poppins', sans-serif);
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--sp-text);
}

.nsl-sp-hero__accent {
    color: var(--sp-accent-cyan);
}

.nsl-sp-hero__intro {
    font-family: var(--font-body, 'Darker Grotesque', sans-serif);
    font-size: clamp(15px, 1.6vw, 20px);
    color: var(--sp-text-body);
    max-width: 560px;
    line-height: 1.6;
}

.nsl-sp-hero__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: nsl-sp-arrow-bounce var(--sp-arrow-dur) ease-in-out infinite;
    transition: opacity 0.2s;
}
.nsl-sp-hero__arrow:hover { opacity: 0.7; }

@keyframes nsl-sp-arrow-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
}


/* Slideshow gallery — nsl-sp-hero
   Stacked slides, CSS fade via JS .active toggle.
   ------------------------------------------------------- */
.nsl-sp-hero__slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.nsl-sp-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
}

.nsl-sp-hero__slide.is-active {
    opacity: 1;
    z-index: 1;
}

.nsl-sp-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
/* Ticker — horizontal, 0deg */
.nsl-sp-hero__ticker-wrap {
    position: relative;
    z-index: 3;
    width: 100%;
    overflow: hidden;
    background: rgba(0,0,0,0.55);
    border-top: 1px solid var(--sp-border);
    padding: 12px 0;
}

.nsl-sp-ticker__track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: nsl-sp-ticker-scroll var(--sp-ticker-speed) linear infinite;
    will-change: transform;
}

.nsl-sp-ticker__item {
    font-family: var(--font-eyebrow, 'Barlow', sans-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sp-text);
    padding: 0 20px;
}

.nsl-sp-ticker__dot {
    color: var(--sp-accent-cyan);
    font-size: 6px;
    line-height: 1;
    flex-shrink: 0;
}

@keyframes nsl-sp-ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   2. SERVICE DETAIL
   GRO-348: Gallery updated to 3-column visual stack (D-shaped | pair | circular).
   ========================================================================== */
.nsl-sp-detail {
    background: var(--sp-bg-dark);
}

.nsl-sp-detail__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-col-gap);
    align-items: start;
}

/* 3-column gallery grid */
.nsl-sp-detail__gallery {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 0;
    align-items: center;
}

.nsl-sp-detail__gallery-col {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Column 1: D-shaped image */
.nsl-sp-detail__gallery-col--main {
    z-index: 2;
    transform: translateX(20%);
    height: 100%;
}

.nsl-sp-detail__img--d-shaped {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 50% 50% 0;
    border: 10px solid var(--sp-bg-dark);
    box-sizing: border-box;
}

/* Column 2: stacked pair — sits on top of overlapping side cols */
.nsl-sp-detail__gallery-col--stack {
    z-index: 1;
}

.nsl-sp-detail__img--stack {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 4px;
}

/* Column 3: circular badge */
.nsl-sp-detail__gallery-col--badge {
    z-index: 2;
    transform: translateX(-20%);
}

.nsl-sp-detail__img--circular {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 10px solid var(--sp-bg-dark);
    box-sizing: border-box;
}

.nsl-sp-detail__img--placeholder {
    width: 100%;
    background: var(--sp-bg-card);
    border-radius: var(--sp-radius);
}

.nsl-sp-detail__img--d-shaped.nsl-sp-detail__img--placeholder {
    aspect-ratio: 3/4;
    border-radius: 0 50% 50% 0;
}

.nsl-sp-detail__img--stack.nsl-sp-detail__img--placeholder {
    aspect-ratio: 4/3;
}

.nsl-sp-detail__img--circular.nsl-sp-detail__img--placeholder {
    aspect-ratio: 1/1;
    border-radius: 50%;
}

.nsl-sp-detail__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.nsl-sp-detail__h2 {
    margin-bottom: 0;
}

.nsl-sp-detail__body {
    font-family: var(--font-body, 'Darker Grotesque', sans-serif);
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--sp-text-body);
    line-height: 1.7;
}
.nsl-sp-detail__body p { margin-bottom: 1em; }
.nsl-sp-detail__body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   3. TREATMENT PROCESS
   GRO-348: Inner/header align-items:center; header text-align:center;
   Card updated to Figma spec; number becomes a blue badge pill.
   ========================================================================== */
.nsl-sp-process {
    background: #000;
}

.nsl-sp-process__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.nsl-sp-process__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 640px;
    text-align: center;
}

.nsl-sp-process__header .ns-section-heading {
    text-align: center;
}

.nsl-sp-process__intro {
    font-family: var(--font-body, 'Darker Grotesque', sans-serif);
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--sp-text-body);
    line-height: 1.65;
    text-align: center;
}

.nsl-sp-process__cards {
    /* Swiper wrapper controls layout */
    height: auto;
}

/* GRO-348: Card updated to Figma spec */
.nsl-sp-process__card {
    background: var(--sp-bg-card);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 30px 25px;
    gap: 20px;
    border: 1px solid #3B3535;
    border-radius: 8px;
}

/* GRO-348: Number becomes a blue badge pill */
.nsl-sp-process__num {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px 12px;
    gap: 10px;
    width: 50px;
    height: 50px;
    background: #0762B5;
    border-radius: 5px;
    font-family: var(--font-display, 'Poppins', sans-serif);
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    flex-shrink: 0;
}

/* GRO-348: Card H3 semibold, centered */
.nsl-sp-process__card-title {
    font-family: var(--font-display, 'Poppins', sans-serif);
    font-size: clamp(15px, 1.2vw, 20px);
    font-weight: 600;
    text-align: center;
    color: var(--sp-text);
    line-height: 1.2;
}

.nsl-sp-process__card-body {
    font-family: var(--font-body, 'Darker Grotesque', sans-serif);
    font-size: clamp(16px, 1.4vw, 18px);
    color: var(--sp-text-body);
    line-height: 1.5;
    text-align: center;
}

/* ==========================================================================
   4. WHY CHOOSE US
   GRO-348: Inner/header align-items:center; header text-align:center;
   Icons: no background, full 48x48; separator line between rows;
   Row title: semibold, centered.
   ========================================================================== */
.nsl-sp-wcu {
    background: var(--sp-bg-dark);
}

.nsl-sp-wcu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.nsl-sp-wcu__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 640px;
    text-align: center;
}

.nsl-sp-wcu__header .ns-section-heading {
    text-align: center;
}

.nsl-sp-wcu__intro {
    font-family: var(--font-body, 'Darker Grotesque', sans-serif);
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--sp-text-body);
    line-height: 1.65;
    text-align: center;
}

.nsl-sp-wcu__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-col-gap);
    align-items: stretch;
    width: 100%;
}

.nsl-sp-wcu__left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nsl-sp-wcu__row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
}

/* GRO-348: Separator line between cards */
.nsl-sp-wcu__separator {
    width: 100%;
    max-width: 517px;
    height: 1px;
    background: #3B3535;
    flex-shrink: 0;
}

/* GRO-348: Icon — no background, full 48x48 box */
.nsl-sp-wcu__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

.nsl-sp-wcu__icon svg {
    width: 48px;
    height: 48px;
}

.nsl-sp-wcu__row-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

/* GRO-348: Row title semibold, centered */
.nsl-sp-wcu__row-title {
    font-family: var(--font-display, 'Poppins', sans-serif);
    font-size: clamp(15px, 1.2vw, 20px);
    font-weight: 600;
    text-align: center;
    color: var(--sp-text);
    line-height: 1.2;
}

.nsl-sp-wcu__row-body {
    font-family: var(--font-body, 'Darker Grotesque', sans-serif);
    font-size: clamp(16px, 1.4vw, 18px);
    color: var(--sp-text-body);
    line-height: 1.5;
}

.nsl-sp-wcu__right {
    display: flex;
    gap: 12px;
    align-items: stretch;
    height: 100%;
}

.nsl-sp-wcu__img {
    flex: 1 1 0;
    width: 50%;
    min-width: 0;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: var(--sp-radius);
}

.nsl-sp-wcu__img--placeholder {
    background: var(--sp-bg-card);
    border: 1px solid var(--sp-border);
}

/* ==========================================================================
   5. PRICING TABLE
   GRO-348: Row layout updated to Figma spec; label Poppins uppercase 16px;
   price Poppins medium 18px white.
   ========================================================================== */
.nsl-sp-pt {
    background: #000;
}

.nsl-sp-pt__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.nsl-sp-pt__heading {
    text-align: center;
}

.nsl-sp-pt__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-col-gap);
}

.nsl-sp-pt__col {
    display: flex;
    flex-direction: column;
}

/* GRO-348: Row updated to Figma spec */
.nsl-sp-pt__row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    gap: 16px;
    border: 1px solid rgba(33, 34, 39, 0.54);
}

/* GRO-348: Label — Poppins regular 16px uppercase */
.nsl-sp-pt__label {
    font-family: var(--font-display, 'Poppins', sans-serif);
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--sp-text-body);
    line-height: 1.4;
}

/* GRO-348: Price — Poppins medium 18px white */
.nsl-sp-pt__price {
    font-family: var(--font-display, 'Poppins', sans-serif);
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ==========================================================================
   CTA BUTTON (shared across service blocks)
   ========================================================================== */
.nsl-sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sp-accent-cyan);
    color: #000 !important;
    font-family: var(--font-display, 'Poppins', sans-serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--sp-radius);
    transition: opacity 0.2s;
    align-self: flex-start;
}
.nsl-sp-btn:hover { opacity: 0.85; color: #000 !important; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
    .nsl-sp-detail__inner,
    .nsl-sp-wcu__cols {
        grid-template-columns: 1fr;
    }

    /* .nsl-sp-process__cards grid removed due to Swiper */

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

    /* Right images: stay side-by-side at tablet */
    .nsl-sp-wcu__right {
        flex-direction: row;
    }
    .nsl-sp-wcu__img {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .nsl-sp-wcu__row {
        flex-direction: column;
        align-items: flex-start;
    }

}
