:root {
  --bg-color: #f7f4f0;
  --text-main: #2c2926;
  --text-muted: #78716c;
  --accent-btn: #a88d79;
  --accent-hover: #937865;
  --card-bg: #ffffff;
  --border-color: #e7e2dc;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 40px;
  z-index: 1000;
  background: rgba(247, 244, 240, 0.85);
  backdrop-filter: blur(8px);
}

.header-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-main);
}

.logo-title {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.nav a {
  margin: 0 15px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.85rem;
}

/* Кнопка в шапке */
.header-actions {
  display: flex;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  font-family: var(--font-sans);
}

.btn-primary {
  background-color: var(--accent-btn);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--accent-btn);
}

.btn-outline:hover {
  background: var(--accent-btn);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 8% 60px 8%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(
          to bottom,
          rgba(247, 244, 240, 0) 0%,
          rgba(247, 244, 240, 0.5) 40%,
          rgba(247, 244, 240, 0.9) 80%,
          #f7f4f0 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-title-group {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title-top {
  font-family: var(--font-serif);
  font-size: 5.2rem;
  font-weight: 400;
  color: #221f1e;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-title-bottom {
  font-family: var(--font-serif);
  font-size: 4.8rem;
  font-weight: 400;
  color: #1a1817;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-top: 5px;
}

.hero-bottom-group {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  text-align: left;
  max-width: 420px;
  margin-bottom: 10px;
  margin-top: 25px;
}

.hero-sub {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #1a1817;
  font-weight: 600;
}

/* Sections */
.price-section {
  padding-top: 40px !important;
  position: relative;
  z-index: 2;
}

.section {
  padding: 100px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.tag-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.section-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 3rem;
  letter-spacing: 3px;
  font-weight: 400;
}

.section-subtitle {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* Price Card & Accordion */
.price-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 10px 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.price-accordion-item {
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}

.price-accordion-item:last-child {
  border-bottom: none;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr 180px 100px;
  align-items: center;
  padding: 20px 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  transition: padding 0.25s ease, background-color 0.25s ease;
}

.price-accordion-item:hover .price-row {
  padding-left: 8px;
  padding-right: 8px;
  background: rgba(168, 141, 121, 0.035);
}

.service-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.accordion-icon {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--accent-btn);
  transition: transform 0.3s ease;
}

.price-accordion-item.is-open .accordion-icon {
  transform: rotate(45deg);
}

.price-row .time {
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-align: left;
}

.price-row .cost {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  text-align: right;
  font-weight: 500;
}

.price-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease, padding 0.3s ease;
  padding: 0 8px;
}

.price-accordion-item.is-open .price-details {
  max-height: 250px;
  opacity: 1;
  transition: max-height 0.45s ease-in-out, opacity 0.35s ease, padding 0.3s ease;
  padding-bottom: 18px;
}

.price-details p {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  background: rgba(247, 244, 240, 0.5);
  border-left: 2px solid var(--accent-btn);
  padding: 10px 14px;
  border-radius: 4px;
}

.addon-header {
  text-align: center;
  margin: 60px auto 20px;
  max-width: 600px;
}

.heart-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: var(--accent-btn);
}

.addon-header h3 {
  font-family: var(--font-serif);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.addon-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.addon-title {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin: 30px 0 15px;
}

.addon-card {
  max-width: 600px;
  margin: 0 auto;
}

.quote {
  text-align: center;
  margin-top: 60px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-muted);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.about-img-wrap img {
  width: 100%;
  border-radius: 20px;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.about-info h2 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.about-speech {
  position: relative;
}

.about-speech p {
  font-size: 0.92rem;
  color: #44403c;
  margin-bottom: 16px;
  line-height: 1.65;
}

.stats-grid {
  display: flex;
  gap: 30px;
  margin-top: 35px;
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
}

.stat-item {
  flex: 1;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-main);
  white-space: nowrap;
}

.stat-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

.room-banner {
  position: relative;
  margin-top: 60px;
  border-radius: 20px;
  overflow: hidden;
}

.room-banner img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.room-overlay-text {
  position: absolute;
  bottom: 20px;
  left: 30px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

/* Booking Section */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.booking-info h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
}

.booking-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-list div {
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.contact-list a {
  color: inherit;
  text-decoration: none;
}

.booking-form input[type="text"],
.booking-form input[type="tel"] {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  margin-bottom: 20px;
  font-family: var(--font-sans);
  outline: none;
}

.services-label {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin: 20px 0 15px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 25px;
}

.checkbox-btn {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 12px;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
}

.checkbox-btn:hover {
  border-color: var(--border-color);
  transform: translateY(-1px);
}

.checkbox-btn:has(input:checked) {
  border-color: var(--accent-btn);
  background: rgba(168, 141, 121, 0.08);
}

.checkbox-btn input {
  margin-right: 8px;
}

/* Кнопки выбора мессенджера */
.submit-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.btn-submit {
  width: 100%;
  border: none;
  padding: 15px 10px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  text-align: center;
}

.btn-tg {
  background: var(--accent-btn);
  color: #ffffff;
}

.btn-tg:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-max {
  background: #2c2926;
  color: #ffffff;
}

.btn-max:hover {
  background: #1a1817;
  transform: translateY(-2px);
}

/* Карта Яндекс */
.map-section {
  padding-top: 40px !important;
  padding-bottom: 80px !important;
}

.map-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-color);
}

.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.map-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-main);
}

.map-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.map-route-btn {
  font-size: 0.75rem;
  padding: 8px 14px;
  white-space: nowrap;
  text-decoration: none;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 14px;
  overflow: hidden;
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer {
  text-align: center;
  padding: 60px 20px;
  border-top: 1px solid var(--border-color);
}

.footer-quote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 15px 0;
}

.footer-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 15px;
}

.footer-credit {
  margin-top: 10px;
}

.footer-credit a {
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-sans);
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-credit a:hover {
  opacity: 1;
  color: var(--accent-btn);
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 10px 12px;
  }

  .header-container {
    gap: 10px;
  }

  .nav {
    display: none;
  }

  .logo-sub {
    display: none;
  }

  .header-actions .btn {
    min-height: 40px;
    padding: 7px 14px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-title-top {
    font-size: 3.2rem;
  }

  .hero-title-bottom {
    font-size: 3rem;
  }

  .hero-bottom-group {
    max-width: 100%;
    margin-bottom: 0;
  }

  .section {
    padding: 70px 20px;
  }

  .about-grid, .booking-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stats-grid {
    flex-wrap: wrap;
    gap: 20px;
  }

  .price-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .price-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
  }

  .price-row .time {
    grid-column: 1;
    font-size: 0.75rem;
  }

  .price-row .cost {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

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

  .submit-actions {
    grid-template-columns: 1fr;
  }

  .map-card {
    padding: 16px;
  }

  .map-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-wrapper {
    height: 280px;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}