/* home-polish.css — صفحه اصلی حرفه‌ای‌تر (avizheh ai4). فقط ظاهر؛ روی تم روز/شب. */
.home-pro{--hp-radius:18px;--hp-gap:clamp(2.2rem,4.5vw,3.6rem);--hp-card:var(--card-bg,#fff);--hp-soft:rgba(var(--brand-rgb),.08)}
html[theme-color="dark"] .home-pro{--hp-card:rgba(255,255,255,.035);--hp-soft:rgba(var(--brand-rgb),.12)}

/* Hero: گوشه گرد، سایه نرم */
.home-pro .home-hero-classic .hero-slides,.home-pro .home-hero-classic .owl-stage-outer{border-radius:var(--hp-radius);overflow:hidden}
.home-pro .home-hero-classic .hero-slides{box-shadow:0 18px 40px -22px rgba(0,0,0,.45)}
.home-pro .single-hero-slide .slide-text h4{font-weight:800;letter-spacing:-.01em;text-shadow:0 2px 14px rgba(0,0,0,.35)}
.home-pro .single-hero-slide .btn{border-radius:999px;padding:.5rem 1.2rem;font-weight:700}

/* فاصله‌گذاری و تیتر بخش‌ها */
.home-pro .hp-section{padding-block:calc(var(--hp-gap)/2)}
.home-pro .hp-section-head{align-items:flex-end;margin-bottom:1.1rem;gap:1rem}
.home-pro .hp-section-head h2{font-size:clamp(1.15rem,1rem + .9vw,1.6rem);font-weight:800;letter-spacing:-.015em;line-height:1.35;margin:0;position:relative;padding-bottom:.45rem}
.home-pro .hp-section-head h2::after{content:"";position:absolute;inset-inline-start:0;bottom:0;width:2.6rem;height:3px;border-radius:3px;background:linear-gradient(90deg,rgb(var(--brand-rgb)),rgba(var(--brand-rgb),.25))}
.home-pro .hp-eyebrow{font-size:.74rem;font-weight:700;letter-spacing:.02em;color:rgb(var(--brand-rgb));margin-bottom:.25rem}
.home-pro .hp-link{white-space:nowrap;font-weight:700;font-size:.82rem;padding:.35rem .8rem;border-radius:999px;border:1px solid var(--hp-line)}
.home-pro .hp-link:hover{background:var(--hp-soft)}

/* کارت‌ها: یکدست، hover ملایم */
.home-pro :is(.hp-why-grid article,.hp-cat-card,.hp-collect,.nh-review,.hp-magazine article){border-radius:var(--hp-radius)}
.home-pro .hp-why-grid article{background:var(--hp-card);border:1px solid var(--hp-line);transition:transform .2s ease,box-shadow .2s ease}
.home-pro .hp-why-grid article i{color:rgb(var(--brand-rgb))}
@media (hover:hover){
  .home-pro :is(.hp-why-grid article,.hp-collect,.hp-cat-card):hover{transform:translateY(-3px);box-shadow:0 14px 30px -18px rgba(0,0,0,.35)}
}
.home-pro .hp-collect,.home-pro .hp-cat-card{transition:transform .2s ease,box-shadow .2s ease}

/* ظاهر شدن سریع‌تر بخش‌ها هنگام اسکرول */
.home-pro .hp-reveal{transition-duration:.45s}
@media (prefers-reduced-motion:reduce){.home-pro .hp-reveal{opacity:1!important;transform:none!important;transition:none!important}}

/* نوار پایانی */
.home-pro .nh-cta-band h2{font-weight:800;letter-spacing:-.015em}

/* ── سینمایی ai6: معرفی جواهری کوتاه (یک‌بار در هر نشست، قابل رد کردن) ── */
.av-intro{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;background:#07100f;opacity:1;transition:opacity .35s ease}
.av-intro.is-out{opacity:0;pointer-events:none}
.av-intro__logo{position:relative;width:min(46vw,220px);aspect-ratio:1;transform:scale(.96);opacity:0;animation:avLogoIn .5s ease-out .05s forwards}
.av-intro__logo img{width:100%;height:100%;object-fit:contain;display:block}
.av-intro__sweep{position:absolute;inset:0;-webkit-mask:var(--av-logo) center/contain no-repeat;mask:var(--av-logo) center/contain no-repeat;overflow:hidden}
.av-intro__sweep::before{content:"";position:absolute;top:0;bottom:0;width:60%;left:-70%;background:linear-gradient(105deg,transparent 0%,rgba(255,255,255,0) 30%,rgba(235,240,245,.95) 50%,rgba(255,255,255,0) 70%,transparent 100%);animation:avSweep .75s cubic-bezier(.4,0,.2,1) .3s forwards}
.av-intro__glint{position:absolute;width:10px;height:10px;opacity:0;background:radial-gradient(circle,#fff 0 18%,rgba(255,255,255,.0) 60%);transform:scale(.2) rotate(0);animation:avGlint .45s ease-out forwards}
.av-intro__glint::before,.av-intro__glint::after{content:"";position:absolute;left:50%;top:-6px;bottom:-6px;width:1px;margin-left:-.5px;background:linear-gradient(transparent,#fff,transparent)}
.av-intro__glint::after{transform:rotate(90deg)}
.av-intro__glint:nth-of-type(1){top:22%;left:70%;animation-delay:.55s}
.av-intro__glint:nth-of-type(2){top:62%;left:24%;animation-delay:.72s}
.av-intro__glint:nth-of-type(3){top:38%;left:46%;animation-delay:.88s}
@keyframes avLogoIn{to{opacity:1;transform:scale(1)}}
@keyframes avSweep{to{left:110%}}
@keyframes avGlint{50%{opacity:1;transform:scale(1) rotate(45deg)}100%{opacity:0;transform:scale(.4) rotate(90deg)}}

/* بعد از معرفی: هیرو با عمق میدان نرم و تیتر کلمه‌به‌کلمه */
html.av-cine .home-pro .home-hero-classic .hero-slides{opacity:0;transform:translateY(14px)}
html.av-cine.av-go .home-pro .home-hero-classic .hero-slides{opacity:1;transform:none;transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1)}
html.av-cine .home-pro .home-hero-classic .owl-item.active .single-hero-slide{filter:blur(6px)}
html.av-cine.av-go .home-pro .home-hero-classic .owl-item.active .single-hero-slide{filter:blur(0);transition:filter .7s ease .1s}
.av-w{display:inline-block;opacity:0;transform:translateY(.5em);transition:opacity .45s ease,transform .45s cubic-bezier(.2,.7,.2,1)}
html.av-go .av-w{opacity:1;transform:none}

/* کارت‌های محصول: ورود پله‌ای ملایم (همراه reveal قبلی) */
.home-pro .hp-reveal:not(.is-in) :is(.hp-why-grid > *,.hp-collect,.hp-cat-card){opacity:0;transform:translateY(12px)}
.home-pro .hp-reveal.is-in :is(.hp-why-grid > *,.hp-collect,.hp-cat-card){transition:opacity .5s ease,transform .5s cubic-bezier(.2,.7,.2,1)}
.home-pro .hp-reveal.is-in :is(.hp-why-grid > *,.hp-collect,.hp-cat-card):nth-child(2){transition-delay:.06s}
.home-pro .hp-reveal.is-in :is(.hp-why-grid > *,.hp-collect,.hp-cat-card):nth-child(3){transition-delay:.12s}
.home-pro .hp-reveal.is-in :is(.hp-why-grid > *,.hp-collect,.hp-cat-card):nth-child(4){transition-delay:.18s}
.home-pro .hp-reveal.is-in :is(.hp-why-grid > *,.hp-collect,.hp-cat-card):nth-child(n+5){transition-delay:.24s}
@media (prefers-reduced-motion:reduce){.av-intro{display:none!important}html.av-cine .home-pro .home-hero-classic .hero-slides,.av-w{opacity:1!important;transform:none!important;filter:none!important}}

/* «چرا آویژه» فشرده روی موبایل */
@media (max-width:640px){
  .home-pro .hp-why .hp-section-head{margin-bottom:.6rem}
  .home-pro .hp-why-grid{grid-template-columns:1fr 1fr!important;gap:.5rem}
  .home-pro .hp-why-grid article{padding:.65rem .65rem;border-radius:14px;display:grid;grid-template-columns:auto 1fr;column-gap:.5rem;align-items:center;box-shadow:none}
  .home-pro .hp-why-grid i{width:30px;height:30px;border-radius:9px;margin:0;font-size:.8rem;grid-row:span 2}
  .home-pro .hp-why-grid h3{font-size:.8rem;margin:0;line-height:1.4}
  .home-pro .hp-why-grid p{font-size:.68rem;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}

/* ── سبک‌سازی موبایل ── */
@media (max-width:767.98px){
  .home-pro::before{display:none}
}
@media (prefers-reduced-motion:reduce){
  .live-price-ticker-track{animation:none!important}
  .home-pro *{animation:none!important;transition:none!important}
  .home-pro .hp-reveal :is(.hp-why-grid > *,.hp-collect,.hp-cat-card){opacity:1!important;transform:none!important}
}
