/* Approved homepage ornaments plus a new hero-corner trial for private review. */
.bc-hero-corner{display:none;pointer-events:none;user-select:none}
@media(min-width:360px){
 html[lang=ar] .bc-hero-corner{display:block;position:absolute;left:15px;top:64px;width:127px;height:190px;z-index:0;opacity:.8}
 .bc-corner-ring{position:absolute;left:3px;top:16px;width:109px;height:109px;border:1px solid #d7bc7d42;border-radius:50%;box-shadow:0 0 0 8px #dcc68d06,0 0 0 22px #dcc68d04}
 .bc-corner-crescent{position:absolute;left:12px;top:22px;width:91px;height:108px;transform:rotate(-12deg)}
 .bc-corner-crescent svg{display:block;width:100%;height:100%;overflow:visible}
 .bc-corner-crescent svg path{fill:none!important;stroke:#e4cd94!important;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
 .bc-corner-crescent svg g{fill:none!important;stroke:#e4cd94!important;stroke-width:2}
 .bc-corner-crescent svg g path{stroke-width:2}
 .bc-corner-icon{position:absolute;display:grid;place-items:center;width:33px;height:33px;padding:8px;box-sizing:border-box;border:1px solid #e1c68666;border-radius:10px;background:#143e52;box-shadow:0 6px 16px #041e3320}
 .bc-corner-icon svg{width:100%;height:100%;fill:#dfc68b}
 .bc-corner-plane{left:0;top:4px;transform:rotate(-12deg)}
 .bc-corner-care{right:0;top:117px;transform:rotate(10deg)}
 html[lang=ar] .bcx-hero .bcx-kicker,html[lang=ar] .bcx-hero h1,html[lang=ar] .bcx-hero .bcx-lead{position:relative;z-index:1}
}
@media(min-width:420px) and (max-width:599px){html[lang=ar] .bc-hero-corner{left:22px;top:65px;width:142px;transform:scale(1.08);transform-origin:left top}}
.bcx-home .bcx-sec{position:relative;isolation:isolate;overflow:hidden}
.bcx-home .bcx-sec>.bcx-w{position:relative;z-index:1}
.bcx-home .bcx-sec:not(.bcx-contact)::before{content:"";position:absolute;width:440px;height:440px;inset-inline-end:-240px;top:40px;border:1px solid #c8aa6a30;border-radius:50%;box-shadow:0 0 0 40px #c8aa6a09,0 0 0 80px #c8aa6a07,0 0 0 120px #c8aa6a05;z-index:-1;pointer-events:none}
.bcx-home .bcx-sec:not(.bcx-alt):not(.bcx-contact){background:radial-gradient(ellipse at 4% 3%,#e7eef2 0,transparent 40%),#fffefa}
.bcx-home .bcx-alt{background:radial-gradient(ellipse at 95% 0%,#fcf7ea 0,transparent 44%),#f1f6f8}
.bcx-home .bcx-sec:has(.bc-home-ornament) .bcx-sh{max-width:calc(100% - 345px);min-height:142px;box-sizing:border-box;margin-bottom:26px}
.bc-home-ornament{position:absolute;inset-inline-end:20px;top:-17px;width:305px;height:175px;pointer-events:none;user-select:none}
.bc-home-ornament::before{content:"";position:absolute;left:55px;top:8px;width:155px;height:155px;border:1px solid #c3a46a70;border-radius:50%;box-shadow:0 0 0 9px #c8aa6a0a,0 0 0 23px #c8aa6a08;background:radial-gradient(circle,#fbf8eea0,transparent 70%)}
.bc-ornament-seal{position:absolute;left:75px;top:19px;width:122px;height:122px;transform:rotate(-8deg);opacity:.62;filter:drop-shadow(0 7px 9px #0c344b0b)}
.bc-ornament-seal>svg{display:block;width:100%;height:100%}
.bc-ornament-glyph{position:absolute;display:grid;place-items:center;width:53px;height:53px;box-sizing:border-box;padding:14px;border:1px solid #d5c397;border-radius:15px;background:linear-gradient(135deg,#fff,#fcf8ec);box-shadow:0 9px 20px #163a5010}
.bc-ornament-glyph svg{width:100%;height:100%;fill:#a47e38}
.bc-ornament-glyph-a{left:10px;top:18px;transform:rotate(-10deg)}
.bc-ornament-glyph-b{right:3px;top:64px;transform:rotate(9deg)}
.bc-ornament-skyline{position:absolute;left:0;right:0;bottom:-6px;height:66px;overflow:hidden;opacity:.95}
.bc-ornament-skyline>svg{width:420px;height:76px;max-width:none;position:absolute;bottom:0;left:-40px}
.bc-ornament-skyline svg g{opacity:.6;stroke-width:1.5}
.bcx-home #costs .bc-ornament-seal,.bcx-home #testimonials .bc-ornament-seal{transform:rotate(7deg)}
.bcx-home #costs .bc-home-ornament::before{background:#f2eadb65}
.bcx-home #hospitals .bc-home-ornament::before{background:#e2eef366}
.bc-hero-jewels{display:flex;justify-content:center;gap:20px;margin:14px 0 10px;position:relative}
.bc-hero-jewels::before,.bc-hero-jewels::after{content:"";height:1px;width:44px;align-self:center;background:linear-gradient(90deg,transparent,#d4b77699)}
.bc-hero-jewels::after{transform:scaleX(-1)}
.bc-hero-jewels span{display:grid;place-items:center;width:31px;height:31px;box-sizing:border-box;padding:7px;border:1px solid #d4b77680;border-radius:9px;transform:rotate(3deg);background:#fff9}
.bc-hero-jewels svg{width:100%;height:100%;fill:#97702d}
.bcx-brand-visual{border-color:#cdb57da0;box-shadow:0 26px 60px #0002,0 0 0 8px #d4b77608,0 0 0 18px #d4b77605}
.bcx-hero::before{height:190px;opacity:1}
.bcx-sh::before{width:70px;height:3px;background:linear-gradient(90deg,#b08b47,#e8d09a);box-shadow:15px -6px 0 -1px #be9c5b}
.bcx-home .bcx-grid a{background:linear-gradient(125deg,#fff 75%,#fcf8ed);border-color:#d6dfe5}
.bcx-home .bcx-hospital-controls{border-inline-start:3px solid #c4a164}
.bcx-home #medical-team::after{content:"";position:absolute;inset-inline-end:-40px;bottom:0;width:260px;height:260px;border:1px solid #c8aa6a30;border-radius:50%;box-shadow:0 0 0 22px #c8aa6a08;z-index:-1;pointer-events:none}
@media(max-width:959px){.bcx-home .bcx-sec:has(.bc-home-ornament) .bcx-sh{max-width:calc(100% - 250px);min-height:160px}.bc-home-ornament{width:220px;inset-inline-end:15px;transform:scale(.83);transform-origin:top left}.bc-home-ornament::before{left:20px}.bc-ornament-seal{left:40px}.bc-ornament-glyph-a{left:-17px}.bc-ornament-glyph-b{right:-21px}.bc-ornament-skyline{left:-38px;right:-40px}}
@media(max-width:599px){.bcx-home .bcx-sec:has(.bc-home-ornament) .bcx-sh{max-width:100%;min-height:0;padding-inline-end:0}.bc-home-ornament{position:relative;inset:auto;top:auto;width:100%;height:85px;margin:0 0 25px;transform:none;opacity:.9}.bc-home-ornament::before{width:90px;height:90px;top:-4px;left:calc(50% - 45px);box-shadow:0 0 0 8px #c8aa6a08,0 0 0 16px #c8aa6a05}.bc-ornament-seal{width:75px;height:75px;top:4px;left:calc(50% - 37px);opacity:.58}.bc-ornament-glyph{width:40px;height:40px;border-radius:11px;padding:11px}.bc-ornament-glyph-a{left:calc(50% - 115px);top:8px}.bc-ornament-glyph-b{right:calc(50% - 115px);top:27px}.bc-ornament-skyline{left:0;right:0;bottom:-12px;height:35px;opacity:.7}.bc-ornament-skyline>svg{height:50px;width:100%;left:0}.bc-hero-jewels{gap:13px;margin-block:10px 8px}.bc-hero-jewels span{width:27px;height:27px;padding:6px}.bc-hero-jewels::before,.bc-hero-jewels::after{width:28px}.bcx-home .bcx-sec:not(.bcx-contact)::before{width:280px;height:280px;inset-inline-end:-215px;top:160px}.bcx-sh::before{width:58px}}
@media(prefers-reduced-motion:no-preference){.bcx-brand-visual:hover .bc-hero-jewels span{transform:translateY(-2px)}.bc-hero-jewels span{transition:transform .25s}}
/* Keep a clear gap from the second title line on narrow Arabic screens. */
@media(min-width:360px) and (max-width:389px){html[lang=ar] .bc-hero-corner{left:8px;top:76px;transform:scale(.65);transform-origin:left top;opacity:.72}}
@media(min-width:390px) and (max-width:419px){html[lang=ar] .bc-hero-corner{left:10px;top:72px;transform:scale(.85);transform-origin:left top}}

/* Tablet and desktop share the hero accent; keep it behind readable content. */
@media(min-width:600px){html[lang=ar] .bc-hero-corner{left:18px;top:0;width:142px;height:155px;transform:scale(.85);transform-origin:left top;opacity:.65}}
