/*
Theme Name: Dr. Michael Onsy M. Centers
Theme URI: https://example.com/
Author: Custom Theme Build
Description: ثيم وردبريس عربي RTL احترافي لمركز د. مايكل أنسي، مبني حول الهوية البصرية المرفقة وقابل للتحكم من لوحة التحكم.
Version: 2.1.8
Text Domain: michael-onsy
Requires at least: 6.0
Requires PHP: 7.4
*/

:root{--blue:#0755c9;--blue-dark:#063a91;--green:#35a923;--ink:#10213d;--muted:#66758b;--soft:#f4f8fc;--line:#e4ebf4;--white:#fff;--shadow:0 18px 50px rgba(16,33,61,.10);--radius:22px;--container:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Cairo","Tajawal",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#fff;line-height:1.8;direction:rtl;text-align:right}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}.container{width:min(calc(100% - 40px),var(--container));margin-inline:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.section{padding:88px 0}.section--soft{background:var(--soft)}.section-head{text-align:center;max-width:760px;margin:0 auto 44px}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--green);font-weight:800;font-size:.9rem;margin-bottom:8px}.section-title{font-size:clamp(1.8rem,3.2vw,2.7rem);line-height:1.25;margin:0 0 12px;font-weight:900;color:var(--ink)}.section-desc{color:var(--muted);margin:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:12px;padding:13px 22px;font-weight:800;border:1px solid transparent;transition:.25s ease;cursor:pointer}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--blue);color:#fff;box-shadow:0 12px 25px rgba(7,85,201,.22)}.btn-primary:hover{background:var(--blue-dark)}.btn-secondary{background:#fff;color:var(--blue);border-color:#cfe0f5}.btn-green{background:var(--green);color:#fff}.btn-light{background:#fff;color:var(--ink)}.pill{display:inline-flex;align-items:center;gap:8px;border-radius:999px;background:#eef6ff;color:var(--blue);padding:7px 12px;font-weight:800;font-size:.86rem}.topbar{background:var(--ink);color:#fff;font-size:.88rem}.topbar__inner{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:15px}.topbar__contact{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.topbar a{opacity:.96}.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(228,235,244,.85)}.header-inner{min-height:96px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;min-width:260px}.brand img{width:auto;max-width:380px;max-height:88px;object-fit:contain}.nav-toggle{display:none;margin-inline-start:auto;border:0;background:#eef5ff;color:var(--blue);width:44px;height:44px;border-radius:12px;font-size:1.35rem}.primary-nav{margin-inline-start:auto}.primary-nav ul{list-style:none;display:flex;align-items:center;gap:24px;margin:0;padding:0}.primary-nav a{font-weight:700;color:#34445d;font-size:.94rem}.primary-nav a:hover{color:var(--blue)}.header-actions{display:flex;align-items:center;gap:10px}
.hero{position:relative;overflow:hidden;background:#fff;padding:0;min-height:0}
.hero--cover{border-bottom:1px solid #eef2f7}
.hero__cover-grid{width:100%;min-height:560px;display:grid;grid-template-columns:minmax(0,48%) minmax(0,52%);align-items:stretch}
.hero__cover-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;text-align:right;padding:46px clamp(28px,5vw,92px) 46px clamp(28px,3.5vw,58px);background:linear-gradient(90deg,#fff 0%,#fff 72%,rgba(255,255,255,.96) 100%)}
.hero__brand-lockup{width:min(100%,470px);margin:0 0 22px;align-self:flex-start}
.hero__brand-lockup img{width:100%;height:auto;max-height:none;object-fit:contain}
.hero__doctor-name{margin:0;line-height:1;font-weight:900;letter-spacing:-.04em;font-size:clamp(3rem,5.4vw,5.05rem);color:var(--green);align-self:flex-start}
.hero__signature{font-family:"Aref Ruqaa","Amiri","Cairo",serif;font-size:clamp(2rem,3.2vw,3rem);font-style:italic;font-weight:700;color:var(--blue);line-height:1;margin:0 0 22px;align-self:flex-start;transform:rotate(-2deg)}
.hero__specialties{display:grid;gap:18px;width:100%;max-width:720px}
.hero__specialty{display:grid;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:16px}
.hero__specialty p{margin:0;color:var(--blue);font-weight:800;font-size:clamp(1.1rem,1.7vw,1.55rem);line-height:1.45}
.hero__specialty-icon{width:62px;height:62px;border:1.5px solid #8fd18a;border-radius:50%;display:grid;place-items:center;color:var(--blue);background:rgba(255,255,255,.86)}
.hero__specialty-icon svg{width:44px;height:44px}
.hero__actions--cover{margin-top:24px;align-self:flex-start}
.hero__cover-photo{position:relative;min-height:560px;overflow:hidden;background:#f4f8fc}
.hero__cover-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.82) 0%,rgba(255,255,255,0) 20%);pointer-events:none}
.hero__cover-photo img{width:100%;height:100%;min-height:560px;object-fit:cover;object-position:center right}
.hero__media,.hero__copy,.hero__logo,.hero__subtitle,.hero__bullets,.hero__mini{display:none}
.stats{padding:20px 0 10px;background:#fff}.stats__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat{border:1px solid var(--line);background:#fff;border-radius:18px;padding:22px;text-align:center;box-shadow:0 10px 28px rgba(16,33,61,.045)}.stat__num{font-size:clamp(1.8rem,3vw,2.5rem);font-weight:900;color:var(--blue);line-height:1.15}.stat__label{font-size:.9rem;color:var(--muted);margin-top:5px}.about{display:grid;grid-template-columns:.8fr 1.2fr;gap:55px;align-items:center}.about__visual{position:relative}.about__visual img{width:100%;border-radius:28px;box-shadow:var(--shadow)}.about__badge{position:absolute;left:-18px;bottom:18px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;padding:14px 18px}.about__badge b{display:block;color:var(--blue);font-size:1.3rem}.about__copy h2{font-size:clamp(2rem,3.5vw,3rem);line-height:1.25;margin:0 0 15px}.about__copy p{color:var(--muted)}.check-list{display:grid;gap:12px;list-style:none;padding:0;margin:22px 0 28px}.check-list li{display:flex;gap:10px;align-items:flex-start;font-weight:700}.check-list i{color:var(--green);margin-top:6px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 30px rgba(16,33,61,.05);padding:26px;transition:.25s ease}.card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.service-card__icon{width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg,#e9f3ff,#edf9eb);display:grid;place-items:center;color:var(--blue);font-size:1.35rem;margin-bottom:18px}.card h3{margin:0 0 9px;font-size:1.2rem}.card p{margin:0;color:var(--muted)}.card__link{display:inline-flex;margin-top:18px;color:var(--blue);font-weight:800}.location-card{display:flex;flex-direction:column}.location-card__head{display:flex;align-items:center;justify-content:space-between;gap:10px}.location-card__icon{color:var(--green);font-size:1.5rem}.location-card__meta{display:grid;gap:8px;margin-top:15px;color:var(--muted);font-size:.93rem}.location-card__meta span{display:flex;gap:9px;align-items:flex-start}.location-card__actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:20px}.testimonials{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.quote{position:relative}.quote:before{content:"“";position:absolute;left:20px;top:2px;color:#dceaff;font-size:5rem;line-height:1;font-family:Georgia,serif}.quote__text{position:relative;z-index:1;font-size:1.02rem;color:#3d5069;margin:0 0 18px}.quote__author{font-weight:900}.quote__role{font-size:.84rem;color:var(--muted)}/* Testimonials slider */
 .testimonials-section{overflow:hidden}
.testimonial-slider{position:relative;max-width:1180px;margin-inline:auto;padding:0 54px 48px}
.testimonial-viewport{overflow:hidden;border-radius:24px}
.testimonial-track{display:flex;direction:ltr;transition:transform .55s cubic-bezier(.22,.61,.36,1);will-change:transform}
.testimonial-slide{box-sizing:border-box;flex:0 0 33.333333%;padding:8px;direction:rtl}
.testimonial-card{height:100%;min-height:340px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;box-shadow:0 12px 35px rgba(16,33,61,.07);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.testimonial-card:after{content:"";position:absolute;left:-35px;bottom:-55px;width:140px;height:140px;border-radius:50%;background:rgba(53,169,35,.07)}
.testimonial-card--image{padding:18px}
.testimonial-image-wrap{background:#fff;border:1px solid #e8eef5;border-radius:16px;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:150px;padding:6px;position:relative;z-index:1}
.testimonial-image-wrap img{display:block;width:100%;height:auto;max-height:230px;object-fit:contain}
.testimonial-card--image .testimonial-card__person{margin-top:14px}
.testimonial-card__top{display:flex;align-items:center;justify-content:space-between;gap:15px;position:relative;z-index:1}
.quote-mark{font:900 4rem/.7 Georgia,serif;color:#dceaff}.stars{color:#f2b01e;letter-spacing:2px;font-size:.95rem;white-space:nowrap}
.testimonial-card__person{display:flex;align-items:center;gap:11px;position:relative;z-index:1}.testimonial-avatar{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue),var(--green));color:#fff;font-weight:900}.testimonial-card__person strong{display:block;color:var(--ink);font-size:.98rem}.testimonial-card__person small{display:block;color:var(--muted);font-size:.78rem;margin-top:1px}
.testimonial-arrow{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:1px solid #cfe0f5;background:#fff;color:var(--blue);box-shadow:0 10px 25px rgba(16,33,61,.1);font-size:2rem;line-height:1;cursor:pointer;z-index:4;display:grid;place-items:center}.testimonial-arrow:hover{background:var(--blue);color:#fff}.testimonial-arrow--prev{right:3px}.testimonial-arrow--next{left:3px}.testimonial-dots{position:absolute;bottom:5px;left:0;right:0;display:flex;justify-content:center;gap:7px}.testimonial-dot{width:8px;height:8px;border:0;border-radius:50%;background:#cbd8e8;padding:0;cursor:pointer;transition:.25s}.testimonial-dot.is-active{width:24px;border-radius:999px;background:var(--blue)}
.cta{position:relative;overflow:hidden;background:linear-gradient(115deg,var(--blue-dark),var(--blue));color:#fff;border-radius:28px;padding:44px;display:flex;align-items:center;justify-content:space-between;gap:30px;box-shadow:0 25px 60px rgba(7,85,201,.2)}.cta:after{content:"";position:absolute;width:280px;height:280px;border:70px solid rgba(53,169,35,.16);border-radius:50%;left:-120px;bottom:-170px}.cta h2{margin:0 0 8px;font-size:clamp(1.7rem,3vw,2.5rem);position:relative;z-index:1}.cta p{margin:0;color:#dbe9ff;position:relative;z-index:1}.cta__actions{display:flex;gap:10px;flex-wrap:wrap;position:relative;z-index:1}.site-footer{background:#081a33;color:#d8e4f3;padding:65px 0 20px}.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr .8fr;gap:30px}.footer-brand img{max-height:78px;max-width:300px;width:auto;filter:brightness(0) invert(1)}.footer-brand p{color:#9fb0c7;max-width:380px}.site-footer h3{color:#fff;font-size:1rem;margin:0 0 14px}.footer-links{list-style:none;padding:0;margin:0;display:grid;gap:9px}.footer-links a{color:#aebdd0}.footer-links a:hover{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:35px;padding-top:18px;display:flex;justify-content:space-between;gap:20px;color:#8fa2ba;font-size:.86rem}.footer-social{display:flex;gap:9px;flex-wrap:wrap}.footer-social a{width:38px;height:38px;border:1px solid rgba(255,255,255,.12);border-radius:50%;display:grid;place-items:center}.floating-wa{position:fixed;z-index:1100;left:20px;bottom:20px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:#fff;font-size:1.55rem;box-shadow:0 14px 35px rgba(37,211,102,.35)}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.post-card{overflow:hidden}.post-card__image{aspect-ratio:16/9;object-fit:cover;border-radius:16px;margin-bottom:17px}.post-card__meta{font-size:.8rem;color:var(--muted);margin-bottom:7px}.post-card h3{font-size:1.2rem;margin:0 0 8px}.single-wrap{max-width:900px;margin-inline:auto}.single-cover{width:100%;max-height:520px;object-fit:cover;border-radius:24px;margin:25px 0}.entry-content{font-size:1.08rem;color:#344760}.entry-content h2,.entry-content h3{color:var(--ink)}.entry-content img{border-radius:16px}.pagination{display:flex;gap:8px;justify-content:center;margin-top:35px}.pagination a,.pagination span{padding:8px 13px;border:1px solid var(--line);border-radius:10px}.pagination .current{background:var(--blue);color:#fff;border-color:var(--blue)}.admin-note{padding:16px;border:1px dashed #b9cce6;border-radius:14px;background:#f7fbff;color:#49617e}
@media(max-width:1024px){.hero__grid{grid-template-columns:1fr}.hero__media{min-height:390px;order:-1}.hero__photo{max-height:430px}.cards,.testimonials,.post-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.about{grid-template-columns:1fr}.about__visual{max-width:650px;margin-inline:auto}.stats__grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1024px){.testimonial-slide{flex-basis:50%}}
@media(max-width:780px){.container{width:min(calc(100% - 28px),var(--container))}.topbar__inner{justify-content:center}.topbar__inner>span{display:none}.header-inner{min-height:72px}.nav-toggle{display:block}.primary-nav{display:none;position:absolute;top:72px;right:0;left:0;background:#fff;border-bottom:1px solid var(--line);padding:16px}.primary-nav.is-open{display:block}.primary-nav ul{display:grid;gap:10px}.header-actions .btn-secondary{display:none}.brand{min-width:0}.brand img{max-height:78px;max-width:330px}.hero{padding-top:45px}.hero__media{min-height:330px}.hero__photo{max-height:350px}.hero__mini{right:4px;bottom:10px}.section{padding:65px 0}.cards,.testimonials,.post-grid,.footer-grid{grid-template-columns:1fr}.cta{padding:30px;align-items:flex-start;flex-direction:column}.footer-bottom{flex-direction:column}.hero__actions .btn{width:100%}}
@media(max-width:480px){.header-inner{min-height:82px}.brand{min-width:0}.brand img{max-height:68px;max-width:290px}.testimonial-slider{padding-inline:36px}.testimonial-card{padding:22px}.stats__grid{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:16px 10px}.stat__num{font-size:1.65rem}.hero h1{font-size:2.3rem}.hero__logo{width:330px}.about__badge{left:8px}.floating-wa{left:14px;bottom:14px}}

/* v1.3 precision responsive overrides */
@media(max-width:1100px){.hero__cover-grid{grid-template-columns:minmax(0,50%) minmax(0,50%)}.hero__cover-copy{padding-inline:38px}.hero__brand-lockup{width:min(100%,390px)}.hero__doctor-name{font-size:clamp(2.8rem,5vw,4.4rem)}.hero__specialty p{font-size:1.15rem}.hero__cover-photo,.hero__cover-photo img{min-height:520px}}
@media(max-width:900px){.hero__cover-grid{grid-template-columns:1fr}.hero__cover-copy{order:1;align-items:flex-start;text-align:right;padding:42px 28px 36px}.hero__brand-lockup,.hero__doctor-name,.hero__signature,.hero__actions--cover{align-self:flex-start}.hero__brand-lockup{width:min(100%,430px)}.hero__cover-photo{order:0;min-height:420px}.hero__cover-photo img{min-height:420px;object-position:center 28%}.hero__cover-photo:after{background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.12))}.testimonial-slide{flex-basis:50%}}
@media(max-width:780px){.hero__cover-copy{padding:34px 20px 30px}.hero__brand-lockup{width:min(100%,340px);margin-bottom:18px}.hero__doctor-name{font-size:clamp(2.65rem,10vw,3.6rem)}.hero__signature{font-size:2.1rem}.hero__specialty{grid-template-columns:52px minmax(0,1fr);gap:11px}.hero__specialty-icon{width:52px;height:52px}.hero__specialty-icon svg{width:38px;height:38px}.hero__specialty p{font-size:1.03rem}.hero__actions--cover{width:100%;flex-direction:column}.hero__actions--cover .btn{width:100%}.hero__cover-photo{min-height:340px}.hero__cover-photo img{min-height:340px}.testimonial-slider{padding-inline:38px}.testimonial-slide{flex-basis:100%}.testimonial-card{min-height:300px}.testimonial-image-wrap{min-height:120px}.testimonial-image-wrap img{max-height:205px}}
@media(max-width:480px){.hero__cover-copy{padding:28px 16px}.hero__brand-lockup{width:300px}.hero__doctor-name{font-size:2.5rem}.hero__signature{font-size:1.9rem}.hero__specialties{gap:14px}.hero__specialty p{font-size:.96rem}.hero__cover-photo,.hero__cover-photo img{min-height:290px}.testimonial-slider{padding-inline:32px}.testimonial-arrow{width:40px;height:40px;font-size:1.7rem}.testimonial-card--image{padding:12px}.testimonial-image-wrap{min-height:110px}}

/* v1.3 logo sizing */
.site-header .brand{min-width:430px}.site-header .brand img{width:430px;max-width:430px;max-height:92px}
@media(max-width:1100px){.site-header .brand{min-width:360px}.site-header .brand img{width:360px;max-width:360px;max-height:82px}}
@media(max-width:780px){.site-header .brand{min-width:0}.site-header .brand img{width:300px;max-width:300px;max-height:72px}}
@media(max-width:480px){.site-header .brand img{width:270px;max-width:270px;max-height:66px}}

/* v1.5 — precision hero, operations, clinics and before/after */
.hero--cover{padding:0!important;background:#fff;border:0;overflow:hidden}
.hero-cover-art{position:relative;width:100%;line-height:0;background:#fff}
.hero-cover-art>img{display:block;width:100%;height:auto;max-width:none;margin:0;padding:0;object-fit:contain;object-position:center}
.hero-seo-copy{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;padding:0!important;margin:0!important}
.hero-seo-copy *{margin:0!important;padding:0!important}
.operations-section{background:#fff}
.operations-grid{grid-template-columns:repeat(3,1fr);gap:24px}
.operation-card{min-height:260px;padding:30px;display:flex;flex-direction:column}
.operation-card__icon{width:66px;height:66px;border-radius:20px;background:linear-gradient(135deg,#eaf3ff,#eff9ed);display:grid;place-items:center;color:var(--blue);font-size:1.6rem;margin-bottom:20px;border:1px solid #dce9f7}
.operation-card h3{font-size:1.35rem;margin-bottom:10px}
.operation-card p{font-size:1.02rem;line-height:1.9}
.operation-card .card__link{margin-top:auto;padding-top:18px}
.clinics-section{background:linear-gradient(180deg,#f4f8fc 0%,#eef5fb 100%)}
.clinic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.clinic-card{background:#fff;border:1px solid #dfe8f2;border-radius:24px;padding:26px;box-shadow:0 14px 38px rgba(16,33,61,.07);display:flex;flex-direction:column;min-height:285px;transition:.25s ease}
.clinic-card:hover{transform:translateY(-5px);box-shadow:0 22px 45px rgba(16,33,61,.12)}
.clinic-card__top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}
.clinic-pin{width:48px;height:48px;border-radius:15px;background:#edf8ea;color:var(--green);display:grid;place-items:center;font-size:1.5rem}
.clinic-badge{font-size:.72rem;font-weight:800;color:var(--blue);background:#edf5ff;border-radius:999px;padding:6px 10px}
.clinic-card h3{font-size:1.3rem;margin:0 0 12px;color:var(--ink)}
.clinic-meta{display:grid;gap:9px;color:var(--muted);font-size:.92rem;line-height:1.7}
.clinic-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:20px}
.clinic-actions .btn{padding:10px 14px;font-size:.88rem}
.before-after-section{background:#fff}
.before-after-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.case-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 14px 38px rgba(16,33,61,.07)}
.case-images{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:#e8eef5}
.case-image{position:relative;min-height:220px;background:#f4f7fa;overflow:hidden}
.case-image>span{position:absolute;z-index:2;top:12px;right:12px;background:rgba(16,33,61,.82);color:#fff;border-radius:999px;padding:4px 10px;font-size:.75rem;font-weight:800}
.case-image img{width:100%;height:100%;min-height:220px;object-fit:cover}
.case-placeholder{height:100%;min-height:220px;display:grid;place-items:center;padding:20px;text-align:center;color:#8a98aa;font-weight:800;background:linear-gradient(135deg,#f8fbfd,#eef4f8)}
.case-body{padding:22px}.case-body h3{margin:0 0 8px;font-size:1.15rem}.case-body p{margin:0;color:var(--muted);font-size:.92rem}
.testimonials-section{overflow:hidden}.testimonial-slider{position:relative;padding:0 58px 62px}.testimonial-viewport{overflow:hidden;border-radius:28px}.testimonial-track{display:flex;direction:rtl;transition:transform .55s cubic-bezier(.2,.7,.2,1);will-change:transform}.testimonial-slide{flex:0 0 33.333%;padding:0 10px;direction:rtl}.testimonial-card{min-height:390px;background:#fff;border:1px solid #dfe7f0;border-radius:26px;box-shadow:0 12px 35px rgba(16,33,61,.07);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.testimonial-card:after{content:"";position:absolute;left:-35px;bottom:-55px;width:140px;height:140px;border-radius:50%;background:rgba(53,169,35,.07)}.testimonial-card--image{padding:22px}.testimonial-image-wrap{background:#fff;border:1px solid #e8eef5;border-radius:16px;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:190px;padding:8px;position:relative;z-index:1}.testimonial-image-wrap img{display:block;width:100%;height:auto;max-height:245px;object-fit:contain}.testimonial-card__top{display:flex;align-items:center;justify-content:space-between;gap:15px;position:relative;z-index:1}.quote-mark{font:900 4rem/.7 Georgia,serif;color:#dceaff}.stars{color:#f2b01e;letter-spacing:2px;font-size:1rem;white-space:nowrap}.testimonial-card__person{display:flex;align-items:center;gap:11px;position:relative;z-index:1;margin-top:14px}.testimonial-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue),var(--green));color:#fff;font-weight:900}.testimonial-card__person strong{display:block;color:var(--ink);font-size:1rem}.testimonial-card__person small{display:block;color:var(--muted);font-size:.8rem;margin-top:2px}.testimonial-arrow{position:absolute;top:48%;transform:translateY(-50%);width:54px;height:54px;border-radius:50%;border:1px solid #cfe0f5;background:#fff;color:var(--blue);box-shadow:0 10px 25px rgba(16,33,61,.1);font-size:2.1rem;line-height:1;cursor:pointer;z-index:4;display:grid;place-items:center}.testimonial-arrow:hover{background:var(--blue);color:#fff}.testimonial-arrow--prev{right:0}.testimonial-arrow--next{left:0}.testimonial-dots{position:absolute;bottom:14px;left:0;right:0;display:flex;justify-content:center;gap:8px}.testimonial-dot{width:9px;height:9px;border:0;border-radius:50%;background:#cbd8e8;padding:0;cursor:pointer;transition:.25s}.testimonial-dot.is-active{width:30px;border-radius:999px;background:var(--blue)}
.site-header .brand{min-width:250px}.site-header .brand img{width:250px;max-width:250px;max-height:64px;object-fit:contain}
.stats{padding:28px 0 24px}.stat{padding:25px 18px}.stat__num{font-size:clamp(2rem,3.5vw,2.9rem)}.stat__label{font-size:1rem}
@media(max-width:1100px){.operations-grid{grid-template-columns:repeat(2,1fr)}.clinic-grid{grid-template-columns:repeat(2,1fr)}.before-after-grid{grid-template-columns:repeat(2,1fr)}.testimonial-slide{flex-basis:50%}.testimonial-card{min-height:370px}.site-header .brand{min-width:210px}.site-header .brand img{width:210px;max-width:210px}}
@media(max-width:780px){.hero-cover-art>img{width:100%;height:auto}.operations-grid,.clinic-grid,.before-after-grid{grid-template-columns:1fr}.testimonial-slider{padding-inline:34px}.testimonial-slide{flex-basis:100%;padding:0 5px}.testimonial-card{min-height:330px}.testimonial-image-wrap{min-height:150px}.testimonial-image-wrap img{max-height:220px}.testimonial-arrow{width:42px;height:42px;font-size:1.7rem}.site-header .brand{min-width:0}.site-header .brand img{width:190px;max-width:190px;max-height:58px}.stats__grid{grid-template-columns:1fr 1fr}.stat{padding:20px 12px}.stat__num{font-size:1.9rem}.stat__label{font-size:.86rem}.section{padding:72px 0}}
@media(max-width:480px){.container{width:min(calc(100% - 24px),var(--container))}.site-header .brand img{width:175px;max-width:175px;max-height:54px}.hero-cover-art>img{width:100%;height:auto}.testimonial-slider{padding-inline:28px}.testimonial-card--image{padding:15px}.testimonial-image-wrap{min-height:120px}.testimonial-image-wrap img{max-height:190px}.case-image,.case-image img,.case-placeholder{min-height:180px}}

/* v1.6 — readable testimonials, contact/consultation forms and medical articles */
.testimonial-slider--large{padding-inline:64px;padding-bottom:68px}
.testimonial-card--full{min-height:500px;padding:28px 28px 24px}
.testimonial-card--full blockquote{margin:18px 0 20px;font-size:1.28rem;line-height:2.05;font-weight:700;color:#243754;position:relative;z-index:1}
.testimonial-source{display:flex;align-items:center;gap:12px;margin-top:auto;position:relative;z-index:1}
.testimonial-source img{width:180px;height:54px;object-fit:contain;object-position:center;background:#fff;border:1px solid #e4ebf3;border-radius:10px;padding:3px}
.testimonial-source span{font-size:.78rem;color:#7b8aa0;font-weight:700}
.testimonial-card--full .testimonial-card__person{margin-top:18px;padding-top:16px;border-top:1px solid #edf1f5}
.testimonial-card--full .testimonial-card__person strong{font-size:1.15rem}
.testimonial-card--full .testimonial-card__person small{font-size:.9rem}
.testimonial-card--full .testimonial-avatar{width:56px;height:56px;font-size:1.1rem}
.contact-section{background:#fff}
.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.contact-card{background:#fff;border:1px solid #dfe8f2;border-radius:28px;padding:32px;box-shadow:0 16px 45px rgba(16,33,61,.08);position:relative;overflow:hidden}
.contact-card:before{content:"";position:absolute;inset:auto auto -60px -60px;width:180px;height:180px;border-radius:50%;background:rgba(53,169,35,.07)}
.contact-card--consult:before{background:rgba(7,85,201,.07)}
.contact-card__icon{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;background:#eef6ff;color:var(--blue);font-size:1.7rem;font-weight:900;margin-bottom:18px}
.contact-card h3{font-size:1.65rem;margin:0 0 8px;color:var(--ink)}
.contact-card>p{color:var(--muted);margin:0 0 22px;font-size:1rem}
.clinic-form{display:grid;gap:15px;position:relative;z-index:1}
.clinic-form label{display:grid;gap:7px;font-weight:800;color:#30415b;font-size:.93rem}
.clinic-form input,.clinic-form textarea,.clinic-form select{width:100%;border:1px solid #d7e1ec;border-radius:13px;padding:13px 14px;background:#fff;color:var(--ink);outline:none;transition:.2s}
.clinic-form input:focus,.clinic-form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(7,85,201,.08)}
.clinic-form textarea{resize:vertical;min-height:120px}
.btn-full{width:100%;min-height:52px;font-size:1rem}
.clinic-form small{color:#718198;line-height:1.8}
.clinic-form small a{color:var(--blue);font-weight:900}
.articles-section{background:linear-gradient(180deg,#f5f9fd 0%,#fff 100%)}
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.article-card{background:#fff;border:1px solid #e0e8f1;border-radius:24px;overflow:hidden;box-shadow:0 14px 36px rgba(16,33,61,.07);transition:.25s ease}
.article-card:hover{transform:translateY(-5px);box-shadow:0 20px 46px rgba(16,33,61,.12)}
.article-card__image{display:block;aspect-ratio:16/9;background:#eef4f8;overflow:hidden}
.article-card__image img{width:100%;height:100%;object-fit:cover}
.article-placeholder{height:100%;min-height:220px;display:grid;place-items:center;text-align:center;padding:20px;background:linear-gradient(135deg,#edf6ff,#eff9ed);color:var(--blue);font-weight:900;font-size:1.15rem}
.article-card__body{padding:22px}
.article-date{font-size:.78rem;color:var(--green);font-weight:900}
.article-card h3{font-size:1.3rem;line-height:1.5;margin:8px 0 10px}
.article-card p{color:var(--muted);margin:0 0 16px;line-height:1.9}
.article-card .card__link{color:var(--blue);font-weight:900}
@media(max-width:1100px){.article-grid{grid-template-columns:repeat(2,1fr)}.contact-grid{grid-template-columns:1fr}.testimonial-card--full{min-height:470px}}
@media(max-width:780px){.testimonial-slider--large{padding-inline:38px}.testimonial-card--full{min-height:440px;padding:22px}.testimonial-card--full blockquote{font-size:1.1rem;line-height:1.95}.testimonial-source img{width:150px}.article-grid{grid-template-columns:1fr}.contact-card{padding:24px}}
@media(max-width:480px){.testimonial-slider--large{padding-inline:28px}.testimonial-card--full{min-height:410px;padding:18px}.testimonial-card--full blockquote{font-size:1rem}.testimonial-source{align-items:flex-start;flex-direction:column}.testimonial-source img{width:100%;height:52px}.contact-card{padding:20px;border-radius:22px}}

/* v1.7 bilingual + article funnel */
.lang-switcher{display:flex;align-items:center;gap:6px;font-weight:900;font-size:.82rem;white-space:nowrap}.lang-switcher a{color:#718198}.lang-switcher a.is-active{color:var(--blue)}
.hero-en{min-height:640px;display:grid;grid-template-columns:1.02fr .98fr;background:linear-gradient(120deg,#fff 0%,#f5fbff 60%,#eef8ef 100%)}.hero-en__copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:70px clamp(28px,6vw,100px);direction:ltr;text-align:left}.hero-en__logo{width:min(100%,430px);height:auto;margin-bottom:30px}.hero-en__copy h1{font-size:clamp(3rem,5.2vw,5.2rem);line-height:1.02;margin:8px 0 18px;color:var(--green);font-weight:900;letter-spacing:-.04em}.hero-en__lead{max-width:720px;color:#35506f;font-size:clamp(1.05rem,1.5vw,1.35rem);line-height:1.8;margin:0 0 20px}.hero-en__list{list-style:none;padding:0;margin:0 0 26px;display:grid;gap:9px;color:var(--blue);font-weight:800;font-size:1.05rem}.hero-en__list li:before{content:'✓';color:var(--green);font-weight:900;margin-right:8px}.hero-en__actions{display:flex;gap:10px;flex-wrap:wrap}.hero-en__photo{min-height:640px;position:relative;overflow:hidden}.hero-en__photo img{width:100%;height:100%;object-fit:cover;object-position:center top}.hero-en__photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.35),transparent 30%);pointer-events:none}
body.monsy-lang-en{direction:ltr;text-align:left}body.monsy-lang-en .topbar__inner,body.monsy-lang-en .header-inner{direction:ltr}body.monsy-lang-en .primary-nav{margin-inline-start:auto;margin-inline-end:0}body.monsy-lang-en .testimonial-slide{direction:ltr;text-align:left}body.monsy-lang-en .contact-card,body.monsy-lang-en .clinic-form{direction:ltr;text-align:left}body.monsy-lang-en .entry-content{direction:ltr;text-align:left}
.article-funnel{margin:38px 0;padding:28px 32px;border-radius:24px;background:linear-gradient(120deg,#0755c9,#0b6fe7);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 18px 45px rgba(7,85,201,.2);position:relative;overflow:hidden}.article-funnel:after{content:'';position:absolute;width:220px;height:220px;border:55px solid rgba(53,169,35,.18);border-radius:50%;right:-80px;bottom:-120px}.article-funnel h3{margin:0 0 5px;font-size:1.5rem}.article-funnel p{margin:0;color:#e4efff}.article-funnel__actions{display:flex;gap:10px;flex-wrap:wrap;position:relative;z-index:1}.article-funnel .btn{white-space:nowrap}.article-banner{margin:0 0 30px;border-radius:28px;overflow:hidden;position:relative;min-height:260px;background:#0d2848 center/cover no-repeat;display:flex;align-items:flex-end}.article-banner:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 20%,rgba(4,21,41,.82) 100%)}.article-banner__content{position:relative;z-index:1;padding:30px;color:#fff;max-width:850px}.article-banner__content .eyebrow{color:#9fe392}.article-banner__content h2{margin:4px 0 0;font-size:clamp(1.7rem,3.2vw,2.6rem);line-height:1.3}.article-keywords{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 25px}.article-keywords span{background:#eef6ff;color:var(--blue);padding:7px 11px;border-radius:999px;font-size:.82rem;font-weight:800}.article-meta-box{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0 30px}.article-meta-box>div{padding:15px;border:1px solid var(--line);border-radius:16px;background:#f8fbff}.article-meta-box strong{display:block;color:var(--blue);font-size:.8rem;margin-bottom:3px}.article-meta-box span{font-weight:800;color:var(--ink)}
@media(max-width:900px){.hero-en{grid-template-columns:1fr}.hero-en__photo{min-height:430px;order:-1}.hero-en__copy{padding:44px 28px}.article-funnel{flex-direction:column;align-items:flex-start}.article-meta-box{grid-template-columns:1fr}}
@media(max-width:780px){.lang-switcher{position:absolute;left:16px;top:92px;background:#fff;padding:7px 10px;border-radius:10px;border:1px solid var(--line);box-shadow:0 8px 20px rgba(16,33,61,.08)}body.monsy-lang-en .lang-switcher{left:auto;right:16px}.hero-en__photo{min-height:340px}.hero-en__copy h1{font-size:2.8rem}.article-funnel{padding:24px}.article-banner{min-height:220px;border-radius:20px}.article-banner__content{padding:22px}.article-banner__content h2{font-size:1.6rem}}

/* v2.1.1: keep Before & After out of homepage without deleting stored content */
.home .before-after,.home .before-after-section,.home #before-after,.home #before_after{display:none!important}

/* Final polish: native post archive + readable patient review slider */
.articles-archive{padding-top:90px}.articles-pagination{margin-top:36px;display:flex;justify-content:center}.articles-pagination ul{display:flex;gap:8px;list-style:none;margin:0;padding:0}.articles-pagination a,.articles-pagination span{display:grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border-radius:12px;border:1px solid #dbe6f2;text-decoration:none;color:var(--blue);font-weight:800}.articles-pagination .current{background:var(--blue);color:#fff;border-color:var(--blue)}
.testimonial-card--full blockquote{min-height:150px;display:flex;align-items:flex-start;font-size:clamp(1rem,1.4vw,1.22rem);font-weight:700}.testimonial-card--full{height:100%;min-height:520px}.testimonial-image-wrap{background:#f8fbff}.testimonial-image-wrap img{max-height:280px}
@media(max-width:780px){.testimonial-card--full{min-height:470px}.testimonial-card--full blockquote{min-height:170px}}


/* v2.1.6 — contained, responsive testimonial carousel */
.testimonials-section{overflow:hidden;position:relative}
.testimonials-section .container{overflow:visible}
.testimonial-slider{position:relative;width:100%;max-width:1180px;margin-inline:auto;padding:0 58px 54px;overflow:visible}
.testimonial-viewport{width:100%;max-width:100%;overflow:hidden;border-radius:26px;clip-path:inset(0 round 26px)}
.testimonial-track{display:flex;width:max-content;direction:ltr;transition:transform .65s cubic-bezier(.22,.61,.36,1);will-change:transform}
.testimonial-slide{flex:0 0 calc(100vw / 3);width:calc(100vw / 3);max-width:calc((1180px - 116px) / 3);padding:10px;box-sizing:border-box;direction:rtl}
.testimonial-card--full{height:100%;min-height:340px}
.testimonial-arrow{top:calc(50% - 27px);width:46px;height:46px;display:grid;place-items:center;position:absolute;z-index:10}
.testimonial-arrow--prev{right:4px;left:auto}
.testimonial-arrow--next{left:4px;right:auto}
.testimonial-dots{position:absolute;bottom:7px;left:58px;right:58px;min-height:12px;display:flex;justify-content:center;align-items:center;gap:7px;z-index:5}
@media(max-width:1024px){.testimonial-slide{flex-basis:calc(50vw - 29px);width:calc(50vw - 29px);max-width:calc((1024px - 116px) / 2)}.testimonial-slider{padding-inline:52px}.testimonial-dots{left:52px;right:52px}}
@media(max-width:780px){.testimonial-slider{padding-inline:42px;padding-bottom:52px}.testimonial-slide{flex-basis:calc(100vw - 84px);width:calc(100vw - 84px);max-width:none;padding:8px}.testimonial-viewport{border-radius:22px}.testimonial-card--full{min-height:300px}.testimonial-arrow{width:42px;height:42px}.testimonial-arrow--prev{right:2px}.testimonial-arrow--next{left:2px}.testimonial-dots{left:42px;right:42px}}
@media(max-width:480px){.testimonial-slider{padding-inline:34px}.testimonial-slide{flex-basis:calc(100vw - 68px);width:calc(100vw - 68px)}.testimonial-dots{left:34px;right:34px}.testimonial-arrow{width:38px;height:38px}}

/* RTL/LTR arrow placement */
body.monsy-lang-en .testimonial-arrow--prev{left:4px;right:auto}
body.monsy-lang-en .testimonial-arrow--next{right:4px;left:auto}


/* v2.1.8 — final patient reviews carousel rebuild */
.testimonials-section{overflow:hidden!important;background:linear-gradient(180deg,#f5f9fd 0%,#f8fbff 100%)!important}
.testimonials-section>.container{width:min(calc(100% - 36px),1180px)!important;max-width:1180px!important;margin-inline:auto!important;overflow:visible!important}
.testimonials-section .section-head{margin-bottom:30px!important}
.testimonial-slider.testimonial-slider--large{position:relative!important;width:100%!important;max-width:1040px!important;margin:0 auto!important;padding:0 64px 56px!important;box-sizing:border-box!important;overflow:visible!important;min-height:0!important}
.testimonial-viewport{width:100%!important;overflow:hidden!important;border-radius:28px!important;clip-path:none!important;box-shadow:0 18px 50px rgba(15,48,91,.08)!important;background:transparent!important}
.testimonial-track{display:flex!important;width:auto!important;max-width:none!important;direction:ltr!important;transform:translate3d(0,0,0);transition:transform .68s cubic-bezier(.22,.61,.36,1)!important;will-change:transform!important}
.testimonial-slide{flex:0 0 100%!important;width:100%!important;max-width:none!important;min-width:100%!important;padding:0!important;box-sizing:border-box!important;direction:rtl!important;text-align:right!important}
body.monsy-lang-en .testimonial-slide{direction:ltr!important;text-align:left!important}
.testimonial-card.testimonial-card--full{width:100%!important;min-height:0!important;height:auto!important;margin:0!important;padding:30px 34px!important;border-radius:26px!important;background:#fff!important;border:1px solid #e0eaf5!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;overflow:hidden!important}
.testimonial-card--full .testimonial-card__top{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:36px!important}
.testimonial-card--full .quote-mark{font-size:3rem!important;line-height:1!important;color:#d9e8fb!important}
.testimonial-card--full .stars{font-size:1.15rem!important;letter-spacing:2px!important;color:#f5ad16!important;white-space:nowrap!important}
.testimonial-card--full blockquote{display:block!important;min-height:0!important;margin:16px 0 18px!important;padding:0!important;font-size:clamp(1rem,1.5vw,1.2rem)!important;line-height:1.95!important;font-weight:700!important;color:#243754!important}
.testimonial-source{display:block!important;width:100%!important;margin:0 0 18px!important;padding:13px!important;background:#f8fbff!important;border:1px solid #e6eef8!important;border-radius:16px!important;box-sizing:border-box!important;text-align:center!important}
.testimonial-source img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;margin:0 auto!important;padding:0!important;border:0!important;border-radius:10px!important;background:#fff!important}
.testimonial-source span{display:block!important;margin-top:8px!important;font-size:.78rem!important;color:#8291a5!important;font-weight:700!important}
.testimonial-card--full .testimonial-card__person{display:flex!important;align-items:center!important;gap:12px!important;margin-top:0!important;padding-top:16px!important;border-top:1px solid #edf2f7!important}
.testimonial-card--full .testimonial-avatar{flex:0 0 50px!important;width:50px!important;height:50px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:linear-gradient(135deg,var(--blue),var(--green))!important;color:#fff!important;font-size:1rem!important;font-weight:900!important}
.testimonial-card--full .testimonial-card__person strong{display:block!important;font-size:1.06rem!important;color:#17365e!important}
.testimonial-card--full .testimonial-card__person small{display:block!important;margin-top:2px!important;font-size:.82rem!important;color:#7b8aa0!important}
.testimonial-arrow{position:absolute!important;top:50%!important;transform:translateY(-58%)!important;width:46px!important;height:46px!important;border:1px solid #d8e5f4!important;border-radius:50%!important;background:#fff!important;color:var(--blue)!important;display:grid!important;place-items:center!important;font-size:1.8rem!important;line-height:1!important;z-index:12!important;box-shadow:0 10px 24px rgba(18,65,120,.12)!important;cursor:pointer!important;transition:transform .2s ease,background .2s ease,color .2s ease!important}
.testimonial-arrow:hover{background:var(--blue)!important;color:#fff!important;transform:translateY(-58%) scale(1.06)!important}
.testimonial-arrow--prev{right:6px!important;left:auto!important}
.testimonial-arrow--next{left:6px!important;right:auto!important}
body.monsy-lang-en .testimonial-arrow--prev{left:6px!important;right:auto!important}
body.monsy-lang-en .testimonial-arrow--next{right:6px!important;left:auto!important}
.testimonial-dots{position:absolute!important;left:64px!important;right:64px!important;bottom:15px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:14px!important;z-index:8!important}
.testimonial-dot{display:block!important;width:8px!important;height:8px!important;min-width:8px!important;padding:0!important;border:0!important;border-radius:99px!important;background:#cbd9eb!important;cursor:pointer!important;transition:width .25s ease,background .25s ease,transform .25s ease!important}
.testimonial-dot.is-active{width:28px!important;background:var(--blue)!important;transform:none!important}
@media(max-width:780px){
 .testimonials-section>.container{width:min(calc(100% - 22px),1180px)!important}
 .testimonial-slider.testimonial-slider--large{padding:0 43px 52px!important}
 .testimonial-card.testimonial-card--full{padding:22px 20px!important;border-radius:22px!important}
 .testimonial-card--full blockquote{font-size:1rem!important;line-height:1.85!important}
 .testimonial-source{padding:8px!important}
 .testimonial-arrow{width:39px!important;height:39px!important;font-size:1.5rem!important}
 .testimonial-arrow--prev{right:0!important}.testimonial-arrow--next{left:0!important}
 body.monsy-lang-en .testimonial-arrow--prev{left:0!important;right:auto!important}body.monsy-lang-en .testimonial-arrow--next{right:0!important;left:auto!important}
 .testimonial-dots{left:43px!important;right:43px!important;bottom:14px!important}
}
@media(max-width:480px){
 .testimonial-slider.testimonial-slider--large{padding-inline:35px!important}
 .testimonial-card.testimonial-card--full{padding:18px 15px!important}
 .testimonial-card--full .testimonial-avatar{width:44px!important;height:44px!important;flex-basis:44px!important}
 .testimonial-dots{left:35px!important;right:35px!important}
}
