/* RC1 preview hardening: protects Ascenda Clinic layout from legacy theme/plugin CSS. */
.act-site .act-header{padding:14px 0!important;min-height:0!important}
.act-site .act-header__inner{min-height:66px!important;height:auto!important;padding:11px 16px!important;grid-template-columns:auto minmax(0,1fr) auto!important}
.act-site .act-brand{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;width:auto!important;min-width:76px!important;max-width:112px!important;height:42px!important;overflow:hidden!important}
.act-site .act-brand__logo{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;width:auto!important;height:40px!important;max-width:104px!important;overflow:hidden!important}
.act-site .act-brand__logo img,.act-site .act-brand__img{display:block!important;width:auto!important;height:38px!important;max-width:100px!important;max-height:38px!important;min-width:0!important;min-height:0!important;object-fit:contain!important;object-position:left center!important;margin:0!important;padding:0!important}
.act-site .act-nav{min-width:0!important}
.act-site .act-header__actions{white-space:nowrap!important}

/* Scroll reveal */
.act-reveal.is-ready{opacity:0;transform:translateY(26px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1)}
.act-reveal.is-ready.is-visible{opacity:1;transform:none}

/* Refined interactive domain cards */
.act-site .act-domain-selector{overflow:hidden;isolation:isolate}
.act-site .act-domain-selector::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(202,166,87,.12),transparent 55%);opacity:0;transition:opacity .3s ease;z-index:-1}
.act-site .act-domain-selector:hover::before,.act-site .act-domain-selector.is-active::before{opacity:1}
.act-site .act-domain-selector.is-active{transform:translateX(6px)}
.act-site .act-domain-detail__orb{animation:actOrbFloat 7s ease-in-out infinite}
@keyframes actOrbFloat{0%,100%{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-53%) scale(1.025)}}

/* Restore the storytelling Method layout from the approved V3 direction. */
.act-site .act-method{background:#fffaf4!important}
.act-site .act-method__grid--story{display:grid!important;grid-template-columns:minmax(360px,.9fr) minmax(480px,1.25fr)!important;gap:74px!important;align-items:start!important}
.act-site .act-method__intro{position:sticky;top:112px;align-self:start}
.act-site .act-method__intro .act-section__title{max-width:520px;font-size:clamp(58px,5.6vw,82px)!important;line-height:.9}
.act-site .act-method__lead{max-width:560px;margin:24px 0 30px;color:var(--act-muted);font-size:13px;line-height:1.8}
.act-site .act-method__visual--photo{position:relative!important;min-height:380px!important;max-width:610px;border-radius:30px!important;overflow:hidden;background:#eadbc9!important;box-shadow:0 24px 65px rgba(75,55,35,.12)!important}
.act-site .act-method__visual--photo::before,.act-site .act-method__visual--photo::after{display:none!important}
.act-site .act-method__visual--photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 18%;filter:saturate(.9) contrast(.98)}
.act-site .act-method__visual-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(35,27,20,.04) 24%,rgba(24,18,13,.78) 100%)}
.act-site .act-method__visual-copy{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:24px;color:#fff}
.act-site .act-method__visual-top{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:.14em;text-transform:uppercase}
.act-site .act-method__visual-top>span{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(255,255,255,.4);border-radius:50%;font-family:Manrope,sans-serif!important;font-size:10px!important;color:#fff!important}
.act-site .act-method__visual-bottom strong{display:block;font-family:"Cormorant Garamond",serif;font-size:42px;font-weight:500;line-height:1}
.act-site .act-method__visual-bottom p{max-width:430px;margin:10px 0 0;color:rgba(255,255,255,.88);font-size:12px;line-height:1.65}
.act-site .act-method__content--timeline{padding-top:10px}
.act-site .act-method__content--timeline .act-method__steps{position:relative;margin:0;border-top:0!important}
.act-site .act-method__content--timeline .act-method__steps::before{content:"";position:absolute;left:28px;top:26px;bottom:26px;width:1px;background:linear-gradient(180deg,var(--act-accent),rgba(184,141,51,.15))}
.act-site .act-method__content--timeline .act-method-step{position:relative;grid-template-columns:58px 1fr!important;gap:20px!important;padding:24px 0!important;opacity:.5!important;border-bottom:1px solid var(--act-line)!important}
.act-site .act-method__content--timeline .act-method-step>span{position:relative;z-index:2;display:grid;place-items:center;width:54px;height:54px;border:1px solid var(--act-line-strong);border-radius:50%;background:#fffaf4;font-family:Manrope,sans-serif!important;font-size:10px!important;color:var(--act-accent-soft)!important;transition:all .28s ease}
.act-site .act-method__content--timeline .act-method-step strong{font-size:34px!important;line-height:1!important}
.act-site .act-method__content--timeline .act-method-step p{max-width:650px;margin-top:9px!important;font-size:11px!important;line-height:1.7!important}
.act-site .act-method__content--timeline .act-method-step.is-active{opacity:1!important;padding-left:0!important}
.act-site .act-method__content--timeline .act-method-step.is-active>span{background:linear-gradient(135deg,var(--act-accent-deep),#d7ae55);color:#fff!important;border-color:transparent;box-shadow:0 0 0 7px rgba(184,141,51,.08)}
.act-site .act-method__content--timeline .act-method-step:hover{opacity:.9!important;padding-left:4px!important}

/* Treatment and approach interactions */
.act-site .act-treatment-card,.act-site .act-approach-card{transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease,border-color .35s ease}
.act-site .act-treatment-card:hover,.act-site .act-approach-card:hover{transform:translateY(-8px);box-shadow:0 24px 55px rgba(73,52,31,.1);border-color:rgba(184,141,51,.34)}

/* Store: remove legacy escaped category markup and restore premium product cards. */
.act-site .act-store-products{align-items:stretch}
.act-site .act-product-card{position:relative;border:1px solid rgba(184,141,51,.23)!important;border-radius:26px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 12px 34px rgba(70,50,30,.045);transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease,border-color .35s ease}
.act-site .act-product-card:hover{transform:translateY(-8px);box-shadow:0 26px 60px rgba(70,50,30,.11);border-color:rgba(184,141,51,.38)!important}
.act-site .act-product-card>a{padding:0!important}
.act-site .act-product-card .act-kicker{display:none!important}
.act-site .act-product-card__media{position:relative;aspect-ratio:1/1;background:linear-gradient(145deg,#fff,#fbf2e5)!important;overflow:hidden}
.act-site .act-product-card__media>a{display:block;width:100%;height:100%;padding:18px}
.act-site .act-product-card__media img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;padding:0!important;transition:transform .45s ease}
.act-site .act-product-card:hover .act-product-card__media img{transform:scale(1.045)}
.act-site .act-product-card__quick{position:absolute;left:50%;bottom:16px;transform:translate(-50%,12px);opacity:0;white-space:nowrap;border:1px solid rgba(255,255,255,.72);border-radius:999px;padding:10px 16px;background:rgba(255,250,244,.94);backdrop-filter:blur(10px);font:700 10px/1 Manrope,sans-serif;text-transform:uppercase;letter-spacing:.05em;color:var(--act-accent-deep);cursor:pointer;transition:opacity .25s ease,transform .25s ease}
.act-site .act-product-card:hover .act-product-card__quick,.act-site .act-product-card__quick:focus{opacity:1;transform:translate(-50%,0)}
.act-site .act-product-card__body{padding:19px 20px 23px}
.act-site .act-product-card__category{margin:0 0 8px!important;font:700 9px/1.4 Manrope,sans-serif!important;text-transform:uppercase;letter-spacing:.13em;color:var(--act-accent)!important}
.act-site .act-product-card__body h3{margin:0 0 12px!important;font-family:"Cormorant Garamond",serif!important;font-size:25px!important;font-weight:500!important;line-height:1.02!important}
.act-site .act-product-card__body h3 a{color:var(--act-text)!important;text-decoration:none!important}
.act-site .act-product-card__price{margin:0!important;font-size:12px!important;color:var(--act-accent-deep)!important}

/* Product quick view */
.act-product-modal-overlay[hidden],.act-product-modal[hidden]{display:none!important}
.act-product-modal-overlay{z-index:119}
.act-product-modal{position:fixed;z-index:120;left:50%;top:50%;width:min(920px,calc(100vw - 36px));max-height:calc(100vh - 36px);overflow:auto;transform:translate(-50%,-47%) scale(.985);opacity:0;border:1px solid var(--act-line);border-radius:32px;background:#fffaf4;box-shadow:0 34px 100px rgba(35,25,15,.23);transition:opacity .25s ease,transform .25s ease}
.act-product-modal.is-open{opacity:1;transform:translate(-50%,-50%) scale(1)}
.act-product-modal__close{position:absolute;right:18px;top:18px;z-index:2}
.act-product-modal__grid{display:grid;grid-template-columns:.92fr 1.08fr;min-height:520px}
.act-product-modal__media{display:grid;place-items:center;padding:46px;background:linear-gradient(145deg,#f8ead7,#fff)}
.act-product-modal__media img{width:100%;height:100%;max-height:410px;object-fit:contain}
.act-product-modal__content{display:flex;flex-direction:column;justify-content:center;padding:58px 52px}
.act-product-modal__content h2{margin:0 0 12px;font-family:"Cormorant Garamond",serif;font-size:48px;font-weight:500;line-height:.98}
.act-product-modal__price{margin:0 0 22px;color:var(--act-accent-deep);font-size:14px;font-weight:700}
.act-product-modal__description{margin:0;color:var(--act-muted);font-size:13px;line-height:1.75}
.act-product-modal__note{margin:24px 0 0;padding-top:18px;border-top:1px solid var(--act-line);color:var(--act-muted);font-size:10px;line-height:1.6}

@media(max-width:960px){
  .act-site .act-header__inner{grid-template-columns:auto auto auto!important}
  .act-site .act-brand{max-width:88px!important}
  .act-site .act-brand__logo img,.act-site .act-brand__img{max-width:82px!important;max-height:34px!important;height:34px!important}
  .act-site .act-method__grid--story{grid-template-columns:1fr!important;gap:38px!important}
  .act-site .act-method__intro{position:static!important}
  .act-site .act-method__visual--photo{max-width:680px}
  .act-product-modal__grid{grid-template-columns:1fr}
  .act-product-modal__media{min-height:320px;padding:32px}
  .act-product-modal__content{padding:38px 30px}
}

@media(max-width:680px){
  .act-site .act-method__intro .act-section__title{font-size:56px!important}
  .act-site .act-method__visual--photo{min-height:330px!important;border-radius:24px!important}
  .act-site .act-method__visual-copy{padding:18px}
  .act-site .act-method__visual-bottom strong{font-size:34px}
  .act-site .act-method__content--timeline .act-method-step{grid-template-columns:50px 1fr!important;gap:14px!important}
  .act-site .act-method__content--timeline .act-method-step>span{width:46px;height:46px}
  .act-site .act-method__content--timeline .act-method__steps::before{left:23px}
  .act-site .act-method__content--timeline .act-method-step strong{font-size:29px!important}
  .act-site .act-product-card__quick{opacity:1;transform:translate(-50%,0);font-size:9px;padding:9px 13px}
  .act-product-modal{width:calc(100vw - 16px);border-radius:24px}
  .act-product-modal__media{min-height:250px;padding:24px}
  .act-product-modal__content{padding:30px 22px}
  .act-product-modal__content h2{font-size:39px}
}

@media(prefers-reduced-motion:reduce){
  .act-reveal.is-ready{opacity:1!important;transform:none!important;transition:none!important}
  .act-site .act-domain-detail__orb{animation:none!important}
}
