/*
 * Mkhari – physiotherapy template · Abedev (abedev.com)
 *
 * Design: a sporty, modern practice – deep navy with a teal glow, a bold technical display face, rounded cards and
 * coral pain spots; the language switch is a row of kinesiology tape strips printed with the flags (the one in use is
 * stuck down flat) and on phones the menu is a spine with the pages as vertebrae. Colours, fonts and spacing are
 * variables: change them here and the whole site follows. All motion stops with "reduce motion".
 * Sections: 1 fonts · 2 tokens · 3 base · 4 header, tapes & spine · 5 hero, pain map & home · 6 treatments
 * · 7 exercise timer · 8 appointment · 9 footer · 10 smaller screens
 */

/* 1 ─ Fonts (bundled, SIL Open Font License – see assets/fonts/OFL.txt) */
@font-face { font-family: "Mkhari Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/play-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mkhari Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/play-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mkhari Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/play-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Mkhari Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-600-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Mkhari Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/play-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mkhari Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/play-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mkhari Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/play-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Mkhari Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-700-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Mkhari Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-flex-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mkhari Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-flex-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mkhari Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-flex-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Mkhari Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-400-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }

/* 2 ─ Tokens */
:root {
    --teal: #14b8a6;
    --navy: #0f1d2b;
    --sky: #38bdf8;
    --coral: #ff6b4a;
    --lime: #bef264;
    --bg: #f3f6f8;
    --card: #ffffff;
    --line: #dde5ea;
    --mid: #5b6b78;
    --radius: 24px;
    --display: "Mkhari Display", "Play", system-ui, sans-serif;
    --text: "Mkhari Text", "Roboto Flex", system-ui, sans-serif;
    --wrap: 1220px;
}

/* 3 ─ Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--navy); font: 400 17px/1.65 var(--text); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
svg { display: block; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
a { color: inherit; }
b, strong { font-family: var(--display); font-weight: 700; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.04; margin: 0 0 .45em; letter-spacing: -.01em; text-transform: uppercase; overflow-wrap: break-word; }
h1 { font-size: clamp(2.5rem, 7vw, 5.6rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); }
h3 { font-size: 1.4rem; }
:lang(ka) h1, :lang(ka) h2, :lang(ka) h3 { text-transform: none; line-height: 1.3; letter-spacing: 0; }
:lang(ka) h1 { font-size: clamp(1.8rem, 4.6vw, 3.4rem); }
:lang(ka) h2 { font-size: clamp(1.35rem, 2.6vw, 2rem); }
:lang(ka) h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--teal); color: #fff; border-radius: 10px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 700 .82rem/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; width: 26px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--sky)); }
:lang(ka) .eyebrow { text-transform: none; letter-spacing: .02em; }
.lead { font-size: 1.18rem; color: var(--mid); max-width: 60ch; }
.muted { color: var(--mid); }
.small { font-size: .92rem; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--tight { padding: clamp(20px, 3vw, 40px) 0 clamp(56px, 8vw, 96px); }
.section--tint { background: linear-gradient(180deg, #e7f6f4, var(--bg)); }
.more { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem var(--display); text-decoration: none; color: var(--teal); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border: 2px solid transparent; border-radius: 14px; font: 700 1rem/1.2 var(--display); letter-spacing: .02em; text-decoration: none; cursor: pointer; text-align: center; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-teal { background: linear-gradient(135deg, var(--teal), #0ea5a0); color: #fff; box-shadow: 0 10px 26px rgba(20, 184, 166, .35); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost-dark { border-color: var(--line); color: var(--navy); background: var(--card); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
/* iPhone Safari: date fields keep their own width otherwise and stick out of the form */
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%; }
input[type="date"]::-webkit-date-and-time-value { min-height: 1.4em; text-align: left; }

/* 4 ─ Header, tapes (language) & spine menu */
.header { position: sticky; top: 0; z-index: 40; background: rgba(15, 29, 43, .92); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.logo-mark { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: linear-gradient(135deg, var(--teal), var(--sky)); color: var(--navy); }
.logo-mark .icon { width: 24px; height: 24px; stroke-width: 2.4; }
.logo-img { max-height: 44px; width: auto; }
.logo > span:last-child { display: grid; font: 700 1.5rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.logo small { margin-top: 4px; font: 400 .68rem/1 var(--display); letter-spacing: .14em; color: #8fe3d7; }
:lang(ka) .logo small, :lang(ka) .logo > span:last-child { text-transform: none; letter-spacing: 0; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 10px 14px; border-radius: 12px; text-decoration: none; font: 700 .98rem var(--display); color: #c5d3dc; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a[aria-current] { color: var(--navy); background: var(--teal); }
.tapes { display: flex; align-items: center; gap: 2px; }
.tapes a { position: relative; display: grid; place-items: center; width: 50px; height: 40px; text-decoration: none; }
.tape { width: 46px; height: 17px; transform: rotate(var(--r)); transition: transform .25s; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.tape-edge { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 1; }
.tapes span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tapes a:not([aria-current]) .tape { opacity: .6; transform: rotate(var(--r)) translateY(-2px) skewX(-6deg); }
.tapes a:hover .tape { opacity: 1; transform: rotate(0); }
.tapes a[aria-current] .tape { transform: rotate(0) scale(1.08); }
.tapes a[aria-current]::after { content: ""; position: absolute; bottom: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.tapes a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 8px; }
.spine-btn { display: none; align-items: center; gap: 10px; margin-left: auto; min-height: 46px; padding: 8px 16px; border: 2px solid rgba(255, 255, 255, .25); border-radius: 14px; background: none; color: #fff; font: 700 .95rem var(--display); cursor: pointer; }
.spine-dots { display: grid; gap: 3px; }
.spine-dots i { display: block; width: 14px; height: 4px; border-radius: 3px; background: var(--teal); }
.spine-dots i:nth-child(2) { width: 18px; }
.spine { position: fixed; inset: 0; z-index: 60; display: grid; align-content: center; justify-items: center; gap: 30px; padding: 70px 24px 30px; overflow: auto; background: radial-gradient(circle at 50% 30%, #13324a, var(--navy) 70%); color: #fff; opacity: 0; transition: opacity .3s; }
.spine.is-open { opacity: 1; }
.spine-close { position: absolute; right: 14px; top: 12px; display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid rgba(255, 255, 255, .25); border-radius: 14px; background: none; color: #fff; cursor: pointer; }
.spine-nav { position: relative; display: grid; gap: 14px; }
.spine-nav::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 4px; border-radius: 2px; background: linear-gradient(var(--teal), var(--sky)); opacity: .5; }
.spine-nav a { position: relative; display: flex; align-items: center; gap: 18px; font: 700 1.9rem/1.1 var(--display); text-transform: uppercase; text-decoration: none; transform: translateX(-12px); opacity: 0; transition: transform .35s, opacity .35s; }
:lang(ka) .spine-nav a { text-transform: none; font-size: 1.3rem; }
.spine.is-open .spine-nav a { transform: none; opacity: 1; }
.spine.is-open .spine-nav a:nth-child(2) { transition-delay: .05s; }
.spine.is-open .spine-nav a:nth-child(3) { transition-delay: .1s; }
.spine.is-open .spine-nav a:nth-child(4) { transition-delay: .15s; }
.vertebra { width: 46px; height: 26px; flex: none; border-radius: 12px 12px 16px 16px; background: #24435c; border: 2px solid #3d6481; }
.spine-nav a[aria-current] { color: var(--teal); }
.spine-nav a[aria-current] .vertebra { background: var(--teal); border-color: #8fe3d7; box-shadow: 0 0 24px rgba(20, 184, 166, .7); }
@media (prefers-reduced-motion: reduce) { .spine-nav a { transition: none; } }

/* 5 ─ Hero, pain map & home */
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 78% 30%, rgba(20, 184, 166, .35), transparent 45%), radial-gradient(circle at 15% 90%, rgba(56, 189, 248, .22), transparent 40%), var(--navy); color: #fff; }
.hero .lead { color: #b8c7d2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 60px); align-items: center; padding: clamp(48px, 8vw, 104px) 0 clamp(30px, 5vw, 60px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-pic { position: relative; margin: 0; aspect-ratio: 1; border-radius: 36px; overflow: hidden; background: linear-gradient(160deg, #183a54, #0b2235); }
.hero-pic > img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure { position: absolute; inset: 14%; }
.hero-figure .figure { width: 100%; height: 100%; }
.hero-figure .fig { stroke: var(--teal); }
.hero-ring { position: absolute; border-radius: 50%; border: 2px solid rgba(190, 242, 100, .7); pointer-events: none; }
.r1 { right: 8%; top: 10%; width: 22%; aspect-ratio: 1; animation: spin 14s linear infinite; border-style: dashed; }
.r2 { left: 8%; bottom: 8%; width: 12%; aspect-ratio: 1; border-color: rgba(56, 189, 248, .8); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .r1 { animation: none; } }
.fig { fill: none; stroke: var(--navy); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.fig circle { fill: currentColor; stroke: none; }
.hero-figure .fig circle { fill: var(--teal); }
.fig-floor { stroke-width: 3; opacity: .4; }
.fig-arrow { stroke: var(--coral); stroke-width: 3; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 auto; padding-bottom: clamp(30px, 5vw, 56px); }
.facts div { padding: 18px 20px; border-left: 2px solid rgba(255, 255, 255, .12); min-width: 0; }
.facts dt { font: 700 clamp(2rem, 4vw, 3rem)/1 var(--display); background: linear-gradient(90deg, var(--teal), var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts dd { margin: 6px 0 0; color: #b8c7d2; overflow-wrap: break-word; }
.map-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.area-chips label { position: relative; }
.area-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.area-chips span { display: inline-block; padding: 9px 16px; border-radius: 12px; background: var(--card); border: 2px solid var(--line); font: 700 .92rem var(--display); cursor: pointer; }
.area-chips input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.area-chips input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.map-body { position: relative; justify-self: center; width: min(260px, 100%); aspect-ratio: 1 / 2; }
.bodymap { width: 100%; height: 100%; }
.bm-fill { fill: url(#bm); opacity: .9; }
.bm-line { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2; stroke-linecap: round; }
.spot { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.spot i { display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--coral); box-shadow: 0 0 0 0 rgba(255, 107, 74, .6); }
.spot.is-on i { background: var(--coral); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 74, .6); } 100% { box-shadow: 0 0 0 18px rgba(255, 107, 74, 0); } }
@media (prefers-reduced-motion: reduce) { .spot.is-on i { animation: none; } }
.spot:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.area-card { padding: 28px 26px; border-radius: var(--radius); background: var(--card); box-shadow: 0 24px 50px rgba(15, 29, 43, .08); border-top: 6px solid var(--coral); animation: rise .35s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.area-card > p:not(.area-fits) { color: var(--mid); }
.area-fits { margin-bottom: 8px; font: 700 .8rem var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--teal); }
:lang(ka) .area-fits { text-transform: none; letter-spacing: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.pills li { padding: 5px 12px; border-radius: 10px; background: #e7f6f4; font: 700 .88rem var(--display); }
.cta { padding: clamp(40px, 6vw, 80px) 0; }
.cta-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 30px; background: radial-gradient(circle at 90% 20%, rgba(20, 184, 166, .4), transparent 50%), var(--navy); color: #fff; }
.cta-inner p { margin: 0; color: #b8c7d2; }
.cta-inner h2 { margin-bottom: 6px; }
.cta-pulse { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: linear-gradient(135deg, var(--teal), var(--sky)); color: var(--navy); }
.cta-pulse .icon { width: 38px; height: 38px; stroke-width: 2.4; }

/* 6 ─ Treatments */
.page-head { padding: clamp(44px, 7vw, 90px) 0 clamp(16px, 3vw, 28px); }
.treatments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.treatment { display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: var(--radius); background: var(--card); box-shadow: 0 16px 40px rgba(15, 29, 43, .06); min-width: 0; transition: transform .2s, box-shadow .2s; }
.treatment:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(15, 29, 43, .1); }
.treatment-no { font: 700 2.4rem/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--teal); margin-bottom: 12px; }
.treatment h2 { font-size: 1.45rem; }
:lang(ka) .treatment h2 { font-size: 1.1rem; }
.treatment > p { color: var(--mid); }
.treatment-help { font-size: .92rem; }
.treatment-help span { font-family: var(--display); font-weight: 700; color: var(--navy); }
.treatment-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: auto; padding-top: 16px; border-top: 2px solid var(--line); }
.treatment-min { display: inline-flex; align-items: center; gap: 6px; color: var(--mid); font-size: .92rem; }
.treatment-price { margin-left: auto; }
.treatment-price s { color: var(--mid); }
.treatment-price b { font-size: 1.5rem; }
.treatment-price small { color: var(--mid); }
.treatment-foot .btn { width: 100%; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 30px; }
.faq { display: grid; gap: 10px; }
.faq details { padding: 16px 20px; border-radius: 16px; background: var(--card); }
.faq summary { cursor: pointer; font: 700 1.02rem var(--display); }
.faq p { margin: 8px 0 0; color: var(--mid); }

/* 7 ─ Exercise timer */
.trainer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(22px, 4vw, 40px); border-radius: 32px; background: var(--card); box-shadow: 0 24px 60px rgba(15, 29, 43, .08); }
.trainer-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 380px; width: 100%; justify-self: center; }
.trainer-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #e7f6f4; stroke-width: 8; }
.ring-fg { fill: none; stroke: var(--teal); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.trainer.is-rest .ring-fg { stroke: var(--sky); }
.trainer-figure { width: 40%; margin-bottom: 14%; }
.trainer-figure .figure { width: 100%; height: auto; }
.trainer-time { position: absolute; bottom: 12%; margin: 0; font: 700 2.4rem var(--display); }
.trainer-step { font: 700 .82rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
:lang(ka) .trainer-step { text-transform: none; letter-spacing: 0; }
.trainer-next { color: var(--mid); font-weight: 700; min-height: 1.6em; }
.trainer .i-pause, .trainer.is-running .i-play { display: none; }
.trainer.is-running .i-pause { display: inline; }
.ex-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ex-list li { display: grid; gap: 6px; justify-items: center; padding: 14px 10px; border-radius: 18px; border: 2px solid var(--line); text-align: center; cursor: pointer; min-width: 0; transition: border-color .2s, background .2s; }
.ex-list li.is-now { border-color: var(--teal); background: #e7f6f4; }
.ex-list li.is-done { opacity: .55; }
.ex-fig { width: 60px; }
.ex-fig .figure { width: 100%; height: auto; }
.ex-list b { display: block; font-size: .9rem; line-height: 1.2; overflow-wrap: anywhere; }
.ex-list small { color: var(--mid); }

/* 8 ─ Appointment */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.panel { min-width: 0; padding: clamp(22px, 4vw, 38px); border-radius: var(--radius); background: var(--card); box-shadow: 0 20px 50px rgba(15, 29, 43, .07); scroll-margin-top: 100px; }
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.full { grid-column: 1 / -1; }
.field label, .field legend { font: 700 .96rem var(--display); padding: 0; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font: 400 16px/1.4 var(--text); color: var(--navy); }
.field select { -webkit-appearance: none; appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314b8a6' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(20, 184, 166, .3); outline-offset: 0; border-color: var(--teal); }
.field textarea { min-height: 100px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal); flex: none; }
.referral { padding: 12px 16px; border-radius: 14px; background: #e7f6f4; font-weight: 700; }
.referral span { display: inline-flex; align-items: center; gap: 8px; }
.form-status { display: none; padding: 12px 18px; border-radius: 14px; font-weight: 700; }
.form-status.is-shown { display: block; }
.form-status.ok { background: #dcf7ef; }
.form-status.info { background: #fdf2dd; }
.form-status.error { background: #fde3dc; }
.side { display: grid; gap: 20px; min-width: 0; }
.side-block { padding: 24px; border-radius: var(--radius); background: var(--navy); color: #dbe5ec; }
.side-block h2 { font-size: 1.5rem; color: #fff; }
.side-block .muted { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; color: #b8c7d2; }
.side-block .muted .icon { margin-top: 4px; color: var(--teal); }
.side-block .more { color: var(--teal); }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hours li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.7rem; margin-top: 1.3em; }

/* 9 ─ Footer */
.footer { padding: 60px 0 26px; background: var(--navy); color: #c5d3dc; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.footer-name { font: 700 2.6rem/1 var(--display); text-transform: uppercase; color: #fff; margin-bottom: 12px; }
:lang(ka) .footer-name { text-transform: none; }
.footer .footer-h { font: 700 .82rem/1.4 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
:lang(ka) .footer .footer-h { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.footer a { color: #fff; }
.plain { list-style: none; margin: 0; padding: 0; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }

/* 10 ─ Smaller screens */
@media (max-width: 1100px) {
    .map-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .map-intro { grid-column: 1 / -1; }
    .treatments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ex-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .nav { display: none; }
    .spine-btn { display: inline-flex; }
    .tapes--top { margin-left: auto; }
    .tapes--top + .spine-btn { margin-left: 0; }
    .hero-grid, .faq-wrap, .contact-grid, .trainer { grid-template-columns: minmax(0, 1fr); }
    .hero-pic { max-width: 420px; width: 100%; justify-self: center; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-inner { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .tapes--top { display: none; }
    .spine-btn, .tapes--top + .spine-btn { margin-left: auto; }
    .header-inner { min-height: 64px; gap: 12px; }
    .map-grid, .treatments, .footer-grid, .form { grid-template-columns: minmax(0, 1fr); }
    .map-body { width: min(220px, 70%); }
    .ex-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts div { padding: 14px 12px; }
}
@media (max-width: 380px) {
    .logo small { display: none; }
    .spine-btn span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .spine-btn { padding: 8px 12px; }
}
