* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: #f5f3ef; color: #2c2c2c; line-height: 1.6; }

/* ===== NAVIGATION ===== */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1002;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.4s ease, padding 0.4s ease;
}
.main-nav.scrolled {
  background-color: rgba(44, 44, 44, 0.9);
  backdrop-filter: blur(5px);
  padding: 10px 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.nav-logo {
  font-weight: 700;
  font-size: 1.4em;
  color: #fff;
  text-decoration: none;
  z-index: 10;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  position: relative;
  padding-bottom: 5px;
}
.nav-links a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #926c42;
  transition: width 0.3s ease;
}
.nav-links a:not(.btn-nav):hover::after { width: 100%; }
.nav-links a.nav-current:not(.btn-nav) { color: #d4a574; }
.nav-links a.nav-current:not(.btn-nav)::after { width: 100%; }

.mobile-controls { display: none; align-items: center; gap: 15px; }
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1003;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}
.menu-toggle:hover { background-color: rgba(255, 255, 255, 0.1); }
.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}
.nav-links-overlay { display: none; }

@media (max-width: 850px) {
  .nav-links { display: none; }
  .mobile-controls { display: flex; }
  .nav-links-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(44, 44, 44, 0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
    gap: 30px;
    display: flex;
    z-index: 1001;
  }
  .nav-links-overlay.active { transform: translateY(0); }
  .nav-links-overlay a { font-size: 1.5em; color: #fff; text-decoration: none; }
  .nav-links-overlay .btn-nav {
    margin-top: 10px;
    padding: 14px 32px;
    font-size: 1.1em;
    border-radius: 12px;
  }
  header .btn-hero { min-width: 0; width: 100%; max-width: 280px; }
  .hero-actions { flex-direction: column; align-items: center; width: 100%; padding: 0 20px; }
  .menu-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
  .menu-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
}

/* ===== HERO ===== */
header {
  background-image: url('https://banya.pp.ua/img/Баня-1.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.35) 45%,
    rgba(0,0,0,.65) 100%
  );
  z-index: 0;
}
header h1,
header p,
header .btn-group,
header .hero-badge,
header .hero-prices-link,
header .hero-scroll { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  font-size: 0.95em;
  letter-spacing: 0.04em;
  text-shadow: none;
}
header h1 {
  font-size: clamp(2.5em, 5vw, 4.5em);
  margin-bottom: 15px;
  text-shadow: 2px 2px 12px rgba(0,0,0,0.8);
  line-height: 1.1;
}
.hero-tagline {
  font-size: clamp(1.2em, 2vw, 1.5em);
  text-shadow: 1px 1px 6px rgba(0,0,0,0.8);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions { margin-bottom: 20px; }
header .btn-hero {
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.hero-prices-link {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 1em;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.hero-prices-link:hover {
  color: #fff;
  border-color: #fff;
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .2s;
}
.hero-scroll:hover { border-color: #fff; }
.hero-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: #fff;
  border-radius: 2px;
  animation: hero-scroll-bounce 1.6s ease-in-out infinite;
}
@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: .4; }
}

/* ===== QUICK STATS ===== */
.quick-stats {
  background: #5d4037;
  color: #fff;
  padding: 0;
  margin-top: -1px;
}
.quick-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
}
.quick-stat {
  background: #5d4037;
  padding: 22px 16px;
  text-align: center;
}
.quick-stat-value {
  display: block;
  font-size: 1.6em;
  font-weight: 700;
  color: #f5e6d3;
  line-height: 1.2;
}
.quick-stat-label {
  display: block;
  font-size: 0.85em;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
}
@media (max-width: 600px) {
  .quick-stats-inner { grid-template-columns: repeat(2, 1fr); }
}
.btn-group,
p.btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== BUTTONS ===== */
.btn, .btn-call, .btn-map, .btn-outline,
.btn-telegram, .btn-viber {
  padding: 15px 30px;
  font-size: 1.2em;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 0;
  font-weight: 700;
  display: inline-block;
}
.btn:hover, .btn-call:hover, .btn-map:hover, .btn-outline:hover,
.btn-telegram:hover, .btn-viber:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.btn { background: #926c42; color: #fff; border-color: #926c42; }
.btn:hover { background: #a47e54; border-color: #a47e54; color: #fff; }
.btn-call { background: #28a745; color: #fff; border-color: #28a745; }
.btn-call:hover { background: #218838; border-color: #218838; }
.btn-map { background: #4285F4; color: #fff; border-color: #4285F4; }
.btn-map:hover { background: #3367D6; border-color: #3367D6; }
.btn-telegram { background: #0088cc; color: #fff; border-color: #0088cc; }
.btn-telegram:hover { background: #006daa; border-color: #006daa; }
.btn-viber { background: #7360f2; color: #fff; border-color: #7360f2; }
.btn-viber:hover { background: #5b4ad4; border-color: #5b4ad4; }

.addr-actions .btn,
.addr-actions .btn-call,
.addr-actions .btn-map,
.addr-actions .btn-telegram,
.addr-actions .btn-viber {
  padding: 12px 20px;
  font-size: 1em;
}

.btn-outline {
  background: transparent;
  border: 2px solid #926c42;
  color: #926c42;
}
.btn-outline:hover {
  background: #926c42;
  color: #fff;
}
.btn-outline.btn-nav {
  padding: 8px 18px;
  font-size: 1em;
  border: 2px solid #fff;
  background: rgba(255,255,255,.1);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-outline.btn-nav:hover {
  background: #fff;
  color: #5d4037;
  border-color: #fff;
}

/* ===== LAYOUT & ANIMATIONS ===== */
section {
  padding: 70px 20px;
  max-width: 1200px;
  margin: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
section.is-visible { opacity: 1; transform: translateY(0); }
.section-alt {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
  margin-top: 20px;
  margin-bottom: 20px;
}

section > h2,
.booking-section > h2,
.prices-new > h2 {
  text-align: center;
  font-size: clamp(1.8em, 3vw, 2.4em);
  color: #5d4037;
  margin-bottom: 12px;
}
section > h2::after,
.booking-section > h2::after,
.prices-new > h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, #926c42, #d4a574);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ===== FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.feature {
  background: #fff;
  border-radius: 12px;
  padding: 22px 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  text-align: center;
  border-top: 3px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(146,108,66,.15);
  border-top-color: #926c42;
}
.what-to-bring-note {
  text-align: center;
  color: #6b6b6b;
  max-width: 560px;
  margin: 24px auto 0;
  font-size: 0.95em;
}

/* ===== GALLERY ===== */
.gallery {
  position: relative;
  max-width: 100%;
  height: 65vh;
  overflow: hidden;
  border-radius: 16px;
  margin-top: 30px;
  background: #2c2c2c;
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
}
.gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  filter: blur(25px) brightness(0.7);
  transform: scale(1.1);
  transition: background-image 0.8s ease-in-out;
}
.gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 2;
}
.gallery img.active { opacity: 1; }
.gallery-ui {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 4;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  padding: 8px 14px;
  border-radius: 999px;
}
.gallery-dots { display: flex; gap: 6px; }
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.gallery-dot.active {
  background: #fff;
  transform: scale(1.25);
}
.gallery-counter {
  color: #fff;
  font-size: 0.8em;
  font-weight: 700;
  white-space: nowrap;
}
.gallery .hint {
  position: absolute;
  right: 12px;
  top: 12px;
  background: rgba(0,0,0,.45);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: .85em;
  z-index: 3;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 92vh; object-fit: contain; }
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  color:#fff;
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
}
.lightbox .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35);
  color:#fff;
  padding:10px 14px;
  border-radius:10px;
  cursor:pointer;
  user-select:none;
}
.lightbox .prev { left: 18px; }
.lightbox .next { right: 18px; }

/* ===== FOOTER ===== */
footer { background: #2c2c2c; color: #fff; text-align: center; padding: 36px 16px; }
footer a { color: #d4a574; text-decoration: none; }
footer a:hover { text-decoration: underline; color: #fff; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 14px 0;
}
.footer-messengers { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.footer-messengers a {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95em;
  font-weight: 700;
}

/* ===== ADDRESS & MAP ===== */
.address { display:grid; grid-template-columns: 1.1fr 1.4fr; gap:28px; align-items: stretch; }
@media (max-width: 900px){ .address{ grid-template-columns:1fr; } }
.addr-card{ background:#fff; border-radius:14px; padding:22px; box-shadow:0 10px 24px rgba(0,0,0,.08); }
.addr-item,
p.addr-item { display:flex; gap:10px; align-items:flex-start; margin:10px 0; }
.addr-item .emoji{ flex:0 0 24px; }
.addr-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.map-wrap{ background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 10px 24px rgba(0,0,0,.08); min-height: 320px; }
.map-embed{ width:100%; height: 100%; min-height: 320px; border:0; display:block; }

/* ===== TESTIMONIALS ===== */
.testimonials h2 { text-align: center; }
.testimonials-intro {
  text-align: center;
  color: #6b6b6b;
  max-width: 640px;
  margin: 10px auto 24px;
  font-size: 0.95em;
}
.reviews-text-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  border-left: 3px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(146,108,66,.12);
  border-left-color: #926c42;
}
.testimonials-screenshots-title {
  text-align: center;
  margin: 30px 0 15px;
  font-size: 1.15em;
  color: #5d4037;
}
.review-card .review-stars { color: #f5a623; font-size: 1.1em; margin-bottom: 8px; letter-spacing: 2px; }
.review-card .review-text { margin-bottom: 12px; font-style: italic; }
.review-card .review-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
  color: #6b6b6b;
}
.review-card .review-author { font-weight: 700; color: #5d4037; }
.review-card .review-source {
  color: #926c42;
  text-decoration: none;
  font-weight: 700;
}
.review-card .review-source:hover { text-decoration: underline; }

.ts-track {
  position: relative;
  height: 120px;
  max-width: 720px;
  margin: 0 auto;
  background:#fff;
  border-radius:12px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding: 10px;
}
.ts-track img {
  position:absolute;
  max-height: 100px;
  width:auto;
  opacity:0;
  transition: opacity .4s ease;
}
.ts-track img.active { opacity:1; }
.ts-caption { text-align:center; margin-top: 10px; color:#6b6b6b; font-size:.95em; }
.ts-source-link {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 0.9em;
}
.ts-source-link a { color: #926c42; font-weight: 700; }

/* ===== PROMO ===== */
.game-promo {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://banya.pp.ua/img/fon_game_main.webp');
  background-size: cover;
  background-position: center;
  padding: 60px 25px;
  border-radius: 16px;
  text-align: center;
  color: #fff;
}
.game-promo h2 { font-size: 2.5em; margin-bottom: 15px; }
.game-promo p {
  font-size: 1.2em;
  max-width: 600px;
  margin: 0 auto 30px auto;
}
.game-promo .btn-group { justify-content: center; }
.game-promo .btn { background-color: #28a745; border-color: #28a745; }
.game-promo .btn:hover { background-color: #218838; border-color: #218838; }
.game-promo .btn-outline {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.game-promo .btn-outline:hover {
  background: #fff;
  color: #2c2c2c;
}

/* ===== PRICES ===== */
.prices-new { background-color: #fff; padding: 40px 25px; border-radius: 16px; box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.prices-new > h2 { margin-bottom: 30px; }
.prices-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 30px; }
.price-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  background-color: #fafafa;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
}
.price-card.main-service {
  background-color: #fff;
  border-color: #926c42;
  border-width: 2px;
  box-shadow: 0 6px 20px rgba(146,108,66,.12);
}
.price-card.discount { background-color: #f0f7f0; border-color: #28a745; }
.price-card h3 { margin-bottom: 15px; color: #5d4037; }
.price-amount { font-size: 2.5em; font-weight: 700; color: #926c42; margin-bottom: 5px; }
.price-amount span { font-size: 0.4em; font-weight: 400; color: #6b6b6b; }
.price-condition { font-size: 0.9em; color: #6b6b6b; }
.rentals ul { list-style: none; text-align: left; }
.rentals li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #eee; }
.rentals li:last-child { border-bottom: none; }
.prices-notes { display: flex; flex-direction: column; gap: 15px; }
.note { padding: 15px; border-radius: 8px; font-size: 0.95em; }
.note.warning { background-color: #fffbe6; border-left: 4px solid #facc15; }
.note.info { background-color: #eef2ff; border-left: 4px solid #6366f1; }

/* ===== BOOKING ===== */
.booking-section {
  background: #fff;
  padding: 40px 25px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.booking-section > h2 { margin-bottom: 10px; }
.booking-intro {
  text-align: center;
  color: #6b6b6b;
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 0.95em;
}
.booking-offline { max-width: 560px; margin: 0 auto; text-align: center; }
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.booking-fields { display: flex; flex-direction: column; gap: 14px; }
.booking-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9em;
  font-weight: 700;
  color: #5d4037;
}
.booking-label .optional { font-weight: 400; color: #6b6b6b; }
.booking-label input,
.booking-label select,
.booking-label textarea {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fafafa;
  color: #2c2c2c;
}
.booking-label input:focus,
.booking-label select:focus,
.booking-label textarea:focus {
  outline: none;
  border-color: #926c42;
  background: #fff;
}
.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking-side { display: flex; flex-direction: column; gap: 12px; }
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  min-height: 80px;
}
.slots-hint { color: #6b6b6b; font-size: 0.9em; grid-column: 1 / -1; }
.slots-blocked { color: #b45309; }
.slot-btn {
  padding: 10px 8px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  cursor: pointer;
  font-weight: 700;
  color: #5d4037;
  transition: background .2s, border-color .2s;
}
.slot-btn:hover { border-color: #926c42; background: #fff; }
.slot-btn.active { background: #926c42; border-color: #926c42; color: #fff; }
.booking-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #f5f3ef;
  border-radius: 10px;
  font-size: 1.1em;
}
.booking-total strong { color: #926c42; font-size: 1.3em; }
.booking-error { color: #dc2626; font-size: 0.9em; }
.booking-note { font-size: 0.85em; color: #6b6b6b; }
.btn-booking {
  width: 100%;
  padding: 14px;
  font-size: 1.05em;
}
.btn-booking:disabled { opacity: 0.5; cursor: not-allowed; }
.booking-success {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.booking-success[hidden] { display: none; }
.booking-success-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,.2);
}
.booking-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
}
.booking-success-card h3 { margin-bottom: 10px; color: #5d4037; }
.booking-success-card p { color: #6b6b6b; margin-bottom: 20px; line-height: 1.5; }
@media (max-width: 768px) {
  .booking-grid { grid-template-columns: 1fr; }
}

/* ===== FLOATING CONTACT ===== */
.fab-group {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: none;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.fab-group.hidden-fab { opacity: 0; transform: scale(0.5); pointer-events: none; }
.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fab-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.3); }
.fab-booking { background: #926c42; }
.fab-call { background: #28a745; }
.fab-telegram { background: #0088cc; }
.fab-viber { background: #7360f2; }
.fab-btn svg { width: 24px; height: 24px; stroke: #fff; fill: none; }

@media (max-width: 850px) { .fab-group { display: flex; } }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 998;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #5d4037;
  color: #fff;
  font-size: 1.4em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: opacity .3s, transform .3s, background .2s;
}
.back-to-top[hidden] {
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
.back-to-top:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover { background: #926c42; }
@media (max-width: 850px) {
  .back-to-top { bottom: 90px; left: 16px; width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  section { opacity: 1; transform: none; transition: none; }
  .hero-scroll span { animation: none; }
  .feature:hover, .price-card:hover, .review-card:hover { transform: none; }
}


/* ==========================================================================
   КНОПКИ ЗВ'ЯЗКУ (VIBER / TELEGRAM / PHONE / MAP)
   ========================================================================== */
.contact-buttons-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.contact-buttons-wrap.compact {
  justify-content: center;
  margin-top: 14px;
}
.contact-buttons-wrap:not(.compact) {
  margin-top: 18px;
}

.cbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  box-sizing: border-box;
}
.cbtn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.cbtn:active {
  transform: translateY(0);
}
.cbtn-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

/* Кнопка Дзвінка */
.cbtn-call {
  background: #16a34a;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.28);
}
.cbtn-call:hover {
  background: #15803d;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.42);
}

/* Кнопка Telegram */
.cbtn-telegram {
  background: #0284c7;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}
.cbtn-telegram:hover {
  background: #0369a1;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.42);
}

/* Кнопка Viber */
.cbtn-viber {
  background: #7c3aed;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.28);
}
.cbtn-viber:hover {
  background: #6d28d9;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.42);
}

/* Кнопка Карти */
.cbtn-map {
  background: #ffffff;
  color: #5d4037 !important;
  border: 1.5px solid #d7ccc8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.cbtn-map:hover {
  background: #f5f3ef;
  border-color: #926c42;
  color: #926c42 !important;
  box-shadow: 0 4px 14px rgba(146, 108, 66, 0.16);
}

/* Компактний вигляд для футера та блоку бронювання */
.contact-buttons-wrap.compact .cbtn {
  padding: 10px 18px;
  font-size: 0.92rem;
}
.contact-buttons-wrap.compact .cbtn-icon {
  width: 17px;
  height: 17px;
}

/* Сумісність зі старими класами */
.btn-call { background: #16a34a !important; color: #fff !important; }
.btn-call:hover { background: #15803d !important; }
.btn-telegram { background: #0284c7 !important; color: #fff !important; }
.btn-telegram:hover { background: #0369a1 !important; }
.btn-viber { background: #7c3aed !important; color: #fff !important; }
.btn-viber:hover { background: #6d28d9 !important; }


/* ==========================================================================
   ПОДАРУНКОВІ СЕРТИФІКАТИ (CERTIFICATES) - ELEGANT SAUNA THEME
   ========================================================================== */
.certificates-section {
  padding: 70px 20px;
  max-width: 1200px;
  margin: 30px auto;
}
.certificates-section .section-header {
  text-align: center;
  margin-bottom: 42px;
}
.certificates-section .section-badge {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.certificates-section h2 {
  font-size: clamp(1.8em, 3vw, 2.4em);
  color: #5d4037;
  margin-bottom: 12px;
  text-align: center;
  font-weight: 700;
}
.certificates-section h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: #926c42;
  margin: 12px auto 0;
  border-radius: 2px;
}
.certificates-section .section-desc {
  color: #6b6b6b;
  font-size: 1.08rem;
  max-width: 680px;
  margin: 14px auto 0;
  line-height: 1.55;
  text-align: center;
}

.certs-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 42px;
}
@media (max-width: 960px) {
  .certs-container {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

.cert-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e7dfd5;
  border-radius: 18px;
  padding: 36px 26px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 18px rgba(93, 64, 55, 0.06);
}
.cert-card:hover {
  transform: translateY(-5px);
  border-color: #926c42;
  box-shadow: 0 12px 28px rgba(93, 64, 55, 0.14);
}
.cert-card.featured {
  background: linear-gradient(180deg, #fffcf8 0%, #ffffff 100%);
  border: 2px solid #926c42;
  box-shadow: 0 8px 26px rgba(146, 108, 66, 0.16);
}
.cert-card.featured:hover {
  box-shadow: 0 14px 34px rgba(146, 108, 66, 0.24);
}

.cert-badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background: #efebe9;
  color: #5d4037;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid #d7ccc8;
}
.cert-badge.hit {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  border: none;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.35);
}

.cert-header h3 {
  font-size: 1.35rem;
  color: #5d4037;
  margin: 6px 0 4px 0;
  font-weight: 700;
}
.cert-hours {
  color: #926c42;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0;
}

.cert-price {
  margin: 18px 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.cert-price .price-val {
  font-size: 2.4rem;
  font-weight: 800;
  color: #5d4037;
  line-height: 1;
}
.cert-price .price-cur {
  font-size: 1.1rem;
  color: #8d6e63;
  font-weight: 700;
}
.cert-discount-badge {
  background: #e8f5e9;
  color: #1e7e34;
  border: 1px solid #c3e6cb;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.cert-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex-grow: 1;
}
.cert-features li {
  padding: 10px 0;
  border-bottom: 1px solid #f2ede7;
  color: #374151;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
}
.cert-features li:last-child {
  border-bottom: none;
}
.cert-check-icon {
  width: 18px;
  height: 18px;
  color: #16a34a;
  flex-shrink: 0;
}

.btn-cert {
  display: block;
  text-align: center;
  background: #f5f3ef;
  color: #5d4037 !important;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: all 0.2s ease;
  border: 1.5px solid #d7ccc8;
}
.btn-cert:hover {
  background: #926c42;
  color: #ffffff !important;
  border-color: #926c42;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(146, 108, 66, 0.25);
}
.btn-cert.btn-primary {
  background: linear-gradient(135deg, #926c42, #7a552e);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 14px rgba(146, 108, 66, 0.35);
}
.btn-cert.btn-primary:hover {
  background: linear-gradient(135deg, #a47e54, #8b6238);
  box-shadow: 0 6px 20px rgba(146, 108, 66, 0.45);
}

.cert-info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: #ffffff;
  border: 1px solid #e7dfd5;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}
@media (max-width: 800px) {
  .cert-info-bar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }
}
.cert-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.cert-info-item .info-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}
.cert-info-item strong {
  display: block;
  font-size: 1rem;
  color: #5d4037;
  margin-bottom: 4px;
}
.cert-info-item p {
  color: #6b6b6b;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.45;
}


/* ==========================================================================
   ПЛАВАЮЧИЙ ВІДЖЕТ ЗВ'ЯЗКУ (FLOATING WIDGET)
   ========================================================================== */
.fc-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
}
.fc-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.fc-widget.active .fc-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  text-decoration: none;
  outline: none;
}
.fc-btn-label {
  background: #ffffff;
  color: #2c2c2c;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, color 0.2s ease;
}
.fc-btn:hover .fc-btn-label {
  transform: translateX(-4px);
  color: #926c42;
}
.fc-btn-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.fc-btn:hover .fc-btn-icon {
  transform: scale(1.1);
}
.fc-btn-icon svg {
  width: 22px;
  height: 22px;
}
.fc-btn-call .fc-btn-icon { background: linear-gradient(135deg, #22c55e, #16a34a); }
.fc-btn-tg .fc-btn-icon { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.fc-btn-viber .fc-btn-icon { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.fc-btn-booking .fc-btn-icon { background: linear-gradient(135deg, #d97706, #b45309); }

.fc-main-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #926c42, #7a552e);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(146, 108, 66, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.fc-main-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(146, 108, 66, 0.6);
}
.fc-icon-chat svg {
  width: 26px;
  height: 26px;
  stroke: #ffffff;
}
.fc-icon-close {
  display: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.fc-widget.active .fc-icon-chat { display: none; }
.fc-widget.active .fc-icon-close { display: block; }

.fc-main-toggle::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid rgba(146, 108, 66, 0.65);
  animation: fc-pulse 2.2s infinite ease-out;
  pointer-events: none;
}
.fc-widget.active .fc-main-toggle::before {
  animation: none;
  display: none;
}
@keyframes fc-pulse {
  0% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

@media (max-width: 600px) {
  .fc-widget {
    bottom: 20px;
    right: 20px;
  }
  .fc-main-toggle {
    width: 52px;
    height: 52px;
  }
  .fc-btn-icon {
    width: 44px;
    height: 44px;
  }
}


/* ==========================================================================
   ПРОМО-ПІДКАЗКА ДО ЗНИЖКИ В ТАРИФАХ
   ========================================================================== */
.price-card.discount {
  position: relative;
}
.discount-badge {
  display: inline-block;
  background: #28a745;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.price-promo-hint {
  margin-top: 12px;
  font-size: 0.86rem;
  color: #14532d;
  background: rgba(34, 197, 94, 0.12);
  border: 1px dashed rgba(34, 197, 94, 0.45);
  border-radius: 8px;
  padding: 9px 12px;
  line-height: 1.45;
  text-align: left;
}
.price-promo-hint strong {
  color: #15803d;
}
.price-promo-hint em {
  font-style: normal;
  font-weight: 700;
  color: #166534;
}
