
/* =========================================================
   SPINE CARE - ELECTRONIC CITY
   COMPLETE UPDATED CSS
   Theme: Dr Pramod
========================================================= */

/* =========================================================
   01. BASE
========================================================= */

.ecs-page {
    --ecs-blue: var(--dp-primary, #2e3192);
    --ecs-deep: var(--dp-primary-deep, #095d7e);
    --ecs-teal: var(--dp-accent, #14c9a6);
    --ecs-orange: var(--dp-action, #faa41a);

    --ecs-ink: #172f3d;
    --ecs-muted: #586c78;
    --ecs-border: #dce9ed;
    --ecs-soft: #e9f8f5;

    color: var(--ecs-ink);
    background: #fff;

    width: 100%;
    overflow: clip;
}

.ecs-page *,
.ecs-page *::before,
.ecs-page *::after {
    box-sizing: border-box;
}

.ecs-page a {
    text-decoration: none;
}

.ecs-page a:focus-visible,
.ecs-page summary:focus-visible {
    outline: 3px solid var(--ecs-orange);
    outline-offset: 4px;
}

.ecs-container {
    width: min(100% - 56px, 1360px);
    margin-inline: auto;
}

.ecs-section {
    padding: 95px 0;
}

/* =========================================================
   02. TYPOGRAPHY
========================================================= */

.ecs-kicker {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--ecs-deep);

    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;

    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.ecs-kicker--light {
    color: #a4f3de;
}

.ecs-page h1,
.ecs-page h2,
.ecs-page h3 {
    margin-top: 0;
    letter-spacing: -0.025em;
}

.ecs-page h2 {
    margin: 0 0 23px;

    color: var(--ecs-blue);

    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 750;
    line-height: 1.2;
}

.ecs-page h3 {
    margin: 0 0 15px;

    color: var(--ecs-blue);

    font-size: 23px;
    font-weight: 750;
    line-height: 1.35;
}

.ecs-page p,
.ecs-page li {
    font-size: 17px;
    line-height: 1.75;
}

.ecs-rich {
    color: var(--ecs-muted);
}

.ecs-rich p {
    margin: 0 0 18px;
}

.ecs-rich p:last-child {
    margin-bottom: 0;
}

.ecs-rich ul {
    padding-left: 23px;
}

.ecs-rich li + li {
    margin-top: 8px;
}

.ecs-rich a {
    color: var(--ecs-blue);

    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ecs-rich a:hover {
    color: var(--ecs-deep);
}

.ecs-section-heading {
    max-width: 950px;

    margin: 0 auto 48px;

    text-align: center;
}

.ecs-section-heading h2 {
    margin-bottom: 0;
}

/* =========================================================
   03. BUTTONS
========================================================= */

.ecs-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 14px;
    margin-top: 30px;
}

.ecs-btn {
    position: relative;
    isolation: isolate;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    min-height: 54px;
    padding: 15px 25px;

    border: 1px solid transparent;
    border-radius: 7px;

    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;

    overflow: hidden;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.ecs-btn::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -1;

    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(255,255,255,.2) 50%,
        transparent 80%
    );

    transform: translateX(-130%);
    transition: transform .6s ease;
}

.ecs-btn:hover::before {
    transform: translateX(130%);
}

.ecs-btn:hover {
    transform: translateY(-4px);
    text-decoration: none;
}

.ecs-btn span {
    font-size: 18px;
    transition: transform .3s ease;
}

.ecs-btn:hover span {
    transform: translateX(4px);
}

.ecs-btn--orange {
    color: #192c39;
    background: var(--ecs-orange);

    box-shadow:
        0 12px 27px rgba(250,164,26,.23);
}

.ecs-btn--orange:hover {
    color: #192c39;
    background: #ffb942;

    box-shadow:
        0 18px 38px rgba(250,164,26,.3);
}

.ecs-btn--teal {
    color: #073b42;
    background: var(--ecs-teal);
}

.ecs-btn--teal:hover {
    color: #073b42;
    background: #59e8cc;

    box-shadow:
        0 15px 32px rgba(20,201,166,.22);
}

.ecs-btn--outline {
    color: #fff;
    border-color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.05);
}

.ecs-btn--outline:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255,255,255,.17);
}

.ecs-btn--dark {
    color: #fff;
    background: var(--ecs-blue);
}

.ecs-btn--dark:hover {
    color: #fff;
    background: var(--ecs-deep);

    box-shadow:
        0 15px 32px rgba(46,49,146,.22);
}

.ecs-btn--border {
    color: var(--ecs-blue);
    border-color: var(--ecs-blue);
    background: #fff;
}

.ecs-btn--border:hover {
    color: #fff;
    background: var(--ecs-blue);
}

.ecs-text-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;
    margin-top: 19px;

    color: var(--ecs-deep);

    font-size: 15px;
    font-weight: 800;
}

.ecs-text-link span {
    transition: transform .25s ease;
}

.ecs-text-link:hover {
    color: var(--ecs-blue);
}

.ecs-text-link:hover span {
    transform: translateX(5px);
}

/* =========================================================
   04. HERO - CLEAN STACKING AND OVERLAY
========================================================= */

.ecs-page .ecs-hero {
    position: relative !important;
    isolation: isolate;

    display: flex;
    align-items: center;

    min-height: 625px;
    width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background-color: #22277c;

    background-image: linear-gradient(
        110deg,
        #22277c 0%,
        #253783 45%,
        #095d7e 100%
    );
}

/* Suppress unexpected pseudo-element decorations. */

.ecs-page .ecs-hero::before,
.ecs-page .ecs-hero::after,
.ecs-page .ecs-hero__media::before,
.ecs-page .ecs-hero__media::after,
.ecs-page .ecs-hero__overlay::before,
.ecs-page .ecs-hero__overlay::after {
    content: none !important;
    display: none !important;
}

/* Keep only known direct children inside the hero. */

.ecs-page .ecs-hero > :not(
    .ecs-hero__media
):not(
    .ecs-hero__overlay
):not(
    .ecs-hero__inner
):not(
    .ecs-hero__circle
) {
    display: none !important;
}

/* Background image. */

.ecs-page .ecs-hero__media {
    position: absolute !important;
    inset: 0 !important;

    z-index: 0 !important;

    display: block;

    width: 100% !important;
    height: 100% !important;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: transparent;
    box-shadow: none;
    filter: none;
    transform: none;
}

.ecs-page .ecs-hero__image {
    position: absolute !important;
    inset: 0 !important;

    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: none;
    max-height: none;

    margin: 0;
    padding: 0;

    object-fit: cover;
    object-position: center center;

    filter: none;
    transform: none;
    box-shadow: none;
}

/* Full-width overlay. */

.ecs-page .ecs-hero__overlay {
    position: absolute !important;
    inset: 0 !important;

    z-index: 1 !important;

    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    pointer-events: none;

    background-image: linear-gradient(
        90deg,
        rgba(30,39,117,.98) 0%,
        rgba(33,47,122,.96) 35%,
        rgba(17,69,117,.84) 70%,
        rgba(9,93,126,.72) 100%
    );

    background-size: 100% 100%;
    background-repeat: no-repeat;

    border: 0;
    border-radius: 0;

    opacity: 1;
    filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Remove existing decorative circles. */

.ecs-page .ecs-hero__circle,
.ecs-page .ecs-hero__circle--one,
.ecs-page .ecs-hero__circle--two {
    display: none !important;
    content: none !important;
}

/* Hero content layer. */

.ecs-page .ecs-hero__inner {
    position: relative !important;
    z-index: 5 !important;

    width: min(100% - 56px, 1360px);

    margin-inline: auto;

    background: transparent !important;
    box-shadow: none !important;
}

.ecs-page .ecs-hero__content {
    position: relative;
    z-index: 6;

    max-width: 800px;
    padding: 86px 0 100px;

    background: transparent !important;

    animation:
        ecs-hero-entrance .8s ease both;
}

.ecs-breadcrumb {
    display: flex;
    align-items: center;

    gap: 12px;
    margin-bottom: 34px;

    color: rgba(255,255,255,.75);
    font-size: 14px;
}

.ecs-breadcrumb a {
    color: #fff;
}

.ecs-breadcrumb a:hover {
    color: #a4f3de;
}

.ecs-hero .ecs-kicker {
    color: #a4f3de;
}

.ecs-page .ecs-hero h1 {
    max-width: 850px;
    margin: 0;

    color: #fff;

    font-size: clamp(38px, 4.9vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.035em;
}

.ecs-page .ecs-hero__description {
    max-width: 750px;

    margin: 24px 0 0;

    color: rgba(255,255,255,.94);

    font-size: 18px;
    line-height: 1.75;
}

.ecs-hero .ecs-buttons {
    position: relative;
    z-index: 7;
}

@keyframes ecs-hero-entrance {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   05. QUICK INFORMATION STRIP
========================================================= */

.ecs-quick-info {
    position: relative;
    z-index: 2;

    background: #fff;

    box-shadow:
        0 12px 32px rgba(9,58,91,.07);
}

.ecs-quick-info__grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.ecs-quick-info__item {
    display: flex;
    align-items: center;

    gap: 17px;
    padding: 25px 30px;

    border-right: 1px solid var(--ecs-border);
}

.ecs-quick-info__item:first-child {
    padding-left: 0;
}

.ecs-quick-info__item:last-child {
    border-right: 0;
}

.ecs-quick-info__icon {
    display: grid;
    place-items: center;

    flex: 0 0 46px;
    height: 46px;

    color: var(--ecs-blue);
    background: var(--ecs-soft);

    border-radius: 12px;
    font-size: 19px;
}

.ecs-quick-info__item strong {
    display: block;

    color: var(--ecs-blue);

    font-size: 15px;
    font-weight: 800;
}

.ecs-quick-info__item span:not(
    .ecs-quick-info__icon
),
.ecs-quick-info__item a {
    display: block;

    margin-top: 4px;

    color: var(--ecs-muted);

    font-size: 15px;
    line-height: 1.5;
}

.ecs-quick-info__item a:hover {
    color: var(--ecs-blue);
}

/* =========================================================
   06. SPLIT CONTENT SECTIONS
========================================================= */

.ecs-split {
    display: grid;

    grid-template-columns:
        minmax(0,1.05fr)
        minmax(0,.95fr);

    align-items: center;
    gap: clamp(36px,6vw,80px);
}

.ecs-split--reverse {
    grid-template-columns:
        minmax(0,.95fr)
        minmax(0,1.05fr);
}

.ecs-split--text-only {
    display: block;
}

.ecs-split--text-only .ecs-split__content {
    max-width: 950px;
    margin-inline: auto;
}

.ecs-split__media {
    position: relative;
    min-width: 0;
}

.ecs-image {
    position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 5 / 4;
    object-fit: cover;

    border-radius: 14px;

    box-shadow:
        0 23px 48px rgba(9,93,126,.13);

    transition:
        transform .55s ease,
        filter .55s ease;
}

.ecs-split__media:hover .ecs-image {
    transform: translateY(-5px) scale(1.015);
    filter: saturate(1.07);
}

.ecs-image-decoration {
    position: absolute;

    top: -17px;
    right: -17px;

    width: 130px;
    height: 130px;

    border-radius: 14px;
    background: #cceeed;
}

.ecs-info-note {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-top: 27px;
    padding: 17px 20px;

    border-left: 4px solid var(--ecs-teal);
    border-radius: 7px;

    background: #edf9f5;
}

.ecs-info-note > span {
    color: #078f78;
    font-size: 24px;
    font-weight: 800;
}

.ecs-info-note p {
    margin: 0;

    color: var(--ecs-deep);

    font-size: 16px;
    font-weight: 650;
    line-height: 1.6;
}

/* =========================================================
   07. WHEN TO CONSULT
========================================================= */

.ecs-consult {
    background: #f0f7fc;
}

.ecs-consult__grid {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(0,.92fr);

    align-items: center;
    gap: 65px;
}

.ecs-consult__image {
    max-width: 510px;
    margin-top: 28px;
}

.ecs-consult__image .ecs-image {
    aspect-ratio: 16 / 9;
}

/* Emergency warning */

.ecs-emergency {
    position: relative;

    padding: 38px;
    overflow: hidden;

    background: #fff8f6;

    border: 1px solid #efcac4;
    border-left: 5px solid #c74d45;
    border-radius: 14px;

    box-shadow:
        0 20px 43px rgba(139,56,49,.08);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.ecs-emergency:hover {
    transform: translateY(-5px);

    box-shadow:
        0 25px 50px rgba(139,56,49,.13);
}

.ecs-emergency__top {
    display: flex;
    align-items: center;

    gap: 14px;
    margin-bottom: 20px;
}

.ecs-emergency__top > span:last-child {
    color: #a73b35;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.ecs-emergency__icon {
    display: grid;
    place-items: center;

    flex: 0 0 44px;
    height: 44px;

    border-radius: 50%;

    color: #fff;
    background: #bd403a;

    font-size: 24px;
    font-weight: 800;
}

.ecs-emergency h3 {
    color: #a23631;
    font-size: 25px;
}

.ecs-emergency p {
    margin: 0 0 22px;
    color: #55413f;
}

.ecs-emergency strong {
    display: block;

    color: #9e332e;

    font-size: 16px;
    line-height: 1.6;
}

/* =========================================================
   08. SPINE CONDITIONS
========================================================= */

.ecs-conditions {
    background: #fff;
}

.ecs-condition-grid {
    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 22px;
}

.ecs-condition-card {
    position: relative;

    min-height: 265px;
    padding: 31px;
    overflow: hidden;

    background: #fff;

    border: 1px solid var(--ecs-border);
    border-radius: 13px;

    box-shadow:
        0 13px 35px rgba(9,93,126,.055);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.ecs-condition-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 4px;

    background: linear-gradient(
        90deg,
        var(--ecs-blue),
        var(--ecs-teal)
    );

    transition: width .4s ease;
}

.ecs-condition-card:hover {
    transform: translateY(-9px);

    border-color: #a7dcd7;

    box-shadow:
        0 25px 50px rgba(9,93,126,.13);
}

.ecs-condition-card:hover::before {
    width: 100%;
}

.ecs-condition-card__number {
    display: grid;
    place-items: center;

    width: 56px;
    height: 56px;

    margin-bottom: 23px;

    color: var(--ecs-blue);
    background: var(--ecs-soft);

    border-radius: 12px;

    font-size: 17px;
    font-weight: 800;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.ecs-condition-card:hover
.ecs-condition-card__number {
    color: #fff;
    background: var(--ecs-blue);
    transform: rotate(-6deg);
}

.ecs-condition-card h3 {
    margin-bottom: 12px;
    padding-right: 12px;

    font-size: 21px;
}

.ecs-condition-card p {
    margin: 0;

    color: var(--ecs-muted);

    font-size: 16px;
    line-height: 1.7;
}

.ecs-condition-card__arrow {
    position: absolute;

    top: 32px;
    right: 26px;

    color: #b8cbd3;

    font-size: 23px;

    transition:
        color .3s ease,
        transform .3s ease;
}

.ecs-condition-card:hover
.ecs-condition-card__arrow {
    color: var(--ecs-orange);
    transform: translate(4px,-4px);
}

/* =========================================================
   09. ADVANCED TREATMENTS
========================================================= */

.ecs-treatments {
    background: #f3f9fb;
}

.ecs-treatment-grid {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 23px;
}

.ecs-treatment-card {
    padding: 42px;

    background: #fff;

    border: 1px solid var(--ecs-border);
    border-radius: 15px;

    box-shadow:
        0 17px 40px rgba(9,93,126,.07);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.ecs-treatment-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 25px 55px rgba(9,93,126,.13);
}

.ecs-treatment-card__number {
    display: grid;
    place-items: center;

    width: 65px;
    height: 65px;

    margin-bottom: 26px;

    background: var(--ecs-soft);
    color: var(--ecs-blue);

    border-radius: 15px;

    font-size: 20px;
    font-weight: 800;
}

.ecs-treatment-card__label {
    display: block;
    margin-bottom: 12px;

    color: var(--ecs-deep);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.ecs-treatment-card h3 {
    font-size: 25px;
}

.ecs-treatment-card .ecs-rich p {
    font-size: 16px;
}

/* =========================================================
   10. UBE FEATURE
========================================================= */

.ecs-ube {
    display: grid;

    grid-template-columns:
        185px minmax(0,1fr);

    align-items: center;
    gap: 45px;

    margin-top: 25px;
    padding: 42px;

    background: linear-gradient(
        120deg,
        #e2f7f2,
        #eef7fc 70%,
        #fff
    );

    border: 1px solid #bde3e1;
    border-radius: 15px;
}

.ecs-ube__symbol {
    display: grid;
    place-items: center;

    width: 165px;
    height: 165px;

    background: rgba(255,255,255,.7);

    border: 1px solid #a9dad5;
    border-radius: 50%;

    box-shadow:
        inset 0 0 0 12px rgba(204,238,234,.45);

    transition: transform .4s ease;
}

.ecs-ube:hover .ecs-ube__symbol {
    transform: scale(1.05);
}

.ecs-ube__symbol span {
    color: var(--ecs-blue);

    font-size: 40px;
    font-weight: 850;
    letter-spacing: -3px;
}

.ecs-ube h3 {
    font-size: 26px;
}

.ecs-ube .ecs-rich p {
    font-size: 16px;
}

/* =========================================================
   11. DOCTOR SPOTLIGHT
========================================================= */

.ecs-doctor {
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        120deg,
        #22277c,
        var(--ecs-blue) 50%,
        var(--ecs-deep)
    );
}

.ecs-doctor::after {
    content: "";

    position: absolute;

    right: -160px;
    bottom: -260px;

    width: 570px;
    height: 570px;

    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;

    pointer-events: none;
}

.ecs-doctor__grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(280px,.8fr)
        minmax(0,1.2fr);

    align-items: end;
    gap: 75px;
}

.ecs-doctor__grid--no-image {
    display: block;
}

.ecs-doctor__grid--no-image
.ecs-doctor__content {
    max-width: 900px;
}

.ecs-doctor__image {
    align-self: end;
    padding-top: 60px;
}

.ecs-doctor__photo {
    display: block;

    width: 100%;
    max-height: 570px;

    object-fit: contain;
    object-position: center bottom;

    filter:
        drop-shadow(0 10px 30px rgba(0,0,0,.13));
}

.ecs-doctor__content {
    padding: 90px 0;
}

.ecs-doctor h2 {
    color: #fff;
}

.ecs-doctor .ecs-rich,
.ecs-doctor .ecs-rich p {
    color: rgba(255,255,255,.92);
}

.ecs-doctor .ecs-buttons {
    margin-top: 29px;
}

/* =========================================================
   12. WHY CHOOSE
========================================================= */

.ecs-why {
    background: #fff;
}

/* =========================================================
   13. DIAGNOSTICS
========================================================= */

.ecs-diagnostics {
    background: #eef7fb;
}

.ecs-diagnostics__tags {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
    margin-top: 27px;
}

.ecs-diagnostics__tags span {
    display: inline-flex;
    align-items: center;

    padding: 10px 15px;

    background: #fff;
    color: var(--ecs-deep);

    border: 1px solid #b9dcd9;
    border-radius: 30px;

    font-size: 14px;
    font-weight: 700;

    transition:
        background .3s ease,
        transform .3s ease;
}

.ecs-diagnostics__tags span:hover {
    transform: translateY(-3px);
    background: #e3f8f3;
}

/* =========================================================
   14. OUR APPROACH
========================================================= */

.ecs-approach {
    background: #fff;
}

.ecs-approach__box {
    display: grid;

    grid-template-columns:
        1.15fr .85fr;

    align-items: center;
    gap: 45px;

    padding: 55px;

    background: linear-gradient(
        125deg,
        #eaf8f5,
        #fff
    );

    border: 1px solid #d5e9e9;
    border-radius: 17px;

    overflow: hidden;
}

.ecs-approach__image .ecs-image {
    max-height: 430px;
}

.ecs-approach__steps {
    display: grid;

    grid-template-columns: repeat(2,1fr);
    gap: 15px;
}

.ecs-approach__steps span {
    display: grid;
    place-items: center;

    min-height: 100px;
    padding: 15px;

    background: #fff;
    color: var(--ecs-blue);

    border: 1px solid #cee7e2;
    border-radius: 12px;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: .5px;

    box-shadow:
        0 10px 25px rgba(9,93,126,.05);

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}

.ecs-approach__steps span:hover {
    transform: translateY(-6px);
    color: #fff;
    background: var(--ecs-blue);
}

/* =========================================================
   15. HOSPITAL LOCATION
========================================================= */

.ecs-location {
    background: #f2f8fc;
}

.ecs-location__grid {
    display: grid;

    grid-template-columns:
        minmax(0,.9fr)
        minmax(0,1.1fr);

    overflow: hidden;

    background: #fff;

    border: 1px solid #dae8ec;
    border-radius: 15px;

    box-shadow:
        0 19px 48px rgba(9,93,126,.09);
}

.ecs-location__visual {
    min-height: 460px;
    overflow: hidden;
}

.ecs-location__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .7s ease;
}

.ecs-location__grid:hover
.ecs-location__image {
    transform: scale(1.045);
}

.ecs-location__placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 15px;

    width: 100%;
    height: 100%;
    min-height: 460px;

    padding: 40px;

    background: linear-gradient(
        135deg,
        var(--ecs-blue),
        var(--ecs-deep)
    );

    color: #fff;
    text-align: center;
}

.ecs-location__placeholder span {
    display: grid;
    place-items: center;

    width: 80px;
    height: 80px;

    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;

    color: #a4f3de;
    font-size: 32px;
}

.ecs-location__placeholder strong {
    font-size: 26px;
    letter-spacing: 1px;
}

.ecs-location__placeholder p {
    margin: 0;
    color: rgba(255,255,255,.85);
}

.ecs-location__content {
    padding: 55px;
}

.ecs-location__content h3 {
    font-size: 28px;
}

.ecs-location__content address {
    color: var(--ecs-muted);

    font-size: 17px;
    font-style: normal;
    line-height: 1.8;
}

.ecs-location__contact {
    margin-top: 25px;
}

.ecs-location__contact span {
    display: block;
    margin-bottom: 5px;

    color: var(--ecs-muted);

    font-size: 14px;
    font-weight: 700;
}

.ecs-location__contact a {
    color: var(--ecs-blue);

    font-size: 23px;
    font-weight: 800;
}

.ecs-location__contact a:hover {
    color: var(--ecs-deep);
}

.ecs-location__note {
    margin: 14px 0 0;

    color: var(--ecs-muted);
    font-size: 16px;
}

/* =========================================================
   16. FINAL CTA
========================================================= */

.ecs-final-cta {
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        115deg,
        var(--ecs-deep),
        var(--ecs-blue)
    );
}

.ecs-final-cta__grid {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0,1.2fr)
        minmax(0,.8fr);

    align-items: end;
    gap: 50px;
}

.ecs-final-cta__grid--no-image {
    display: block;
}

.ecs-final-cta__content {
    max-width: 830px;
    padding: 75px 0 85px;
}

.ecs-final-cta h2 {
    color: #fff;
}

.ecs-final-cta p {
    margin: 0 0 28px;

    color: rgba(255,255,255,.9);

    font-size: 17px;
    line-height: 1.75;
}

.ecs-final-cta__image {
    align-self: end;
}

.ecs-final-cta__photo {
    display: block;

    width: 100%;
    max-height: 455px;

    object-fit: contain;
    object-position: center bottom;
}

/* =========================================================
   17. FAQ ACCORDION
========================================================= */

.ecs-faq {
    background: #fff;
}

.ecs-faq__list {
    max-width: 1030px;
    margin: 0 auto;
}

.ecs-faq__item {
    margin-bottom: 12px;
    overflow: hidden;

    background: #fff;

    border: 1px solid #dce8ed;
    border-radius: 10px;

    transition:
        border-color .3s ease,
        box-shadow .3s ease;
}

.ecs-faq__item:hover {
    border-color: #a3d5d1;

    box-shadow:
        0 10px 26px rgba(9,93,126,.06);
}

.ecs-faq__item[open] {
    border-color: #9edcd6;

    box-shadow:
        0 14px 35px rgba(9,93,126,.08);
}

.ecs-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
    padding: 23px 27px;

    color: var(--ecs-blue);

    cursor: pointer;
    list-style: none;

    font-size: 18px;
    font-weight: 750;
    line-height: 1.5;
}

.ecs-faq__item summary::-webkit-details-marker {
    display: none;
}

.ecs-faq__plus {
    display: grid;
    place-items: center;

    flex: 0 0 36px;
    height: 36px;

    background: #e6f6f2;
    color: var(--ecs-deep);

    border-radius: 50%;

    font-size: 27px;
    font-weight: 400;

    transition:
        transform .3s ease,
        color .3s ease,
        background .3s ease;
}

.ecs-faq__item[open]
.ecs-faq__plus {
    color: #fff;
    background: var(--ecs-blue);
    transform: rotate(45deg);
}

.ecs-faq__answer {
    padding: 0 74px 25px 27px;
}

.ecs-faq__answer p {
    margin: 0;

    color: var(--ecs-muted);

    font-size: 16px;
    line-height: 1.75;
}

/* =========================================================
   18. SCROLL ANIMATIONS
========================================================= */

.ecs-page.ecs-motion-enabled .ecs-reveal {
    opacity: 0;
    transform: translateY(28px);

    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.2,.8,.2,1);
}

.ecs-page.ecs-motion-enabled
.ecs-reveal.ecs-visible {
    opacity: 1;
    transform: translateY(0);
}

.ecs-condition-grid
.ecs-reveal:nth-child(2) {
    transition-delay: .08s;
}

.ecs-condition-grid
.ecs-reveal:nth-child(3) {
    transition-delay: .14s;
}

/* =========================================================
   19. TABLET
========================================================= */

@media (max-width: 1100px) {

    .ecs-container {
        width: min(100% - 42px, 1360px);
    }

    .ecs-section {
        padding: 75px 0;
    }

    .ecs-split {
        gap: 40px;
    }

    .ecs-consult__grid {
        gap: 35px;
    }

    .ecs-condition-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .ecs-treatment-card {
        padding: 32px;
    }

    .ecs-doctor__grid {
        gap: 40px;
    }

    .ecs-approach__box {
        padding: 37px;
        gap: 25px;
    }

    .ecs-location__content {
        padding: 37px;
    }

    .ecs-quick-info__item {
        padding: 20px 15px;
    }
}

/* =========================================================
   20. MOBILE
========================================================= */

@media (max-width: 767px) {

    .ecs-container {
        width: min(100% - 30px, 1360px);
    }

    .ecs-section {
        padding: 55px 0;
    }

    .ecs-page h2 {
        font-size: clamp(29px,7vw,37px);
    }

    .ecs-page h3 {
        font-size: 22px;
    }

    .ecs-page p,
    .ecs-page li {
        font-size: 16px;
    }

    .ecs-section-heading {
        margin-bottom: 29px;
        text-align: left;
    }

    .ecs-kicker {
        font-size: 12px;
    }

    /* HERO */

    .ecs-page .ecs-hero {
        min-height: 0;
    }

    .ecs-page .ecs-hero__inner {
        width: min(100% - 30px, 1360px);
    }

    .ecs-page .ecs-hero__image {
        object-position: 65% center;
    }

    .ecs-page .ecs-hero__overlay {
        background-image: linear-gradient(
            90deg,
            rgba(31,39,122,.97),
            rgba(9,65,115,.91)
        );
    }

    .ecs-page .ecs-hero__content {
        padding: 52px 0 66px;
    }

    .ecs-breadcrumb {
        margin-bottom: 25px;
    }

    .ecs-page .ecs-hero h1 {
        font-size: clamp(35px,8.2vw,47px);
    }

    .ecs-page .ecs-hero__description {
        font-size: 16px;
        line-height: 1.7;
    }

    /* BUTTONS */

    .ecs-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .ecs-btn {
        width: 100%;
        min-height: 53px;
        text-align: center;
    }

    /* QUICK INFO */

    .ecs-quick-info__grid {
        grid-template-columns: 1fr;
    }

    .ecs-quick-info__item,
    .ecs-quick-info__item:first-child {
        padding: 15px 0;

        border-right: 0;
        border-bottom: 1px solid var(--ecs-border);
    }

    .ecs-quick-info__item:last-child {
        border-bottom: 0;
    }

    /* GRID */

    .ecs-split,
    .ecs-split--reverse,
    .ecs-consult__grid,
    .ecs-treatment-grid,
    .ecs-doctor__grid,
    .ecs-approach__box,
    .ecs-location__grid,
    .ecs-final-cta__grid {
        grid-template-columns: 1fr;
    }

    .ecs-split {
        gap: 32px;
    }

    .ecs-image {
        aspect-ratio: 4 / 3;
    }

    .ecs-image-decoration {
        top: -9px;
        right: -9px;

        width: 90px;
        height: 90px;
    }

    .ecs-info-note {
        padding: 15px;
    }

    /* EMERGENCY */

    .ecs-emergency {
        padding: 27px 22px;
    }

    .ecs-emergency h3 {
        font-size: 23px;
    }

    /* CONDITIONS */

    .ecs-condition-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ecs-condition-card {
        min-height: 0;
        padding: 26px;
    }

    /* TREATMENTS */

    .ecs-treatment-card {
        padding: 28px 24px;
    }

    .ecs-treatment-card h3 {
        font-size: 23px;
    }

    .ecs-ube {
        grid-template-columns: 1fr;
        gap: 23px;
        padding: 28px 24px;
    }

    .ecs-ube__symbol {
        width: 105px;
        height: 105px;

        box-shadow:
            inset 0 0 0 8px rgba(204,238,234,.45);
    }

    .ecs-ube__symbol span {
        font-size: 29px;
    }

    /* DOCTOR */

    .ecs-doctor__grid {
        gap: 0;
    }

    .ecs-doctor__content {
        order: 1;
        padding: 58px 0 25px;
    }

    .ecs-doctor__image {
        order: 2;

        width: min(100%,330px);

        margin-inline: auto;
        padding-top: 0;
    }

    .ecs-doctor__photo {
        max-height: 370px;
    }

    /* DIAGNOSTICS */

    .ecs-diagnostics__tags span {
        font-size: 13px;
    }

    /* APPROACH */

    .ecs-approach__box {
        padding: 29px 23px;
        gap: 28px;
    }

    .ecs-approach__steps {
        gap: 12px;
    }

    .ecs-approach__steps span {
        min-height: 79px;
        font-size: 12px;
    }

    /* LOCATION */

    .ecs-location__visual {
        min-height: 260px;
    }

    .ecs-location__image {
        height: 300px;
    }

    .ecs-location__placeholder {
        min-height: 285px;
    }

    .ecs-location__content {
        padding: 28px 23px;
    }

    .ecs-location__content h3 {
        font-size: 24px;
    }

    .ecs-location__content address {
        font-size: 16px;
    }

    /* FINAL CTA */

    .ecs-final-cta__content {
        padding: 55px 0 30px;
    }

    .ecs-final-cta__image {
        width: min(100%,310px);
        margin-inline: auto;
    }

    .ecs-final-cta__photo {
        max-height: 320px;
    }

    /* FAQ */

    .ecs-faq__item summary {
        gap: 13px;
        padding: 19px;
        font-size: 16px;
    }

    .ecs-faq__plus {
        flex-basis: 32px;
        height: 32px;
    }

    .ecs-faq__answer {
        padding: 0 19px 21px;
    }
}

/* =========================================================
   21. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ecs-page *,
    .ecs-page *::before,
    .ecs-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .ecs-page.ecs-motion-enabled .ecs-reveal {
        opacity: 1;
        transform: none;
    }
}
