/* =========================================================
   BASE COLORS & TOKENS
   ========================================================= */
:root {
  /* backgrounds */
  --bg-main: #f6f1e8;
  --bg-header: #f4e8d8;
  --bg-nav: rgba(244, 232, 216, 0.95);
  --bg-hero: #f6f1e8;
  --bg-panel: #f2e7d8;
  --bg-panel-soft: #f8efe3;
  --bg-sidebar: #ebdfcf;
  --bg-footer: #3a2f2a;

  /* text */
  --text-main: #4b3f37;
  --text-muted: #7d7067;
  --text-light: #ffffff;

  /* accents */
  --accent: #9c3b32;
  --accent-hover: #842a23;
  --accent-soft: #c65b4d;

  /* borders & shadows */
  --border-soft: #ddc9b6;
  --border-strong: #c1aa94;
  --shadow-soft: 0 2px 6px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.08);

  /* nav / slider */
  --nav-text: #4b3f37;
  --nav-text-hover: #9c3b32;

  --radius-small: 4px;
  --radius-medium: 6px;
  --radius-large: 10px;

  --transition-fast: 0.18s ease-out;
  --transition-normal: 0.25s ease-out;
}

/* =========================================================
   RESET / BASE
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Lato", "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
}

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-bg {
  background: var(--bg-panel-soft);
  border-top: 5px solid var(--accent);
  padding: 32px 0 24px;
}

/* main 2-column layout */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, 1fr);
  gap: 24px;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 8px 12px;
  background: #000;
  color: #fff;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  background: var(--bg-header);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* шапка: лого слева/по центру на десктопе и блок контактов справа */
.header-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* Логотип строго по центру */
  padding: 18px 16px 12px;
}

/* центрированный логотип */
.logo-center {
  position: relative;
  z-index: 1;
}

.logo-center img {
  height: auto;
  display: block;
}

/* phone / contact */
.header-right {
  position: static;
  transform: none;
  margin-top: 10px;
  align-items: center;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.contact-small {
  margin: 0;
  font-size: 0.9rem;
  color: var(--accent-soft);
}

.phone-link {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.2rem;
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.phone-link .phone {
  letter-spacing: 0.02em;
}

.phone-link:hover {
  color: var(--accent-hover);
  transform: translateY(-1px);
}
/* =========================================================
   TRANSPORT ICONS — CUSTOM ADAPTATION
   ========================================================= */
.transport-icon {
  width: 38px;
  height: 38px;
  stroke: var(--text-main);
  fill: none;
  stroke-width: 1.8;
  display: inline-block;
  transition: transform var(--transition-normal),
    stroke var(--transition-normal), color var(--transition-normal);
  color: var(--text-main);
}

.transport-icon:hover {
  transform: scale(1.08) rotate(-3deg);
  color: var(--accent);
  stroke: var(--accent);
}

/* подписи N / S / E / W */
.transport-label {
  font-size: 11px;
  font-weight: 700;
  fill: var(--text-main);
  letter-spacing: 0.03em;
  transition: fill var(--transition-normal);
}

.transport-icon:hover .transport-label {
  fill: var(--accent);
}

/* блок направления */
.direction-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-soft);
}

.direction-block h4 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--accent);
}

.direction-block p {
  margin-top: 4px;
  color: var(--text-main);
}

/* social icons (header) */
.social-buttons {
  display: flex;
  gap: 6px;
}

.social-buttons svg {
  width: 30px;
  height: 30px;
  fill: var(--accent);
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.social-buttons a:hover svg {
  transform: translateY(-1px);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.24));
}

/* Modern Gallery Grid */
.cool-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

/* Smooth fade-in for images */
.cool-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-medium);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* Image loaded animation */
.cool-gallery img.loaded {
  opacity: 1;
  transform: scale(1);
}

/* Hover effect */
.cool-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
}

/* Controls */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 32px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}
.lightbox-prev {
  left: 40px;
}
.lightbox-next {
  right: 40px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent);
  color: #fff;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--nav-text);
  display: block;
}

.nav-toggle-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nav-text);
  opacity: 0.8;
}

/* main menu (desktop) */
/* ================= DESKTOP NAV (ORIGINAL) ================= */

.site-nav-wrapper {
  background: var(--bg-nav);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid var(--border-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
}

/* burger hidden on desktop */
.nav-toggle {
  display: none;
}

/* main menu */
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.menu-close {
  display: none;
}

/* top-level links */
.menu-item > a {
  display: inline-block;
  padding: 12px 0;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nav-text);
  position: relative;
}
.site-nav .menu > .menu-item > a {
  color: var(--nav-text);
}

/* hover / active */
.site-nav .menu > .menu-item > a:hover,
.site-nav .menu > .menu-item.menu-item--active > a,
.site-nav .menu > .menu-item:focus-within > a {
  color: var(--nav-text-hover);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.25);
}
/* underline */
.menu-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-normal);
}

.menu-item > a:hover::after,
.menu-item:focus-within > a::after,
.menu-item.menu-item--active > a::after {
  width: 100%;
}

/* dropdowns */
.menu-item--has-children {
  position: relative;
}

.sub-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;

  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;

  background: var(--accent);
  border-radius: 0 0 var(--radius-medium) var(--radius-medium);
  box-shadow: var(--shadow-card);

  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast),
    visibility var(--transition-fast);

  z-index: 1000;
}

.site-nav .sub-menu a {
  display: block;
  padding: 10px 16px;

  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;

  color: #ffffff;
  text-transform: none;
}

.site-nav .sub-menu a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.site-nav .menu-item--has-children:hover > .sub-menu,
.site-nav .menu-item--has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav .sub-menu .menu-item--has-children {
  position: relative;
}

.site-nav .sub-menu .menu-item--has-children > .sub-menu {
  top: 0;
  left: 100%;
  border-radius: var(--radius-medium);
}

.menu-item--has-children:hover > .sub-menu,
.menu-item--has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* nested submenu */
.sub-menu .menu-item--has-children > .sub-menu {
  top: 0;
  left: 100%;
  border-radius: var(--radius-medium);
}

/* =========================================================
   HERO / SLIDER
   ========================================================= */
.hero {
  background: var(--bg-hero);
  padding: 24px 0 30px;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 2fr);
}

/* slider */
.slider {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-large);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 10px 10px 16px;
}

.slides {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-medium);
  width: 100%;
  min-height: 300px; /* Prevent layout shift */
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.slider img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Navigation Arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-normal);
  opacity: 0.8;
}

.slider-nav:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.slider-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-nav:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.slider-nav svg {
  width: 24px;
  height: 24px;
  stroke-width: 3;
  display: block;
}

.slider-nav--prev {
  left: 20px;
}

.slider-nav--next {
  right: 20px;
}

/* Mobile slider adjustments */
@media (max-width: 768px) {
  .slider {
    padding: 8px 8px 14px;
  }

  .slides {
    min-height: 250px;
  }

  .slider-nav {
    width: 40px;
    height: 40px;
  }

  .slider-nav svg {
    width: 22px;
    height: 22px;
  }

  /* .slider-nav--prev {
    left: 10px;
  } */

  /* .slider-nav--next {
    right: 10px;
  } */
}

/* Hide arrows on very small screens */
@media (max-width: 635px) {
  .slider {
    padding: 6px 6px 12px;
  }

  .slides {
    min-height: 200px;
  }

  .slider-nav {
    width: 36px;
    height: 36px;
  }

  .slider-nav svg {
    width: 20px;
    height: 20px;
  }

  .slider-nav--prev {
    left: 10px;
  }

  .slider-nav--next {
    right: 10px;
  }

  .slider-pagination {
    margin-top: 0.5rem;
    gap: 0.4rem;
  }

  .slider-pagination button {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
}

@media (max-width: 500px) {
  .slides {
    min-height: 150px;
  }
}

@media (max-width: 400px) {
  .slides {
    min-height: 120px;
  }
}

/* точки под слайдером */
.slider-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  list-style: none;
  padding: 0;
}

.slider-pagination button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  font-size: 12px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  transition: background 0.3s ease, transform 0.2s ease;
}

.slider-pagination button[aria-current="true"] {
  background: rgba(130, 36, 31, 0.9);
  transform: scale(1.05);
}

/* feature blocks under slider */
.feature-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.feature-block {
  background: var(--bg-panel);
  border-radius: var(--radius-medium);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 16px 16px 14px;
}

.feature-block h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.feature-block p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =========================================================
   MAIN CONTENT
   ========================================================= */
.content-main {
  background: #fffaf4;
  border-radius: var(--radius-large);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  padding: 22px 22px 20px;
}

.content-main h2 {
  text-align: center;
}

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

.content-header h1 {
  margin: 0 0 8px;
  font-size: 2.1rem;
  line-height: 1.2;
  color: var(--accent);
  text-shadow: 0 2px 1px rgba(0, 0, 0, 0.15);
}

.content-subtitle {
  margin: 0 0 18px;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-main);
}

/* body text */
.content-body p {
  margin: 0 0 14px;
  font-size: 0.98rem;
}

/* address */
.content-address {
  margin-top: 12px;
}

.address a {
  font-weight: 600;
  font-size: 0.95rem;
}
.map-container {
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  margin-top: 24px;
}

.map-spacing {
  margin-top: 20px;
} 

/* =========================================================
   SIDEBAR
   ========================================================= */
.content-sidebar {
  background: var(--bg-sidebar);
  border-radius: var(--radius-large);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  padding: 18px 18px 16px;
}

.sidebar-section + .sidebar-section {
  margin-top: 18px;
}

.sidebar-section h3,
.sidebar-section h4 {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-section p {
  margin: 0 0 10px;
  font-size: 0.92rem;
}

/* booking form */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guest-counter {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-small);
  border: 1px solid var(--border-soft);
  background: #fffdf8;
  overflow: hidden;
}

.guest-counter input[type="number"] {
  width: 48px;
  text-align: center;
  border: none;
  padding: 6px 0;
  font-size: 0.9rem;
  background: transparent;
}

.counter-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.counter-btn:hover {
  background: rgba(156, 59, 50, 0.08);
  color: var(--accent-hover);
}

.counter-btn:disabled {
  cursor: default;
  opacity: 0.45;
  background: transparent;
}

/* общие строки */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label,
.form-field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

/* Adults / Children / Rooms – в одну строку */
.form-row-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.form-row-inline .form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* поля */
/* только для бронирования */
.booking-form input[type="date"],
.booking-form input[type="number"] {
  border-radius: var(--radius-small);
  border: 1px solid var(--border-soft);
  padding: 6px 8px;
  font-size: 0.9rem;
  background: #fffdf8;
  color: var(--text-main);
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

/* только для newsletter */
.newsletter-form input[type="email"],
#newsletter-email {
  border-radius: var(--radius-small);
  border: 1px solid var(--border-soft);
  padding: 6px 8px;
  font-size: 0.9rem;
}

/* числовые поля – по центру и без стрелок */
.booking-form input[type="number"] {
  text-align: center;
  appearance: textfield;
}

.booking-form input[type="number"]::-webkit-outer-spin-button,
.booking-form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.booking-form input:focus,
.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 2px rgba(156, 59, 50, 0.15);
  background: #ffffff;
}

/* кнопка формы бронирования */
.form-actions {
  margin-top: 8px;
}

.form-actions .button {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 6px;
}

/* newsletter */
.newsletter-form .form-row label {
  font-size: 0.82rem;
}

/* employment link */
.sidebar-employment .employment-link {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.button {
  display: inline-block;
  background: var(--accent);
  color: var(--text-light);
  border-radius: var(--radius-medium);
  padding: 7px 14px;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
  transition: background var(--transition-normal),
    transform var(--transition-fast), box-shadow var(--transition-fast);
}

.button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

a.button {
  text-align: center;
}

/* Keep button text white even though it's an <a> */
a.button,
a.button:visited,
a.button:hover,
a.button:focus,
a.button:active {
  color: var(--text-light);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--bg-footer);
  color: var(--text-light);
  margin-top: 24px;
  padding: 18px 0 14px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.footer-nav a {
  color: var(--text-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-nav a:hover {
  color: #ffefe6;
}

.footer-bottom {
  margin-top: 10px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a {
  color: #ffede5;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* DESKTOP ONLY: logo centered, "Call us" block on the right */
@media (min-width: 961px) {
  .header-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* logo stays centered */
  }

  .header-right {
    position: absolute;
    right: 16px; /* matches .container padding */
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 6px;
  }

  .content-main img:first-of-type {
    width: 100%;
    object-fit: cover; /* no distortion, just crop */
    border-radius: var(--radius-medium);
  }
}

/* BIG SCREENS: reduce empty sides by widening the container */
@media (min-width: 1200px) {
  .container {
    max-width: 1220px;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1580px;
  }
}

/* tablets */
@media (max-width: 960px) {
  .header-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-right {
    align-items: center;
  }

  .content-grid {
    grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1.3fr);
  }

  .feature-blocks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* phones / narrow */
@media (max-width: 768px) {
  /* ================= HEADER ================= */

  .header-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 12px 8px;
  }

  .logo-center img {
    max-width: 180px;
  }

  .header-right {
    position: static;
    transform: none;
    align-items: center;
    margin-top: 8px;
    gap: 4px;
  }

  /* ================= MOBILE NAV ================= */

  .site-nav-wrapper {
    position: relative;
    z-index: 50;
  }

  .site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 64px;
  }

  /* burger */
  .site-nav .nav-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .site-nav .nav-toggle-label {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;

    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: var(--accent-hover);
    opacity: 0.75;
  }

  .site-nav .nav-toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--nav-text);
    display: none;
    margin: 2px 0;
    transition: transform 0.3s ease, opacity 0.2s ease;
  }

  /* ===== MENU CONTAINER ===== */

  .menu {
    position: fixed;
    inset: 0;
    z-index: 50;
    will-change: opacity, transform;
    display: flex;
    flex-direction: column;

    background: var(--bg-panel-soft);
    padding-top: 80px;

    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;

    overflow-y: auto;
  }

  /* top-level active */
  .menu > .menu-item.menu-item--active > a {
    background-color: var(--accent);
    color: #ffffff !important;
  }

  /* hover / tap */
  .menu > .menu-item > a:hover,
  .menu > .menu-item > a:focus {
    background-color: var(--accent);
    color: #ffffff !important;
  }

  /* submenu background EXACTLY like desktop */
  .menu .sub-menu {
    background-color: var(--accent);
  }

  /* submenu links */
  .menu .sub-menu a {
    color: #ffffff;
  }

  .menu .sub-menu a:hover {
    background-color: rgba(255, 255, 255, 0.15);
  }
  /* overlay */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 40;
  }

  body.nav-open::before {
    opacity: 1;
    pointer-events: auto;
  }

  /* ========== CLOSE BUTTON ========== */

  .menu-close {
    position: fixed;
    top: calc(16px + env(safe-area-inset-top));
    right: calc(16px + env(safe-area-inset-right));

    z-index: 9999; /* КРИТИЧНО */

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    font-size: 28px;
    line-height: 1;
    color: var(--text-main);

    background: none;
    border: none;
    cursor: pointer;

    opacity: 0;
    pointer-events: none;
  }

  body.nav-open .menu-close {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .menu {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  /* top-level links */
  .menu > .menu-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 18px;
    font-size: 1.05rem;
    font-weight: 700;

    color: var(--text-main);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  /* accordion arrow */
  .menu-item--has-children > a::after {
    content: "▾";
    transition: transform 0.25s ease;
  }

  .menu-item--has-children.menu-open > a::after {
    transform: rotate(180deg);
  }

  /* submenus */
  .sub-menu {
    display: none;
    background: var(--accent);
  }

  .sub-menu a {
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .sub-menu a:last-child {
    border-bottom: none;
  }

  .site-nav .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  /* ===== TOP LEVEL ITEMS ===== */

  .menu-item > a {
    padding: 16px 18px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  body.nav-open {
    overflow: hidden;
  }

  /* ===== SUB MENUS ===== */

  .menu-item--has-children.menu-open > .sub-menu {
    display: block;
  }

  .menu-item--has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .menu-item--has-children.menu-open > a::after {
    transform: rotate(180deg);
  }

  .menu-item.menu-open > .sub-menu {
    display: block;
  }

  .menu-item--has-children > .sub-menu {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  /* ================= OTHER MOBILE STYLES (UNCHANGED) ================= */

  .map-container-large iframe {
    height: 300px;
  }

  .button {
    font-size: 0.95rem;
    padding: 12px;
  }

  .hero .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-blocks {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-sidebar {
    background: #fff;
    border: 2px solid var(--accent-soft);
  }

  .sidebar-section h3 {
    text-align: center;
  }

  .form-row-inline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-small {
    display: none;
  }

  .guest-counter {
    justify-content: space-between;
  }

  .counter-btn {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  .content-body p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .content-main {
    padding: 18px;
  }

  .booking-form input[type="date"] {
    padding: 10px;
    font-size: 1rem;
  }

  .phone-link {
    font-size: 1.35rem;
  }
}
