/* ===================== Tokens ===================== */
/* Палитра и форма — по референсу savoywellness.ru: чёрный/белый + тёплое золото,
   острые края у карточек/фото, полностью скруглённые pill-кнопки. */
:root {
    --ink: #0d0d0e;
    --ink-soft: #1c1c1e;
    --paper: #ffffff;
    --gold: #c9a86a;
    --gold-soft: #e2c9a1;
    --gold-pale: #f4ead9;
    --sale: #e9033a;
    --muted: #726d64;
    --bg: #ffffff;
    --bg-alt: #f6f3ee;
    --border: #e6e1d6;
    --radius: 3px;
    --radius-lg: 4px;
    --pill: 999px;
    --shadow: 0 18px 40px rgba(13, 13, 14, .08);
    --shadow-lg: 0 30px 70px rgba(13, 13, 14, .22);
    --font-display: "Unbounded", ui-sans-serif, system-ui, sans-serif;
    --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
    margin: 0 0 .5em;
    line-height: 1.16;
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: -.01em;
}
p { margin: 0 0 1em; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ===================== Buttons — pill, uppercase, tracked ===================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 15px 30px; border-radius: var(--pill); font-weight: 600; font-size: 12.5px;
    font-family: var(--font-body); text-transform: uppercase; letter-spacing: .06em;
    border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--ink); color: #fff; }
.btn--accent:hover { background: var(--gold); color: var(--ink); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--gold); color: var(--ink); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--outline-dark { background: transparent; border-color: rgba(13,13,14,.25); color: var(--ink); }
.btn--outline-dark:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--sm { padding: 11px 22px; font-size: 11.5px; }
.btn--block { width: 100%; }

/* ===================== Header ===================== */
.topbar {
    background: var(--ink); color: rgba(255,255,255,.6); font-size: 12.5px;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar .tb-phones { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar .tb-phones span { opacity: .65; margin-right: 4px; }

.site-header { position: sticky; top: 0; z-index: 500; background: var(--ink); }
.header-main { padding: 20px 0; }
.header-main .container { display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; font-family: var(--font-display); color: #fff; flex-shrink: 0; }
.logo-mark {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    background: radial-gradient(circle at 32% 28%, var(--gold-soft), var(--gold) 65%, #8a6f3f);
}
.logo small { display: block; font-weight: 400; font-family: var(--font-body); font-size: 10.5px; color: rgba(255,255,255,.5); letter-spacing: .03em; text-transform: uppercase; margin-top: 2px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header-phone { text-align: right; }
.header-phone a { font-weight: 600; font-size: 15px; color: #fff; white-space: nowrap; }
.header-phone small { display: block; color: rgba(255,255,255,.45); font-size: 10.5px; margin-top: 2px; text-transform: uppercase; letter-spacing: .04em; }
.header-actions .btn--accent { background: #fff; color: var(--ink); }
.header-actions .btn--accent:hover { background: var(--gold); color: var(--ink); }

.main-nav { border-top: 1px solid rgba(255,255,255,.1); }
.main-nav .container { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.main-nav .container::-webkit-scrollbar { display: none; }
.nav-link {
    padding: 13px 15px; font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
    color: rgba(255,255,255,.68); border-bottom: 2px solid transparent; flex-shrink: 0;
}
.nav-link:hover, .nav-link.is-active { color: #fff; border-color: var(--gold); }

.burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; align-items: center; justify-content: center; flex-shrink: 0; }
.mobile-nav { display: none; flex-direction: column; padding: 6px 0 16px; border-top: 1px solid rgba(255,255,255,.1); background: var(--ink); }
.mobile-nav a { padding: 13px 4px; font-weight: 500; text-transform: uppercase; font-size: 12.5px; letter-spacing: .03em; color: rgba(255,255,255,.75); border-bottom: 1px solid rgba(255,255,255,.08); }

@media (max-width: 880px) {
    .main-nav { display: none; }
    .burger { display: inline-flex; }
    .topbar { display: none; }
    .header-phone { display: none; }
    .mobile-nav.is-open { display: flex; }
}

@media (max-width: 480px) {
    .header-main { padding: 14px 0; }
    .header-main .container { gap: 10px; }
    .logo { font-size: 14px; gap: 8px; }
    .logo-mark { width: 30px; height: 30px; }
    .logo small { display: none; }
    .header-actions { gap: 8px; }
    .header-actions .btn--accent { padding: 9px 14px; font-size: 10.5px; }
    .burger { width: 36px; height: 36px; flex-shrink: 0; }
}

/* ===================== Hero ===================== */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(60% 90% at 82% 8%, rgba(201,168,106,.22), transparent 60%),
        radial-gradient(50% 60% at 6% 100%, rgba(201,168,106,.12), transparent 60%),
        linear-gradient(160deg, #050506 0%, var(--ink) 55%, #17130a 100%);
    padding: 84px 0 104px;
}
.hero::before {
    content: ""; position: absolute; right: -10%; top: -20%; width: 620px; height: 620px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.08); pointer-events: none;
}
.hero::after {
    content: ""; position: absolute; right: 4%; top: 8%; width: 380px; height: 380px; border-radius: 50%;
    border: 1px solid rgba(201,168,106,.18); pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 700px; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 4px 8px 0;
    font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 22px; font-weight: 600; }
.hero p.lead { font-size: 17px; opacity: .78; max-width: 540px; font-family: var(--font-body); }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-actions .btn--accent { background: #fff; color: var(--ink); }
.hero-actions .btn--accent:hover { background: var(--gold); color: var(--ink); }
.hero-points { display: flex; gap: 30px; margin-top: 52px; flex-wrap: wrap; }
.hero-point { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; opacity: .8; }
.hero-point .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ===================== Sections ===================== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 44px; flex-wrap: wrap; }
.section-kicker {
    color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
    margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px;
}
.section-kicker::before { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.section-title { font-size: clamp(26px, 3.2vw, 38px); margin: 0; }
.section-desc { color: var(--muted); max-width: 640px; margin-top: 12px; font-size: 15.5px; }

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ===================== Cards — sharp edges, thin border ===================== */
.card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card-media { aspect-ratio: 4/3; background: var(--bg-alt) center/cover no-repeat; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.card-body { padding: 26px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-title { font-size: 18px; font-weight: 600; font-family: var(--font-display); letter-spacing: -.005em; }
.card-text { color: var(--muted); font-size: 14.5px; flex: 1; }
.card-price { font-weight: 700; color: var(--ink); font-size: 14.5px; font-family: var(--font-display); }
.card-foot { padding: 0 26px 26px; }
.badge {
    display: inline-flex; align-items: center; padding: 5px 13px; border-radius: var(--pill);
    background: var(--gold-pale); color: #8a6a30; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.badge--accent { background: var(--sale); color: #fff; }

/* ===================== Icon placeholder media ===================== */
.media-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); }
.media-fallback svg { width: 34%; height: 34%; opacity: .45; color: var(--gold); }

/* ===================== Numbered steps (визитка формата "01 / 02 / 03") ===================== */
.steps {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.step { padding: 34px 28px; border-left: 1px solid var(--border); }
.step:nth-child(4n+1) { border-left: none; }
.step-num { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: .04em; margin-bottom: 14px; display: block; }
.step h4 { font-size: 16.5px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 880px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step { border-left: 1px solid var(--border); }
    .step:nth-child(2n+1) { border-left: none; }
}
@media (max-width: 560px) {
    .steps { grid-template-columns: 1fr; }
    .step { border-left: none; border-top: 1px solid var(--border); padding: 26px 4px; }
    .step:first-child { border-top: none; }
}

/* ===================== Price table ===================== */
.price-group { margin-bottom: 50px; }
.price-group h3 { font-size: 21px; color: var(--ink); border-bottom: 1px solid var(--border); padding-bottom: 14px; margin-bottom: 6px; }
.price-row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px dashed var(--border); }
.price-row:last-child { border-bottom: none; }
.price-row .pr-name a { font-weight: 600; }
.price-row .pr-name a:hover { color: var(--gold-dark, #8a6a30); }
.price-row .pr-name small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.price-row .pr-price { font-weight: 700; white-space: nowrap; color: var(--ink); font-family: var(--font-display); font-size: 14px; }

/* ===================== Reviews ===================== */
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.review-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; font-size: 14px; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--gold-soft); display: flex; align-items: center; justify-content: center; font-weight: 600; font-family: var(--font-display); font-size: 13px; }

/* ===================== Location list ===================== */
.location-item { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; margin-bottom: 14px; }
.location-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--gold-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.location-item h4 { margin: 0 0 4px; font-size: 16px; font-family: var(--font-display); }
.location-item .loc-meta { color: var(--muted); font-size: 14px; }
.location-item .loc-meta a { color: var(--ink); font-weight: 600; }

/* ===================== CTA band ===================== */
.cta-band {
    background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 52px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    position: relative; overflow: hidden;
}
.cta-band::after {
    content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
    border: 1px solid rgba(201,168,106,.25);
}
.cta-band h2 { margin: 0 0 8px; font-size: 27px; position: relative; }
.cta-band p { margin: 0; opacity: .7; position: relative; max-width: 460px; }
.cta-band .btn { position: relative; }

/* ===================== Contact people ===================== */
.contact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 640px) { .contact-list { grid-template-columns: 1fr; } }
.contact-chip { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.contact-chip .cc-name { font-weight: 600; font-family: var(--font-display); font-size: 14.5px; }
.contact-chip .cc-role { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em; margin-top: 2px; }
.contact-chip .cc-phone { font-weight: 600; color: var(--ink); font-size: 14.5px; }

/* ===================== Prose (rich text content) ===================== */
.prose { font-size: 16px; color: var(--ink); }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.4em; }
.prose ul { padding-left: 22px; }
.prose img { border-radius: var(--radius); margin: 20px 0; }

/* ===================== Breadcrumb / page header ===================== */
.page-hero { background: var(--ink); color: #fff; padding: 56px 0; }
.page-hero h1 { font-size: clamp(26px, 3.2vw, 36px); margin: 0; }
.crumbs { font-size: 12.5px; color: rgba(255,255,255,.5); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .04em; }
.crumbs a:hover { color: var(--gold-soft); }

/* ===================== Footer ===================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.55); padding: 70px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 12.5px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-body); font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-brand p { font-size: 14px; opacity: .75; margin-top: 14px; max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 12.5px; opacity: .55; gap: 12px; flex-wrap: wrap; }

/* ===================== Modal ===================== */
.modal-overlay { position: fixed; inset: 0; background: rgba(13,13,14,.7); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-box { background: #fff; border-radius: var(--radius-lg); padding: 38px 34px; width: 100%; max-width: 440px; position: relative; box-shadow: var(--shadow-lg); }
.modal-box h3 { font-family: var(--font-display); }
.modal-close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--muted); }
.field { margin-bottom: 14px; }
.field input, .field textarea, .field select {
    width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 15px; font-family: var(--font-body);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ===================== Alerts ===================== */
.alert { padding: 12px 20px; font-size: 14px; }
.alert--success { background: #e7f6ee; border-left: 3px solid #1f9d55; color: #145c30; }
.alert--error { background: #fdecec; border-left: 3px solid #e11d2a; color: #7a0f18; }

/* ===================== Pagination ===================== */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 34px; }
.pagination span, .pagination a { padding: 9px 14px; border-radius: var(--pill); border: 1px solid var(--border); font-size: 13px; font-weight: 600; }
.pagination a:hover { border-color: var(--ink); }

/* ===================== Empty state ===================== */
.empty-state { text-align: center; padding: 64px 20px; color: var(--muted); }

[x-cloak] { display: none !important; }
