html {
    scroll-behavior: smooth;
}

.services-section,
.treatment-section {
    position: relative;
    overflow: hidden;
}

.services-section {
    padding: 90px 20px 44px;
    background:
        radial-gradient(
            circle at top left,
            rgba(15, 123, 114, 0.14),
            transparent 34%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(37, 99, 235, 0.14),
            transparent 34%
        ),
        linear-gradient(180deg, #f3fbff 0%, #eef7fb 100%);
}

.treatment-section {
    padding: 36px 20px 95px;
    background:
        radial-gradient(
            circle at right top,
            rgba(16, 33, 62, 0.06),
            transparent 26%
        ),
        linear-gradient(180deg, #eef7fb 0%, #ffffff 100%);
}

.services-shell {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
}

.services-heading,
.treatment-header {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(16, 33, 62, 0.08);
    box-shadow: 0 18px 38px rgba(16, 33, 62, 0.08);
    color: #0f7b72;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.soft-kicker {
    background: rgba(15, 123, 114, 0.08);
}

.services-heading h2,
.treatment-header h2 {
    margin: 22px 0 16px;
    color: #10213e;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.services-heading p,
.treatment-header p {
    margin: 0 auto;
    max-width: 690px;
    color: #5d6d86;
    font-family: "Segoe UI", sans-serif;
    font-size: 1.04rem;
    line-height: 1.8;
}

.services-highlights {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.highlight-pill {
    padding: 18px 20px;
    border-radius: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(16, 33, 62, 0.08);
    box-shadow: 0 20px 40px rgba(16, 33, 62, 0.08);
}

.highlight-pill strong {
    display: block;
    color: #10213e;
    font-size: 1.4rem;
    font-weight: 700;
}

.highlight-pill span {
    display: block;
    margin-top: 6px;
    color: #5d6d86;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.94rem;
}

.services-feature-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 28px 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(16, 33, 62, 0.08);
    box-shadow: 0 24px 50px rgba(16, 33, 62, 0.1);
    backdrop-filter: blur(14px);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(15, 123, 114, 0.22);
    box-shadow: 0 30px 65px rgba(16, 33, 62, 0.14);
}

.feature-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f7b72, #10213e);
    box-shadow: 0 20px 34px rgba(15, 123, 114, 0.22);
}

.feature-icon i {
    color: #ffffff;
    font-size: 1.45rem;
}

.feature-card h3 {
    margin: 20px 0 12px;
    color: #10213e;
    font-size: 1.35rem;
    line-height: 1.35;
}

.feature-card p {
    margin: 0;
    color: #5d6d86;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.97rem;
    line-height: 1.8;
}

#treatments,
.treatment-card {
    scroll-margin-top: 110px;
}

.treatment-header {
    margin-top: 18px;
}

.treatment-grid {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.treatment-card {
    --card-accent: #0f7b72;
    --card-soft: rgba(15, 123, 114, 0.12);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 18px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(16, 33, 62, 0.08);
    box-shadow: 0 24px 50px rgba(16, 33, 62, 0.08);
    overflow: hidden;
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

.treatment-card:nth-child(2),
.treatment-card:nth-child(5),
.treatment-card:nth-child(8) {
    --card-accent: #2563eb;
    --card-soft: rgba(37, 99, 235, 0.12);
}

.treatment-card:nth-child(3),
.treatment-card:nth-child(6),
.treatment-card:nth-child(9) {
    --card-accent: #db2777;
    --card-soft: rgba(219, 39, 119, 0.12);
}

.treatment-card:nth-child(4),
.treatment-card:nth-child(7),
.treatment-card:nth-child(10) {
    --card-accent: #d97706;
    --card-soft: rgba(217, 119, 6, 0.12);
}

.treatment-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(
        90deg,
        var(--card-accent),
        rgba(16, 33, 62, 0.14)
    );
}

.treatment-card::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 120px;
    height: 120px;
    border-radius: 36px;
    background: var(--card-soft);
    transform: rotate(20deg);
}

.treatment-card:hover {
    transform: translateY(-10px);
    border-color: rgba(16, 33, 62, 0.12);
    box-shadow: 0 32px 70px rgba(16, 33, 62, 0.14);
}

.treatment-media {
    position: relative;
    z-index: 1;
    height: 210px;
    margin-bottom: 18px;
    border-radius: 22px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            rgba(16, 33, 62, 0.08),
            rgba(15, 123, 114, 0.08)
        ),
        #eef7fb;
}

.treatment-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(16, 33, 62, 0) 0%,
        rgba(16, 33, 62, 0.08) 100%
    );
    pointer-events: none;
}

.treatment-media img {
    width: 100%;
    height: 100%;
    display: block;
}

.media-cover img {
    object-fit: cover;
}

.media-contain {
    background:
        radial-gradient(
            circle at top right,
            rgba(37, 99, 235, 0.12),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            rgba(15, 123, 114, 0.16),
            rgba(255, 255, 255, 0.92)
        );
}

.media-contain img {
    object-fit: contain;
    padding: 20px;
}

.treatment-icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--card-accent), #10213e);
    box-shadow: 0 20px 34px var(--card-soft);
}

.treatment-icon i {
    color: #ffffff;
    font-size: 1.45rem;
}

.treatment-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--card-soft);
    color: var(--card-accent);
    font-family: "Segoe UI", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.treatment-card h3 {
    position: relative;
    z-index: 1;
    margin: 18px 0 12px;
    color: #10213e;
    font-size: 1.42rem;
    line-height: 1.35;
}

.treatment-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #5d6d86;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.98rem;
    line-height: 1.8;
}

.treatment-tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.treatment-tags span {
    padding: 9px 14px;
    border-radius: 999px;
    background: #f2f8fc;
    color: #3a516d;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
}

.treatment-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 20px;
    padding: 13px 18px;
    border-radius: 14px;
    background: #10213e;
    color: #ffffff !important;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.treatment-link:hover {
    transform: translateY(-2px);
    background: var(--card-accent);
    box-shadow: 0 18px 32px var(--card-soft);
}

.services-cta {
    margin-top: 36px;
    padding: 34px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, #10213e 0%, #0f7b72 100%);
    box-shadow: 0 28px 60px rgba(16, 33, 62, 0.16);
    color: #ffffff;
}

.cta-label {
    display: inline-block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-family: "Segoe UI", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.services-cta h3 {
    margin: 0;
    max-width: 720px;
    color: #ffffff;
    font-size: clamp(1.45rem, 2.6vw, 2.15rem);
    line-height: 1.35;
}

.services-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 15px 24px;
    border-radius: 999px;
    background: #ffffff;
    color: #10213e !important;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.services-cta-link:hover {
    transform: translateY(-2px);
    background: #eff9ff;
    box-shadow: 0 16px 35px rgba(255, 255, 255, 0.18);
}

@media (max-width: 1199px) {
    .services-highlights,
    .services-feature-grid,
    .treatment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .services-section {
        padding: 72px 18px 34px;
    }

    .treatment-section {
        padding: 28px 18px 78px;
    }

    .services-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .services-heading h2,
    .treatment-header h2 {
        font-size: 2rem;
    }

    .services-heading p,
    .treatment-header p {
        font-size: 0.98rem;
    }

    .services-highlights,
    .services-feature-grid,
    .treatment-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .treatment-card {
        padding: 16px;
        border-radius: 24px;
    }

    .feature-card h3,
    .treatment-card h3 {
        font-size: 1.28rem;
    }

    .treatment-media {
        height: 190px;
        border-radius: 20px;
    }

    .services-cta {
        padding: 26px 22px;
        border-radius: 24px;
    }

    .services-cta-link {
        width: 100%;
    }
}
.uxd-services-section {
    position: relative;
    overflow: hidden;
    padding: 86px 0 90px;
    background: #f7f7fc;
}

.uxd-services-container {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    position: relative;
}

.uxd-services-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #5b5df0;
    transform: translateX(-50%);
}

.uxd-services-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 64px;
    padding-top: 24px;
}

.uxd-services-copy {
    max-width: 900px;
}

.uxd-services-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: #5b5df0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.uxd-services-kicker svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.uxd-services-title {
    margin: 0;
    max-width: 980px;
    color: #11144e;
    font-size: 62px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -2.6px;
}

.uxd-services-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 202px;
    height: 64px;
    padding: 0 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #6662f4 0%, #5a56e2 100%) !important;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 18px 35px rgba(91, 93, 240, 0.2);
    transition: all 0.3s ease !important;
}

.uxd-services-btn:hover {
    color: #ffffff !important;
    transform: translateY(-3px) !important;
}

.uxd-services-btn-plus {
    font-size: 31px;
    font-weight: 300;
    line-height: 1;
}

.uxd-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.uxd-service-card {
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid #ececff;
    box-shadow: 0 18px 40px rgba(17, 20, 78, 0.06);
    transition: all 0.3s ease;
}

.uxd-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 55px rgba(17, 20, 78, 0.1);
}

.uxd-service-card-image {
    height: 240px;
    background: #eef0fb;
    overflow: hidden;
}

.uxd-service-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.uxd-service-card-body {
    padding: 28px;
}

.uxd-service-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(91, 93, 240, 0.1);
    color: #5b5df0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.uxd-service-card h3 {
    margin: 0 0 12px;
    color: #11144e;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
}

.uxd-service-card p {
    margin: 0;
    color: #707698;
    font-size: 16px;
    line-height: 1.8;
}

.uxd-service-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.uxd-service-card-tags span {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: #f3f4fd;
    color: #565d7d;
    font-size: 13px;
    font-weight: 600;
}

.uxd-service-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    padding: 13px 18px;
    border-radius: 14px;
    background: #11144e;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.uxd-service-card-link:hover {
    background: #5b5df0;
    color: #ffffff;
}

@media (max-width: 1199px) {
    .uxd-services-title {
        font-size: 52px;
    }

    .uxd-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .uxd-services-section {
        padding: 12px 0 15px;
    }

    .uxd-services-top {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 46px;
    }

    .uxd-services-title {
        font-size: 44px;
    }
}

@media (max-width: 767px) {
    .uxd-services-grid {
        grid-template-columns: 1fr;
    }

    .uxd-service-card-body {
        padding: 22px;
    }

    .uxd-service-card h3 {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .uxd-services-container {
        width: min(1280px, calc(100% - 24px));
    }

    .uxd-services-kicker {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .uxd-services-title {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .uxd-services-btn {
        width: 100%;
    }

    .uxd-service-card-image {
        height: 210px;
    }
}
