@font-face {
  font-family: Roboto;
  src: url(assets/roboto-cyrillic.woff2) format("woff2");
  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: Roboto;
  src: url(assets/roboto-latin.woff2) format("woff2");
  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;
}

:root {
  --ink: #363c6b;
  --muted: #606481;
  --accent: #c1492e;
  --accent-dark: #a83c24;
  --line: #e0e2eb;
  --surface: #fff;
  --background: #f7f7fa;
  --soft: #eff0f7;
  --wrap: 1264px;
  color: var(--ink);
  background: var(--background);
  font-family: Roboto, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; }
.studio-rental-page { background: var(--background); color: var(--ink); }
.studio-rental-page > main { padding-top: 80px; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button, a, summary, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #535ec0; outline-offset: 3px; }
.wrap { width: min(var(--wrap), calc(100% - 72px)); margin-inline: auto; }
.icon { width: 19px; height: 19px; display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
[data-icon] { display: inline-flex; flex: none; }
.skip-link { position: fixed; z-index: 201; padding: 12px 16px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.breadcrumbs { display: flex; align-items: center; gap: 9px; margin-block: 20px; color: var(--muted); font-size: .875rem; }
.breadcrumbs .icon { width: 13px; height: 13px; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 347px;
  border-radius: 26px;
  background: #363c6b;
  color: #fff;
}
.hero-photo { position: absolute; z-index: -2; right: 0; width: 65%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(92deg, #363c6b 0%, #363c6b 35%, #363c6bf8 40%, #363c6b9c 54%, #272e5208 72%);
}
.hero-copy { max-width: 760px; padding: 36px 24px 63px 53px; }
.hero h1 { margin: 0; font-size: clamp(2.75rem, 5.1vw, 4.2rem); line-height: 1.02; font-weight: 760; letter-spacing: -.047em; }
.hero p { max-width: 480px; margin: 20px 0 0; font-size: 1.125rem; line-height: 1.48; color: #f0f0fb; }

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  position: relative;
  width: calc(100% - 104px);
  margin: -44px auto 0;
  min-height: 86px;
  padding: 12px;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 12px 32px #2529530e;
}
.search-field { position: relative; display: flex; min-width: 0; align-items: center; gap: 12px; padding: 7px 16px; cursor: text; }
.search-field > [data-icon] { color: var(--ink); }
.search-field > [data-icon] .icon { width: 22px; height: 22px; }
.field-copy { display: grid; width: 100%; min-width: 0; gap: 4px; }
.search-label { color: var(--muted); font-size: .8125rem; font-weight: 500; }
.search-field input { appearance: none; border: 0; padding: 0; border-radius: 4px; width: 100%; min-width: 0; background: transparent; font-weight: 650; font-size: 1rem; }
.search-field input::placeholder { color: var(--muted); opacity: 1; font-weight: 400; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 0 17px; border: 1px solid transparent; border-radius: 11px; font-size: .9375rem; font-weight: 690; transition: background .16s, border-color .16s; }
.primary { background: var(--accent); color: #fff; }
.primary:hover { background: var(--accent-dark); }
.secondary { background: var(--surface); border-color: var(--line); }
.secondary:hover { background: var(--soft); border-color: #c4c9de; }
.search-button { min-height: 56px; padding-inline: 25px; font-size: 1rem; }

.catalog { margin-top: 41px; scroll-margin-top: 94px; }
.catalog:focus { outline: none; }
.catalog-heading, .catalog-view-controls, .results-line { display: flex; align-items: center; }
.catalog-heading { justify-content: space-between; gap: 10px 16px; }
.catalog-view-controls { gap: 8px; }
.catalog h2 { margin: 0; font-size: clamp(1.95rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -.036em; font-weight: 750; }
.catalog-filters { margin-top: 14px; }
.categories { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 43px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .875rem; white-space: nowrap; transition: background .16s, border-color .16s, color .16s; }
.chip .icon { width: 17px; height: 17px; }
.chip:hover { background: var(--soft); border-color: #c6c9df; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: white; }
.chip.map-toggle { min-height: 46px; padding-inline: 17px; gap: 8px; border-radius: 11px; border-color: var(--ink); background: var(--ink); color: #fff; font-weight: 750; box-shadow: 0 3px 9px #363c6b28; }
.chip.map-toggle .icon { width: 19px; height: 19px; stroke-width: 1.9; }
.chip.map-toggle:is(:hover, [aria-expanded="true"]) { border-color: #2b315b; background: #2b315b; }
.chip.filter-toggle { min-height: 46px; border-radius: 11px; }
.filter-toggle[aria-expanded="true"] { background: var(--soft); border-color: #bfc4dd; }
.filter-count { display: grid; place-items: center; min-width: 20px; height: 20px; padding-inline: 3px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .75rem; }
.extra-filters { display: flex; flex-wrap: wrap; align-items: start; gap: 10px 24px; margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.sort-field { width: min(100%, 310px); }
.sort-field select { width: 100%; min-width: 0; min-height: 44px; padding: 0 8px; border: 1px solid #d6d9e5; border-radius: 9px; background: var(--surface); cursor: pointer; font-weight: 500; }
.price-filter { width: min(100%, 270px); min-width: 0; margin: 0; padding: 0; border: 0; }
.price-filter legend { margin-bottom: 5px; padding: 0; font-size: .9375rem; font-weight: 650; }
.price-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.price-range label { color: var(--muted); font-size: .8125rem; }
.price-range input { color: var(--ink); }
.price-range input:disabled { opacity: .6; }
.price-range input[aria-invalid="true"] { border-color: var(--accent-dark); }
#price-range-error { margin: 6px 0 0; color: var(--accent-dark); font-size: .8125rem; }
.extra-filters > .checkbox-field { align-self: start; margin-top: 41px; }
.unknown-price-option { margin-top: 5px; }
.checkbox-field { display: flex; align-items: center; min-height: 44px; gap: 8px; cursor: pointer; font-size: .9375rem; }
.checkbox-field input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.results-line { min-height: 45px; justify-content: space-between; gap: 10px; }
.results-line p { margin: 0; color: var(--muted); font-size: .875rem; }
.link-button { padding: 6px 0; border: 0; border-radius: 4px; background: transparent; color: var(--accent-dark); font-size: .875rem; font-weight: 650; }
.link-button:hover { text-decoration: underline; }

.studio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.studio-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 4px 15px #25295306; }
.studio-card:target { outline: 2px solid var(--accent); outline-offset: 3px; }
.studio-media { position: relative; overflow: hidden; aspect-ratio: 1.82; background: var(--soft); }
.studio-media img { width: 100%; height: 100%; object-fit: cover; }
.studio-placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  padding: 16px;
  background: radial-gradient(ellipse at 24% 14%, #7276a1 0%, transparent 50%),
    repeating-linear-gradient(120deg, transparent 0px 16px, #ffffff0a 16px 17px),
    linear-gradient(130deg, #414770, #252a4d);
  color: #f3f3fd;
  font-size: .875rem;
  font-weight: 550;
}
.studio-placeholder .icon { width: 65px; height: 55px; stroke-width: 1.1; color: #eac3b5; }
.gallery-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border: 1px solid #fff5;
  border-radius: 7px;
  background: #252a4ddd;
  color: white;
  font-size: .8125rem;
}
.studio-photo-button { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.studio-photo-button:focus-visible { outline-color: #fff; outline-offset: -5px; }
.studio-photo-button:hover .gallery-badge { background: var(--ink); }
.studio-body { display: flex; flex-direction: column; flex: 1; padding: 17px 18px 16px; }
.studio-venue { margin: 0 0 3px; color: var(--muted); font-size: .875rem; font-weight: 600; }
.studio-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 9px; }
.studio-body h3 { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 1.36rem; line-height: 1.18; font-weight: 740; letter-spacing: -.015em; }
.studio-title-button { padding: 0; border: 0; border-radius: 4px; background: none; color: inherit; font: inherit; text-align: start; }
.studio-title-button:hover { text-decoration: underline; }
.studio-fallback { margin: 0 0 14px; font-size: .9375rem; line-height: 1.55; }
.studio-fallback summary { cursor: pointer; font-weight: 650; }
.location { display: flex; align-items: center; gap: 5px; margin: 8px 0 0; color: var(--muted); font-size: .875rem; }
.location .icon { width: 15px; height: 15px; }
.studio-address { margin: 4px 0 0; color: var(--muted); font-size: .8125rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; padding: 0; list-style: none; }
.tags li { border-radius: 6px; padding: 5px 7px; background: #f1f1f7; color: #545a7c; font-size: .8125rem; line-height: 1.2; }
.studio-conditions, .studio-specs { display: grid; gap: 6px; margin: 0 0 13px; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.studio-conditions > div, .studio-specs > div { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 7px 10px; }
.studio-conditions dt, .studio-specs dt { color: var(--ink); font-weight: 650; }
.studio-conditions dd, .studio-specs dd { margin: 0; overflow-wrap: anywhere; }
.studio-specs { margin-top: 9px; }
.studio-specs > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 5px 0; border-bottom: 1px solid var(--line); }
.studio-bottom { display: grid; gap: 12px; margin-top: auto; padding-top: 13px; border-top: 1px solid #ededf4; }
.studio-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.studio-actions > .button { flex: 1 1 auto; min-height: 40px; padding-inline: 10px; font-size: .875rem; }
.studio-rate-label { margin: 0 0 3px; color: var(--muted); font-size: .8125rem; font-weight: 650; }
.price { margin: 0; white-space: nowrap; color: var(--ink); font-size: 1.18rem; font-weight: 740; }
.price small { font-size: .8125rem; font-weight: 450; color: var(--muted); }
.studio-minimum { margin: 3px 0 0; color: var(--muted); font-size: .8125rem; }
.studio-minimum strong { color: var(--ink); }
.studio-availability { display: flex; align-items: center; gap: 5px; margin: 12px 0 0; color: var(--muted); font-size: .8125rem; }
.studio-availability .icon { width: 15px; height: 15px; }
.studio-card--compact :is(.studio-address, .studio-conditions, .studio-availability, .studio-minimum) { display: none; }
.studio-card--compact .location { margin-bottom: 12px; }
.studio-card--compact .tags { margin: 0 0 13px; }
.studio-card--compact .studio-bottom { gap: 10px; }
.studio-card--compact .studio-rate-label { font-size: .9375rem; }
.studio-card--compact .price { white-space: normal; font-size: 1.4rem; line-height: 1.2; }
.studio-card--compact .price small { font-size: 1rem; }
.studio-card--compact [data-studio-action="request"] { min-height: 44px; font-size: .9375rem; }
.catalog-more { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 10px 15px; margin-top: 23px; }
.catalog-more p { margin: 0; color: var(--muted); font-size: .875rem; }
.empty-state { text-align: center; padding: 44px 18px; border: 1px dashed #c7cbe0; border-radius: 18px; background: var(--surface); }
.empty-state > [data-icon] { color: var(--accent); }
.empty-state .icon { width: 28px; height: 28px; }
.empty-state h3 { margin: 8px 0; font-size: 1.2rem; }
.empty-state p { margin: 0 0 16px; color: var(--muted); line-height: 1.5; }
.map-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .35fr); }
.studio-map { position: relative; isolation: isolate; min-height: 490px; background: #e7e9f0; font-family: inherit; }
.studio-map.leaflet-container { background: #e8ebf4; }
.studio-map a.leaflet-popup-close-button { color: var(--ink); }
.map-sidebar { display: flex; min-height: 0; max-height: 490px; flex-direction: column; padding: 15px 12px 8px; border-left: 1px solid var(--line); }
.map-sidebar h3 { margin: 0 6px 6px; font-size: 1.12rem; }
.map-sidebar > p { margin: 0 6px 12px; color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.map-studios { overflow-y: auto; margin: 0; padding: 0; list-style: none; }
.map-studios li + li { border-top: 1px solid #eeeff6; }
.map-studios button { display: grid; gap: 4px; width: 100%; padding: 9px 6px; text-align: left; border: 0; border-radius: 6px; background: none; }
.map-studios button:hover { background: var(--soft); }
.map-studios button:focus-visible { outline-offset: -2px; }
.map-studios strong { overflow-wrap: anywhere; font-size: .9rem; }
.map-studios span { color: var(--muted); font-size: .8125rem; }
.studio-map-pin, .map-key { border: 2px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 1px 5px #19224360; }
.studio-map-pin.metro, .map-key.metro { background: #626ba6; }
.studio-map-cluster { display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 780; box-shadow: 0 2px 8px #1c244863; }
.map-station-label { color: #424a6d; font-size: .7rem; font-weight: 600; white-space: nowrap; text-shadow: 0 0 3px #fff, 0 0 5px #fff; }
.studio-map-name { display: block; padding-right: 8px; text-align: start; overflow-wrap: anywhere; }
.studio-map-popup p { margin: 5px 0 2px; color: var(--muted); }
.studio-map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; }
.studio-map-actions .button { min-height: 34px; padding: 5px 9px; font-size: .8125rem; }
.map-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; padding: 9px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.map-key { display: inline-block; width: 12px; height: 12px; box-shadow: none; }
.map-key.metro { margin-left: 6px; }
.map-attribution a { text-decoration: underline; text-underline-offset: 2px; }

.guide-section { margin-top: clamp(34px, 5vw, 67px); }
.guide-section h2 { max-width: 32ch; margin: 0 0 13px; font-size: clamp(1.65rem, 3.1vw, 2.55rem); line-height: 1.12; letter-spacing: -.038em; }
.guide-section h3 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.26; }
.guide-section p { max-width: 78ch; margin: 0; color: var(--muted); line-height: 1.55; }
.guide-head { display: flex; gap: 15px; align-items: flex-start; }
.guide-head > h2 { align-self: center; margin: 0; }
.guide-icon { display: inline-grid; place-items: center; width: 45px; height: 45px; flex: none; border-radius: 14px; background: #e9e9f4; color: var(--ink); }
.guide-icon .icon { width: 23px; height: 23px; }
.guide-section a:not(.button) { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.compare-guide { padding: clamp(16px, 3vw, 30px); border: 1px solid var(--line); border-radius: 20px; background: var(--soft); }
.compare-guide h2 { margin-bottom: 8px; }
.compare-search { width: min(100%, 420px); margin-top: 14px; }
.compare-results { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.compare-add { min-height: 38px; padding: 6px 11px; text-align: left; overflow-wrap: anywhere; }
.compare-guide .compare-status:not(:empty) { margin-top: 11px; font-size: .875rem; }
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 248px), 1fr)); gap: 10px; }
.compare-grid:not(:empty) { margin-top: 12px; }
.compare-grid:has(> :only-child) { max-width: 385px; }
.compare-card { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); overflow-wrap: anywhere; }
.compare-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.compare-card-heading h3 { min-width: 0; margin: 0; }
.compare-studio-name { padding: 3px 0; text-align: left; font-size: 1rem; }
.compare-remove { display: grid; place-items: center; flex: none; min-width: 36px; min-height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 1.25rem; line-height: 1; }
.compare-remove:hover { background: var(--soft); }
.compare-metro { font-size: .875rem; }
.compare-facts { display: grid; gap: 9px; margin: 11px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.compare-facts dt { color: var(--muted); font-size: .8125rem; }
.compare-facts dd { margin: 2px 0 0; line-height: 1.3; }
.compare-facts [data-compare-field="price"] { font-size: 1.125rem; font-weight: 730; }
.price-feature { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(22px, 5vw, 72px); padding: clamp(20px, 4vw, 52px); overflow: hidden; border-radius: 28px; background: #282f58; color: #fff; }
.price-feature-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .49; }
.price-feature::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, #23284cf5, #323964d9 54%, #31386799); }
.price-guide-copy > .guide-icon { margin-bottom: 16px; }
.price-guide-copy > p, .price-notes p { color: #e6e7f4; }
.price-guide-copy > p + p { margin-top: 12px; }
.price-notes { display: grid; gap: 12px; margin-top: 23px; }
.price-notes > div { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: flex-start; gap: 9px; padding: 13px 15px; border-radius: 12px; background: #a6b1da20; }
.price-notes > div > [data-icon] { margin-top: 3px; color: #ffd0be; }
.price-notes h3 { margin-bottom: 4px; font-size: 1rem; }
.price-notes p { font-size: .875rem; }
.price-calculator { padding: clamp(16px, 2.6vw, 31px); border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 16px 38px #15193545; }
.price-calculator h3 { font-size: clamp(1.22rem, 2vw, 1.53rem); letter-spacing: -.023em; }
.calculator-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 12px; margin: 16px 0; }
.calculator-fields input { background: #f7f7fb; }
.calculator-total { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 13px; border-radius: 12px; background: #f7ece8; color: #692f23; }
.calculator-total span { font-size: .875rem; font-weight: 680; }
.calculator-total p { margin-top: 3px; font-size: .8125rem; }
.calculator-total output { font-size: clamp(1.2rem, 2.5vw, 1.85rem); font-weight: 790; overflow-wrap: anywhere; }
.formats-guide > .guide-head + p { margin-top: 12px; }
.format-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.9rem), 1fr)); gap: clamp(14px, 2vw, 22px); margin-top: 17px; }
.format-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 7px 23px #23284d08; }
.format-visual { position: relative; margin: 0; overflow: hidden; aspect-ratio: 2.14; background: #32375e; }
.format-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms ease; }
.format-card:is(:hover, :focus-within) img { transform: scale(1.05); }
.format-visual figcaption { position: absolute; bottom: 9px; left: 10px; padding: 4px 8px; border-radius: 6px; background: #262a4de8; color: #fff; font-size: .8125rem; }
.format-copy { display: flex; flex: 1; flex-direction: column; padding: 17px 18px; }
.format-copy p { margin-bottom: 16px; }
.format-actions { display: flex; flex-wrap: wrap; gap: 3px 15px; margin-top: auto; }
.format-actions .link-button { padding: 7px 0; }
.rental-guide { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: clamp(18px, 4vw, 54px); align-items: stretch; }
.rental-visual { position: relative; isolation: isolate; display: flex; align-items: end; min-height: 315px; overflow: hidden; border-radius: 24px; background: #292d4e; color: #fff; }
.rental-visual img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.rental-visual:is(:hover, :focus-within) img { transform: scale(1.04); }
.rental-visual::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #262c4940, #252b51 95%); }
.rental-visual-copy { padding: clamp(17px, 3vw, 31px); }
.rental-visual-copy .guide-icon { margin-bottom: 14px; }
.rental-visual h2 { margin-bottom: 17px; }
.rental-visual .secondary { color: var(--ink); }
.rental-steps { counter-reset: rental-step; display: grid; gap: 15px; margin: 0; padding: 3px 0; list-style: none; }
.rental-steps li { counter-increment: rental-step; position: relative; min-height: 61px; padding: 4px 0 0 56px; }
.rental-steps li::before { content: counter(rental-step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; background: #e8e9f3; color: var(--ink); font-weight: 800; }
.rental-steps li:not(:last-child)::after { content: ""; position: absolute; top: 44px; bottom: -10px; left: 18px; border-left: 1px solid #d4d8ea; }
.rental-steps li:nth-child(3)::before { background: var(--accent); color: #fff; }
.rental-steps h3 { margin: 0 0 4px; }
.faq-guide { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: clamp(16px, 4vw, 48px); padding-top: 29px; border-top: 1px solid var(--line); }
.faq-guide-intro .guide-icon { margin-bottom: 13px; }
.faq-list { min-width: 0; }
.faq-list details { border-bottom: 1px solid #dce0ef; }
.faq-list summary { display: flex; justify-content: space-between; gap: 10px; padding: 14px 9px; font-weight: 680; line-height: 1.4; cursor: pointer; }
.faq-list summary::marker { content: ""; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; display: grid; place-items: center; align-self: flex-start; flex: none; width: 25px; height: 25px; border-radius: 8px; background: #e9ebf5; font-size: 1.06rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; background: #f3e0d9; color: var(--accent-dark); }
.faq-list p { padding: 0 9px 15px; }
.guide-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 15px 19px; padding: clamp(19px, 3vw, 35px); border-radius: 20px; background: linear-gradient(118deg, #eaeaf7, #f4e4de); }
.guide-cta h2 { max-width: 32ch; margin-bottom: 7px; }
.guide-cta .button { text-align: center; }
.recording-guide { grid-template-columns: minmax(0, 1fr) auto; }
.guide-section.revealed { animation: reveal-guide 460ms cubic-bezier(.2,.65,.36,1) both; }
@keyframes reveal-guide {
  from { opacity: .89; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid var(--line); margin-top: 38px; padding-block: 19px 25px; font-size: .875rem; }
.site-footer img { width: 89px; height: auto; }
.site-footer a:hover { text-decoration: underline; }

dialog { width: min(532px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: 0 22px 70px #17193250; }
dialog::backdrop { background: #222641b0; }
.icon-button { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }
.icon-button:hover { background: var(--soft); }
.dialog-close { position: absolute; z-index: 1; top: 12px; right: 12px; }
.dialog-gallery { position: relative; background: #262a49; }
.dialog-gallery > img { width: 100%; height: clamp(180px, 62vw, 306px); object-fit: contain; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 9px 12px; }
.gallery-thumbs button { padding: 2px; border: 2px solid transparent; border-radius: 7px; background: transparent; }
.gallery-thumbs button[aria-pressed="true"] { border-color: #f5b6a6; }
.gallery-thumbs img { display: block; width: clamp(60px, 15vw, 90px); aspect-ratio: 1.55; height: auto; border-radius: 4px; object-fit: cover; }
.dialog-body { padding: 24px; }
.dialog-body h2 { margin: 0 0 9px; padding-right: 34px; font-size: 1.77rem; line-height: 1.1; letter-spacing: -.025em; }
.dialog-body p { line-height: 1.5; }
.studio-details { margin-block: 14px; border: 1px solid var(--line); border-radius: 10px; }
.studio-details summary { padding: 11px 12px; cursor: pointer; font-size: .9375rem; font-weight: 650; }
.studio-details > :is(.studio-conditions, .studio-specs, .studio-availability) { margin: 0 12px 12px; }
.studio-panel-context { margin: 0 40px 5px 0; color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.request-note { margin: 0 0 16px; color: var(--muted); font-size: .875rem; }
.studio-request-form { display: grid; gap: 14px; }
.studio-request-form + .request-status:not(:empty) { margin-top: 14px; }
.request-consent { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .875rem; }
.request-consent input { width: 17px; height: 17px; flex: none; accent-color: var(--accent); }
.request-consent a { text-decoration: underline; }
.request-status { margin: 0; padding: 9px 11px; border-radius: 8px; background: var(--soft); color: var(--ink); font-size: .875rem; }
.request-status:empty { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.form-field { display: grid; align-content: start; min-width: 0; gap: 5px; font-weight: 600; font-size: .875rem; }
.form-field :is(input, textarea) { width: 100%; min-width: 0; min-height: 44px; padding: 9px 10px; border: 1px solid #d6d9e5; border-radius: 9px; background: var(--surface); color: var(--ink); font-family: inherit; font-weight: 450; font-size: 1rem; }
.form-field textarea { resize: vertical; }

@media (max-width: 1280px) {
  .studio-rental-page > main { padding-top: 70px; }
  .catalog { scroll-margin-top: 84px; }
}

@media (max-width: 940px) {
  .wrap { width: calc(100% - 48px); }
  .hero-copy { padding-left: 35px; }
  .search-panel { width: calc(100% - 62px); }
  .studio-grid { gap: 13px; }
  .studio-body { padding-inline: 13px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .hero { min-height: 320px; }
  .hero h1 { font-size: clamp(2.45rem, 7.3vw, 4.05rem); }
  .hero-photo { width: 80%; object-position: 60% 50%; }
  .hero::after { background: linear-gradient(92deg, #363c6b, #363c6b 20%, #363c6be8 43%, #363c6b4d 83%); }
  .search-panel { width: calc(100% - 30px); }
  .search-field { padding-inline: 7px; gap: 7px; }
  .search-button { padding-inline: 14px; }
  .catalog { margin-top: 32px; }
  .catalog-heading { flex-wrap: wrap; }
  .catalog-filters:has(> .extra-filters[hidden]) { display: none; }
  .catalog-filters { padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
  .extra-filters { margin-top: 14px; padding: 13px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
  .studio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-feature, .rental-guide, .faq-guide { grid-template-columns: minmax(0, 1fr); }
  .rental-visual { min-height: 270px; }
  .guide-cta { grid-template-columns: auto minmax(0, 1fr); }
  .guide-cta .button { grid-column: 2; justify-self: start; }
  .recording-guide { grid-template-columns: minmax(0, 1fr); }
  .recording-guide .button { grid-column: 1; }
  .map-layout { grid-template-columns: minmax(0, 1fr); }
  .studio-map { min-height: 345px; }
  .map-sidebar { max-height: 260px; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .sort-field, .price-filter { width: 100%; }
  .extra-filters > .checkbox-field { min-height: 34px; margin-top: 0; }
}
@media (max-width: 540px) {
  .hero { min-height: 0; flex-direction: column; align-items: stretch; border-radius: 18px; }
  .hero-photo { position: relative; width: 100%; height: 120px; order: 1; object-position: center 46%; }
  .hero::after { display: none; }
  .hero-copy { padding: 25px 19px 19px; }
  .hero p { margin-top: 13px; font-size: 1rem; }
  .breadcrumbs { margin-block: 15px; }
  .search-panel { width: calc(100% - 18px); grid-template-columns: minmax(0, 1fr); gap: 7px; margin-top: -28px; padding: 9px; border-radius: 15px; }
  .search-field { min-height: 56px; padding-inline: 10px; }
  .search-button { min-height: 46px; }
  .catalog { margin-top: 26px; }
  .catalog-view-controls { width: 100%; }
  .chip.map-toggle { min-width: 0; padding: 5px 12px; text-align: left; line-height: 1.2; white-space: normal; }
  .catalog-view-controls > .filter-toggle { flex: none; }
  .chip { padding-inline: 10px; min-height: 41px; }
  .results-line { min-height: 40px; }
  .studio-grid { grid-template-columns: minmax(0, 1fr); }
  .studio-body { padding-inline: 16px; }
  .guide-head { gap: 10px; }
  .guide-head .guide-icon { width: 34px; height: 34px; border-radius: 10px; }
  .guide-head .guide-icon .icon { width: 19px; height: 19px; }
  .price-feature { gap: 14px; padding: 17px; border-radius: 19px; }
  .price-notes > div { padding-inline: 9px; }
  .calculator-fields { gap: 9px; }
  .rental-visual { min-height: 230px; }
  .dialog-body { padding: 20px 16px; }
  .dialog-body h2 { font-size: 1.55rem; }
}
@media (max-width: 370px) {
  .hero h1 { font-size: 2.1rem; }
  .search-field input::placeholder { font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
