/* Core Structural Color Variables */
:root {
    --med-jungle-green: #00966c;
    --med-dark-teal: #024b43;
    --med-bright-mint: #ccfbf1;
    --med-mid-green: #00aa8a;
}

/* Common Layout Helpers */
.layout-jungle-bg {
    background-color: var(--med-jungle-green) !important;
}

.layout-mint-bg {
    background-color: var(--med-bright-mint) !important;
}

.text-brand-green {
    color: var(--med-mid-green) !important;
}

/* ==========================================================================
   SECTION 1: HERO CANVAS WITH INLINE RADIUS MASKS (image_b5ada4.jpg)
   ========================================================================== */
.therapy-hero-title {
    font-size: 2.5rem;
    line-height: 1.28;
    letter-spacing: -0.015em;
}

.therapy-hero-text {
    font-size: 1.05rem;
    line-height: 1.65;
}

.btn-med-dark-teal {
    background-color: var(--med-dark-teal) !important;
    border-color: var(--med-dark-teal) !important;
    transition: all 0.25s ease-in-out;
}

.btn-med-dark-teal:hover {
    background-color: #01322d !important;
    transform: translateY(-1px);
}

/* Replicates the custom unequal smooth curve boundaries of image_b5ada4.jpg */
.therapy-hero-mask {
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    border-top-left-radius: 4rem !important;
    border-top-right-radius: 4rem !important;
    border-bottom-left-radius: 4rem !important;
    border-bottom-right-radius: 0.5rem !important;
}

.hero-therapy-img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   SECTION 2: ACCENT INVENTIVE SPLIT LAYOUT (image_b5aadc.png)
   ========================================================================== */
.therapy-section-heading {
    font-size: 1.8rem;
    line-height: 1.35;
}

.therapy-section-text p {
    line-height: 1.65;
}

/* Replicates the opposite asymmetrical curve styling profile of image_b5aadc.png */
.therapy-intro-mask {
    width: 100%;
    max-width: 460px;
    overflow: hidden;
    border-top-left-radius: 4rem !important;
    border-top-right-radius: 4rem !important;
    border-bottom-right-radius: 4rem !important;
    border-bottom-left-radius: 0.5rem !important;
}

.intro-therapy-img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   SECTION 3: THREE-COLUMN SERVICES GRID (image_b5aadc.png footer context)
   ========================================================================== */
.max-width-catalog-header {
    max-width: 820px;
}

.catalog-main-title {
    font-size: 1.75rem;
    line-height: 1.4;
}

.therapy-service-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.therapy-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05) !important;
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
}

.mini-icon-shape {
    width: 24px;
    height: 24px;
    opacity: 0.85;
}

.shape-circle {
    border-radius: 50%;
}

.shape-cube {
    border-radius: 4px;
}

.shape-heart {
    clip-path: polygon(50% 15%, 61% 35%, 75% 35%, 80% 50%, 50% 85%, 20% 50%, 25% 35%, 39% 35%);
    transform: scale(1.3);
}

/* ==========================================================================
   MEDIA VIEWPORT BALANCING ENGINE
   ========================================================================== */
@media (max-width: 991.98px) {
    .therapy-hero-title {
        font-size: 1.95rem;
    }

    .catalog-main-title {
        font-size: 1.45rem;
    }

    .therapy-hero-mask,
    .therapy-intro-mask {
        max-width: 100%;
        margin-top: 1.5rem;
        border-radius: 2rem !important;
        /* Unified clean collapse approach */
    }
}