:root {
  --bg: oklch(97% 0.018 70);
  --surface: oklch(99% 0.008 70);
  --fg: oklch(22% 0.02 50);
  --muted: oklch(50% 0.018 50);
  --border: oklch(90% 0.014 70);
  --accent: oklch(64% 0.13 28);
  --accent-ink: oklch(24% 0.025 42);
  --metal: oklch(62% 0.018 72);
  --graphite: oklch(18% 0.018 50);

  --font-display: 'Tiempos Headline', 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Söhne', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --container: 1160px;
  --page-gutter: clamp(18px, 4vw, 48px);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;

  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 18px;
  --space-lg: 26px;
  --space-xl: 38px;
  --section-padding: clamp(36px, 5vw, 58px);
}

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

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font: 16px/1.55 var(--font-body);
}

a {
  color: inherit;
  overflow-wrap: break-word;
}

img,
svg,
iframe {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--space-lg);
  align-items: center;
  padding: 14px var(--page-gutter);
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklch, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  min-width: 0;
  flex-direction: column;
  color: var(--graphite);
  font: 700 22px/1 var(--font-display);
  letter-spacing: .01em;
  text-decoration: none;
}

.logo small {
  margin-top: 3px;
  color: var(--muted);
  font: 700 11px/1 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  min-width: 0;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: 14px;
}

.site-nav a,
.header-phone {
  color: var(--graphite);
  text-decoration: none;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  flex-shrink: 0;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-ink);
  font-weight: 800;
}

.header-phone {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--surface);
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  inline-size: 44px;
  block-size: 44px;
  min-inline-size: 44px;
  min-block-size: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0;
  background: var(--graphite);
  color: var(--surface);
  cursor: pointer;
}

.menu-toggle-line {
  display: block;
  inline-size: 18px;
  block-size: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), opacity 140ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.container,
.breadcrumbs {
  width: min(var(--container), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.breadcrumbs {
  margin-top: var(--space-md);
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs span {
  margin-inline: var(--space-xs);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--graphite);
  font-family: var(--font-display);
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 {
  max-width: 920px;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.12;
}

h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.16;
}

h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.18;
}

p {
  margin: 0;
}

.eyebrow {
  margin: 0 0 var(--space-sm);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lead {
  max-width: 720px;
  margin-top: var(--space-md);
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  padding-block: clamp(28px, 4.5vw, 50px) clamp(34px, 4.5vw, 54px);
}

.hero-copy,
.hero > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.footer-grid > * {
  min-width: 0;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.button,
.button-secondary {
  display: inline-flex;
  min-height: 46px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.button-secondary {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--graphite);
}

.hero-card,
.booking-strip,
.card,
.room-card,
.notice,
.form-card,
.map-box,
.table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.hero-card,
.media-card,
.map-box {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.media-card {
  position: relative;
}

.hero-card.media-card,
.map-box.media-card {
  aspect-ratio: 4 / 3;
  min-height: 340px;
}

.site-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  background: color-mix(in oklch, var(--bg) 80%, var(--border));
  object-fit: cover;
}

.hero-photo,
.contact-photo,
.media-card > .site-photo {
  height: 100%;
  min-height: 100%;
  aspect-ratio: 4 / 3;
}

.location-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  object-fit: cover;
}

.photo-caption {
  position: absolute;
  right: var(--space-md);
  bottom: var(--space-md);
  left: var(--space-md);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}

.photo-caption > * {
  display: grid;
  align-content: center;
  min-width: 0;
  border: 1px solid color-mix(in oklch, white 50%, transparent);
  border-radius: 14px;
  padding: 14px 16px;
  background: color-mix(in oklch, var(--surface) 90%, transparent);
  box-shadow: 0 16px 30px color-mix(in oklch, black 12%, transparent);
  backdrop-filter: blur(14px);
}

.photo-caption .price {
  min-width: 104px;
  text-align: center;
}

.photo-caption strong {
  display: block;
  color: var(--graphite);
  font: 760 clamp(20px, 2.4vw, 28px)/0.98 var(--font-display);
  overflow-wrap: break-word;
}

.photo-caption span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.inline-figure,
.wide-figure {
  min-width: 0;
  margin: var(--space-lg) 0 0;
}

.wide-figure {
  margin-bottom: var(--space-lg);
}

.inline-figure figcaption,
.wide-figure figcaption {
  margin-top: var(--space-sm);
  color: var(--muted);
  font-size: 14px;
}

.booking-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-sm);
  align-items: end;
  padding: var(--space-md);
}

label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  background: white;
  color: var(--fg);
  font: inherit;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

.section {
  padding-block: var(--section-padding);
}

.section + .section {
  padding-top: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  align-items: end;
  margin-bottom: var(--space-md);
}

.section-head p {
  max-width: 580px;
  color: var(--muted);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: var(--space-md);
}

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

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

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

.location-section {
  align-items: start;
}

.location-section .notice {
  align-self: start;
}

.card,
.notice {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
}

.card,
.notice,
.room-card,
.form-card {
  min-width: 0;
}

.card p,
.room-card p,
.notice p,
.clean-list {
  color: var(--muted);
}

.card h2,
.card h3,
.notice h2,
.notice h3,
.room-card h2,
.room-card h3,
.form-card h2,
.map-pin h2 {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.18;
}

.card h2 + p,
.card h3 + p,
.notice h2 + p,
.notice h3 + p,
.form-card h2 + form,
.form-card h2 + p,
.notice h2 + .clean-list,
.notice h3 + .clean-list,
.card h2 + .clean-list,
.card h3 + .clean-list {
  margin-top: var(--space-sm);
}

.card p + .button,
.card p + .button-secondary,
.notice p + .button,
.notice p + .button-secondary,
.form-card p + .button,
.form-card p + .button-secondary,
.clean-list + .button,
.clean-list + .button-secondary,
.clean-list + p {
  margin-top: var(--space-md);
}

.final-cta {
  padding: clamp(28px, 4vw, 44px);
}

.final-cta h2 + p {
  margin-top: var(--space-md);
}

.final-cta p {
  max-width: 880px;
  line-height: 1.62;
}

.final-cta .actions {
  margin-top: clamp(26px, 3vw, 36px);
}

.room-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.room-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
  padding: var(--space-md);
}

.room-card-body > .button,
.room-card-body > .button-secondary,
.card > .button,
.card > .button-secondary,
.notice > .button,
.notice > .button-secondary {
  align-self: flex-start;
  margin-top: auto;
}

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

.featured-rooms-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.room-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: color-mix(in oklch, var(--bg) 80%, var(--border));
}

.meta-list,
.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.meta-list li {
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.clean-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.clean-list li:first-child {
  padding-top: 0;
}

.clean-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.price {
  color: var(--graphite);
  font: 850 clamp(18px, 2vw, 24px)/1.1 var(--font-body);
}

.muted {
  color: var(--muted);
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.status-badge.is-available {
  border-color: color-mix(in oklch, var(--accent) 60%, var(--border));
  background: color-mix(in oklch, var(--accent) 15%, white);
  color: var(--accent-ink);
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  min-width: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}

th {
  color: var(--graphite);
  background: color-mix(in oklch, var(--bg) 80%, white);
  font-weight: 850;
}

tr:last-child td {
  border-bottom: 0;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--space-md);
}

.faq > h2 + details,
.faq > .section-head + details {
  margin-top: var(--space-md);
}

.faq details + details {
  margin-top: var(--space-sm);
}

.faq summary {
  cursor: pointer;
  color: var(--graphite);
  font-weight: 850;
  overflow-wrap: break-word;
}

.faq p {
  margin-top: var(--space-sm);
  color: var(--muted);
}

.form-card {
  padding: var(--space-lg);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.booking-form .full {
  grid-column: 1 / -1;
}

.form-success {
  display: none;
  margin-top: var(--space-md);
  border: 1px solid color-mix(in oklch, var(--accent) 70%, var(--border));
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  background: color-mix(in oklch, var(--accent) 16%, white);
  color: var(--accent-ink);
  font-weight: 850;
}

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

.map-box {
  padding: 0;
}

.map-box-yandex,
.map-embed {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.yandex-map-iframe,
.map-embed iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: inherit;
}

.map-pin {
  position: absolute;
  left: var(--space-lg);
  bottom: var(--space-lg);
  z-index: 2;
  width: min(360px, calc(100% - (var(--space-lg) * 2)));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  background: color-mix(in oklch, var(--surface) 92%, transparent);
  box-shadow: 0 18px 50px rgba(39, 26, 18, .12);
  backdrop-filter: blur(10px);
}

.map-pin p {
  margin-top: var(--space-xs);
  color: var(--muted);
}

.site-footer {
  margin-top: var(--space-lg);
  padding: var(--space-xl) var(--page-gutter) calc(var(--space-xl) + 42px);
  border-top: 1px solid var(--border);
  background: color-mix(in oklch, var(--surface) 72%, var(--bg));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr .95fr .9fr;
  gap: var(--space-xl);
  width: min(var(--container), 100%);
  margin-inline: auto;
}

.footer-grid a {
  color: inherit;
}

.footer-grid p {
  max-width: 420px;
  margin-top: var(--space-sm);
  color: var(--muted);
}

.footer-grid h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
}

.footer-nav {
  display: grid;
  gap: 8px;
  margin-top: var(--space-sm);
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm) var(--space-lg);
  width: min(var(--container), 100%);
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom span {
  min-width: 0;
  overflow-wrap: break-word;
}

.mobile-booking-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: none;
  min-height: 46px;
  align-items: center;
  border-radius: 999px;
  padding: 13px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 24px color-mix(in oklch, var(--accent) 28%, transparent);
}

@media (max-width: 1100px) {
  :root {
    --section-padding: clamp(34px, 5.5vw, 52px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: var(--space-sm) var(--space-md);
  }

  .site-nav {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: nowrap;
    max-width: 100%;
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

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

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

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

  .rooms-grid,
  .featured-rooms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-strip .button {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-lg);
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 16px;
    --section-padding: 34px;
  }

  .site-header {
    padding-block: 12px;
  }

  .logo {
    font-size: 20px;
  }

  .header-phone {
    font-size: 14px;
    padding-inline: 12px;
  }

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

  h2 {
    font-size: clamp(20px, 5.8vw, 26px);
    line-height: 1.18;
  }

  h3 {
    font-size: clamp(17px, 5vw, 21px);
    line-height: 1.2;
  }

  .hero {
    gap: var(--space-md);
    padding-block: 26px 34px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-card.media-card,
  .map-box.media-card {
    min-height: 300px;
  }

  .photo-caption {
    right: var(--space-sm);
    bottom: var(--space-sm);
    left: var(--space-sm);
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .photo-caption strong {
    font-size: 20px;
  }

  .photo-caption > * {
    padding: 12px 14px;
  }

  .photo-caption .price {
    min-width: 0;
    text-align: left;
  }

  .section-head {
    display: block;
    margin-bottom: var(--space-md);
  }

  .section-head p {
    margin-top: var(--space-sm);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .rooms-grid,
  .featured-rooms-grid,
  .booking-strip,
  .booking-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .notice,
  .form-card {
    padding: var(--space-md);
  }

  .room-card-body {
    padding: var(--space-md);
  }

  table {
    min-width: 620px;
  }

  th,
  td {
    padding: 11px 12px;
    font-size: 14px;
  }

  .map-box-yandex,
  .map-embed {
    min-height: auto;
  }

  .yandex-map-iframe,
  .map-embed iframe {
    height: 320px;
  }

  .map-pin {
    position: static;
    width: auto;
    margin: var(--space-sm);
    box-shadow: none;
  }

  .footer-bottom {
    display: grid;
  }

  .site-footer {
    padding-bottom: 96px;
  }

  .mobile-booking-cta {
    display: inline-flex;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .header-phone {
    width: 100%;
  }

  .site-nav {
    gap: 14px;
  }

  .button,
  .button-secondary {
    width: 100%;
  }

  .hero-actions,
  .actions {
    width: 100%;
  }

  .booking-strip {
    padding: var(--space-sm);
  }

  table {
    min-width: 560px;
  }
}

.container.section.notice.final-cta {
  gap: 0;
  padding: 34px clamp(28px, 4vw, 46px) 36px;
}

.container.section.notice.final-cta h2 {
  margin: 0 0 18px;
}

.container.section.notice.final-cta p {
  margin: 0;
}

.container.section.notice.final-cta .actions {
  margin-top: 30px;
}

@media (max-width: 760px) {
  .container.section.notice.final-cta {
    padding: 26px 18px 28px;
  }

  .container.section.notice.final-cta h2 {
    margin-bottom: 14px;
  }

  .container.section.notice.final-cta .actions {
    margin-top: 22px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .container,
  .breadcrumbs,
  .hero,
  .section,
  .grid-2,
  .grid-3,
  .grid-4,
  .rooms-grid,
  .featured-rooms-grid,
  .booking-strip,
  .booking-form,
  .hero-card,
  .media-card,
  .map-box,
  .table-wrap,
  .footer-grid,
  .footer-bottom {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .site-header {
    overflow: hidden;
  }

  .site-nav {
    display: flex;
    flex-wrap: nowrap;
    max-width: 100%;
    min-width: 0;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a,
  .header-phone,
  .button,
  .button-secondary,
  .mobile-booking-cta,
  .status-badge,
  .meta-list li {
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  }

  .hero-card,
  .hero-card.media-card,
  .map-box,
  .map-box.media-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
    overflow: hidden;
  }

  .hero-card.media-card,
  .map-box.media-card {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .site-photo,
  .hero-photo,
  .contact-photo,
  .location-photo,
  .room-photo,
  .media-card > .site-photo {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    object-fit: cover;
  }

  .hero-photo,
  .contact-photo,
  .media-card > .site-photo {
    height: clamp(260px, 64vw, 340px);
    min-height: 0;
  }

  .photo-caption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: 1fr;
    max-width: calc(100% - 20px);
    min-width: 0;
  }

  .photo-caption > * {
    min-width: 0;
    max-width: 100%;
  }

  .photo-caption strong,
  .photo-caption span {
    overflow-wrap: break-word;
  }

  .table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .map-box-yandex,
  .map-embed {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .yandex-map-iframe,
  .map-embed iframe {
    width: 100%;
    height: 320px;
  }
}

@media (max-width: 430px) {
  .site-header {
    max-width: 100%;
    overflow: hidden;
  }

  .site-nav {
    width: 100%;
    max-width: 100%;
    padding-bottom: 4px;
  }

  .header-phone {
    max-width: 100%;
  }

  .hero,
  .section {
    overflow: visible;
  }

  .hero-card.media-card,
  .map-box.media-card {
    aspect-ratio: auto;
  }

  .hero-photo,
  .contact-photo,
  .media-card > .site-photo {
    height: clamp(240px, 70vw, 300px);
  }

  .photo-caption {
    position: static;
    max-width: 100%;
    padding: 10px;
    background: var(--surface);
  }

  .photo-caption > * {
    border-color: var(--border);
    box-shadow: none;
    backdrop-filter: none;
  }

  .mobile-booking-cta {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }
}

@media (max-width: 768px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-auto-rows: auto;
    gap: 8px;
    align-items: center;
    align-content: start;
    overflow: visible;
    padding: 10px 12px;
  }

  .logo,
  .header-phone,
  .menu-toggle {
    grid-row: 1;
    align-self: center;
  }

  .logo {
    min-width: 0;
    font-size: 17px;
  }

  .logo small {
    font-size: 9px;
    letter-spacing: .08em;
  }

  .header-phone {
    height: 44px;
    min-height: 44px;
    max-width: none;
    width: auto;
    padding: 0 10px;
    font-size: 12.5px;
    line-height: 1;
  }

  .menu-toggle {
    display: inline-flex;
    inline-size: 44px;
    block-size: 44px;
    min-inline-size: 44px;
    min-block-size: 44px;
    flex-shrink: 0;
    padding: 0;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 4px;
    justify-content: flex-start;
    overflow: visible;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 18px 34px color-mix(in oklch, var(--graphite) 12%, transparent);
  }

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

  .site-nav a {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: flex-start;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
    flex-shrink: 0;
  }

  .site-nav a[aria-current="page"] {
    background: color-mix(in oklch, var(--accent) 16%, var(--surface));
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 6px;
    padding-inline: 10px;
  }

  .logo {
    font-size: 16px;
  }

  .header-phone {
    height: 44px;
    min-height: 44px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .menu-toggle {
    inline-size: 44px;
    block-size: 44px;
  }
}
