:root {
  color-scheme: light;
  --ink: #1b1918;
  --night: #181716;
  --night-raised: #22201e;
  --light: #f4f0ea;
  --soft: #c9c0b9;
  --muted: #59514a;
  --paper: #e7ebed;
  --clay: #dc946e;
  --clay-deep: #88462f;
  --dark-line: #554a43;
  --line: #c7c0b9;
  --display: "Fira Sans Extra Condensed", "Arial Narrow", sans-serif;
  --text: "Golos Text", "Segoe UI", sans-serif;
  --edge: clamp(20px, 4.6vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--text); }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .24em; }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: var(--clay); color: var(--night); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 10px 14px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(1260px, calc(100% - 2 * var(--edge))); margin-inline: auto; }

.site-header { background: var(--night); color: var(--light); border-bottom: 1px solid var(--dark-line); }
.header-row { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 1.55rem/1.05 var(--display); text-transform: uppercase; letter-spacing: -.015em; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.desktop-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.desktop-nav a, .header-call { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; text-decoration: none; font-weight: 600; }
.desktop-nav a:hover, .header-call:hover { color: var(--clay); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-call { white-space: nowrap; }
.icon-button {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--dark-line); background: transparent; color: inherit;
}
.icon-button:hover { border-color: var(--clay); color: var(--clay); }
.drawer-toggle, .quick-contact { display: none; }
.js .drawer-toggle { display: inline-grid; }
.js .quick-contact { display: block; }

.hero { position: relative; isolation: isolate; background: var(--night); color: var(--light); }
.hero-media { position: absolute; inset: 0 0 0 36%; z-index: -1; overflow: hidden; }
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 58% 46%; }
.hero-media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, var(--night), #18171688 41%, transparent 68%); pointer-events: none; }
.hero-body { min-height: min(760px, calc(100svh - 81px)); display: grid; align-content: center; position: relative; padding-block: 66px 110px; }
.hero-copy { max-width: 770px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.03; text-wrap: balance; letter-spacing: -.025em; }
h1 { font-size: clamp(3rem, 7vw, 6.35rem); font-weight: 700; text-transform: uppercase; }
h2 { font-size: clamp(2.65rem, 4.8vw, 4.7rem); text-transform: uppercase; }
h3 { font-size: clamp(1.65rem, 2.55vw, 2.35rem); }
.hero-copy > p { margin-top: 23px; color: var(--soft); font-size: clamp(1rem, 1.45vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px;
  padding: 12px 18px; border: 1px solid transparent; font-size: .92rem; line-height: 1.3;
  font-weight: 700; text-align: center; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s;
}
.button svg { width: 18px; height: 18px; }
.primary { background: var(--clay); color: var(--night); border-color: var(--clay); }
.primary:hover { background: #f0ac86; border-color: #f0ac86; }
.line { border-color: currentColor; background: #18171632; color: inherit; }
.line:hover { background: var(--light); border-color: var(--light); color: var(--night); }
.hero-facts {
  margin: 0; padding: 16px 0; list-style: none; position: absolute; bottom: 20px; left: 0;
  display: flex; gap: 10px 24px; flex-wrap: wrap; font-size: .86rem; color: var(--soft);
  border-top: 1px solid var(--dark-line);
}
.hero-facts a { text-decoration: none; }
.hero-facts a:hover { text-decoration: underline; }
.ribbon {
  position: absolute; z-index: 1; top: 16px; left: 0; padding: 7px 19px 7px 12px;
  background: var(--clay); color: var(--night); font-size: .74rem; font-weight: 700;
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 50%, 100% 100%, 0 100%);
}
.hero-media .ribbon { top: auto; bottom: 22px; left: auto; right: 88px; padding-inline: 19px 13px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 7px 50%); }

.section { padding-block: clamp(48px, 7vw, 96px); scroll-margin-top: 12px; }
.section-heading { margin-bottom: 30px; }
.section-heading p, .section-intro p { margin-top: 16px; color: var(--muted); max-width: 44ch; }
.team { background: var(--night-raised); color: var(--light); }
.team-layout { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.55fr); gap: clamp(24px, 6vw, 100px); align-items: center; }
.team .section-intro p { color: var(--soft); }
.text-link { color: var(--clay); display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding-block: 10px; font-weight: 600; }
.text-link svg { width: 18px; height: 18px; }
.portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.portrait .photo { position: relative; background: #423832; overflow: hidden; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 40% 44%; }
.portrait:nth-child(2) img { object-position: 60% 37%; }
.portrait figcaption { font: 500 clamp(1.12rem, 2vw, 1.55rem)/1.1 var(--display); padding-top: 12px; }

.prices { background: #fff; }
.price-layout { display: grid; gap: 40px; }
.price-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.price-head span { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.price-list dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.price-list dt { font-weight: 600; }
.price-list dd { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-list small { display: block; color: var(--muted); font-weight: 400; }
.price-booking { display: flex; width: fit-content; margin: 28px auto 0; border-color: var(--ink); }
.price-booking:hover { background: var(--ink); color: white; }

.hours { background: var(--clay); color: var(--night); padding-block: clamp(36px, 5vw, 68px); }
.hours-row { display: flex; gap: 20px 32px; justify-content: space-between; align-items: center; }
.hours-row h2 { font-size: clamp(2.1rem, 4.2vw, 4rem); }
.hours-row h2 + p { margin-top: 8px; }
.hours .line { background: transparent; }
.hours .line:hover { background: var(--night); color: var(--light); border-color: var(--night); }
.hours-time { display: flex; align-items: baseline; gap: .15em; font: 600 clamp(2.5rem, 5.8vw, 5.9rem)/1 var(--display); white-space: nowrap; font-variant-numeric: tabular-nums; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery-tile { display: block; position: relative; overflow: hidden; background: var(--night); color: white; }
.gallery-tile img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .25s ease; }
.gallery-tile:hover img { transform: scale(1.035); }
.gallery-tile:focus-visible { outline-color: var(--clay-deep); }
.gallery-tile span {
  position: absolute; bottom: 0; left: 0; display: flex; align-items: center; gap: 14px;
  padding: 9px 12px; background: #181716eb; font-size: .85rem; font-weight: 600;
}
.gallery-tile svg { width: 16px; height: 16px; }

.contacts { background: var(--night-raised); color: var(--light); }
.contacts-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px 66px; align-items: center; }
.contacts address { margin: 18px 0 16px; color: var(--soft); }
.contact-phone { display: inline-block; font: 500 clamp(1.55rem, 3.5vw, 2.65rem)/1.08 var(--display); }
.contact-hours { margin-top: 10px; color: var(--soft); }
.map iframe { display: block; width: 100%; height: 350px; border: 1px solid var(--dark-line); background: white; }
.map figcaption { margin-top: 8px; color: var(--soft); font-size: .8rem; }
.site-footer { background: var(--night); color: var(--soft); border-top: 1px solid var(--dark-line); }
.footer-row { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px 25px; justify-content: space-between; padding-block: 22px; }
.js .footer-row { padding-bottom: 88px; }
.footer-row .brand { color: var(--light); }
.footer-row .brand img { width: 34px; height: 34px; }
.credits { max-width: 43ch; font-size: .82rem; }
.credits summary { padding: 6px 0; cursor: pointer; }
.credits p { padding: 4px 0; }
.footer-row small { padding: 6px 0; }
.back-to-top { display: inline-flex; align-items: center; flex-direction: column; gap: 4px; min-width: 52px; color: var(--light); font-size: .82rem; text-decoration: none; }
.back-to-top svg { border: 1px solid var(--dark-line); width: 33px; height: 33px; padding: 5px; }
.back-to-top:hover { color: var(--clay); }
.back-to-top:hover svg { border-color: var(--clay); }
.js .back-to-top { position: fixed; z-index: 3; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--night); padding: 5px 13px; border: 1px solid var(--dark-line); }
.js .back-to-top:not(.is-visible) { visibility: hidden; }

dialog { background: var(--night-raised); color: var(--light); border: 1px solid var(--dark-line); padding: 0; }
dialog::backdrop { background: #090807b8; }
.dialog-content { padding: 24px; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dialog-top h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 390px); max-width: 100%; height: 100%; max-height: 100%; }
.drawer[open] { animation: drawer-in .24s ease-out both; }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer .dialog-content { padding: clamp(22px, 6vw, 36px); }
.drawer-nav { display: grid; margin: 26px 0; }
.drawer-nav a { padding: 10px 0; border-bottom: 1px solid var(--dark-line); font-size: 1.1rem; text-decoration: none; }
.drawer-nav a:hover { color: var(--clay); }
.booking-dialog { width: min(440px, calc(100% - 36px)); }
.booking-dialog p { margin-top: 14px; color: var(--soft); }
.booking-options { display: grid; gap: 8px; margin-top: 18px; }
.booking-options a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 11px; border: 1px solid var(--dark-line); text-decoration: none; }
.booking-options a:hover { border-color: var(--clay); }
.channel { width: 28px; height: 28px; padding: 4px; border-radius: 50%; color: white; }
.gallery-dialog { width: min(980px, calc(100% - 32px)); }
.gallery-dialog .dialog-content { padding: 16px; }
.gallery-preview { margin-top: 12px; }
.gallery-preview img { width: 100%; height: auto; max-height: 76dvh; object-fit: contain; background: var(--night); }

.quick-contact { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 4; }
.quick-toggle {
  display: grid; place-items: center; width: 58px; height: 58px; margin-left: auto; padding: 0;
  border: 1px solid #281d18; border-radius: 50%; background: var(--clay); color: var(--night); box-shadow: 0 4px 16px #0004;
}
.quick-toggle:hover { background: #f0ac86; }
.quick-toggle svg { width: 27px; height: 27px; }
.quick-toggle .quick-close, .quick-toggle[aria-expanded="true"] .quick-open { display: none; }
.quick-toggle[aria-expanded="true"] .quick-close { display: block; }
.quick-links { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0 3px 12px 0; }
.quick-link { display: flex; align-items: center; justify-content: flex-end; gap: 8px; text-decoration: none; }
.quick-link span { padding: 5px 8px; background: var(--night); color: var(--light); font-size: .82rem; }
.quick-link svg { width: 50px; height: 50px; padding: 13px; border-radius: 50%; color: white; box-shadow: 0 3px 10px #0003; }
.quick-link:hover span { text-decoration: underline; }
.quick-link:focus-visible, .quick-toggle:focus-visible { outline-color: var(--clay-deep); outline-offset: 3px; }
.phone { background: #242220; }
.telegram { background: #087da6; }
.whatsapp { background: #087740; }

@media (max-width: 1150px) {
  .desktop-nav { gap: 14px; }
  .header-call { display: none; }
}
@media (max-width: 890px) {
  .desktop-nav { display: none; }
  .header-call { display: inline-flex; }
  .hero-media { left: 29%; }
  .hero-body { min-height: 610px; }
  .hours-row { flex-wrap: wrap; }
  .team-layout { grid-template-columns: 1fr 1.8fr; gap: 24px; }
}
@media (max-width: 700px) {
  .header-row { min-height: 66px; gap: 9px; }
  .brand { gap: 7px; font-size: 1.2rem; }
  .brand img { width: 34px; height: 34px; }
  .header-actions { gap: 10px; }
  .header-call { display: none; }
  .hero { display: flex; flex-direction: column; }
  .hero-media { position: relative; inset: auto; order: 2; z-index: auto; }
  .hero-media picture { aspect-ratio: 1.55; height: auto; }
  .hero-media img { object-position: center 46%; }
  .hero-media::after { display: none; }
  .hero-body { min-height: 0; display: block; padding-block: 36px 20px; }
  .hero-copy > p { margin-top: 14px; }
  h1 { font-size: clamp(2.55rem, 10vw, 4.1rem); }
  .hero-facts { position: static; margin-top: 22px; padding: 12px 0 0; gap: 3px 15px; }
  .hero-media .ribbon { right: 0; bottom: 10px; }
  .team-layout, .price-layout, .contacts-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .portraits { gap: 10px; }
  .portrait .ribbon { font-size: .75rem; padding: 5px 13px 5px 8px; top: 10px; }
  .section-heading { margin-bottom: 20px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-tile .ribbon { padding: 5px 13px 5px 8px; font-size: .75rem; }
  .gallery-tile span { gap: 5px; padding: 7px 8px; font-size: .74rem; }
  .gallery-tile svg { width: 14px; height: 14px; }
  .footer-row { padding-right: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
