/* MVM Physiotherapy - site design (header, footer, home, 3D body, guides). Content blocks imported from the
   MVM sites keep their styles from mvm.css (a copy of the MVM website stylesheet). */
:root {
  --night: #0b1220; --night-2: #111a2e; --night-3: #18233b;
  --teal: #14b8a6; --teal-2: #5fd4ff; --teal-soft: #e6fbf8;
  --s-radius: 20px; --s-max: 1240px; --s-gutter: clamp(16px, 4vw, 32px);
}
.s-body { background: #fff; color: var(--text); }
.s-container { width: min(var(--s-max), 100% - 2 * var(--s-gutter)); margin-inline: auto; }
.s-eyebrow { display: inline-flex; align-items: center; gap: .6em; margin: 0 0 .8rem; font: 800 .74rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.s-eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.s-eyebrow--light { color: var(--teal-2); }
.s-center { margin: 2rem 0 0; text-align: center; display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.s-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--brand); }
.s-more .icon { width: 18px; height: 18px; transition: transform .2s; }

/* ---------- header ---------- */
.s-header { position: sticky; top: 0; z-index: 60; background: rgb(11 18 32 / .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgb(255 255 255 / .06); transition: box-shadow .2s; }
.s-header.is-scrolled { box-shadow: 0 12px 30px -18px rgb(0 0 0 / .7); }
.s-header__inner { display: flex; align-items: center; gap: 1.25rem; width: min(1360px, 100% - 2 * var(--s-gutter)); margin-inline: auto; min-height: 72px; }
.s-brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; flex: none; }
.s-brand img { width: 44px; height: 44px; border-radius: 12px; background: #fff; padding: 3px; }
.s-brand strong { display: block; font: 800 1.05rem/1.1 var(--font-head); letter-spacing: -.01em; color: #fff; }
.s-brand small { display: block; margin-top: 2px; font-size: .74rem; color: rgb(255 255 255 / .62); letter-spacing: .02em; }
.s-brand:hover { color: #fff; }
.s-nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.s-nav__list { display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.s-nav__item { position: relative; }
.s-nav__link { display: inline-flex; align-items: center; gap: .3em; padding: .55rem .8rem; border: 0; border-radius: 999px; background: none; color: rgb(255 255 255 / .82); font: 600 .93rem/1 var(--font-body); text-decoration: none; cursor: pointer; }
.s-nav__link .icon { width: 15px; height: 15px; transition: transform .2s; }
.s-nav__link:hover, .s-nav__link[aria-current], .s-nav__link[data-current], .s-nav__link[aria-expanded="true"] { color: #fff; background: rgb(255 255 255 / .08); }
.s-nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.s-sub { position: absolute; top: calc(100% + 8px); left: 0; z-index: 5; display: none; min-width: 250px; max-height: 70vh; overflow: auto; margin: 0; padding: .5rem; list-style: none; background: #fff; border-radius: 16px; box-shadow: 0 24px 50px -20px rgb(11 18 32 / .55); }
.s-nav__item--sub > button[aria-expanded="true"] + .s-sub { display: block; }
.s-sub a { display: block; padding: .55rem .8rem; border-radius: 10px; color: var(--ink); font-size: .92rem; font-weight: 600; text-decoration: none; }
.s-sub a:hover, .s-sub a[aria-current] { background: var(--teal-soft); color: #0f766e; }
.s-nav__cta { display: flex; gap: .5rem; }
.s-nav__cta .btn--ghost { color: #fff; border-color: rgb(255 255 255 / .3); }
.s-nav__cta .btn .icon, .s-hero .btn .icon, .s-cta .btn .icon { width: 18px; height: 18px; }
.s-burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid rgb(255 255 255 / .2); border-radius: 12px; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.s-burger span:not(.sr-only) { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.s-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.s-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.s-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1180px) {
  .s-burger { display: flex; }
  .s-nav { position: fixed; inset: 72px 0 0; display: none; flex-direction: column; align-items: stretch; gap: 1rem; margin: 0; padding: 1rem var(--s-gutter) 2rem; overflow: auto; background: var(--night); }
  .s-nav.is-open { display: flex; }
  .s-nav__list { flex-direction: column; align-items: stretch; }
  .s-nav__link { width: 100%; justify-content: space-between; padding: .9rem 1rem; font-size: 1.02rem; border-radius: 12px; }
  .s-sub { position: static; box-shadow: none; max-height: none; margin: .25rem 0 .5rem; background: var(--night-2); }
  .s-sub a { color: rgb(255 255 255 / .85); }
  .s-sub a:hover, .s-sub a[aria-current] { background: rgb(255 255 255 / .06); color: #fff; }
  .s-nav__cta { flex-direction: column; }
  .s-nav__cta .btn { justify-content: center; }
  body.s-menu-open { overflow: hidden; }
}

/* ---------- home hero with the 3D body ---------- */
.s-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1000px 600px at 78% 30%, rgb(20 184 166 / .22), transparent 60%), radial-gradient(800px 500px at 10% 100%, rgb(146 0 35 / .35), transparent 60%), var(--night); }
.s-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.s-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem; align-items: center; padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px); }
.s-hero__title { margin: 0 0 1.1rem; font: 800 clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem)/.98 var(--font-head); letter-spacing: -.035em; color: #fff; }
.s-hero__title span { background: linear-gradient(90deg, var(--teal-2), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.s-hero__lead { max-width: 36rem; margin: 0 0 1.8rem; font-size: var(--fs-lead); line-height: 1.6; color: rgb(255 255 255 / .8); }
.s-hero__lead strong { color: #fff; }
.s-hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.s-hero .btn--ghost, .s-cta .btn--ghost { color: #fff; border-color: rgb(255 255 255 / .35); }
.s-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin: 2.2rem 0 0; padding-top: 1.6rem; border-top: 1px solid rgb(255 255 255 / .12); }
.s-stats div { display: flex; flex-direction: column-reverse; }
.s-stats dd { margin: 0; font: 800 2rem/1 var(--font-head); color: #fff; }
.s-stats dt { margin-top: .35rem; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-2); }
@media (max-width: 960px) { .s-hero__grid { grid-template-columns: 1fr; } }

/* ---------- the 3D body widget ---------- */
.s-body3d { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 1.25rem; align-items: stretch; color: #fff; }
.s-body3d__stage { position: relative; min-height: 560px; border-radius: 28px; overflow: hidden; background: radial-gradient(closest-side at 50% 55%, rgb(95 212 255 / .18), transparent 70%), linear-gradient(180deg, var(--night-2), var(--night)); border: 1px solid rgb(95 212 255 / .18); box-shadow: inset 0 0 80px rgb(20 184 166 / .08); }
.s-body3d__stage canvas { display: block; width: 100% !important; height: 100% !important; position: absolute; inset: 0; touch-action: pan-y; cursor: grab; }
.s-body3d__hint { position: absolute; left: 50%; bottom: 14px; z-index: 1; transform: translateX(-50%); margin: 0; padding: .4rem .9rem; border-radius: 999px; background: rgb(11 18 32 / .7); font-size: .78rem; color: rgb(255 255 255 / .75); white-space: nowrap; pointer-events: none; }
.s-body3d__side { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.s-body3d__regions { display: flex; flex-wrap: wrap; gap: .45rem; }
.s-chip { padding: .5rem .85rem; border: 1px solid rgb(95 212 255 / .3); border-radius: 999px; background: rgb(255 255 255 / .04); color: rgb(255 255 255 / .88); font: 600 .84rem/1 var(--font-body); cursor: pointer; transition: background .2s, border-color .2s; }
.s-chip:hover { background: rgb(95 212 255 / .12); }
.s-chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.s-body3d__panel { flex: 1; padding: 1.4rem; border-radius: 22px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); outline: none; }
.s-body3d__intro { margin: 0; color: rgb(255 255 255 / .75); line-height: 1.6; }
.body-panel__eyebrow { margin: 0 0 .3rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-2); }
.body-panel__title { margin: 0 0 .5rem; font: 800 1.7rem/1.1 var(--font-head); color: #fff; }
.body-panel__text { margin: 0 0 1rem; color: rgb(255 255 255 / .75); font-size: .95rem; line-height: 1.55; }
.body-panel__list { display: grid; gap: .4rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.body-panel__list a { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border-radius: 12px; background: rgb(255 255 255 / .06); color: #fff; font-weight: 600; text-decoration: none; transition: background .2s; }
.body-panel__list a:hover { background: rgb(20 184 166 / .25); }
.s-body3d__panel .btn { margin: 0 .4rem .4rem 0; }
.s-body3d__panel .btn--ghost { color: #fff; border-color: rgb(255 255 255 / .35); }
.s-body3d--compact { grid-template-columns: 1fr; }
.s-body3d--compact .s-body3d__stage { min-height: 460px; }
.s-hero .s-body3d--compact .s-body3d__regions { display: none; }
.s-hero .s-body3d--compact .s-body3d__panel { max-height: 280px; overflow: auto; }
.no-webgl .s-body3d__stage { display: none; }
@media (max-width: 860px) { .s-body3d { grid-template-columns: 1fr; } .s-body3d__stage { min-height: 440px; } }

/* ---------- real-anatomy explorer (Sketchfab) ---------- */
.s-anat { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); gap: 1.25rem; color: #fff; }
.s-anat__stage { position: relative; min-height: 640px; border-radius: 28px; overflow: hidden; background: #0d0d0f; border: 1px solid rgb(95 212 255 / .18); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8); }
.s-anat__frame, .s-anat__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.s-anat__stage--own { background: radial-gradient(closest-side at 50% 45%, #1d2a44, #0b1220 75%); }
.s-anat__stage--own canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: none; cursor: grab; }
.s-layer--xray .s-layer__dot { background: #9fd8ff; }
.s-anat__status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; padding: .6rem 1rem; border-radius: 999px; background: rgb(11 18 32 / .8); color: rgb(255 255 255 / .85); font-size: .9rem; pointer-events: none; }
.s-anat__side { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.s-anat__label { margin: 0 0 .5rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-2); }
.s-anat__models { display: inline-flex; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); align-self: flex-start; }
.s-tab { padding: .55rem 1.1rem; border: 0; border-radius: 999px; background: none; color: rgb(255 255 255 / .75); font: 700 .88rem/1 var(--font-body); cursor: pointer; }
.s-tab[aria-pressed="true"] { background: #fff; color: var(--night); }
.s-anat__layers { display: flex; flex-wrap: wrap; gap: .45rem; }
.s-layer { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border: 1px solid rgb(255 255 255 / .18); border-radius: 999px; background: rgb(255 255 255 / .04); color: rgb(255 255 255 / .55); font: 600 .85rem/1 var(--font-body); cursor: pointer; transition: all .2s; }
.s-layer__dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; opacity: .45; }
.s-layer[aria-pressed="true"] { color: #fff; border-color: rgb(255 255 255 / .4); background: rgb(255 255 255 / .1); }
.s-layer[aria-pressed="true"] .s-layer__dot { opacity: 1; }
.s-layer--skin .s-layer__dot { background: #e8b49a; } .s-layer--muscles .s-layer__dot { background: #c0392b; } .s-layer--bones .s-layer__dot { background: #f1e9d8; }
.s-layer--arteries .s-layer__dot { background: #ff3b3b; } .s-layer--veins .s-layer__dot { background: #3b6bff; } .s-layer--organs .s-layer__dot { background: #f39c6b; }
.s-layer--nerves .s-layer__dot { background: #f5d742; } .s-layer--lymph .s-layer__dot { background: #7be38a; }
.s-layer:disabled { opacity: .5; cursor: progress; }
.s-anat__credit { margin: 0; font-size: .76rem; color: rgb(255 255 255 / .5); }
.s-anat__credit a { color: var(--teal-2); }
.s-body3d__panel .btn--ghost:hover, .s-body3d__panel .btn--ghost:focus-visible { background: #fff; color: var(--night); border-color: #fff; }
.body-panel__tools { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .6rem; }
.s-anat--compact { grid-template-columns: 1fr; }
.s-anat--compact .s-anat__stage { min-height: 500px; }
.s-anat__more { margin: 0; }
.s-anat__more .btn .icon, .s-see3d .icon { width: 18px; height: 18px; }
.s-see3d { display: block; color: rgb(255 255 255 / .8); text-decoration: none; background: radial-gradient(300px 200px at 100% 0%, rgb(20 184 166 / .35), transparent 70%), var(--night); }
.s-see3d p { color: rgb(255 255 255 / .75); }
.s-see3d .s-more { color: var(--teal-2); }
.s-see3d__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: .8rem; border-radius: 14px; background: rgb(255 255 255 / .08); color: var(--teal-2); }
.s-see3d__icon .icon { width: 26px; height: 26px; }
.s-see3d:hover { color: #fff; }
@media (max-width: 960px) { .s-anat { grid-template-columns: 1fr; } .s-anat__stage { min-height: 520px; } }

/* ---------- sections ---------- */
.s-section { padding-block: clamp(56px, 7vw, 96px); }
.s-section--tint { background: linear-gradient(180deg, #f3faf9, #fff); }
.s-section--dark { background: var(--night); color: #fff; }
.s-head { max-width: 44rem; margin: 0 auto 2.2rem; text-align: center; }
.s-head h2 { margin: 0 0 .6rem; font: 800 var(--fs-h2)/1.05 var(--font-head); letter-spacing: -.03em; color: var(--ink); }
.s-head p:not(.s-eyebrow) { margin: 0; color: var(--muted); font-size: var(--fs-lead); }
.s-head .s-eyebrow { justify-content: center; }
.s-head--light h2 { color: #fff; }
.s-pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.s-pillar { display: grid; grid-template-rows: 260px auto; overflow: hidden; border-radius: var(--s-radius); background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.s-pillar img { width: 100%; height: 100%; object-fit: cover; }
.s-pillar__body { display: grid; gap: .5rem; padding: 1.6rem; }
.s-pillar__body strong { font: 800 1.45rem/1.2 var(--font-head); color: var(--ink); }
.s-pillar__body > span:not(.s-eyebrow):not(.s-more) { color: var(--muted); line-height: 1.6; }
.s-pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.s-pillar:hover .s-more .icon { transform: translateX(4px); }
@media (max-width: 760px) { .s-pillars { grid-template-columns: 1fr; } .s-pillar { grid-template-rows: 200px auto; } }
.s-cond-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.s-cond { display: grid; grid-template-rows: 150px auto; overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.s-cond img, .s-cond__ph { width: 100%; height: 100%; object-fit: cover; }
.s-cond__ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--night-2), #0f766e); color: var(--teal-2); }
.s-cond__ph .icon { width: 44px; height: 44px; }
.s-cond__body { display: grid; gap: .25rem; padding: .9rem 1rem 1rem; }
.s-cond__body strong { font-size: 1.02rem; color: var(--ink); }
.s-cond__body small { font-size: .8rem; color: #0f766e; font-weight: 600; }
.s-cond:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.s-group { margin-bottom: 2.6rem; }
.s-group__title { margin: 0 0 1rem; font: 800 1.5rem/1.2 var(--font-head); color: var(--ink); }
.s-search { max-width: 560px; margin: 0 auto 2.4rem; }
.s-search input { width: 100%; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 999px; font: 500 1rem var(--font-body); background: #fff; box-shadow: var(--shadow-sm); }
.s-search input:focus { outline: 3px solid rgb(20 184 166 / .35); border-color: var(--teal); }
.s-empty { text-align: center; color: var(--muted); }
.s-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.s-course { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; color: #fff; text-decoration: none; background: var(--night-2); }
.s-course img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.s-course::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgb(11 18 32 / .85)); }
.s-course span { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 1; font: 800 1.1rem/1.2 var(--font-head); }
.s-course:hover img { transform: scale(1.05); }
.s-course:hover { color: #fff; }
.s-team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.s-team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
@media (max-width: 900px) { .s-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.s-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.s-newscard { display: grid; grid-template-rows: 200px auto; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; background: #fff; transition: transform .2s, box-shadow .2s; }
.s-newscard img, .s-newscard__ph { width: 100%; height: 100%; object-fit: cover; }
.s-newscard__ph { display: grid; place-items: center; background: linear-gradient(135deg, #0f766e, var(--night)); color: #fff; }
.s-newscard strong { padding: 1rem 1.1rem 1.2rem; font: 700 1.05rem/1.35 var(--font-head); }
.s-newscard:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
@media (max-width: 860px) { .s-news { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
.s-pagehero { position: relative; overflow: hidden; padding-block: clamp(44px, 6vw, 84px) clamp(36px, 5vw, 64px); color: #fff; background: radial-gradient(700px 400px at 85% 0%, rgb(20 184 166 / .25), transparent 65%), var(--night); }
.s-pagehero__title { max-width: 22ch; margin: 0 0 .8rem; font: 800 clamp(2.1rem, 1.4rem + 3vw, 3.8rem)/1.02 var(--font-head); letter-spacing: -.03em; color: #fff; }
.s-pagehero__lead { max-width: 46rem; margin: 0; font-size: var(--fs-lead); line-height: 1.6; color: rgb(255 255 255 / .78); }
.s-pagehero__actions { margin: 1.6rem 0 0; display: flex; gap: .6rem; flex-wrap: wrap; }
.s-pagehero .btn .icon { width: 18px; height: 18px; }
.s-crumbs ol { display: flex; flex-wrap: wrap; gap: .3rem .6rem; margin: 0 0 1.4rem; padding: 0; list-style: none; font-size: .86rem; }
.s-crumbs li + li::before { content: "/"; margin-right: .6rem; color: rgb(255 255 255 / .35); }
.s-crumbs a { color: rgb(255 255 255 / .75); text-decoration: none; }
.s-crumbs a:hover { color: #fff; }
.s-crumbs [aria-current] { color: var(--teal-2); }
.s-imported .section:first-child { padding-top: clamp(40px, 5vw, 72px); }
.s-imported .page-hero { display: none; }
.s-imported .page-layout { display: block; }
.s-imported .page-layout__main { max-width: none; }
/* feature cards (replace the old grey "col panel" boxes in imported pages) */
.s-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1rem; margin: 1.8rem 0 2.4rem; }
.s-feature { position: relative; overflow: hidden; padding: 1.5rem 1.4rem 1.4rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgb(11 18 32 / .04); transition: transform .25s, box-shadow .25s, border-color .25s; }
.s-feature::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--teal), var(--teal-2)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.s-feature:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgb(11 18 32 / .35); border-color: transparent; }
.s-feature:hover::before { transform: scaleX(1); }
.s-feature__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem; border-radius: 16px; background: linear-gradient(135deg, var(--teal-soft), #d9f4ff); color: #0f766e; }
.s-feature__icon .icon { width: 26px; height: 26px; }
.s-feature__num { position: absolute; top: 1.1rem; right: 1.3rem; font: 800 1.9rem/1 var(--font-head); color: rgb(15 118 110 / .1); }
.prose .s-feature h3::before, .prose .s-duo__card h3::before { content: none; display: none; }
.prose .s-feature h3, .prose .s-duo__card h3 { padding: 0; border: 0; }
.prose .s-feature h3 { margin: 0 0 .45rem; font: 800 1.12rem/1.25 var(--font-head); color: var(--ink); }
.prose .s-feature p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--muted); }
.s-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.2rem; margin: 1.8rem 0 2.4rem; }
.s-duo__card { position: relative; overflow: hidden; padding: 2rem 1.8rem; border-radius: 24px; color: rgb(255 255 255 / .82); background: radial-gradient(420px 220px at 100% 0%, rgb(20 184 166 / .35), transparent 70%), var(--night); }
.s-duo__card:nth-child(2) { background: radial-gradient(420px 220px at 100% 0%, rgb(225 29 72 / .35), transparent 70%), var(--night-2); }
.s-duo__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.1rem; border-radius: 16px; background: rgb(255 255 255 / .08); color: var(--teal-2); }
.s-duo__icon .icon { width: 28px; height: 28px; }
.prose .s-duo__card h3 { margin: 0 0 .6rem; font: 800 1.45rem/1.2 var(--font-head); color: #fff; }
.prose .s-duo__card p { margin: 0; line-height: 1.65; color: rgb(255 255 255 / .8); }

.s-guide { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2.5rem; align-items: start; }
.s-guide__main h2 { margin-top: 2rem; }
.s-guide__figure { margin: 0 0 1.5rem; }
.s-guide__figure img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 20px; }
.s-exercises li::before { background-color: var(--teal) !important; }
.s-note { margin-top: 1.5rem; padding: 1rem 1.2rem; border-radius: 14px; background: #fff8e6; border-left: 4px solid #f2a516; font-size: .94rem; }
.s-guide__source { margin-top: 1.5rem; font-size: .88rem; color: var(--muted); }
.s-guide__aside { position: sticky; top: 96px; display: grid; gap: 1.2rem; }
.s-card { padding: 1.5rem; border-radius: var(--s-radius); background: #fff; border: 1px solid var(--line); }
.s-card h2 { margin: 0 0 .7rem; font: 800 1.2rem/1.2 var(--font-head); color: var(--ink); }
.s-card p { margin: 0 0 1rem; color: var(--muted); }
.s-card--dark { background: var(--night); border-color: var(--night); }
.s-card--dark h2 { color: #fff; }
.s-card--dark .s-body3d__stage { min-height: 360px; border-radius: 18px; }
.s-card--dark .s-body3d__regions { display: none; }
.s-card--dark .s-body3d__panel { display: none; }
.s-card__tel { display: flex; align-items: center; gap: .5rem; margin: 1rem 0 0 !important; }
.s-card__tel .icon, .s-line .icon { width: 18px; height: 18px; flex: none; color: var(--teal); }
.s-links { margin: 0; padding: 0; list-style: none; display: grid; gap: .3rem; }
.s-links a { font-weight: 600; }
@media (max-width: 1000px) { .s-guide { grid-template-columns: 1fr; } .s-guide__aside { position: static; } }
.s-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.s-line { display: flex; gap: .6rem; align-items: flex-start; }
.s-line .icon { margin-top: .2em; }
.s-map { position: relative; display: block; overflow: hidden; border-radius: var(--s-radius); }
.s-map img { width: 100%; height: auto; }
.s-map .btn { position: absolute; right: 1rem; bottom: 1rem; }
@media (max-width: 760px) { .s-two { grid-template-columns: 1fr; } }
.s-explain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.s-explain h2 { font: 800 1.5rem/1.2 var(--font-head); color: var(--ink); }
@media (max-width: 760px) { .s-explain { grid-template-columns: 1fr; } }
.s-sitemap { columns: 3 240px; margin: 0; padding: 0; list-style: none; }
.s-sitemap li { margin: 0 0 .5rem; break-inside: avoid; text-transform: capitalize; }
.s-sitemap small { display: block; color: var(--muted); text-transform: none; }

/* ---------- call to action + footer ---------- */
.s-cta { padding-block: clamp(48px, 6vw, 80px); color: #fff; background: radial-gradient(700px 400px at 90% 100%, rgb(20 184 166 / .35), transparent 60%), linear-gradient(120deg, var(--brand-dark), var(--brand)); }
.s-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.s-cta h2 { margin: 0 0 .4rem; font: 800 clamp(1.8rem, 1.3rem + 2vw, 2.8rem)/1.05 var(--font-head); color: #fff; }
.s-cta p { margin: 0; color: rgb(255 255 255 / .85); }
.s-cta__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.s-footer { background: var(--night); color: rgb(255 255 255 / .72); font-size: .94rem; }
.s-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2rem; width: min(var(--s-max), 100% - 2 * var(--s-gutter)); margin-inline: auto; padding-block: 56px 32px; }
.s-footer__title { margin: 0 0 1rem; font: 800 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-2); }
.s-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.s-footer a { color: rgb(255 255 255 / .85); text-decoration: none; }
.s-footer a:hover { color: #fff; text-decoration: underline; }
.s-footer__brand p { margin: 1rem 0 0; line-height: 1.6; }
.s-footer__contact { display: flex; gap: .5rem; align-items: flex-start; margin: 1rem 0 0; }
.s-footer__contact .icon { width: 17px; height: 17px; flex: none; margin-top: .2em; color: var(--teal-2); }
.s-footer__links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1rem; }
.s-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; width: min(var(--s-max), 100% - 2 * var(--s-gutter)); margin-inline: auto; padding-block: 20px 28px; border-top: 1px solid rgb(255 255 255 / .08); font-size: .82rem; }
.s-footer__bottom p { margin: 0; max-width: 60rem; }
@media (max-width: 900px) { .s-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .s-footer__grid { grid-template-columns: 1fr; } }

/* ---------- anatomy dialog ---------- */
.s-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgb(5 9 18 / .78); }
.s-modal[hidden] { display: none; }
.s-modal__box { position: relative; width: min(1100px, 100%); padding: 12px; border-radius: 22px; background: var(--night); box-shadow: 0 40px 80px -30px #000; }
.s-modal__frame { aspect-ratio: 16 / 10; max-height: 78vh; border-radius: 14px; overflow: hidden; background: #000; }
.s-modal__frame iframe { width: 100%; height: 100%; border: 0; }
.s-modal__close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--night); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.s-modal__credit { margin: .6rem .4rem 0; font-size: .8rem; color: rgb(255 255 255 / .65); }
.s-modal__credit a { color: var(--teal-2); }
body.s-modal-open { overflow: hidden; }
@media (max-width: 600px) { .s-modal__frame { aspect-ratio: 3 / 4; } .s-modal__close { top: 6px; right: 6px; } }
