/* =====================================================================
   Elegant Clinic — Design System (loaded last, overrides legacy CSS)
   Brand: pink #ED1D7F · plum #86184b · wine #5f1136
   ===================================================================== */

:root {
    --ec-pink: #ED1D7F;
    --ec-pink-600: #d4126f;
    --ec-plum: #86184b;
    --ec-wine: #5f1136;
    --ec-night: #2b0718;
    --ec-ink: #2a1320;
    --ec-text: #4d3b45;
    --ec-muted: #85717c;
    --ec-blush: #fff5fa;
    --ec-blush-2: #fde8f2;
    --ec-line: #f0dce6;
    --ec-white: #ffffff;
    --ec-green: #1fa855;
    --ec-grad: linear-gradient(135deg, #ED1D7F 0%, #b3175f 55%, #86184b 100%);
    --ec-grad-dark: linear-gradient(135deg, #86184b 0%, #5f1136 60%, #2b0718 100%);
    --ec-radius: 22px;
    --ec-radius-sm: 14px;
    --ec-shadow: 0 18px 50px -18px rgba(134, 24, 75, .35);
    --ec-shadow-sm: 0 8px 24px -10px rgba(95, 17, 54, .25);
    --ec-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --ec-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --ec-ease: cubic-bezier(.22, 1, .36, 1);
    --ec-header-h: 84px;

    /* legacy variables re-pointed to brand */
    --theme-color: #86184b;
    --theme-bg-color: #fff5fa;
    --main-font-color: #ED1D7F;
    --form-bg-color: #5f1136;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ec-header-h) + 12px); }
body {
    font-family: var(--ec-font);
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--ec-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--ec-plum); transition: color .25s; }
a:hover { color: var(--ec-pink); }
p { margin-bottom: 1rem; }
h1, h2, h3, h4, h5 {
    font-family: var(--ec-display);
    color: var(--ec-ink);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
::selection { background: var(--ec-pink); color: #fff; }
:focus-visible { outline: 3px solid rgba(237, 29, 127, .45); outline-offset: 3px; }

.cusContainer, .ec-container {
    width: min(1240px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}
.cusMy { margin: clamp(48px, 7vw, 90px) 0; }
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 20000;
    background: var(--ec-plum); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons (new + legacy unified) ---------- */
.ec-btn,
.hairVideo-btn, .clinic-btn, .bookAppointmetBtn, .men-section7-btn,
.men-section5-form-btn, .cusContBox button, .callLebel button,
.contactInfor button, .footerBtn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .95rem 1.7rem;
    border: 0;
    border-radius: 999px;
    font-family: var(--ec-font);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    color: #fff;
    background: var(--ec-grad);
    background-size: 160% 160%;
    box-shadow: 0 12px 28px -12px rgba(237, 29, 127, .7);
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    text-decoration: none;
    transition: transform .35s var(--ec-ease), box-shadow .35s var(--ec-ease), background-position .6s var(--ec-ease), color .25s;
}
.ec-btn::after,
.hairVideo-btn::after, .clinic-btn::after, .bookAppointmetBtn::after, .men-section7-btn::after,
.cusContBox button::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .45) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform .8s var(--ec-ease);
    z-index: -1;
}
.ec-btn:hover,
.hairVideo-btn:hover, .clinic-btn:hover, .bookAppointmetBtn:hover, .men-section7-btn:hover,
.men-section5-form-btn:hover, .cusContBox button:hover, .contactInfor button:hover, .footerBtn:hover {
    color: #fff;
    transform: translateY(-3px);
    background-position: 100% 0;
    box-shadow: 0 18px 36px -14px rgba(237, 29, 127, .8);
    border: 0;
}
.ec-btn:hover::after,
.hairVideo-btn:hover::after, .clinic-btn:hover::after, .bookAppointmetBtn:hover::after,
.men-section7-btn:hover::after, .cusContBox button:hover::after { transform: translateX(120%); }
.ec-btn i { font-size: 1.2em; }
.ec-btn--ghost, .callLebel button {
    background: transparent;
    color: var(--ec-plum);
    box-shadow: inset 0 0 0 2px var(--ec-line);
}
.ec-btn--ghost:hover { color: var(--ec-pink); box-shadow: inset 0 0 0 2px var(--ec-pink); background: #fff; }
.ec-btn--light { background: #fff; color: var(--ec-plum); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .35); }
.ec-btn--light:hover { color: var(--ec-pink); background: #fff; }
.ec-btn--outline-light, .callLebel button {
    background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6);
}
.ec-btn--outline-light:hover, .callLebel button:hover { background: #fff; color: var(--ec-plum); box-shadow: none; }
.ec-btn--wa { background: linear-gradient(135deg, #25d366, #128c4a); box-shadow: 0 12px 28px -12px rgba(18, 140, 74, .7); }
.ec-btn--sm { padding: .65rem 1.2rem; font-size: .92rem; }

/* ---------- Section helpers ---------- */
.ec-section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.ec-section--blush { background: var(--ec-blush); }
.ec-section--dark { background: var(--ec-grad-dark); color: rgba(255, 255, 255, .82); overflow: hidden; }
.ec-section--dark h2, .ec-section--dark h3 { color: #fff; }
.ec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.ec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.ec-head p { color: var(--ec-muted); font-size: 1.05rem; }
.ec-section--dark .ec-head p { color: rgba(255, 255, 255, .72); }
.ec-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--ec-font);
    font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--ec-pink);
    margin-bottom: .9rem;
}
.ec-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.ec-section--dark .ec-eyebrow { color: #ff8cc3; }
.ec-grad-text {
    font-style: italic;
    background: var(--ec-grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--ec-pink);
}
.ec-section--dark .ec-grad-text { background: linear-gradient(90deg, #ff9ccb, #ffd1e6); -webkit-background-clip: text; background-clip: text; }

/* ---------- Top bar ---------- */
.ec-topbar {
    background: var(--ec-wine);
    color: rgba(255, 255, 255, .85);
    font-size: .84rem;
}
.ec-topbar .ec-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.ec-topbar a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.ec-topbar a:hover { color: #fff; }
.ec-topbar__info { display: flex; gap: 22px; flex-wrap: wrap; }
.ec-topbar__info span, .ec-topbar__info a { display: inline-flex; align-items: center; gap: 6px; }
.ec-topbar__info i { color: #ff8cc3; font-size: 1rem; }
.ec-topbar__social { display: flex; gap: 12px; }
.ec-topbar__social a { font-size: 1.05rem; }

/* ---------- Header ---------- */
.ec-header {
    position: sticky !important;
    top: 0;
    left: auto;
    z-index: 1000 !important;
    width: 100%;
    padding: 0 !important;
    background: rgba(255, 255, 255, .88) !important;
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(240, 220, 230, .7);
    transition: box-shadow .35s var(--ec-ease), background .35s;
}
.ec-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(95, 17, 54, .45); background: rgba(255, 255, 255, .96) !important; }
.ec-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--ec-header-h); transition: height .35s var(--ec-ease); }
.ec-header.is-scrolled .ec-header__inner { height: 70px; }
.ec-logo img { width: 210px; height: auto; display: block; transition: width .35s var(--ec-ease); }
.ec-header.is-scrolled .ec-logo img { width: 185px; }

.ec-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ec-nav li { position: relative; }
.ec-nav__link {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 10px 13px;
    font-size: .92rem; font-weight: 500;
    color: var(--ec-ink);
    text-decoration: none;
    background: none; border: 0;
    border-radius: 999px;
    position: relative;
    transition: color .25s, background .25s;
}
.ec-nav__link::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
    background: var(--ec-grad); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ec-ease);
}
.ec-nav__link:hover, .ec-nav__link.is-active { color: var(--ec-pink); }
.ec-nav__link:hover::after, .ec-nav__link.is-active::after { transform: scaleX(1); }
.ec-nav__link i { font-size: 1.1rem; transition: transform .3s; }
.ec-dropdown {
    position: absolute; top: calc(100% + 10px); left: 50%;
    min-width: 280px;
    list-style: none; margin: 0; padding: 10px;
    background: #fff;
    border: 1px solid var(--ec-line);
    border-radius: 18px;
    box-shadow: var(--ec-shadow);
    opacity: 0; visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity .3s var(--ec-ease), transform .3s var(--ec-ease), visibility .3s;
}
.ec-dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.ec-has-drop:hover > .ec-dropdown,
.ec-has-drop:focus-within > .ec-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.ec-has-drop:hover > .ec-nav__link i { transform: rotate(180deg); }
.ec-dropdown a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: .92rem; font-weight: 500;
    color: var(--ec-ink); text-decoration: none;
    transition: background .25s, color .25s, padding .25s;
}
.ec-dropdown a i { color: var(--ec-pink); font-size: 1.15rem; }
.ec-dropdown a:hover { background: var(--ec-blush); color: var(--ec-pink); padding-left: 16px; }

.ec-header__cta { display: flex; align-items: center; gap: 10px; }
.ec-call-pill {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--ec-ink);
    line-height: 1.2;
}
.ec-call-pill__icon {
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--ec-blush-2); color: var(--ec-pink); font-size: 1.25rem;
    position: relative;
}
.ec-call-pill__icon::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid var(--ec-pink); animation: ec-ring 2.2s infinite;
}
.ec-call-pill small { display: block; font-size: .72rem; color: var(--ec-muted); }
.ec-call-pill strong { font-size: .95rem; white-space: nowrap; }
.ec-burger {
    display: none;
    width: 46px; height: 46px; border-radius: 14px;
    border: 0; background: var(--ec-blush-2); color: var(--ec-plum);
    font-size: 1.6rem; place-items: center;
}

@media (max-width: 1199px) {
    .ec-call-pill { display: none; }
    .ec-nav__link { padding: 10px 9px; font-size: .88rem; }
}
@media (max-width: 991px) {
    :root { --ec-header-h: 72px; }
    .ec-topbar__info .ec-hide-md, .ec-topbar__social { display: none; }
    .ec-topbar .ec-container { justify-content: center; }
    .ec-logo img { width: 170px; }
    .ec-header.is-scrolled .ec-logo img { width: 160px; }
    .ec-burger { display: grid; }
    .ec-header__cta .ec-btn { display: none; }
    .ec-nav {
        position: fixed; inset: 0 0 0 auto;
        width: min(360px, 88vw); height: 100dvh;
        background: #fff;
        padding: 20px 20px 32px;
        overflow-y: auto;
        box-shadow: -20px 0 60px -20px rgba(43, 7, 24, .4);
        transform: translateX(105%);
        transition: transform .45s var(--ec-ease);
        z-index: 1200;
    }
    .ec-nav.is-open { transform: none; }
    .ec-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .ec-nav__link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1rem; border-radius: 12px; }
    .ec-nav__link::after { display: none; }
    .ec-nav__link:hover { background: var(--ec-blush); }
    .ec-dropdown {
        position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; border: 0; padding: 0 0 0 10px; min-width: 0;
        max-height: 0; overflow: hidden; transition: max-height .4s var(--ec-ease);
    }
    .ec-has-drop:hover > .ec-dropdown, .ec-has-drop:focus-within > .ec-dropdown { transform: none; }
    .ec-has-drop.is-open > .ec-dropdown { max-height: 500px; }
    .ec-has-drop:hover > .ec-nav__link i { transform: none; }
    .ec-has-drop.is-open > .ec-nav__link i { transform: rotate(180deg); }
}
.ec-nav__mobile-head, .ec-nav__mobile-foot { display: none; }
@media (max-width: 991px) {
    .ec-nav__mobile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
    .ec-nav__mobile-head img { width: 150px; }
    .ec-nav__close { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--ec-blush-2); color: var(--ec-plum); font-size: 1.5rem; }
    .ec-nav__mobile-foot { display: grid; gap: 10px; margin-top: 22px; }
    .ec-nav__mobile-foot .ec-btn { width: 100%; }
}
.ec-overlay {
    position: fixed; inset: 0; background: rgba(43, 7, 24, .5);
    backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; z-index: 1100;
}
.ec-overlay.is-open { opacity: 1; visibility: visible; }
body.ec-lock { overflow: hidden; }

/* ---------- Legacy inner-page hero (.sliderBackground) ---------- */
.sliderBackground {
    position: relative;
    height: auto !important;
    min-height: clamp(320px, 50vh, 500px);
    background-color: var(--ec-wine) !important;
    background-size: cover;
    background-position: center;
    display: flex; align-items: center;
    overflow: hidden;
    isolation: isolate;
}
.sliderBackground::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(43, 7, 24, .92) 0%, rgba(95, 17, 54, .78) 45%, rgba(237, 29, 127, .25) 100%);
}
.sliderBackground::after {
    content: ""; position: absolute; width: 520px; height: 520px; right: -140px; bottom: -260px; z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237, 29, 127, .55), transparent 65%);
    animation: ec-float 9s ease-in-out infinite;
}
.sliderBackground .sliderTextBox {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    width: min(1240px, calc(100% - 32px)) !important;
    margin: 0 auto;
    padding: 70px 0;
    color: #fff;
    animation: ec-rise .9s var(--ec-ease) both;
}
.sliderTextBox > b, .ec-crumb {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--ec-font); font-size: .82rem; font-weight: 500; letter-spacing: .06em;
    padding: 7px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    color: rgba(255, 255, 255, .9);
    backdrop-filter: blur(6px);
    margin-bottom: 18px;
}
.ec-crumb a { color: #fff; text-decoration: none; }
.ec-crumb a:hover { color: #ff9ccb; }
.sliderTextBox h1, .sliderTextBox h2 {
    color: #fff !important;
    font-size: clamp(2rem, 4.4vw, 3.4rem) !important;
    max-width: 780px;
    margin: 0 0 14px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .25);
}
.sliderTextBox p { color: rgba(255, 255, 255, .82); max-width: 620px; }
.ec-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- Legacy content restyle (inner pages) ---------- */
.men-section2, .treating, .about-page-media, .star-ElegentC { background: var(--ec-blush) !important; }
.men-section7, .men-section5, .contactInfor, .callLebel {
    background: var(--ec-grad-dark) !important;
    color: #fff;
    position: relative; overflow: hidden;
}
.men-section7 h2, .men-section5 h2, .contactInfor h2, .callLebel h1, .callLebel h2 { color: #fff; }
.men-section2-heading, .treating-heading, .team-banner-heading, .faq-heading span,
.section-heading span, .hairVideo-heading, .men-section6-heading h2, .men-section1-heading h2 {
    font-family: var(--ec-display) !important;
    color: var(--ec-ink);
    line-height: 1.2 !important;
}
.men-section2-para { width: auto; max-width: 720px; }
.men-section2-text p { color: var(--ec-plum); border-left-color: var(--ec-pink); }
.about-page-media-text p { color: var(--ec-text); font-size: 1rem; line-height: 1.8; text-align: left; }
.men-section1-client-img, .result-slider-img1, .main-video-box { border-radius: var(--ec-radius-sm); overflow: hidden; }
.men-section1-client-img img, .result-slider-img1 img, .main-video-box img { transition: transform .8s var(--ec-ease); }
.men-section1-client-img:hover img, .main-video-box:hover img { transform: scale(1.05); }
.men-section1-before, .men-section1-after, .btn-before, .btn-after, .result-slider-img1 span {
    background: var(--ec-grad) !important; color: #fff !important;
    padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600;
}
.men-section6-success-text { border-right-color: var(--ec-line); }
.priClass { border-right-color: var(--ec-line) !important; }
.table { --bs-table-striped-bg: var(--ec-blush); }
table th { background: var(--ec-plum); color: #fff; }
.myServCss.border, .border-left.border { border-color: var(--ec-line) !important; border-radius: var(--ec-radius-sm); }

/* Legacy FAQ accordion */
.faq-main-box { cursor: pointer; }
.faq-sub-box {
    background: #fff;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius-sm);
    padding: 18px 22px !important;
    margin-bottom: 12px;
    transition: box-shadow .3s, border-color .3s;
}
.faq-sub-box:hover { border-color: rgba(237, 29, 127, .35); box-shadow: var(--ec-shadow-sm); }
.faq-sub-box hr { display: none; }
.faq-question {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    font-family: var(--ec-font); font-size: 1.05rem !important; font-weight: 600; color: var(--ec-ink) !important;
}
.faq-question span { float: none !important; font-size: 1.4rem !important; color: var(--ec-pink); }
.faq-question span i { position: static !important; margin: 0 !important; display: inline-block; transition: transform .35s var(--ec-ease); }
.faq-answer { background: none !important; margin: 0 !important; transition: max-height .6s var(--ec-ease), padding .3s !important; }
.faq-answer p { color: var(--ec-text); margin: 0; }
.faq-main-box.active .faq-answer { max-height: 600px; padding: 12px 0 0 !important; }
.faq-main-box.active .faq-sub-box { border-color: var(--ec-pink); }
.faq-heading p { font-weight: 400 !important; color: var(--ec-muted); }

/* legacy form inputs on inner pages */
.cusContBox input, .cusContBox textarea, .men-section5-input input {
    border: 1.5px solid var(--ec-line); border-radius: 12px; padding: 12px 14px !important; background: #fff;
    font-family: var(--ec-font); font-size: .95rem; transition: border-color .25s, box-shadow .25s;
}
.cusContBox input:focus, .cusContBox textarea:focus { outline: none; border-color: var(--ec-pink); box-shadow: 0 0 0 4px rgba(237, 29, 127, .12); }
.contctCusDiv { background: var(--ec-blush) !important; box-shadow: var(--ec-shadow) !important; border: 1px solid var(--ec-line); }
.vrIcons { transition: transform .4s var(--ec-ease); }
.vrIcons:hover { transform: translateY(-6px); }
.vrIcons div { font-size: 1.1rem !important; font-weight: 500; color: var(--ec-ink); }
.reviewGoogle { border-radius: var(--ec-radius); box-shadow: var(--ec-shadow-sm); }
.reviewTextBox { border-left-color: var(--ec-pink) !important; line-height: 1.8 !important; }
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span { background: var(--ec-pink) !important; }
.owl-theme .owl-dots .owl-dot span { background: #e9c3d6; }

/* ---------- Reveal animations ---------- */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .9s var(--ec-ease), transform .9s var(--ec-ease);
    transition-delay: var(--d, 0s);
}
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes ec-rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes ec-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-20px, -24px); } }
@keyframes ec-float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes ec-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes ec-spin { to { transform: rotate(360deg); } }
@keyframes ec-marquee { to { transform: translateX(-50%); } }
@keyframes ec-blob {
    0%, 100% { border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%; transform: translate(0, 0) rotate(0); }
    33% { border-radius: 60% 40% 38% 62% / 55% 60% 40% 45%; transform: translate(30px, -20px) rotate(40deg); }
    66% { border-radius: 38% 62% 55% 45% / 40% 50% 50% 60%; transform: translate(-20px, 20px) rotate(-30deg); }
}
@keyframes ec-grad-move { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes ec-word { from { opacity: 0; transform: translateY(.6em) rotate(3deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Floating actions ---------- */
.ec-fab {
    position: fixed; right: 18px; bottom: 22px; z-index: 900;
    display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.ec-fab a, .ec-fab button {
    width: 56px; height: 56px; border-radius: 50%; border: 0;
    display: grid; place-items: center;
    color: #fff; font-size: 1.7rem; text-decoration: none;
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .35);
    position: relative;
    transition: transform .3s var(--ec-ease);
}
.ec-fab a:hover, .ec-fab button:hover { transform: scale(1.08); color: #fff; }
.ec-fab__wa { background: #25d366; }
.ec-fab__wa::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid #25d366; animation: ec-ring 2s infinite;
}
.ec-fab__book { background: var(--ec-grad); }
.ec-fab__top { background: #fff !important; color: var(--ec-plum) !important; width: 46px !important; height: 46px !important; font-size: 1.4rem !important; opacity: 0; pointer-events: none; transform: translateY(10px); }
.ec-fab__top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.ec-fab__label {
    position: absolute; right: 66px; top: 50%; transform: translateY(-50%);
    background: var(--ec-ink); color: #fff; font-size: .8rem; font-weight: 500; white-space: nowrap;
    padding: 6px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.ec-fab a:hover .ec-fab__label, .ec-fab button:hover .ec-fab__label { opacity: 1; }

.ec-mobilebar { display: none; }
@media (max-width: 767px) {
    .ec-fab { bottom: 84px; right: 14px; }
    .ec-fab__book { display: none !important; }
    .ec-mobilebar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
        display: grid; grid-template-columns: 1fr 1fr 1.3fr;
        background: #fff; border-top: 1px solid var(--ec-line);
        box-shadow: 0 -10px 30px -12px rgba(95, 17, 54, .3);
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        gap: 8px;
    }
    .ec-mobilebar a, .ec-mobilebar button {
        display: flex; align-items: center; justify-content: center; gap: 6px;
        border: 0; border-radius: 12px; padding: 11px 6px;
        font-size: .88rem; font-weight: 600; text-decoration: none;
        background: var(--ec-blush); color: var(--ec-plum);
    }
    .ec-mobilebar i { font-size: 1.2rem; }
    .ec-mobilebar .is-wa { background: #e8f9ef; color: #128c4a; }
    .ec-mobilebar .is-book { background: var(--ec-grad); color: #fff; }
    body { padding-bottom: 68px; }
}

/* ---------- Appointment modal ---------- */
.ec-modal {
    position: fixed; inset: 0; z-index: 15000;
    display: grid; place-items: center;
    padding: 16px;
    background: rgba(43, 7, 24, .6);
    backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ec-ease), visibility .35s;
}
.ec-modal.is-open { opacity: 1; visibility: visible; }
.ec-modal__dialog {
    position: relative;
    width: min(920px, 100%);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 40px 100px -30px rgba(43, 7, 24, .6);
    display: grid; grid-template-columns: 1fr 1.15fr;
    transform: translateY(30px) scale(.97);
    transition: transform .45s var(--ec-ease);
}
.ec-modal.is-open .ec-modal__dialog { transform: none; }
.ec-modal__aside {
    background: var(--ec-grad-dark);
    color: rgba(255, 255, 255, .85);
    padding: 36px 30px;
    border-radius: 26px 0 0 26px;
    position: relative; overflow: hidden;
}
.ec-modal__aside::after {
    content: ""; position: absolute; width: 300px; height: 300px; right: -120px; bottom: -120px;
    border-radius: 50%; background: radial-gradient(circle, rgba(237, 29, 127, .6), transparent 70%);
}
.ec-modal__aside h2 { color: #fff; font-size: 1.8rem; }
.ec-modal__aside ul { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.ec-modal__aside li { display: flex; gap: 10px; align-items: center; font-size: .95rem; }
.ec-modal__aside li i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #ff9ccb; font-size: 1.1rem; flex: none; }
.ec-modal__aside a { color: #fff; font-weight: 600; text-decoration: none; }
.ec-modal__body { padding: 34px 30px; }
.ec-modal__body h3 { font-size: 1.35rem; margin-bottom: 4px; }
.ec-modal__body > p { color: var(--ec-muted); font-size: .92rem; }
.ec-modal__close {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    width: 40px; height: 40px; border-radius: 50%; border: 0;
    background: var(--ec-blush-2); color: var(--ec-plum); font-size: 1.4rem;
    display: grid; place-items: center; transition: transform .3s, background .3s;
}
.ec-modal__close:hover { transform: rotate(90deg); background: var(--ec-pink); color: #fff; }
.ec-grades { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 10px 0 18px; }
.ec-grade {
    border: 1.5px solid var(--ec-line); border-radius: 12px; background: #fff;
    padding: 8px 4px; text-align: center; font-size: .7rem; font-weight: 600; color: var(--ec-muted);
    cursor: pointer; transition: border-color .25s, transform .25s, background .25s, color .25s;
}
.ec-grade img { width: 100%; max-width: 46px; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; display: block; margin: 0 auto 4px; }
.ec-grade:hover { transform: translateY(-2px); border-color: rgba(237, 29, 127, .5); }
.ec-grade.is-active { border-color: var(--ec-pink); background: var(--ec-blush); color: var(--ec-pink); }
.ec-grade.is-active img { filter: none; opacity: 1; }
.ec-field { position: relative; margin-bottom: 14px; }
.ec-field label { display: block; font-size: .8rem; font-weight: 600; color: var(--ec-ink); margin-bottom: 6px; }
.ec-field input, .ec-field textarea, .ec-field select {
    width: 100%;
    border: 1.5px solid var(--ec-line); border-radius: 12px;
    padding: 12px 14px; font-family: var(--ec-font); font-size: .95rem; color: var(--ec-ink);
    background: #fff; transition: border-color .25s, box-shadow .25s;
}
.ec-field input:focus, .ec-field textarea:focus, .ec-field select:focus { outline: none; border-color: var(--ec-pink); box-shadow: 0 0 0 4px rgba(237, 29, 127, .12); }
.ec-field.has-error input { border-color: #d93025; }
.ec-field__err { display: none; font-size: .76rem; color: #d93025; margin-top: 4px; }
.ec-field.has-error .ec-field__err { display: block; }
.ec-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ec-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ec-form-note { font-size: .76rem; color: var(--ec-muted); margin-top: 10px; display: flex; gap: 6px; align-items: center; }
.ec-form-status { display: none; margin-top: 12px; padding: 10px 14px; border-radius: 10px; font-size: .9rem; }
.ec-form-status.is-error { display: block; background: #fdecea; color: #b3261e; }
.ec-success { text-align: center; padding: 30px 10px; }
.ec-success__icon {
    width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%;
    display: grid; place-items: center; font-size: 2.6rem; color: #fff; background: var(--ec-grad);
    animation: ec-rise .6s var(--ec-ease) both;
}
@media (max-width: 767px) {
    .ec-modal { padding: 0; align-items: end; }
    .ec-modal__dialog { grid-template-columns: 1fr; border-radius: 24px 24px 0 0; max-height: 94dvh; }
    .ec-modal__aside { display: none; }
    .ec-modal__body { padding: 28px 18px 24px; }
    .ec-grades { grid-template-columns: repeat(3, 1fr); }
    .ec-form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Footer ---------- */
.ec-footer {
    position: relative;
    background: var(--ec-night) !important;
    color: rgba(255, 255, 255, .7);
    padding: 0 !important;
    font-size: .94rem;
    overflow: hidden;
}
.ec-footer::before {
    content: ""; position: absolute; width: 700px; height: 700px; left: -300px; top: -350px;
    border-radius: 50%; background: radial-gradient(circle, rgba(237, 29, 127, .22), transparent 65%);
    pointer-events: none;
}
.ec-footer__cta {
    position: relative;
    background: var(--ec-grad);
    background-size: 200% 200%;
    animation: ec-grad-move 10s ease infinite;
    border-radius: 28px;
    padding: clamp(28px, 4vw, 48px);
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    transform: translateY(-50%);
    margin-bottom: -40px;
    box-shadow: 0 30px 60px -25px rgba(237, 29, 127, .6);
}
.ec-footer__cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.ec-footer__cta p { color: rgba(255, 255, 255, .85); margin: 0; }
.ec-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ec-footer-spacer { height: 110px; background: transparent; }
.ec-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 30px 0 50px; position: relative; }
.ec-footer h3 { font-family: var(--ec-font); font-size: 1rem; font-weight: 600; color: #fff; letter-spacing: .04em; margin-bottom: 18px; }
.ec-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ec-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .25s, padding .25s; }
.ec-footer ul a:hover { color: #fff; padding-left: 6px; }
.ec-footer__brand img { width: 200px; background: #fff; padding: 10px 14px; border-radius: 14px; margin-bottom: 18px; }
.ec-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.ec-footer__contact i { color: #ff8cc3; font-size: 1.2rem; margin-top: 2px; }
.ec-footer__rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; }
.ec-stars { color: #ffc107; letter-spacing: 2px; }
.ec-social { display: flex; gap: 10px; margin-top: 18px; }
.ec-social a {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.25rem;
    transition: background .3s, transform .3s;
}
.ec-social a:hover { background: var(--ec-pink); transform: translateY(-3px); color: #fff; }
.ec-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 20px 0;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: .85rem;
}
.ec-footer__bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 991px) {
    .ec-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
    .ec-footer__grid { grid-template-columns: 1fr; gap: 30px; }
    .ec-footer__cta { transform: translateY(-30%); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* Justified text leaves big word gaps on small screens */
@media (max-width: 767px) {
    #main p, #main [style*="justify"], .men-section2-para, .treating-main-para { text-align: left !important; }
}

/* ---------- Booking popup v2 ---------- */
#popupShowBox.ec-modal { display: grid !important; }
.ec-modal__dialog { grid-template-columns: .9fr 1.2fr; }
.ec-modal__rating { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 20px; font-size: .82rem; position: relative; z-index: 1; }
.ec-modal__contact { display: grid; gap: 10px; position: relative; z-index: 1; }
.ec-modal__contact a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border-radius: 14px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15);
    color: #fff; font-weight: 600; font-size: .95rem; transition: background .3s, transform .3s;
}
.ec-modal__contact a:hover { background: rgba(255, 255, 255, .2); transform: translateX(4px); color: #fff; }
.ec-modal__contact i { font-size: 1.25rem; color: #ff9ccb; }

.ec-steps-head { margin-bottom: 18px; padding-right: 40px; }
.ec-steps-head h3 { font-size: 1.45rem; margin-bottom: 12px; }
.ec-progress { height: 6px; border-radius: 6px; background: var(--ec-blush-2); overflow: hidden; }
.ec-progress__bar { display: block; height: 100%; width: 50%; border-radius: 6px; background: var(--ec-grad); transition: width .5s var(--ec-ease); }
.ec-steps-label { margin: 8px 0 0; font-size: .8rem; color: var(--ec-muted); }
.ec-steps-label [data-step-label] { font-weight: 600; color: var(--ec-pink); }

.ec-step-pane { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.ec-step-pane.is-active { display: block; animation: ec-pane-in .45s var(--ec-ease); }
@keyframes ec-pane-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.ec-legend { float: none; width: auto; font-family: var(--ec-font); font-size: .85rem; font-weight: 600; color: var(--ec-ink); margin: 0 0 8px; padding: 0; }
.ec-grade:focus-within, .ec-option:focus-within { outline: 3px solid rgba(237, 29, 127, .35); outline-offset: 2px; }

.ec-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.ec-option {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 14px 8px; border-radius: 14px; cursor: pointer;
    border: 1.5px solid var(--ec-line); background: #fff;
    font-size: .85rem; font-weight: 600; color: var(--ec-muted);
    transition: all .3s var(--ec-ease);
}
.ec-option i { font-size: 1.6rem; color: var(--ec-muted); transition: color .3s, transform .3s; }
.ec-option:hover { border-color: rgba(237, 29, 127, .5); transform: translateY(-2px); }
.ec-option.is-active { border-color: var(--ec-pink); background: var(--ec-blush); color: var(--ec-pink); box-shadow: 0 10px 22px -14px rgba(237, 29, 127, .8); }
.ec-option.is-active i { color: var(--ec-pink); transform: scale(1.1); }

.ec-btn--block { width: 100%; }
.ec-input { position: relative; display: flex; align-items: center; }
.ec-input > i { position: absolute; left: 14px; font-size: 1.15rem; color: var(--ec-muted); pointer-events: none; transition: color .25s; }
.ec-input input { padding-left: 42px !important; }
.ec-input:focus-within > i { color: var(--ec-pink); }
.ec-input__pre {
    position: absolute; left: 1.5px; top: 1.5px; bottom: 1.5px; display: grid; place-items: center;
    padding: 0 12px; border-radius: 11px 0 0 11px; background: var(--ec-blush);
    font-size: .9rem; font-weight: 600; color: var(--ec-plum); border-right: 1.5px solid var(--ec-line);
}
.ec-input__pre + input { padding-left: 64px !important; }
.ec-field label small { font-weight: 400; color: var(--ec-muted); }
.ec-step-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 6px; }

.ec-success p { color: var(--ec-muted); }
.ec-success h3 { margin-bottom: 8px; }
.ec-success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.ec-success__icon { position: relative; }
.ec-success__icon::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--ec-pink); animation: ec-ring 1.8s infinite; }

@media (max-width: 767px) {
    .ec-modal__dialog { grid-template-columns: 1fr; }
    .ec-steps-head h3 { font-size: 1.25rem; }
    .ec-options i { font-size: 1.35rem; }
}
