:root {
  --bg: #f6f3ee;
  --bg-alt: #efe7dc;
  --card: #ffffff;
  --accent: #c97f4c;
  --accent-dark: #8d4b2b;
  --text: #2d2a26;
  --muted: #6f655a;
  --line: #e2d7c9;
  --shadow: 0 20px 50px rgba(60, 40, 20, 0.12);
}

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

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #fff7ee 0%, var(--bg) 50%, #f1e7db 100%);
  line-height: 1.6;
}

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

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1002;
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  color: var(--accent-dark);
}

.logo-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.header-line {
  margin-bottom: 0;
}

.header-phone {
  font-weight: 700;
  font-size: 16px;
  color: var(--accent-dark);
}

.header-nav {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  font-weight: 600;
}

.header-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  background: transparent;
  transition: all 0.3s ease;
}

.header-nav a:hover {
  background: var(--bg-alt);
  color: var(--accent-dark);
}

.hamburger {
  display: none;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero {
  padding: 80px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.hero-copy h1 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(32px, 4vw, 50px);
  margin-bottom: 12px;
  font-weight: 700;
}

.hero-title {
  display: inline-block;
  white-space: nowrap;
}

.hero-price {
  font-size: 20px;
  color: var(--accent-dark);
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-list li {
  padding-left: 26px;
  position: relative;
  color: var(--muted);
}

.hero-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 9px;
}

.hero-registry {
  margin-top: 20px;
}

.hero-registry a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.2s ease;
}

.hero-registry a:hover {
  opacity: 0.8;
}

.hero-photo img {
  border-radius: 22px;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.booking-card {
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  margin: 40px auto 0;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  width: 100%;
}

.booking-card h2 {
  font-family: "Manrope", sans-serif;
  font-size: 26px;
  margin-bottom: 18px;
  text-align: center;
  font-weight: 700;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}

.booking-form label:not(.consent-checkbox) {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.form-action {
  display: grid;
  gap: 8px;
}

.form-action__label {
  font-size: 14px;
  visibility: hidden;
}

.booking-form input,
.booking-form select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: #fffdf9;
  height: 44px;
}

.booking-form button {
  border: none;
  border-radius: 999px;
  height: 44px;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
  width: 100%;
}

.booking-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(201, 127, 76, 0.3);
}

.booking-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.consent-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  cursor: pointer;
  grid-column: 2;
}

.consent-checkbox input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.consent-checkbox span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.consent-checkbox a {
  color: var(--accent);
  text-decoration: underline;
}

.consent-checkbox a:hover {
  color: var(--text);
}

.split {
  padding: 70px 0;
  background: linear-gradient(135deg, #fff9f1 0%, #f3e8da 100%);
}

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.gallery h2,
.prices h2,
.contacts h2 {
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  margin-bottom: 18px;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  display: block;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

.gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(50, 30, 10, 0.12);
  transition: transform 0.2s ease;
}

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

.price-table {
  background: var(--card);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fffaf3;
  color: var(--muted);
  font-size: 15px;
}

.price-row strong {
  color: var(--accent-dark);
}

.contacts {
  padding: 70px 0 90px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
}

.contacts .booking-card {
  margin-top: 0;
  align-self: start;
}

.map-embed {
  background: var(--card);
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  align-self: start;
  min-height: 420px;
  position: relative;
}

.map-embed * {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
}

.map-embed ymaps,
.map-embed iframe,
.map-embed > div {
  width: 100% !important;
  height: 420px !important;
  display: block !important;
  border-radius: 22px !important;
}

.contact-info {
  background: var(--card);
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 420px;
}

.contact-info p {
  margin-bottom: 12px;
  color: var(--muted);
}

.contact-info a {
  color: var(--accent-dark);
  font-weight: 600;
}

.registry-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg-alt);
}

.contacts .container + .container {
  margin-top: 32px;
}

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 50px 0 0;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-col h3 {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-col p {
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-col a {
  color: var(--accent-dark);
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.footer-col a:hover {
  opacity: 0.7;
}

.footer-desc {
  margin-top: 12px;
}

.footer-address {
  white-space: nowrap;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  color: var(--muted);
  font-weight: 400;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 13px;
}

.map-mockup {
  margin-top: 32px;
  background: var(--card);
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 26px;
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  position: relative;
  overflow: hidden;
}

.map-mockup::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(201, 127, 76, 0.08) 0%, rgba(201, 127, 76, 0) 45%),
    repeating-linear-gradient(0deg, rgba(120, 90, 60, 0.06), rgba(120, 90, 60, 0.06) 1px, transparent 1px, transparent 26px),
    repeating-linear-gradient(90deg, rgba(120, 90, 60, 0.06), rgba(120, 90, 60, 0.06) 1px, transparent 1px, transparent 26px);
  pointer-events: none;
}

.map-mockup > * {
  position: relative;
}

.map-mockup__title {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  color: var(--accent-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .header-grid {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .logo-block {
    grid-column: 1;
    grid-row: 1;
  }

  .header-center {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: center;
  }

  .hamburger {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    z-index: 1003;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--card);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 30px 30px;
    gap: 0;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .header-nav.active {
    right: 0;
  }

  .header-nav a {
    padding: 16px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

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

  .hero-photo img {
    aspect-ratio: 16 / 9;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .booking-form button {
    grid-column: span 1;
  }

  .consent-checkbox {
    grid-column: 1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 50px;
  }

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

  .price-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
