:root {
  --bg: #faf5ef;
  --surface: #ffffff;
  --surface-alt: #f0e6da;
  --text: #241c14;
  --text-muted: #645648;
  --border: rgba(36, 28, 20, 0.12);
  --accent: #a8533a;
  --accent-2: #4f6b52;
  --secondary: #3a2c20;
  --on-accent: #ffffff;
  --deep: #2a2017;
  --radius: 10px;
  --radius-btn: 999px;
  --font-heading: Rockwell, "Courier Bold", Georgia, serif;
  --font-body: "Segoe UI", Arial, sans-serif;
  --max: 1160px;
  --section-pad: 112px;
  --header-h: 88px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--secondary);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.4px;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.14;
}

h2 {
  font-size: clamp(24px, 4vw, 38px);
}

h3 {
  font-size: clamp(20px, 2.5vw, 26px);
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
}

.wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.btn--ghost {
  background: transparent;
  color: var(--accent);
}

.btn--ghost:hover {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--block {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 46px;
  object-fit: contain;
}

.nav-center {
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.nav-contact a {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}

.nav-contact a:hover,
.nav-contact a[aria-current="page"] {
  color: var(--secondary);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--text);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-footer {
  background: var(--surface);
  border-top: 2px solid var(--accent);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
}

.site-footer__brand {
  max-width: 340px;
}

.site-footer__about {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 52ch;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
  justify-content: flex-end;
}

.site-footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

.site-footer__links a:hover {
  color: var(--accent);
}

.site-footer__rule {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0 0 1.5rem;
}

.site-footer__notice {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1rem;
  max-width: 72ch;
}

.site-footer__bottom {
  text-align: center;
  padding-top: 0.5rem;
}

.site-footer__copy {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.site-footer__adults {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.site-footer__requisites {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.site-footer__consent {
  margin: 0;
}

.site-footer__consent button,
button[data-cookie-settings] {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
}

.section--alt {
  background: var(--surface-alt);
}

.section--tight {
  padding: 4.5rem 0;
}

.reveal {
  opacity: 1;
  transition: opacity 240ms ease;
}

html.js .reveal {
  opacity: 0;
}

html.js .reveal.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  html.js .reveal {
    opacity: 1;
    transition: none;
  }
}

.hero {
  position: relative;
  padding: 5.5rem 0 7rem;
  border-bottom: 1px solid var(--border);
  overflow: visible;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem 3rem;
  align-items: start;
}

.hero__title {
  grid-column: 1 / -1;
  max-width: 16ch;
  margin-inline: 0;
  margin-bottom: 0;
  justify-self: start;
}

.hero__intro {
  grid-column: 2;
  max-width: 42ch;
  margin-inline: 0;
  color: var(--text-muted);
  margin-top: -0.5rem;
  justify-self: start;
}

.hero__notice {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--text-muted);
  max-width: 70ch;
  margin-top: 1.5rem;
}

.hero__photo {
  position: absolute;
  right: max(24px, calc((100% - var(--max)) / 2));
  bottom: -72px;
  width: min(320px, 38vw);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  z-index: 2;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-rows {
  display: flex;
  flex-direction: column;
}

.cat-row {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.cat-row:first-child {
  border-top: 1px solid var(--border);
}

.cat-row h3 {
  margin: 0;
  color: var(--text);
}

.cat-row p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.cat-row__link {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.amenities-lead {
  max-width: 58ch;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.amenity-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--surface);
}

.amenity-tile h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

.amenity-tile p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}

.approach {
  text-align: center;
}

.approach__lead {
  max-width: 58ch;
  margin: 0 auto 3rem;
  color: var(--text-muted);
}

.approach__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}

.approach__item h3 {
  margin-bottom: 0.75rem;
  color: var(--secondary);
}

.approach__item p {
  color: var(--text-muted);
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.step h3 {
  margin-bottom: 0.6rem;
}

.step p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 32ch;
  margin-inline: auto;
}

.page-head {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.page-head__intro {
  max-width: 62ch;
  margin-inline: 0;
  color: var(--text-muted);
  margin-top: 1rem;
}

.masonry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 2.5rem;
  padding: var(--section-pad) 0;
}

.masonry__item {
  display: flex;
  flex-direction: column;
  background: var(--surface);
}

.masonry__item--flip {
  flex-direction: column-reverse;
}

.masonry__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.masonry__body {
  padding: 2rem 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.masonry__body h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 0.35rem;
}

.masonry__meta {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.masonry__body p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.water-bands {
  padding: 0;
}

.water-band {
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}

.water-band__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.water-band img {
  width: min(100%, 640px);
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0 auto 2rem;
  border-radius: var(--radius);
}

.water-band__title {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 0.35rem;
}

.water-band__line {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.water-band p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.heritage-list {
  padding: var(--section-pad) 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.heritage-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--surface);
}

.heritage-row img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}

.heritage-row__text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.heritage-row__text h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin-bottom: 0.35rem;
}

.heritage-row__meta {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.heritage-row__text p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

.catalog-close {
  padding: 4rem 0 var(--section-pad);
  border-bottom: 1px solid var(--border);
}

.catalog-close p {
  max-width: 58ch;
  color: var(--text-muted);
}

.editorial-lead {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.editorial-lead__text {
  font-size: clamp(20px, 2.8vw, 28px);
  line-height: 1.55;
  font-family: var(--font-heading);
  max-width: 36ch;
  margin-inline: 0;
  color: var(--text);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem 3rem;
  padding: var(--section-pad) 0;
}

.editorial-block h2 {
  margin-bottom: 1rem;
}

.editorial-block p {
  color: var(--text-muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
}

.contact-intro p {
  color: var(--text-muted);
  max-width: 42ch;
}

.contact-email {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 1.05rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 14px;
  color: var(--text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  width: 100%;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-agree {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-muted);
}

.form-agree input {
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.form-agree label a {
  color: var(--accent);
}

.form-error {
  color: var(--accent);
  font-size: 13px;
  margin: 0;
  display: none;
}

.form-error.is-visible {
  display: block;
}

.form-actions {
  margin-top: 0.5rem;
}

.confirm-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.confirm-panel h2 {
  margin-bottom: 1rem;
}

.confirm-panel p {
  color: var(--text-muted);
}

.confirm-follow {
  margin-top: 1.5rem;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
}

.sitemap-col h2 {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  color: var(--secondary);
}

.sitemap-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-col li {
  margin-bottom: 0.65rem;
}

.sitemap-col a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.sitemap-col a:hover {
  color: var(--accent);
  border-bottom-color: var(--border);
}

.legal-body {
  padding: 4rem 0 var(--section-pad);
  border-bottom: 1px solid var(--border);
  max-width: 760px;
}

.legal-body h1 {
  margin-bottom: 0.5rem;
}

.legal-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
  font-size: clamp(22px, 3vw, 28px);
}

.legal-body h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
}

.legal-body p,
.legal-body li {
  color: var(--text-muted);
}

.consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem;
  pointer-events: none;
}

.consent[hidden] {
  display: none;
}

.consent__panel {
  pointer-events: auto;
  width: min(100%, 720px);
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

.consent__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.consent__text {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.consent__options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.consent__option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text);
}

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.consent__actions .btn {
  padding: 0.65rem 1.25rem;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .amenities-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__photo {
    width: min(280px, 34vw);
    bottom: -56px;
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-center,
  .nav-contact {
    display: none;
  }

  .site-header.is-open .nav-center {
    display: block;
    grid-column: 1 / -1;
  }

  .site-header.is-open .nav-contact {
    display: block;
    grid-column: 1 / -1;
    text-align: center;
    padding-bottom: 0.75rem;
  }

  .site-header.is-open .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding: 0.5rem 0 1rem;
  }

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

  .hero__intro {
    grid-column: 1;
  }

  .hero {
    padding-bottom: 10rem;
  }

  .hero__photo {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(280px, 70vw);
    margin: 2rem 0 0 auto;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 72px;
  }

  .wrap {
    width: min(100% - 32px, var(--max));
  }

  .cat-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

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

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

  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .steps::before {
    display: none;
  }

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

  .heritage-row {
    grid-template-columns: 96px 1fr;
  }

  .heritage-row img {
    width: 96px;
    height: 96px;
  }

  .heritage-row .btn {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }

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

  .site-footer__top {
    flex-direction: column;
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    padding-top: 3.5rem;
  }

  .consent__actions {
    flex-direction: column;
  }

  .consent__actions .btn {
    width: 100%;
  }

  .brand span {
    font-size: 0.95rem;
  }
}
