/* Embassy sayti — kanvas «Сайт», «Ганч» yo'nalishi (FR-040): Golos Text (matn) va Literata (sarlavha) — o'zimizdan, OFL (fonts/OFL-*.txt);
   krem fon, to'q ko'k matn, o'rik tugma. Telefon (390) va kompyuter (1440); telefonda pastki panel. Nishon >= 44 px, tugma 48 px,
   fokus ko'rinadi va pastki panel ostida qolmaydi (FR-049). Rang faqat shu tokenlardan. */

@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/fonts/golos-text-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/fonts/golos-text-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/fonts/golos-text-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/fonts/literata-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/fonts/literata-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/fonts/literata-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --cream: #faf6ef;
  --sand: #f1e8da;
  --line: #e5daca;
  --line-strong: #dccfba;
  --ink: #07102c;
  --ink-2: #3e4459;
  --ink-3: #545a6e;
  --hover: #3b4a7a;
  --apricot: #f2a766;
  --apricot-hover: #ec9750;
  --white: #ffffff;
  --footer-text: #dcd6cb;
  --footer-muted: #b3aea4;
  --notice: #fbefc4;
  --notice-ink: #5a4500;
  --focus: #2563eb;
  --sans: "Golos Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --gutter: 16px;
  --radius: 8px;
  --radius-lg: 12px;
  --bar-height: 72px;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
  scroll-padding-bottom: calc(var(--bar-height) + 16px);
}

body.site {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

.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; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: var(--white); }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.stack { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.stack-sm { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.ico { flex-shrink: 0; }

/* Tipografiya */
.display, .h1, .h2, .h3, .card-title { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.01em; }
.display { font-size: clamp(36px, 6vw, 72px); line-height: 1.08; text-wrap: balance; }
.h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; text-wrap: balance; }
.h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; }
.h3 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.2; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-3); margin: 0; max-width: 680px; text-wrap: pretty; }
.prose { max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 1.4em 0 0.5em; }
.prose h1 { font-size: 28px; }
.prose h2 { font-size: 24px; }
.prose h3 { font-size: 20px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose li { margin-bottom: 0.35em; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }

/* Tugmalar va havolalar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius); border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--apricot); color: var(--ink); }
.btn-primary:hover { background: var(--apricot-hover); color: var(--ink); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--white); color: var(--ink); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-strong { font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--ink); border-radius: var(--radius); text-decoration: none; font-weight: 500; font-size: 15px;
}
.chip-inverse { color: var(--white); border-color: rgba(250, 246, 239, 0.4); }
.chip-inverse:hover { color: var(--white); border-color: var(--white); }
.with-icon { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.row-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.big-phone { font-size: 22px; font-weight: 600; text-decoration: none; }

/* Sarlavha */
.hdr { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: 1px solid var(--line); }
.hdr-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; flex-direction: column; gap: 4px; line-height: 1; text-decoration: none; color: var(--ink); flex-shrink: 0; padding: 6px 0; }
.brand-name { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -0.01em; }
.brand-tag { font-size: 12px; letter-spacing: 0.06em; color: var(--ink-3); }
.brand-inverse, .brand-inverse:hover { color: var(--white); }
.brand-inverse .brand-tag { color: var(--footer-text); }
.hdr-nav { display: none; flex: 1 1 auto; justify-content: center; gap: 22px; font-size: 15px; white-space: nowrap; }
.hdr-nav a { text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.hdr-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.hdr-tools { display: none; align-items: center; gap: 18px; flex-shrink: 0; white-space: nowrap; }
.hdr-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; font-size: 15px; min-height: 44px; }
.langs { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; font-size: 13px; font-weight: 500; }
.langs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 36px; justify-content: center; padding: 0 6px; text-decoration: none; color: var(--ink-3); border-bottom: 2px solid transparent; }
.langs a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--ink); }

.menu { margin-left: auto; position: relative; }
.menu-btn { list-style: none; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: var(--radius); }
.menu-btn::-webkit-details-marker { display: none; }
.menu[open] .menu-btn { background: var(--sand); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px));
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px -18px rgba(7, 16, 44, 0.35); padding: 8px 12px 12px; display: flex; flex-direction: column; gap: 8px;
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list a { display: flex; align-items: center; min-height: 48px; padding: 0 8px; text-decoration: none; font-size: 17px; border-radius: var(--radius); }
.menu-list a[aria-current="page"] { font-weight: 600; background: var(--sand); }

.notice { margin: 16px 0 0; padding: 12px 16px; background: var(--notice); color: var(--notice-ink); border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.notice-call { color: var(--notice-ink); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* Bo'limlar */
.section { padding: clamp(48px, 7vw, 104px) 0; }
.section-tight { padding: clamp(24px, 3vw, 40px) 0; }
.section-tint { background: var(--sand); }
.section-line { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.section-head p { margin: 8px 0 0; }
.page-head { padding-top: clamp(20px, 3vw, 36px); padding-bottom: 8px; display: flex; flex-direction: column; gap: 12px; }
.head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.head-row p { margin: 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 4px; }
.crumbs a { display: inline-flex; min-height: 24px; align-items: center; }
.split { display: grid; gap: 28px; align-items: start; }
.contacts-row, .contacts-grid { display: grid; gap: 28px; }
.empty { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.empty p { margin: 0; }
.address { font-style: normal; }
.map-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* Hero va qidiruv */
.hero { padding-top: clamp(28px, 5vw, 72px); }
.hero-text { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; max-width: 920px; }
.hero-search { position: relative; z-index: 2; max-width: 1100px; margin-top: clamp(24px, 3.5vw, 44px); }
.frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #e3d6c1; }
.frame-img { width: 100%; height: 100%; object-fit: cover; }
.frame-hero { aspect-ratio: 16 / 10; margin-top: 24px; }
.frame-4x3 { aspect-ratio: 4 / 3; }

.search {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(7, 16, 44, 0.05), 0 18px 40px -18px rgba(7, 16, 44, 0.25);
}
.search-field { display: flex; align-items: center; gap: 12px; padding: 8px 14px; background: var(--cream); border-radius: var(--radius); min-height: 62px; min-width: 0; }
.search-field:nth-of-type(3) { grid-column: 1 / -1; }
.search-control { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.search-control label { font-size: 13px; color: var(--ink-3); }
.search-control input, .search-control select {
  font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); background: transparent; border: 0; padding: 2px 0;
  min-height: 32px; width: 100%; min-width: 0;
}
.search-submit { grid-column: 1 / -1; min-height: 56px; font-size: 17px; }

/* Kartalar */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 28px; }
.grid-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.card p { margin: 0; }
.card-title { font-size: 24px; line-height: 1.2; }
.room-card { position: relative; display: flex; flex-direction: column; gap: 16px; }
.room-card-body { display: flex; flex-direction: column; gap: 8px; }
.room-card-body p { margin: 0; }
.room-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; }
.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.room-card:hover .card-title { text-decoration: underline; }
.facts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); border-top: 1px solid var(--line-strong); }
.facts li { padding: 18px 16px 18px 0; display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--line-strong); }
.facts-dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); border-top: 1px solid var(--line); width: 100%; }
.facts-dl div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.facts-dl dt { font-size: 13px; color: var(--ink-3); }
.facts-dl dd { margin: 0; font-weight: 600; }
.ticks { margin: 12px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 8px 24px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

/* Xona sahifasi */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 16px; }
.gallery-main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery-item { aspect-ratio: 4 / 3; }
.room-layout { display: grid; gap: 32px; align-items: start; }
.book-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.book-box p { margin: 0; }

/* Taglik */
.ftr { background: var(--ink); color: var(--footer-text); font-size: 15px; padding: clamp(48px, 6vw, 80px) 0 calc(36px + var(--bar-height)); }
.ftr a { color: var(--white); }
.ftr a:hover { color: var(--white); text-decoration: underline; }
.ftr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px; }
.ftr-col { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.ftr-col > a:not(.brand):not(.chip) { padding: 6px 0; text-decoration: none; min-height: 32px; }
.ftr-head { font-size: 13px; color: var(--footer-muted); margin-bottom: 6px; }
.ftr-address { font-style: normal; margin-top: 8px; }
.ftr-phone { font-size: 19px; font-weight: 600; }
.ftr .chips { margin-top: 8px; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; border-top: 1px solid rgba(250, 246, 239, 0.2); margin-top: 40px; padding-top: 22px; font-size: 14px; }
.ftr-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.ftr .langs a { color: var(--footer-text); }
.ftr .langs a[aria-current="true"] { color: var(--white); border-bottom-color: var(--white); }

/* Telefon pastki paneli — Позвонить · Telegram · WhatsApp · Забронировать */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 6px; align-items: stretch;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px -12px rgba(7, 16, 44, 0.25);
}
.mbar-item { flex: 1 0 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; text-decoration: none; font-size: 11px; font-weight: 500; }
.mbar-book { flex: 3 1 150px; display: flex; align-items: center; justify-content: center; min-height: 52px; background: var(--apricot); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; border-radius: var(--radius); }
.mbar-book:hover { background: var(--apricot-hover); color: var(--ink); }

/* Tor telefon: sana maydonida piktogramma joy olmasin */
@media (max-width: 419px) {
  .search-field { padding: 8px 10px; gap: 8px; }
  .search-field .ico { display: none; }
  .search-control input, .search-control select { font-size: 16px; }
}

@media (min-width: 700px) {
  :root { --gutter: 32px; }
  .search { grid-template-columns: 1fr 1fr 1fr; }
  .search-field:nth-of-type(3) { grid-column: auto; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery-main { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .split { grid-template-columns: 1.4fr 1fr; }
  .contacts-row { grid-template-columns: repeat(3, 1fr); }
  .contacts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .mbar { display: none; }
  :root { --bar-height: 0px; }
  .hdr-tools { display: flex; margin-left: auto; }
  .hdr-tools .langs { display: none; }
  .menu { margin-left: 0; }
  .search { grid-template-columns: 1fr 1fr 1fr auto; }
  .search-submit { grid-column: auto; min-width: 180px; min-height: 62px; }
  .room-layout { grid-template-columns: minmax(0, 1fr) 360px; }
  .book-box { position: sticky; top: 104px; }
}

@media (min-width: 1180px) {
  :root { --gutter: 48px; }
  .hdr-row { min-height: 84px; }
  .hdr-nav { display: flex; }
  .hdr-tools { margin-left: 0; }
  .hdr-tools .langs { display: flex; }
  .menu { display: none; }
}

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