:root {
  --forest: #173f35;
  --forest-2: #24594b;
  --orange: #c95f32;
  --orange-dark: #9f4524;
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --ink: #22332e;
  --muted: #68766f;
  --line: #dde4df;
  --white: #fff;
  --shadow: 0 20px 55px rgba(25, 51, 43, .12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(23, 63, 53, .08);
  background: rgba(255, 253, 248, .95);
  backdrop-filter: blur(16px);
}
.header-row { min-height: 80px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 48% 52%;
  color: var(--white);
  background: var(--orange);
  font: 700 23px/1 Georgia, serif;
}
.brand strong { display: block; color: var(--forest); font: 700 19px/1.1 Georgia, serif; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.main-menu { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.main-menu a { position: relative; color: #344940; font-size: 13px; font-weight: 650; text-decoration: none; }
.main-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--orange); transition: right .2s ease; }
.main-menu a:hover::after { right: 0; }
.header-contact { display: grid; justify-items: end; margin-left: 12px; }
.header-contact small { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.header-contact a { margin-top: 4px; color: var(--forest); font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.menu-button { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.menu-button span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--forest); }

.hero { position: relative; min-height: 700px; display: grid; align-items: center; overflow: hidden; color: var(--white); }
.hero-image { position: absolute; inset: 0; background: url("./assets/images/hero.jpg") center/cover no-repeat; transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 34, 28, .86) 0%, rgba(7, 34, 28, .56) 48%, rgba(7, 34, 28, .12) 80%), linear-gradient(0deg, rgba(12, 35, 28, .5), transparent 45%); }
.hero-content { position: relative; z-index: 1; padding-block: 110px 74px; }
.eyebrow { margin: 0 0 12px; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: #ffd0b6; }
.hero h1 { max-width: 760px; margin: 0; font: 500 clamp(48px, 6vw, 78px)/1.02 Georgia, serif; letter-spacing: -.035em; }
.hero-copy { max-width: 610px; margin: 25px 0 0; color: rgba(255,255,255,.84); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 0; border-radius: 13px; color: var(--white); background: var(--orange); box-shadow: 0 14px 30px rgba(146, 58, 25, .28); font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--orange-dark); }
.button-glass { border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.09); box-shadow: none; backdrop-filter: blur(10px); }
.button-glass:hover { background: rgba(255,255,255,.18); }
.hero-facts { display: flex; gap: 0; max-width: 720px; margin: 64px 0 0; padding: 0; list-style: none; }
.hero-facts li { min-width: 180px; padding: 4px 28px; border-left: 1px solid rgba(255,255,255,.22); }
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
.hero-facts strong { display: block; font: 600 20px/1.2 Georgia, serif; }
.hero-facts span { display: block; margin-top: 4px; color: rgba(255,255,255,.64); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.booking-section { padding: 68px 0 76px; background: var(--cream); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); align-items: end; gap: 60px; margin-bottom: 34px; }
.section-heading h2, .split-copy h2, .family-layout h2, .contact-card h2, .reviews-copy h2 { margin: 0; color: var(--forest); font: 500 clamp(36px, 4vw, 52px)/1.08 Georgia, serif; letter-spacing: -.025em; }
.section-heading > p, .split-copy > p, .family-layout > div > p, .reviews-copy > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.booking-shell { position: relative; z-index: 2; }
[data-stayget-booking] { display: block; width: 100%; }

.benefits-section { padding: 0 0 20px; background: var(--cream); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(23,63,53,.11); border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.58); }
.benefits-grid article { min-height: 220px; padding: 28px; border-left: 1px solid rgba(23,63,53,.11); }
.benefits-grid article:first-child { border-left: 0; }
.benefits-grid article > span { color: var(--orange); font: 700 12px/1 Georgia, serif; }
.benefits-grid h3 { margin: 28px 0 12px; color: var(--forest); font: 600 23px/1.2 Georgia, serif; }
.benefits-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.section { padding: 104px 0; }
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.room-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 12px 40px rgba(31, 60, 51, .07); }
.room-card img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.room-card > div { padding: 24px 24px 26px; }
.room-card.featured { transform: translateY(-10px); border-color: rgba(201,95,50,.35); box-shadow: var(--shadow); }
.card-kicker { margin: 0 0 7px; color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.room-card h3 { margin: 0; color: var(--forest); font: 600 28px/1.2 Georgia, serif; }
.room-card p:not(.card-kicker) { min-height: 64px; margin: 12px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.room-card a, .text-link { color: var(--orange); font-size: 12px; font-weight: 800; text-decoration: none; }

.warm-section { background: #f3e7d7; }
.split-layout { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; }
.split-images { position: relative; min-height: 540px; }
.split-main { width: 88%; height: 500px; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.split-small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1.15; object-fit: cover; border: 8px solid #f3e7d7; border-radius: 20px; }
.split-copy > p { margin-top: 22px; }
.check-list { display: grid; gap: 13px; margin: 26px 0 28px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: #43574f; font-size: 13px; line-height: 1.5; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -2px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--forest-2); font-size: 10px; }

.spa-section { color: var(--white); background: var(--forest); }
.light-heading h2 { color: var(--white); }
.light-heading > p { color: rgba(255,255,255,.66); }
.spa-gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, 235px); gap: 14px; }
.spa-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 18px; }
.spa-gallery .spa-wide { grid-row: 1 / 3; }
.spa-gallery figure:nth-child(4) { grid-column: 3; grid-row: 2; }
.spa-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.spa-gallery figure:hover img { transform: scale(1.035); }
.spa-gallery figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 99px; background: rgba(10,36,29,.68); backdrop-filter: blur(9px); font-size: 10px; font-weight: 700; }

.family-section { background: var(--paper); }
.family-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.family-layout > div > p { margin-top: 22px; }
.family-cards { display: grid; gap: 12px; }
.family-cards article { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 22px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.family-cards strong { color: var(--orange); font: 600 20px/1.2 Georgia, serif; }
.family-cards span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.reviews-section { background: #edf3ef; }
.reviews-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 70px; }
.reviews-copy > p { margin-top: 20px; }
.rating-card { display: grid; gap: 5px; margin-top: 26px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.rating-card strong { color: var(--forest); }
.rating-card span { color: var(--muted); font-size: 11px; }
.reviews-widget { position: relative; height: 620px; overflow: hidden; border: 1px solid #e3e7e4; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.reviews-widget iframe { width: 100%; height: 100%; border: 0; pointer-events: none; }
.interaction-shield { position: absolute; inset: 0; z-index: 2; background: transparent; }

.contacts-section { background: var(--paper); }
.contacts-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 18px; }
.contact-card { display: flex; flex-direction: column; justify-content: center; min-height: 540px; padding: 45px; border-radius: 24px; color: var(--white); background: var(--forest); }
.contact-card .eyebrow { color: #f1a17c; }
.contact-card h2 { color: var(--white); }
.contact-card address { max-width: 410px; margin-top: 20px; color: rgba(255,255,255,.68); font-size: 13px; font-style: normal; line-height: 1.7; }
.large-phone { margin-top: 28px; color: var(--white); font: 600 26px/1.2 Georgia, serif; text-decoration: none; }
.messenger-row { display: flex; gap: 10px; margin-top: 25px; }
.messenger { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border-radius: 11px; color: var(--white); font-size: 11px; font-weight: 800; text-decoration: none; }
.messenger.telegram { background: #229ed9; }
.messenger.max { background: #7a5cff; }
.contact-note { margin: 22px 0 0; color: rgba(255,255,255,.52); font-size: 11px; line-height: 1.6; }
.map-widget { position: relative; min-height: 540px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #e6eddf; }
.map-widget iframe { width: 100%; height: 100%; min-height: 540px; border: 0; pointer-events: none; }
.map-controls { position: absolute; z-index: 4; right: 18px; top: 18px; display: grid; overflow: hidden; border: 1px solid rgba(23,63,53,.15); border-radius: 12px; box-shadow: 0 8px 22px rgba(23,63,53,.16); }
.map-controls button { width: 45px; height: 45px; border: 0; border-bottom: 1px solid var(--line); color: var(--forest); background: var(--white); font-size: 22px; font-weight: 600; cursor: pointer; }
.map-controls button:last-child { border-bottom: 0; }
.map-controls button:hover { background: var(--cream); }
.map-caption { position: absolute; z-index: 4; left: 18px; bottom: 18px; padding: 8px 11px; border-radius: 99px; color: #50645b; background: rgba(255,255,255,.92); font-size: 9px; font-weight: 700; }

.site-footer { padding: 64px 0 22px; color: rgba(255,255,255,.72); background: #102d26; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 70px; }
.footer-brand .brand-mark { background: var(--orange); }
.footer-brand strong { color: var(--white); }
.footer-brand small { color: rgba(255,255,255,.45); }
.footer-grid > div > p { margin: 18px 0 0; font-size: 11px; }
.footer-links, .footer-contacts { display: grid; align-content: start; gap: 11px; }
.footer-links strong, .footer-contacts strong { margin-bottom: 4px; color: var(--white); font-size: 12px; }
.footer-links a, .footer-contacts a { font-size: 11px; text-decoration: none; }
.footer-links a:hover, .footer-contacts a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.42); font-size: 9px; }

.floating-contacts { position: fixed; z-index: 90; right: 20px; bottom: 20px; display: grid; gap: 9px; }
.floating-contacts a { width: 50px; height: 50px; display: grid; place-items: center; border: 3px solid var(--white); border-radius: 50%; color: var(--white); box-shadow: 0 10px 24px rgba(0,0,0,.18); font-size: 12px; font-weight: 900; text-decoration: none; }
.float-phone { background: var(--orange); font-size: 20px !important; }
.float-telegram { background: #229ed9; }
.float-max { background: #7a5cff; }

.cookie-banner { position: fixed; z-index: 200; left: 20px; right: 20px; bottom: 20px; max-width: 820px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: 0 22px 70px rgba(23,63,53,.22); }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { display: block; color: var(--forest); font-size: 13px; }
.cookie-banner p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.cookie-banner p a { color: var(--orange); }
.cookie-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.button-small { min-height: 40px; padding: 0 18px; font-size: 11px; }
.button-text { border: 0; color: var(--muted); background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }

.legal-page { min-height: 100vh; background: var(--cream); }
.legal-header { padding: 24px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.legal-content { max-width: 900px; margin: 0 auto; padding: 70px 20px 90px; }
.legal-content h1 { margin: 0 0 14px; color: var(--forest); font: 500 clamp(36px, 5vw, 56px)/1.08 Georgia, serif; }
.legal-content h2 { margin: 36px 0 12px; color: var(--forest); font: 600 23px/1.25 Georgia, serif; }
.legal-content p, .legal-content li { color: #4d5e57; font-size: 13px; line-height: 1.8; }
.legal-content a { color: var(--orange); }
.legal-note { padding: 18px 20px; border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0; background: var(--white); }
.legal-requisites { margin-top: 30px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }

@media (max-width: 980px) {
  .header-row { gap: 18px; }
  .main-menu { gap: 16px; }
  .main-menu a { font-size: 11px; }
  .header-contact { display: none; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid article:nth-child(3) { border-left: 0; border-top: 1px solid rgba(23,63,53,.11); }
  .benefits-grid article:nth-child(4) { border-top: 1px solid rgba(23,63,53,.11); }
  .split-layout, .family-layout { gap: 45px; }
  .reviews-layout, .contacts-layout { grid-template-columns: 1fr; }
  .reviews-layout { gap: 35px; }
  .reviews-widget { height: 580px; }
  .contact-card { min-height: 0; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-row { min-height: 68px; }
  .brand-mark { width: 38px; height: 38px; font-size: 20px; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 8px; }
  .menu-button { display: block; }
  .main-menu { position: fixed; z-index: 101; left: 14px; right: 14px; top: 74px; display: grid; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s ease; }
  .main-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-menu a { padding: 14px 12px; border-bottom: 1px solid #eef1ef; font-size: 13px; }
  .main-menu a:last-child { border-bottom: 0; }
  .main-menu a::after { display: none; }
  .hero { min-height: 650px; }
  .hero-image { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,34,28,.87), rgba(7,34,28,.45)), linear-gradient(0deg, rgba(7,34,28,.75), transparent); }
  .hero-content { padding-block: 92px 48px; }
  .hero h1 { font-size: clamp(43px, 14vw, 62px); }
  .hero-copy { font-size: 15px; line-height: 1.65; }
  .hero-actions .button { flex: 1 1 150px; }
  .hero-facts { margin-top: 45px; }
  .hero-facts li { min-width: 0; flex: 1; padding: 4px 12px; }
  .hero-facts strong { font-size: 15px; }
  .hero-facts span { font-size: 7px; }
  .booking-section { padding: 54px 0 60px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 26px; }
  .section-heading h2, .split-copy h2, .family-layout h2, .contact-card h2, .reviews-copy h2 { font-size: 38px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefits-grid article { min-height: 0; padding: 23px; border-left: 0; border-top: 1px solid rgba(23,63,53,.11); }
  .benefits-grid article:first-child { border-top: 0; }
  .benefits-grid h3 { margin-top: 15px; }
  .section { padding: 72px 0; }
  .room-grid { grid-template-columns: 1fr; }
  .room-card.featured { transform: none; }
  .room-card p:not(.card-kicker) { min-height: 0; }
  .split-layout, .family-layout { grid-template-columns: 1fr; gap: 42px; }
  .split-images { min-height: 400px; }
  .split-main { width: 92%; height: 380px; }
  .split-small { width: 48%; }
  .spa-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 170px 170px; }
  .spa-gallery .spa-wide { grid-column: 1 / 3; grid-row: 1; }
  .spa-gallery figure:nth-child(4) { grid-column: auto; grid-row: auto; }
  .family-cards article { grid-template-columns: 110px 1fr; padding: 18px; }
  .reviews-widget { height: 540px; }
  .contact-card { padding: 32px 24px; }
  .large-phone { font-size: 24px; }
  .map-widget, .map-widget iframe { min-height: 470px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; margin-top: 38px; }
  .floating-contacts { right: 12px; bottom: 12px; }
  .floating-contacts a { width: 46px; height: 46px; }
  .floating-contacts { transition: opacity .2s ease, transform .2s ease; }
  .floating-contacts.is-hidden-over-booking { opacity: 0; pointer-events: none; transform: translateX(75px); }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; align-items: stretch; flex-direction: column; gap: 14px; padding: 18px; }
  .cookie-actions { justify-content: space-between; }
}

@media (max-width: 420px) {
  .brand small { display: none; }
  .hero-facts li:nth-child(2) { display: none; }
  .spa-gallery { grid-template-columns: 1fr; grid-template-rows: 240px repeat(3, 180px); }
  .spa-gallery .spa-wide { grid-column: 1; }
  .family-cards article { grid-template-columns: 1fr; gap: 7px; }
  .messenger-row { flex-direction: column; }
  .reviews-widget { height: 500px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
