@font-face {
  font-family: "Commissioner";
  src: url("./assets/fonts/commissioner-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Commissioner";
  src: url("./assets/fonts/commissioner-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  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: "Golos Text";
  src: url("./assets/fonts/golos-text-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  src: url("./assets/fonts/golos-text-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  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 {
  --ink: #24343b;
  --milk: #faf8f1;
  --paper-muted: #f4eddc;
  --blue: #bfe3ed;
  --blue-mid: #89bdca;
  --blue-strong: #2f7385;
  --yellow-soft: #fae7a0;
  --yellow: #f1cf4a;
  --clay: #b7513a;
  --muted: #596970;
  --inverse-muted: #afc2c6;
  --line: rgba(36, 52, 59, .18);
  --line-inverse: rgba(250, 248, 241, .22);
  --pad: clamp(1.25rem, 3.2vw, 3.75rem);
  --display: "Commissioner", Arial, sans-serif;
  --text: "Golos Text", Arial, sans-serif;
  --text-xs: clamp(.75rem, .73rem + .08vw, .8125rem);
  --text-sm: clamp(.875rem, .84rem + .12vw, .9375rem);
  --text-base: clamp(1rem, .96rem + .16vw, 1.125rem);
  --text-lead: clamp(1.125rem, 1.06rem + .26vw, 1.25rem);
  --text-h3: clamp(2rem, 1.45rem + 2.2vw, 4.75rem);
  --text-h2: clamp(2.75rem, 1.95rem + 3.4vw, 6rem);
  --text-h1: clamp(3.5rem, 2.25rem + 5.2vw, 7rem);
  --text-poster: clamp(4rem, 2rem + 7vw, 9rem);
  --section-y: clamp(5rem, 7.5vw, 9rem);
  --section-y-compact: clamp(4rem, 6vw, 7rem);
  --nav-height: 76px;
  --fallback-nav-height: 0px;
  --promo-height: 32px;
  --header-height: calc(var(--nav-height) + var(--fallback-nav-height) + var(--promo-height));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--milk); font-family: var(--text); font-size: var(--text-base); line-height: 1.58; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
figure, h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-optical-sizing: auto; text-wrap: balance; }
p { text-wrap: pretty; }
.skip-link { position: fixed; z-index: 1000; top: .5rem; left: .5rem; transform: translateY(-160%); padding: .6rem 1rem; color: var(--milk); background: var(--ink); }
.skip-link:focus { transform: translateY(0); }
.section { padding: var(--section-y) var(--pad); }
.section-tag { margin-bottom: clamp(1.25rem, 2vw, 1.75rem); font-size: var(--text-xs); font-weight: 700; line-height: 1.4; letter-spacing: .035em; text-transform: lowercase; }
h2, h3 { margin-bottom: 0; }
.cta-block { min-width: 210px; min-height: 56px; display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1rem; color: var(--milk); background: var(--ink); font-size: .875rem; font-weight: 800; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; transition: color .22s ease, background-color .22s ease, transform .22s ease; }
.cta-block:hover { color: var(--ink); background: var(--yellow); transform: translateY(-2px); }
.booking-button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  background: var(--yellow);
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transition: background-color .2s ease;
}
.booking-button:hover { background: var(--yellow-soft); }
.booking-button:focus-visible { outline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue-strong); outline-offset: 4px; }
.services a:focus-visible, .services summary:focus-visible { outline-color: var(--yellow); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header-height); display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: var(--nav-height); align-items: center; gap: 1rem; padding-inline: var(--pad) clamp(.875rem, 1.8vw, 1.625rem); background: rgba(250,248,241,.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
section[id], #main { scroll-margin-top: var(--header-height); }
.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .55rem;
  justify-self: start;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: .035em;
  white-space: nowrap;
}
.brand img { flex: none; width: 38px; height: 45px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.5rem); }
.main-nav a { font-size: .875rem; font-weight: 700; line-height: 1.2; }
.main-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.header-actions { display: flex; align-items: center; gap: clamp(.9rem, 1.7vw, 1.5rem); justify-self: end; white-space: nowrap; }
.header-contact { display: inline-flex; min-height: 44px; align-items: center; font-size: .875rem; font-weight: 800; line-height: 1.2; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.header-booking { min-height: 44px; padding: .5rem 1rem; border-radius: 10px; }
.main-nav .main-nav__contacts { display: none; }
.menu-toggle { display: none; }

.promo-bar {
  position: absolute;
  inset: calc(var(--nav-height) + var(--fallback-nav-height)) 0 0;
  display: flex;
  align-items: stretch;
  border-block: 1px solid var(--line);
  color: var(--ink);
  background: var(--yellow-soft);
  font-size: .875rem;
  line-height: 1.25;
}
.promo-bar__viewport { position: relative; display: grid; min-width: 0; flex: 1; align-items: center; overflow: hidden; }
.promo-bar__text { padding-inline: .6rem; text-align: center; }
.promo-bar__motion { display: none; }
.promo-bar.is-animated .promo-bar__text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.promo-bar.is-animated .promo-bar__motion { display: flex; width: max-content; animation: promo-scroll var(--promo-duration, 32s) linear infinite; }
.promo-bar__group { display: flex; }
.promo-bar__item { flex: 0 0 auto; white-space: nowrap; }
.promo-bar__item::after { content: "🐾"; margin-inline: .75rem; font-size: .85em; }
.promo-bar__toggle { width: 2.25rem; flex: none; border: 0; border-inline-start: 1px solid var(--line); color: inherit; background: rgba(255,255,255,.3); cursor: pointer; }
.promo-bar__toggle::before { content: "Ⅱ"; font-weight: 800; }
.promo-bar__toggle[aria-pressed="true"]::before { content: "▶"; font-size: .75rem; }
.promo-bar__toggle:focus-visible { outline-offset: -3px; }
@keyframes promo-scroll { to { transform: translateX(-50%); } }

.hero { position: relative; min-height: 820px; display: grid; grid-template-columns: minmax(0, 62fr) minmax(390px, 38fr); padding: var(--header-height) 0 0 var(--pad); overflow: hidden; background: var(--milk); }
.hero__copy { z-index: 2; align-self: center; max-width: 900px; padding: clamp(3rem, 6vh, 5rem) clamp(2rem, 4vw, 4.5rem) clamp(2.5rem, 5vh, 4rem) 0; }
.hero__eyebrow { margin-bottom: 1.5rem; color: var(--blue-strong); font-size: var(--text-sm); font-weight: 650; line-height: 1.4; }
.hero h1 { margin: 0; font-size: var(--text-h1); font-weight: 620; line-height: .92; letter-spacing: -.042em; }
.hero h1 span { display: block; }
.hero h1 .hero__accent { color: var(--blue-strong); }
.hero__intro { max-width: 56ch; margin: 1.75rem 0 0; font-size: var(--text-lead); line-height: 1.52; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem clamp(.65rem, 1.5vw, 1.25rem); margin-top: 1.75rem; }
.hero__proof { display: grid; min-height: 56px; align-content: center; gap: .2rem; padding-inline-start: clamp(.65rem, 1.5vw, 1.25rem); border-inline-start: 1px solid var(--line); color: var(--blue-strong); }
.hero__proof:hover span { text-decoration: underline; }
.hero__proof strong { font-family: var(--display); font-size: clamp(1.5rem, 1.35rem + .55vw, 1.8rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.hero__proof span { font-size: var(--text-xs); font-weight: 650; line-height: 1.25; white-space: nowrap; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .15rem .55rem; margin: .875rem 0 0; color: var(--muted); font-size: var(--text-sm); line-height: 1.45; }
.hero__visual { position: relative; min-width: 0; height: 100%; margin: 0; overflow: hidden; background: var(--blue); }
.hero__visual::after { content: ""; position: absolute; inset: 0; border-left: 1px solid rgba(36,52,59,.14); background: linear-gradient(180deg, rgba(191,227,237,.03), rgba(36,52,59,.05)); pointer-events: none; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 39%; filter: saturate(1.05) contrast(1.03); }

.about { background: var(--paper-muted); }
.about__inner { max-width: 92rem; margin-inline: auto; }
.about__headline { font-size: clamp(2.2rem, 2rem + 4.2vw, 7.5rem); font-weight: 650; line-height: .94; letter-spacing: -.04em; text-wrap: wrap; text-transform: uppercase; }
.about__blue { color: var(--blue-strong); }
.about__accent { white-space: nowrap; background: linear-gradient(transparent 73%, var(--yellow-soft) 73%, var(--yellow-soft) 91%, transparent 91%); }
.about__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem clamp(1.5rem, 4vw, 4rem); width: min(100%, 54rem); margin-top: clamp(1.75rem, 3.5vw, 3.5rem); line-height: 1.6; }
.about__body p { max-width: 42ch; margin: 0; }
.about__gallery { margin-top: clamp(2.25rem, 4.8vw, 4.75rem); }
.space-caption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1.25rem; margin-bottom: clamp(1rem, 1.8vw, 1.5rem); }
.space-caption h3 { font-size: clamp(1.35rem, 1.15rem + 1vw, 2rem); font-weight: 650; line-height: 1.15; letter-spacing: -.025em; }
.space-caption p { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.space-strip { display: grid; grid-template-columns: 1.2fr .8fr 1fr .9fr; align-items: start; gap: .65rem; }
.space-strip a { display: block; height: clamp(380px, 41vw, 650px); overflow: hidden; border-radius: 24px; }
.space-strip a:nth-child(even) { margin-top: 3.5rem; }
.space-strip a:focus-visible { outline-offset: -5px; }
.space-strip img { height: 100%; object-fit: cover; filter: saturate(.96) contrast(1.04) brightness(1.01); }

.services { background: var(--ink); color: var(--milk); }
.services__title { display: grid; grid-template-columns: .25fr 1.25fr .75fr; gap: clamp(2rem, 4vw, 5rem); align-items: end; padding-bottom: clamp(3rem, 5vw, 5rem); }
.services__title .section-tag { margin-bottom: 0; }
.services__title h2 { font-size: var(--text-poster); font-weight: 650; line-height: .88; letter-spacing: -.04em; }
.services__title > p:last-child { max-width: 48ch; margin: 0; color: var(--inverse-muted); font-size: var(--text-base); line-height: 1.55; }
.service-stack { border-top: 1px solid var(--line-inverse); }
.service-row { border-bottom: 1px solid var(--line-inverse); }
.service-row--premium { color: var(--ink); background: var(--yellow); }
.service-row:not(.service-row--premium) summary { transition: color .22s ease, background-color .22s ease; }
.service-row:not(.service-row--premium) summary:hover, .service-row:not(.service-row--premium)[open] summary { color: var(--ink); background: var(--blue); }
.service-row summary {
  min-height: clamp(106px, 10vw, 150px);
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 60px;
  grid-template-areas: "number title toggle" "number lead toggle";
  align-content: center;
  align-items: center;
  row-gap: .55rem;
  padding: 1rem var(--pad);
  cursor: pointer;
  list-style: none;
}
.service-row summary::-webkit-details-marker { display: none; }
.service-row summary > span:first-child { grid-area: number; font-size: var(--text-xs); font-weight: 700; }
.service-row summary h3 { grid-area: title; min-width: 0; font-size: clamp(2.5rem, 1.5rem + 3.4vw, 5.4rem); font-weight: 650; letter-spacing: -.03em; line-height: 1; text-wrap: initial; }
.service-lead { grid-area: lead; font-size: var(--text-base); font-weight: 550; line-height: 1.35; }
.service-row summary b { grid-area: toggle; justify-self: end; font-size: 2.25rem; font-weight: 400; transition: transform .25s ease; }
.service-row[open] summary b { transform: rotate(45deg); }
.service-row summary:focus-visible { outline-offset: -4px; }
.service-row--premium summary:focus-visible, .service-row--premium .service-copy a:focus-visible,
.service-row:not(.service-row--premium)[open] summary:focus-visible,
.service-row:not(.service-row--premium) summary:hover:focus-visible { outline-color: var(--ink); }
.service-content {
  display: grid;
  grid-template-columns: 80px minmax(0, clamp(16rem, 23vw, 20rem)) clamp(2rem, 4vw, 4.5rem) minmax(0, 1fr) 60px;
  align-items: center;
  padding: .75rem var(--pad) clamp(2rem, 3.5vw, 3.5rem);
}
.service-copy { grid-column: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.service-description { display: grid; gap: .8rem; }
.service-copy p { max-width: 46ch; margin: 0; color: var(--inverse-muted); font-size: var(--text-base); line-height: 1.6; }
.service-row--premium .service-copy p { color: var(--ink); }
.service-content figure { grid-column: 2; width: 100%; margin: 0; }
.service-content img { height: auto; border-radius: 28px; filter: saturate(1.02) contrast(1.03); }
.service-copy a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid; font-size: .875rem; font-weight: 800; }

.contact-story { display: grid; grid-template-columns: min(50%, 41rem) minmax(0, 1fr); background: var(--blue); }
.contact-story__photo { margin: 0; align-self: center; }
.contact-story__photo img { height: auto; }
.contact-story__body { display: grid; align-content: center; justify-items: start; gap: clamp(1.5rem, 3vw, 3rem); padding: var(--section-y-compact) var(--pad) var(--section-y-compact) clamp(2rem, 5vw, 6rem); }
.contact-story__title span { font-size: .875rem; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }
.contact-story__title h2 { margin-top: .5rem; font-size: clamp(2.75rem, 6.6vw, 8rem); font-weight: 650; line-height: .9; letter-spacing: -.04em; }
.contact-story__note { max-width: 36ch; margin: 0; padding-top: .85rem; border-top: 2px solid; font-size: var(--text-base); line-height: 1.5; font-weight: 650; }

.works { color: var(--ink); background: var(--paper-muted); }
.works__title { max-width: 90rem; margin-inline: auto; margin-bottom: clamp(1.75rem, 4vw, 4rem); font-size: clamp(2.75rem, 1.8rem + 5.5vw, 7.5rem); font-weight: 650; line-height: .95; letter-spacing: -.04em; }

.team { display: grid; grid-template-columns: minmax(9rem, .3fr) minmax(0, 1.7fr); gap: clamp(2rem, 5vw, 6rem); }
.team__aside { position: sticky; top: calc(var(--header-height) + 2rem); align-self: start; }
.team__aside h2 { font-size: clamp(1.5rem, 1rem + 1.3vw, 2.25rem); font-weight: 650; line-height: 1.05; text-wrap: initial; }
.names { border-top: 3px solid; }
.name-card { position: relative; isolation: isolate; min-height: clamp(150px, 11vw, 175px); display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: clamp(1rem, 3vw, 3rem); padding: clamp(1.25rem, 2.5vw, 2rem) 0; border-bottom: 3px solid; overflow: hidden; }
.name-card--with-portrait { grid-template-columns: minmax(0, 1fr) auto; }
.name-card::before { content: ""; position: absolute; z-index: -1; inset: 100% 0 0; background: var(--blue); transition: inset .35s cubic-bezier(.2,.7,.2,1); }
.name-card:nth-child(odd)::before { background: var(--yellow-soft); }
.name-card:hover::before { inset: 0; }
.name-card h3 { font-size: clamp(2.5rem, 1.25rem + 3.2vw, 5.75rem); font-weight: 650; line-height: 1; letter-spacing: -.045em; overflow-wrap: anywhere; text-transform: uppercase; }
.name-card__heading b { display: block; margin-top: .55rem; font-size: .875rem; letter-spacing: .025em; line-height: 1.35; }
.name-card__copy p { max-width: 48ch; margin: .8rem 0 0; font-size: var(--text-base); line-height: 1.55; }
.name-card__portrait { width: clamp(10rem, 17vw, 14rem); height: auto; aspect-ratio: 4 / 5; border-radius: clamp(.85rem, 2vw, 1.5rem); object-fit: cover; }
.name-card__portrait--uliana { object-position: center 54%; }
.name-card__portrait--ksenia { object-position: center 68%; }

.rating { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 7rem); align-items: center; background: var(--blue); }
.rating__number { color: transparent; background: url('./assets/reception.jpg') center / cover; -webkit-background-clip: text; background-clip: text; font-family: var(--display); font-size: clamp(10rem, 24vw, 24rem); font-weight: 700; line-height: .8; letter-spacing: -.06em; filter: saturate(1) contrast(1.06); }
.rating__text > span { color: var(--clay); font-size: var(--text-sm); letter-spacing: .3em; }
.rating__text h2 { margin: 1.25rem 0; font-size: var(--text-h2); font-weight: 650; line-height: .9; letter-spacing: -.035em; }
.rating__text h2 b { display: inline-block; padding: .1em .18em; color: var(--ink); background: var(--yellow); font-weight: 700; transform: rotate(-3deg); }
.rating__text a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 2px solid; font-size: .875rem; font-weight: 800; }

.faq { display: grid; grid-template-columns: minmax(260px, .75fr) 1.25fr; gap: clamp(3rem, 6vw, 7rem); }
.faq__title h2 { font-size: var(--text-h2); font-weight: 650; line-height: .9; letter-spacing: -.035em; }
.faq-list { border-top: 3px solid; }
.faq-list details { border-bottom: 3px solid; }
.faq-list summary { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; cursor: pointer; list-style: none; font-size: clamp(1.125rem, 1rem + .35vw, 1.375rem); line-height: 1.3; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 1.5rem; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(90deg); }
.faq-list details p { max-width: 68ch; margin-bottom: 0; padding: 0 3rem 1.75rem 0; font-size: var(--text-base); line-height: 1.6; }

.contacts { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4.2vw, 5.5rem); align-items: center; padding: var(--section-y-compact) var(--pad); overflow: hidden; background: var(--blue); }
.contacts::after { content: ""; position: absolute; z-index: 0; top: -18%; right: -8%; width: clamp(280px, 36vw, 560px); aspect-ratio: 1; border-radius: 50%; background: var(--yellow-soft); }
.contacts__info { position: relative; z-index: 2; min-width: 0; container-type: inline-size; }
.contacts h2 { font-size: clamp(2rem, 4.6vw, 5.5rem); font-size: clamp(2rem, 13.5cqi, 5.5rem); font-weight: 650; line-height: .94; letter-spacing: -.04em; }
.contacts__details { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .65rem; margin: clamp(1.1rem, 2vw, 1.7rem) 0 0; font-size: var(--text-base); line-height: 1.5; font-weight: 600; }
.contacts__details span { white-space: nowrap; }
.contacts__divider { color: var(--blue-strong); }
.contacts__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem clamp(.9rem, 1.75vw, 1.5rem); margin-top: clamp(1.5rem, 2.5vw, 2.4rem); }
.contacts__booking { min-height: 3.25rem; padding-inline: clamp(.9rem, 1.6vw, 1.35rem); }
.contacts__phone { display: inline-flex; min-height: 44px; align-items: center; white-space: nowrap; font-family: var(--display); font-size: clamp(1.125rem, .95rem + .5vw, 1.5rem); line-height: 1.25; font-weight: 650; letter-spacing: -.015em; }
.contacts__phone:hover, .contacts__links a:hover { color: #275e6d; }
.hero__proof strong, .rating__number, .contacts__phone { font-variant-numeric: tabular-nums; }
.contacts__links { display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(1rem, 2.5vw, 1.6rem); margin-top: .35rem; }
.contacts__links a { display: inline-flex; min-height: 44px; align-items: center; font-size: var(--text-sm); font-weight: 600; line-height: 1.25; }
.contacts__phone, .contacts__links a { text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: .23em; }
.contacts__map { position: relative; z-index: 2; align-self: stretch; min-height: clamp(520px, 41vw, 650px); margin: 0 12px 12px 0; overflow: hidden; border: 2px solid var(--ink); border-radius: 36px; color: var(--ink); background: var(--paper-muted); box-shadow: 12px 12px 0 var(--yellow); isolation: isolate; }
.contacts__map-canvas { position: absolute; inset: 0; }
.contacts__map-canvas > ymaps { width: 100% !important; height: 100% !important; }
.site-footer { display: grid; grid-template-columns: .7fr 1.2fr 1fr; gap: 2rem; padding: 2.5rem var(--pad) calc(5.5rem + env(safe-area-inset-bottom)); color: var(--inverse-muted); background: var(--ink); font-size: var(--text-xs); line-height: 1.45; }
.site-footer strong { color: var(--milk); font-size: 1rem; letter-spacing: .08em; }
.site-footer p { margin-bottom: .25rem; }
.site-footer > div:last-child { text-align: right; }
.floating-booking {
  position: fixed;
  z-index: 90;
  right: max(clamp(.875rem, 2vw, 1.75rem), calc(.75rem + env(safe-area-inset-right)));
  bottom: max(clamp(.875rem, 2vw, 1.75rem), calc(.75rem + env(safe-area-inset-bottom)));
  max-width: calc(100vw - 2rem);
  box-shadow: 0 3px 16px rgba(36, 52, 59, .24);
}

.floating-booking.is-map-overlap { visibility: hidden; }

.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.2,1); }
.reveal.is-pending:not(:focus-within) { opacity: 0; transform: translateY(26px); }

@media (max-width: 1050px) {
  .hero { min-height: 800px; grid-template-columns: minmax(0, 1fr) minmax(360px, .75fr); }
  .hero__copy { padding-right: clamp(1.5rem, 3vw, 3rem); }
  .hero h1 { font-size: clamp(3.75rem, 7vw, 4.5rem); }
  .services__title { grid-template-columns: .22fr 1.2fr .75fr; }
  .service-row summary { grid-template-columns: 56px minmax(0, 1fr) 40px; }
  .service-content { grid-template-columns: 56px minmax(0, 16rem) 2rem minmax(0, 1fr) 40px; }
}

@media (max-width: 900px) {
  :root {
    --pad: 1rem;
    --nav-height: 68px;
    --section-y: clamp(4.25rem, 8vw, 5.5rem);
    --section-y-compact: clamp(3.5rem, 7vw, 4.5rem);
  }
  body { width: 100%; overflow-x: clip; }
  .section { padding: var(--section-y) var(--pad); }
  .site-header { z-index: 200; gap: .5rem; padding: 0 clamp(.625rem, 3vw, 1rem); grid-template-columns: minmax(0, 1fr) auto auto; transition: background-color .22s ease; }
  body.menu-open .site-header { border-color: rgba(36,52,59,.18); background: var(--blue); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand, .menu-toggle, .header-actions { position: relative; z-index: 3; }
  .brand { gap: .4rem; font-size: .9375rem; }
  .brand img { width: clamp(29px, 8.7vw, 34px); height: clamp(34px, 10.2vw, 40px); }
  .header-contact { display: none; }
  .header-booking { padding-inline: .65rem; }
  :root:not(.has-menu-drawer) { --fallback-nav-height: 44px; }
  :root:not(.has-menu-drawer) .site-header { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: var(--nav-height) var(--fallback-nav-height); row-gap: 0; }
  :root:not(.has-menu-drawer) .main-nav { grid-row: 2; grid-column: 1 / -1; gap: .85rem; overflow-x: auto; scrollbar-width: thin; }
  :root:not(.has-menu-drawer) .main-nav a { display: inline-flex; min-height: 36px; align-items: center; flex: none; white-space: nowrap; }
  :root:not(.has-menu-drawer) .main-nav a:focus-visible { outline-offset: -2px; }
  .has-menu-drawer .menu-toggle { justify-self: end; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border: 2px solid var(--ink); border-radius: 10px; background: var(--milk); cursor: pointer; }
  .menu-toggle span { width: 18px; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .has-menu-drawer .main-nav { position: fixed; z-index: 2; inset: var(--header-height) 0 0; min-height: calc(100dvh - var(--header-height)); display: grid; align-content: safe center; justify-items: stretch; gap: 0; padding: clamp(1.5rem, 7vh, 4rem) 1rem calc(2rem + env(safe-area-inset-bottom)); color: var(--ink); background: var(--blue); overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-.75rem); transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s; }
  .has-menu-drawer .main-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
  .has-menu-drawer .main-nav a { width: 100%; min-height: clamp(58px, 10vh, 78px); display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; border-bottom: 1px solid rgba(36,52,59,.28); font-family: var(--display); font-size: clamp(2rem, 9vw, 4rem); font-weight: 650; line-height: .92; letter-spacing: -.025em; text-transform: uppercase; }
  .main-nav .main-nav__contacts { display: flex; }
  .has-menu-drawer .main-nav a:first-child { border-top: 1px solid rgba(36,52,59,.28); }
  .has-menu-drawer .main-nav a::after { content: "\2198"; content: "\2198" / ""; flex: 0 0 auto; margin-left: 1rem; font-size: .55em; font-weight: 500; }
  .has-menu-drawer .main-nav a:hover { text-decoration: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: var(--header-height) 0 0; }
  .hero__copy { max-width: none; padding: var(--section-y-compact) 1rem clamp(2.75rem, 8vw, 4rem); }
  .hero__eyebrow { margin-bottom: 1.25rem; }
  .hero h1 { font-size: clamp(3rem, 8.5vw, 4.5rem); line-height: .94; }
  .hero__intro { max-width: 56ch; margin-top: 1.5rem; font-size: var(--text-base); }
  .hero__actions { margin-top: 1.5rem; }
  .hero__visual { position: relative; height: clamp(480px, 90vw, 650px); }
  .hero__visual::after { border-top: 1px solid rgba(36,52,59,.14); border-left: 0; }
  .hero__visual img { object-position: 50% 44%; }
  .about__headline { font-size: clamp(2rem, 8.2vw, 5.25rem); }
  .space-strip { display: flex; gap: .75rem; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); overflow-x: auto; scroll-padding-inline: var(--pad); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .space-strip::-webkit-scrollbar { display: none; }
  .space-strip a, .space-strip a:nth-child(even) { flex: 0 0 min(82vw, 34rem); height: auto; aspect-ratio: 4 / 3; margin: 0; border-radius: 22px; scroll-snap-align: start; }
  .contact-story__body { padding-left: clamp(1.25rem, 4vw, 3rem); }
  .services__title { display: block; }
  .services__title h2 { font-size: var(--text-poster); }
  .services__title > p:last-child { max-width: 56ch; margin-top: 1.5rem; }
  .service-row summary { min-height: 96px; grid-template-columns: 40px minmax(0, 1fr) 32px; column-gap: .5rem; padding: 1rem; }
  .service-row summary h3 { font-size: clamp(2rem, 6.4vw, 4rem); }
  .service-row summary b { width: 32px; font-size: 2rem; line-height: 1; text-align: center; }
  .service-content { grid-template-columns: 40px minmax(0, 16rem) 1.5rem minmax(0, 1fr) 32px; padding: .75rem 1rem 2rem; }
  .service-copy { gap: 1.25rem; }
  .service-content img { border-radius: 22px; }
  .team { grid-template-columns: 1fr; gap: 2.5rem; }
  .team__aside { position: static; }
  .name-card { gap: 1rem; padding: 1.5rem 0; }
  .name-card h3 { font-size: clamp(1.9rem, 8vw, 4.5rem); }
  .rating { grid-template-columns: 1fr; gap: 2.5rem; }
  .rating__number { font-size: clamp(9rem, 44vw, 18rem); }
  .rating__text h2 { font-size: var(--text-h2); }
  .faq { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq__title h2 { font-size: var(--text-h2); }
  .contacts { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .contacts__map { height: min(76vw, 460px); min-height: 340px; margin: 0 7px 7px 0; border-radius: 24px; box-shadow: 7px 7px 0 var(--yellow); }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > div:last-child { text-align: left; }
  body.menu-open .floating-booking { visibility: hidden; }
}

@media (max-width: 700px) {
  .service-row summary { min-height: 84px; grid-template-columns: 28px minmax(0, 1fr) 28px; column-gap: .4rem; row-gap: .35rem; padding: .85rem 1rem; }
  .service-row summary h3 { font-size: clamp(1.35rem, 6.4vw, 3.35rem); }
  .service-lead { font-size: .9375rem; }
  .service-row summary b { width: 28px; }
  .service-content { grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: .4rem; row-gap: .9rem; padding: .8rem 1rem 1.75rem; }
  .service-copy { display: contents; }
  .service-copy > p, .service-description { grid-column: 2; grid-row: 1; max-width: 58ch; }
  .service-content figure { grid-column: 2; grid-row: 2; max-width: 16rem; }
  .service-content img { border-radius: 18px; }
  .service-copy a { grid-column: 2; grid-row: 3; min-width: 0; justify-self: start; }
}

@media (max-width: 640px) {
  :root { --promo-height: 48px; }
  :root.has-promo-motion { --promo-height: 32px; }
  .hero__actions .cta-block { min-width: 0; padding-inline: .8rem; font-size: .8125rem; letter-spacing: .02em; }
  .about__headline br { display: none; }
  .about__body { grid-template-columns: minmax(0, 1fr); }
  .contact-story { grid-template-columns: minmax(0, 1fr); }
  .contact-story__body { padding: var(--section-y-compact) var(--pad); }
  .contact-story__title h2 { font-size: clamp(2.75rem, 11vw, 4.25rem); }
}

@media (max-width: 360px) {
  :root { --promo-height: 56px; }
  .header-booking { padding-inline: .5rem; }
  .hero__actions .cta-block { padding-inline: .55rem; font-size: .75rem; letter-spacing: 0; }
  .service-row summary h3 { font-size: clamp(1.125rem, 6vw, 1.35rem); }
}

@media (max-width: 540px) {
  .name-card--with-portrait .name-card__copy { display: contents; }
  .name-card--with-portrait .name-card__copy p { grid-column: 1 / -1; margin: 0; }
  .name-card--with-portrait .name-card__heading { container-type: inline-size; }
  .name-card--with-portrait h3 { font-size: clamp(1.375rem, 16cqi, 2.75rem); }
  .name-card__portrait { grid-column: 2; grid-row: 1; width: clamp(6.5rem, 33vw, 10.5rem); }
}

@media (max-width: 480px) {
  :root {
    --section-y: 4.25rem;
    --section-y-compact: 3.5rem;
  }
  .hero__copy { padding: var(--section-y-compact) 1rem 2.5rem; }
  .hero__intro { max-width: 96%; }
  .hero__visual { height: 128vw; min-height: 480px; max-height: 620px; }
  .faq-list details p { padding-right: 1rem; }
  .contacts__map { height: 104vw; min-height: 390px; border-radius: 20px; }
}

@media (max-width: 420px) {
  .hero__meta { flex-direction: column; }
  .hero__meta-divider { display: none; }
}

@media (max-width: 375px) {
  .contacts__divider { display: none; }
}

.works__photos {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(14, clamp(1.7rem, 4vw, 3.75rem));
  gap: clamp(.5rem, 1.2vw, 1rem);
  max-width: 90rem;
  margin-inline: auto;
}

.works__photo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: clamp(.75rem, 2.3vw, 1.625rem);
  background: var(--blue-mid);
}

.works__photo:nth-child(1) { grid-area: 2 / 1 / span 5 / span 4; }
.works__photo:nth-child(2) { grid-area: 1 / 5 / span 6 / span 5; }
.works__photo:nth-child(3) { grid-area: 2 / 10 / span 5 / span 3; }
.works__photo:nth-child(4) { grid-area: 8 / 1 / span 5 / span 4; }
.works__photo:nth-child(5) { grid-area: 7 / 5 / span 7 / span 4; }
.works__photo:nth-child(6) { grid-area: 9 / 9 / span 5 / span 4; }

.works__photo img {
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  transition: transform .4s ease;
}

.works__photo::after {
  content: "↗" / "";
  position: absolute;
  right: .65rem;
  bottom: .65rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--milk);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
}

@media (hover: hover) {
  .works__photo::after { opacity: 0; transform: translate(-3px, 3px); transition: opacity .2s ease, transform .2s ease; }
  .works__photo:first-child::after, .works__photo:hover::after, .works__photo:focus-visible::after { opacity: 1; transform: none; }
  .works__photo:hover img { transform: scale(1.035); }
}

@media (max-width: 640px) {
  .works__photos { grid-template: auto / repeat(2, minmax(0, 1fr)); }
  .works__photos .works__photo { grid-area: auto; aspect-ratio: 4 / 5; }
  .works__photos .works__photo:is(:first-child, :nth-child(4)) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

.photo-viewer {
  position: fixed;
  inset: 0;
  width: min(calc(100% - 1.5rem), 72rem);
  height: min(calc(100vh - 1.5rem), 64rem);
  height: min(calc(100dvh - 1.5rem), 64rem);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  color: var(--ink);
}

.photo-viewer::backdrop { background: rgba(21, 33, 39, .94); }
body:has(.photo-viewer[open]) { overflow: hidden; }

.photo-viewer__inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: .6rem;
  height: 100%;
}

.photo-viewer__inner form { justify-self: end; }
.photo-viewer__image img { height: 100%; object-fit: contain; }
.photo-viewer__controls {
  display: grid;
  grid-template-columns: 44px 3.25rem 44px;
  align-items: center;
  justify-self: center;
  padding: .125rem;
  border: 1px solid var(--line-inverse);
  border-radius: 999px;
  background: var(--ink);
}
.photo-viewer__controls span { color: var(--milk); text-align: center; font-size: var(--text-sm); line-height: 1; font-variant-numeric: tabular-nums; }

.photo-viewer button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--milk);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.photo-viewer button:hover, .photo-viewer button:focus-visible { background: var(--yellow); }
.photo-viewer button:focus-visible { outline-color: var(--yellow); }
.photo-viewer__controls button { color: var(--milk); background: transparent; }
.photo-viewer__controls button:hover, .photo-viewer__controls button:focus-visible { color: var(--ink); background: var(--yellow); }
.photo-viewer__controls button::before {
  content: "";
  width: .625rem;
  height: .625rem;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: translateX(-2px) rotate(-45deg);
}
.photo-viewer__controls [data-photo-prev]::before { transform: translateX(2px) rotate(135deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-pending:not(:focus-within) { opacity: 1; transform: none; }
}
