:root {
  --bg: #f5f1e9;
  --paper: #fffdf8;
  --ink: #17342f;
  --muted: #6d776f;
  --line: rgba(23, 52, 47, .13);
  --gold: #c89b4b;
  --gold-dark: #9e7430;
  --green: #1f463f;
  --green-2: #11302b;
  --cream: #efe5d2;
  --shadow: 0 24px 70px rgba(17, 48, 43, .14);
  --radius: 28px;
  --container: min(1180px, calc(100vw - 32px));
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(200,155,75,.18), transparent 32rem),
    radial-gradient(circle at 90% 15%, rgba(31,70,63,.14), transparent 34rem),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.site-shell { overflow: clip; }
.container { width: var(--container); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }
.section.compact { padding: 38px 0 56px; }
.section--soft { background: rgba(255,255,255,.45); border-block: 1px solid var(--line); }

.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: .25s ease; }
.header.is-scrolled { background: rgba(255,253,248,.86); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.topline {
  min-height: 34px;
  display: flex;
  justify-content: center;
  gap: 22px;
  align-items: center;
  padding: 6px 18px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
}
.header.is-scrolled .topline { color: var(--muted); }
.topline__item { white-space: nowrap; }
.nav {
  width: min(1240px, calc(100vw - 24px));
  margin: 0 auto 10px;
  min-height: 72px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(17,48,43,.36);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 18px;
  color: #fff;
  box-shadow: 0 18px 60px rgba(0,0,0,.12);
}
.header.is-scrolled .nav { background: rgba(255,253,248,.72); color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 16px;
  display: grid; place-items: center;
  font-family: Georgia, serif;
  font-size: 28px;
  background: linear-gradient(145deg, #f6d48d, var(--gold));
  color: var(--green-2);
  box-shadow: inset 0 1px rgba(255,255,255,.5);
}
.brand__text { display: grid; line-height: 1.05; }
.brand__text strong { font-size: 19px; letter-spacing: .01em; }
.brand__text small { font-size: 12px; opacity: .78; margin-top: 4px; }
.nav-menu { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.nav-menu a { opacity: .9; }
.nav-menu a:hover { opacity: 1; color: var(--gold); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 99px; }

.btn {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--small { min-height: 42px; padding: 0 18px; }
.btn--gold { background: linear-gradient(135deg, #f1cd83, var(--gold)); color: #1f1a10; box-shadow: 0 14px 34px rgba(200,155,75,.28); }
.btn--dark { background: linear-gradient(135deg, var(--green), var(--green-2)); color: #fff; box-shadow: 0 14px 34px rgba(31,70,63,.22); }
.btn--glass { color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); }
.btn--outline { color: var(--green); background: transparent; border: 1px solid rgba(31,70,63,.24); width: 100%; }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--full { width: 100%; }

.hero {
  min-height: 830px;
  display: flex;
  align-items: end;
  color: #fff;
  padding: 190px 0 86px;
}
.hero__media, .hero__shade { position: absolute; inset: 0; }
.hero__media {
  background-image: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=2200&q=84');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero__shade {
  background:
    linear-gradient(90deg, rgba(9,31,28,.92) 0%, rgba(9,31,28,.72) 42%, rgba(9,31,28,.24) 100%),
    linear-gradient(0deg, rgba(9,31,28,.72) 0%, transparent 40%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) 420px; gap: 44px; align-items: end; }
.hero__content h1 { font-size: clamp(42px, 7vw, 64px); line-height: .92; margin: 18px 0 20px; max-width: 820px; letter-spacing: -.06em; }
.hero__content p { font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: rgba(255,255,255,.84); max-width: 700px; }
.eyebrow { display: inline-flex; color: var(--gold); font-weight: 850; text-transform: uppercase; letter-spacing: .13em; font-size: 12px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span, .route-tags span {
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 14px;
}

.card {
  background: rgba(255,253,248,.92);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.quick-booking { padding: 26px; }
.quick-booking h2, .booking-form h3, .callback-form h3 { margin: 0 0 18px; font-size: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 750; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 16px; padding: 13px 14px; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: rgba(200,155,75,.85); box-shadow: 0 0 0 4px rgba(200,155,75,.14); }
.form-wide { grid-column: 1 / -1; }
.form-note { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 14px 0 0; }

.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,253,248,.72);
  border: 1px solid var(--line);
}
.stat-card strong { display: block; font-size: 34px; letter-spacing: -.04em; color: var(--green); }
.stat-card span { color: var(--muted); line-height: 1.45; }

.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head h2, .booking-copy h2, .tourism-card h2, .contacts-copy h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  margin: 12px 0 16px;
  letter-spacing: -.045em;
}
.section-head p, .booking-copy p, .tourism-card p, .contacts-copy p { color: var(--muted); font-size: 18px; line-height: 1.6; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filter {
  border: 1px solid var(--line); background: rgba(255,253,248,.8); color: var(--ink);
  border-radius: 999px; padding: 12px 16px; font-weight: 800;
}
.filter.is-active { background: var(--green); color: #fff; border-color: var(--green); }
.rooms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.room-card { border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.8); display: flex; flex-direction: column; }
.room-card.is-hidden { display: none; }
.room-card img { width: 100%; height: 250px; object-fit: cover; }
.room-card__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.room-card__top { display: flex; gap: 14px; align-items: start; justify-content: space-between; }
.room-card h3 { margin: 0; font-size: 23px; letter-spacing: -.03em; }
.room-card__top span { white-space: nowrap; color: var(--green); font-weight: 900; }
.room-card p { color: var(--muted); line-height: 1.55; margin: 0; }
.room-meta { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.room-meta li { background: var(--cream); border-radius: 999px; padding: 7px 10px; font-size: 13px; color: #4c4a3f; }
.calendar-mini { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: auto; }
.calendar-mini span { height: 9px; border-radius: 99px; background: rgba(31,70,63,.23); }
.calendar-mini .busy { background: rgba(200,155,75,.9); }
.price-banner {
  margin-top: 26px;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), #294e3d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.price-banner h3 { margin: 0 0 6px; font-size: 26px; }
.price-banner p { margin: 0; color: rgba(255,255,255,.72); }
.price-banner .btn { background: #fff; color: var(--green); box-shadow: none; }

.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service-card {
  min-height: 310px;
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(17,48,43,.1);
}
.service-card img { height: 100%; width: 100%; object-fit: cover; }
.service-card div { padding: 28px; display: flex; flex-direction: column; align-items: start; justify-content: center; }
.service-card span { color: var(--gold-dark); text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.service-card h3 { margin: 10px 0 12px; font-size: 28px; line-height: 1.05; letter-spacing: -.04em; }
.service-card p { color: var(--muted); line-height: 1.55; }
.text-link { border: 0; background: transparent; color: var(--green); padding: 0; font-weight: 900; border-bottom: 1px solid currentColor; }

.booking-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps span { color: var(--muted); }
.booking-form, .callback-form { padding: 28px; }
.consent { display: flex; grid-template-columns: auto 1fr; align-items: start; gap: 10px; margin: 16px 0; font-weight: 600; line-height: 1.45; }
.consent input { width: auto; margin-top: 3px; }
.booking-result { margin-top: 14px; color: var(--green); font-weight: 800; line-height: 1.45; }

.tourism { background: linear-gradient(135deg, #17342f, #27483c); color: #fff; }
.tourism-grid { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: stretch; }
.tourism-card, .map-card { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 34px; background: rgba(255,255,255,.08); }
.tourism-card p, .map-card p { color: rgba(255,255,255,.76); }
.route-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.map-card { display: flex; flex-direction: column; justify-content: center; }
.map-card h3 { margin: 0 0 10px; font-size: 28px; }
.map-card .btn { background: #fff; color: var(--green); box-shadow: none; }

.ecosystem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ecosystem-card { padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.ecosystem-card h3 { margin: 0 0 12px; font-size: 26px; }
.ecosystem-card p { color: var(--muted); line-height: 1.6; }
.contacts-grid { display: grid; grid-template-columns: 1fr 420px; gap: 42px; align-items: start; }
.contact-list { display: grid; gap: 12px; margin-top: 24px; }
.contact-list a, .contact-list span { padding: 14px 16px; border-radius: 18px; background: rgba(255,253,248,.72); border: 1px solid var(--line); font-weight: 800; }
.callback-form { display: grid; gap: 16px; }
.footer { padding: 46px 0 92px; background: var(--green-2); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 26px; }
.footer p, .footer a, .footer span { color: rgba(255,255,255,.65); display: block; margin-top: 8px; line-height: 1.5; }

.mobile-bar {
  position: fixed;
  z-index: 60;
  left: 10px; right: 10px; bottom: 10px;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 7px;
  border-radius: 24px;
  background: rgba(255,253,248,.93);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,.2);
  backdrop-filter: blur(18px);
}
.mobile-bar a, .mobile-bar button { border: 0; background: transparent; color: var(--green); min-height: 44px; border-radius: 17px; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.mobile-bar button { background: var(--green); color: #fff; }

.modal { border: 0; padding: 0; border-radius: 30px; max-width: 440px; width: calc(100vw - 32px); box-shadow: var(--shadow); background: transparent; }
.modal::backdrop { background: rgba(7,20,18,.58); backdrop-filter: blur(5px); }
.modal__inner { position: relative; padding: 32px; background: var(--paper); border-radius: 30px; }
.modal__inner h3 { font-size: 30px; line-height: 1.05; margin: 12px 0; letter-spacing: -.04em; }
.modal__inner p { color: var(--muted); line-height: 1.55; }
.modal__close { position: absolute; right: 16px; top: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--cream); font-size: 24px; color: var(--ink); }
.toast { position: fixed; z-index: 80; right: 18px; bottom: 24px; max-width: 360px; padding: 16px 18px; border-radius: 18px; background: var(--green); color: #fff; box-shadow: var(--shadow); transform: translateY(120px); opacity: 0; transition: .25s ease; }
.toast.is-visible { transform: translateY(0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .topline { display: none; }
  .nav { margin-top: 10px; }
  .hero { padding-top: 130px; min-height: auto; }
  .hero__grid, .booking-grid, .tourism-grid, .contacts-grid { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid, .ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav { border-radius: 28px; align-items: center; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    left: 12px; right: 12px; top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255,253,248,.96);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 14px 12px; border-radius: 14px; }
  .nav-menu .btn { margin-top: 6px; }
  .hero__actions .btn { flex: 1 1 180px; }
  .hero__content h1 { letter-spacing: -.045em; }
  .rooms-grid, .services-grid, .stats-grid, .ecosystem-grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr; }
  .service-card img { height: 230px; }
  .price-banner { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; }
  .footer { padding-bottom: 120px; }
}

@media (max-width: 560px) {
  :root { --radius: 22px; --container: min(100vw - 24px, 1180px); }
  .section { padding: 68px 0; }
  .hero { padding: 115px 0 54px; }
  .hero__shade { background: linear-gradient(0deg, rgba(9,31,28,.96) 0%, rgba(9,31,28,.62) 62%, rgba(9,31,28,.72) 100%); }
  .brand__text small { display: none; }
  .brand__text strong { font-size: 17px; }
  .brand__mark { width: 42px; height: 42px; }
  .quick-booking, .booking-form, .callback-form { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .section-head h2, .booking-copy h2, .tourism-card h2, .contacts-copy h2 { font-size: 34px; }
  .room-card img { height: 220px; }
  .steps li { grid-template-columns: 1fr; gap: 4px; }
  .tourism-card, .map-card { padding: 24px; }
  .toast { left: 12px; right: 12px; bottom: 84px; max-width: none; }
}
