@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&display=swap");

:root {
  --bg: #0b0a08;
  --bg-soft: #15120c;
  --ink: #f7f3e8;
  --muted: #b9b1a4;
  --accent: #d7b76a;
  --accent-2: #f1e2c2;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --glass: rgba(255, 255, 255, 0.05);
}

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

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #1a150d 0%, #0b0a08 55%);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

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

img {
  max-width: 100%;
  display: block;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 2000;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #ffffff);
  transition: width 0.1s ease-out;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1500;
  backdrop-filter: blur(14px);
  background: rgba(11, 10, 8, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.shrink {
  padding: 8px 0;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 16px;
}

.nav-links {
  display: none;
  gap: 18px;
  align-items: center;
}

.nav-cta {
  border: 1px solid var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--accent);
}

.burger {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--glass);
  display: grid;
  place-items: center;
  gap: 4px;
  cursor: pointer;
}

.burger {
  display: grid;
}

.burger span {
  width: 18px;
  height: 2px;
  background: var(--accent);
  display: block;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 7, 0.96);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 80px 24px;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  z-index: 1600;
  opacity: 0;
  pointer-events: none;
  height: 100vh;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-size: 20px;
  font-weight: 600;
}

.menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #15120c;
  font-weight: 700;
  cursor: pointer;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 70vh;
  padding: 80px 16px 60px;
  display: grid;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3);
}

.hero-content {
  background: rgba(10, 9, 7, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 32px 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  max-width: 560px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 12px;
}

.subhead {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.hero-actions {
  display: grid;
  gap: 12px;
}

.hero-actions .btn {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.btn {
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  min-height: 48px;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #15120c;
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

section {
  padding: 56px 16px;
  max-width: 1100px;
  margin: 0 auto;
  scroll-margin-top: 96px;
}

.section-head {
  text-align: center;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(20px, 3vw, 30px);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.filter-btn.active {
  background: var(--accent);
  color: #15120c;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}

.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(0, 0, 0, 0.6);
  color: var(--ink);
  padding: 12px;
  font-weight: 600;
}

.skeleton {
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.5s infinite;
}

.skeleton.loaded::after {
  display: none;
}

.about-grid,
.prices-grid,
.contacts-grid {
  display: grid;
  gap: 16px;
}

.about-photo img {
  border-radius: 20px;
}

.about-text {
  color: var(--muted);
}

.prices-grid {
  grid-template-columns: 1fr;
}

.price-card {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.price-card h3 {
  margin-bottom: 12px;
  color: var(--accent);
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.reviews-slider {
  display: grid;
  gap: 16px;
}

.review-card {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px;
}

.review-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.accordion-item {
  margin-bottom: 10px;
}

.accordion-btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--glass);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.accordion-content {
  display: none;
  padding: 12px 14px;
  color: var(--muted);
}

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

.contact-btn {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  text-align: center;
  background: var(--accent);
  color: #15120c;
  font-weight: 700;
  min-height: 48px;
}

.footer {
  text-align: center;
  padding: 24px 16px 120px;
  color: var(--muted);
}

.sticky-bar {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(440px, 92vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(12, 10, 8, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px;
  z-index: 1700;
  backdrop-filter: blur(10px);
}

.sticky-btn {
  padding: 12px 14px;
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
  background: var(--glass);
  color: var(--ink);
  min-height: 44px;
}

.sticky-btn.primary {
  background: var(--accent);
  color: #15120c;
}

.floating-telegram {
  position: fixed;
  right: 18px;
  bottom: 96px;
  background: #1f8df1;
  color: #fff;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
  z-index: 1701;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .burger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero {
    min-height: 90vh;
    text-align: left;
  }

  .hero-content {
    max-width: 520px;
  }

  .hero-actions {
    grid-template-columns: auto auto;
    justify-content: start;
  }

  .masonry-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item img {
    height: 240px;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .prices-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-slider {
    grid-template-columns: repeat(3, 1fr);
  }

  .contacts-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
