:root {
  --paper: #f7f3ea;
  --soft: #ece4d5;
  --ink: #242722;
  --text: #565b53;
  --line: rgba(36,39,34,.18);
  --sage: #536b68;
  --white: #fffaf0;
  --display: Cambria, Georgia, serif;
  --body: Verdana, Geneva, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); overflow-x: hidden; }
body, h1, h2, p, a, span, small, b, label, input, button, li { overflow-wrap: break-word; word-break: normal; hyphens: none; }
h1, h2, p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; max-width: 100%; }
button, input { font: inherit; }

.site-head { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; min-height: 68px; padding: 10px clamp(18px,4vw,60px); background: rgba(247,243,234,.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.mark { font-family: var(--display); font-size: 22px; color: var(--sage); }
nav { display: flex; justify-content: center; gap: clamp(16px,3vw,38px); color: var(--text); font-size: 14px; }
.head-cta { padding: 12px 16px; background: var(--ink); color: var(--paper); font-size: 14px; }

.hero { position: relative; min-height: min(760px, calc(100svh - 68px)); display: grid; align-items: end; padding: clamp(22px,5vw,72px); overflow: hidden; }
.hero-image { position: absolute; inset: 0; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(247,243,234,.92), rgba(247,243,234,.56) 56%, rgba(36,39,34,.18)); }
.hero-panel { width: min(620px, 100%); padding: 0; background: transparent; border-left: 0; }
.label { margin: 0 0 12px; color: var(--sage); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(38px,5.2vw,72px); max-width: 640px; }
h2 { font-size: clamp(30px,3.6vw,52px); max-width: 820px; }
.lead, p, li { color: var(--text); font-size: 17px; line-height: 1.58; }
.lead { max-width: 560px; margin: 18px 0 0; color: #434840; }
.button, button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 0; cursor: pointer; }
.button.dark, button { background: var(--ink); color: var(--paper); margin-top: 22px; }

.route, .materials, .experience, .visit { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(30px,5vw,72px); padding: clamp(58px,8vw,112px) clamp(20px,5vw,72px); align-items: center; }
.room-map { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid var(--line); background: var(--white); }
.room-map div { min-height: 150px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.room-map b { color: var(--sage); font-size: 13px; }
.room-map span { display: block; margin-top: 26px; font-family: var(--display); font-size: 28px; }
.room-map small { color: var(--text); }
.materials { background: var(--soft); }
.materials img, .experience img { border: 1px solid var(--line); }
.experience { grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); }
.visit { align-items: start; border-top: 1px solid var(--line); background: var(--white); }
.contacts { display: grid; gap: 9px; margin-top: 22px; color: var(--text); }
.contacts a { color: var(--ink); }
.form { display: grid; gap: 12px; padding: 22px; background: var(--paper); border: 1px solid var(--line); }
label { display: grid; gap: 8px; color: var(--text); font-size: 13px; }
input { min-height: 46px; padding: 0 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }

@media (max-width: 760px) {
  .site-head { grid-template-columns: 1fr; gap: 10px; position: relative; }
  nav { justify-content: flex-start; flex-wrap: wrap; }
  .head-cta { width: fit-content; }
  .hero { min-height: auto; padding: 220px 20px 24px; }
  .hero-panel { max-width: calc(100vw - 40px); }
  .hero-panel { padding: 0; }
  h1 { font-size: clamp(34px,10vw,48px); }
  h2 { font-size: clamp(26px,8vw,38px); }
  .route, .materials, .experience, .visit { grid-template-columns: 1fr; padding: 56px 20px; }
  .room-map { grid-template-columns: 1fr; }
}
