:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --dark: #2c2018;
  --accent: #b4532a;
  --accent-dark: #96431f;
  --green: #3e7c3e;
  --green-dark: #2f6130;
  --muted: #7a6a5c;
  --line: #e8ddd0;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn--green {
  background: var(--green);
  border-color: var(--green);
}

.btn--green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn--small { padding: 10px 20px; font-size: 15px; }
.btn--ghost {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn--ghost:hover { background: var(--dark); color: #fff; }
.btn--full { width: 100%; }

/* Шапка */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}

.logo__icon { width: 34px; height: 34px; color: var(--accent); }

.nav { display: flex; align-items: center; gap: 26px; }

.nav a:not(.btn) {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
}

.nav a:not(.btn):hover { color: var(--accent); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}

/* Первый экран */
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 72px;
}

.hero__tag {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  margin: 0 0 16px;
}

.hero h1 { font-size: clamp(36px, 5vw, 56px); }

.hero__lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
  margin: 20px 0 28px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__facts {
  list-style: none;
  display: flex;
  gap: 36px;
  padding: 0;
  margin: 40px 0 0;
}

.hero__facts strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: var(--accent);
}

.hero__facts span { font-size: 14px; color: var(--muted); }

.hero__photo img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(44, 32, 24, .35);
}

/* Секции */
.section { padding: 80px 0; }

.section__head { max-width: 560px; margin-bottom: 44px; }

.section__head h2 { font-size: clamp(30px, 4vw, 40px); }

.section__head p { color: var(--muted); margin: 14px 0 0; }

.section--dark {
  background: var(--dark);
  color: #f4ece2;
}

.section--dark h2 { color: #fff; }

.section--dark p { color: #cbbfae; }

/* Меню */
.menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 40px;
}

.menu__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: transform .2s, box-shadow .2s;
}

.menu__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -20px rgba(44, 32, 24, .3);
}

.menu__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.menu__row h3 { font-size: 21px; }

.menu__dots {
  flex: 1;
  border-bottom: 2px dotted var(--line);
  transform: translateY(-4px);
}

.menu__price {
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.menu__desc { color: var(--muted); margin: 6px 0 0; font-size: 15px; }

.menu__note { color: var(--muted); font-size: 14px; margin-top: 28px; }

/* О нас */
.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.about__photo img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about__text h2 { font-size: clamp(28px, 3.5vw, 38px); }

.about__text p { margin: 18px 0 0; }

.about__photo--wide {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 28px;
}

/* Отзывы */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}

.review:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -20px rgba(44, 32, 24, .3);
}

.review__stars {
  color: var(--accent);
  letter-spacing: .15em;
  font-size: 18px;
}

.review__star--empty { color: var(--line); }

.review__text {
  margin: 14px 0 24px;
  font-size: 15px;
  color: var(--dark);
  flex: 1;
}

.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review__avatar {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0e2d2;
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
}

.review__author strong { display: block; font-size: 15px; }

.review__author span:not(.review__avatar) {
  font-size: 13px;
  color: var(--muted);
}

/* Контакты и бронирование */
.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contacts__info h2 { font-size: clamp(28px, 3.5vw, 38px); }

.contacts__list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 24px;
}

.contacts__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contacts__list svg {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--accent);
  margin-top: 2px;
}

.contacts__list strong { display: block; }

.contacts__list span { color: var(--muted); font-size: 15px; }

.booking {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 24px 48px -32px rgba(44, 32, 24, .35);
}

.booking h2 { font-size: 28px; }

.booking__hint { color: var(--muted); font-size: 15px; margin: 10px 0 22px; }

.booking form { display: grid; gap: 16px; }

.booking label { display: grid; gap: 6px; }

.booking label span {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

.booking input,
.booking select {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--dark);
  width: 100%;
}

.booking input:focus,
.booking select:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}

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

.booking__success {
  background: #eaf5ea;
  color: #2f6b2f;
  border: 1px solid #bfe0bf;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  margin: 16px 0 0;
}

/* Подвал */
.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Адаптив */
@media (max-width: 980px) {
  .reviews { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 880px) {
  .hero__inner,
  .about,
  .contacts { grid-template-columns: 1fr; }

  .hero__inner { padding: 44px 0 56px; gap: 36px; }

  .section { padding: 56px 0; }

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

  .hero__photo img { min-height: 260px; }

  .about__photo { order: -1; }
  .about__photo img { min-height: 260px; }
}

@media (max-width: 720px) {
  .burger { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 20px;
    display: none;
  }

  .nav.open { display: flex; }

  .nav a:not(.btn) { padding: 12px 4px; }

  .nav .btn { text-align: center; margin-top: 8px; }
}
