/* Naftalan booking kit — shared design system for naftalan-sanatorium.com and naftalansanatoriy.com.
   Each site overrides the brand tokens in its own theme.css (loaded after this file). */
:root {
  --bg: #f3f1ec; --surface: #fff; --soft: #f8f7f3; --line: #e6e2da; --line-2: #d8d3c9;
  --ink: #17201c; --ink-2: #3b4440; --muted: #69726d;
  --brand: #1f5c49; --brand-2: #174a3a; --brand-ink: #fff; --brand-soft: #e5efe9; --brand-line: #c9ddd2;
  --gold: #b08a4e; --sale: #d63c3c; --star: #e2a72e; --ok: #23784f;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif; --serif: 'Literata', Georgia, serif;
  --r: 16px; --r-s: 10px; --wrap: 1240px; --gut: 24px; --hdr: 70px;
  --sh: 0 1px 2px rgba(23,32,28,.05), 0 6px 20px -10px rgba(23,32,28,.14);
  --sh-lg: 0 20px 50px -18px rgba(23,32,28,.32);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 64px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, .h2, .h3, .h4 { margin: 0 0 .5em; line-height: 1.18; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -.03em; }
h2, .h2 { font-size: clamp(25px, 2.8vw, 34px); }
h3, .h3 { font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.h4 { font-size: 15.5px; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.block { display: block; }
.sr, .hp { position: absolute !important; 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; }
.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; }
.lead { font-size: 17.5px; line-height: 1.6; color: var(--ink-2); max-width: 640px; }
.label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); margin-bottom: 12px; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .18s, color .18s, border-color .18s, box-shadow .18s; }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-xs { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-brand, .btn-dark { background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover, .btn-dark:hover { background: var(--brand-2); }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink-2); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-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: 600; font-size: 14.5px; text-decoration: none; color: var(--brand); }

/* header */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); 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: 22px; height: var(--hdr); }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex: none; }
.logo svg { height: 32px; width: auto; 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: 600 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: 9px; 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(--brand); }
.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% + 8px); left: -8px; min-width: 270px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; 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: -14px 0 auto; height: 14px; }
.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: 9px; font-size: 14.5px; text-decoration: none; color: var(--ink-2); }
.nav-sub a:hover, .nav-sub a[aria-current] { background: var(--brand-soft); color: var(--brand-2); }
.nav-sub-head a { font-weight: 650; color: var(--ink); }
.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: 8px; flex: none; }
.lang { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; font-weight: 650; text-decoration: none; color: var(--ink); }
.lang:hover { border-color: var(--line-2); }
.hdr-mail { font-size: 13.5px; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; }
.hdr-mail:hover { color: var(--ink); }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; 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(23,32,28,.42); animation: fade .2s; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 92vw); background: var(--surface); 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: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-ul { list-style: none; margin: 0; padding: 6px 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: 600; 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 12px; padding: 0; }
.drawer-ul ul a { display: block; padding: 8px 12px; font-size: 15px; color: var(--ink-2); text-decoration: none; border-radius: 9px; }
.drawer-ul ul a:hover { background: var(--soft); }
.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 */
.hero { padding: 40px 0 0; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 16px; }
.hero .lead { margin-bottom: 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.pill:hover { border-color: var(--brand); color: var(--brand); }
.pill.on, .pill[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.pill span { font-weight: 400; opacity: .75; }
.hero-media { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10.5; background: var(--line); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* search bar */
.search { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr auto; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: var(--sh); margin: 30px 0 0; position: relative; z-index: 5; }
.search .fd { display: flex; flex-direction: column; justify-content: center; padding: 6px 16px; border-right: 1px solid var(--line); min-width: 0; position: relative; border-radius: 12px; transition: background .15s; }
.search .fd:nth-last-child(2) { border-right: 0; }
.search .fd:focus-within, .search .fd:hover { background: var(--soft); }
.fd > span { font-size: 12px; color: var(--muted); font-weight: 500; }
.search .btn { height: auto; min-height: 56px; padding: 0 34px; border-radius: 13px; font-size: 15.5px; }
.search-wrap { padding-bottom: 8px; }

/* sections */
.band { padding: 64px 0; }
.band-alt { background: var(--surface); }
.band-s { padding: 36px 0 8px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.sec-head h2 { margin-bottom: 6px; }
.sec-head p { margin: 0; max-width: 640px; color: var(--muted); }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; }

/* sanatorium cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards > [hidden], .scard[hidden] { display: none !important; }
.scard { display: flex; flex-direction: column; 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; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); margin: 6px 6px 0; border-radius: 12px; }
.scard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.scard:hover .scard-img img { transform: scale(1.04); }
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 650; padding: 4px 9px; border-radius: 8px; line-height: 1.2; }
.badge-pick { background: var(--brand); color: #fff; }
.badge-sale { background: var(--sale); color: #fff; }
.scard-b { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip-s { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 7px; background: var(--brand-soft); color: var(--brand-2); border: 1px solid var(--brand-line); }
.chip-s.gold { background: #fbf4e6; color: #8a6630; border-color: #efdfbf; }
.scard h3 { font-size: 18.5px; margin: 0 0 4px; }
.scard h3 a { text-decoration: none; }
.scard h3 a::after { content: ''; position: absolute; inset: 0; }
.scard { position: relative; }
.loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; margin: 0; }
.scard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.price { line-height: 1.15; font-size: 13px; color: var(--muted); }
.price s { display: block; color: var(--sale); font-size: 12.5px; }
.price b { color: var(--brand); font-size: 19px; font-weight: 750; letter-spacing: -.01em; }
.price .total { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }
.scard-foot .btn { position: relative; z-index: 1; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tiles-2 { grid-template-columns: repeat(2, 1fr); margin: 0 0 32px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; 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(--brand-line); box-shadow: var(--sh); }
.tile-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 20px; margin-bottom: 6px; }
.tile h3 { font-size: 16.5px; margin: 0; }
.tile p { font-size: 14px; color: var(--muted); margin: 0; }
.tile-go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--brand); }
.tile-sm { flex-direction: row; justify-content: space-between; align-items: center; padding: 16px 18px; }
.tile-sm .tile-go { margin: 0; padding: 0; }

/* features (why us) */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.feat h3 { font-size: 16.5px; margin: 10px 0 6px; }
.feat p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* 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-price { margin-top: auto; padding-top: 6px; font-size: 13.5px; color: var(--muted); }

/* price summary table (SEO block) */
.tbl-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin: 8px 0 10px; }
.tbl, .prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 0; }
.tbl th, .tbl td, .prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl thead th, .prose thead th { font-size: 12px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; background: var(--soft); border-bottom: 1px solid var(--line); }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody th { font-weight: 600; }
.tbl th a { text-decoration: none; color: var(--brand-2); }
.tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.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); }

/* steps */
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 14px; }
.steps h3 { margin: 12px 0 6px; 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(--brand); color: #e7f0eb; border-radius: 22px; padding: 38px 42px; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { margin: 0; max-width: 580px; opacity: .85; }

/* page head + layouts */
.page-head { padding: 26px 0 30px; }
.page-head h1 { margin: 0 0 12px; max-width: 920px; font-size: clamp(30px, 3.8vw, 44px); }
.page-head .lead { margin: 0; }
.page-head-c { text-align: center; }
.page-head-c .lead, .page-head-c h1 { margin-left: auto; margin-right: auto; }
.page-head-c .crumbs ol { justify-content: center; }
.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 14px; 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(--brand); }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); text-decoration: none; margin-bottom: 14px; }
.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; padding-bottom: 72px; }
.layout .content { max-width: 800px; }
.layout-wide .content { max-width: none; }
.layout-r { grid-template-columns: minmax(0, 1fr) 360px; }
.layout-r .content { max-width: none; }
.aside-in { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 30px; }
.panel + .panel { margin-top: 18px; }
.side-nav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; font-size: 14.5px; }
.side-h { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 650; margin: 2px 8px 8px; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: block; padding: 7px 10px; border-radius: 9px; text-decoration: none; color: var(--ink-2); }
.side-nav a:hover { background: var(--soft); }
.side-nav a[aria-current] { background: var(--brand-soft); color: var(--brand-2); font-weight: 600; }
.book-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.book-card .muted { margin: 0 0 12px; }

/* toc */
.toc { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 26px; background: var(--soft); }
.toc-h { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 650; 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(--brand); }

/* prose */
.prose { font-size: 16.5px; line-height: 1.72; color: var(--ink-2); }
.prose .sec { margin-bottom: 38px; }
.prose h2 { margin: 0 0 14px; }
.prose h3 { margin: 26px 0 8px; font-size: 18.5px; }
.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(--brand); }
.prose a { color: var(--brand); text-decoration-color: var(--brand-line); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose blockquote { margin: 20px 0; padding: 14px 20px; border-left: 3px solid var(--brand); background: var(--soft); border-radius: 0 12px 12px 0; font-size: 17px; color: var(--ink); }
.prose table { margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.wide-block { margin: 8px 0 28px; }

/* faq */
.faq { margin-top: 12px; }
.faq h2 { margin-bottom: 14px; }
.acc { display: grid; gap: 10px; }
.acc details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; cursor: pointer; font-weight: 600; 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 20px 18px; color: var(--ink-2); font-size: 15.5px; }
.acc-a p:last-child { margin: 0; }
.faq-wrap { max-width: 900px; }

/* listing */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0 20px; }
.toolbar .pills .pill { height: 36px; font-size: 13.5px; padding: 0 14px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort .fld { min-width: 190px; }
.result-note { font-size: 14px; color: var(--muted); margin: 0 0 14px; }

/* property page */
.prop-top { display: grid; grid-template-columns: 340px 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.prop-info { background: var(--brand-soft); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; }
.prop-info h1 { font-size: clamp(26px, 2.6vw, 32px); margin: 0 0 10px; color: var(--brand-2); }
.prop-info .loc { margin-bottom: 14px; }
.prop-price { margin-top: auto; padding-top: 18px; }
.prop-price small { display: block; font-size: 12.5px; color: var(--muted); }
.prop-price s { color: var(--sale); font-size: 13px; margin-right: 6px; }
.prop-price b { font-size: 24px; color: var(--ink); font-weight: 750; }
.prop-price .btn { margin-top: 14px; }
.offer-box { background: #fff; border: 1px solid var(--brand-line); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; margin-top: 12px; }
.offer-box b { display: block; color: var(--sale); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr auto; gap: 10px; min-width: 0; }
.gal-main { grid-column: 1 / -1; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 7.4; background: var(--line); border: 0; padding: 0; }
.gal-main img, .gal-th img { width: 100%; height: 100%; object-fit: cover; }
.gal-th { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; border: 2px solid transparent; padding: 0; background: var(--line); }
.gal-th.on { border-color: var(--brand); }
.gal-more { border-radius: 10px; aspect-ratio: 4 / 3; border: 1px solid var(--line); background: var(--soft); display: grid; place-items: center; align-content: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tabs { position: sticky; top: var(--hdr); z-index: 30; background: rgba(243,241,236,.95); backdrop-filter: blur(10px); margin: 0 0 16px; }
.tabs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs a { display: block; padding: 14px 14px; font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover, .tabs a.on { color: var(--brand); border-bottom-color: var(--brand); }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.fact { border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; background: var(--soft); }
.fact .ic { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 6px; }
.fact b { display: block; font-size: 14.5px; }
.fact span { font-size: 12.5px; color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: start; }
.goodfor { background: var(--brand-soft); border-radius: 14px; 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: 8px 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: 8px; }
.chips li { margin: 0; padding: 6px 12px; border-radius: 9px; background: var(--soft); 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: 12px; padding: 14px 16px; background: var(--soft); }
.proc h3 { font-size: 14px !important; margin: 0 0 6px !important; color: var(--brand) !important; }
.proc ul { margin: 0; padding-left: 18px; font-size: 14.5px; }
.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; }
.facts { display: grid; gap: 0; margin: 18px 0 0; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 650; color: var(--ink); font-size: 14.5px; }
.facts dd { margin: 0; font-size: 15px; }
.fact-offer dd { color: var(--sale); font-weight: 600; }
.map { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* rooms */
.rooms-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 8px; margin: 0 0 16px; }
.rooms-bar .fd { flex: 1 1 200px; padding: 4px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); position: relative; }
.rooms-bar .note { font-size: 13px; color: var(--muted); padding: 0 8px; }
.room { display: grid; grid-template-columns: 280px 1fr; gap: 20px; border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: var(--surface); }
.room + .room { margin-top: 14px; }
.room-img { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); position: relative; }
.room-img img { width: 100%; height: 100%; object-fit: cover; }
.room h3 { font-size: 19px; margin: 12px 0 6px; }
.room-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.room-meta span { display: inline-flex; align-items: center; gap: 5px; }
.room-feat { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.room-feat li { font-size: 12.5px; padding: 4px 9px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); }
.room-plan { border: 1px solid var(--line); border-radius: 14px; padding: 14px; align-self: start; }
.room-plan-h { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 650; margin-bottom: 10px; }
.room-plan-h span { font-weight: 400; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.plan { display: flex; flex-direction: column; gap: 12px; background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: 12px; padding: 14px 16px; }
.plan h4 { margin: 0 0 4px; font-size: 15px; }
.plan p { margin: 0; font-size: 13px; color: var(--ink-2); }
.plan-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--brand-line); padding-top: 12px; }
.plan-price { line-height: 1.2; }
.plan-price b { font-size: 21px; font-weight: 750; color: var(--ink); white-space: nowrap; }
.plan-price small { display: block; font-size: 12.5px; color: var(--muted); }

.plan-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

/* filters (chips) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.chip span { color: var(--muted); font-weight: 400; }
.chip[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.chip[aria-pressed="true"] span { color: rgba(255,255,255,.75); }

/* articles */
.acards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.acards-2 { grid-template-columns: repeat(2, 1fr); }
.acard { display: flex; flex-direction: column; gap: 8px; padding: 22px; 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-size: 18px; line-height: 1.3; margin: 0; }
.acard p { margin: 0; font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acard-meta { font-size: 12.5px !important; color: var(--brand) !important; font-weight: 600; }

/* 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: 14px; 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%); }
.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; }
.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; position: relative; }
.fld > span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; min-width: 0; height: 46px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--surface); padding: 0 12px; font: 400 15px var(--sans); color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none; }
.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(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.fld.bad input, .fld.bad textarea, .fld.bad .cs-btn { border-color: var(--sale); }
.form-compact .grid-f { gap: 10px; }
.form-compact .fld input, .form-compact .fld .cs-btn { height: 42px; 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: #eaf5ef; padding: 10px 12px; border-radius: var(--r-s); }
.form-msg.err { color: var(--sale); }
.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; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--star); }

/* custom select / date range */
.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: 600 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(--brand); }
.fld .cs-btn { height: 46px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--surface); font-weight: 400; }
.fld .cs-btn[aria-expanded="true"], .fld .cs-btn:focus-visible { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
.fd .cs-btn:focus-visible { outline: none; }
.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; scrollbar-width: thin; }
.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(--soft); color: var(--ink); }
.cs-opt[aria-selected="true"] { color: var(--brand-2); font-weight: 600; }
.cs-opt[aria-selected="true"]::after { content: '✓'; color: var(--brand); }
.cal { width: 316px; padding: 12px; max-height: none; }
.cal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-h b { font-weight: 650; font-size: 14.5px; }
.cal-nav { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line); background: #fff; font-size: 18px; line-height: 1; color: var(--ink); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }
.cal-g i { font-style: normal; font-size: 11px; color: var(--muted); text-align: center; padding: 4px 0 6px; }
.cal-g button { height: 38px; 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(--soft); }
.cal-g button.today { box-shadow: inset 0 0 0 1px var(--line-2); }
.cal-g button.in { background: var(--brand-soft); border-radius: 0; }
.cal-g button.sel, .cal-g button.s, .cal-g button.e { background: var(--brand); color: #fff; }
.cal-g button.s { border-radius: 9px 0 0 9px; }
.cal-g button.e { border-radius: 0 9px 9px 0; }
.cal-g button.s.e { border-radius: 9px; }
.cal-g button:disabled { color: #c9c4bc; cursor: default; }
.cal-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 13px; color: var(--muted); }
.cal-foot button { border: 0; background: none; color: var(--brand); font-weight: 600; font-size: 13px; }

/* dialog + lightbox */
.dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 0; border-radius: 20px; padding: 22px; background: var(--surface); color: var(--ink); box-shadow: var(--sh-lg); }
.dlg::backdrop { background: rgba(23,32,28,.5); }
.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-size: 24px; }
@media (min-height: 760px) { .dlg { overflow: visible; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.lb { width: min(1100px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 0; border-radius: 18px; padding: 12px; background: #111; }
.lb::backdrop { background: rgba(0,0,0,.8); }
.lb img { width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; border-radius: 10px; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; color: #ddd; padding: 8px 4px 0; font-size: 14px; }
.lb-bar button { background: rgba(255,255,255,.12); border: 0; color: #fff; width: 40px; height: 40px; border-radius: 10px; font-size: 20px; }

/* reviews */
.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); }
.rev-stars { color: var(--star); letter-spacing: 1px; }
.rev p { margin: 0; white-space: pre-line; }
.rev-empty { color: var(--muted); padding: 22px; border: 1px dashed var(--line-2); border-radius: var(--r); text-align: center; background: var(--surface); }

/* 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(--brand); font-size: 20px; margin-bottom: 8px; }
.ccard p { margin: 0; }
.ccard a { color: var(--brand); }

/* footer */
.ftr { background: var(--surface); border-top: 1px solid var(--line); color: var(--ink-2); padding: 56px 0 28px; font-size: 14px; }
.f-top { display: grid; grid-template-columns: 290px 1fr; gap: 48px; }
.f-brand p { margin: 14px 0; line-height: 1.6; color: var(--muted); }
.f-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; text-decoration: none; }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.f-h { color: var(--ink); font-weight: 700; 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; color: var(--muted); }
.f-col a:hover { color: var(--brand); }
.f-bot { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 24px; font-size: 12.5px; color: var(--muted); }
.f-bot p { margin: 0; max-width: 600px; }

/* 404 */
.nf { padding: 90px var(--gut); text-align: center; }
.nf-code { font-size: 96px; font-weight: 800; color: var(--brand); margin: 0 0 10px; line-height: 1; }
.nf .lead { margin: 0 auto 24px; }

/* responsive */
@media (max-width: 1180px) {
  .nav-top { padding: 8px 7px; font-size: 14px; }
  .hdr-mail { display: none; }
  .cards-4 { grid-template-columns: repeat(3, 1fr); }
  .offers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .nav { display: none; }
  .hdr-in { justify-content: space-between; }
  .burger { display: grid; }
  .hero-in { grid-template-columns: 1fr; gap: 26px; }
  .search { grid-template-columns: 1fr 1fr; }
  .search .fd:nth-child(2) { border-right: 0; }
  .search .fd:nth-child(3) { border-right: 1px solid var(--line); }
  .cards, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .layout, .layout-r { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .layout .aside { display: none; }
  .layout-r .aside { display: block; order: 2; margin-top: 16px; }
  .layout-r .aside-in { position: static; }
  .tiles, .feats, .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .about-grid { grid-template-columns: 1fr; gap: 16px; }
  .prop-top { grid-template-columns: 1fr; }
  .prop-info { order: 2; }
  .room { grid-template-columns: 260px 1fr; }
  .f-top { grid-template-columns: 1fr; gap: 32px; }
  .acards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --gut: 16px; --hdr: 62px; }
  body { font-size: 15.5px; }
  .hdr-r .btn-sm { display: none; }
  .logo svg { height: 28px; }
  .logo-t b { font-size: 14.5px; }
  .logo-t small { font-size: 7.5px; margin-top: 4px; }
  .hero { padding-top: 22px; }
  .search { grid-template-columns: 1fr; padding: 6px; }
  .search .fd { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 10px 12px; }
  .search .btn { margin-top: 6px; min-height: 50px; }
  .band { padding: 44px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cards, .cards-4, .cards-3 { grid-template-columns: 1fr; }
  .tiles, .tiles-2, .feats, .offers, .offers-2, .acards, .acards-2, .videos, .contact-cards, .steps { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .toc ol { columns: 1; }
  .prose { font-size: 16px; }
  .panel { padding: 20px 18px; }
  .grid-f { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .card-form { padding: 18px; }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .gal-th:nth-of-type(4) { display: none; }
  .gal-main { aspect-ratio: 4 / 3; }
  .room { grid-template-columns: 1fr; }
  .plan-row .btn { flex: 1 1 100%; }
  .procs, .ticks, .amen, .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .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; }
  .proc:has(li:nth-child(7)) ul { columns: 1; }
}
@media (max-width: 420px) { .amen, .ticks, .procs { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* spacing utilities (no inline styles: CSP) */
.mt-0{margin-top:0}.mt-12{margin-top:12px}.mt-14{margin-top:14px}.mt-18{margin-top:18px}.mt-40{margin-top:40px}.mb-12{margin-bottom:12px}.mb-28{margin-bottom:28px}.pt-0{padding-top:0}.pt-22{padding-top:22px}.pb-64{padding-bottom:64px}.pb-72{padding-bottom:72px}

/* ================= v2: modern hero, search, category bar, cards ================= */
/* hero: image card + overlapping search */
.hx { padding: 18px 0 0; }
.hx-card { position: relative; border-radius: 28px; overflow: hidden; min-height: clamp(440px, 58vh, 600px); display: flex; align-items: flex-end; background: #1b2420; isolation: isolate; }
.hx-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.02); }
.hx-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,14,12,.82) 0%, rgba(10,14,12,.6) 42%, rgba(10,14,12,.12) 78%), linear-gradient(0deg, rgba(10,14,12,.6) 0%, rgba(10,14,12,0) 45%); }
.hx-in { position: relative; padding: clamp(28px, 5vw, 64px) clamp(22px, 5vw, 64px) calc(clamp(28px, 4vw, 48px) + 64px); max-width: 760px; color: #fff; }
.hx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.hx h1 { color: #fff; font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 16px; text-wrap: balance; }
.hx h1 em, .hx h1 .gold { color: #e8c88d; font-style: normal; }
.hx-lead { font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.55; color: rgba(255,255,255,.86); max-width: 560px; margin: 0 0 22px; }
.hx-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.hx-tabs a { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.hx-tabs a:hover { background: #fff; color: var(--ink); }
.hx-tabs a span { opacity: .7; font-weight: 500; }
.hx-search { position: relative; z-index: 6; margin: -56px clamp(12px, 3vw, 40px) 0; }
.hx-search .search { margin: 0; }

/* search bar v2 */
.search { border-radius: 22px; padding: 8px; box-shadow: 0 18px 50px -20px rgba(23,32,28,.35), 0 2px 6px rgba(23,32,28,.06); border: 1px solid rgba(23,32,28,.06); gap: 4px; }
.search .fd { display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-content: center; padding: 10px 14px; border-right: 0; border-radius: 16px; }
.search .fd + .fd { box-shadow: -1px 0 0 var(--line); }
.search .fd:hover, .search .fd:focus-within { background: var(--soft); box-shadow: none; }
.search .fd:hover + .fd, .search .fd:focus-within + .fd { box-shadow: none; }
.fd-ic { grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 17px; }
.search .fd > span:not(.fd-ic) { grid-column: 2; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.search .fd .cs-btn { grid-column: 2; font-size: 15.5px; }
.search-go { min-height: 60px !important; border-radius: 16px !important; padding: 0 30px !important; gap: 10px; font-size: 16px !important; }
.search-go .i { font-size: 18px; }

/* category bar */
.catbar { padding: 34px 0 6px; }
.catbar ul { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.catbar ul::-webkit-scrollbar { display: none; }
.catbar li { flex: none; scroll-snap-align: start; }
.catbar a { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; transition: border-color .2s, box-shadow .2s, transform .2s; }
.catbar a:hover { border-color: var(--brand-line); box-shadow: var(--sh); transform: translateY(-1px); color: var(--brand-2); }
.cb-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 17px; }

/* cards v2: full-bleed media with slider */
.scard { border-radius: 20px; border-color: rgba(23,32,28,.07); box-shadow: 0 1px 2px rgba(23,32,28,.04); }
.scard:hover { box-shadow: 0 22px 50px -24px rgba(23,32,28,.35); transform: translateY(-3px); }
.scard-img { margin: 0; border-radius: 0; aspect-ratio: 4 / 3; }
.scard-img > a, .sl > a { display: block; width: 100%; height: 100%; }
.sl { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; position: relative; z-index: 2; }
.sl::-webkit-scrollbar { display: none; }
.sl > a { flex: 0 0 100%; scroll-snap-align: start; }
.sl img { width: 100%; height: 100%; object-fit: cover; }
.scard:hover .scard-img img { transform: none; }
.sl-btn { position: absolute; top: 50%; z-index: 3; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; font-size: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.15); opacity: 0; transition: opacity .2s; }
.sl-prev { left: 10px; } .sl-next { right: 10px; }
.scard:hover .sl-btn { opacity: 1; }
.sl-btn[disabled] { opacity: 0 !important; }
.sl-dots { position: absolute; bottom: 10px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.sl-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); transition: width .2s, background .2s; }
.sl-dots i.on { width: 16px; border-radius: 3px; background: #fff; }
.badges { z-index: 3; }
.scard-tier { position: absolute; right: 10px; top: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); font-size: 12px; font-weight: 700; color: var(--brand-2); }
.scard-b { padding: 16px 18px 18px; }
.scard h3, .scard h2 { font-size: 19px; letter-spacing: -.015em; margin: 0 0 4px; }
.amen-ic { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; padding: 0; }
.amen-ic li { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ink-2); }
.amen-ic .i { color: var(--brand); font-size: 15px; }
.scard-foot { margin-top: auto; }
.amen-ic { margin-bottom: 16px; }
.scard .loc { margin-bottom: 16px; }
.scard .loc + .amen-ic { margin-top: -6px; }

/* metrics strip (replaces dark stat tiles) */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.metric { padding: 22px 24px; border-left: 1px solid var(--line); }
.metric:first-child { border-left: 0; }
.metric b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.metric b small { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 3px; }
.metric span { font-size: 13.5px; color: var(--muted); }

@media (max-width: 1024px) {
  .hx-search { margin: -48px 12px 0; }
  .search .fd:nth-child(3) { box-shadow: none; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .hx { padding-top: 10px; }
  .hx .wrap { padding: 0 10px; }
  .hx-card { border-radius: 22px; min-height: 520px; }
  .hx-card::after { background: linear-gradient(0deg, rgba(10,14,12,.85) 0%, rgba(10,14,12,.35) 60%, rgba(10,14,12,.15) 100%); }
  .hx-in { padding: 24px 20px 92px; }
  .hx-tabs a { height: 36px; padding: 0 12px; font-size: 13px; }
  .hx-search { margin: -72px 6px 0; }
  .search .fd { padding: 10px; box-shadow: none !important; border-bottom: 1px solid var(--line); border-radius: 12px; }
  .search-go { min-height: 54px !important; }
  .sl-btn { display: none; }
  .catbar { padding-top: 24px; }
}
.lead-xl { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; color: var(--ink); font-weight: 500; letter-spacing: -.01em; max-width: none; }
.lead-xl em { font-style: normal; color: var(--brand); }

/* category bar: wrap on desktop, scroll with fade on mobile */
.catbar ul { flex-wrap: wrap; overflow: visible; }
@media (max-width: 720px) {
  .catbar ul { flex-wrap: nowrap; overflow-x: auto; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 28px; }
}

/* testimonial cards */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcard { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.tcard blockquote { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); position: relative; padding-top: 26px; }
.tcard blockquote::before { content: "“"; position: absolute; top: -14px; left: -2px; font: 700 56px/1 var(--serif); color: var(--brand-line); }
.tcard figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.tc-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); font-weight: 700; font-size: 14px; flex: none; }
.tcard figcaption b { display: block; font-size: 15px; }
.tcard figcaption small { display: block; font-size: 12px; color: var(--muted); }
@media (max-width: 1024px) { .tcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .tcards { grid-template-columns: 1fr; } }
