/* mobile.css — mobile-first layer loaded after site.css on every page */
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-img{animation:none!important}.mbar{transition:none!important}}

/* ---- hero: starts with Dr. Stepanyan ---- */
.hero2{background:#0b0b0d;color:#fff;padding:clamp(28px,5vw,88px) 0 clamp(64px,8vw,120px)}
.hero2-in{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(32px,5vw,72px);align-items:center}
.hero2 .eyebrow{color:#a1a1a6;font-size:.9375rem;font-weight:500;margin:0 0 14px}
.hero2 h1{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display",Inter,sans-serif;font-size:clamp(2.5rem,8.4vw,5.5rem);line-height:1.02;letter-spacing:-0.04em;font-weight:700;margin:0;color:#fff}
.hero2 .lead{color:#d2d2d7;margin-top:18px;max-width:34em;font-size:clamp(1.0625rem,2.4vw,1.375rem)}
.hero2 .chips{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 0;padding:0;list-style:none}
.hero2 .chips li{font-size:.8125rem;line-height:1.2;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.09);color:#e5e5ea;border:1px solid rgba(255,255,255,.12)}
.hero2 .h2-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.hero2 .btn{min-height:52px}
.hero2 .btn.ghost{background:transparent;border:1.5px solid rgba(255,255,255,.35);color:#fff}
.hero2 .btn.ghost:hover{background:rgba(255,255,255,.08)}
.hero2 .more{color:#2997ff;margin-top:4px}
.hero2-photo{border-radius:28px;overflow:hidden;aspect-ratio:4/5;background:#1d1d1f;max-width:460px;width:100%;justify-self:end}
.hero2-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 18%}
@media (max-width:820px){
  .hero2{padding:24px 0 56px}
  .hero2-in{grid-template-columns:minmax(0,1fr);gap:28px}
  .hero2-photo{justify-self:center;aspect-ratio:1/1;max-width:420px}
  .hero2 .h2-ctas .btn{flex:1 1 100%}
}

/* ---- sticky action bar (phones) ---- */
.mbar{display:none}
@media (max-width:820px){
  .mbar{display:flex;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(22,22,23,.86);-webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px);border-top:1px solid rgba(255,255,255,.1);transition:transform .3s cubic-bezier(.2,.7,.2,1)}
  .mbar a{flex:1 1 0;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:999px;font-size:1rem;font-weight:600;color:#fff;text-decoration:none}
  .mbar .mb-call{background:rgba(255,255,255,.12)}
  .mbar .mb-book{background:var(--accent,#0066cc)}
  .mbar.off{transform:translateY(110%)}
  body{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
  body.no-mbar{padding-bottom:0}
  body.no-mbar .mbar{display:none}
}

/* ---- comfortable tap targets ---- */
.nav-cta{min-height:40px}
.foot-links a,.loc-link,.loc-phone{min-height:44px;display:inline-flex;align-items:center}
.loc-actions{display:flex;gap:10px;margin-top:16px}
.loc-actions a{flex:1 1 0;display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:999px;font-weight:600;font-size:.9375rem;text-decoration:none;border:1.5px solid var(--line,#d2d2d7);color:var(--ink,#1d1d1f);background:#fff}
.loc-actions a.p{background:var(--accent,#0066cc);border-color:var(--accent,#0066cc);color:#fff}

/* ---- home: specialties + recovery carousels ---- */
.spec,.recov{padding:clamp(72px,9vw,128px) 0;background:var(--soft,#f5f5f7)}
.recov{background:#fbfbfd}
.spec-head{max-width:760px}
.spec-head .lead{margin-top:16px}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:14px;margin:36px 0 0;padding:0;list-style:none}
.card{display:flex;flex-direction:column;gap:6px;height:100%;padding:22px 22px 20px;border-radius:24px;background:#fff;box-shadow:0 2px 20px rgba(0,0,0,.05);color:var(--ink,#1d1d1f);text-decoration:none;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s}
.card:hover{text-decoration:none;transform:translateY(-3px);box-shadow:0 10px 34px rgba(0,0,0,.09)}
.card .k{font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--accent,#0066cc)}
.card strong{font-size:1.25rem;line-height:1.2;letter-spacing:-0.02em}
.card span.s{font-size:.9375rem;line-height:1.45;color:var(--sub,#6e6e73)}
.card .go{margin-top:auto;padding-top:10px;font-size:.9375rem;font-weight:600;color:var(--accent,#0066cc)}
.all-link{display:inline-flex;align-items:center;min-height:48px;margin-top:22px;font-size:1.0625rem;font-weight:600}
@media (max-width:700px){
  .cards,.stages,.related,.loc-grid,.stats{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:12px;margin-left:calc(-1 * clamp(16px,4vw,40px));margin-right:calc(-1 * clamp(16px,4vw,40px));padding:4px clamp(16px,4vw,40px) 16px;scroll-padding-left:clamp(16px,4vw,40px);-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .cards::-webkit-scrollbar,.stages::-webkit-scrollbar,.related::-webkit-scrollbar,.loc-grid::-webkit-scrollbar,.stats::-webkit-scrollbar{display:none}
  .cards>li,.stages>.stage,.related>.rel,.loc-grid>.loc,.stats>.stat{flex:0 0 82%;max-width:340px;scroll-snap-align:start}
  .cards>li .card{min-height:190px}
  .recov .cards>li{flex-basis:78%}
}

/* ---- location map: decorative on phones, cards carry the info ---- */
@media (max-width:700px){.locs .map{display:none}}

/* ---- condition pages on phones ---- */
@media (max-width:999px){
  .toc{padding:0;background:none;box-shadow:none;border-radius:0;margin:0 calc(-1 * clamp(16px,4vw,40px))}
  .toc p{display:none}
  .toc ol{flex-direction:row;overflow-x:auto;scroll-snap-type:x proximity;list-style:none;padding:2px clamp(16px,4vw,40px) 10px;gap:8px;scrollbar-width:none}
  .toc ol::-webkit-scrollbar{display:none}
  .toc li{flex:0 0 auto;scroll-snap-align:start}
  .toc a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;background:#fff;border:1px solid var(--line,#d2d2d7);white-space:nowrap;font-size:.9375rem;font-weight:500}
  .cond-layout{margin-top:40px;gap:20px}
}
@media (max-width:700px){
  .cond-article p,.cond-article ul.dots{font-size:1.0625rem}
  .cond-hero{gap:24px}
  .cond-ctas .btn{flex:1 1 100%;min-height:52px}
  .cond-ctas .phone{display:inline-flex;align-items:center;min-height:48px}
  .cond-article section+section{margin-top:40px}
  .cond-article section{scroll-margin-top:72px}
}

/* ---- homepage structure after hero change ---- */
.hero2+.over{border-radius:0;box-shadow:none;animation:none!important}
.doc .doc-photo{display:none}
.doc .doc-text{flex:1 1 100%;max-width:760px}
.rec-links{margin-top:6px}
.mbar a{font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Text",sans-serif}
@media (max-width:820px){
  .nav-cta{display:none}
  .hero2 .lead{font-size:1.0625rem;margin-top:14px}
  .hero2 .chips{margin-top:16px;gap:6px}
  .hero2 .chips li{font-size:.75rem;padding:7px 10px}
  .hero2 .h2-ctas{margin-top:20px;gap:10px}
}
/* ---- performance ---- */
.locs,.team,.spec,.recov,.foot{content-visibility:auto;contain-intrinsic-size:auto 720px}
img{max-width:100%;height:auto}
.portrait img,.hero2-photo img{height:100%}
.lite *,.lite *::before,.lite *::after{animation-duration:.001s!important;transition-duration:.001s!important}
.lite{scroll-behavior:auto}
.lite .pin-robot{display:none}

/* ---- OR hero restored; intro sits below ---- */
.hero2 h2{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display",Inter,sans-serif;font-size:clamp(1.875rem,6vw,3.75rem);line-height:1.06;letter-spacing:-0.04em;font-weight:700;margin:0;color:#fff}
.over>.hero2{border-radius:44px 44px 0 0}
@media (max-width:820px){.over>.hero2{border-radius:28px 28px 0 0;padding-top:44px}}

.hero2 h2 .h2-small{display:block;font-size:clamp(1.375rem,4.6vw,2.5rem);font-weight:600;letter-spacing:-0.03em;color:#d2d2d7;line-height:1.1}
.hero2 h2 .h2-name{display:block;margin-top:14px;font-size:clamp(2.25rem,7.6vw,4.25rem);line-height:1.04}
