/* Original homepage artwork, scoped additions only. Existing philosophy/header
   animations and the original 3/2/1 review carousel remain authoritative. */
body[data-page="home"] .home-heritage-stats{padding:64px var(--gutter-a,10px) 20px}
body[data-page="home"] .home-heritage-stats>.sec__inner{max-width:1240px}
.heritage-eyebrow{font:600 13px/1.6 var(--f-text);letter-spacing:.12em;text-transform:uppercase;color:#416481;text-align:center;margin:0 0 22px}
.heritage-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.heritage-stat{min-width:0;display:grid;justify-items:center;align-content:start;padding:22px 24px 30px;border:1px solid #b4c7d9;border-radius:28px;background:radial-gradient(ellipse at 10% 0,#c9e9f09e,transparent 70%),linear-gradient(145deg,#fcfeff,#e1ebf7);box-shadow:inset 0 1px #fff,0 18px 40px -32px #16345a75;text-align:center}
.heritage-motion{pointer-events:none;min-width:0;position:relative}
.heritage-motion>svg{display:block!important;max-width:100%;height:100%!important;width:100%!important}
/* The source meanings remain; each new geometric composition has a deliberate
   coordinated entrance and a restrained visible-only living illustration.
   The figure never changes the card's reserved layout. */
.heritage-stat-art{width:174px;height:140px;margin:0 0 10px;pointer-events:none}
.heritage-stat-art>svg{display:block;width:100%;height:100%;overflow:visible}
.heritage-stat-number{inline-size:100%;text-align:center}
.heritage-counter{display:block;inline-size:100%;font-variant-numeric:tabular-nums}
/* Original HELP's observed color filter is preserved. */
.heritage-help{filter:saturate(1) hue-rotate(96deg)}
.heritage-stat-number{font:600 clamp(40px,4.3vw,64px)/1.12 var(--f-primary);color:#102e54;font-variant-numeric:tabular-nums;white-space:nowrap;display:block;min-height:1.2em}
.heritage-stat-label{font:500 16px/1.6 var(--f-text);color:#354f6e;margin:12px 0 0;max-width:27ch}
.heritage-stat-disclosure{font:400 12px/1.7 var(--f-text);text-align:center;color:#536980;max-width:70ch;margin:20px auto 0}
/* The attorney action belongs to the copy; the approved brand animation owns the adjacent stage. */
body[data-page="home"] .phil__copy>.heritage-phil-actions{display:flex;align-items:center;margin-top:28px}
body[data-page="home"] .heritage-phil-actions>.btn{margin:0;max-width:100%;width:fit-content;min-height:56px;min-inline-size:min(240px,100%);font-size:18px;padding-inline:30px}
/* A real original asset, fixed at the viewport centre behind these two sections. */
body[data-page="home"]::before{content:none}
body[data-page="home"] #philosophy .phil::before,
body[data-page="home"] #home-heritage-support>.sec__inner::before{content:"";position:absolute;inset:0;border-radius:inherit;background:url(brand/live/2025_08_Favicon.png) center center/500px auto no-repeat fixed;opacity:.06;pointer-events:none;z-index:1}
body[data-page="home"] #philosophy .phil>*{position:relative;z-index:2}
body[data-page="home"] .home-heritage-support{padding:22px var(--gutter-a,10px) 10px}
body[data-page="home"] .heritage-support-grid{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr);gap:32px;align-items:center;max-width:1420px;padding:44px;border:1px solid #688bb166;border-radius:33px;background:radial-gradient(ellipse at 0 0,#1a568c,#132d5b 58%,#101e43);box-shadow:inset 0 1px #e3f2ff38,0 20px 45px -37px #091b55a3}
body[data-page="home"] .heritage-support-grid.has-phone{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr)}
.heritage-budget{position:absolute;inset:0;z-index:0;overflow:hidden;border-radius:inherit;pointer-events:none}
.heritage-budget-video,.heritage-budget-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.3}
.heritage-budget-poster{transition:opacity .2s linear}
.heritage-budget-video[data-playing="true"]+.heritage-budget-poster{opacity:0}
.heritage-budget-veil{position:absolute;inset:0;background:linear-gradient(105deg,#0d2d5675,#11295b9e 60%,#0b1c45c4)}
.heritage-phone,.heritage-assistance{position:relative;z-index:2;min-width:0}
.heritage-phone{margin:0;overflow:hidden;border-radius:24px;align-self:stretch;display:flex;align-items:center}
.heritage-phone[hidden]{display:none}
.heritage-phone-image{display:block;width:100%;height:auto;object-fit:contain;border-radius:24px}
.heritage-assistance{display:grid;justify-items:center;align-content:center;gap:20px;width:100%;max-width:440px;justify-self:center;text-align:center}
.heritage-assistance>.h2{font-size:clamp(32px,3.1vw,44px);line-height:1.15;color:#f5f9ff;max-width:17ch;margin:0;text-wrap:balance}
.heritage-help{width:100%;max-width:390px;aspect-ratio:16/9;margin:0}
.heritage-assistance>.btn{margin:0;min-height:56px;max-width:100%;min-inline-size:min(240px,100%);font-size:18px;padding-inline:28px}
body[data-page="home"] .sec-reviews .reviews-plate::before{opacity:.17}
html[lang="fa"] .heritage-eyebrow{letter-spacing:0;text-transform:none}
html[lang="fa"] .heritage-stat-number{font-family:var(--f-text);font-size:clamp(27px,3.2vw,42px);line-height:1.6}
html[lang="fa"] .heritage-assistance>.h2{line-height:1.65;font-size:clamp(27px,3vw,36px);max-width:none}
@media(max-width:1024px){
 body[data-page="home"] .heritage-support-grid.has-phone{grid-template-columns:minmax(0,1.2fr) minmax(250px,1fr);padding:30px;gap:24px}
 .heritage-stat{padding:20px 16px 26px}.heritage-stat-number{font-size:44px}.heritage-stat-label{font-size:14px}
}
@media(max-width:767px){
 body[data-page="home"] .home-heritage-stats{padding-top:40px}.heritage-stats-grid{grid-template-columns:1fr;gap:14px}
 .heritage-stat{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;padding:22px 20px 26px;border-radius:22px;align-items:start}
 .heritage-stat-art{width:156px;height:125px;margin-bottom:10px}.heritage-stat-number{font-size:48px}.heritage-stat-label{margin-top:8px;font-size:15px;max-width:27ch}
 .heritage-stat-disclosure{padding-inline:16px}
 body[data-page="home"] .phil__copy>.heritage-phil-actions{margin-top:24px}
 body[data-page="home"] .heritage-support-grid,body[data-page="home"] .heritage-support-grid.has-phone{grid-template-columns:1fr;padding:20px;gap:26px;border-radius:22px}
 .heritage-phone{border-radius:17px}.heritage-phone-image{border-radius:17px}.heritage-assistance{justify-self:center;padding:0 4px 8px;gap:18px}.heritage-assistance>.h2{max-width:22ch}
 .heritage-help{max-width:330px}.heritage-budget-veil{background:linear-gradient(180deg,#123c6970,#11295ba1 62%,#0b1c45c9)}
 body[data-page="home"] #philosophy .phil::before,body[data-page="home"] #home-heritage-support>.sec__inner::before{background-size:300px auto}
 html[lang="fa"] .heritage-stat-number{font-size:27px}
}
@media(prefers-reduced-motion:reduce){.heritage-budget-poster{transition:none}}
@media(forced-colors:active){
 .heritage-motion,.heritage-stat-art,.heritage-budget,body[data-page="home"] #philosophy .phil::before,body[data-page="home"] #home-heritage-support>.sec__inner::before{display:none}
 .heritage-stat,.heritage-support-grid{background:Canvas!important;color:CanvasText!important;border-color:CanvasText!important;box-shadow:none!important}
 .heritage-stat-number,.heritage-stat-label,.heritage-stat-disclosure,.heritage-assistance>.h2{color:CanvasText!important}
}
@media print{.heritage-budget,.heritage-motion,.heritage-finance,body[data-page="home"] #philosophy .phil::before,body[data-page="home"] #home-heritage-support>.sec__inner::before{display:none}.heritage-stat{break-inside:avoid}.heritage-stat-disclosure{color:#222}}

/* Narrow phones: reserve room for Persian monetary labels without widening the grid. */
@media(max-width:380px){
 .heritage-stat{grid-template-columns:minmax(0,1fr);padding:20px 18px 24px}
 .heritage-stat-art{width:144px;height:116px}
 .heritage-stat-number{font-size:44px}
 .heritage-stat-label{font-size:13px;overflow-wrap:anywhere}
 html[lang="fa"] .heritage-stat-number{font-size:25px}
}
