:root {
  --ink: #0d0c0b;
  --ink-2: #131110;
  --ink-3: #1a1715;
  --line: #2a2522;
  --line-soft: #211d1a;
  --paper: #f2ebe1;
  --paper-dim: #b7ada0;
  --paper-mute: #837a70;
  --gold: #c9a45c;
  --gold-bright: #e2c07f;
  --gold-dim: #8a723f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius: 2px;
  --wrap: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: .35;
  background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 3px 3px;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: #17130c; }
.btn--gold:hover { background: var(--gold-bright); }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold-dim); color: var(--gold-bright); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 11px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(70% 60% at 50% 0%, #1b1611, transparent 70%), var(--ink);
}
.gate[hidden] { display: none; }
.gate__box {
  max-width: 480px;
  width: 100%;
  padding: 48px 40px 36px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  text-align: center;
}
.gate__mark {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .32em;
  color: var(--gold);
  margin-bottom: 26px;
}
.gate h1 { font-size: 30px; margin-bottom: 14px; }
.gate__text { color: var(--paper-dim); font-size: 14px; margin: 0 0 28px; }
.gate__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.gate__actions .btn { flex: 1 1 160px; }
.gate__fine { margin: 26px 0 0; font-size: 11px; color: var(--paper-mute); }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 12, 11, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.1; }
.logo__mark { font-family: var(--serif); font-size: 24px; letter-spacing: .3em; margin-right: -.3em; color: var(--paper); }
.logo__sub { font-size: 9px; letter-spacing: .26em; margin-right: -.26em; text-transform: uppercase; color: var(--paper-mute); margin-top: 4px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { font-size: 13px; color: var(--paper-dim); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .3s var(--ease); }
.nav a:hover { color: var(--paper); }
.nav a:hover::after { right: 0; }
.header__aside { display: flex; align-items: center; gap: 18px; }
.header__contact { font-size: 13px; color: var(--paper-dim); letter-spacing: .03em; }
.header__contact:hover { color: var(--gold); }
.lang select {
  height: 34px;
  padding: 0 22px 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--paper-dim);
  font-size: 11px;
  letter-spacing: .12em;
  appearance: none;
  cursor: pointer;
}
.burger { display: none; }

.hero { max-width: var(--wrap); margin: 0 auto; padding: 96px 28px 72px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.hero__title { font-size: clamp(44px, 6.2vw, 84px); line-height: .98; margin-bottom: 36px; }
.hero__title em { font-style: italic; color: var(--gold-bright); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 54px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.stats div { min-width: 0; display: flex; flex-direction: column; }
.stats dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-mute); }
.stats dd { font-family: var(--serif); font-size: 28px; margin: 0 0 6px; line-height: 1; }
.hero__panel { position: relative; height: 480px; }
.hero__card {
  position: absolute;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #17130f, #0b0a09 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  overflow: hidden;
}
.hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 60% at 20% 0%, rgba(201, 164, 92, .16), transparent 65%);
}
.hero__card--a { width: 62%; height: 62%; top: 0; left: 0; z-index: 2; }
.hero__card--b {
  width: 48%;
  height: 52%;
  bottom: 8%;
  right: 0;
  z-index: 3;
  border-color: var(--gold-dim);
  justify-content: flex-end;
  align-items: center;
  text-align: center;
}
.hero__card--b .hero__word { position: static; font-size: clamp(15px, 1.55vw, 21px); }
.hero__card--b .hero__num { position: relative; margin-bottom: 2px; }
.hero__card--c { width: 34%; height: 32%; bottom: 0; left: 14%; z-index: 1; opacity: .55; }
.hero__num { position: relative; font-family: var(--serif); font-size: 13px; color: var(--gold); letter-spacing: .2em; }
.hero__word { position: relative; font-family: var(--serif); font-size: clamp(18px, 2vw, 26px); color: var(--paper); }

.view { animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.catalog, .services, .how, .contacts { max-width: var(--wrap); margin: 0 auto; padding: 84px 28px; border-top: 1px solid var(--line-soft); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); }
.section-head__note { max-width: 420px; margin: 0; color: var(--paper-mute); font-size: 13px; line-height: 1.7; }

.filters__row { display: grid; grid-template-columns: minmax(180px, 1.4fr) repeat(4, minmax(120px, 1fr)) auto; gap: 12px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field__label { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-mute); }
.field input, .field select, .field textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
}
.field textarea { height: auto; min-height: 94px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-dim); }
.btn--reset { height: 46px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--paper-dim);
  font-size: 12px;
  cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #17130c; }
.results { margin: 22px 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-mute); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 22px; }
.card { border: 1px solid var(--line-soft); background: var(--ink-2); display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
.card:hover { border-color: var(--gold-dim); transform: translateY(-3px); }
.card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background: radial-gradient(120% 80% at 50% -10%, hsl(var(--hue) 46% 26%), transparent 62%), linear-gradient(165deg, hsl(var(--hue) 26% 15%), #0a0908 72%);
  overflow: hidden;
}
.card__initial { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 128px; color: hsl(var(--hue) 55% 82% / .17); }
.card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; height: 24px; display: inline-flex; align-items: center; padding: 0 9px; background: rgba(13, 12, 11, .78); border: 1px solid var(--gold-dim); color: var(--gold-bright); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.card__price { position: absolute; bottom: 12px; left: 12px; z-index: 2; font-family: var(--serif); font-size: 17px; }
.card__price small { font-family: var(--sans); font-size: 11px; color: var(--paper-dim); }
.card__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 22px; }
.card__title span { color: var(--paper-dim); font-family: var(--sans); font-size: 14px; }
.card__meta { margin: 0; font-size: 12px; letter-spacing: .05em; color: var(--paper-mute); text-transform: uppercase; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tag { font-size: 11px; color: var(--paper-dim); border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; }
.card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; }
.rating b { color: var(--gold-bright); }
.empty { padding: 64px 0; text-align: center; }
.empty__title { font-family: var(--serif); font-size: 26px; }

.services__grid, .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.service, .steps li { border: 1px solid var(--line-soft); padding: 28px 24px; list-style: none; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { border: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
.steps__num, .service__price { color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.service p, .steps p { color: var(--paper-dim); font-size: 14px; }
.how__note { margin: 34px 0 0; padding-top: 20px; border-top: 1px solid var(--line-soft); color: var(--paper-mute); font-size: 13px; max-width: 640px; }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contacts__lead { color: var(--paper-dim); max-width: 420px; }
.contacts__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contacts__list li { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.contacts__list span { color: var(--paper-mute); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.contacts__list a:hover { color: var(--gold-bright); }

.profile { max-width: var(--wrap); margin: 0 auto; padding: 48px 28px 96px; }
.crumbs { display: flex; gap: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-mute); margin-bottom: 32px; }
.crumbs a:hover { color: var(--gold); }
.profile__grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 48px; }
.profile__visual { position: sticky; top: 100px; }
.profile__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background: radial-gradient(120% 80% at 50% -10%, hsl(var(--hue) 46% 26%), transparent 62%), linear-gradient(165deg, hsl(var(--hue) 26% 15%), #0a0908);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.profile__initial { font-family: var(--serif); font-size: 160px; color: hsl(var(--hue) 55% 82% / .16); }
.profile__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile__photo-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(transparent, rgba(10, 9, 8, .9)); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-dim); }
.profile__name { font-size: clamp(36px, 4.4vw, 56px); line-height: 1; margin-bottom: 14px; }
.profile__name span { color: var(--paper-mute); font-size: .5em; font-family: var(--sans); }
.profile__sub { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; font-size: 13px; color: var(--paper-dim); }
.profile__about { font-size: 16px; line-height: 1.75; max-width: 640px; }
.specs, .prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-bottom: 34px; }
.specs div, .prices div { background: var(--ink); padding: 16px 18px; }
.specs dt, .prices dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-mute); margin-bottom: 6px; }
.specs dd, .prices dd { margin: 0; font-family: var(--serif); font-size: 19px; }
.prices dd { color: var(--gold-bright); font-size: 24px; }
.block { margin-bottom: 36px; }
.block h3 { font-size: 20px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; }
.block h3 span { font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-mute); }
.booking { border: 1px solid var(--line); background: var(--ink-2); padding: 30px 28px; }
.booking__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booking__grid .field--full { grid-column: 1 / -1; }
.booking__note, .booking__fine { color: var(--paper-mute); font-size: 13px; }
.booking__actions { display: flex; align-items: center; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
.form-error { margin-top: 16px; padding: 12px 14px; border: 1px solid #5a2a2a; background: #1c1210; color: #e6a79a; font-size: 13px; }
.done { border: 1px solid var(--gold-dim); padding: 26px; }
.done__id { font-family: var(--serif); font-size: 30px; color: var(--gold-bright); }

.footer { border-top: 1px solid var(--line-soft); background: var(--ink-2); }
.footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 56px 28px 40px; display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 40px; }
.footer__brand p, .footer__col p, .footer__col a { color: var(--paper-mute); font-size: 13px; }
.footer__col { display: flex; flex-direction: column; gap: 6px; }
.footer__col h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-dim); }
.footer__bar { max-width: var(--wrap); margin: 0 auto; padding: 18px 28px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #5c544b; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 16px); z-index: 90; padding: 12px 22px; background: var(--ink-3); border: 1px solid var(--gold-dim); opacity: 0; transition: .25s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 1080px) {
  .hero__grid, .profile__grid, .contacts__grid, .footer__inner { grid-template-columns: 1fr; }
  .hero__panel { height: 340px; max-width: 520px; }
  .filters__row { grid-template-columns: 1fr 1fr; }
  .profile__visual { position: relative; top: 0; max-width: 420px; }
}
.demo-banner {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 80;
  transform: translateX(-50%);
  padding: 8px 16px;
  border: 1px solid #8a723f;
  background: #17130f;
  color: #c9a45c;
  font: 600 10px/1.4 'Segoe UI', Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .nav, .header__aside { display: none; }
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; width: 40px; height: 40px; background: transparent; border: 1px solid var(--line); }
  .burger span { display: block; height: 1px; background: var(--paper); }
  .header.is-open .nav, .header.is-open .header__aside { display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; padding: 16px 28px 22px; background: var(--ink); border-bottom: 1px solid var(--line); }
  .stats, .booking__grid { grid-template-columns: 1fr 1fr; }
  .hero, .catalog, .services, .how, .contacts, .profile { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 540px) {
  .grid, .steps, .stats, .booking__grid, .footer__inner { grid-template-columns: 1fr; }
  .hero__title { font-size: 40px; }
}
