:root {
  --bg: #faf6ef;
  --paper: #ffffff;
  --ink: #2a1f17;
  --muted: #7a6a5c;
  --line: #e8dfd2;
  --dark: #1f1712;
  --dark-2: #2b211a;
  --gold: #b8915a;
  --gold-2: #d8b98a;
  --wa: #1fa855;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.h3 { font-size: 1.6rem; margin-top: 1.4em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: 1.15rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.4em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s; white-space: nowrap; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--wa); color: #fff; }
.btn-primary:hover { background: #18914a; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.hero .btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-outline { border-color: var(--gold); color: var(--ink); }
.btn-outline:hover { background: var(--gold); color: #fff; }
.btn-sm { padding: .6em 1.1em; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0; }
.link { color: var(--gold); font-weight: 600; text-decoration: none; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(31,23,18,.96); color: #fff; backdrop-filter: blur(6px); }
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo-main { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-2); }
.logo-sub { font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; opacity: .8; margin-top: 3px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; opacity: .88; font-size: .95rem; }
.nav a:hover { opacity: 1; color: var(--gold-2); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { text-decoration: none; font-weight: 600; font-size: .95rem; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; margin: 6px 0; }

/* hero */
.hero { position: relative; color: #fff; background: var(--dark); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,23,18,.92) 0%, rgba(31,23,18,.55) 60%, rgba(31,23,18,.2) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 96px 20px 72px; max-width: 1180px; }
.hero h1 { max-width: 700px; }
.hero-text { max-width: 560px; font-size: 1.12rem; opacity: .92; }
.eyebrow { color: var(--gold-2); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; }
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.15); border-radius: var(--radius); overflow: hidden; max-width: 860px; }
.facts li { background: rgba(31,23,18,.75); padding: 16px 18px; display: flex; flex-direction: column; }
.facts strong { font-family: var(--sans); font-weight: 600; font-size: 1.15rem; color: var(--gold-2); }
.facts span { font-size: .85rem; opacity: .8; }

/* promos */
.promos { background: var(--gold); color: #fff; }
.promos-row { display: flex; flex-wrap: wrap; gap: 12px 40px; padding-top: 18px; padding-bottom: 18px; align-items: baseline; }
.promo { display: flex; flex-direction: column; }
.promo strong { font-size: 1.05rem; }
.promo span { font-size: .9rem; opacity: .95; }
.promo-note { margin: 0 0 0 auto; font-size: .82rem; opacity: .85; }

/* sections */
.section { padding: 72px 0; }
.section-dark { background: var(--dark); color: #fff; }
.section-dark .muted { color: #bfae9b; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head .h2 { margin: 0; }
.page-head { padding: 56px 0 8px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 30px rgba(42,31,23,.12); transform: translateY(-2px); }
.card-img { aspect-ratio: 16/9; object-fit: cover; width: 100%; height: auto; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.5rem; margin-bottom: .3em; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.price { font-weight: 700; color: var(--gold); }
.more { font-size: .9rem; color: var(--muted); }

.spa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.spa-card { background: var(--dark-2); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 42% 1fr; }
.spa-img { width: 100%; height: 100%; object-fit: cover; }
.spa-body { padding: 22px; }
.spa-body h3 { font-size: 1.5rem; }
.spa-body h3 a { text-decoration: none; }
.spa-meta { color: #d9c9b6; }
.spa-meta .price { color: var(--gold-2); }
.section-dark .btn-outline { color: #fff; }

.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { padding-left: 1.5em; position: relative; margin: .35em 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .6em; height: .6em; border-radius: 50%; background: var(--gold); }

/* masters */
.masters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.master { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.master-img { aspect-ratio: 17/20; object-fit: cover; width: 100%; height: auto; }
.master-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.master-body h3 { font-size: 1.5rem; margin: 0; }
.master-body .btn { margin-top: auto; align-self: flex-start; }
.tags { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .78rem; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }

/* comfort */
.comfort { background: #f2ebe0; }
.comfort-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.comfort-main { border-radius: var(--radius); max-height: 640px; width: 100%; object-fit: cover; }
.comfort-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.comfort-thumbs img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* contacts */
.contacts-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.map { min-height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.route-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.route-links a { color: var(--gold); font-weight: 600; }

/* program page */
.program-hero { padding: 40px 0 0; }
.program-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
.program-img { border-radius: var(--radius); width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.crumbs { font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 20px; }
.price-row { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row .dots { flex: 1; }
.price-row strong { white-space: nowrap; }
.note { background: #f2ebe0; border-left: 3px solid var(--gold); padding: 12px 16px; border-radius: 6px; }
.prose p { font-size: 1.08rem; }

/* price list */
.price-group { margin-bottom: 48px; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.price-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.price-block h3 { font-size: 1.35rem; }
.price-block h3 a { text-decoration: none; }
.price-block h3 a:hover { color: var(--gold); }

/* blog */
.post-list { display: flex; flex-direction: column; gap: 14px; }
.post-item { display: block; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.post-item:hover { border-color: var(--gold); }
.post-item h2 { font-size: 1.5rem; margin: .2em 0 .3em; }
.post-item p { margin: 0; }
.post h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.post .prose h2 { font-size: 1.7rem; margin-top: 1.4em; }
.post .prose h3 { font-size: 1.35rem; margin-top: 1.2em; }
.post .prose a { color: var(--gold); }
.post .prose li { margin: .3em 0; }
.post-cta { margin-top: 40px; padding: 24px; background: #f2ebe0; border-radius: var(--radius); }
.post-cta .h3 { margin-top: 0; }

/* footer */
.site-footer { background: var(--dark); color: #e9dfd3; padding: 56px 0 24px; }
.site-footer .muted { color: #a8988a; }
.site-footer h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-2); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

.mobile-bar { display: none; }

@media (max-width: 1000px) {
  .header-phone { display: none; }
  .cards, .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spa-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--dark); flex-direction: column; gap: 0; padding: 8px 20px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .header-cta .btn { display: none; }
  .header-cta { margin-left: auto; }
  .hero-inner { padding: 64px 20px 48px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comfort-grid, .contacts-grid, .program-grid { grid-template-columns: 1fr; }
  .comfort-main { max-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .promo-note { margin-left: 0; }
  body { padding-bottom: 76px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(250,246,239,.97); border-top: 1px solid var(--line); }
  .section { padding: 52px 0; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .wrap.hero-inner { padding: 48px 16px 40px; }
  .cards, .price-grid, .masters { grid-template-columns: 1fr; }
  .masters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .master-body { padding: 12px; }
  .master-body .small:not(.muted) { display: none; }
  .tags { display: none; }
  .master-body .btn { font-size: .8rem; padding: .55em .8em; white-space: normal; text-align: center; }
  .spa-card { grid-template-columns: 1fr; }
  .spa-img { aspect-ratio: 16/9; height: auto; }
  .btn-row .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
