.services-page {
    background: #ffffff;
    color: #202529;
}

.services-page__hero {
    padding: 4.5rem 0 3.5rem;
    background:
        linear-gradient(
            135deg,
            #f8f9f8 0%,
            #ffffff 70%
        );
}

.services-page__eyebrow {
    margin: 0 0 0.8rem;
    color: #168387;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.services-page__title {
    max-width: 14ch;
    margin: 0;
    color: #003d46;
    font-size: clamp(2.8rem, 9vw, 5.6rem);
    line-height: 0.95;
}

.services-page__intro {
    max-width: 680px;
    margin: 1.5rem 0 2rem;
    color: #666d70;
    font-size: 1.05rem;
    line-height: 1.7;
}

.services-page__nav {
    position: sticky;
    top: 0;
    z-index: 20;
    border-top: 1px solid #e2e5e5;
    border-bottom: 1px solid #e2e5e5;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.services-page__nav-inner {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    scrollbar-width: none;
}

.services-page__nav-inner::-webkit-scrollbar {
    display: none;
}

.services-page__nav a {
    flex: 0 0 auto;
    padding: 0.6rem 0.9rem;
    border: 1px solid #e2e5e5;
    border-radius: 999px;
    color: #045158;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.services-page__nav a:hover,
.services-page__nav a:focus-visible {
    border-color: #168387;
}

.services-category {
    scroll-margin-top: 6rem;
    padding: 4.2rem 0;
    border-bottom: 1px solid #e2e5e5;
}

.services-category:nth-child(even) {
    background: #f8f9f8;
}

.services-category__header {
    display: grid;
    gap: 1.3rem;
    margin-bottom: 2rem;
}

.services-category__number {
    margin: 0 0 0.5rem;
    color: #d4a03a;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.services-category__header h2 {
    margin: 0;
    color: #003d46;
    font-size: clamp(2rem, 7vw, 3.4rem);
    line-height: 1;
}

.services-category__header p:not(
    .services-category__number
) {
    max-width: 660px;
    margin: 1rem 0 0;
    color: #666d70;
    line-height: 1.65;
}

.services-category__count {
    justify-self: start;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: #eaf3f2;
    color: #045158;
    font-size: 0.8rem;
    font-weight: 700;
}

.services-list {
    overflow: hidden;
    border: 1px solid #e2e5e5;
    border-radius: 18px;
    background: #ffffff;
}

.service-row {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border-bottom: 1px solid #e2e5e5;
}

.service-row:last-child {
    border-bottom: 0;
}

.service-row__main h3 {
    margin: 0;
    color: #202529;
    font-size: 1rem;
    line-height: 1.35;
}

.service-row__main p {
    max-width: 720px;
    margin: 0.45rem 0 0;
    color: #666d70;
    font-size: 0.9rem;
    line-height: 1.55;
}

.service-row__meta {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
}

.service-row__meta strong {
    color: #003d46;
    font-size: 1rem;
}

.service-row__meta span {
    color: #666d70;
    font-size: 0.85rem;
}

.service-row__book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: max-content;
    min-height: 42px;
    padding: 0.55rem 0.9rem;
    border: 1px solid #168387;
    border-radius: 999px;
    color: #045158;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.service-row__book:hover,
.service-row__book:focus-visible {
    background: #045158;
    color: #ffffff;
}

.services-page__notice {
    padding: 2rem 0;
    background: #f8f9f8;
}

.services-page__notice p {
    max-width: 850px;
    margin: 0;
    color: #666d70;
    font-size: 0.86rem;
    line-height: 1.65;
}

.services-page__cta {
    padding: 4rem 0;
    background: #003d46;
    color: #ffffff;
}

.services-page__cta-inner {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.services-page__cta h2 {
    max-width: 650px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 7vw, 3.5rem);
    line-height: 1;
}

@media (min-width: 48rem) {
    .services-page__hero {
        padding: 6rem 0 5rem;
    }

    .services-category__header {
        grid-template-columns: 1fr auto;
        align-items: end;
    }

    .services-category__count {
        justify-self: end;
    }

    .service-row {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(150px, auto)
            auto;
        align-items: center;
        padding: 1.35rem 1.5rem;
    }

    .service-row__meta {
        justify-content: flex-end;
    }

    .services-page__cta-inner {
        grid-template-columns: 1fr auto;
    }
}

/* MADLEN SERVICES HERO — JEDNO DUŻE ZDJĘCIE */

.services-page__hero {
    padding: 3.5rem 0 4rem;
}

.services-page__hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.services-page__hero-copy {
    min-width: 0;
}

.services-page__gallery--single {
    display: block;
    min-width: 0;
}

.services-page__photo--single {
    overflow: hidden;
    width: 100%;
    margin: 0;
    aspect-ratio: 4 / 5;
    border: 1px solid #e2e5e5;
    border-radius: 24px;
    background: #f8f9f8;
    box-shadow:
        0 20px 55px rgba(0, 61, 70, 0.10);
}

.services-page__photo--single img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 64rem) {

    .services-page__hero {
        padding: 4.5rem 0 4.5rem;
    }

    .services-page__hero-grid {
        grid-template-columns:
            minmax(0, 0.92fr)
            minmax(500px, 1.08fr);

        gap: clamp(3rem, 5vw, 5.5rem);
    }

    .services-page__photo--single {
        height: clamp(520px, 55vw, 650px);
        aspect-ratio: auto;
    }

}



/* ==========================================================
   SERVICES — HIDREX BANNER
   Przełamanie katalogu pomiędzy tlenoterapią a jonoforezą.
   ========================================================== */

.services-hidrex-banner {
    padding:
        clamp(2.5rem, 5vw, 4.5rem)
        0;
    background: #ffffff;
}

.services-hidrex-banner__link {
    display: block;
    overflow: hidden;
    border-radius: 24px;
    box-shadow:
        0 22px 55px rgba(0, 61, 70, 0.11);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.services-hidrex-banner__link:hover,
.services-hidrex-banner__link:focus-visible {
    transform: translateY(-3px);
    box-shadow:
        0 28px 65px rgba(0, 61, 70, 0.16);
}

.services-hidrex-banner__image {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 47.999rem) {

    .services-hidrex-banner {
        padding:
            2rem
            0;
    }

    .services-hidrex-banner__link {
        border-radius: 16px;
    }

}

/* ==========================================================
   SERVICES — TLENOTERAPIA BANNER
   Baner zamykający sekcję tlenoterapii.
   ========================================================== */

.services-oxygen-banner {
    margin-top: clamp(2rem, 4vw, 3rem);
}

.services-oxygen-banner__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow:
        0 22px 55px rgba(0, 61, 70, 0.12);
}

@media (max-width: 47.999rem) {

    .services-oxygen-banner {
        margin-top: 1.5rem;
    }

    .services-oxygen-banner__image {
        border-radius: 16px;
    }

}

/* Pojedyncza usługa */
.single-service {
    padding-bottom: 4rem;
}

.single-service__hero {
    padding: 4.5rem 0 2.5rem;
}

.single-service__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.single-service__title {
    max-width: 900px;
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.08;
}

.single-service__location {
    margin-top: 1rem;
    font-size: 1.05rem;
}

.single-service__content {
    padding: 1rem 0 3rem;
}

.single-service__article {
    max-width: 900px;
}

.single-service__text {
    font-size: 1.05rem;
    line-height: 1.75;
}

.single-service__text p {
    margin: 0 0 1.25rem;
}

.single-service__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

@media (max-width: 640px) {
    .single-service__hero {
        padding-top: 2.75rem;
    }

    .single-service__actions {
        flex-direction: column;
    }

    .single-service__actions .button {
        width: 100%;
        text-align: center;
    }
}
