/* Утверждённое направление: прежний вариант 04 «Почти монохром». */

:root{
  --diag:#d5d1ca;
  --implant:#f0733f;
  --complex:#b5ada4;
}

/* Один объект: центральная полуокружность и два мягких тональных слоя. */
html body .hero .hero-main::after{
  right:-64px!important;
  bottom:-28px!important;
  width:64%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  box-shadow:
    0 0 0 48px rgba(255,255,255,.035),
    0 0 0 96px rgba(255,255,255,.02)!important;
}

/* Подпись КТ читается без увеличения всего блока до навязчивого размера. */
html body .hero .hero-badge{
  width:122px!important;
  height:122px!important;
  padding:13px!important;
  background:rgba(255,255,255,.12)!important;
  border-color:rgba(255,255,255,.24)!important;
  color:#fff!important;
  font-size:11.5px!important;
  font-weight:650!important;
  line-height:1.16!important;
  text-shadow:0 1px 2px rgba(9,7,14,.38)!important;
}
html body .hero .hero-badge span{
  display:block!important;
  max-width:92px!important;
}
html body .hero .hero-badge strong{
  display:block!important;
  margin-bottom:5px!important;
  color:#fff!important;
  font-size:21px!important;
  line-height:1!important;
}

/* В правых карточках — один круговой объект и две мягкие тональные полосы. */
html body .hero .hero-side .hero-card::after,
html body .hero .hero-side .hero-card:not(.dark)::after,
html body .hero .hero-side .hero-card.dark::after{
  opacity:1!important;
  z-index:0!important;
}
html body .hero .hero-side .hero-card.dark::after{
  border-color:rgba(255,255,255,.075)!important;
  background:rgba(255,255,255,.022)!important;
  box-shadow:
    0 0 0 22px rgba(255,255,255,.019),
    0 0 0 44px rgba(255,255,255,.011)!important;
}
html body .hero .hero-side .hero-card:nth-child(2)::after{
  border-color:rgba(240,115,63,.095)!important;
  background:rgba(240,115,63,.026)!important;
  box-shadow:
    0 0 0 22px rgba(240,115,63,.018),
    0 0 0 44px rgba(240,115,63,.01)!important;
}
html body .hero .hero-side .hero-card:nth-child(3)::after{
  border-color:rgba(181,173,164,.15)!important;
  background:rgba(181,173,164,.04)!important;
  box-shadow:
    0 0 0 22px rgba(181,173,164,.027),
    0 0 0 44px rgba(181,173,164,.014)!important;
}

/* Сгенерированные в Higgsfield клинические объекты. */
html body .hero .hero-side .hero-card .hero-card-art{
  position:absolute!important;
  z-index:1!important;
  display:block!important;
  margin:0!important;
  pointer-events:none!important;
  user-select:none!important;
  object-fit:contain!important;
  object-position:right bottom!important;
}
html body .hero .hero-side .hero-card>:not(.hero-card-art){
  position:relative!important;
  z-index:3!important;
}
html body .hero .hero-side .hero-card:nth-child(1) .hero-card-art{
  right:5px!important;
  bottom:8px!important;
  width:auto!important;
  height:78%!important;
  opacity:.66!important;
  filter:saturate(.72) contrast(.98) brightness(.96) drop-shadow(0 13px 20px rgba(5,4,9,.2))!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.32) 22%,#000 44%,#000 100%)!important;
  mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.32) 22%,#000 44%,#000 100%)!important;
}
html body .hero .hero-side .hero-card:nth-child(2) .hero-card-art{
  right:24px!important;
  bottom:5px!important;
  width:auto!important;
  height:86%!important;
  opacity:.79!important;
  filter:saturate(.78) contrast(.96) drop-shadow(0 12px 18px rgba(55,40,34,.1))!important;
}
html body .hero .hero-side .hero-card:nth-child(3) .hero-card-art{
  right:-18px!important;
  bottom:-20px!important;
  width:auto!important;
  height:104%!important;
  opacity:.78!important;
  filter:saturate(.78) contrast(1.02) drop-shadow(0 12px 18px rgba(45,40,38,.13))!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.55) 22%,#000 40%,#000 100%)!important;
  mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.55) 22%,#000 40%,#000 100%)!important;
}

/* Полоса начинается ровно от внешнего края карточки, без чёрного зазора. */
html body .hero .hero-side .hero-card{
  isolation:isolate!important;
  box-shadow:none!important;
}
html body .hero .hero-side .hero-card::before,
html body .hero .hero-side .hero-card:not(.dark)::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:0!important;
  right:auto!important;
  top:0!important;
  bottom:0!important;
  width:5px!important;
  height:auto!important;
  border-radius:inherit!important;
  background:var(--card-mark)!important;
  opacity:1!important;
  filter:none!important;
  z-index:6!important;
  pointer-events:none!important;
}

html body .hero .hero-side .hero-card:nth-child(1){--card-mark:#d5d1ca}
html body .hero .hero-side .hero-card:nth-child(2){--card-mark:#f0733f}
html body .hero .hero-side .hero-card:nth-child(3){--card-mark:#b5ada4}

/* На ноутбуке логотип больше не залезает в межколоночный отступ. */
@media (min-width:1101px){
  html body .header .header-main{
    grid-template-columns:235px minmax(300px,1fr) auto auto!important;
    gap:24px!important;
  }
}

/* Generated premium material background for the Straumann offer. */
html body .header .header-promo{
  isolation:isolate!important;
  background-color:#f5efe7!important;
  background-image:
    linear-gradient(90deg,rgba(255,253,249,.96) 0%,rgba(255,253,249,.9) 48%,rgba(255,253,249,.58) 68%,rgba(255,253,249,.1) 100%),
    url('atri-dent-header-promo-v1.webp')!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
  background-size:cover!important;
  border-color:#d8cfc5!important;
  box-shadow:0 9px 24px rgba(68,54,45,.1),inset 0 1px 0 rgba(255,255,255,.75)!important;
}
html body .header .header-promo>div{
  position:relative!important;
  z-index:3!important;
}
html body .header .header-promo strong{
  color:#312c31!important;
  text-shadow:0 1px 0 rgba(255,255,255,.7)!important;
}
html body .header .header-promo small{
  color:#716761!important;
}
html body .header .header-promo::before{
  z-index:4!important;
  background:linear-gradient(135deg,#ff8b54 0%,#ec7040 55%,#d95d32 100%)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.52)!important;
  box-shadow:0 7px 16px rgba(193,78,38,.25),inset 0 1px 0 rgba(255,255,255,.28)!important;
  text-shadow:0 1px 1px rgba(120,45,24,.25)!important;
}

/* Нейтральная монохромная скидка вместо холодной голубовато-серой. */
html body .header .header-promo::before{
  right:18px!important;
  top:19px!important;
  width:96px!important;
  height:34px!important;
  background:#f1a078!important;
  color:#3d2c28!important;
  border:1px solid rgba(94,54,42,.08)!important;
  box-shadow:none!important;
}
html body .header .header-promo{
  padding-right:22px!important;
}
html body .header .header-promo>div{
  flex:0 1 auto!important;
  width:calc(100% - 150px)!important;
  max-width:calc(100% - 150px)!important;
  min-width:0!important;
}

/* Новый hero-портрет уже сведён с фоном #241F31: тень от прямоугольника больше не нужна. */
html body .hero .hero-doctor{
  filter:none!important;
}

/* Final offer badge treatment: brighter, but still within the chosen terracotta system. */
html body .header .header-promo::before{
  background:linear-gradient(135deg,#ff8b54 0%,#ec7040 55%,#d95d32 100%)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.52)!important;
  box-shadow:0 7px 16px rgba(193,78,38,.25),inset 0 1px 0 rgba(255,255,255,.28)!important;
  text-shadow:0 1px 1px rgba(120,45,24,.25)!important;
}

/* Restrained promotional motion for the three service cards. */
html body .hero .hero-side .hero-card{
  transform:translateZ(0)!important;
  transition:transform .32s cubic-bezier(.22,.75,.25,1),border-color .32s ease,box-shadow .32s ease!important;
  will-change:transform!important;
}
html body .hero .hero-side .hero-card::after{
  transform:translateZ(0) scale(1)!important;
  transform-origin:center!important;
  transition:transform .48s cubic-bezier(.2,.8,.2,1),opacity .36s ease,border-color .36s ease!important;
}
html body .hero .hero-side .hero-card::before{
  transition:width .32s ease,filter .32s ease,box-shadow .32s ease!important;
}
html body .hero .hero-side .hero-card .hero-card-art{
  transform:translate3d(0,0,0) rotate(0deg) scale(1)!important;
  transform-origin:72% 68%!important;
  transition:transform .5s cubic-bezier(.2,.8,.2,1),filter .38s ease,opacity .38s ease!important;
  will-change:transform!important;
}
html body .hero .hero-side .hero-card .hc-link,
html body .hero .hero-side .hero-card .round-link{
  transition:transform .3s ease,color .3s ease,background-color .3s ease!important;
}
@media (hover:hover) and (pointer:fine){
  html body .hero .hero-side .hero-card:hover{
    transform:translate3d(0,-4px,0)!important;
    border-color:rgba(240,115,63,.2)!important;
    box-shadow:0 16px 34px rgba(35,30,39,.12)!important;
  }
  html body .hero .hero-side .hero-card.dark:hover{
    box-shadow:0 18px 38px rgba(20,16,28,.25)!important;
  }
  html body .hero .hero-side .hero-card:hover::after{
    transform:translate3d(-6px,-5px,0) scale(1.09)!important;
  }
  html body .hero .hero-side .hero-card:hover::before{
    width:7px!important;
    filter:saturate(1.08) brightness(1.04)!important;
    box-shadow:5px 0 18px rgba(240,115,63,.12)!important;
  }
  html body .hero .hero-side .hero-card:nth-child(1):hover .hero-card-art{
    transform:translate3d(-5px,-4px,0) rotate(-2deg) scale(1.045)!important;
    opacity:.74!important;
  }
  html body .hero .hero-side .hero-card:nth-child(2):hover .hero-card-art{
    transform:translate3d(-3px,-7px,0) rotate(2deg) scale(1.055)!important;
    opacity:.88!important;
  }
  html body .hero .hero-side .hero-card:nth-child(3):hover .hero-card-art{
    transform:translate3d(-5px,-5px,0) rotate(-1deg) scale(1.045)!important;
    opacity:.86!important;
  }
  html body .hero .hero-side .hero-card:hover .hc-link,
  html body .hero .hero-side .hero-card:hover .round-link{
    transform:translateX(4px)!important;
  }
}
@media (prefers-reduced-motion:reduce){
  html body .hero .hero-side .hero-card,
  html body .hero .hero-side .hero-card::before,
  html body .hero .hero-side .hero-card::after,
  html body .hero .hero-side .hero-card .hero-card-art,
  html body .hero .hero-side .hero-card .hc-link,
  html body .hero .hero-side .hero-card .round-link{
    transition:none!important;
  }
}
