﻿
/* Fonts: WOFF2 subsets (Latin, Cyrillic with the Kazakh letters, digits, punctuation, tenge), made from the full fonts that stay next to them. */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/CormorantGaramond-subset.woff2") format("woff2"), url("/assets/fonts/CormorantGaramond.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/Manrope-subset.woff2") format("woff2"), url("/assets/fonts/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

/* While a web font loads, the system font is scaled to the same letter widths and line metrics, so the text does not jump when it swaps. */
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Georgia");
  font-weight: 300 500;
  size-adjust: 85.9%;
  ascent-override: 107.6%;
  descent-override: 33.4%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Georgia Bold"), local("Georgia-Bold");
  font-weight: 600 700;
  size-adjust: 75.2%;
  ascent-override: 122.9%;
  descent-override: 38.2%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 200 500;
  size-adjust: 101%;
  ascent-override: 105.6%;
  descent-override: 29.7%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600 800;
  size-adjust: 98%;
  ascent-override: 108.7%;
  descent-override: 30.6%;
  line-gap-override: 0%;
}

:root {
  --paper: #f7f5f0;
  --ink: #20362f;
  --heading: #20362f;
  --accent: #274b3c;
  --footer: #20362f;
  --white: #fff;
  --line: #dedfd5;
  --muted: #56645b;
  --tint: #eceee6;
  --error: #8c2a24;
  --shadow: 0 5px 20px rgb(32 54 47 / 7%);
  --serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --sans: Manrope, "Manrope Fallback", Arial, sans-serif;
  --ui-border: #bcc8bd;
  --ui-focus: #274b3c;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 30px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 15px/1.65 var(--sans); }
:where(h1,h2,h3,p) { margin: 0; }
:where(h1,h2,h3) { line-height: 1.08; }
:where(h1,h2,h3) { overflow-wrap: anywhere; }
h1,h2 { font-family: var(--serif); font-weight: 600; color: var(--heading); }
h1 { font-size: clamp(42px, 6.4vw, 88px); letter-spacing: -.035em; }
h2 { font-size: clamp(36px, 4.35vw, 62px); letter-spacing: -.027em; }
h3 { font-weight: 600; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
:where(.hero,.site-footer,.button):focus-visible,
.site-footer :focus-visible { outline-color: var(--white); }
.button.outline:focus-visible, .skip-link:focus-visible { outline-color: var(--accent); }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: fixed; inset: 12px auto auto 12px; z-index: 10; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: clamp(62px, 7.3vw, 108px); }
.section h2 { margin-bottom: 28px; }
.eyebrow {
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .14em; color: var(--accent); margin-bottom: 12px;
}
.site-icon { flex: none; width: 20px; height: 20px; vertical-align: middle; }
.button, .icon-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 10px 18px; border: 1px solid var(--accent);
  border-radius: 5px; text-align: center; text-decoration: none; line-height: 1.3;
  font-size: 14px; font-weight: 600; background: var(--accent); color: var(--white);
}
.button:hover { background: var(--ink); }
.button.outline { color: var(--accent); background: transparent; }
.button.outline:hover { background: var(--tint); }
.icon-button { width: 46px; padding: 0; color: var(--accent); background: var(--white); }
.icon-button:focus-visible, .button:focus-visible { outline-color: var(--accent); box-shadow: 0 0 0 2px var(--white); }

.site-header { position: relative; z-index: 4; background: var(--paper); }
.top-bar { border-bottom: 1px solid var(--accent); }
.top-contacts {
  display: flex; justify-content: flex-end; align-items: center; gap: 22px;
  min-height: 34px; font-size: 12px; font-weight: 500;
}
.top-contacts a { text-decoration: none; }
.top-contacts a:hover { opacity: .7; }
.navigation { position: relative; display: flex; gap: clamp(16px,2vw,30px); align-items: center; min-height: 80px; }
.brand { flex: 0 0 182px; padding-block: 10px; margin-right: auto; }
.hotel-logo { width: 182px; }
.main-nav { display: flex; align-items: center; gap: clamp(12px,1.5vw,25px); }
.main-nav a { text-decoration: none; font-size: 13px; padding-block: 8px; }
.main-nav a:hover, .main-nav a[aria-current] { opacity: .65; }
.languages { display: flex; align-items: center; gap: 2px; }
.lang-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 34px;
  min-height: 42px; border: 1px solid transparent; background: transparent; border-radius: 5px;
  font-size: 11px;
}
.lang-btn:hover { border-color: currentColor; }
.lang-btn[aria-current="page"] { background: var(--accent); color: var(--white); }
.menu-toggle { display: none; }

.hero {
  position: relative; isolation: isolate; display: grid; align-items: end;
  min-height: clamp(410px, 43vw, 635px); color: var(--white); background: var(--ink);
}
.hero::after, .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: center 55%; }
.hero::after {
  z-index: -1; content: "";
  background:
    linear-gradient(0deg, rgb(19 37 30 / 92%), rgb(19 37 30 / 76%) 29%, transparent 70%),
    linear-gradient(90deg, rgb(19 37 30 / 44%), transparent 68%);
}
.hero-content { padding-block: 85px 105px; }
.hero-content h1 { color: inherit; margin-bottom: 13px; }
.hero-content .eyebrow { color: inherit; }
.hero-description { max-width: 46ch; font-size: clamp(14px, 1.35vw, 18px); }
.home-booking { position: relative; z-index: 2; margin-top: -36px; }
.booking-row {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto;
  align-items: center; gap: 0; padding: 12px; background: var(--white);
  border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 12px 35px rgb(32 54 47 / 13%);
}
.booking-field { min-width: 0; padding-inline: 17px; border-inline-end: 1px solid var(--line); }
.booking-field > span {
  display: block; font-size: 11px; line-height: 1.25; font-weight: 500; color: var(--muted);
}
.booking-row > .button { margin-inline-start: 12px; min-height: 52px; }

.about-grid { display: grid; grid-template-columns: 1.06fr 1fr; gap: clamp(30px,6vw,90px); align-items: center; }
.about-image { width: 100%; aspect-ratio: 1.34; object-fit: cover; border-radius: 6px; }
.about-copy h2 { margin-bottom: 17px; }
.about-copy p + p { margin-top: 11px; }
.about-copy .about-lead { font-size: 17px; font-weight: 500; }
.about-copy p:not(.eyebrow) { max-width: 60ch; }
.room-section, .nearby-section, .contacts-section, .page-heading { background: var(--tint); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; }
.section-heading .button { flex-shrink: 0; }
.rooms-notice { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.room-grid, .triple-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.room-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--white);
  border: 1px solid var(--line); border-radius: 7px; box-shadow: var(--shadow);
}
.room-card[hidden] { display: none; }
.room-preview { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.room-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; min-width: 0; padding: 20px; }
.room-card h3 { font: 600 clamp(24px,2.7vw,34px)/1.06 var(--serif); letter-spacing: -.01em; }
.room-price { color: var(--accent); font-size: 14px; }
.room-teaser { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.room-facts {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 14px;
  margin: 2px 0 0; padding-top: 12px; border-top: 1px solid var(--line);
}
.room-facts dd, .room-facts dt { margin: 0; font-size: 12px; overflow-wrap: anywhere; }
.room-facts dt { color: var(--muted); }
.room-facts dd { font-weight: 400; }
.room-details { align-self: flex-start; margin-top: auto; }
.perk, .nearby-card, .service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 7px; box-shadow: var(--shadow);
}
.perk, .nearby-card { padding: 22px; }
.perk svg, .nearby-card svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.perk h3, .nearby-card h3 { margin-bottom: 8px; font-size: 17px; line-height: 1.24; }
.perk p, .nearby-card p { font-size: 13px; color: var(--muted); }
.nearby-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.service-grid { gap: 12px; }
.service-card, .restaurant-band {
  min-width: 0; display: grid; grid-template-columns: minmax(85px, .93fr) minmax(0,1.45fr);
  align-items: center; gap: 13px; padding: 10px;
}
.service-card img, .restaurant-band img { width: 100%; aspect-ratio: 1.16; object-fit: cover; border-radius: 4px; }
.service-card h3 { font-size: 15px; line-height: 1.22; margin-bottom: 6px; }
.service-card p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.service-badge { display: block; color: var(--accent); }
.text-button { display: inline-block; padding: 5px 0; margin-top: 4px; background: transparent; border: 0; text-align: left; text-decoration: none; color: var(--accent); font-size: 12px; }
.restaurant-band {
  margin-top: 18px; background: var(--tint); padding: 14px;
  grid-template-columns: minmax(95px, 180px) minmax(0,1fr); gap: 23px; border-radius: 7px;
}
.restaurant-band img { aspect-ratio: 1.6; }
.restaurant-band h3 { font: 600 30px/1 var(--serif); margin-bottom: 6px; }
.restaurant-band p:last-child { color: var(--muted); font-size: 13px; }
.gallery-section { padding-top: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.gallery-grid a { border-radius: 6px; overflow: hidden; background: var(--tint); }
.gallery-grid img { width: 100%; aspect-ratio: 1.42; object-fit: cover; }
.gallery-grid a:hover img { filter: brightness(.9); }

#faq { padding-top: 0; }
.faq-layout { display: grid; grid-template-columns: minmax(200px,.72fr) minmax(0,1.28fr); gap: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; display: block; list-style: none; padding: 16px 35px 16px 0;
  cursor: pointer; font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 4px; top: 12px; content: "+"; font-size: 21px; color: var(--accent); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 24px 18px 0; color: var(--muted); font-size: 14px; }
.contacts-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 35px; align-items: start; }
.contacts-layout h2 { margin-bottom: 14px; }
.contacts-layout address { font-style: normal; }
.contacts-layout address p { margin-bottom: 12px; }
.contacts-layout .button { margin-top: 8px; }
.ota-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; font-size: 13px; }
.external-note { margin-top: 4px; color: var(--muted); font-size: 12px; }
.contacts-layout iframe { display: block; border: 1px solid var(--line); border-radius: 7px; width: 100%; height: 360px; background: var(--paper); }

.site-footer { background: var(--footer); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.15fr .9fr; gap: 24px 30px; padding-block: 44px 22px; }
.footer-brand { display: inline-block; padding: 7px; border-radius: 4px; background: var(--paper); margin-bottom: 11px; }
.footer-brand img { width: 158px; }
.footer-grid h2 { color: inherit; font: 800 14px/1.4 var(--sans); margin-bottom: 10px; }
.footer-grid :is(p,a) { font-size: 13px; overflow-wrap: anywhere; }
.footer-grid :is(p,nav a) { margin-bottom: 4px; }
.footer-grid div > a:not(.footer-brand), .footer-grid nav a { display: block; }
.footer-docs { grid-column: 1 / -1; font-size: 13px; width: fit-content; max-width: 100%; }
.footer-docs summary { cursor: pointer; font-weight: 500; min-height: 32px; }
.footer-docs nav { display: flex; flex-wrap: wrap; gap: 4px 17px; padding-top: 4px; }
.copyright { border-top: 1px solid rgb(255 255 255 / 25%); padding-block: 18px; font-size: 12px; }

.page-heading { padding-block: 36px clamp(32px,5vw,68px); }
.page-heading h1 { margin: 11px 0 7px; font-size: clamp(47px,6vw,76px); }
.page-heading p { color: var(--muted); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.breadcrumb [aria-current] { font-weight: 400; }
.catalog { padding-block: 34px 40px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filter {
  padding: 8px 15px; min-height: 44px; background: var(--white); color: var(--accent); border: 1px solid var(--accent);
  border-radius: 5px; font-size: 13px; font-weight: 600; line-height: 1.28;
}
.filter:hover { background: var(--tint); }
.filter[aria-pressed="true"] { background: var(--accent); color: var(--white); }

.photo-dialog {
  position: fixed; inset: 0; width: min(1060px,calc(100% - 30px)); max-width: none;
  max-height: calc(100dvh - 28px); margin: auto; overflow: auto; overscroll-behavior: contain;
  padding: 51px 21px 24px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow);
}
dialog::backdrop { background: rgb(24 43 35 / 74%); overflow: hidden; overscroll-behavior: contain; }
.dialog-close { position: absolute; inset: 5px 8px auto auto; border-color: transparent; background: transparent; font-size: 30px; font-weight: 600; }
.breakfast-dialog ul { padding-inline-start: 20px; }
.gallery-stage { position: relative; display: grid; align-items: center; background: var(--tint); border-radius: 6px; overflow: hidden; }
.gallery-stage > img { width: 100%; aspect-ratio: 1.5; object-fit: contain; }
#gallery-modal .gallery-stage > img { max-height: 73dvh; }
.gallery-arrow { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); border: 0; font-size: 29px; }
.gallery-arrow:focus-visible { outline-offset: -4px; }
.gallery-prev { left: 6px; }
.gallery-next { right: 6px; }
.breakfast-dialog { max-width: 820px; }
.breakfast-body { padding: 0 10px 10px; }
.breakfast-body h2 { margin-bottom: 16px; }
.breakfast-body p + p, .breakfast-body p + h3 { margin-top: 13px; }
.breakfast-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.breakfast-grid h3 { font-size: 17px; margin-bottom: 8px; }

@media (max-width: 1120px) {
  .wrap { width: calc(100% - 64px); }
  .navigation { gap: 14px; }
  .brand { flex-basis: 145px; }
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 12px; }
  .header-book { padding-inline: 10px; font-size: 12px; }
}
@media (max-width: 920px) {
  .wrap { width: calc(100% - 48px); }
  .menu-toggle { display: inline-flex; }
  .navigation { flex-wrap: wrap; }
  .main-nav { order: 1; flex-wrap: wrap; width: 100%; margin-bottom: 8px; }
  .navigation.has-menu-toggle { flex-wrap: nowrap; }
  .has-menu-toggle .main-nav {
    display: none; position: absolute; top: 100%; right: 0; width: min(320px,100%);
    padding: 10px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 0 0 7px 7px; box-shadow: var(--shadow);
  }
  .has-menu-toggle .main-nav.is-open { display: grid; gap: 1px; }
  .main-nav a { padding: 10px 7px; font-size: 14px; }
  .room-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nearby-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 34px); }
  .section { padding-block: 52px; }
  .section h2 { margin-bottom: 19px; }
  .top-contacts { min-height: 32px; gap: 12px; }
  .navigation { min-height: 65px; gap: 8px; }
  .brand { flex: 0 1 140px; min-width: 96px; }
  .header-book { display: none; }
  .lang-btn { min-width: 36px; min-height: 44px; }
  .hero { min-height: clamp(360px,100vw,450px); }
  .hero-image { object-position: 59% center; }
  .hero::after { background: linear-gradient(0deg,rgb(19 37 30 / 94%),rgb(19 37 30 / 71%) 45%,transparent 78%); }
  .hero-content { padding-block: 90px 28px; }
  .hero-content h1 { max-width: 9em; margin-bottom: 9px; }
  .home-booking { margin-top: 0; }
  .booking-row {
    position: relative; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,.84fr) auto;
    margin-top: 13px; padding: 8px 6px;
  }
  .booking-row > .button { margin-inline-start: 6px; min-height: 44px; padding-inline: 7px; font-size: 11px; }
  .about-grid, .contacts-layout, .faq-layout, .room-grid, .breakfast-grid { grid-template-columns: minmax(0,1fr); }
  .about-grid { gap: 20px; }
  .about-image { aspect-ratio: 1.5; }
  .section-heading { flex-wrap: wrap; gap: 10px; }
  .section-heading h2 { margin: 0; }
  .room-card-body { padding: 16px; }
  .triple-grid { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .nearby-grid { gap: 8px; }
  .perk, .nearby-card { padding: 14px; }
  .nearby-card h3 { font-size: 15px; }
  .service-card { grid-template-columns: minmax(72px,.6fr) minmax(0,1.4fr); }
  .gallery-section, #faq { padding-top: 0; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .faq-layout { gap: 0; }
  .contacts-layout { gap: 19px; }
  .contacts-layout iframe { height: 265px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; padding-top: 28px; }
  .photo-dialog { padding: 49px 12px 18px; }
}
@media (forced-colors: active) {
  :focus-visible { outline-color: Highlight; }
  .lang-btn[aria-current="page"], .filter[aria-pressed="true"] { border: 2px solid Highlight; }
}


.about-copy .about-lead { font-weight: 400; }
.site-footer a, .contacts-section a:not(.button), .footer-docs a { text-decoration: none; }
.site-footer a:hover, .contacts-section a:not(.button):hover { opacity: .7; }

.room-card-link { display: flex; flex-direction: column; flex: 1; }
.room-card-link:focus-visible { outline-offset: -4px; }
.room-card-link:hover .room-details { background: var(--tint); }
.hotel-address { font-style: normal; }
.hotel-address p + p { margin-top: 8px; }
.booking-field { display: grid; gap: 6px; }
.booking-field :is(input, select) {
  width: 100%; min-width: 0; min-height: 44px; padding: 4px 8px;
  border: 1px solid var(--line); border-radius: 4px; background: var(--white);
}
.booking-field input::-webkit-date-and-time-value { text-align: start; }
.room-hero { padding-top: 24px; }
.room-hero .breadcrumb { flex-wrap: wrap; margin-bottom: 14px; }
.room-photo-primary a, .room-photo-strip a { display: block; border-radius: 6px; overflow: hidden; }
.room-photo-primary img { width: 100%; aspect-ratio: 2.15; object-fit: cover; }
.room-photo-strip {
  display: flex; gap: 8px; min-width: 0; overflow-x: auto; padding: 6px 4px 8px;
  overscroll-behavior-inline: contain;
}
.room-photo-strip a { flex: 0 0 clamp(75px, 15vw, 160px); }
.room-photo-strip img { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.room-overview { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); align-items: start; gap: clamp(20px, 4vw, 55px); margin-top: 24px; }
.room-description h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 12px; }
.room-specifications {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px;
  margin: 17px 0 0; padding-top: 12px; border-top: 1px solid var(--line);
}
.room-specifications dt { color: var(--muted); font-size: 13px; }
.room-specifications dd { margin: 0; }
.room-specifications div:last-child { grid-column: 1 / -1; }
.room-notes { margin: 12px 0 0; padding-inline-start: 22px; }
.room-booking {
  background: var(--white); border: 1px solid var(--line); border-radius: 7px;
  box-shadow: var(--shadow); padding: clamp(14px, 2vw, 24px);
}
.room-booking h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.room-booking-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.room-booking .booking-field { padding: 0; border: 0; }
.room-booking-action { margin-top: 14px; }
.room-booking-action .button { width: 100%; }
.room-booking-action .button:disabled { opacity: .65; cursor: wait; }
.room-booking [data-quote-status] { color: var(--muted); font-size: 13px; }
.room-booking [data-quote-contact] { display: block; width: fit-content; padding-block: 4px; }

@media (max-width: 620px) {
  body.room-page { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .booking-row { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
  .booking-row > .booking-field { border: 0; padding: 0; }
  .booking-row > .button { grid-column: 1 / -1; margin: 0; }
  .booking-field :is(input, select) { padding-inline: 3px; font-size: 14px; }
  .room-overview { grid-template-columns: minmax(0,1fr); }
  .room-photo-primary img { aspect-ratio: 1.6; }
  .room-booking-action {
    position: fixed; z-index: 3; inset: auto 0 0; margin: 0;
    padding: 8px max(17px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(17px, env(safe-area-inset-left));
    border-top: 1px solid var(--line); background: var(--paper);
  }
}


/* Список характеристик номера не прижимается к следующему блоку. */
.room-overview { padding-bottom: 28px; }

/* Modern Web Guidance, forms: below 16px iPhone Safari zooms the page on focus; a date the guest left invalid is marked. */
@media (max-width: 620px) {
  .booking-field :is(input, select) { font-size: max(16px, 1em); }
}
.booking-field :is(input, select):user-invalid { border-color: #9b281f; }
@media (max-width: 620px) {
  /* With 16px text the two dates need the width; the guest count is one digit. */
  .booking-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 72px; }
}
/* At 320 px the restaurant line was 17 px wider than the screen: let the text column shrink and wrap. */
.restaurant-band > * { min-width: 0; }
.restaurant-band p { overflow-wrap: anywhere; }
@media (max-width: 360px) {
  /* The narrowest phones: two dates side by side, the guest count under them, so no date is cut. */
  .booking-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .booking-row > .booking-field:nth-of-type(3) { grid-column: 1 / -1; }
}
/* Owner 18.11.2026: no gap between a text field and its focus frame — the frame sits on the field's own border. */
:is(input:not([type=checkbox], [type=radio]), select, textarea):focus-visible { outline-offset: -1px; }
:is(input[type=checkbox], input[type=radio]):focus-visible { outline-offset: 1px; }
