:root{--ink:#112b2b;--muted:#647474;--brand:#0d8b7d;--brand2:#11aa96;--soft:#eefaf7;--white:#fff;--line:#dfeae7;--shadow:0 22px 70px rgba(13,83,75,.12);--radius:28px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Tahoma","Arial",sans-serif;color:var(--ink);background:#fbfdfd;line-height:1.8}a{text-decoration:none;color:inherit}.container{width:min(1160px,92%);margin:auto}.topbar{background:#0a5f57;color:#eafffb;font-size:13px;padding:7px 0}.topbar .container{display:flex;justify-content:space-between;gap:20px}.nav{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.9);backdrop-filter:blur(16px);border-bottom:1px solid rgba(223,234,231,.8)}.navin{height:78px;display:flex;align-items:center;justify-content:space-between;gap:26px}.brand{display:flex;align-items:center;gap:11px;font-weight:800;font-size:21px}.brandmark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,var(--brand),var(--brand2));color:white;box-shadow:0 10px 30px rgba(13,139,125,.25)}.links{display:flex;gap:25px;color:#365151;font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 21px;border-radius:15px;border:0;font-weight:700;cursor:pointer;transition:.2s;font-family:inherit}.btn:hover{transform:translateY(-2px)}.btn-primary{background:linear-gradient(135deg,var(--brand),var(--brand2));color:white;box-shadow:0 14px 30px rgba(13,139,125,.22)}.btn-soft{background:var(--soft);color:var(--brand)}.hero{position:relative;overflow:hidden;padding:78px 0 62px;background:radial-gradient(circle at 12% 10%,#d9fff6 0,transparent 28%),radial-gradient(circle at 88% 20%,#e6f6ff 0,transparent 27%),linear-gradient(180deg,#fff,#f7fcfb)}.hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(13,139,125,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(13,139,125,.035) 1px,transparent 1px);background-size:36px 36px;mask-image:linear-gradient(to bottom,#000,transparent)}.hero-grid{position:relative;display:grid;grid-template-columns:1.15fr .85fr;gap:58px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:8px;background:white;border:1px solid var(--line);padding:7px 13px;border-radius:999px;color:var(--brand);font-size:13px;font-weight:800}.eyebrow i{width:7px;height:7px;border-radius:50%;background:#37cda8}.hero h1{font-size:clamp(40px,5.5vw,68px);line-height:1.18;margin:20px 0 17px;letter-spacing:-1px}.hero h1 span{color:var(--brand)}.lead{font-size:18px;color:var(--muted);max-width:680px;margin:0 0 28px}.hero-actions{display:flex;gap:11px;flex-wrap:wrap}.trust{display:flex;align-items:center;gap:24px;margin-top:34px;color:#47605e;font-size:13px}.trust strong{display:block;color:var(--ink);font-size:21px}.doctor-visual{position:relative;min-height:500px}.portrait{position:absolute;inset:20px 20px 0;background:linear-gradient(145deg,#d7f9f0,#f4fbfa);border-radius:48px 48px 20px 20px;border:1px solid #d5ede7;overflow:hidden;box-shadow:var(--shadow)}.doctor-silhouette{position:absolute;left:50%;bottom:-40px;transform:translateX(-50%);width:72%;height:92%;background:linear-gradient(180deg,#e7f5f1,#c8e9e1);clip-path:polygon(33% 0,67% 0,76% 17%,84% 25%,93% 46%,100% 100%,0 100%,7% 46%,16% 25%,24% 17%)}.portrait:after{content:"ضع صورة الدكتور هنا";position:absolute;inset:auto 0 30px;text-align:center;color:#40746d;font-weight:700}.floatcard{position:absolute;background:white;border:1px solid var(--line);border-radius:18px;padding:14px 17px;box-shadow:0 16px 40px rgba(25,70,66,.12);font-size:13px}.floatcard strong{display:block;font-size:15px}.fc1{right:-5px;top:70px}.fc2{left:-8px;bottom:40px}.section{padding:84px 0}.section.soft{background:#f4faf8}.head{text-align:center;max-width:720px;margin:0 auto 42px}.kicker{color:var(--brand);font-weight:800;font-size:13px}.head h2{font-size:38px;line-height:1.3;margin:7px 0 8px}.head p{color:var(--muted);margin:0}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:white;border:1px solid var(--line);border-radius:22px;padding:27px;box-shadow:0 10px 35px rgba(39,91,84,.05);transition:.2s}.card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.icon{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:var(--soft);color:var(--brand);font-size:23px;margin-bottom:16px}.card h3{margin:0 0 7px;font-size:19px}.card p{margin:0;color:var(--muted);font-size:14px}.about{display:grid;grid-template-columns:.92fr 1.08fr;gap:45px;align-items:center}.about-panel{background:linear-gradient(145deg,#0b746a,#0b9687);color:white;border-radius:32px;padding:38px;min-height:420px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:var(--shadow)}.about-panel small{opacity:.8}.about-panel h3{font-size:31px;margin:8px 0 10px}.about-panel p{opacity:.88}.credentials{display:grid;gap:15px}.cred{display:flex;gap:15px;padding:18px;border:1px solid var(--line);border-radius:18px;background:white}.cred b{display:block}.cred span{color:var(--muted);font-size:13px}.booking-wrap{display:grid;grid-template-columns:.78fr 1.22fr;gap:24px;align-items:stretch}.booking-info{background:linear-gradient(145deg,#0b7168,#0a8f82);color:white;border-radius:28px;padding:32px}.booking-info h2{font-size:34px;margin:0 0 12px}.booking-info p{opacity:.85}.schedule-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.18);font-size:14px}.form-card{background:white;border:1px solid var(--line);border-radius:28px;padding:32px;box-shadow:var(--shadow)}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{margin-bottom:15px}.field label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;padding:13px 14px;border:1px solid #d6e5e1;border-radius:13px;background:#fbfdfd;font-family:inherit;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#67baaE;box-shadow:0 0 0 3px rgba(13,139,125,.08)}.notice{padding:13px 15px;border-radius:13px;margin-bottom:16px;font-size:14px}.success{background:#e8fbf4;color:#146b55;border:1px solid #c7efdf}.error{background:#fff0f0;color:#934040;border:1px solid #ffd6d6}.contact{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.contact .card{text-align:center}.footer{background:#082f2c;color:#cce6e1;padding:35px 0;text-align:center}.footer small{opacity:.75}.whatsapp{position:fixed;left:20px;bottom:20px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:white;font-weight:900;box-shadow:0 12px 30px rgba(0,0,0,.18);z-index:50}.admin-body{background:#f3f7f6;min-height:100vh}.adminbar{background:#0b4f49;color:white;padding:15px 0}.adminbar .container{display:flex;justify-content:space-between;align-items:center}.login-box{width:min(430px,92%);margin:90px auto;background:white;padding:32px;border-radius:25px;border:1px solid var(--line);box-shadow:var(--shadow)}.dashboard{padding:36px 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:24px}.statbox{background:white;border:1px solid var(--line);border-radius:18px;padding:20px}.statbox b{display:block;font-size:27px;color:var(--brand)}.tablewrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:20px}.table{width:100%;border-collapse:collapse;min-width:900px}.table th,.table td{padding:14px 13px;border-bottom:1px solid #edf2f1;text-align:right;font-size:13px}.table th{background:#f7fbfa}.status{display:inline-block;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:800}.s-new{background:#fff7db;color:#846800}.s-confirmed{background:#dcf8ee;color:#176c57}.s-completed{background:#e8eefc;color:#38588f}.s-cancelled{background:#fee7e7;color:#9b4646}.status-select{padding:8px;border:1px solid var(--line);border-radius:9px}.muted{color:var(--muted)}@media(max-width:900px){.links{display:none}.hero-grid,.about,.booking-wrap{grid-template-columns:1fr}.doctor-visual{min-height:390px}.services,.contact{grid-template-columns:1fr 1fr}.stats{grid-template-columns:1fr 1fr}.hero{padding-top:50px}}@media(max-width:600px){.topbar{display:none}.navin{height:68px}.brand{font-size:17px}.nav .btn{padding:9px 12px;font-size:12px}.hero h1{font-size:39px}.trust{gap:14px;flex-wrap:wrap}.doctor-visual{min-height:330px}.floatcard{display:none}.services,.contact,.grid2{grid-template-columns:1fr}.section{padding:62px 0}.head h2{font-size:31px}.stats{grid-template-columns:1fr 1fr}.form-card,.booking-info{padding:23px}}
/* CMS & responsive enhancements */
.logo-img{width:44px;height:44px;object-fit:contain;border-radius:12px}.nav-actions{display:flex;align-items:center;gap:8px}.member-chip{font-size:12px;color:var(--muted)}.btn-outline{border:1px solid var(--brand);color:var(--brand);background:#fff}.menu-toggle{display:none;border:0;background:var(--soft);color:var(--brand);font-size:24px;width:42px;height:42px;border-radius:12px}.mobile-menu{display:none;padding:12px 4%;background:#fff;border-top:1px solid var(--line)}.mobile-menu a{display:block;padding:11px 8px;border-bottom:1px solid #edf2f1}.portrait.has-image{background-size:cover;background-position:center}.portrait.has-image .doctor-silhouette,.portrait.has-image:after{display:none}.about-panel.with-bg{background-size:cover;background-position:center}.about-title{font-size:37px;margin:6px 0 20px}.content-section{margin:0 0 38px}.section-row{display:flex;justify-content:space-between;align-items:end;margin-bottom:15px}.section-row h3{font-size:27px;margin:0}.section-row p{margin:2px 0;color:var(--muted)}.content-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.content-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 10px 35px rgba(39,91,84,.05)}.content-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.content-pad{padding:20px}.content-pad h4{font-size:19px;margin:8px 0}.content-pad p{color:var(--muted);font-size:14px}.type-badge{display:inline-block;background:var(--soft);color:var(--brand);padding:4px 9px;border-radius:999px;font-size:11px;font-weight:800}.empty-card{grid-column:1/-1;padding:24px;border:1px dashed var(--line);border-radius:18px;color:var(--muted);text-align:center}.whatsapp{width:auto;min-width:62px;padding:0 16px;gap:8px;animation:waPulse 2.2s infinite}.whatsapp svg{width:30px;height:30px}.whatsapp span{font-size:12px}.whatsapp:before{content:"";position:absolute;inset:-7px;border:2px solid rgba(37,211,102,.35);border-radius:999px;animation:waRing 2.2s infinite}@keyframes waPulse{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-4px) scale(1.03)}}@keyframes waRing{0%{transform:scale(.9);opacity:0}35%{opacity:1}100%{transform:scale(1.2);opacity:0}}
.admin-layout{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.admin-side{background:#082f2c;color:#dff6f1;padding:24px 16px;position:sticky;top:0;height:100vh}.admin-logo{display:flex;gap:10px;align-items:center;font-size:18px;font-weight:800;padding:8px 10px 24px}.admin-side nav{display:grid;gap:5px}.admin-side nav a{padding:11px 12px;border-radius:12px;font-size:14px}.admin-side nav a:hover{background:rgba(255,255,255,.1)}.admin-main{padding:34px;min-width:0}.admin-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.admin-head h1{margin:0;font-size:30px}.admin-head p{margin:3px 0;color:var(--muted)}.admin-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;margin-bottom:20px;box-shadow:0 8px 28px rgba(39,91,84,.04)}.admin-card h3{margin-top:0}.stats.six{grid-template-columns:repeat(6,1fr)}.inline-form{display:inline-flex;gap:6px;align-items:center}.btn-danger{background:#fee7e7;color:#9b4646}.check{display:inline-flex;gap:8px;align-items:center}.admin-thumb{display:block;width:80px;height:80px;object-fit:cover;border-radius:12px;margin-top:8px}.admin-thumb.wide{width:170px;height:100px}.save-floating{position:sticky;bottom:18px;z-index:5;box-shadow:0 12px 35px rgba(13,139,125,.35)}
@media(max-width:1050px){.nav-actions .member-chip{display:none}.stats.six{grid-template-columns:repeat(3,1fr)}.content-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.menu-toggle{display:grid;place-items:center}.nav .links{display:none}.desktop-book{display:none}.mobile-menu.open{display:block}.admin-layout{grid-template-columns:1fr}.admin-side{position:relative;height:auto;padding:12px}.admin-side .admin-logo{padding:6px 8px 10px}.admin-side nav{display:flex;overflow:auto;gap:6px}.admin-side nav a{white-space:nowrap;background:rgba(255,255,255,.07)}.admin-main{padding:20px}.admin-head{align-items:flex-start}.content-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.nav-actions .btn-soft{display:none}.menu-toggle{order:-1}.content-grid{grid-template-columns:1fr}.stats.six{grid-template-columns:1fr 1fr}.admin-main{padding:14px}.admin-card{padding:16px}.admin-head{flex-direction:column}.about-title{font-size:30px}.whatsapp{left:14px;bottom:14px}.whatsapp span{display:none}.whatsapp{width:58px;min-width:58px;padding:0}.hero-actions .btn{width:100%}.navin{gap:8px}.brand span:last-child{max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
/* Tarif Alenezi update */
.brand>span:last-child{display:flex;flex-direction:column;line-height:1.35}.brand small{font-size:10px;color:var(--muted);font-weight:500;max-width:260px}.topbar-in{display:flex;align-items:center;justify-content:space-between;gap:16px}.social-top{display:flex;align-items:center;gap:7px;direction:rtl}.social-top a{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.1);transition:.2s}.social-top a:hover{background:rgba(255,255,255,.2);transform:translateY(-1px)}.social-top b{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--brand);font-size:12px}.social-top span{font-size:11px}.doctor-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:26px}.doctor-tags span{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 11px;font-size:12px;color:#355b56}.portrait.has-image{background-size:contain;background-repeat:no-repeat;background-position:center bottom;background-color:#fff}.about-panel.with-bg{background-size:contain;background-repeat:no-repeat;background-position:center top;background-color:#0b7168;min-height:520px}.lead-small{color:var(--muted);margin-top:-10px}.booking-contact{display:grid;gap:7px;margin-top:28px;padding-top:20px;border-top:1px solid rgba(255,255,255,.2)}.booking-contact b{font-size:12px;opacity:.75}.booking-contact a{font-size:24px;font-weight:900}.social-cards{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.social-cards a{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:var(--soft);color:var(--brand);font-size:12px}.map-card{margin-top:22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 10px 35px rgba(39,91,84,.05)}.map-title{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px}.map-title h3{margin:0}.map-title p{margin:2px 0 0;color:var(--muted)}.map-card iframe{width:100%;height:430px;border:0;display:block}.footer-social{display:flex;justify-content:center;gap:9px;margin:10px 0}.footer-social a{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.1);font-weight:800}.page-extra{margin-top:24px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.standalone-hero{text-align:center;max-width:820px;margin:10px auto 38px}.standalone-hero h1{font-size:clamp(36px,6vw,58px);margin:8px 0}.standalone-hero p{color:var(--muted);font-size:18px}.page-body{max-width:900px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:35px;min-height:260px}.design-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.color-control{display:flex;gap:8px;align-items:center}.color-control input[type=color]{width:60px;height:44px;padding:3px}.color-control input[readonly]{font-family:monospace}.check-row{display:flex;align-items:center;gap:24px;padding-top:28px}.check-row label{display:inline-flex;align-items:center;gap:7px}
@media(max-width:1000px){.design-grid{grid-template-columns:repeat(2,1fr)}.social-top span{display:none}.brand small{max-width:180px}}
@media(max-width:650px){.social-top{gap:4px}.social-top a{padding:3px}.map-title{align-items:flex-start;flex-direction:column}.map-title .btn{width:100%}.map-card iframe{height:330px}.design-grid{grid-template-columns:1fr}.brand small{display:none}.about-panel.with-bg{min-height:420px}.doctor-tags span{font-size:11px}}

/* Final alignment and social icon refinement */
.quick-info-section{padding:22px 0 4px;background:var(--page-bg,#fbfdfd)}
.quick-info{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.quick-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;text-align:right;transition:.2s}
.quick-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(39,91,84,.08)}
.quick-card>div{min-width:0;text-align:right}
.quick-card h3{margin:0 0 3px;text-align:right;font-size:16px}
.quick-card p{margin:0;color:var(--muted);font-size:12px;text-align:right}
.quick-icon{flex:0 0 42px;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--soft);color:var(--brand);font-size:20px}
.about-copy,.about-copy .kicker,.about-copy .about-title,.about-copy .lead-small{text-align:right}
.map-title .map-copy,.map-title .map-copy h3,.map-title .map-copy p{text-align:right}
.social-top a{width:38px;height:38px;padding:0;border-radius:12px;justify-content:center;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.12)}
.social-top a:hover{background:#fff;color:var(--brand)}
.social-top a span{display:none}
.social-top b.social-icon{width:22px;height:22px;background:transparent;color:inherit;border-radius:0}
.social-icon svg,.footer-social svg{width:20px;height:20px;display:block}
.social-cards .social-icon{display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center}
.footer-social a{transition:.2s}.footer-social a:hover{background:#fff;color:var(--brand);transform:translateY(-2px)}
@media(max-width:900px){.quick-info{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.quick-info{grid-template-columns:1fr}.quick-card{padding:15px}.quick-info-section{padding-top:14px}}

/* Mobile RTL alignment refinement - private v3 */
.hero-copy{direction:rtl;text-align:right}
.hero-copy .eyebrow,.hero-copy h1,.hero-copy .lead{direction:rtl;text-align:right}
.hero-copy .hero-actions,.hero-copy .doctor-tags{direction:rtl;justify-content:flex-start}
.quick-card{direction:rtl;text-align:right;justify-content:flex-start}
.quick-card>div{flex:1;direction:rtl;text-align:right}
.quick-card h3,.quick-card p{direction:rtl;text-align:right!important}
.about-copy{direction:rtl;text-align:right}
.about-copy .kicker,.about-copy .about-title,.about-copy .lead-small,.about-copy .credentials,.about-copy .cred{direction:rtl;text-align:right!important}
.about-copy .cred>div:last-child{flex:1;text-align:right}
.map-title{direction:rtl;text-align:right}
.map-title .map-copy{direction:rtl;text-align:right;flex:1}
.map-title .map-copy h3,.map-title .map-copy p{direction:rtl;text-align:right!important}
@media(max-width:650px){
  .hero-copy{width:100%;text-align:right!important}
  .hero-copy .eyebrow{display:flex;width:max-content;max-width:100%;margin-left:auto;margin-right:0;text-align:right!important}
  .hero-copy h1,.hero-copy .lead{width:100%;text-align:right!important}
  .hero-copy .hero-actions{justify-content:flex-start!important}
  .hero-copy .doctor-tags{justify-content:flex-start!important}
  .quick-card{display:grid;grid-template-columns:42px minmax(0,1fr);direction:rtl;align-items:center;text-align:right!important}
  .quick-card>div{grid-column:2;grid-row:1;min-width:0;width:100%;text-align:right!important}
  .quick-card .quick-icon{grid-column:1;grid-row:1}
  .quick-card h3,.quick-card p{width:100%;text-align:right!important}
  .about-copy,.about-copy .kicker,.about-copy .about-title,.about-copy .lead-small{width:100%;text-align:right!important}
  .about-copy .cred{display:grid;grid-template-columns:52px minmax(0,1fr);direction:rtl;text-align:right!important}
  .about-copy .cred .icon{grid-column:1;grid-row:1}
  .about-copy .cred>div:last-child{grid-column:2;grid-row:1;text-align:right!important}
  .map-title{align-items:stretch!important;text-align:right!important}
  .map-title .map-copy{width:100%;text-align:right!important}
  .map-title .map-copy h3,.map-title .map-copy p{width:100%;text-align:right!important}
}

.contact-message-card{margin-top:22px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px}.contact-message-card h3{margin-top:0}.message-filters{display:grid;grid-template-columns:2fr 1fr auto;gap:12px;align-items:end}.message-filters .field{margin:0}.message-preview{max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.wa-inline{display:inline-flex;align-items:center;gap:7px;color:#168c50;font-weight:700}.wa-inline svg,.btn-wa svg{width:20px;height:20px}.btn-wa{background:#25d366;color:#fff;display:inline-flex;align-items:center;gap:6px}.message-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}@media(max-width:900px){.message-filters{grid-template-columns:1fr}.message-actions{min-width:280px}}

.booking-closed{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:330px}.booking-closed .closed-icon{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#fff3d8;color:#8b6800;font-size:28px;margin-bottom:12px}.booking-closed h3{font-size:25px;margin:5px 0}.booking-closed p{color:var(--muted);margin:0 0 18px}.appointment-control{border-inline-start:4px solid var(--brand)}.appointment-control-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.appointment-control-head h3{margin-bottom:4px}.appointment-control-head p{margin:0}.appointment-switch{display:flex;align-items:center;gap:12px;margin:16px 0;cursor:pointer}.appointment-switch input{position:absolute;opacity:0;pointer-events:none}.appointment-switch span{width:52px;height:29px;border-radius:999px;background:#cfd9d6;position:relative;transition:.2s}.appointment-switch span:after{content:"";position:absolute;width:23px;height:23px;top:3px;right:3px;background:#fff;border-radius:50%;box-shadow:0 2px 8px rgba(0,0,0,.15);transition:.2s}.appointment-switch input:checked+span{background:var(--brand)}.appointment-switch input:checked+span:after{right:26px}.table .wa-inline{margin-top:5px}.table .wa-inline svg{width:18px;height:18px}@media(max-width:650px){.appointment-control-head{flex-direction:column}.appointment-control .btn{width:100%}}

.staff-footer-login{margin-top:12px;font-size:11px;opacity:.82}.staff-footer-login a{border-bottom:1px dotted rgba(255,255,255,.45)}.patient-form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.file-chip{display:block;color:var(--brand);font-size:12px;margin:4px 0;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.note-snippet{max-width:280px;max-height:100px;overflow:auto}@media(max-width:850px){.patient-form-grid{grid-template-columns:1fr}}

.share-actions{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:6px}.share-actions form{margin:0}.share-btn{border:1px solid #dbe5e2;background:#fff;border-radius:8px;padding:6px 8px;cursor:pointer;font:inherit;font-size:11px}.share-btn.whatsapp{color:#128c5b;border-color:#bde1d2}.share-btn.email{color:#3568a8;border-color:#c9d8ea}.share-btn span{margin-inline-start:3px}@media(max-width:700px){.share-btn span{display:none}}

.patient-mode-tabs{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0 18px}.patient-mode-tabs label{display:flex;align-items:center;gap:7px;border:1px solid var(--border);padding:10px 14px;border-radius:10px;background:#fff}.patient-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.patient-actions form{margin:0}.share-btn.danger{color:#c0392b;border-color:#efc1bb}.patient-search{display:flex;gap:8px;flex-wrap:wrap}.patient-search input{min-width:280px}@media(max-width:700px){.patient-search input{min-width:0;width:100%}}

.quick-search-card{margin-top:20px}.quick-search-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.quick-search-title h3{margin:0}.quick-search-form{display:grid;grid-template-columns:minmax(0,1fr) 220px auto;gap:12px;align-items:end}.quick-search-form .field{margin:0}.quick-search-submit{display:flex;gap:8px;align-items:center;padding-bottom:1px}.search-summary{margin-top:16px;padding:10px 12px;border-radius:10px;background:var(--soft);font-size:13px}.search-results{margin-top:10px;display:grid;gap:8px}.search-result{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid var(--border);border-radius:12px;padding:12px;background:#fff}.search-result-main{display:flex;align-items:flex-start;gap:10px;min-width:0}.search-kind{flex:0 0 auto;background:var(--soft);color:var(--brand);border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700}.search-detail{font-size:13px;margin:3px 0;color:var(--text)}.search-result-actions{display:flex;gap:7px;align-items:center;flex:0 0 auto}.search-empty{text-align:center;padding:22px;color:var(--muted)}@media(max-width:850px){.quick-search-form{grid-template-columns:1fr}.quick-search-submit{padding:0}.search-result{align-items:flex-start;flex-direction:column}.search-result-actions{width:100%;justify-content:flex-start}}


/* ===== V11: polished responsive home layout ===== */
.hero{padding:34px 0 24px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);gap:34px;align-items:center}
.hero-copy{text-align:right;direction:rtl}
.hero-copy h1{max-width:720px;margin:16px 0 14px;line-height:1.18}
.hero-copy .lead{max-width:720px;margin-right:0}
.hero-actions{justify-content:flex-start}
.doctor-visual{min-height:510px;position:relative;display:flex;align-items:flex-end;justify-content:center}
.doctor-visual .portrait{width:100%;height:500px;min-height:0;border-radius:34px;background-position:center bottom;background-repeat:no-repeat;background-size:cover;box-shadow:0 22px 60px rgba(6,54,50,.10);border:1px solid rgba(0,139,123,.12)}
.quick-info{align-items:stretch}.quick-card{text-align:right;direction:rtl}.quick-card>div{min-width:0}.quick-card h3,.quick-card p{text-align:right}
.about-copy,.about-copy .kicker,.about-copy .about-title,.about-copy p{text-align:right}
.floatcard{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}

@media(max-width:900px){
 .topbar{display:none}
 .navin{min-height:86px;padding:10px 18px;gap:12px}
 .brand{margin-left:auto;gap:10px;min-width:0}
 .brandmark{width:54px;height:54px;border-radius:17px;flex:0 0 54px}
 .brand span{min-width:0}.brand strong{font-size:22px;white-space:nowrap}.brand small{display:none}
 .menu-toggle{width:52px;height:52px;border-radius:16px;flex:0 0 52px}
 .desktop-book{display:none!important}

 .hero{padding:22px 0 18px;background-position:center top}
 .hero-grid{display:flex;flex-direction:column;gap:24px}
 .hero-copy{width:100%;order:1}
 .eyebrow{margin:0 0 14px auto;max-width:100%;font-size:14px}
 .hero-copy h1{font-size:clamp(36px,9.5vw,54px);line-height:1.22;margin:10px 0 14px;text-align:right}
 .hero-copy .lead{font-size:18px;line-height:2;text-align:right;margin:0}
 .hero-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:22px}
 .hero-actions .btn{width:100%;min-height:56px;font-size:18px}
 .doctor-tags{justify-content:flex-start;gap:8px;margin-top:20px}
 .doctor-tags span{font-size:12px;padding:8px 12px}

 .doctor-visual{order:2;width:100%;min-height:0;display:block;margin:0}
 .doctor-visual .portrait{width:100%;height:auto;aspect-ratio:1.18/1;min-height:0;border-radius:28px;background-size:cover;background-position:center bottom}
 .floatcard{display:none!important}

 .quick-info-section{padding:8px 0 24px}
 .quick-info{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .quick-card{min-height:124px;padding:18px 14px;gap:12px;align-items:flex-start;border-radius:20px}
 .quick-icon{width:46px;height:46px;flex:0 0 46px;border-radius:14px;font-size:22px}
 .quick-card h3{font-size:18px;margin:2px 0 6px}
 .quick-card p{font-size:13px;line-height:1.7;margin:0}

 .section{padding:48px 0}.head{text-align:right}.head p{margin-right:0}
 .about{grid-template-columns:1fr;gap:22px}
 .about-panel{min-height:390px;border-radius:28px}
 .about-copy{padding:0}
 .services{grid-template-columns:1fr 1fr}
}

@media(max-width:560px){
 .container{width:min(100% - 30px,var(--container))}
 .navin{min-height:78px;padding:8px 15px}
 .brandmark{width:48px;height:48px;flex-basis:48px;border-radius:15px}
 .brand strong{font-size:19px}
 .menu-toggle{width:48px;height:48px;flex-basis:48px}
 .hero{padding-top:18px}
 .hero-grid{gap:20px}
 .eyebrow{font-size:12px;padding:9px 12px}
 .hero-copy h1{font-size:clamp(33px,10vw,44px);margin-top:8px}
 .hero-copy .lead{font-size:16px;line-height:1.9}
 .hero-actions{margin-top:18px}
 .hero-actions .btn{min-height:52px;font-size:16px}
 .doctor-tags{display:grid;grid-template-columns:1fr 1fr;width:100%}
 .doctor-tags span{text-align:center;display:flex;align-items:center;justify-content:center;min-height:40px}
 .doctor-visual .portrait{aspect-ratio:1.08/1;background-position:center bottom;border-radius:24px}
 .quick-info{grid-template-columns:1fr 1fr}
 .quick-card{min-height:138px;display:flex;flex-direction:column;gap:8px;padding:14px}
 .quick-icon{width:42px;height:42px;flex-basis:42px}
 .quick-card h3{font-size:17px}.quick-card p{font-size:12px}
 .services{grid-template-columns:1fr}
 .float-whatsapp{width:58px;height:58px;left:18px;bottom:22px}
}


/* ===== V12 reference-match professional responsive design ===== */
.gastro-logo svg,.top-contact svg,.btn-svg,.quick-icon svg,.hero-feature svg{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.gastro-logo svg{width:36px;height:36px;fill:none}.btn-svg{width:19px;height:19px}.top-contact{display:flex;align-items:center;gap:18px;font-size:12px}.top-contact span,.top-contact a{display:flex;align-items:center;gap:6px}.top-contact svg{width:15px;height:15px}.topbar-in{direction:ltr}.social-top{direction:ltr}.social-top a{padding:3px;background:transparent}.social-top a span{display:none}.social-top b{width:30px;height:30px;border-radius:7px;background:transparent;border:1px solid rgba(255,255,255,.42);color:#fff}.navin{direction:rtl}.brand{direction:rtl}.brandmark.gastro-logo{width:52px;height:52px;border-radius:0;background:transparent;color:var(--brand);box-shadow:none}.brand strong{font-size:22px}.brand small{font-size:11px;max-width:none}.premium-hero{padding:24px 0 20px;background:linear-gradient(115deg,#fbfdfd 0%,#f3faf8 52%,#edf7f5 100%)}.premium-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(13,139,125,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(13,139,125,.035) 1px,transparent 1px);background-size:42px 42px;pointer-events:none}.premium-hero .hero-grid{position:relative;z-index:1;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);gap:20px;direction:ltr}.premium-hero .hero-copy{direction:rtl;text-align:right;padding:24px 0}.doctor-prefix{font-size:21px;font-weight:800;color:var(--brand);margin-bottom:2px}.doctor-name{font-size:clamp(48px,5vw,72px)!important;color:var(--brand)!important;margin:0 0 8px!important;line-height:1.08!important}.doctor-specialty{font-size:25px;line-height:1.65;margin:0 0 10px;color:var(--ink);font-weight:700}.membership-badge{display:inline-flex;background:linear-gradient(135deg,#08745f,#0a9a80);color:#fff;border-radius:999px;padding:7px 18px;font-size:15px;font-weight:700;margin-bottom:20px}.hero-features{display:grid;grid-template-columns:1fr 1fr;gap:13px 24px;margin:4px 0 20px}.hero-feature{display:flex;align-items:center;gap:10px}.feature-icon{width:38px;height:38px;color:var(--brand);display:grid;place-items:center;flex:0 0 38px}.feature-icon svg{width:31px;height:31px}.hero-feature b{display:block;color:var(--brand);font-size:14px}.hero-feature small{display:block;color:var(--muted);font-size:11px}.premium-hero .doctor-visual{min-height:570px;align-self:end}.premium-hero .doctor-visual .portrait{height:570px;border:0;border-radius:0;background-size:contain;background-color:transparent;box-shadow:none;background-position:center bottom}.premium-hero .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.premium-hero .hero-actions .btn{min-height:52px}.premium-hero .hero-actions svg:not(.btn-svg){width:20px;height:20px}.quick-info-section{padding:12px 0 28px;background:#fff}.quick-info{grid-template-columns:repeat(4,1fr);gap:12px}.quick-card{min-height:130px;border-radius:16px;padding:16px;box-shadow:0 8px 24px rgba(6,54,50,.035);align-items:center}.quick-icon{width:54px;height:54px;flex:0 0 54px;border-radius:50%;background:linear-gradient(145deg,#08745f,#0a9a80);color:#fff;display:grid;place-items:center}.quick-icon svg{width:28px;height:28px}.quick-card h3{font-size:15px;color:var(--brand);margin:0 0 3px}.quick-card p{font-size:13px;color:var(--ink);font-weight:700}.quick-card small{display:block;font-size:11px;color:var(--muted)}.quick-phone{font-size:18px!important}.map-mini{display:inline-block;margin-top:7px;padding:4px 11px;border:1px solid var(--line);border-radius:7px;font-size:10px;color:var(--brand);font-weight:700}

@media(max-width:900px){
 .topbar{display:block!important;padding:5px 0}.topbar-in{display:flex!important;flex-direction:column;gap:5px}.social-top{justify-content:center;width:100%}.social-top b{width:28px;height:28px}.top-contact{width:100%;justify-content:center;gap:13px;font-size:10px}.top-contact svg{width:13px;height:13px}
 .nav{position:sticky}.navin{min-height:82px;height:auto;padding:8px 0}.brand{gap:8px;flex:1}.brandmark.gastro-logo{width:46px;height:46px;flex-basis:46px}.brandmark.gastro-logo svg{width:34px;height:34px}.brand strong{font-size:18px}.brand small{display:block!important;font-size:8px;line-height:1.5;white-space:normal;max-width:190px}.menu-toggle{order:-1}.desktop-book{display:flex!important;order:3;padding:10px 12px;font-size:11px;border-radius:10px}.navin{gap:7px}
 .premium-hero{padding:12px 0 14px}.premium-hero .hero-grid{display:grid!important;grid-template-columns:45% 55%!important;gap:0!important;align-items:start!important;width:100%!important;max-width:none!important;padding:0 12px;direction:ltr}.premium-hero .doctor-visual{grid-column:1;grid-row:1;order:initial!important;min-height:0!important;height:100%;display:flex!important;align-items:flex-end!important}.premium-hero .doctor-visual .portrait{width:100%!important;height:auto!important;aspect-ratio:.64/1!important;min-height:0!important;background-size:contain!important;background-position:center bottom!important;border-radius:0!important}.premium-hero .hero-copy{grid-column:2;grid-row:1;order:initial!important;padding:12px 0 0 8px!important;text-align:right!important;direction:rtl}.doctor-prefix{font-size:15px;margin:0 0 0}.doctor-name{font-size:32px!important;line-height:1.14!important;margin:0 0 4px!important}.doctor-specialty{font-size:14px;line-height:1.65;margin-bottom:7px}.membership-badge{font-size:9px;padding:5px 9px;margin-bottom:10px;white-space:nowrap}.hero-features{display:grid;grid-template-columns:1fr;gap:7px;margin:0}.hero-feature{gap:7px}.feature-icon{width:26px;height:26px;flex-basis:26px}.feature-icon svg{width:23px;height:23px}.hero-feature b{font-size:10px;line-height:1.2}.hero-feature small{font-size:8px;line-height:1.35}.premium-hero .hero-actions{grid-column:1 / -1;display:none}
 .quick-info-section:before{content:""}.quick-info{grid-template-columns:1fr!important;gap:8px}.quick-card{min-height:96px!important;display:grid!important;grid-template-columns:56px minmax(0,1fr)!important;gap:12px!important;padding:14px!important;border-radius:16px!important}.quick-icon{grid-column:1!important;grid-row:1!important;width:52px!important;height:52px!important;flex-basis:52px!important}.quick-card>div{grid-column:2!important;grid-row:1!important}.quick-card h3{font-size:16px!important}.quick-card p{font-size:12px!important}.quick-card small{font-size:10px!important}
 .premium-hero+.quick-info-section{position:relative}.premium-hero+.quick-info-section:before{content:"";display:block}.premium-hero .hero-grid:after{content:"";grid-column:1/-1;height:0}
 .premium-hero .hero-copy:after{content:""}
}

@media(max-width:560px){
 .container{width:min(100% - 24px,var(--container))}.topbar .container{width:100%;padding:0 10px}.top-contact{font-size:9px}.navin{width:100%;padding:7px 12px}.brand strong{font-size:16px}.brand small{font-size:7px;max-width:155px}.brandmark.gastro-logo{width:39px;height:39px;flex-basis:39px}.brandmark.gastro-logo svg{width:31px;height:31px}.menu-toggle{width:43px;height:43px;flex-basis:43px;border-radius:12px;font-size:20px}.desktop-book{padding:8px 9px!important;font-size:9px!important;min-height:40px}.desktop-book .btn-svg{width:14px;height:14px}
 .premium-hero .hero-grid{grid-template-columns:43% 57%!important;padding:0 8px}.premium-hero .hero-copy{padding:9px 0 0 5px!important}.doctor-prefix{font-size:13px}.doctor-name{font-size:28px!important}.doctor-specialty{font-size:12px;line-height:1.6}.membership-badge{font-size:7.8px;padding:4px 7px;max-width:100%;white-space:normal}.hero-features{gap:5px}.feature-icon{width:23px;height:23px;flex-basis:23px}.feature-icon svg{width:20px;height:20px}.hero-feature b{font-size:9px}.hero-feature small{font-size:7px}.premium-hero .doctor-visual .portrait{aspect-ratio:.60/1!important}
 .hero-mobile-actions{display:grid}.quick-info-section{padding-top:10px}.quick-card{min-height:88px!important}.quick-icon{width:48px!important;height:48px!important}.quick-icon svg{width:25px;height:25px}.whatsapp,.float-whatsapp{width:56px!important;height:56px!important;left:15px!important;bottom:20px!important}
}

.hero-mobile-actions{display:none}@media(max-width:900px){.hero-mobile-actions{display:grid;grid-template-columns:1fr;gap:8px;padding-top:10px;padding-bottom:4px}.hero-mobile-actions .btn{min-height:48px;border-radius:10px}.hero-mobile-actions svg{width:18px;height:18px}}


/* ===== V13 Safari/cache-safe reference layout ===== */
@media(max-width:900px){
  .premium-hero .hero-grid{
    display:grid!important;
    grid-template-columns:44% 56%!important;
    align-items:end!important;
    gap:0!important;
    direction:ltr!important;
    min-height:540px!important;
  }
  .premium-hero .doctor-visual{
    grid-column:1!important;grid-row:1!important;
    min-width:0!important;min-height:0!important;
    height:100%!important;display:flex!important;
    align-items:flex-end!important;justify-content:center!important;
    overflow:hidden!important;
  }
  .premium-hero .doctor-visual .portrait{
    display:block!important;
    width:100%!important;height:100%!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    background-size:contain!important;
    background-repeat:no-repeat!important;
    background-position:center bottom!important;
  }
  .premium-hero .hero-copy{
    grid-column:2!important;grid-row:1!important;
    min-width:0!important;
    align-self:center!important;
    padding:18px 4px 18px 10px!important;
  }
  .hero-features{width:100%!important}
  .hero-feature{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;align-items:center!important;gap:7px!important}
  .feature-icon{width:28px!important;height:28px!important;min-width:28px!important;max-width:28px!important;display:grid!important;place-items:center!important}
  .feature-icon svg{width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important}
}
@media(max-width:560px){
  .premium-hero .hero-grid{grid-template-columns:45% 55%!important;min-height:500px!important;padding-inline:6px!important}
  .doctor-name{font-size:30px!important}
  .doctor-specialty{font-size:12.5px!important}
  .membership-badge{font-size:8px!important}
  .hero-feature b{font-size:9.5px!important}
  .hero-feature small{font-size:7.5px!important}
}


/* ===== V14 approved-reference polish ===== */
@keyframes v14FadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes v14PortraitIn{from{opacity:.15;transform:translateX(-18px) scale(.985)}to{opacity:1;transform:none}}
@keyframes v14Glow{0%,100%{box-shadow:0 10px 30px rgba(0,122,105,.08)}50%{box-shadow:0 14px 38px rgba(0,122,105,.16)}}

.brand{align-items:center!important}
.brand strong{font-weight:800!important;letter-spacing:-.35px!important}
.brand small{opacity:.72!important}
.gastro-logo,.brandmark{animation:v14Glow 4s ease-in-out infinite!important}

@media(max-width:900px){
 .navin{min-height:104px!important;padding:12px 22px!important;display:grid!important;grid-template-columns:auto 1fr auto!important;gap:14px!important}
 .desktop-book{display:flex!important;grid-column:1!important;grid-row:1!important;min-height:54px!important;border-radius:15px!important;padding:0 16px!important}
 .brand{grid-column:2!important;grid-row:1!important;justify-self:end!important;margin:0!important;direction:rtl!important}
 .brand strong{font-size:23px!important;line-height:1.2!important}
 .brand small{display:block!important;font-size:9px!important;margin-top:5px!important;white-space:nowrap!important}
 .menu-toggle{grid-column:3!important;grid-row:1!important;width:54px!important;height:54px!important}
 .gastro-logo,.brandmark{width:58px!important;height:58px!important;min-width:58px!important;border-radius:18px!important}

 .premium-hero{padding:0!important;background:linear-gradient(135deg,#effcf9 0%,#fff 52%,#eef8f7 100%)!important;overflow:hidden!important}
 .premium-hero .hero-grid{
   position:relative!important;display:grid!important;
   grid-template-columns:47% 53%!important;direction:ltr!important;
   min-height:610px!important;align-items:stretch!important;gap:0!important;
   padding:0!important;
 }
 .premium-hero .hero-grid:before{
   content:"";position:absolute;left:-12%;bottom:-18%;width:62%;height:82%;
   border-radius:50% 50% 44% 0;background:linear-gradient(145deg,rgba(0,139,123,.15),rgba(0,139,123,.035));
   border:1px solid rgba(0,139,123,.10);pointer-events:none
 }
 .premium-hero .doctor-visual{
   grid-column:1!important;grid-row:1!important;position:relative!important;
   display:flex!important;align-items:flex-end!important;justify-content:center!important;
   height:100%!important;min-height:610px!important;overflow:visible!important;
   animation:v14PortraitIn .85s cubic-bezier(.2,.75,.25,1) both!important;
 }
 .premium-hero .doctor-visual .portrait{
   position:absolute!important;inset:5% -5% 0 -8%!important;
   width:auto!important;height:auto!important;min-height:0!important;
   border:0!important;border-radius:0!important;box-shadow:none!important;
   background-size:contain!important;background-position:center bottom!important;background-repeat:no-repeat!important;
   filter:drop-shadow(0 20px 28px rgba(11,72,66,.12))!important;
 }
 .premium-hero .hero-copy{
   grid-column:2!important;grid-row:1!important;align-self:center!important;
   padding:36px 20px 32px 8px!important;direction:rtl!important;text-align:right!important;
   animation:v14FadeUp .72s ease-out .08s both!important;
 }
 .doctor-kicker{font-size:20px!important;margin-bottom:5px!important}
 .doctor-name{font-size:clamp(42px,7vw,62px)!important;line-height:1.05!important;margin:0 0 14px!important;letter-spacing:-1.2px!important}
 .doctor-specialty{font-size:18px!important;line-height:1.75!important;margin-bottom:14px!important}
 .membership-badge{display:inline-flex!important;font-size:11px!important;padding:9px 14px!important;border-radius:999px!important}
 .hero-features{margin-top:22px!important;display:grid!important;gap:12px!important}
 .hero-feature{grid-template-columns:38px minmax(0,1fr)!important;gap:10px!important}
 .feature-icon{width:38px!important;height:38px!important;max-width:38px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 7px 18px rgba(0,90,78,.09)!important}
 .hero-feature b{font-size:13px!important}.hero-feature small{font-size:10px!important;line-height:1.5!important}
 .hero-actions{grid-column:1/-1!important}
}

@media(max-width:560px){
 .topbar{display:block!important}
 .topbar .container{padding-block:9px!important}
 .navin{min-height:92px!important;padding:10px 14px!important;grid-template-columns:auto 1fr auto!important;gap:9px!important}
 .desktop-book{min-height:48px!important;padding:0 11px!important;font-size:12px!important}
 .brand{gap:7px!important}
 .brand strong{font-size:18px!important}
 .brand small{font-size:7.5px!important}
 .gastro-logo,.brandmark{width:48px!important;height:48px!important;min-width:48px!important;border-radius:15px!important}
 .menu-toggle{width:48px!important;height:48px!important}

 .premium-hero .hero-grid{grid-template-columns:46% 54%!important;min-height:520px!important}
 .premium-hero .doctor-visual{min-height:520px!important}
 .premium-hero .doctor-visual .portrait{inset:8% -8% 0 -13%!important;background-size:contain!important;background-position:center bottom!important}
 .premium-hero .hero-copy{padding:24px 12px 22px 2px!important}
 .doctor-kicker{font-size:15px!important}
 .doctor-name{font-size:34px!important;line-height:1.08!important;margin-bottom:10px!important}
 .doctor-specialty{font-size:12.5px!important;line-height:1.65!important;margin-bottom:10px!important}
 .membership-badge{font-size:8px!important;padding:7px 8px!important;white-space:nowrap!important}
 .hero-features{margin-top:16px!important;gap:9px!important}
 .hero-feature{grid-template-columns:31px minmax(0,1fr)!important;gap:7px!important}
 .feature-icon{width:31px!important;height:31px!important;max-width:31px!important}
 .feature-icon svg{width:18px!important;height:18px!important}
 .hero-feature b{font-size:10px!important}.hero-feature small{font-size:7.5px!important}
 .quick-info-section{margin-top:0!important}
}

@media(prefers-reduced-motion:reduce){
 .brandmark,.gastro-logo,.premium-hero .doctor-visual,.premium-hero .hero-copy{animation:none!important}
}


/* =========================================================
   V15 — final approved responsive visual system
   ========================================================= */
:root{
 --v15-deep:#005a54;
 --v15-deeper:#044842;
 --v15-teal:#078b7c;
 --v15-green:#079887;
 --v15-gold:#d3a54c;
 --v15-line:#dceae7;
 --v15-shadow:0 12px 34px rgba(7,66,61,.09);
}
html{scroll-behavior:smooth}
body{overflow-x:hidden}
.topbar{background:linear-gradient(90deg,var(--v15-deeper),var(--v15-deep))!important}
.topbar-in{min-height:58px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important}
.social-top{display:flex!important;align-items:center!important;gap:9px!important}
.social-top a{width:36px!important;height:36px!important;display:grid!important;place-items:center!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:10px!important;color:#fff!important;background:rgba(255,255,255,.035)!important}
.social-top a span{display:none!important}
.social-top .social-icon,.social-top svg{width:20px!important;height:20px!important}
.top-contact{display:flex!important;align-items:center!important;gap:22px!important;color:#fff!important;font-weight:600!important}
.top-contact>*{display:flex!important;align-items:center!important;gap:7px!important}

.nav{background:#fff!important;box-shadow:0 7px 20px rgba(3,70,64,.07)!important;position:relative!important;z-index:15!important}
.navin{min-height:118px!important;display:grid!important;grid-template-columns:220px minmax(0,1fr) 72px!important;align-items:center!important;gap:18px!important}
.nav-actions{grid-column:1!important;grid-row:1!important;justify-self:start!important}
.desktop-book{min-width:178px!important;min-height:60px!important;border-radius:14px!important;font-size:18px!important;box-shadow:0 10px 26px rgba(3,121,108,.16)!important}
.brand{grid-column:2!important;grid-row:1!important;justify-self:center!important;display:flex!important;align-items:center!important;gap:18px!important;direction:rtl!important;margin:0!important;color:var(--ink)!important}
.logo-img{width:82px!important;height:88px!important;object-fit:contain!important;filter:drop-shadow(0 8px 14px rgba(8,98,88,.10))!important}
.brand-copy{text-align:right!important}
.brand strong{display:block!important;font-size:34px!important;line-height:1.15!important;font-weight:800!important;color:#073e3a!important;letter-spacing:-.8px!important}
.brand small{display:block!important;font-size:13px!important;margin-top:7px!important;color:#526b68!important}
.menu-toggle{grid-column:3!important;grid-row:1!important;width:58px!important;height:58px!important;border:0!important;border-radius:14px!important;background:#f3f8f7!important;color:var(--v15-deep)!important;font-size:29px!important;box-shadow:0 7px 18px rgba(6,65,60,.08)!important}
.links{display:none!important}

/* Hero */
.premium-hero{padding:0!important;background:linear-gradient(108deg,#e8f6f4 0%,#f9fcfb 46%,#fff 100%)!important;position:relative!important;overflow:hidden!important}
.premium-hero:before{content:"";position:absolute;left:-8%;bottom:-30%;width:54%;height:120%;border-radius:50%;background:radial-gradient(circle at 60% 45%,rgba(7,151,134,.18),rgba(7,151,134,.04) 60%,transparent 61%);pointer-events:none}
.premium-hero:after{content:"";position:absolute;left:20%;top:9%;width:180px;height:220px;opacity:.08;background:radial-gradient(circle,#006d63 1.5px,transparent 1.8px);background-size:14px 14px;pointer-events:none}
.premium-hero .hero-grid{width:min(1440px,100%)!important;max-width:none!important;min-height:620px!important;display:grid!important;grid-template-columns:44% 56%!important;gap:0!important;direction:ltr!important;align-items:stretch!important;position:relative!important;z-index:2!important}
.doctor-visual{grid-column:1!important;grid-row:1!important;min-height:620px!important;height:100%!important;position:relative!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;overflow:visible!important}
.doctor-visual:before{content:"";position:absolute;left:4%;bottom:-7%;width:89%;height:88%;border-radius:52% 52% 4% 0;background:linear-gradient(145deg,#0e8b7e,#037067 75%);clip-path:ellipse(53% 52% at 42% 58%);opacity:.94}
.doctor-visual:after{content:"";position:absolute;left:3%;bottom:-4%;width:85%;height:84%;border:2px solid rgba(209,166,79,.85);border-radius:50%;clip-path:ellipse(55% 55% at 45% 55%);pointer-events:none}
.doctor-visual .portrait{position:absolute!important;inset:0 -2% 0 -7%!important;width:auto!important;height:auto!important;min-height:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background-size:contain!important;background-position:left bottom!important;background-repeat:no-repeat!important;filter:drop-shadow(0 18px 24px rgba(8,62,57,.12))!important;z-index:3!important}

.hero-copy{grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr)!important;align-items:center!important;gap:30px!important;padding:52px 4.5vw 42px 24px!important;direction:rtl!important;text-align:right!important;min-width:0!important}
.hero-intro{min-width:0!important}
.doctor-prefix{font-size:24px!important;color:#078778!important;font-weight:800!important;margin-bottom:6px!important}
.doctor-name{font-size:clamp(56px,6vw,84px)!important;line-height:1.02!important;color:#024d47!important;font-weight:900!important;letter-spacing:-2.2px!important;margin:0!important;text-shadow:0 2px 0 rgba(255,255,255,.8)!important}
.gold-divider{height:22px!important;display:flex!important;align-items:center!important;margin:3px 0 10px!important}
.gold-divider:before,.gold-divider:after{content:"";height:1px;background:linear-gradient(90deg,transparent,var(--v15-gold),transparent);flex:1}
.gold-divider span{width:8px;height:8px;border:1px solid var(--v15-gold);transform:rotate(45deg);margin:0 6px;background:#fff}
.doctor-specialty{font-size:24px!important;line-height:1.65!important;color:#163e3a!important;margin:0 0 17px!important;font-weight:650!important}
.membership-badge{display:inline-flex!important;align-items:center!important;gap:8px!important;padding:10px 17px!important;border-radius:10px!important;background:linear-gradient(90deg,#00695f,#07564f)!important;color:#fff!important;font-size:15px!important;font-weight:700!important;box-shadow:0 7px 18px rgba(0,87,78,.15)!important}
.award-dot{color:#e1b657;font-size:19px!important}
.hero-features{display:grid!important;gap:22px!important;margin:0!important}
.hero-feature{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;align-items:center!important;gap:13px!important}
.feature-icon{width:56px!important;height:56px!important;max-width:56px!important;border-radius:50%!important;background:#fff!important;display:grid!important;place-items:center!important;color:#007e71!important;box-shadow:0 8px 22px rgba(4,80,72,.10)!important;border:1px solid #e4efed!important}
.feature-icon svg{width:27px!important;height:27px!important}
.hero-feature b{font-size:17px!important;display:block!important;color:#08786d!important;margin-bottom:4px!important}
.hero-feature small{font-size:13px!important;color:#526967!important;line-height:1.45!important}
.hero-copy>.hero-actions{display:none!important}
.hero-mobile-actions{padding-top:22px!important;padding-bottom:8px!important;display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
.hero-mobile-actions .btn{width:100%!important;min-height:60px!important;font-size:21px!important;border-radius:10px!important}
.hero-mobile-actions .btn-primary{background:linear-gradient(90deg,#05645c,#008d80)!important}
.hero-mobile-actions .btn-outline{background:#fff!important;border:1.5px solid #05786d!important;color:#05786d!important}

/* Quick cards */
.quick-info-section{padding:16px 0 20px!important;background:#fff!important}
.quick-info{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:16px!important}
.quick-card{min-height:174px!important;border:1px solid #e4edeb!important;background:#fff!important;border-radius:18px!important;padding:22px 18px!important;display:grid!important;grid-template-columns:62px minmax(0,1fr)!important;align-items:start!important;gap:12px!important;text-align:right!important;box-shadow:var(--v15-shadow)!important;direction:rtl!important}
.quick-icon{width:58px!important;height:58px!important;border-radius:50%!important;background:linear-gradient(145deg,#08786d,#00584f)!important;color:#fff!important;display:grid!important;place-items:center!important}
.quick-icon svg{width:29px!important;height:29px!important}
.quick-card h3{font-size:18px!important;color:#075f57!important;margin:2px 0 7px!important}
.quick-card p{font-size:15px!important;margin:0 0 5px!important;color:#153e3a!important}
.quick-card small{font-size:12px!important;color:#697c79!important}
.quick-phone{font-size:22px!important;font-weight:800!important}
.map-mini{display:inline-block!important;margin-top:8px!important;border:1px solid #cfe0dd!important;border-radius:8px!important;padding:6px 14px!important;color:#04675e!important;background:#fff!important;font-size:12px!important}

/* trust strip */
.home-trust-strip{background:#fff;padding:8px 0 24px}
.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid #e8efee;border-bottom:1px solid #e8efee;padding:20px 0}
.trust-item{display:flex;align-items:center;justify-content:center;gap:14px;padding:5px 24px;border-left:1px solid #dde9e6}
.trust-item:last-child{border-left:0}
.trust-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;border:2px solid #07887a;color:#07887a;font-size:22px}
.trust-item b{display:block;color:#04675e;font-size:17px}.trust-item small{color:#617471;font-size:12px}

/* Footer */
.footer{background:linear-gradient(90deg,#034a45,#00645d)!important}

/* Motion — subtle and professional */
@keyframes v15HeroImage{from{opacity:0;transform:translateX(-20px) scale(.985)}to{opacity:1;transform:none}}
@keyframes v15HeroText{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.doctor-visual .portrait{animation:v15HeroImage .75s ease-out both}
.hero-intro,.hero-features{animation:v15HeroText .65s ease-out .08s both}

/* Tablet */
@media(max-width:1050px){
 .navin{grid-template-columns:180px minmax(0,1fr) 62px!important}
 .brand strong{font-size:27px!important}.logo-img{width:68px!important;height:72px!important}
 .premium-hero .hero-grid{grid-template-columns:43% 57%!important;min-height:570px!important}
 .doctor-visual{min-height:570px!important}
 .hero-copy{grid-template-columns:1fr!important;gap:17px!important;padding:35px 26px!important}
 .hero-features{grid-template-columns:repeat(2,1fr)!important;gap:12px!important}
 .doctor-name{font-size:54px!important}.doctor-specialty{font-size:19px!important}
}

/* Mobile — matches approved mobile preview */
@media(max-width:700px){
 .topbar-in{min-height:92px!important;display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;gap:9px!important;padding:10px 0!important}
 .social-top{gap:7px!important}.social-top a{width:34px!important;height:34px!important}
 .top-contact{gap:12px!important;font-size:11px!important}
 .navin{min-height:164px!important;grid-template-columns:58px minmax(0,1fr)!important;grid-template-rows:92px 58px!important;gap:4px 10px!important;padding:8px 16px!important}
 .brand{grid-column:2!important;grid-row:1!important;justify-self:end!important;gap:10px!important;width:100%!important;justify-content:flex-start!important}
 .logo-img{width:67px!important;height:72px!important;flex:0 0 67px!important}
 .brand strong{font-size:23px!important;letter-spacing:-.4px!important}
 .brand small{font-size:10px!important;line-height:1.45!important;white-space:normal!important}
 .menu-toggle{grid-column:1!important;grid-row:1!important;width:50px!important;height:50px!important;justify-self:start!important}
 .nav-actions{grid-column:1/3!important;grid-row:2!important;width:100%!important}
 .desktop-book{display:flex!important;width:100%!important;min-width:0!important;min-height:52px!important;justify-content:center!important;font-size:15px!important}

 .premium-hero .hero-grid{min-height:520px!important;grid-template-columns:46% 54%!important;direction:ltr!important;padding:0!important}
 .doctor-visual{grid-column:1!important;min-height:520px!important;overflow:visible!important}
 .doctor-visual:before{left:-18%!important;bottom:-9%!important;width:128%!important;height:88%!important}
 .doctor-visual:after{left:-15%!important;width:119%!important;height:84%!important}
 .doctor-visual .portrait{inset:4% -18% 0 -18%!important;background-position:center bottom!important;background-size:contain!important}
 .hero-copy{grid-column:2!important;display:block!important;padding:38px 12px 22px 0!important;align-self:center!important}
 .doctor-prefix{font-size:16px!important;margin-bottom:4px!important}
 .doctor-name{font-size:37px!important;line-height:1.05!important;letter-spacing:-1px!important}
 .gold-divider{height:14px!important;margin:1px 0 6px!important}
 .doctor-specialty{font-size:13px!important;line-height:1.65!important;margin-bottom:9px!important}
 .membership-badge{font-size:8px!important;padding:7px 8px!important;border-radius:7px!important;gap:4px!important;white-space:nowrap!important}
 .award-dot{font-size:11px!important}
 .hero-features{margin-top:18px!important;display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
 .hero-feature{grid-template-columns:36px minmax(0,1fr)!important;gap:7px!important}
 .feature-icon{width:35px!important;height:35px!important;max-width:35px!important}
 .feature-icon svg{width:19px!important;height:19px!important}
 .hero-feature b{font-size:11px!important;margin-bottom:1px!important}
 .hero-feature small{font-size:8px!important}
 .hero-mobile-actions{padding-top:18px!important}
 .hero-mobile-actions .btn{min-height:54px!important;font-size:16px!important}

 .quick-info{grid-template-columns:1fr!important;gap:12px!important}
 .quick-card{min-height:112px!important;grid-template-columns:58px minmax(0,1fr)!important;align-items:center!important;padding:17px 18px!important}
 .quick-card h3{font-size:18px!important}.quick-card p{font-size:15px!important}
 .quick-card small{font-size:11px!important}
 .trust-grid{grid-template-columns:1fr!important;padding:6px 0!important}
 .trust-item{justify-content:flex-start!important;border-left:0!important;border-bottom:1px solid #e7efed!important;padding:12px 8px!important}
 .trust-item:last-child{border-bottom:0!important}
}

@media(max-width:400px){
 .brand strong{font-size:20px!important}.brand small{font-size:9px!important}.logo-img{width:58px!important;height:62px!important}
 .premium-hero .hero-grid{grid-template-columns:45% 55%!important;min-height:490px!important}
 .doctor-visual{min-height:490px!important}
 .doctor-name{font-size:32px!important}.doctor-specialty{font-size:11.5px!important}
 .membership-badge{font-size:7px!important}
 .hero-feature b{font-size:10px!important}.hero-feature small{font-size:7.2px!important}
}

@media(prefers-reduced-motion:reduce){
 .doctor-visual .portrait,.hero-intro,.hero-features{animation:none!important}
}


/* =========================================================
   V16 — portrait integration polish
   ========================================================= */
.premium-hero .doctor-visual{isolation:isolate!important}
.premium-hero .doctor-visual:before{z-index:0!important}
.premium-hero .doctor-visual:after{z-index:1!important}
.premium-hero .doctor-visual .portrait{
  z-index:3!important;
  background-color:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}

/* Desktop portrait integrated into the oval artwork */
@media(min-width:1051px){
  .premium-hero .doctor-visual{overflow:hidden!important}
  .premium-hero .doctor-visual:before{
    left:-12%!important;bottom:-9%!important;width:116%!important;height:104%!important;
    clip-path:ellipse(55% 55% at 43% 58%)!important;
    background:
      radial-gradient(circle at 70% 20%,rgba(255,255,255,.18),transparent 22%),
      linear-gradient(150deg,#119a8b 0%,#078176 55%,#045d55 100%)!important
  }
  .premium-hero .doctor-visual:after{
    left:-4%!important;bottom:-2%!important;width:102%!important;height:95%!important;
    border:3px solid rgba(211,165,76,.78)!important;
    clip-path:ellipse(53% 54% at 43% 58%)!important;border-radius:50%!important
  }
  .premium-hero .doctor-visual .portrait{
    inset:1% -7% 0 -10%!important;
    background-size:contain!important;
    background-position:center bottom!important;
    background-repeat:no-repeat!important;
    filter:drop-shadow(0 22px 28px rgba(4,62,57,.13))!important
  }
}

/* Tablet */
@media(min-width:701px) and (max-width:1050px){
  .premium-hero .doctor-visual{overflow:hidden!important}
  .premium-hero .doctor-visual:before{
    left:-18%!important;bottom:-9%!important;width:132%!important;height:98%!important;
    clip-path:ellipse(56% 55% at 44% 58%)!important
  }
  .premium-hero .doctor-visual:after{
    left:-12%!important;bottom:-4%!important;width:120%!important;height:91%!important
  }
  .premium-hero .doctor-visual .portrait{
    inset:3% -16% 0 -18%!important;
    background-size:contain!important;background-position:center bottom!important
  }
}

/* Mobile: large portrait with no visible gray rectangle */
@media(max-width:700px){
  .premium-hero .hero-grid{
    min-height:575px!important;
    grid-template-columns:49% 51%!important
  }
  .premium-hero .doctor-visual{
    min-height:575px!important;
    overflow:hidden!important
  }
  .premium-hero .doctor-visual:before{
    left:-43%!important;bottom:-10%!important;width:184%!important;height:90%!important;
    clip-path:ellipse(55% 55% at 46% 59%)!important;
    background:
      radial-gradient(circle at 66% 16%,rgba(255,255,255,.16),transparent 18%),
      linear-gradient(150deg,#119a8c 0%,#078176 56%,#05625a 100%)!important
  }
  .premium-hero .doctor-visual:after{
    left:-31%!important;bottom:-5%!important;width:164%!important;height:84%!important;
    border:2px solid rgba(211,165,76,.80)!important;
    clip-path:ellipse(53% 54% at 46% 59%)!important;border-radius:50%!important
  }
  .premium-hero .doctor-visual .portrait{
    inset:2% -44% 0 -31%!important;
    background-size:contain!important;
    background-position:center bottom!important;
    background-repeat:no-repeat!important;
    filter:drop-shadow(0 17px 20px rgba(2,61,56,.13))!important
  }
  .premium-hero .hero-copy{
    padding-top:26px!important;
    padding-bottom:18px!important
  }
}

/* Small phones */
@media(max-width:400px){
  .premium-hero .hero-grid{min-height:535px!important;grid-template-columns:48% 52%!important}
  .premium-hero .doctor-visual{min-height:535px!important}
  .premium-hero .doctor-visual .portrait{inset:3% -48% 0 -35%!important}
}

/* Refined entry animation */
@keyframes v16PortraitEnter{
  from{opacity:0;transform:translateX(-14px) scale(.99)}
  to{opacity:1;transform:none}
}
.premium-hero .doctor-visual .portrait{
  animation:v16PortraitEnter .7s cubic-bezier(.2,.75,.3,1) both!important
}
@media(prefers-reduced-motion:reduce){
  .premium-hero .doctor-visual .portrait{animation:none!important}
}


/* =========================================================
   V17 — reference matched hero / integrated doctor portrait
   ========================================================= */
.premium-hero{
  overflow:hidden!important;
  background:
    radial-gradient(circle at 20% 18%,rgba(18,155,143,.08),transparent 30%),
    linear-gradient(135deg,#f7fcfb 0%,#eef9f8 48%,#fff 100%)!important;
}
.premium-hero .hero-grid{
  position:relative!important;
  align-items:stretch!important;
}
.premium-hero .doctor-visual{
  position:relative!important;
  overflow:visible!important;
  isolation:isolate!important;
  align-self:stretch!important;
}
.premium-hero .doctor-visual:before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  background:linear-gradient(155deg,rgba(28,157,145,.30),rgba(6,113,104,.55))!important;
  border-radius:52% 48% 45% 55% / 44% 50% 50% 56%!important;
  clip-path:none!important;
  transform:rotate(-7deg)!important;
}
.premium-hero .doctor-visual:after{
  content:""!important;
  position:absolute!important;
  z-index:1!important;
  background:transparent!important;
  border:2px solid rgba(255,255,255,.9)!important;
  border-radius:52% 48% 45% 55% / 44% 50% 50% 56%!important;
  clip-path:none!important;
  transform:rotate(-7deg)!important;
}
.premium-hero .doctor-visual .portrait{
  position:absolute!important;
  z-index:3!important;
  background-image:url("../../uploads/dr_tarif_alenezi.png")!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  background-position:center bottom!important;
  background-color:transparent!important;
  filter:drop-shadow(0 18px 22px rgba(2,62,57,.10))!important;
  border:0!important;box-shadow:none!important;
}
.premium-hero .hero-copy{
  position:relative!important;
  z-index:5!important;
}
.premium-hero .hero-copy:before{
  content:""!important;
  position:absolute!important;
  inset:7% -7% 8% -3%!important;
  z-index:-1!important;
  background:rgba(255,255,255,.42)!important;
  border-radius:42% 10% 18% 35%!important;
  backdrop-filter:blur(2px)!important;
}
@media(min-width:1051px){
  .premium-hero .hero-grid{min-height:720px!important;grid-template-columns:48% 52%!important}
  .premium-hero .doctor-visual:before{left:2%!important;bottom:9%!important;width:78%!important;height:69%!important}
  .premium-hero .doctor-visual:after{left:-1%!important;bottom:6%!important;width:83%!important;height:74%!important}
  .premium-hero .doctor-visual .portrait{
    inset:5% -2% 0 -2%!important;
    background-position:left bottom!important;
  }
}
@media(min-width:701px) and (max-width:1050px){
  .premium-hero .hero-grid{min-height:650px!important;grid-template-columns:47% 53%!important}
  .premium-hero .doctor-visual:before{left:-3%!important;bottom:10%!important;width:88%!important;height:66%!important}
  .premium-hero .doctor-visual:after{left:-7%!important;bottom:7%!important;width:94%!important;height:71%!important}
  .premium-hero .doctor-visual .portrait{inset:6% -7% 0 -8%!important}
}
@media(max-width:700px){
  .premium-hero{padding-top:0!important}
  .premium-hero .hero-grid{
    min-height:690px!important;
    grid-template-columns:49% 51%!important;
    gap:0!important;
  }
  .premium-hero .doctor-visual{
    min-height:690px!important;
    overflow:visible!important;
  }
  .premium-hero .doctor-visual:before{
    left:-24%!important;bottom:10%!important;width:128%!important;height:55%!important;
  }
  .premium-hero .doctor-visual:after{
    left:-29%!important;bottom:7%!important;width:137%!important;height:60%!important;
  }
  .premium-hero .doctor-visual .portrait{
    inset:8% -22% 0 -17%!important;
    background-position:center bottom!important;
    background-size:contain!important;
  }
  .premium-hero .hero-copy{
    padding-top:58px!important;
    padding-inline:8px 14px!important;
    align-self:start!important;
  }
  .premium-hero .hero-copy:before{
    inset:3% -14% 2% -12%!important;
    border-radius:48% 5% 10% 36%!important;
  }
}
@media(max-width:430px){
  .premium-hero .hero-grid{min-height:630px!important;grid-template-columns:50% 50%!important}
  .premium-hero .doctor-visual{min-height:630px!important}
  .premium-hero .doctor-visual:before{left:-28%!important;width:135%!important;height:54%!important}
  .premium-hero .doctor-visual:after{left:-34%!important;width:145%!important;height:59%!important}
  .premium-hero .doctor-visual .portrait{inset:9% -27% 0 -21%!important}
  .premium-hero .hero-copy{padding-top:46px!important;padding-right:8px!important}
}
@keyframes v17PortraitIn{
 from{opacity:0;transform:translateX(-18px) scale(.985)}
 to{opacity:1;transform:translateX(0) scale(1)}
}
.premium-hero .doctor-visual .portrait{animation:v17PortraitIn .65s ease-out both!important}
@media(prefers-reduced-motion:reduce){.premium-hero .doctor-visual .portrait{animation:none!important}}


/* =========================================================
   V17 — approved reference match
   ========================================================= */
:root{
  --ref-green:#087f73;
  --ref-green-dark:#05665e;
  --ref-green-deep:#034e49;
  --ref-mint:#dff3ef;
  --ref-gold:#d2ad58;
  --ref-ink:#0a3936;
  --ref-muted:#556b69;
  --ref-shadow:0 12px 30px rgba(6,72,66,.08);
}
.topbar{background:linear-gradient(90deg,#05655d,#087f73)!important}
.topbar-in{min-height:70px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:18px!important}
.social-top{display:flex!important;gap:11px!important;align-items:center!important}
.social-top a{width:42px!important;height:42px!important;border-radius:11px!important;border:1px solid rgba(255,255,255,.22)!important;background:rgba(255,255,255,.03)!important;display:grid!important;place-items:center!important;color:#fff!important}
.social-top a span{display:none!important}
.social-top svg,.social-top .social-icon{width:22px!important;height:22px!important}
.top-contact{display:flex!important;align-items:center!important;gap:30px!important;color:#fff!important;font-weight:650!important}
.top-contact a{color:#fff!important}

.nav{background:#fff!important;box-shadow:0 7px 22px rgba(4,65,60,.07)!important}
.navin{min-height:124px!important;display:grid!important;grid-template-columns:230px minmax(0,1fr) 84px!important;gap:18px!important;align-items:center!important}
.nav-actions{grid-column:1!important;grid-row:1!important;justify-self:start!important}
.desktop-book{display:flex!important;min-width:190px!important;min-height:64px!important;justify-content:center!important;gap:10px!important;border-radius:14px!important;font-size:18px!important}
.brand{grid-column:2!important;grid-row:1!important;justify-self:center!important;display:flex!important;align-items:center!important;gap:18px!important;direction:rtl!important}
.logo-img{width:82px!important;height:94px!important;object-fit:contain!important;filter:none!important}
.brand-copy{text-align:right!important}
.brand strong{display:block!important;font-size:34px!important;line-height:1.1!important;color:var(--ref-ink)!important;font-weight:850!important;letter-spacing:-.8px!important}
.brand small{display:block!important;margin-top:7px!important;color:#536966!important;font-size:13px!important}
.menu-toggle{grid-column:3!important;grid-row:1!important;width:64px!important;height:64px!important;border-radius:16px!important;background:#f2f8f6!important;border:0!important;color:var(--ref-green)!important;font-size:30px!important;box-shadow:0 7px 20px rgba(3,63,57,.07)!important}
.links{display:none!important}

/* hero */
.premium-hero{padding:0!important;background:linear-gradient(110deg,#e7f6f3 0%,#f9fcfb 45%,#fff 100%)!important;overflow:hidden!important}
.premium-hero .hero-grid{width:min(1460px,100%)!important;max-width:none!important;min-height:680px!important;display:grid!important;grid-template-columns:48% 52%!important;gap:0!important;direction:ltr!important;position:relative!important}
.doctor-visual{grid-column:1!important;grid-row:1!important;position:relative!important;min-height:680px!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;overflow:hidden!important}
.portrait-art{position:absolute!important;inset:0!important;overflow:hidden!important}
.portrait-art:before{
  content:"";position:absolute;left:-8%;bottom:-12%;width:100%;height:94%;
  background:linear-gradient(150deg,#7fc9bf 0%,#5fb3a9 48%,#3b968d 100%);
  clip-path:ellipse(47% 49% at 48% 53%);
  opacity:.48;
}
.portrait-art:after{
  content:"";position:absolute;left:3%;bottom:-3%;width:78%;height:83%;
  border:2px solid rgba(8,127,115,.24);border-radius:50%;
  clip-path:ellipse(49% 50% at 50% 50%);
}
.doctor-cutout{
  position:absolute!important;left:4%!important;bottom:-2%!important;
  width:67%!important;height:auto!important;max-height:96%!important;object-fit:contain!important;
  z-index:5!important;filter:drop-shadow(0 18px 28px rgba(5,60,56,.11))!important;
}
.hero-dot-grid{position:absolute;z-index:2;width:108px;height:80px;opacity:.42;background:radial-gradient(circle,#68b9b0 2px,transparent 2.5px);background-size:15px 15px}
.hero-dot-grid-a{left:3%;top:10%}.hero-dot-grid-b{left:3%;bottom:6%;transform:scale(.75)}
.hero-plus{position:absolute;color:#78c2b9;font-weight:700;z-index:2;font-size:38px;opacity:.68}
.hero-plus-a{left:34%;top:13%}.hero-plus-b{left:47%;top:45%}

.hero-copy{grid-column:2!important;grid-row:1!important;align-self:center!important;display:block!important;direction:rtl!important;text-align:right!important;padding:54px 6vw 42px 20px!important;min-width:0!important}
.hero-intro{max-width:620px!important;margin-right:0!important}
.doctor-prefix{font-size:28px!important;color:var(--ref-green)!important;font-weight:800!important;margin-bottom:7px!important}
.doctor-name{font-size:clamp(58px,6.1vw,86px)!important;line-height:1.02!important;color:#00594f!important;font-weight:900!important;letter-spacing:-2.3px!important;margin:0!important}
.gold-divider{height:22px!important;margin:3px 0 11px!important}
.gold-divider:before,.gold-divider:after{background:linear-gradient(90deg,transparent,var(--ref-gold),transparent)!important}
.doctor-specialty{font-size:27px!important;line-height:1.7!important;color:#334c49!important;font-weight:560!important;margin:0 0 20px!important}
.membership-badge{background:linear-gradient(90deg,#087f73,#045f57)!important;color:#fff!important;font-size:17px!important;padding:11px 20px!important;border-radius:10px!important;box-shadow:0 8px 20px rgba(5,91,82,.14)!important}
.award-dot{color:#e3be5e!important}

.hero-features{margin-top:30px!important;display:grid!important;grid-template-columns:1fr!important;gap:14px!important;max-width:440px!important}
.hero-feature{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:13px!important;align-items:center!important}
.feature-icon{width:56px!important;height:56px!important;max-width:56px!important;border-radius:50%!important;background:#fff!important;border:1px solid #e5efed!important;box-shadow:0 8px 20px rgba(3,71,65,.09)!important;color:var(--ref-green)!important;display:grid!important;place-items:center!important}
.feature-icon svg{width:28px!important;height:28px!important}
.hero-feature b{display:block!important;font-size:18px!important;color:#08766c!important;margin-bottom:3px!important}
.hero-feature small{display:block!important;font-size:14px!important;color:#516966!important;line-height:1.5!important}

/* CTAs */
.hero-mobile-actions{padding:24px 0 12px!important;display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
.hero-mobile-actions .btn{width:100%!important;min-height:64px!important;border-radius:11px!important;font-size:22px!important}
.hero-mobile-actions .btn-primary{background:linear-gradient(90deg,#087f73,#069786)!important}
.hero-mobile-actions .btn-outline{background:#fff!important;color:#087f73!important;border:1.5px solid #087f73!important}

/* info cards */
.quick-info-section{padding:14px 0 22px!important;background:#fff!important}
.quick-info{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:15px!important}
.quick-card{min-height:178px!important;padding:22px!important;border:1px solid #e6eeec!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--ref-shadow)!important;display:grid!important;grid-template-columns:60px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;text-align:right!important;direction:rtl!important}
.quick-icon{width:58px!important;height:58px!important;border-radius:50%!important;background:linear-gradient(145deg,#087f73,#04564f)!important;color:#fff!important;display:grid!important;place-items:center!important}
.quick-icon svg{width:29px!important;height:29px!important}
.quick-card h3{font-size:18px!important;color:#076b61!important;margin:2px 0 7px!important}
.quick-card p{font-size:15px!important;color:#243f3c!important}
.quick-phone{font-size:23px!important;font-weight:800!important}

.home-trust-strip{display:none!important}

/* mobile reference */
@media(max-width:700px){
  .topbar-in{min-height:118px!important;display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;gap:10px!important;padding:12px 0!important}
  .social-top{gap:8px!important}.social-top a{width:37px!important;height:37px!important}
  .top-contact{gap:13px!important;font-size:12px!important}
  .navin{min-height:142px!important;grid-template-columns:120px minmax(0,1fr) 64px!important;grid-template-rows:1fr!important;padding:11px 16px!important;gap:9px!important}
  .nav-actions{grid-column:1!important;grid-row:1!important;width:100%!important}
  .desktop-book{width:100%!important;min-width:0!important;min-height:56px!important;font-size:14px!important;padding:0 10px!important}
  .brand{grid-column:2!important;grid-row:1!important;justify-self:center!important;gap:9px!important;width:auto!important}
  .logo-img{width:62px!important;height:75px!important;flex:0 0 62px!important}
  .brand strong{font-size:23px!important;white-space:nowrap!important}
  .brand small{font-size:9.5px!important;line-height:1.45!important;max-width:210px!important}
  .menu-toggle{grid-column:3!important;grid-row:1!important;width:52px!important;height:52px!important;font-size:26px!important}

  .premium-hero .hero-grid{
    min-height:780px!important;display:grid!important;grid-template-columns:47% 53%!important;
    direction:ltr!important;padding:0!important;align-items:stretch!important
  }
  .doctor-visual{grid-column:1!important;min-height:780px!important;overflow:hidden!important}
  .portrait-art:before{left:-27%!important;bottom:-6%!important;width:145%!important;height:78%!important;clip-path:ellipse(49% 51% at 48% 52%)!important}
  .portrait-art:after{left:-4%!important;bottom:5%!important;width:109%!important;height:64%!important}
  .doctor-cutout{left:-7%!important;bottom:0!important;width:111%!important;max-height:73%!important}
  .hero-dot-grid-a{left:8%!important;top:13%!important}.hero-dot-grid-b{left:1%!important;bottom:4%!important}
  .hero-plus-a{left:47%!important;top:17%!important}.hero-plus-b{left:68%!important;top:42%!important}

  .hero-copy{grid-column:2!important;align-self:center!important;padding:54px 13px 36px 2px!important}
  .doctor-prefix{font-size:19px!important}
  .doctor-name{font-size:45px!important;line-height:1.04!important;letter-spacing:-1.2px!important}
  .gold-divider{height:16px!important;margin:1px 0 6px!important}
  .doctor-specialty{font-size:16px!important;line-height:1.7!important;margin-bottom:12px!important}
  .membership-badge{font-size:9.5px!important;padding:8px 10px!important;border-radius:7px!important;white-space:nowrap!important}
  .hero-features{margin-top:22px!important;gap:12px!important}
  .hero-feature{grid-template-columns:38px minmax(0,1fr)!important;gap:8px!important}
  .feature-icon{width:37px!important;height:37px!important;max-width:37px!important}
  .feature-icon svg{width:20px!important;height:20px!important}
  .hero-feature b{font-size:12px!important;margin-bottom:1px!important}
  .hero-feature small{font-size:8.8px!important}

  .hero-mobile-actions{padding:16px 20px 8px!important}
  .hero-mobile-actions .btn{min-height:55px!important;font-size:17px!important}

  .quick-info{grid-template-columns:repeat(4,1fr)!important;gap:6px!important}
  .quick-card{min-height:156px!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;padding:12px 5px!important;gap:7px!important;border-radius:13px!important}
  .quick-icon{width:42px!important;height:42px!important;flex:0 0 42px!important}
  .quick-icon svg{width:21px!important;height:21px!important}
  .quick-card h3{font-size:11px!important;margin:0!important}.quick-card p{font-size:9px!important;line-height:1.5!important}.quick-card small{font-size:7.5px!important}
  .quick-phone{font-size:12px!important}
  .map-mini{padding:4px 6px!important;font-size:8px!important}
}
@media(max-width:430px){
  .navin{grid-template-columns:105px minmax(0,1fr) 54px!important}
  .desktop-book{font-size:12px!important}.logo-img{width:54px!important;height:66px!important}
  .brand strong{font-size:20px!important}.brand small{font-size:8.5px!important}
  .premium-hero .hero-grid{min-height:700px!important;grid-template-columns:46% 54%!important}
  .doctor-visual{min-height:700px!important}.doctor-cutout{width:116%!important;left:-11%!important;max-height:72%!important}
  .doctor-name{font-size:39px!important}.doctor-specialty{font-size:13.5px!important}.membership-badge{font-size:8px!important}
  .hero-feature b{font-size:10.5px!important}.hero-feature small{font-size:7.8px!important}
}

@keyframes refDoctorIn{from{opacity:0;transform:translateX(-12px) scale(.99)}to{opacity:1;transform:none}}
.doctor-cutout{animation:refDoctorIn .7s ease-out both!important}
@media(prefers-reduced-motion:reduce){.doctor-cutout{animation:none!important}}


/* =========================================================
   V18 — final approved hosting build
   ========================================================= */
.logo-img.default-clinic-logo,
.default-clinic-logo{
  object-fit:contain!important;
  background:transparent!important;
  filter:none!important;
}

/* Header no longer contains the appointment button. */
.nav-actions,.desktop-book{display:none!important}
.navin{
  grid-template-columns:72px minmax(0,1fr) 72px!important;
}
.brand{grid-column:2!important}
.menu-toggle{grid-column:1!important;justify-self:start!important}

/* Two white outlined CTAs exactly as approved. */
.hero-mobile-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  padding-top:18px!important;
  padding-bottom:12px!important;
}
.hero-mobile-actions .btn,
.hero-mobile-actions .btn-outline{
  width:100%!important;
  min-height:58px!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#087f73!important;
  border:1.5px solid #087f73!important;
  box-shadow:0 6px 18px rgba(4,84,76,.035)!important;
  font-weight:750!important;
}
.hero-mobile-actions .btn:hover{
  background:#f8fcfb!important;
}
.hero-mobile-actions .btn svg{
  width:21px!important;height:21px!important;
}

/* Keep the approved doctor cutout cleanly integrated on every screen. */
.doctor-visual,.portrait-art{background:transparent!important}
.doctor-cutout{
  object-fit:contain!important;
  object-position:center bottom!important;
  background:transparent!important;
  border:0!important;
}
@media(min-width:1100px){
  .doctor-cutout{
    left:5%!important;
    width:65%!important;
    bottom:-1%!important;
  }
}
@media(min-width:701px) and (max-width:1099px){
  .doctor-cutout{
    left:0!important;
    width:80%!important;
    bottom:-1%!important;
  }
}

/* Mobile/tablet header: identity row only, no unused appointment row. */
@media(max-width:700px){
  .navin{
    min-height:132px!important;
    grid-template-columns:62px minmax(0,1fr) 72px!important;
    grid-template-rows:1fr!important;
    padding:12px 16px!important;
    gap:10px!important;
  }
  .menu-toggle{grid-column:1!important;grid-row:1!important;width:52px!important;height:52px!important}
  .brand{
    grid-column:2/4!important;
    grid-row:1!important;
    justify-self:end!important;
    width:100%!important;
    justify-content:flex-start!important;
    gap:10px!important;
  }
  .logo-img{
    width:70px!important;
    height:82px!important;
    flex:0 0 70px!important;
  }
  .brand-copy{min-width:0!important}
  .brand strong{font-size:23px!important}
  .brand small{font-size:9.5px!important;line-height:1.5!important}
  .hero-mobile-actions{padding:14px 18px 9px!important}
  .hero-mobile-actions .btn{min-height:54px!important;font-size:16px!important}
  .doctor-cutout{
    left:-8%!important;
    width:112%!important;
    bottom:-1%!important;
  }
}
@media(max-width:430px){
  .navin{min-height:116px!important;grid-template-columns:54px minmax(0,1fr) 60px!important;padding:9px 13px!important}
  .logo-img{width:60px!important;height:70px!important;flex-basis:60px!important}
  .brand strong{font-size:20px!important}
  .brand small{font-size:8.5px!important}
  .doctor-cutout{left:-12%!important;width:118%!important}
}

/* Tablet-specific spacing */
@media(min-width:701px) and (max-width:1024px){
  .navin{min-height:108px!important}
  .brand strong{font-size:28px!important}
  .logo-img{width:72px!important;height:84px!important}
  .hero-mobile-actions{max-width:920px!important}
}


/* V18.1 — small approved doctor portrait lift */
@media (max-width:700px){
  .doctor-cutout{
    bottom:2.2%!important;
  }
}
@media (min-width:701px){
  .doctor-cutout{
    bottom:1.5%!important;
  }
}


/* V18.2 — approved portrait vertical position */
@media (max-width:430px){
  .doctor-cutout{
    bottom:9.5%!important;
  }
}
@media (min-width:431px) and (max-width:700px){
  .doctor-cutout{
    bottom:10.5%!important;
  }
}
@media (min-width:701px) and (max-width:1099px){
  .doctor-cutout{
    bottom:5.5%!important;
  }
}
@media (min-width:1100px){
  .doctor-cutout{
    bottom:3.5%!important;
  }
}


/* V18.3 — approved mobile header positions: menu left, logo right */
@media (max-width:700px){
  .navin{
    grid-template-columns:62px minmax(0,1fr) 72px!important;
  }
  .menu-toggle{
    grid-column:1!important;
    grid-row:1!important;
    justify-self:start!important;
  }
  .brand{
    grid-column:2/4!important;
    grid-row:1!important;
    justify-self:end!important;
    flex-direction:row!important;
  }
  .brand .logo-img{
    order:2!important;
    margin-inline-start:12px!important;
    margin-inline-end:0!important;
  }
  .brand .brand-copy{
    order:1!important;
    text-align:right!important;
  }
}
@media (max-width:430px){
  .navin{
    grid-template-columns:54px minmax(0,1fr) 60px!important;
  }
}


/* =========================================================
   V18.4 — hard-fix mobile header physical positions
   Menu = LEFT, Logo = RIGHT, Doctor name = centered
   ========================================================= */
@media (max-width:700px){
  .navin{
    position:relative!important;
    display:block!important;
    min-height:126px!important;
    padding:0!important;
    direction:ltr!important;
  }

  .menu-toggle{
    position:absolute!important;
    left:16px!important;
    right:auto!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:52px!important;
    height:52px!important;
    margin:0!important;
    z-index:5!important;
  }

  .brand{
    position:absolute!important;
    inset:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:0!important;
    width:100%!important;
    margin:0!important;
    padding:0 92px 0 92px!important;
    direction:rtl!important;
    box-sizing:border-box!important;
  }

  .brand .logo-img{
    position:absolute!important;
    right:16px!important;
    left:auto!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:62px!important;
    height:74px!important;
    margin:0!important;
    object-fit:contain!important;
    z-index:4!important;
  }

  .brand .brand-copy{
    display:block!important;
    width:100%!important;
    max-width:310px!important;
    margin:0 auto!important;
    padding:0!important;
    text-align:center!important;
    direction:rtl!important;
  }

  .brand .brand-copy strong{
    display:block!important;
    text-align:center!important;
    white-space:nowrap!important;
    font-size:22px!important;
    line-height:1.18!important;
  }

  .brand .brand-copy small{
    display:block!important;
    text-align:center!important;
    white-space:normal!important;
    font-size:9.2px!important;
    line-height:1.45!important;
    margin-top:6px!important;
  }
}

@media (max-width:430px){
  .navin{
    min-height:116px!important;
  }

  .menu-toggle{
    left:12px!important;
    width:48px!important;
    height:48px!important;
  }

  .brand{
    padding-left:72px!important;
    padding-right:78px!important;
  }

  .brand .logo-img{
    right:12px!important;
    width:56px!important;
    height:66px!important;
  }

  .brand .brand-copy strong{
    font-size:19px!important;
  }

  .brand .brand-copy small{
    font-size:8px!important;
  }
}


/* V18.5 — brand text right alignment + login form repair */
@media (max-width:700px){
  .brand .brand-copy{
    text-align:right!important;
    direction:rtl!important;
  }
  .brand .brand-copy strong,
  .brand .brand-copy small{
    text-align:right!important;
  }
}

/* Login pages: prevent logo/brand from entering password fields */
.login-page .brand,
.admin-login-page .brand,
body.login-page header,
body.admin-login-page header{
  position:static!important;
  inset:auto!important;
  transform:none!important;
}

.login-card,
.auth-card,
.admin-login-card{
  position:relative!important;
  overflow:hidden!important;
}

.login-card form,
.auth-card form,
.admin-login-card form{
  position:relative!important;
  z-index:2!important;
}

.login-card input,
.auth-card input,
.admin-login-card input{
  width:100%!important;
  box-sizing:border-box!important;
  position:relative!important;
  z-index:2!important;
}


/* V19 — admin/logo utility additions only (public design unchanged) */
.admin-logo-with-image{display:flex!important;align-items:center!important;gap:9px!important}
.admin-logo-with-image img{width:42px!important;height:48px!important;object-fit:contain!important;flex:0 0 42px!important}

/* V20: final approved mobile polish */
@media (max-width:767px){
  .hero h1,.hero-title,.hero__title,.doctor-hero h1{
    font-size:clamp(2.15rem,9.2vw,3.15rem)!important;
    line-height:1.18!important;
  }
  .top-socials,.social-links,.header-socials{
    gap:8px!important;flex-wrap:nowrap!important;justify-content:center!important;
  }
  .top-socials a,.social-links a,.header-socials a{
    width:38px!important;height:38px!important;min-width:38px!important;
    border-radius:11px!important;padding:8px!important;
  }
  .top-socials svg,.top-socials i,.social-links svg,.social-links i,
  .header-socials svg,.header-socials i{
    font-size:18px!important;width:18px!important;height:18px!important;
  }
}

/* V21 — approved top bar/social polish */
@media (max-width:767px){
  .topbar,.top-bar,.site-topbar,.header-top{
    min-height:auto!important;
    padding-top:16px!important;
    padding-bottom:14px!important;
  }
  .top-socials,.social-links,.header-socials{
    gap:7px!important;
    margin-top:0!important;
    margin-bottom:10px!important;
    justify-content:center!important;
    align-items:center!important;
  }
  .top-socials a,.social-links a,.header-socials a{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    padding:7px!important;
    border-radius:10px!important;
    border:1px solid rgba(255,255,255,.30)!important;
    background:rgba(255,255,255,.055)!important;
    box-shadow:none!important;
  }
  .top-socials svg,.top-socials i,
  .social-links svg,.social-links i,
  .header-socials svg,.header-socials i{
    width:17px!important;
    height:17px!important;
    font-size:17px!important;
  }
  .topbar .contact-row,.top-bar .contact-row,
  .site-topbar .contact-row,.header-top .contact-row{
    margin-top:7px!important;
    margin-bottom:0!important;
  }
}


/* V22 — final approved compact social icons */
.topbar{padding:8px 0!important;}
.topbar-in{min-height:48px!important;}
.social-top{gap:12px!important;}
.social-top a{width:27px!important;height:27px!important;min-width:27px!important;padding:2px!important;border:0!important;border-radius:7px!important;background:transparent!important;box-shadow:none!important;}
.social-top .social-icon{width:21px!important;height:21px!important;display:grid!important;place-items:center!important;}
.social-top .social-icon svg,.social-top svg{width:21px!important;height:21px!important;display:block!important;}
@media(max-width:767px){
 .topbar{padding:7px 0 8px!important;}
 .topbar-in{min-height:0!important;gap:6px!important;}
 .social-top{gap:11px!important;margin:0 0 4px!important;}
 .social-top a{width:25px!important;height:25px!important;min-width:25px!important;padding:1px!important;border:0!important;background:transparent!important;}
 .social-top .social-icon,.social-top .social-icon svg,.social-top svg{width:19px!important;height:19px!important;}
}

.custom-social-icon{width:1em;height:1em;object-fit:contain;display:block}

.rich-page-body{line-height:1.95}.rich-page-body .content-box{border:1px solid #d7e7e4;border-radius:18px;padding:22px;margin:20px 0;background:#f9fcfb}.rich-page-body img{max-width:100%;height:auto;border-radius:16px}.rich-page-body .video-wrap{position:relative;padding-top:56.25%;margin:20px 0}.rich-page-body .video-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:16px}

.admin-side nav a{position:relative}.nav-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#d92d20;color:#fff;font-size:12px;font-weight:800;margin-inline-start:7px}.notify-unread{background:#fff1f0!important}.notify-unread td:first-child{border-right:4px solid #d92d20}

.dashboard-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}.overview-card{display:flex;flex-direction:column;gap:6px;padding:18px;border:1px solid #dce9e7;border-radius:16px;background:#fff;text-decoration:none;color:inherit;box-shadow:0 4px 18px rgba(0,0,0,.035)}.overview-card span{font-size:13px;color:#60706d}.overview-card b{font-size:30px;line-height:1}.overview-card em{align-self:flex-start;background:#d92d20;color:#fff;border-radius:999px;padding:3px 8px;font-size:11px;font-style:normal}.admin-main{min-width:0}.tablewrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.message-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
@media(max-width:1000px){.dashboard-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-layout{grid-template-columns:1fr}.admin-side{position:relative;width:100%;height:auto}.admin-side nav{display:flex;overflow-x:auto;gap:5px;padding-bottom:8px}.admin-side nav a{white-space:nowrap}.admin-main{padding:16px}}
@media(max-width:600px){.dashboard-overview{grid-template-columns:1fr 1fr;gap:9px}.overview-card{padding:14px}.overview-card b{font-size:25px}.admin-main{padding:10px}.admin-card{padding:12px;border-radius:13px}.table{min-width:760px}.admin-head h1{font-size:23px}.grid2,.patient-form-grid{grid-template-columns:1fr!important}.btn{min-height:40px}.message-actions details form{min-width:260px!important}}

.clinic-hour-line{display:block;margin:3px 0}.clinic-schedule-box{display:flex;flex-direction:column;gap:7px;padding:16px 18px;margin:12px 0;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:linear-gradient(135deg,var(--brand,#087f73),var(--brand2,#10a391));color:#fff;box-shadow:0 10px 26px rgba(8,127,115,.14)}.clinic-schedule-box b,.clinic-schedule-box span{color:#fff!important}.clinic-schedule-box b{font-size:1.05em;margin-bottom:3px}.schedule-admin-grid{display:grid;gap:10px;margin:14px 0}.schedule-admin-row{display:grid;grid-template-columns:110px 100px 1fr 1fr;gap:12px;align-items:end;padding:12px;border:1px solid #e1ecea;border-radius:14px}.holiday-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px;border-bottom:1px solid #e7efee}@media(max-width:700px){.schedule-admin-row{grid-template-columns:1fr 1fr}.schedule-admin-row>b{grid-column:1/-1}.clinic-hours-card{align-items:flex-start}}


/* Page Builder V33 — applies only inside editable page content */
.page-builder-output{display:block}.page-builder-output>*{max-width:100%}.pb-align-right{text-align:right}.pb-align-center{text-align:center}.pb-align-left{text-align:left}
.pb-heading{color:var(--ink,#112b2b);line-height:1.35;margin:24px 0 12px}.pb-text{line-height:1.95;margin:12px 0;color:var(--ink,#112b2b)}
.pb-box{border:1px solid #d7e7e4;border-radius:18px;padding:22px;margin:20px 0;background:#f9fcfb}.pb-box h3{margin-top:0;color:var(--brand,#087f73)}
.pb-image{margin:20px 0;text-align:center}.pb-image img{width:var(--pb-width,100%);max-width:100%;height:auto;border-radius:16px}.pb-image figcaption{font-size:13px;color:#687975;margin-top:7px}
.pb-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.pb-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px}
.pb-video,.pb-map{position:relative;padding-top:56.25%;margin:22px 0;overflow:hidden;border-radius:16px;background:#eef6f4}.pb-video iframe,.pb-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.pb-video-file{display:block;width:100%;max-height:620px;border-radius:16px;margin:22px 0;background:#000}
.pb-button-wrap{margin:20px 0}.pb-button{display:inline-block;padding:11px 22px;border-radius:12px;text-decoration:none;font-weight:700}.pb-primary{background:var(--brand,#087f73);color:#fff}.pb-outline{border:1px solid var(--brand,#087f73);color:var(--brand,#087f73);background:#fff}
.pb-quote{border-right:4px solid var(--brand,#087f73);margin:22px 0;padding:15px 20px;background:#f5faf9;border-radius:12px;line-height:1.9}.pb-divider{border:0;border-top:1px solid #dce8e5;margin:28px 0}
.pb-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.pb-columns>div{background:#f8fbfa;border-radius:14px;padding:18px;line-height:1.9}.pb-form-card{border:1px solid #d8e7e4;border-radius:18px;padding:20px;margin:20px 0;background:#fff}.pb-fields{display:grid;gap:10px}.pb-form-card input,.pb-form-card textarea{width:100%;box-sizing:border-box}
@media(max-width:720px){.pb-gallery{grid-template-columns:1fr 1fr}.pb-columns{grid-template-columns:1fr}}
