:root {
  --gold: #d8b04c;
  --gold-light: #e9c877;
  --gold-dim: #a98c3f;
  --bg: #0c0a07;
  --text: #f5f1e8;
  --muted: #cfc8ba;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Фото: якщо img/hero.jpg нема — показується заглушка-svg */
.hero-visual {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero.jpg'), url('../img/hero-placeholder.svg');
  background-size: cover, cover;
  /* 64% — чувак трохи правіше центру кадру */
  background-position: 64% 22%, 64% 22%;
  z-index: 0;
}

/* затемнення: зліва під текст, зверху під меню, знизу під кнопку */
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,10,7,.92) 0%, rgba(12,10,7,.72) 26%, rgba(12,10,7,.18) 52%, rgba(12,10,7,0) 70%),
    linear-gradient(180deg, rgba(12,10,7,.75) 0%, rgba(12,10,7,0) 22%),
    linear-gradient(0deg, rgba(12,10,7,.82) 0%, rgba(12,10,7,.35) 18%, rgba(12,10,7,0) 38%);
}

.hero > header,
.hero > .hero-text,
.hero > .pay-block {
  position: relative;
  z-index: 1;
}

/* ---------- HEADER ---------- */

.site-header {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 26px clamp(20px, 4vw, 56px);
}

.logo { display: flex; flex-direction: column; line-height: 1; }

.logo-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 4px;
  color: var(--text);
}

.logo-sub {
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--muted);
  margin-top: 5px;
}

.main-nav {
  display: flex;
  gap: clamp(16px, 3vw, 44px);
  margin: 0 auto;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.main-nav a:hover { color: var(--gold-light); border-color: var(--gold-light); }

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s, color .2s;
}

.btn-outline:hover { background: var(--gold); color: #14100a; }

/* ---------- TEXT ---------- */

.hero-text {
  max-width: 560px;
  padding: clamp(10px, 4vh, 48px) clamp(20px, 4vw, 56px) 0;
}

.eyebrow {
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 4.3vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: 1px;
}

h1 .gold { color: var(--gold); }

.lead {
  margin-top: 22px;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 430px;
}

.features {
  list-style: none;
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(24px, 4.5vh, 48px);
}

.features li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.35;
  max-width: 120px;
}

.feat-icon {
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.feat-icon svg { width: 22px; height: 22px; }

/* ---------- PAY BLOCK ---------- */

.pay-block {
  margin-top: auto;
  align-self: center;
  width: min(640px, calc(100% - 40px));
  text-align: center;
  padding-bottom: clamp(20px, 4vh, 44px);
}

.btn-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 22px 30px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, #c49a3a 100%);
  color: #17120a;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 0 40px rgba(216, 176, 76, .45), 0 10px 30px rgba(0, 0, 0, .5);
  transition: transform .15s, box-shadow .2s;
}

.btn-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 55px rgba(216, 176, 76, .6), 0 14px 34px rgba(0, 0, 0, .5);
}

.btn-pay svg { width: 30px; height: 30px; flex-shrink: 0; }

.pay-note {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text);
  text-shadow: 0 1px 6px rgba(0,0,0,.8);
}

.pay-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #111;
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 17px;
}

.badge svg { width: 22px; height: 22px; }

.badge b { font-weight: 600; }

/* ---------- SECTIONS ---------- */

.section {
  padding: clamp(64px, 10vh, 110px) clamp(20px, 4vw, 56px);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
}

h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: 1px;
  margin-bottom: 28px;
}

.section p { color: var(--muted); line-height: 1.7; }

/* Про нас */

.about { background: #0f0d09; }

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.about-text p { margin-bottom: 16px; max-width: 560px; }

.about-points {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.about-points li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
}

.point-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(216, 176, 76, .8);
}

.about-photo { margin: 0; }

.about-photo img {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(216, 176, 76, .35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}

.about-photo figcaption {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
  letter-spacing: .3px;
}

/* Послуги */

.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 14px;
}

.service-card {
  border: 1px solid rgba(216, 176, 76, .22);
  background: linear-gradient(180deg, rgba(216, 176, 76, .06) 0%, rgba(216, 176, 76, .02) 100%);
  border-radius: 16px;
  padding: 28px 26px;
  transition: border-color .2s, transform .2s;
}

.service-card:hover {
  border-color: rgba(216, 176, 76, .55);
  transform: translateY(-3px);
}

.service-card h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.06rem;
  margin-bottom: 12px;
  color: var(--gold-light);
}

.service-card p { font-size: 14.5px; line-height: 1.65; }

/* риска перед заголовками секцій */

.section .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section .eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* нумерація послуг 01–06 */

.services-grid { counter-reset: svc; }

.service-card { position: relative; }

.service-card::before {
  counter-increment: svc;
  content: '0' counter(svc);
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(216, 176, 76, .22);
  letter-spacing: 1px;
}

/* Онлайн-запис */

.booking {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(12, 10, 7, .88), rgba(12, 10, 7, .93)),
    url('../img/hero.jpg') center 30% / cover no-repeat;
  text-align: center;
}

.booking-inner {
  max-width: 720px;
  display: grid;
  justify-items: center;
}

.booking .eyebrow { justify-content: center; }

.booking .eyebrow::after {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.booking-lead {
  max-width: 520px;
  margin-bottom: 34px;
  font-size: 1.05rem;
}

.btn-book {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 19px 44px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, #c49a3a 100%);
  color: #17120a;
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 0 36px rgba(216, 176, 76, .35), 0 10px 26px rgba(0, 0, 0, .5);
  transition: transform .15s, box-shadow .2s;
}

.btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(216, 176, 76, .55), 0 14px 30px rgba(0, 0, 0, .5);
}

.btn-book svg { width: 24px; height: 24px; }

.booking-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
}

/* Контакти */

.contacts { background: #0f0d09; }

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(28px, 4vw, 56px);
  margin-top: 14px;
  align-items: start;
}

.contacts-info { display: grid; gap: 22px; }

.contact-row { display: grid; gap: 6px; }

.contact-label {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-row span:last-child { font-size: 17px; color: var(--text); }

.btn-route {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  justify-self: start;
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  transition: background .2s, color .2s;
}

.btn-route svg { width: 20px; height: 20px; }

.btn-route:hover { background: var(--gold); color: #14100a; }

.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(216, 176, 76, .3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  aspect-ratio: 16 / 10;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* тонуємо карту під темну тему */
  filter: invert(90%) hue-rotate(185deg) grayscale(25%) contrast(88%) brightness(95%);
}

/* Футер */

.site-footer {
  padding: 44px 20px 40px;
  text-align: center;
  border-top: 1px solid rgba(216, 176, 76, .15);
  display: grid;
  justify-items: center;
  gap: 4px;
}

.site-footer .logo-name { font-size: 26px; }

.footer-nav {
  display: flex;
  gap: 28px;
  margin-top: 18px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}

.footer-nav a:hover { color: var(--gold-light); border-color: var(--gold-light); }

.site-footer p { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* плавна поява секцій */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in { opacity: 1; transform: none; }

.service-card.reveal:nth-child(2) { transition-delay: .08s; }
.service-card.reveal:nth-child(3) { transition-delay: .16s; }
.service-card.reveal:nth-child(5) { transition-delay: .08s; }
.service-card.reveal:nth-child(6) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- MOBILE ---------- */

@media (max-width: 899px) {
  .main-nav { display: none; }

  .site-header {
    justify-content: space-between;
    padding: 18px 20px;
  }

  .logo-name { font-size: 24px; }
  .btn-outline { padding: 10px 16px; font-size: 13.5px; }

  /* фото стає окремим блоком МІЖ пунктами і кнопкою — нічого не затуляє */
  .hero-visual {
    position: relative;
    inset: auto;
    order: 3;
    flex: 1;
    min-height: 300px;
    margin-top: 14px;
    background-repeat: no-repeat;
    background-size: auto 145%, auto 145%;
    background-position: 78% 40%, 78% 40%;
  }

  .hero-visual::after {
    background:
      linear-gradient(180deg, rgba(12,10,7,1) 0%, rgba(12,10,7,0) 20%),
      linear-gradient(0deg, rgba(12,10,7,.9) 0%, rgba(12,10,7,.3) 18%, rgba(12,10,7,0) 40%),
      linear-gradient(90deg, rgba(12,10,7,.55) 0%, rgba(12,10,7,0) 20%, rgba(12,10,7,0) 80%, rgba(12,10,7,.55) 100%);
  }

  .site-header { order: 1; }
  .hero-text { order: 2; }

  .pay-block {
    order: 4;
    margin-top: -70px;
  }

  .hero-text {
    max-width: 100%;
    padding-top: 4px;
  }

  .lead { font-size: .98rem; }

  .features {
    gap: 10px;
    justify-content: space-between;
  }

  .features li {
    font-size: 12.5px;
    gap: 8px;
    align-items: flex-start;
    flex: 1;
    max-width: none;
  }

  .feat-icon { width: 40px; height: 40px; }
  .feat-icon svg { width: 19px; height: 19px; }

  .pay-block {
    width: calc(100% - 32px);
    padding-bottom: 22px;
  }

  .btn-pay { padding: 18px 20px; border-radius: 16px; gap: 12px; }
  .btn-pay svg { width: 24px; height: 24px; }

  .pay-note { font-size: 13.5px; margin-top: 12px; }
  .badge { padding: 8px 15px; font-size: 15px; }
  .badge svg { width: 19px; height: 19px; }

  .about-grid,
  .contacts-grid { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr; gap: 14px; }

  .service-card { padding: 22px 20px; }

  .map-wrap { aspect-ratio: 4 / 3; }
}

/* дуже низькі екрани ПК — щоб кнопка не наїжджала на текст */
@media (min-width: 900px) and (max-height: 720px) {
  .hero-text { padding-top: 12px; }
  .features { margin-top: 18px; }
}
