.fdc-treatment-process {
    --fdc-process-gold: #cfa555;
    --fdc-process-bg: #0D0D0D;
    --fdc-process-card: #222222;
    --fdc-process-card-deep: #0D0D0D;
    --fdc-process-line: rgba(255,255,255,.16);
    --fdc-process-scroll: 820px;
    position: relative;
    width: 100%;
    height: calc(100vh + var(--fdc-process-scroll));
    min-height: 1040px;
    background: var(--fdc-process-bg);
    color: #fff;
    overflow: clip;
}

.fdc-treatment-process,
.fdc-treatment-process * {
    box-sizing: border-box;
}

.fdc-treatment-process__pin {
    position: sticky;
    top: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: clamp(58px, 5vw, 82px) 0;
    overflow: visible;
}

.fdc-treatment-process__container {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 0 clamp(28px, 4.2vw, 64px);
}

.fdc-treatment-process__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, 520px);
    align-items: center;
    gap: clamp(70px, 6.5vw, 118px);
}

.fdc-treatment-process__intro {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 760px;
}

.fdc-treatment-process__kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 24px;
    color: var(--fdc-process-gold) !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.fdc-treatment-process__kicker::before {
    content: "";
    width: 42px;
    height: 1px;
    flex: 0 0 auto;
    background: var(--fdc-process-gold);
}

.fdc-treatment-process__heading {
    max-width: 760px;
    margin: 0 !important;
    color: #fff !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(48px, 4.55vw, 68px);
    line-height: 1.04;
    font-weight: 500;
    letter-spacing: -.035em;
}

.fdc-treatment-process__heading-line {
    display: block;
}

.fdc-treatment-process__heading-highlight {
    color: var(--fdc-process-gold) !important;
}

.fdc-treatment-process__rule {
    --fdc-process-progress: .25;
    position: relative;
    width: min(100%, 650px);
    height: 2px;
    margin: 34px 0 0;
    overflow: hidden;
    border-radius: 999px;
    background: var(--fdc-process-line);
}

.fdc-treatment-process__rule::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(var(--fdc-process-progress) * 100%);
    border-radius: inherit;
    background: var(--fdc-process-gold);
    transition: width .32s cubic-bezier(.2,.72,.2,1);
}

.fdc-treatment-process__support {
    width: min(100%, 620px);
    margin: 28px 0 0 !important;
    color: rgba(255,255,255,.76) !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.62;
    font-weight: 400;
    letter-spacing: 0;
}

.fdc-treatment-process__stage {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    isolation: isolate;
}

.fdc-treatment-process__track {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: visible;
}

.fdc-treatment-process__card-wrap {
    --fdc-process-dim: 0;
    position: absolute;
    inset: 0;
    width: 100%;
    transform-origin: center center;
    will-change: transform, opacity;
    pointer-events: none;
}

.fdc-treatment-process__card-wrap:nth-child(1) { z-index: 8; }
.fdc-treatment-process__card-wrap:nth-child(2) { z-index: 7; }
.fdc-treatment-process__card-wrap:nth-child(3) { z-index: 6; }
.fdc-treatment-process__card-wrap:nth-child(4) { z-index: 5; }
.fdc-treatment-process__card-wrap:nth-child(n+5) { z-index: 4; }

.fdc-treatment-process__card {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(207,165,85,.46);
    border-radius: 20px;
    background: var(--fdc-process-card);
    box-shadow: none;
    isolation: isolate;
}

.fdc-treatment-process__card-wrap.is-active {
    pointer-events: auto;
}

.fdc-treatment-process__card-wrap.is-active .fdc-treatment-process__card {
    box-shadow: 0 28px 70px rgba(0,0,0,.30);
}

/* The rear cards become clean silhouettes rather than competing full cards. */
.fdc-treatment-process__card::after {
    content: "";
    position: absolute;
    z-index: 10;
    inset: 0;
    border-radius: inherit;
    background: var(--fdc-process-card-deep);
    opacity: var(--fdc-process-dim, 0);
    pointer-events: none;
}

.fdc-treatment-process__card-wrap.is-behind .fdc-treatment-process__card {
    border-color: rgba(207,165,85,.28);
    box-shadow: none;
}

.fdc-treatment-process__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1.78 / 1;
    overflow: hidden;
    background: #0d0d0d;
}

.fdc-treatment-process__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.fdc-treatment-process__media-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.02) 45%, rgba(0,0,0,.24) 100%);
}

.fdc-treatment-process__badge {
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 16px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid rgba(207,165,85,.62);
    border-radius: 999px;
    background: rgba(24,24,24,.88);
    color: var(--fdc-process-gold) !important;
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .045em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.fdc-treatment-process__card-content {
    position: relative;
    min-height: 190px;
    padding: 28px 30px 30px;
    background: var(--fdc-process-card);
}

.fdc-treatment-process__card-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    height: 1px;
    background: linear-gradient(90deg, rgba(207,165,85,.42), rgba(255,255,255,.05));
}

.fdc-treatment-process__title-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.fdc-treatment-process__number {
    flex: 0 0 auto;
    color: var(--fdc-process-gold) !important;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .02em;
}

.fdc-treatment-process__title-row h3 {
    margin: 0 !important;
    color: #fff !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(24px, 2vw, 30px);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -.02em;
}

.fdc-treatment-process__card-content p {
    max-width: 410px;
    margin: 18px 0 0 34px !important;
    color: rgba(255,255,255,.76) !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.62;
    font-weight: 400;
}

.fdc-treatment-process__controls {
    display: none;
}

.fdc-treatment-process__arrow {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(207,165,85,.5);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: border-color .22s ease, background-color .22s ease, color .22s ease, opacity .22s ease;
}

.fdc-treatment-process__arrow:hover,
.fdc-treatment-process__arrow:focus-visible {
    border-color: var(--fdc-process-gold);
    background: var(--fdc-process-gold);
    color: #0D0D0D;
}

.fdc-treatment-process__arrow:disabled {
    opacity: .35;
    cursor: default;
}

.fdc-treatment-process__arrow svg {
    width: 20px;
    height: 20px;
}

.fdc-treatment-process__counter {
    min-width: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
}

/* Tablet/mobile: normal flow carousel. */
@media (max-width: 991px) {
    .fdc-treatment-process {
        height: auto;
        min-height: 0;
        overflow: hidden;
    }

    .fdc-treatment-process__pin {
        position: relative;
        top: auto;
        min-height: 0;
        display: block;
        padding: 68px 0;
        overflow: visible;
    }

    .fdc-treatment-process__container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .fdc-treatment-process__layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 42px;
    }

    .fdc-treatment-process__intro {
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .fdc-treatment-process__kicker {
        justify-content: center;
    }

    .fdc-treatment-process__heading {
        max-width: 720px;
        margin-inline: auto !important;
        font-size: clamp(40px, 7vw, 58px);
    }

    .fdc-treatment-process__rule {
        width: min(100%, 520px);
        margin: 28px auto 0;
    }

    .fdc-treatment-process__support {
        width: min(100%, 600px);
        margin: 22px auto 0 !important;
        text-align: center;
    }

    .fdc-treatment-process__stage {
        overflow: visible;
    }

    .fdc-treatment-process__track {
        min-height: 0;
        display: flex;
        gap: 18px;
        overflow-x: auto;
        padding: 8px 2px 16px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .fdc-treatment-process__track::-webkit-scrollbar {
        display: none;
    }

    .fdc-treatment-process__card-wrap {
        --fdc-process-dim: 0 !important;
        position: relative;
        inset: auto;
        flex: 0 0 calc(50% - 9px);
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        scroll-snap-align: center;
        z-index: auto !important;
    }

    .fdc-treatment-process__card-wrap .fdc-treatment-process__card {
        box-shadow: 0 16px 38px rgba(0,0,0,.18);
    }

    .fdc-treatment-process__card::after {
        display: none;
    }

    .fdc-treatment-process__controls {
        margin-top: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
}

.elementor-editor-active .fdc-treatment-process {
    height: auto;
    min-height: 0;
}

.elementor-editor-active .fdc-treatment-process__pin {
    position: relative;
    min-height: 0;
}

/* Keep the process intro visible even if another component's reveal JS is absent. */
.fdc-treatment-process .fdc-reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .fdc-treatment-process {
        height: auto;
        min-height: 0;
    }

    .fdc-treatment-process__pin {
        position: relative;
        min-height: 0;
    }

    .fdc-treatment-process__track {
        min-height: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .fdc-treatment-process__card-wrap {
        --fdc-process-dim: 0 !important;
        position: relative;
        inset: auto;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .fdc-treatment-process__card::after {
        display: none;
    }
}

/* v0.29: true centred mobile slider. The stage is the clipping viewport; cards move through it. */
@media (max-width: 991px) {
    .fdc-treatment-process__stage {
        width: min(100%, 520px);
        margin-inline: auto;
        overflow: hidden;
    }

    .fdc-treatment-process__track {
        width: 100%;
        display: flex;
        gap: 0;
        overflow: visible;
        padding: 0;
        margin: 0;
        scroll-snap-type: none;
        scroll-padding: 0;
        touch-action: pan-y;
        will-change: transform;
    }

    .fdc-treatment-process__card-wrap {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }

    .fdc-treatment-process__controls {
        width: 100%;
    }
}

/* v0.35: shiny gold treatment for process navigation when it enters the gold state. */
.fdc-treatment-process__arrow {
    isolation: isolate;
    position: relative;
    overflow: hidden;
}

.fdc-treatment-process__arrow svg {
    position: relative;
    z-index: 2;
}

.fdc-treatment-process__arrow::before,
.fdc-treatment-process__arrow::after {
    content: "";
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: 50%;
    opacity: 0;
}

.fdc-treatment-process__arrow::before {
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    transform: translate(-50%, -50%);
    border-radius: inherit;
    background: radial-gradient(circle at 2px 2px, rgba(255,255,255,.9) .5px, transparent .7px);
    background-size: 4px 4px;
    z-index: 0;
}

.fdc-treatment-process__arrow::after {
    width: 150%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: linear-gradient(-50deg, transparent 34%, rgba(255,241,201,.74) 50%, transparent 66%);
    z-index: 1;
}

.fdc-treatment-process__arrow:is(:hover, :focus-visible) {
    --fdc-shiny-percent: 20%;
    --fdc-shiny-offset: 95deg;
    border-color: transparent;
    background:
        linear-gradient(#cfa555, #cfa555) padding-box,
        conic-gradient(
            from calc(var(--fdc-shiny-angle) - var(--fdc-shiny-offset)),
            transparent,
            #b28b42 var(--fdc-shiny-percent),
            #ffe8aa calc(var(--fdc-shiny-percent) * 2),
            #b28b42 calc(var(--fdc-shiny-percent) * 3),
            transparent calc(var(--fdc-shiny-percent) * 4)
        ) border-box;
    box-shadow: inset 0 0 0 1px rgba(13,13,13,.22);
    color: #0D0D0D;
    animation: fdc-shiny-angle 3s linear infinite;
}

.fdc-treatment-process__arrow:is(:hover, :focus-visible)::before { opacity: .18; }
.fdc-treatment-process__arrow:is(:hover, :focus-visible)::after {
    opacity: .26;
    animation: fdc-shiny-sheen 7.5s linear infinite;
}

/* v0.66: definitive phone implementation.
   One native sticky stack only: cards stay in document flow, each new card scrolls over the
   previous card, and the section uses a stable solid-dark compositing surface on iOS/Safari. */
@media (max-width: 767px) {
    .fdc-treatment-process {
        --fdc-starfield-base: #0D0D0D;
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: clip !important;
        background: #0D0D0D !important;
        isolation: isolate !important;
    }

    .fdc-treatment-process__pin {
        position: relative !important;
        z-index: 1 !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        display: block !important;
        padding: 56px 0 68px !important;
        overflow: visible !important;
        background: transparent !important;
    }

    .fdc-treatment-process__container {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .fdc-treatment-process__layout {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        display: block !important;
        overflow: visible !important;
    }

    .fdc-treatment-process__intro {
        position: relative !important;
        z-index: 20 !important;
        width: 100% !important;
        max-width: 560px !important;
        margin: 0 auto 34px !important;
        padding: 0 !important;
        overflow: visible !important;
        text-align: center !important;
    }

    .fdc-treatment-process__kicker {
        justify-content: center !important;
        margin: 0 0 14px !important;
        text-align: center !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    .fdc-treatment-process__heading {
        width: 100% !important;
        max-width: 560px !important;
        margin: 0 auto !important;
        font-size: clamp(34px, 9.4vw, 45px) !important;
        line-height: 1.06 !important;
        letter-spacing: -.035em !important;
        text-align: center !important;
    }

    .fdc-treatment-process__heading-line {
        display: block !important;
    }

    .fdc-treatment-process__rule {
        width: min(100%, 440px) !important;
        margin: 22px auto 0 !important;
    }

    .fdc-treatment-process__support {
        width: min(100%, 500px) !important;
        margin: 18px auto 0 !important;
        font-size: 15px !important;
        line-height: 1.55 !important;
        text-align: center !important;
    }

    .fdc-treatment-process__stage {
        position: relative !important;
        width: min(100%, 430px) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 auto !important;
        overflow: visible !important;
        contain: none !important;
        touch-action: pan-y !important;
        background: transparent !important;
        isolation: isolate;
    }

    .fdc-treatment-process__track {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 0 28px !important;
        overflow: visible !important;
        transform: none !important;
        transition: none !important;
        touch-action: pan-y !important;
        background: transparent !important;
        isolation: isolate;
    }

    .fdc-treatment-process__card-wrap,
    .fdc-treatment-process__card-wrap.is-phone-active,
    .fdc-treatment-process__card-wrap.is-active {
        --fdc-process-dim: 0 !important;
        position: sticky !important;
        inset: auto !important;
        top: max(14px, env(safe-area-inset-top)) !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        display: block !important;
        flex: none !important;
        margin: 0 0 clamp(72px, 17vh, 118px) !important;
        padding: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        will-change: auto !important;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .fdc-treatment-process__card-wrap:nth-child(1) { z-index: 1 !important; }
    .fdc-treatment-process__card-wrap:nth-child(2) { z-index: 2 !important; }
    .fdc-treatment-process__card-wrap:nth-child(3) { z-index: 3 !important; }
    .fdc-treatment-process__card-wrap:nth-child(4) { z-index: 4 !important; }
    .fdc-treatment-process__card-wrap:nth-child(5) { z-index: 5 !important; }
    .fdc-treatment-process__card-wrap:nth-child(6) { z-index: 6 !important; }

    .fdc-treatment-process__card-wrap:last-child {
        margin-bottom: 0 !important;
    }

    .fdc-treatment-process__card {
        width: 100% !important;
        max-width: 100% !important;
        height: clamp(500px, 132vw, 575px) !important;
        min-height: 0 !important;
        display: grid !important;
        grid-template-rows: 45% 55% !important;
        overflow: hidden !important;
        border: 1px solid rgba(207,165,85,.62) !important;
        border-radius: 18px !important;
        background: #222222 !important;
        box-shadow: 0 18px 46px rgba(0,0,0,.28) !important;
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .fdc-treatment-process__card::after,
    .fdc-treatment-process__card-content::before {
        display: none !important;
    }

    .fdc-treatment-process__media {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        flex: none !important;
        aspect-ratio: auto !important;
        overflow: hidden !important;
        border-bottom: 1px solid rgba(207,165,85,.34) !important;
        background-color: #222222 !important;
    }

    .fdc-treatment-process__media img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .fdc-treatment-process__badge {
        top: 14px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .fdc-treatment-process__card-content {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 24px 22px 26px !important;
        overflow: hidden !important;
        text-align: center !important;
        background-color: #222222 !important;
    }

    .fdc-treatment-process__title-row {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .fdc-treatment-process__number {
        font-size: 12px !important;
    }

    .fdc-treatment-process__title-row h3 {
        margin: 0 !important;
        font-size: clamp(22px, 6vw, 27px) !important;
        line-height: 1.14 !important;
        text-align: center !important;
    }

    .fdc-treatment-process__card-content p {
        width: 100% !important;
        max-width: 350px !important;
        margin: 14px auto 0 !important;
        font-size: 14px !important;
        line-height: 1.55 !important;
        text-align: center !important;
    }

    .fdc-treatment-process__controls {
        display: none !important;
    }
}

