/*
 * Theme "garden": home page middle sections, copied from design/approved/02-home/desktop.html:
 * the wave and «اولین بار است می‌آیید؟» strip, the dark «مسیر مراجعه شما» section and the
 * services list beside the photo. Scoped under body.g-home. The mockup's ".m" rules are the
 * max-width 767px block; tablet rules (art direction 4.4) are at the end.
 */
.g-home .wave{display:block;width:100%;height:90px;margin-top:-1px}
.g-home .band{background:var(--p-sage);padding:10px 64px 48px;display:flex;align-items:center;gap:32px}
.g-home .band b{font-weight:300;font-size:26px}
.g-home .band span{font-size:15px;color:var(--p-text-2)}
.g-home .deep{--p-align:center;--p-align-last:center;position:relative;background:var(--p-deep);color:var(--p-deep-text);padding:80px 64px 84px;border-radius:48px 48px 0 0;overflow:hidden;text-align:center}
.g-home .glow{position:relative;width:340px;height:340px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center}
.g-home .glow::before{content:'';position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle,var(--p-deep-text) 0%,var(--p-deep-text) 46%,color-mix(in srgb, var(--p-deep-text) 80%, transparent) 54%,color-mix(in srgb, var(--p-deep-text) 0%, transparent) 71%)}
.g-home .glow img{position:relative;height:210px}
.g-home .deep h2{font-weight:200;font-size:52px;margin:0 0 10px}
.g-home .deep .sub{font-size:17px;color:var(--p-deep-muted);margin:0 0 46px}
.g-home .steps{list-style:none;margin:0 auto;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;max-width:1220px;text-align:right}
.g-home .st{background:var(--p-deep-card);border-radius:26px;padding:24px;display:flex;flex-direction:column;gap:8px}
.g-home .st-n{width:40px;height:40px;border-radius:50%;background:var(--p-deep-text);color:var(--p-deep);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:18px;margin-bottom:8px}
.g-home .st b{font-size:18px;font-weight:500}
.g-home .st-d{font-size:15px;color:var(--p-deep-muted);line-height:1.85}
.g-home .deep-ctas{display:flex;justify-content:center;gap:14px;margin-top:44px}
.g-home .btn-l{display:inline-flex;align-items:center;gap:12px;background:var(--p-deep-text);color:var(--p-ink);font-weight:500;font-size:16px;padding:14px 28px;border-radius:999px;min-height:50px}
.g-home .btn-o{display:inline-flex;align-items:center;gap:10px;color:var(--p-deep-text);border:1px solid color-mix(in srgb, var(--p-deep-text) 40%, transparent);padding:13px 24px;border-radius:999px;font-size:16px;min-height:50px}
.g-home .deep h2{font-weight:350;font-stretch:100%;font-size:44px;line-height:1.5}
.g-home .band b{font-weight:600;font-stretch:100%;line-height:1.6}
.g-home .band b{font-size:24px;font-weight:400}
.g-home .st-d,.g-home .band span,.g-home .deep .sub{font-weight:400;line-height:1.85}
.g-home .btn-l,.g-home .btn-o{font-weight:650}
.g-home .btn-o{font-weight:500}
.g-home .st-n{font-weight:750;font-size:18px}
.g-home .st b{font-weight:600;font-size:19px}
.g-home .band b{display:inline-flex;align-items:center;gap:14px}
.g-home .band b::before{content:'';width:28px;height:3px;border-radius:2px;background:#A3532F;flex:none}
.g-home .sec{padding:104px 64px 96px}
.g-home .sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:44px}
.g-home .kick{display:inline-flex;align-items:center;gap:10px;font-size:15px;color:var(--p-muted);margin:0 0 10px}
.g-home .kick i{width:9px;height:9px;border-radius:50%;background:#A3532F}
.g-home .sec h2{font-weight:350;font-size:44px;line-height:1.5;margin:0;color:var(--p-ink)}
.g-home .sec .intro{font-size:18px;line-height:1.85;color:var(--p-text-2);margin:12px 0 0;max-width:540px}
.g-home .tlink{display:inline-flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:var(--p-action);min-height:44px;white-space:nowrap}
.g-home .tlink:hover{color:#A3532F}
.g-home .tlink svg{transition:transform .35s}
.g-home .tlink:hover svg{transform:translateX(-4px)}
.g-home .svc-wrap{display:grid;grid-template-columns:1.25fr 1fr;gap:72px;align-items:start}
.g-home .svc-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--p-line-2)}
.g-home .svc-row{display:grid;grid-template-columns:56px 1fr 40px;gap:20px;align-items:center;padding:26px 12px;border-bottom:1px solid var(--p-line-2);border-radius:0;transition:background .25s}
.g-home .svc-row:hover{background:#FFFFFF}
.g-home .svc-n{font-size:18px;font-weight:750;color:var(--p-muted)}
.g-home .svc-row b{display:block;font-size:26px;font-weight:600;line-height:1.5;color:var(--p-ink);transition:color .25s}
.g-home .svc-row:hover b{color:var(--p-action)}
.g-home .svc-row p{margin:4px 0 0;font-size:17px;line-height:1.85;color:var(--p-text-2)}
.g-home .svc-row .go{color:var(--p-action);justify-self:end;transition:transform .35s,color .25s}
.g-home .svc-row:hover .go{transform:translateX(-4px);color:#A3532F}
.g-home .svc-row .need{margin-top:8px}
.g-home .svc-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px}
.g-home .svc-foot span{font-size:15px;color:var(--p-muted)}
.g-home .svc-ph{position:relative;position:sticky;top:32px}
.g-home .svc-ph img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:36px}
.g-home .svcs{background:var(--p-bg)}
.g-home .grp{display:flex;flex-direction:column;align-items:center;gap:4px;margin:0 0 22px;font-size:21px;font-weight:600;color:var(--p-deep-text)}
.g-home .grp span{font-size:14px;font-weight:500;color:var(--p-deep-muted);letter-spacing:0}
.g-home .visit{--p-align:justify;--p-align-last:start;max-width:1220px;margin:64px auto 0;text-align:right}
.g-home .visit .grp{align-items:center;text-align:center}
.g-home .vtl{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;position:relative}
.g-home .vtl::before{content:'';position:absolute;top:9px;right:9px;left:9px;height:1px;background:var(--p-deep-muted);opacity:.45}
.g-home .vtl li{position:relative;display:flex;flex-direction:column;gap:8px;padding-top:34px}
.g-home .vt-dot{position:absolute;top:0;right:0;width:19px;height:19px;border-radius:50%;background:var(--p-deep);border:2px solid var(--p-deep-text)}
.g-home .vt-dot::after{content:'';position:absolute;inset:4px;border-radius:50%;background:var(--p-dot)}
.g-home .vtl b{font-size:19px;font-weight:600;color:var(--p-deep-text);line-height:1.6}
.g-home .vt-d{font-size:16px;line-height:1.85;color:var(--p-deep-muted)}
.g-home .vt-need{margin:22px 0 0;text-align:center}
.g-home .sec{padding:120px 64px}
.g-home .sec-head{margin-bottom:56px;gap:40px}
.g-home .kick{margin:0 0 14px}
.g-home .sec h2{line-height:1.45;text-wrap:balance}
.g-home .sec .intro{margin-top:16px;text-wrap:pretty}
.g-home .svc-row p{text-wrap:pretty}
.g-home .svc-row b,.g-home .dname{text-wrap:balance}
.g-home .svc-wrap{gap:80px}
.g-home .svc-foot{margin-top:28px}
.g-home .deep a:focus-visible{outline-color:var(--p-deep-text)}
.g-home .svc-row:focus-visible{outline-offset:-3px}
.g-home .btn-l,.g-home .btn-o{transition:background-color .25s var(--ease),color .25s var(--ease),box-shadow .3s var(--ease),transform .2s var(--ease),border-color .25s var(--ease)}
.g-home .btn-l:active,.g-home .btn-o:active{transform:translate3d(0,1px,0) scale(.99);transition-duration:.08s}
.g-home .tlink{transition:color .25s var(--ease)}
.g-home .tlink svg,.g-home .svc-row .go{transition:transform .35s var(--ease-out),color .25s var(--ease)}
.g-home .svc-row{border-radius:20px;transition:background-color .3s var(--ease)}
.g-home .svc-list li{border-bottom:1px solid var(--p-line-2)}
.g-home .svc-row{border-bottom:0}
.g-home .svc-row b{transition:color .25s var(--ease)}
.g-home .svc-n{transition:color .25s var(--ease)}
.g-home .sec h2 em.ns{font-style:normal;font-weight:650;color:var(--p-action);background:linear-gradient(#F7EBE3,#F7EBE3) no-repeat 0 88%/100% .28em}
.g-home .svc-feat{display:block;position:relative;background:#FFFFFF;border-radius:32px;padding:34px 36px 30px;margin:0 0 8px;box-shadow:0 24px 50px -36px color-mix(in srgb, var(--p-ink) 35%, transparent);border:1px solid var(--p-sage);transition:box-shadow .35s,transform .35s}
.g-home .svc-feat:hover{box-shadow:0 30px 60px -34px color-mix(in srgb, var(--p-ink) 45%, transparent);transform:translateY(-2px)}
.g-home .sf-top{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.g-home .sf-n{font-size:18px;font-weight:750;color:var(--p-muted)}
.g-home .sf-tag{font-size:14px;font-weight:650;color:var(--p-action);background:var(--p-bg);border-radius:999px;padding:4px 14px}
.g-home .sf-t{display:block;font-size:40px;font-weight:650;line-height:1.35;color:var(--p-ink)}
.g-home .sf-t small,.g-home .svc-row b small{font-size:.5em;font-weight:500;color:var(--p-muted);margin-right:12px;white-space:nowrap}
.g-home .svc-feat p{font-size:18px;line-height:1.85;color:var(--p-text-2);margin:10px 0 18px;max-width:560px}
.g-home .sf-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.g-home .sf-more{display:inline-flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:var(--p-action);min-height:44px}
.g-home .svc-feat:hover .sf-more{color:#A3532F}
.g-home .sf-more svg{transition:transform .35s}
.g-home .svc-feat:hover .sf-more svg{transform:translateX(-4px)}
.g-home .svc-row .tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.g-home .svc-row .tags .need{margin-top:0}
.g-home .need-o{color:var(--p-muted);background:#FFFFFF;border:1px solid var(--p-sage)}
.g-home .svc-list{border-top:0}
.g-home .sf-link{display:block;color:inherit}
.g-home .sf-link:hover .sf-t{color:var(--p-action)}
.g-home .sf-tags{display:flex;gap:8px;margin:0 0 20px}
.g-home .svc-feat .sf-foot{justify-content:flex-start;gap:22px}
.g-home .svc-feat:hover{transform:none}
.g-home .svc-foot{justify-content:flex-start}
.g-home .btn-l{position:relative;isolation:isolate;overflow:hidden;color:var(--p-action);font-weight:600;text-shadow:0 1px 0 #FFFFFFB3;
 background:linear-gradient(180deg,#FFFFFF 0%,var(--p-pearl-2) 52%,var(--p-pearl-3) 100%);
 box-shadow:inset 0 1px 0 #FFFFFF,inset 0 -2px 0 var(--p-pearl-edge),0 1px 2px #03302F4D,0 12px 24px -12px #03302FA6;
 transition:transform .28s cubic-bezier(.2,.7,.2,1),box-shadow .3s cubic-bezier(.2,.7,.2,1)}
.g-home .btn-l::after{content:'';position:absolute;top:0;bottom:0;left:-70%;width:45%;background:linear-gradient(100deg,#FFFFFF00,#FFFFFFB3,#FFFFFF00);transform:skewX(-18deg);pointer-events:none;transition:left .8s cubic-bezier(.2,.7,.2,1)}
.g-home .btn-l:active{transform:translate3d(0,1px,0) scale(.985);background:linear-gradient(180deg,var(--p-pearl-3) 0%,#EEF4F0 60%,#F6FAF8 100%);
 box-shadow:inset 0 2px 6px #03302F40,0 1px 2px #03302F4D;transition-duration:.08s}
.g-home .btn-l:focus-visible{outline:none;box-shadow:0 0 0 3px var(--p-deep),0 0 0 5px #FFFFFF}
@media (hover:hover){
  .g-home .btn-l:hover{transform:translate3d(0,-1px,0)}
  .g-home .btn-l:hover{background:#FFFFFF}
  .g-home .btn-o:hover{border-color:var(--p-deep-text)}
}
@media (hover:hover){
  .g-home .svc-row:hover .svc-n{color:var(--p-action)}
}
@media (hover:hover){
  .g-home .btn-l:hover{transform:translate3d(0,-2px,0);background:linear-gradient(180deg,#FFFFFF 0%,#F6FAF8 52%,#E8F1EC 100%);
  box-shadow:inset 0 1px 0 #FFFFFF,inset 0 -2px 0 var(--p-pearl-edge),0 2px 4px #03302F4D,0 18px 32px -12px #03302FBF}
  .g-home .btn-l:hover::after{left:125%}
}
@media (prefers-reduced-motion: reduce){
  .g-home .btn-l{transition:none}
  .g-home .btn-l::after{display:none}
}
/* Real site: page width, headings without the old underline, links without underlines. */
.g-home .band,.g-home .deep,.g-home .sec{padding-inline:max(64px,calc((100% - 1312px) / 2))}
.g-home .deep h2::after,.g-home .sec h2::after{content:none}
.g-home .deep h2{color:var(--p-deep-text)}
.g-home .svc-row,.g-home .sf-link,.g-home .sf-more,.g-home .tlink,.g-home .btn-l,.g-home .btn-o{text-decoration:none}
.g-home .svc-row{color:inherit}
.g-home .wave{background:transparent}
.g-home .need{display:inline-flex;align-items:center;font-size:13px;font-weight:600;line-height:1.6;color:#A3532F;background:#F7EBE3;border-radius:999px;padding:3px 12px;white-space:nowrap}
.g-home .svc-list li::marker{content:none}

/* Mobile (mobile.html) */
@media (max-width: 767px){
  .g-home .band{padding:24px 16px 34px;flex-direction:column;align-items:flex-start;gap:6px;margin-top:-40px;padding-top:66px}
  .g-home .deep{padding:48px 16px 120px;border-radius:32px 32px 0 0}
  .g-home .glow{width:240px;height:240px}
  .g-home .glow img{height:150px}
  .g-home .deep h2{font-size:36px}
  .g-home .deep .sub{font-size:15px;margin-bottom:28px}
  .g-home .steps{grid-template-columns:1fr;gap:12px}
  .g-home .deep-ctas{flex-direction:column}
  .g-home .btn-l,.g-home .btn-o{justify-content:center}
  .g-home .st-d,.g-home .band span{font-size:17px}
  .g-home .deep h2{font-weight:350;font-stretch:100%;font-size:30px;line-height:1.5}
  .g-home .deep .sub{font-size:17px}
  .g-home .deep{padding-bottom:56px}
  .g-home .sec{padding:72px 16px 64px}
  .g-home .sec-head{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:28px}
  .g-home .sec h2{font-size:30px}
  .g-home .kick{font-size:14px}
  .g-home .sec .intro{font-size:17px}
  .g-home .svc-wrap{grid-template-columns:1fr;gap:28px}
  .g-home .svc-ph{position:relative;top:auto;order:-1}
  .g-home .svc-ph img{aspect-ratio:4/5;border-radius:28px}
  .g-home .svc-row{grid-template-columns:36px 1fr 24px;gap:12px;padding:22px 4px}
  .g-home .svc-row b{font-size:21px}
  .g-home .svc-n{font-size:16px}
  .g-home .svc-foot{flex-direction:column;align-items:flex-start;gap:4px}
  .g-home .grp{font-size:19px}
  .g-home .visit{margin-top:48px}
  .g-home .vtl{grid-template-columns:1fr;gap:0}
  .g-home .vtl::before{top:10px;bottom:10px;right:9px;left:auto;width:1px;height:auto}
  .g-home .vtl li{padding:0 34px 26px 0;text-align:right}
  .g-home .vt-dot{top:4px}
  .g-home .vt-d{font-size:17px}
  .g-home .sec{padding:80px 16px}
  .g-home .sec-head{margin-bottom:32px;gap:16px}
  .g-home .svc-feat{padding:26px 20px 22px;border-radius:26px}
  .g-home .sf-t{font-size:30px}
  .g-home .svc-feat p{font-size:17px}
  .g-home .sf-foot{flex-direction:column;align-items:flex-start;gap:6px}
  .g-home .band,.g-home .deep,.g-home .sec{padding-inline:16px}
}

/* Tablet 768-1279 (art direction 4.4): step cards two per row; services one column like mobile. */
@media (min-width: 768px) and (max-width: 1279px){
  .g-home .band,.g-home .deep,.g-home .sec{padding-inline:32px}
  .g-home .band{flex-direction:column;align-items:flex-start;gap:6px}
  .g-home .steps,.g-home .vtl{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g-home .vtl::before{display:none}
  .g-home .svc-wrap{grid-template-columns:1fr;gap:32px}
  .g-home .svc-ph{position:relative;top:auto;order:-1;max-width:560px;margin-inline:auto}
}

/* Services section: the approved islimi gradient (not the flat mockup colour), with the shared pattern. */
.g-home .svcs{background:linear-gradient(170deg,var(--p-bg-hi) 0%,var(--p-bg) 46%,var(--p-bg-lo) 100%)}
.g-home .band .m-only{display:none}
@media (max-width: 767px){
  .g-home .band .d-only{display:none}
  .g-home .band .m-only{display:inline}
}

/* ---------- Doctors «پزشکان» (step 52): design/approved/02-home 3.2 and 13.3, copy from 00-ia-copy ----------
   Card v4 from desktop.html (.dcard-v4), scoped under body.g-home. One doctor: portrait column + text;
   two or more: two cards per row on the laptop, each one column. No video tile until a file exists. */
.g-home .docs{background:#FFFFFF}
.g-home .doc-grid{display:grid;grid-template-columns:1fr;gap:24px}
.g-home .dcard{display:grid;grid-template-columns:400px 1fr;gap:64px;align-items:center;background:var(--p-bg);border-radius:36px;padding:32px 32px 32px 64px}
.g-home .dcard .media{position:relative}
.g-home .portrait{margin:0}
.g-home .portrait img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:28px}
.g-home .ph-empty{position:relative;display:flex;align-items:flex-start;justify-content:flex-start;width:100%;aspect-ratio:4/5;border-radius:28px;overflow:hidden;background:linear-gradient(160deg,var(--p-sage) 0%,var(--p-bg) 60%,var(--p-deep-text) 100%)}
.g-home .ph-empty .wm{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);height:42%;width:auto;opacity:.16;filter:saturate(.6)}
.g-home .ph-lbl{position:relative;margin:20px;display:flex;flex-direction:column;gap:2px;background:#FFFFFFE6;border-radius:18px;padding:12px 16px;font-size:15px;font-weight:600;color:var(--p-ink)}
.g-home .ph-lbl small{font-size:13px;font-weight:400;color:var(--p-muted)}
.g-home .dname{font-size:34px;font-weight:600;line-height:1.5;margin:0;color:var(--p-ink);text-wrap:balance}
.g-home .dtitle{display:inline-block;font-size:17px;font-weight:500;color:var(--p-action);margin:6px 0 20px}
.g-home .trust{list-style:none;margin:0 0 24px;padding:16px 0;display:grid;grid-template-columns:repeat(3,auto);justify-content:start;gap:0;border-top:1px solid var(--p-line-2);border-bottom:1px solid var(--p-line-2)}
.g-home .trust li{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:0 0 0 28px;margin-left:28px;border-left:1px solid var(--p-line-2)}
.g-home .trust li:last-child{border-left:0;margin-left:0;padding-left:0}
.g-home .trust b{font-size:22px;font-weight:650;color:var(--p-ink);line-height:1.5}
.g-home .trust span{font-size:14px;color:var(--p-muted)}
.g-home .dpoints{list-style:none;margin:0 0 28px;padding:0;display:grid;gap:14px}
.g-home .dpoints li{display:grid;grid-template-columns:22px 1fr;gap:10px;font-size:18px;line-height:1.85;color:var(--p-ink);text-wrap:pretty}
.g-home .dpoints li::before{content:'';width:14px;height:2px;background:var(--p-dot);border-radius:2px;margin-top:17px}
.g-home .dpoints-need{margin:-16px 0 24px}
.g-home .dact{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.g-home .dact .btn{text-decoration:none}
.g-home .dnote{display:flex;align-items:center;gap:10px;margin:22px 0 0;font-size:14px;color:var(--p-muted)}
@media (min-width: 1280px){
  .g-home .doc-grid--many{grid-template-columns:repeat(2,1fr)}
  .g-home .doc-grid--many .dcard{grid-template-columns:1fr;gap:28px;padding:28px}
}
/* Mobile and tablet (spec 3.2 «موبایل»; tablet one column like mobile, art direction 4.4) */
@media (max-width: 1279px){
  .g-home .dcard{grid-template-columns:1fr;gap:24px;padding:12px 12px 28px;border-radius:28px}
  .g-home .dcard .body{padding:0 8px}
  .g-home .portrait img,.g-home .ph-empty{border-radius:20px}
  .g-home .dname{font-size:26px}
  .g-home .dpoints li{font-size:17px}
  .g-home .dact{flex-direction:column;align-items:stretch;gap:8px}
  .g-home .dact .btn,.g-home .dact .tlink{justify-content:center}
  .g-home .trust{grid-template-columns:1fr;padding:6px 0}
  .g-home .trust li{flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:4px 10px;padding:10px 0;margin:0;border-left:0;border-bottom:1px solid #DCE6E0}
  .g-home .trust li:last-child{border-bottom:0}
  .g-home .trust b{font-size:19px}
}
@media (min-width: 768px) and (max-width: 1279px){
  .g-home .dcard{padding:24px 24px 32px}
  .g-home .dcard .media{max-width:420px;width:100%;margin-inline:auto}
}

/* ---------- Clinic space rail «از در ورودی تا اتاق درمان» (step 53): 02-home 3.3, 12.5, 13.4 ---------- */
.g-home .space{background:linear-gradient(170deg,var(--p-bg-hi) 0%,var(--p-bg) 46%,var(--p-bg-lo) 100%);overflow:hidden}
.g-home .walk-ctl{display:flex;gap:10px}
.g-home .walk-ctl[hidden],.g-home .walk-prog[hidden]{display:none}
.g-home .walk-ctl button{width:52px;height:52px;border-radius:50%;border:1px solid var(--p-line-2);background:#FFFFFF;color:var(--p-ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .25s var(--ease),border-color .25s var(--ease),color .25s var(--ease),opacity .25s var(--ease),transform .2s var(--ease)}
.g-home .walk-ctl button[disabled]{opacity:.4;cursor:default}
.g-home .walk-ctl button:not([disabled]):active{transform:scale(.96)}
@media (hover:hover){.g-home .walk-ctl button:not([disabled]):hover{border-color:var(--p-action);color:var(--p-action);background:var(--p-bg)}}
.g-home .walk{display:flex;gap:32px;align-items:flex-end;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:0 0 8px;margin-inline:calc(-1 * max(64px,calc((100vw - 1312px) / 2)));padding-inline:max(64px,calc((100vw - 1312px) / 2));scroll-padding-inline:max(64px,calc((100vw - 1312px) / 2));scrollbar-width:none}
.g-home .walk::-webkit-scrollbar{display:none}
.g-home .walk:focus-visible{outline:3px solid var(--p-action);outline-offset:3px}
.g-home .fr{flex:none;scroll-snap-align:start;margin:0}
.g-home .fr .ph{display:block;overflow:hidden;border-radius:28px;position:relative;isolation:isolate;background:#DCE6E0}
.g-home .fr .ph::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--p-ink) 8%, transparent);pointer-events:none}
.g-home .fr img{display:block;object-fit:cover;transform:scale(1.02);transition:transform 1.6s var(--ease-out);backface-visibility:hidden}
.g-home .fr.p img{width:330px;height:412px}
.g-home .fr.l img{width:480px;height:320px}
.g-home .fr.big img{width:400px;height:500px}
.g-home .fr.v .ph{width:600px;height:338px}
.g-home .fr.v video{display:block;width:100%;height:100%;object-fit:cover;background:var(--p-deep)}
@media (hover:hover){.g-home .fr:hover img{transform:scale(1.07) translate3d(-1.2%,0,0)}}
.g-home .vslot{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--p-deep) 0%,var(--p-deep-card) 100%)}
.g-home .play{width:52px;height:52px;border-radius:50%;background:#FFFFFF;color:var(--p-action);display:inline-flex;align-items:center;justify-content:center;padding-left:3px}
.g-home .play.big{width:72px;height:72px}
.g-home .vtag{position:absolute;right:18px;bottom:16px;background:#FFFFFFE6;color:var(--p-ink);font-size:13px;border-radius:999px;padding:4px 12px}
.g-home .walk-prog{position:relative;width:240px;height:2px;background:var(--p-line-2);border-radius:2px;margin-top:36px;overflow:hidden}
.g-home .walk-prog i{position:absolute;inset:0;background:var(--p-action);transform:scaleX(.2);transform-origin:right;transition:transform .2s linear}
@media (prefers-reduced-motion: reduce){
  .g-home .walk{scroll-behavior:auto}
  .g-home .fr img{transition:none}
}
@media (max-width: 1279px){
  .g-home .walk{margin-inline:-32px;padding-inline:32px;scroll-padding-inline:32px}
}
@media (max-width: 767px){
  .g-home .walk{margin-inline:-16px;padding-inline:16px;scroll-padding-inline:16px;gap:16px}
  .g-home .fr.p img,.g-home .fr.big img{width:264px;height:330px}
  .g-home .fr.l img{width:300px;height:200px}
  .g-home .fr.v .ph{width:300px;height:169px}
  .g-home .walk-ctl{display:none}
  .g-home .walk-prog{width:160px;margin-top:28px}
  .g-home .play.big{width:56px;height:56px}
}

/* ---------- Health magazine «مجله سلامت» (step 53): 02-home 3.4, typographic, no photos ---------- */
.g-home .mag{background:#FFFFFF}
.g-home .mag-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:56px;align-items:stretch}
.g-home .mag-grid--one{grid-template-columns:1fr}
.g-home .art-f{position:relative;display:flex;align-items:flex-end;min-height:440px;background:var(--p-bg);border-radius:36px;padding:48px 56px 44px;overflow:hidden;text-decoration:none;color:inherit;transition:background-color .4s var(--ease)}
.g-home .art-spine{position:absolute;left:56px;top:50%;transform:translateY(-50%);opacity:.9;transition:transform .8s var(--ease-out)}
.g-home .art-body{position:relative;display:flex;flex-direction:column;align-items:flex-start;max-width:min(520px,calc(100% - 140px))}
.g-home .art-n{font-size:18px;font-weight:750;color:var(--p-muted)}
.g-home .art-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 12px;font-size:14px;color:var(--p-muted)}
.g-home .art-tag{font-size:14px;font-weight:600;color:var(--p-action)}
.g-home .art-f h3{font-size:34px;font-weight:600;line-height:1.55;margin:0;color:var(--p-ink);text-wrap:balance;transition:color .25s}
.g-home .art-more{display:inline-flex;align-items:center;gap:8px;margin-top:22px;font-size:16px;font-weight:600;color:var(--p-action)}
.g-home .art-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--p-line-2);display:flex;flex-direction:column}
.g-home .art-list li{flex:1;display:flex;border-bottom:1px solid var(--p-line-2)}
.g-home .art-s{flex:1;display:grid;grid-template-columns:56px 1fr 40px;gap:20px;align-items:center;padding:28px 12px;border-radius:20px;text-decoration:none;color:inherit;transition:background .25s}
.g-home .art-s .art-meta{margin:0 0 8px}
.g-home .art-s h3{font-size:24px;font-weight:600;line-height:1.6;margin:0;color:var(--p-ink);text-wrap:balance;transition:color .25s}
.g-home .art-s .go{color:var(--p-action);justify-self:end;transition:transform .35s var(--ease-out),color .25s}
.g-home .art-s:focus-visible{outline-offset:-3px}
@media (hover:hover){
  .g-home .art-f:hover{background:#E3ECE6}
  .g-home .art-f:hover .art-spine{transform:translateY(calc(-50% - 6px))}
  .g-home .art-s:hover{background:#F6F9F7}
  .g-home .art-f:hover h3,.g-home .art-s:hover h3{color:var(--p-action)}
  .g-home .art-f:hover .art-more,.g-home .art-s:hover .go{color:#A3532F}
  .g-home .art-s:hover .go{transform:translateX(-4px)}
}
@media (max-width: 1279px){
  .g-home .mag-grid{grid-template-columns:1fr;gap:16px}
}
@media (max-width: 767px){
  .g-home .art-f{min-height:0;padding:32px 24px 28px;border-radius:28px}
  .g-home .art-spine{display:none}
  .g-home .art-body{max-width:none}
  .g-home .art-f h3{font-size:24px}
  .g-home .art-s{grid-template-columns:36px 1fr 24px;gap:12px;padding:22px 4px}
  .g-home .art-s h3{font-size:19px}
}

/* ---------- FAQ «پرسش‌های رایج» (step 53): 02-home 3.5 ---------- */
.g-home .faq{background:linear-gradient(170deg,var(--p-bg-hi) 0%,var(--p-bg) 46%,var(--p-bg-lo) 100%)}
.g-home .faq-wrap{display:grid;grid-template-columns:1fr 1.5fr;gap:80px;align-items:start}
.g-home .faq-side .sec-head{margin-bottom:0}
.g-home .faq-side p{font-size:17px;line-height:1.85;color:var(--p-text-2);margin:16px 0 24px;text-wrap:pretty}
.g-home .btn-soft{display:inline-flex;align-items:center;gap:10px;background:#FFFFFF;color:var(--p-ink);font-size:16px;font-weight:500;padding:14px 24px;border-radius:999px;min-height:50px;text-decoration:none;transition:background-color .25s var(--ease),color .25s var(--ease)}
@media (hover:hover){.g-home .btn-soft:hover{background:var(--p-sage);color:#A3532F}}
.g-home .qa{border-bottom:1px solid var(--p-line-2)}
.g-home .qa:first-child{border-top:1px solid var(--p-line-2)}
.g-home .qa summary{list-style:none;display:grid;grid-template-columns:1fr 40px;gap:16px;align-items:center;padding:24px 4px;cursor:pointer;font-size:21px;font-weight:600;line-height:1.6;color:var(--p-ink);min-height:44px;text-wrap:balance;transition:color .25s var(--ease)}
.g-home .qa summary::-webkit-details-marker{display:none}
.g-home .qa summary:focus-visible{outline:3px solid var(--p-action);outline-offset:3px;border-radius:12px}
.g-home .qa summary .pm{width:40px;height:40px;border-radius:50%;background:#FFFFFF;display:inline-flex;align-items:center;justify-content:center;color:var(--p-action);transition:transform .35s var(--ease-out),background-color .25s var(--ease)}
.g-home .qa[open] summary .pm{transform:rotate(45deg);background:var(--p-sage)}
@media (hover:hover){.g-home .qa summary:hover{color:var(--p-action)}.g-home .qa summary:hover .pm{background:var(--p-sage)}}
.g-home .qa .ans{padding:0 4px 26px 60px}
.g-home .qa .ans p{margin:0 0 12px;font-size:17px;line-height:1.85;color:var(--p-text-2);text-wrap:pretty}
@media (prefers-reduced-motion: reduce){.g-home .qa summary .pm{transition:none}}
@media (max-width: 1279px){.g-home .faq-wrap{grid-template-columns:1fr;gap:12px}}
@media (max-width: 767px){
  .g-home .qa summary{font-size:18px;padding:20px 0}
  .g-home .qa .ans{padding:0 0 22px}
  .g-home .faq-side .btn-soft{width:100%;justify-content:center}
}

/* ---------- Contact «تماس و مسیر» (step 53): 02-home 3.6, 13.5, 14.4 ---------- */
.g-home .contact{background:#FFFFFF}
.g-home .ct-wrap{display:grid;grid-template-columns:1fr 1.15fr;gap:80px;align-items:center}
.g-home .contact .sec-head{margin-bottom:0}
.g-home .ct-rows{list-style:none;margin:28px 0 30px;padding:0;border-top:1px solid var(--p-line-2)}
.g-home .ct-rows li{display:grid;grid-template-columns:120px 1fr;gap:20px;align-items:center;padding:20px 0;border-bottom:1px solid var(--p-line-2)}
.g-home .ct-rows .lb{font-size:15px;color:var(--p-muted)}
.g-home .ct-rows .vl{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:18px;font-weight:500;color:var(--p-ink)}
.g-home .ct-rows .vl a{color:inherit;text-decoration:none}
.g-home .ct-rows .ph-ltr{direction:ltr;unicode-bidi:isolate}
.g-home .ct-hours{flex-direction:column;align-items:flex-start;gap:2px}
.g-home .ct-act,.g-home .ct-route{display:flex;gap:12px;flex-wrap:wrap}
.g-home .ct-act .btn{text-decoration:none}
.g-home .ct-act .btn-soft,.g-home .ct-route .btn-soft{background:var(--p-bg)}
.g-home .ct-map{margin-top:24px}
.g-home .ct-map-img{display:block;width:100%;height:auto;border-radius:24px;margin-bottom:14px;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--p-ink) 8%, transparent)}
.g-home .ct-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0 0;font-size:14px;color:var(--p-muted)}
.g-home .ct-film{position:relative;overflow:hidden;border-radius:36px;aspect-ratio:16/9;margin:0}
.g-home .ct-film .still,.g-home .ct-film .film{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:cover;border-radius:36px}
.g-home .ct-film .film{position:absolute;inset:0;opacity:0;transition:opacity .6s}
.g-home .ct-film.ready .film{opacity:1}
@media (prefers-reduced-motion: reduce){.g-home .ct-film .film{display:none}}
@media (max-width: 1279px){.g-home .ct-wrap{grid-template-columns:1fr;gap:28px}}
@media (max-width: 767px){
  .g-home .ct-film,.g-home .ct-film .still,.g-home .ct-film .film{border-radius:28px}
  .g-home .ct-rows li{grid-template-columns:1fr;gap:4px;padding:16px 0}
  .g-home .ct-rows .vl{font-size:17px}
  .g-home .ct-act,.g-home .ct-route{flex-direction:column}
  .g-home .ct-act a,.g-home .ct-route a{justify-content:center}
}

/* The shared components.css has older .faq (max-width) and .contact (grid) rules for page blocks; the home
   sections reuse those names from the approved design, so the older rules are undone here. */
.g-home section.faq{max-width:none}
.g-home section.contact{display:block;gap:0;margin:0}

/* ---------- Step 58: background chosen per box in «باکس‌های صفحه» (01-design-system 5.3) ---------- */
.g-home .box-tone.tone-white { background: #FFFFFF; }
.g-home .box-tone.tone-light { background: linear-gradient(170deg, var(--p-bg-hi) 0%, var(--p-bg) 46%, var(--p-bg-lo) 100%); }
.g-home .box-tone.tone-sage { background: linear-gradient(170deg, var(--p-sage-hi) 0%, var(--p-sage) 100%); }
.g-home .box-tone.tone-deep { background: linear-gradient(170deg, color-mix(in srgb, var(--p-deep) 88%, #FFFFFF) 0%, var(--p-deep) 60%); color: var(--p-deep-text); }
.g-home .box-tone.tone-deep > * > h2, .g-home .box-tone.tone-deep h2, .g-home .box-tone.tone-deep .kick,
.g-home .box-tone.tone-deep .sec-head p, .g-home .box-tone.tone-deep > .wrap > p { color: var(--p-deep-text); }
/* the approved dark section keeps its own look unless a lighter background is chosen */
.g-home .deep.box-tone:not(.tone-deep) { color: var(--p-ink); }
.g-home .deep.box-tone:not(.tone-deep) h2, .g-home .deep.box-tone:not(.tone-deep) .sub { color: var(--p-ink); }
.g-home .band.isl, .g-home .deep.isl { position: relative; isolation: isolate; }
