:root {
  --bg: #faf6f0;
  --bg-tint: #f1e9de;
  --surface: #ffffff;
  --text: #2d2a26;
  --muted: #6f675d;
  --accent: #8a5a3c;
  --accent-dark: #6e4529;
  --olive: #5e6b4e;
  --dark: #2f3428;
  --line: #e4d9ca;
  --radius: 20px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(32px, 4.5vw, 48px); }
h3 { font-size: 26px; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(780px, 100% - 32px); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  font-weight: 600;
  color: var(--olive);
  margin-bottom: 12px;
}
.lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }
.btn--small { padding: 11px 20px; font-size: 15px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { font-family: var(--serif); font-size: 28px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.logo span { color: var(--accent); font-style: italic; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.burger { display: none; }

/* Hero */
.hero { padding: 64px 0 96px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 44px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; gap: 40px; flex-wrap: wrap; }
.hero__facts strong { display: block; font-family: var(--serif); font-size: 32px; line-height: 1; }
.hero__facts span { font-size: 14px; color: var(--muted); }
.hero__visual { position: relative; }
.hero__photo {
  aspect-ratio: 4 / 5;
  border-radius: 220px 220px var(--radius) var(--radius);
  background: radial-gradient(circle at 30% 20%, #e9d6c0, #c9a989 60%, #a77c5c);
  display: grid; place-items: center;
  overflow: hidden;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__leaf { width: 45%; fill: rgba(255,255,255,.18); stroke: rgba(255,255,255,.55); stroke-width: 2; }
.hero__badge {
  position: absolute; left: -24px; bottom: 40px;
  background: var(--surface);
  padding: 18px 22px;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(60, 40, 20, .12);
  font-size: 14px; color: var(--muted); line-height: 1.3;
}
.hero__badge strong { font-family: var(--serif); font-size: 34px; color: var(--accent); }

/* Sections */
.section { padding: 96px 0; }
.section--tinted { background: var(--bg-tint); }
.section--dark { background: var(--dark); color: #efe9df; }
.section--dark .eyebrow { color: #c7b79f; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.about__photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #d9c8b0, #b5c0a3);
  display: grid; place-items: center;
  color: rgba(255,255,255,.8); font-size: 15px;
  overflow: hidden;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(60, 40, 20, .08); }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card__price { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; }
.card__price span { color: var(--muted); font-size: 14px; }
.card__price strong { font-family: var(--serif); font-size: 28px; color: var(--accent); }
.card--accent { background: var(--olive); color: #fff; }
.card--accent p, .card--accent .card__price span { color: rgba(255,255,255,.8); }
.card--accent .card__price { border-color: rgba(255,255,255,.25); }
.card--accent .card__price strong { color: #fff; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps span { font-family: var(--serif); font-size: 44px; color: var(--accent); opacity: .55; display: block; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details:first-of-type { margin-top: 24px; }
summary {
  cursor: pointer; list-style: none;
  font-weight: 600; font-size: 18px;
  display: flex; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--accent); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--muted); }

/* Booking */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  display: grid; gap: 18px;
  box-shadow: 0 20px 50px rgba(60, 40, 20, .07);
}
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.form input, .form select {
  font: 400 16px var(--sans);
  color: var(--text);
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.form input:focus, .form select:focus { border-color: var(--accent); }
.form input.is-invalid { border-color: #c0392b; }
.form__error { color: #c0392b; font-size: 14px; margin: 0; min-height: 0; }
.form__error:empty { display: none; }
.form__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Contacts */
.contacts { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.contacts__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.contacts__list span { display: block; font-size: 13px; color: #a9a091; text-transform: uppercase; letter-spacing: .1em; }
.contacts__list a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.contacts__map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: #3a4032;
  display: grid; place-items: center;
  color: #a9a091;
  overflow: hidden;
}
.contacts__map iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.footer { background: var(--dark); color: #a9a091; font-size: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .header__cta { display: none; }
  .burger {
    display: grid; gap: 5px;
    margin-left: auto;
    background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .burger span { width: 24px; height: 2px; background: var(--text); transition: transform .25s, opacity .25s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; color: var(--text); }

  .hero { padding: 32px 0 64px; }
  .hero__inner, .about, .booking, .contacts { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 420px; margin-inline: auto; width: 100%; }
  .hero__badge { left: 0; }
  .section { padding: 64px 0; }
  .about__photo { max-width: 420px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { gap: 24px; }
  .form { padding: 22px; }
  .form__buttons { grid-template-columns: 1fr; }
}
