/* R105 — premium licensed imagery system.
 * Hero: the authentic doctor portrait remains untouched; the former artificial fade is replaced
 * by a deliberately designed architectural wall panel using a licensed Pexels texture.
 * Services: six object-led Pexels images, with restrained editorial grading and cleaner overlays.
 */

/* ===== HERO: portrait + branded architectural wall ===== */
body.home .r90-hero__media{
  background:linear-gradient(135deg,#f5f3ee 0%,#edf2f3 52%,#e5ecef 100%)!important;
}
body.home .r90-hero__slide.r105-hero__slide--doctor{
  display:grid!important;
  grid-template-columns:minmax(0,67%) minmax(0,33%)!important;
  overflow:hidden!important;
  background:#eef2f2!important;
  isolation:isolate!important;
}
body.home .r105-hero__slide--doctor::before,
body.home .r105-hero__slide--doctor::after{
  content:none!important;
  display:none!important;
}
body.home .r105-hero-doctor__portrait{
  position:relative!important;
  z-index:2!important;
  min-width:0!important;
  height:100%!important;
  overflow:hidden!important;
  background:#ecefed!important;
}
body.home .r105-hero-doctor__portrait::after{
  content:"";
  position:absolute!important;
  z-index:2!important;
  top:0!important;
  right:-1px!important;
  width:1px!important;
  height:100%!important;
  background:linear-gradient(180deg,rgba(188,139,47,.15),rgba(205,158,67,.58) 34%,rgba(220,177,87,.38) 72%,rgba(188,139,47,.10))!important;
  box-shadow:10px 0 28px rgba(13,48,76,.08)!important;
}
body.home .r90-hero__slide.r105-hero__slide--doctor>.r105-hero-doctor__portrait>img{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:50% 48%!important;
  transform:none!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
  filter:none!important;
}
body.home .r105-hero-doctor__wall{
  position:relative!important;
  z-index:1!important;
  min-width:0!important;
  height:100%!important;
  overflow:hidden!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(145deg,#f1eee7 0%,#e6e2d8 100%)!important;
}
body.home .r105-hero-doctor__wall-bg{
  position:absolute!important;
  inset:-7%!important;
  width:114%!important;
  height:114%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:54% 44%!important;
  filter:saturate(.58) contrast(.94) brightness(1.08)!important;
  transform:scale(1.02)!important;
}
body.home .r105-hero-doctor__wall-wash{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    linear-gradient(110deg,rgba(252,250,245,.72),rgba(248,247,242,.30) 47%,rgba(223,226,222,.18)),
    radial-gradient(circle at 72% 23%,rgba(255,255,255,.52),transparent 38%)!important;
  box-shadow:inset 18px 0 36px rgba(26,51,70,.05)!important;
}
body.home .r105-hero-doctor__signage{
  position:relative!important;
  z-index:2!important;
  width:min(190px,68%)!important;
  display:grid!important;
  justify-items:center!important;
  gap:12px!important;
  transform:translateY(-2%)!important;
}
body.home .r105-hero-doctor__signage>img{
  position:static!important;
  width:min(122px,72%)!important;
  height:auto!important;
  max-width:122px!important;
  object-fit:contain!important;
  filter:drop-shadow(0 8px 5px rgba(19,43,61,.18)) drop-shadow(0 18px 28px rgba(19,43,61,.12))!important;
}
body.home .r105-hero-doctor__signage>span{
  width:52px!important;
  height:1px!important;
  background:linear-gradient(90deg,transparent,#bd8c35 22%,#e0b75f 50%,#bd8c35 78%,transparent)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.55)!important;
}
body.home .r105-hero-doctor__signage>small{
  color:#163a58!important;
  font:800 9px/1.45 "Plus Jakarta Sans",Arial,sans-serif!important;
  letter-spacing:.12em!important;
  text-align:center!important;
  text-transform:uppercase!important;
  text-shadow:0 1px 0 rgba(255,255,255,.78)!important;
}

/* ===== SERVICES: one cohesive editorial image language ===== */
body.home .services .service-card{
  border:1px solid rgba(21,55,82,.09)!important;
  background:#dfe8ed!important;
  box-shadow:0 18px 44px rgba(9,38,61,.11)!important;
}
body.home .services .service-card>img{
  object-fit:cover!important;
  filter:saturate(.80) contrast(1.035) brightness(.985)!important;
  transform:scale(1.002)!important;
  transition:transform .7s cubic-bezier(.22,.61,.36,1),filter .55s ease!important;
}
body.home .services .service-card:hover>img{
  transform:scale(1.025)!important;
  filter:saturate(.88) contrast(1.04) brightness(.99)!important;
}
body.home .services .service-card::after{
  height:58%!important;
  background:linear-gradient(180deg,rgba(3,25,45,0) 0%,rgba(3,25,45,.05) 22%,rgba(3,25,45,.48) 59%,rgba(3,24,45,.92) 100%)!important;
}
body.home .services .service-card::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  border-radius:inherit!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.24),inset 0 0 0 1px rgba(255,255,255,.03)!important;
}
body.home .services .card-copy{
  z-index:3!important;
  inset:auto 26px 23px!important;
}
body.home .services .card-copy small{
  color:#f0c86f!important;
  text-shadow:0 1px 8px rgba(0,0,0,.18)!important;
}
body.home .services .card-copy h3{
  color:#fff!important;
  letter-spacing:-.018em!important;
  text-shadow:0 2px 18px rgba(0,0,0,.20)!important;
}
body.home .services .card-copy button{
  border-top-color:rgba(255,255,255,.34)!important;
  color:rgba(255,255,255,.93)!important;
}

/* Per-image focal points chosen for the R105 object-led photo set. */
body.home .services .service-card:nth-child(1)>img{object-position:50% 50%!important}
body.home .services .service-card:nth-child(2)>img{object-position:50% 52%!important}
body.home .services .service-card:nth-child(3)>img{object-position:50% 38%!important}
body.home .services .service-card:nth-child(4)>img{object-position:50% 47%!important}
body.home .services .service-card:nth-child(5)>img{object-position:50% 44%!important}
body.home .services .service-card:nth-child(6)>img{object-position:50% 54%!important}

@media(max-width:1180px){
  body.home .r90-hero__slide.r105-hero__slide--doctor{grid-template-columns:minmax(0,70%) minmax(0,30%)!important}
  body.home .r105-hero-doctor__signage{width:min(160px,70%)!important}
  body.home .r105-hero-doctor__signage>img{width:min(100px,74%)!important}
}

@media(max-width:960px){
  body.home .r90-hero__slide.r105-hero__slide--doctor{grid-template-columns:minmax(0,72%) minmax(0,28%)!important}
  body.home .r90-hero__slide.r105-hero__slide--doctor>.r105-hero-doctor__portrait>img{object-position:52% 48%!important}
  body.home .r105-hero-doctor__signage{width:76%!important;gap:8px!important}
  body.home .r105-hero-doctor__signage>img{width:82px!important;max-width:82px!important}
  body.home .r105-hero-doctor__signage>small{font-size:7.4px!important;letter-spacing:.09em!important}
}

@media(max-width:720px){
  body.home .r90-hero__slide.r105-hero__slide--doctor{grid-template-columns:minmax(0,76%) minmax(0,24%)!important}
  body.home .r90-hero__slide.r105-hero__slide--doctor>.r105-hero-doctor__portrait>img{object-position:54% 50%!important}
  body.home .r105-hero-doctor__signage>img{width:68px!important;max-width:68px!important}
  body.home .r105-hero-doctor__signage>small{display:none!important}
  body.home .r105-hero-doctor__signage>span{width:38px!important}
  body.home .services .card-copy{inset:auto 22px 20px!important}
}

@media(max-width:560px){
  body.home .r90-hero__slide.r105-hero__slide--doctor{grid-template-columns:minmax(0,78%) minmax(0,22%)!important}
  body.home .r90-hero__slide.r105-hero__slide--doctor>.r105-hero-doctor__portrait>img{object-position:55% 50%!important}
  body.home .r105-hero-doctor__wall-bg{object-position:48% 42%!important}
  body.home .r105-hero-doctor__signage{width:88%!important;gap:7px!important}
  body.home .r105-hero-doctor__signage>img{width:54px!important;max-width:54px!important}
  body.home .r105-hero-doctor__signage>span{width:30px!important}
  body.home .services .service-card::after{height:62%!important}
}
