/* naftalansanatoriy.com — compact, minimal */
:root {
  --bg: #fbfaf8; --surface: #fff; --band: #f4f1ec; --line: #e9e6e1; --line-2: #dcd7cf;
  --ink: #14120f; --ink-2: #3a362f; --muted: #6f6a62;
  --accent: #95703d; --accent-soft: #f5eee2; --gold: #b08a4e; --ok: #2f6b3f;
  --serif: 'Literata', Georgia, serif; --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 14px; --r-s: 10px; --wrap: 1200px; --gut: 20px; --hdr: 64px;
  --sh: 0 1px 2px rgba(20,18,15,.04), 0 8px 24px -12px rgba(20,18,15,.12);
  --sh-lg: 0 24px 60px -20px rgba(20,18,15,.28);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 56px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, .h3, .h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
h1 { font: 400 clamp(30px, 4.2vw, 46px)/1.1 var(--serif); letter-spacing: -.02em; }
h2 { font: 400 clamp(23px, 2.6vw, 30px)/1.2 var(--serif); letter-spacing: -.015em; }
h3, .h3 { font-size: 18px; }
.h4 { font-size: 15px; font-weight: 600; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.block { display: block; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
.eyebrow { font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 680px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2b2722; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); }
.btn-block { width: 100%; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; font-size: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14.5px; text-decoration: none; color: var(--accent); white-space: nowrap; }
.link-arrow:hover .i { transform: translateX(3px); }
.link-arrow .i { transition: transform .2s; }

/* top bar + header */
.topbar { background: var(--ink); color: #d9d4cc; font-size: 12.5px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 16px; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar-r { display: flex; gap: 18px; align-items: center; }
.lang { font-weight: 600; letter-spacing: .04em; padding: 2px 8px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(251,250,248,.9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 24px; height: var(--hdr); }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); flex: none; }
.logo svg { width: auto; height: 31px; color: var(--ink); }
.logo-t { display: flex; flex-direction: column; line-height: 1; }
.logo-t b { font: 500 16px/1 var(--serif); letter-spacing: .07em; margin-right: -.07em; }
.logo-t small { display: flex; justify-content: space-between; font: 500 8px/1 var(--sans); color: var(--gold); margin-top: 5px; }
.logo-t small i { font-style: normal; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav-ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-li { position: relative; display: flex; align-items: center; }
.nav-top { display: block; padding: 8px 10px; border-radius: 8px; font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.has-sub .nav-top { padding-right: 2px; }
.nav-top:hover, .nav-top[aria-current] { color: var(--ink); }
.nav-top[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-caret { border: 0; background: none; padding: 8px 6px 8px 2px; color: var(--muted); display: flex; }
.nav-caret .i { transition: transform .2s; }
.nav-sub { position: absolute; top: calc(100% + 6px); left: -8px; min-width: 270px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.nav-sub::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-sub ul { list-style: none; margin: 0; padding: 0; }
.nav-sub a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 8px; font-size: 14.5px; text-decoration: none; color: var(--ink-2); }
.nav-sub a:hover, .nav-sub a[aria-current] { background: var(--band); color: var(--ink); }
.nav-sub-head a { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; margin-bottom: 4px; }
.has-sub:hover .nav-sub, .has-sub:focus-within .nav-sub, .has-sub.open .nav-sub { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.has-sub:hover .nav-caret .i, .has-sub.open .nav-caret .i { transform: rotate(180deg); }
.hdr-r { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-m { display: none; color: var(--ink); border-color: var(--line-2); font-size: 12.5px; text-decoration: none; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); place-items: center; font-size: 20px; }

/* drawer */
.drawer[hidden] { display: none; }
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-bg { position: absolute; inset: 0; background: rgba(20,18,15,.4); animation: fade .2s; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 92vw); background: var(--bg); display: flex; flex-direction: column; animation: slide .25s cubic-bezier(.2,.8,.2,1); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.drawer-ul { list-style: none; margin: 0; padding: 8px 16px; overflow-y: auto; flex: 1; }
.drawer-ul > li { border-bottom: 1px solid var(--line); }
.dr-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; font-weight: 500; font-size: 16px; text-decoration: none; list-style: none; cursor: pointer; }
.dr-top::-webkit-details-marker { display: none; }
details[open] > .dr-top .i { transform: rotate(180deg); }
.drawer-ul ul { list-style: none; margin: 0 0 10px; padding: 0 0 0 10px; border-left: 2px solid var(--line); }
.drawer-ul ul a { display: block; padding: 7px 10px; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.drawer-foot { padding: 16px; border-top: 1px solid var(--line); display: grid; gap: 12px; text-align: center; font-size: 14px; color: var(--muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(100%); } }

/* hero (home) */
.hero { padding: 36px 0 20px; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.8vw, 56px); margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { margin-bottom: 26px; }
.finder { display: grid; grid-template-columns: 1.4fr 1fr .6fr auto; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 6px; box-shadow: var(--sh); align-items: stretch; }
.fd { display: flex; flex-direction: column; padding: 6px 14px; border-right: 1px solid var(--line); min-width: 0; }
.fd:nth-last-of-type(1) { border-right: 0; }
.fd span { font-size: 11.5px; color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.fd select, .fd input { border: 0; background: none; padding: 2px 0; font: 500 15px var(--sans); color: var(--ink); width: 100%; min-width: 0; outline: none; appearance: none; -webkit-appearance: none; }
.fd select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%236f6a62' stroke-width='1.6'/%3E%3C/svg%3E") right center/14px no-repeat; padding-right: 18px; }
.finder .btn { height: auto; min-height: 50px; border-radius: 13px; }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }
.hero-note .i { color: var(--ok); }
.hero-media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 5 / 5.6; background: var(--band); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: 12px; padding: 10px 14px; display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; }
.hero-chip b { font: 400 26px/1 var(--serif); }

/* bands */
.band { padding: 56px 0; }
.band-alt { background: var(--band); }
.band-s { padding: 36px 0 8px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.sec-head h2 { margin-bottom: 6px; }
.sec-head p { margin: 0; max-width: 620px; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }

/* sanatorium cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards > div[hidden] { display: none; }
.scard { display: block; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .25s, transform .25s; height: 100%; }
.scard:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); }
.scard-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--band); }
.scard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.scard:hover .scard-img img { transform: scale(1.04); }
.badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 5px; background: #fff; color: var(--accent); font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; }
.scard-b { padding: 14px 16px 16px; }
.scard-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--muted); font-size: 12.5px; margin: 0 0 4px; }
.scard-meta span { display: inline-flex; align-items: center; gap: 4px; }
.scard h3 { font-size: 16.5px; margin: 0 0 8px; }
.scard-price { margin: 0; font-size: 13.5px; color: var(--muted); }
.scard-price b { color: var(--ink); font-weight: 600; font-size: 15px; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 32px; }
.tiles-4 { grid-template-columns: repeat(4, 1fr); margin: 0; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.tile:hover { border-color: var(--line-2); box-shadow: var(--sh); }
.tile h3 { font-size: 16px; margin: 0; }
.tile p { font-size: 14px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--accent); }
.tile-sm { flex-direction: row; justify-content: space-between; align-items: center; padding: 16px 18px; }
.tile-sm .tile-go { margin: 0; padding: 0; }

/* offers */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.offers-2 { grid-template-columns: repeat(2, 1fr); margin-bottom: 28px; }
.offer { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.offer:hover { box-shadow: var(--sh); }
.offer h3 { margin: 0; font-size: 16.5px; }
.offer p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.offer-tag { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 9px; font-size: 12px; font-weight: 600; align-self: flex-start; }
.offer-price { margin-top: auto; padding-top: 6px; font-size: 13.5px; color: var(--muted); }

/* steps */
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { border-top: 1px solid var(--line-2); padding-top: 16px; }
.step-n { font: 400 15px var(--serif); color: var(--accent); }
.steps h3 { margin: 6px 0; font-size: 16.5px; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* CTA */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--ink); color: #f4f1ec; border-radius: 20px; padding: 36px 40px; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { margin: 0; color: #bdb6ab; max-width: 560px; }

/* page head + layout */
.page-head { padding: 22px 0 28px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--bg), var(--band)); }
.page-head h1 { margin: 0 0 12px; max-width: 900px; }
.page-head .lead { margin: 0; }
.meta-row { display: flex; gap: 14px; color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 16px; padding: 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 4px; color: var(--line-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 36px; padding-bottom: 64px; }
.layout .content { max-width: 760px; }
.layout-wide .content { max-width: none; }
.layout-r { grid-template-columns: minmax(0, 1fr) 340px; }
.layout-r .content { max-width: none; }
.aside-in { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 18px; }
.side-nav { font-size: 14.5px; }
.side-h { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin: 0 0 8px; }
.side-nav ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.side-nav a { display: block; padding: 6px 12px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); }
.side-nav a:hover { color: var(--ink); }
.side-nav a[aria-current] { color: var(--ink); font-weight: 500; border-left-color: var(--accent); }
.book-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.book-card .muted { margin: 0 0 12px; }
.book-card-lg { padding: 20px; box-shadow: var(--sh); }
.price-big { font: 400 26px/1.1 var(--serif); margin: 4px 0 14px; }
.price-big span { font: 400 14px var(--sans); color: var(--muted); }

/* toc */
.toc { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; margin-bottom: 28px; background: var(--surface); }
.toc-h { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin: 0 0 6px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 14.5px; }
.toc li { break-inside: avoid; padding: 2px 0; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--accent); }

/* prose */
.prose { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.prose .sec { margin-bottom: 40px; }
.prose h2 { color: var(--ink); margin: 0 0 14px; }
.prose h3 { color: var(--ink); margin: 26px 0 8px; font-size: 18px; }
.prose .lede { font-size: 17.5px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin: 4px 0; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration-color: rgba(138,90,43,.35); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 20px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); font: italic 400 18px/1.6 var(--serif); color: var(--ink); }
.prose table, .tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 0 0 1.2em; }
.prose th, .prose td, .tbl th, .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th, .tbl thead th { font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; background: var(--band); border-bottom: 0; }
.tbl tbody th { font-weight: 500; color: var(--ink); }
.tbl th a { text-decoration: none; }
.tbl th a:hover { color: var(--accent); }
.tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin: 8px 0 10px; }
.tbl-wrap .tbl { margin: 0; }
.tbl-wrap tbody tr:last-child > * { border-bottom: 0; }
.tbl-compare td { text-align: center; }
.tbl-compare thead th:not(:first-child) { text-align: center; }
.yes { color: var(--ok); }
.no { color: var(--line-2); }
.pill-s { color: var(--accent); }
.wide-block { margin: 8px 0 28px; }

/* faq */
.faq { margin-top: 12px; }
.faq h2 { margin-bottom: 14px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 2px; cursor: pointer; font-weight: 500; font-size: 16px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { color: var(--muted); transition: transform .2s; }
.acc details[open] summary .i { transform: rotate(180deg); }
.acc-a { padding: 0 2px 16px; color: var(--ink-2); font-size: 15.5px; }
.acc-a p:last-child { margin: 0; }
.faq-wrap { max-width: 860px; }

/* sanatorium page */
.san-head { padding: 22px 0 0; }
.san-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 20px; }
.san-title h1 { margin: 4px 0 8px; }
.san-title .lead { margin: 0; font-size: 16.5px; }
.san-price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.san-price b { font: 400 24px var(--serif); margin-bottom: 6px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 190px 190px; gap: 8px; border-radius: 18px; overflow: hidden; }
.gallery figure { margin: 0; background: var(--band); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g0 { grid-row: span 2; }
.tabs { position: sticky; top: var(--hdr); z-index: 30; background: rgba(251,250,248,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); margin-top: 20px; }
.tabs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs a { display: block; padding: 14px 12px; font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.tabs a:hover, .tabs a.on { color: var(--ink); border-bottom-color: var(--accent); }
.goodfor { background: var(--accent-soft); border-radius: var(--r); padding: 16px 18px; margin-top: 18px; }
.ticks, .amen { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; }
.ticks li, .amen li { display: flex; gap: 8px; align-items: baseline; margin: 0; font-size: 15px; }
.ticks .i, .amen .i { color: var(--ok); }
.amen { grid-template-columns: repeat(3, 1fr); }
.chips { list-style: none; padding: 0 !important; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { margin: 0; padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.procs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.proc { border: 1px solid var(--line); border-radius: var(--r-s); padding: 14px 16px; background: var(--surface); }
.proc h3 { font: 600 14px var(--sans) !important; margin: 0 0 6px !important; color: var(--accent) !important; }
.proc ul { margin: 0; padding-left: 18px; font-size: 14.5px; }
.facts { display: grid; gap: 10px; margin: 18px 0 0; }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--ink); font-size: 14.5px; }
.facts dd { margin: 0; font-size: 15px; }
.fact-offer dd { color: var(--accent); font-weight: 500; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.chip span { color: var(--muted); font-weight: 400; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: #bdb6ab; }
.chip-link { margin-left: auto; color: var(--accent); }

/* articles */
.acards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.acards-3 { grid-template-columns: repeat(3, 1fr); }
.acard { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; }
.acard:hover { box-shadow: var(--sh); }
.acard h2, .acard h3 { font: 500 18px/1.3 var(--serif); margin: 0; }
.acard p { margin: 0; font-size: 14.5px; color: var(--muted); }
.acard-meta { font-size: 12.5px !important; text-transform: uppercase; letter-spacing: .06em; }

/* videos */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 32px; }
.video { margin: 0; }
.video-btn, .video iframe { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; background: #000; }
.video-btn img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video-btn svg { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); transition: transform .2s; }
.video-btn:hover svg { transform: translate(-50%, -50%) scale(1.08); }
.video figcaption { font-size: 14px; color: var(--ink-2); margin-top: 8px; }

/* forms */
.form-block { margin: 12px 0 40px; scroll-margin-top: calc(var(--hdr) + 20px); }
.card-form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--sh); }
.card-form > .muted { margin: -4px 0 16px; font-size: 14.5px; }
.grid-f { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.span2 { grid-column: span 2; }
.fld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fld > span { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; min-width: 0; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--bg); padding: 0 12px; font: 400 15px var(--sans); color: var(--ink); transition: border-color .15s, background .15s; appearance: none; -webkit-appearance: none; }
.fld select { background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%236f6a62' stroke-width='1.6'/%3E%3C/svg%3E") right 12px center/14px no-repeat; padding-right: 34px; }
.fld textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.fld.bad input, .fld.bad textarea { border-color: #b4412f; }
.form-compact .grid-f { grid-template-columns: 1fr 1fr; gap: 10px; }
.form-compact .fld input, .form-compact .fld select { height: 40px; font-size: 14.5px; }
.form-fine { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; text-align: center; }
.form-msg { margin: 10px 0 0; font-size: 14.5px; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--ok); background: #eef5ef; padding: 10px 12px; border-radius: var(--r-s); }
.form-msg.err { color: #b4412f; }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 26px; color: var(--line-2); cursor: pointer; line-height: 1; transition: color .1s; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #c9952f; }
.stars input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }

/* dialog */
.dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 0; border-radius: 20px; padding: 22px; background: var(--bg); color: var(--ink); box-shadow: var(--sh-lg); }
.dlg::backdrop { background: rgba(20,18,15,.45); backdrop-filter: blur(2px); }
.dlg[open] { animation: pop .22s cubic-bezier(.2,.8,.2,1); }
.dlg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.dlg-head .eyebrow { margin-bottom: 4px; font-size: 11.5px; }
.dlg-head h2 { margin: 0; font: 400 24px var(--serif); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* reviews */
.reviews { margin: 8px 0 24px; }
.rev-list { display: grid; gap: 12px; }
.rev { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: var(--surface); }
.rev-h { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.rev-h b { color: var(--ink); font-weight: 600; }
.rev-stars { color: #c9952f; letter-spacing: 1px; }
.rev p { margin: 0; white-space: pre-line; }
.rev-empty { color: var(--muted); padding: 18px; border: 1px dashed var(--line-2); border-radius: var(--r); text-align: center; }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 28px; }
.ccard { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: var(--surface); font-size: 15px; }
.ccard > .i { color: var(--accent); font-size: 20px; margin-bottom: 8px; }
.ccard p { margin: 0; }
.ccard a { color: var(--accent); }

/* footer */
.ftr { background: var(--ink); color: #bdb6ab; padding: 56px 0 28px; font-size: 14px; }
.ftr .logo, .ftr .logo svg { color: #fff; }
.f-top { display: grid; grid-template-columns: 280px 1fr; gap: 48px; }
.f-brand p { margin: 14px 0; line-height: 1.6; }
.f-mail { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.f-h { color: #fff; font-weight: 600; margin: 0 0 10px; font-size: 14px; }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col li { padding: 3px 0; }
.f-col a { text-decoration: none; }
.f-col a:hover { color: #fff; }
.f-bot { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 24px; font-size: 12.5px; color: #8e877c; }
.f-bot p { margin: 0; max-width: 560px; }

/* 404 */
.nf { padding: 90px var(--gut); text-align: center; }
.nf-code { font: 400 90px/1 var(--serif); color: var(--accent); margin: 0 0 10px; }
.nf .lead { margin: 0 auto 24px; }

/* responsive */
@media (max-width: 1140px) {
  .nav-top { padding: 8px 7px; font-size: 14px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .offers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .nav, .topbar-note { display: none; }
  .hdr-in { justify-content: space-between; }
  .burger { display: grid; }
  .layout, .layout-r { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 24px; }
  .layout .aside { display: none; }
  .layout-r .aside { display: block; order: 2; margin-top: 12px; }
  .layout-r .aside-in { position: static; }
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
  .hero-media { aspect-ratio: 16 / 10; }
  .split { grid-template-columns: 1fr; gap: 8px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tiles-4 { grid-template-columns: repeat(2, 1fr); }
  .f-top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  :root { --gut: 16px; --hdr: 58px; }
  body { font-size: 15.5px; }
  .topbar-r a:first-child { font-size: 12px; }
  .topbar .lang { display: none; }
  .lang-m { display: inline-block; }
  .hdr-r .btn-sm { display: none; }
  .hero { padding-top: 22px; }
  .finder { grid-template-columns: 1fr 1fr; padding: 4px; }
  .fd { padding: 8px 12px; }
  .fd:first-child { grid-column: span 2; border-right: 0; border-bottom: 1px solid var(--line); }
  .fd-s { border-right: 0; }
  .finder .btn { grid-column: span 2; margin-top: 4px; }
  .band { padding: 40px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cards, .cards-3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .scard-b { padding: 10px 12px 12px; }
  .scard h3 { font-size: 15px; }
  .scard-meta { font-size: 11.5px; }
  .tiles, .tiles-4, .offers, .offers-2, .acards, .acards-3, .videos, .contact-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .toc ol { columns: 1; }
  .prose { font-size: 16px; }
  .grid-f, .form-compact .grid-f { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .card-form { padding: 18px; }
  .san-title { flex-direction: column; align-items: flex-start; }
  .san-price { align-items: flex-start; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }
  .san-price b { margin: 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 110px; margin: 0 calc(-1 * var(--gut)); border-radius: 0; }
  .gallery .g0 { grid-column: span 2; grid-row: auto; }
  .gallery .g3, .gallery .g4 { display: none; }
  .procs, .ticks, .amen { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .chip-link { margin-left: 0; }
  .f-cols { grid-template-columns: 1fr 1fr; }
  .f-bot { flex-direction: column; gap: 8px; }
  .page-head { padding: 16px 0 22px; }
  .lead { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* sanatorium page refinements */
.layout-r .aside-in { top: calc(var(--hdr) + 66px); }
.proc:has(li:nth-child(7)) { grid-column: 1 / -1; }
.proc:has(li:nth-child(7)) ul { columns: 2; column-gap: 28px; }
.proc li { break-inside: avoid; }
@media (max-width: 720px) { .proc:has(li:nth-child(7)) ul { columns: 1; } }

/* custom select + date picker */
.fd, .fld { position: relative; }
.cs-native { position: absolute !important; opacity: 0; pointer-events: none; width: 1px !important; height: 1px !important; bottom: 0; left: 0; }
.cs-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-width: 0; text-align: left; font: 500 15px var(--sans); color: var(--ink); background: none; border: 0; padding: 2px 0; cursor: pointer; }
.cs-btn .cs-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cs-btn .cs-ph { color: var(--muted); font-weight: 400; }
.cs-btn .i { color: var(--muted); flex: none; transition: transform .2s; }
.cs-btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.cs-date[aria-expanded="true"] .i { transform: none; color: var(--accent); }
.fld .cs-btn { height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--bg); font-weight: 400; transition: border-color .15s, background .15s; }
.fld .cs-btn:hover { border-color: #c9c2b7; }
.fld .cs-btn[aria-expanded="true"], .fld .cs-btn:focus-visible { border-color: var(--accent); background: #fff; outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.form-compact .fld .cs-btn { height: 40px; font-size: 14.5px; }
.fd .cs-btn:focus-visible { outline: none; }
.fd:focus-within { background: var(--band); border-radius: 12px; }
.fd { transition: background .15s; }
.cs-pop { position: absolute; z-index: 70; top: calc(100% + 8px); left: 0; min-width: 100%; width: max-content; max-width: min(340px, calc(100vw - 32px)); max-height: 320px; overflow: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-lg); animation: popin .16s cubic-bezier(.2,.8,.2,1); outline: none; overscroll-behavior: contain; }
.cs-pop[hidden] { display: none; }
@keyframes popin { from { opacity: 0; transform: translateY(-4px); } }
.cs-opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.cs-opt.on { background: var(--band); color: var(--ink); }
.cs-opt[aria-selected="true"] { color: var(--ink); font-weight: 500; }
.cs-opt[aria-selected="true"]::after { content: ''; width: 14px; height: 14px; flex: none; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.cal { width: 300px; padding: 12px; max-height: none; }
.cal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-h b { font-weight: 600; font-size: 14.5px; }
.cal-nav { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 18px; line-height: 1; color: var(--ink); }
.cal-nav:hover:not(:disabled) { background: var(--band); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-g i { font-style: normal; font-size: 11px; color: var(--muted); text-align: center; padding: 4px 0 6px; }
.cal-g button { height: 36px; border: 0; border-radius: 9px; background: none; font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.cal-g button:hover:not(:disabled) { background: var(--band); }
.cal-g button.today { box-shadow: inset 0 0 0 1px var(--line-2); }
.cal-g button.sel { background: var(--ink); color: #fff; }
.cal-g button:disabled { color: #c9c4bc; cursor: default; }
.cal-g button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (max-width: 720px) {
  .cs-pop { max-width: calc(100vw - 32px); }
  .cal { width: min(300px, calc(100vw - 32px)); }
}
.cs-pop { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
@media (min-height: 760px) { .dlg { overflow: visible; } }
.logo { gap: 9px; }
@media (max-width: 720px) { .logo svg { height: 28px; } .logo-t b { font-size: 14.5px; } .logo-t small { font-size: 7.5px; margin-top: 4px; } }
