/* Full-screen homepage: original clinic copy and service links fill the opening. */
body[data-page=home] .royal-hero{--royal-header-height:104px;min-height:calc(100svh - var(--royal-header-height));height:auto;overflow:hidden}
.royal-hero-bg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.royal-hero-bg figure{position:relative;inset:auto;height:100%}
.royal-hero-bg img{position:static;inset:auto;width:100%;height:100%;max-height:none;object-fit:contain;object-position:left center;transform:none}
.royal-hero:before{z-index:1;pointer-events:none;background:linear-gradient(270deg,rgba(var(--royal-rgb),1) 16%,rgba(var(--royal-rgb),.86) 37%,rgba(var(--royal-rgb),.3) 66%,rgba(var(--royal-rgb),.02)),linear-gradient(0deg,rgba(var(--royal-rgb),.85),transparent 48%)}
.royal-hero-content{position:relative;inset:auto;z-index:2;min-height:calc(100svh - var(--royal-header-height));display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:36px;padding-block:38px}
.royal-hero-copy{display:grid;grid-template-columns:1fr;width:min(780px,62%);gap:16px;align-items:start}
.royal-hero h1{max-width:none;font-size:clamp(36px,3.4vw,56px);line-height:1.45}
.royal-hero-description{font-size:17px;line-height:1.95;color:#fff;max-width:780px;text-wrap:pretty}
.royal-hero-traits{margin:0;padding:0;border:0;gap:9px 22px;color:#fff;font-size:11px;line-height:1.8}
.royal-hero .btn-white{justify-self:start;margin:3px 0 0;min-width:175px}
.royal-hero-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.royal-hero-link{display:grid;grid-template-columns:45px 1fr 22px;align-items:center;gap:16px;min-height:98px;padding:21px 24px;border:1px solid rgba(255,255,255,.6);border-radius:7px;background:rgba(255,255,255,.94);color:var(--royal);font-size:17px;font-weight:700;line-height:1.7;box-shadow:0 9px 30px rgba(var(--royal-rgb),.08);transition:background .25s ease,translate .25s ease,box-shadow .25s ease}
.royal-hero-link-icon{display:grid;place-items:center;width:45px;height:45px;border:1px solid rgba(var(--royal-rgb),.2);border-radius:5px}
.royal-hero-link-icon svg{width:26px;height:26px}
.royal-hero-link>svg{width:22px;height:22px}
.royal-hero a.royal-hero-link:focus-visible{outline-color:var(--royal);outline-offset:-5px}
.royal-hero figcaption{z-index:3;bottom:18px;left:22px;padding:3px 9px;background:#fff;color:var(--royal);font-size:8px;opacity:1}
.royal-ready .royal-hero-bg img{animation:royal-full-photo .9s ease-out both;transform:none}
@keyframes royal-full-photo{from{opacity:.3}to{opacity:1}}
@media(hover:hover) and (pointer:fine){.royal-hero-link:hover{background:#fff;translate:0 -5px;box-shadow:0 14px 35px rgba(var(--royal-rgb),.18)}}
@media(max-width:1100px){
 body[data-page=home] .royal-hero{--royal-header-height:92px}
 .royal-hero-content{padding-block:30px;gap:28px}
 .royal-hero-copy{width:64%;gap:14px}
 .royal-hero h1{font-size:38px}
 .royal-hero-description{font-size:15px;line-height:1.9}
 .royal-hero-traits{font-size:10px;gap:8px 17px}
 .royal-hero-link{grid-template-columns:37px 1fr 18px;gap:12px;padding:18px;min-height:88px;font-size:14px}
 .royal-hero-link-icon{width:37px;height:37px}
 .royal-hero-link-icon svg{width:23px;height:23px}
 .royal-hero-link>svg{width:18px;height:18px}
}
@media(min-width:851px) and (max-height:820px){
 .royal-hero-content{padding-block:27px;gap:25px}
 .royal-hero-copy{gap:12px}
 .royal-hero h1{font-size:clamp(32px,3.15vw,46px);line-height:1.4}
 .royal-hero-description{font-size:15px;line-height:1.8}
 .royal-hero .btn-white{padding-block:13px;min-height:46px}
 .royal-hero-link{min-height:82px;padding-block:17px}
}
@media(max-width:850px){
 body[data-page=home] .royal-hero{min-height:calc(100svh - 92px)}
 .royal-hero-bg{position:relative;inset:auto;width:100%;height:auto}
 .royal-hero-bg figure{height:auto}
 .royal-hero-bg img{height:auto;object-position:center}
 .royal-hero:before{display:none}
 .royal-hero-content{position:relative;min-height:0;width:100%;padding:29px 36px 32px;gap:27px;background:var(--royal)}
 .royal-hero-copy{width:100%;gap:15px}
 .royal-hero h1{font-size:35px;line-height:1.5}
 .royal-hero-description{max-width:none;font-size:15px;line-height:2}
 .royal-hero-traits{font-size:11px}
 .royal-hero .btn-white{grid-row:3;margin:4px 0 0}
 .royal-hero-description{grid-row:4}
 .royal-hero-traits{grid-row:5}
 .royal-hero-links{gap:13px}
 .royal-hero-link{grid-template-columns:32px 1fr;gap:10px;padding:17px;font-size:13px;min-height:90px}
 .royal-hero-link-icon{width:32px;height:32px}
 .royal-hero-link-icon svg{width:21px;height:21px}
 .royal-hero-link>svg{display:none}
 .royal-hero figcaption{left:18px;bottom:13px}
}
@media(max-width:600px){
 body[data-page=home] .royal-hero{--royal-header-height:82px}
 .royal-hero-content{padding:25px 20px 28px;gap:24px}
 .royal-hero-copy{gap:13px}
 .royal-hero h1{font-size:29px;line-height:1.65}
 .royal-eyebrow{font-size:10px}
 .royal-hero-description{font-size:14px;line-height:1.95}
 .royal-hero-traits{font-size:10px;gap:8px 14px}
 .royal-hero-links{grid-template-columns:1fr;gap:10px}
 .royal-hero-link{grid-template-columns:34px 1fr 18px;min-height:67px;padding:14px 17px;font-size:14px}
 .royal-hero-link-icon{width:34px;height:34px}
 .royal-hero-link>svg{display:block;width:18px;height:18px}
}
@media(max-width:360px){.royal-hero h1{font-size:27px}.royal-hero-description{font-size:13px}.royal-hero-link{font-size:13px}}
@media(prefers-reduced-motion:reduce){.royal-ready .royal-hero-bg img{animation:none;transform:none}.royal-hero-link{transition:none}.royal-hero-link:hover{translate:none}}
@media print{
 body[data-page=home] .royal-hero,.royal-hero-content{min-height:0;height:auto}
 .royal-hero-content{position:static;padding:25px 0;gap:20px;background:#fff}
 .royal-hero-copy{width:100%;color:var(--royal)}
 .royal-hero h1{font-size:30px}
 .royal-hero-description,.royal-hero-traits{color:var(--royal)}
 .royal-hero-links{grid-template-columns:repeat(3,1fr)}
 .royal-hero-link{background:#fff;border-color:var(--royal);font-size:12px;min-height:0;box-shadow:none;break-inside:avoid}
}

/* Blend the supplied 4:3 consultation photo into the hero without cropping people. */
@media(min-width:851px){
 .royal-hero-bg img{width:auto;max-width:100%;margin-inline-start:auto;mask-image:linear-gradient(90deg,#000 60%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 60%,transparent)}
 html[lang=en] body[data-page=home] .royal-hero-bg img{mask-image:linear-gradient(270deg,#000 60%,transparent);-webkit-mask-image:linear-gradient(270deg,#000 60%,transparent)}
}

/* Keep the consultation faces clear; retain the burgundy wash behind the copy. */
@media(min-width:851px){
 html[lang=ar] body[data-page=home] .royal-hero-bg img{mask-image:linear-gradient(90deg,#000 85%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent)}
 html[lang=ar] body[data-page=home] .royal-hero:before{background:linear-gradient(270deg,rgba(var(--royal-rgb),1) 16%,rgba(var(--royal-rgb),.62) 37%,rgba(var(--royal-rgb),.1) 66%,rgba(var(--royal-rgb),0)),linear-gradient(0deg,rgba(var(--royal-rgb),.85),transparent 48%)}
 html[lang=ar] body[data-page=home] .royal-hero-description{text-shadow:0 1px 4px rgba(60,0,12,.9)}
}
