
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Manrope:wght@400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  --bg: #0A120D;
  --bg-soft: #0F1A13;
  --surface: #14211A;
  --surface-2: #18271F;
  --ink: #F2EDE1;
  --ink-soft: #B7C2B4;
  --ink-faint: #7E8D7E;
  --line: #22362A;
  --line-strong: #35503F;
  --gold: #C6A15B;
  --gold-bright: #E0C07C;
  --gold-deep: #8F6F33;
  --gold-soft: rgba(198, 161, 91, 0.16);
  --star: #E8C56A;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 26px;
  --radius-pill: 999px;

  --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 30px -18px rgba(0, 0, 0, 0.5);
  --shadow-m: 0 2px 4px rgba(0, 0, 0, 0.35), 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.005em;
}
p { margin: 0; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-soft); }

/* ---------- Layout ---------- */
.container, .section__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.section { padding: 64px 0; }
main > section:not(.cta):not(.page-head):not(.hero):nth-of-type(even) { background: var(--bg-soft); }
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 12px;
  text-align: center;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-subtitle {
  color: var(--ink-soft);
  margin: 0 auto 32px;
  max-width: 46em;
  text-align: center;
  font-size: 1.0625rem;
}
.text-block { white-space: pre-line; color: var(--ink-soft); max-width: 720px; line-height: 1.75; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 14, 10, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; }
.header__brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  white-space: nowrap;
}
.header__nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.header__nav-link {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: 8px;
  transition: color 0.2s ease;
}
.header__nav-link:hover { color: var(--gold-bright); }
.header__nav-link--active { color: var(--gold-bright); }
.header__nav-link--active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn--gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep)); color: #10160F; }
.btn--gold:hover { box-shadow: 0 8px 28px -8px rgba(198, 161, 91, 0.55); color: #10160F; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--gold); }
.btn--outline:hover { background: var(--gold-soft); border-color: var(--gold-bright); color: var(--gold-bright); }

/* ---------- Page head (inner pages) ---------- */
.page-head { padding-block: clamp(56px, 9vw, 110px) 20px; text-align: center; }
.page-head__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.page-head__title { font-size: clamp(2.6rem, 5.5vw, 4.2rem); margin-bottom: 14px; }
.page-head__subtitle { color: var(--ink-soft); font-size: 1.125rem; max-width: 42em; margin: 0 auto; }
.page-head__title::after, .page-head__subtitle::after { content: none; }

/* ---------- Hero (fullscreen offer) ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 940px);
  display: flex;
  align-items: center;
  padding: 130px 0 110px;
  overflow: hidden;
  background-color: #0A120D;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center 30%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 11, 8, 0.94) 0%, rgba(6, 11, 8, 0.78) 42%, rgba(6, 11, 8, 0.35) 100%),
    linear-gradient(180deg, rgba(6, 11, 8, 0.45) 0%, rgba(6, 11, 8, 0) 45%, rgba(6, 11, 8, 0.7) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.hero__content { max-width: 640px; }
.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero__eyebrow::before, .hero__eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero__eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.04;
  margin-bottom: 22px;
  color: var(--ink);
}
.hero__subtitle {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 34em;
  margin-bottom: 28px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Offer panel */
.offer {
  display: inline-block;
  max-width: 100%;
  padding: 22px 26px;
  border: 1px solid rgba(198, 161, 91, 0.55);
  border-radius: var(--radius-m);
  background: rgba(10, 18, 13, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.offer__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.offer__items { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.offer__item { display: inline-flex; align-items: center; }
.offer__item + .offer__item::before { content: "·"; color: var(--gold); margin: 0 13px; font-size: 1.0625rem; line-height: 1; }
.offer__label { color: var(--ink); font-size: 0.9375rem; font-weight: 500; }
.offer__price { display: flex; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(198, 161, 91, 0.35); }
.offer__price-value { font-family: var(--font-serif); font-size: 2.1rem; color: var(--gold-bright); line-height: 1; }
.offer__price-note { color: var(--ink-soft); font-size: 0.875rem; }

/* Botanical leaves */
.hero__leaves {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: min(26vw, 340px);
  color: var(--gold);
  opacity: 0.5;
  pointer-events: none;
}
.hero__leaves--left { left: 0; }
.hero__leaves--right { right: 0; transform: translateY(-50%) scaleX(-1); }
.hero__branch { width: 100%; height: auto; }

/* ---------- Items (services / products) ---------- */
.items { display: grid; gap: 20px; margin-top: 12px; }
.items--cards, .items--grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.item__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.item__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--gold); }
.items--cards .item__card, .items--grid .item__card { padding-bottom: 24px; }
.items--cards .item__card > *:not(.item__img), .items--grid .item__card > *:not(.item__img) { margin-left: 24px; margin-right: 24px; }
.items--cards .item__img, .items--grid .item__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 12px; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.items--cards .item__card:hover .item__img, .items--grid .item__card:hover .item__img { transform: scale(1.05); }
.item__name { font-size: 1.3rem; }
.item__desc { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.55; flex: 1; }
.item__price { display: inline-block; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-weight: 600; font-size: 1.0625rem; color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.item__duration { color: var(--ink-faint); font-size: 0.875rem; margin-left: 8px; font-weight: 400; }
.items--list { grid-template-columns: 1fr; }
.items--list .item__card { flex-direction: row; align-items: center; gap: 20px; padding: 18px 20px; }
.items--list .item__img { width: 110px; height: 110px; border-radius: var(--radius-s); object-fit: cover; flex: none; }
.items--list .item__name { font-size: 1.125rem; }
.items--list .item__desc { flex: 1; }
.items--list .item__price { border-top: 0; padding-top: 0; white-space: nowrap; }

/* Cards as clickable buttons (service dialog) */
.items li { display: flex; }
.item__card--btn {
  width: 100%;
  height: 100%;
  font-family: inherit;
  font-size: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.item__card--btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Service dialog ---------- */
.male-dialog {
  width: min(92vw, 500px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--gold);
  border-radius: var(--radius-m);
  background: var(--surface-2);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
}
.male-dialog::backdrop {
  background: rgba(3, 7, 4, 0.74);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.male-dialog__inner { position: relative; padding: 36px 32px 32px; }
.male-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.male-dialog__close:hover { color: var(--gold-bright); border-color: var(--gold); }
.male-dialog__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.male-dialog__title { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 12px; }
.male-dialog__desc { color: var(--ink-soft); line-height: 1.65; margin-bottom: 18px; }
.male-dialog__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-bottom: 24px;
}
.male-dialog__fact { font-size: 0.9375rem; color: var(--ink-soft); }
.male-dialog__fact--price { color: var(--gold-bright); font-weight: 600; font-size: 1.125rem; }
.male-dialog__cta { width: 100%; }

/* ---------- About ---------- */
.about__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.about--split .about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.about__text h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 24px; text-align: center; }
.about__text h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.about__text .text-block, .about .text-block { margin-bottom: 24px; margin-inline: auto; text-align: center; }
.about__media img { border-radius: var(--radius-l); box-shadow: var(--shadow-m); aspect-ratio: 5 / 4; object-fit: cover; border: 1px solid var(--line); }

/* ---------- Gallery ---------- */
section.gallery > .section__inner > .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 12px; }
.gallery__item img { border-radius: var(--radius-s); width: 100%; height: 220px; object-fit: cover; box-shadow: var(--shadow-s); border: 1px solid var(--line); }
.gallery__item figcaption { color: var(--ink-soft); font-size: 0.875rem; padding-top: 6px; }

/* ---------- Team ---------- */
section.team > .section__inner > .team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 12px; }
.team__card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px 16px;
  box-shadow: var(--shadow-s);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.team__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--gold); }
.team__photo { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; margin: 0 auto 12px; border: 1px solid var(--line-strong); }
.team__name { font-weight: 600; font-family: var(--font-sans); font-size: 1.0625rem; }
.team__position { color: var(--ink-soft); font-size: 0.875rem; margin-top: 2px; }

/* ---------- Reviews ---------- */
.reviews__head { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.reviews__head .section-title { margin-bottom: 0; }
section.reviews > .section__inner > .reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.review__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px;
  box-shadow: var(--shadow-s);
}
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}
.review__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.review__author { font-weight: 600; }
.review__date { font-size: 0.8125rem; color: var(--ink-faint); }
.review__stars { color: var(--star); font-size: 1.0625rem; letter-spacing: 3px; }
.review__text { font-size: 1rem; line-height: 1.65; color: var(--ink); }

/* Rating chip (maps rating, e.g. Yandex) */
.rating__chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}
.rating__value { font-family: var(--font-serif); font-size: 2rem; line-height: 1; color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.rating__stars { color: var(--star); font-size: 1rem; letter-spacing: 2px; }
.rating__count { font-size: 0.8125rem; color: var(--ink-soft); font-weight: 500; }
.rating__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.rating__link:hover { color: var(--gold-bright); border-color: var(--gold); }
.rating__pin { flex: none; }

/* ---------- Contacts (icon cards + map) ---------- */
.contacts-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); gap: 14px; margin-top: 12px; align-items: stretch; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
a.contact-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow-m); }
.contact-card__icon { display: inline-flex; flex: none; color: var(--gold); }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; line-height: 1.35; }
.contact-card__label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.contact-card__value { font-size: 0.9375rem; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.contacts-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; align-items: stretch; }
.contacts-photo { margin: 0; }
.contacts-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-l); border: 1px solid var(--line); box-shadow: var(--shadow-m); }
.contacts-photo figcaption { color: var(--ink-soft); font-size: 0.875rem; padding-top: 8px; text-align: center; }
.map-wrap { position: relative; min-height: 320px; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-m); }
.map-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px 20px; margin-bottom: 12px; background: var(--surface); }
.faq__item summary { font-weight: 600; cursor: pointer; font-family: var(--font-sans); }
.faq__answer { color: var(--ink-soft); padding-top: 10px; }

/* ---------- CTA ---------- */
.cta {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  margin: 48px clamp(16px, 3vw, 40px) 64px;
  padding: clamp(48px, 8vw, 88px) clamp(24px, 6vw, 88px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(198, 161, 91, 0.22) 0%, rgba(198, 161, 91, 0) 60%),
    radial-gradient(50% 70% at 8% 100%, rgba(198, 161, 91, 0.12) 0%, rgba(198, 161, 91, 0) 55%);
  pointer-events: none;
}
.cta .section__inner { position: relative; }
.cta__title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 12px; color: var(--ink); }
.cta__text { color: var(--ink-soft); font-size: 1.0625rem; margin-bottom: 28px; }
.cta .btn--light { background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep)); border-color: transparent; color: #10160F; }
.cta .btn--light:hover { box-shadow: 0 8px 28px -8px rgba(198, 161, 91, 0.55); color: #10160F; }

/* ---------- Footer ---------- */
.footer {
  background: #070F0A;
  border-top: 1px solid var(--line);
  padding-block: 56px 40px;
  margin-top: 48px;
}
.footer__brand { font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: 0.06em; color: var(--gold-bright); margin-bottom: 6px; }
.footer__phone a { color: var(--ink-soft); font-weight: 500; }
.footer__phone a:hover { color: var(--gold-bright); }
.footer__copy { color: var(--ink-faint); font-size: 0.875rem; margin-top: 12px; }

/* ---------- Not found ---------- */
.notfound { text-align: center; padding: 140px 20px; }
.notfound h1 { font-size: 64px; font-weight: 800; }
.notfound p { margin-bottom: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .header__inner { flex-direction: column; gap: 8px; padding: 12px 0; }
  .header__nav { justify-content: center; gap: 20px; }
  .contacts-visual { grid-template-columns: 1fr; }
  .map-wrap { min-height: 280px; }
  .hero { min-height: auto; padding: 110px 0 90px; }
  .hero__leaves { width: 34vw; opacity: 0.35; }
}
@media (max-width: 760px) {
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
  .hero__leaves { display: none; }
  .offer { padding: 18px 20px; }
  .offer__items { gap: 8px 18px; }
  .items--list .item__card { flex-direction: column; align-items: flex-start; }
  .items--list .item__img { width: 100%; height: 180px; }
  .contact-card { padding: 16px; }
  .about--split .about__inner { grid-template-columns: 1fr; gap: 32px; }
  .rating__chip { justify-content: center; }
}
