:root {
  --ink: #1b2420;
  --muted: #627067;
  --paper: #f4f6f2;
  --surface: #ffffff;
  --line: #ded8cb;
  --forest: #174b3d;
  --moss: #5f7a48;
  --clay: #9c4f37;
  --water: #2f6f78;
  --shadow: 0 18px 45px rgba(27, 36, 32, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(247, 244, 238, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  font-family: Georgia, serif;
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

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

.site-nav a {
  padding: 9px 13px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: #e4eadf;
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--forest);
}

.site-nav .nav-cta:hover {
  color: #fff;
  background: #0f352b;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  font-size: 22px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 24, 20, 0.76), rgba(12, 24, 20, 0.22) 58%, rgba(12, 24, 20, 0.05));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 12vh clamp(20px, 7vw, 92px);
  color: #fff;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero .eyebrow {
  color: #f4c7a5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--forest);
}

.button.primary:hover {
  background: #0f352b;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(54px, 8vw, 98px) clamp(20px, 7vw, 92px);
}

.intro-grid,
.story-layout,
.contacts-layout,
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

h2 {
  margin: 0 0 16px;
  font-family: Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
}

h3 {
  margin: 8px 0;
}

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

.feature-list article,
.card,
.contact-panel,
.booking-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(27, 36, 32, 0.06);
}

.feature-list span {
  color: var(--water);
  font-weight: 900;
}

.split-band,
.note-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--forest);
  color: #fff;
}

.split-band p,
.note-band p {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.split-band .button.primary {
  background: #fff;
  color: var(--forest);
}

.page-hero {
  padding: clamp(60px, 9vw, 112px) clamp(20px, 7vw, 92px) clamp(34px, 6vw, 72px);
  background: #e7ece4;
}

.page-hero.compact h1 {
  max-width: 900px;
  font-size: clamp(36px, 5.5vw, 62px);
}

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

.card {
  display: flex;
  flex-direction: column;
  min-height: 365px;
}

.card.featured {
  border-color: var(--moss);
  box-shadow: var(--shadow);
}

.card ul {
  margin: 10px 0 24px;
  padding-left: 20px;
}

.card strong {
  margin-top: auto;
  font-size: 22px;
  color: var(--forest);
}

.program-list {
  display: grid;
  gap: 16px;
}

.program-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.program-list strong {
  color: var(--clay);
  font-size: 20px;
  white-space: nowrap;
}

.booking-form {
  display: grid;
  gap: 22px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  width: 100%;
  margin-bottom: 4px;
  font-weight: 900;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(47, 111, 120, 0.2);
  border-color: var(--water);
}

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

.form-status {
  margin: 0;
  color: var(--forest);
  font-weight: 800;
}

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

.gallery-item {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #ddd;
  cursor: zoom-in;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

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

.crop-left img {
  object-position: 25% center;
}

.crop-right img {
  object-position: 78% center;
}

.crop-center img {
  object-position: center 40%;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(10, 15, 13, 0.88);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lightbox p {
  color: #fff;
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  color: #fff;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}

.story-layout img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contacts-layout {
  grid-template-columns: 0.75fr 1.25fr;
}

.map-wrap {
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ddd;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 7vw, 92px);
  color: rgba(255, 255, 255, 0.78);
  background: #101916;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .intro-grid,
  .story-layout,
  .contacts-layout,
  .booking-layout,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .hero {
    min-height: 760px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(12, 24, 20, 0.86), rgba(12, 24, 20, 0.18));
  }

  .hero-content {
    padding: 80px 20px 48px;
  }

  .split-band,
  .note-band,
  .site-footer,
  .program-list article {
    flex-direction: column;
    align-items: flex-start;
  }

  .split-band,
  .note-band,
  .site-footer {
    display: flex;
  }

  .program-list article,
  .form-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .button {
    min-height: 50px;
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 280px;
  }

  .lightbox img {
    max-height: 70vh;
    max-width: 100%;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    font-size: 32px;
  }

  .site-header {
    padding: 14px 16px;
  }

  .section {
    padding: 40px 16px;
  }
}
