@font-face { font-family: 'Onest'; src: url(assets/fonts/onest-300.ttf) format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Onest'; src: url(assets/fonts/onest-400.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Onest'; src: url(assets/fonts/onest-500.ttf) format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Onest'; src: url(assets/fonts/onest-600.ttf) format('truetype'); font-weight: 600; font-display: swap; }

/* Балтика днём: холодный воздух, глубокий синий, небо. Один шрифт, линейки вместо карточек */
:root {
  --bg: #EEF1F3;
  --white: #FFFFFF;
  --ink: #14213A;
  --muted: #536175;
  --line: #C6D0D9;
  --sky: #B5CEDB;
  --sky-2: #DCE7EE;
  --wrap: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 'Onest', system-ui, sans-serif; font-variant-numeric: tabular-nums lining-nums;  }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--sky); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-weight: 500; margin: 0; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(36px, 5.2vw, 76px); }
h3 { font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.sec { padding: clamp(72px, 9vw, 136px) 0; border-top: 1px solid var(--line); }
.sec__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec__head p { color: var(--muted); font-size: 18px; max-width: 42ch; }
.label { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); line-height: 1.3; }
.link { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; transition: text-underline-offset .2s; }
.link:hover { text-underline-offset: .4em; }

.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 500 16px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, gap .3s var(--ease); }
.btn::after { content: '→'; transition: transform .3s var(--ease); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--s { min-height: 44px; padding: 0 18px; font-size: 15px; }
.like { min-height: 44px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--muted); font: 500 15px inherit; font-family: inherit; cursor: pointer; transition: color .2s, border-color .2s; }
.like:hover { color: var(--ink); border-color: var(--ink); }
.like[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }

.tag { display: none; margin-left: 8px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border: 1px solid currentColor; padding: 1px 5px; }
body[data-notes="on"] .tag { display: inline-block; }
body[data-notes="on"] [data-proposal] { outline: 2px dashed var(--muted); outline-offset: -8px; }

/* демо и шапка */
.demo { background: var(--ink); color: #B9C5D3; font-size: 13px; }
.demo__in { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 32px; }
.demo button { border: 0; background: none; color: #fff; font: 500 13px inherit; font-family: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; min-height: 32px; }
.demo button[aria-pressed="true"] { color: var(--sky); }
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; height: 60px; }
.top__who { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; margin-right: auto; }
.top__who img { width: 32px; height: 32px; border-radius: 50%; }
.top__nav { display: flex; gap: 28px; font-size: 15px; }
.top__nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.top__nav a:hover { color: var(--ink); }

/* первый экран */
.hero__top { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(28px, 3.5vw, 48px); display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); gap: 24px 48px; align-items: end; }
.hero h1 { font-size: clamp(48px, 7.6vw, 124px); line-height: .94; letter-spacing: -0.045em; }
.hero__for { color: var(--muted); font-size: 16px; max-width: 30ch; }
.hero__photo { margin: 0; height: min(74vh, 760px); overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.06); transition: transform 2.2s var(--ease); }
.is-ready .hero__photo img { transform: none; }
.hero__facts { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__facts p { padding: 22px 20px 26px 0; border-right: 1px solid var(--line); display: grid; gap: 6px; }
.hero__facts p + p { padding-left: 20px; }
.hero__facts p:last-child { border-right: 0; }
.hero__facts b { font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.hero__facts span { color: var(--muted); font-size: 14.5px; }

/* запрос */
.ask { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.ask__in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 7fr) minmax(0, 3fr); gap: 24px 48px; padding-top: 40px; padding-bottom: 40px; align-items: start; }
.ask__line { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.25; letter-spacing: -0.02em; }
.ask__side { display: grid; gap: 14px; justify-items: start; }
.ask__more summary { cursor: pointer; font-weight: 500; list-style: none; min-height: 32px; text-decoration: underline; text-underline-offset: .25em; }
.ask__more summary::-webkit-details-marker { display: none; }
.ask__more ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.ask__more b { color: var(--ink); font-weight: 500; }

/* дом */
.house { padding-bottom: clamp(72px, 9vw, 136px); }
.house__photo { margin: 0; height: min(86vh, 860px); overflow: hidden; }
.house__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.house__photo:hover img { transform: scale(1.02); }
.house__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; }
.house__head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); align-items: baseline; gap: 16px 32px; padding: 40px 0 32px; border-bottom: 1px solid var(--line); }
.house__n { color: var(--muted); font-size: 15px; }
.house h2 { font-size: clamp(56px, 9vw, 148px); letter-spacing: -0.05em; line-height: .9; }
.house__lead { grid-column: 2; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.02em; color: var(--muted); }
.house__nums { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-bottom: 1px solid var(--line); }
.house__nums div { padding: 22px 20px 26px 0; border-right: 1px solid var(--line); }
.house__nums div + div { padding-left: 20px; }
.house__nums div:last-child { border-right: 0; }
.house__nums dt { color: var(--muted); font-size: 14.5px; margin-bottom: 8px; }
.house__nums dd { margin: 0; font-size: clamp(44px, 5.5vw, 88px); font-weight: 500; letter-spacing: -0.05em; line-height: .9; }
.house__nums small { font-size: 16px; letter-spacing: 0; font-weight: 400; color: var(--muted); margin-left: 6px; }
.house__text { grid-column: 3 / span 5; padding-top: 40px; display: grid; gap: 22px; align-content: start; }
.house__why { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; }
.house__minus { color: var(--muted); font-size: 16px; padding-left: 16px; border-left: 1px solid var(--ink); }
.house__minus b { color: var(--ink); font-weight: 500; }
.house__act { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.house__second { grid-column: 9 / -1; margin: 40px 0 0; aspect-ratio: 4 / 5; overflow: hidden; }
.house__second img { width: 100%; height: 100%; object-fit: cover; }

/* сравнение */
.cmp-sec h2 { margin-bottom: 40px; }
.table-scroll { overflow-x: auto; }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; }
.cmp th, .cmp td { text-align: left; padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.cmp thead th { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; border-bottom-color: var(--ink); }
.cmp thead a { text-decoration: none; }
.cmp thead a:hover { text-decoration: underline; }
.cmp tbody th { font-weight: 500; width: 22%; }
.cmp td { color: var(--muted); }
.v { font-style: normal; color: var(--ink); margin-right: 8px; font-size: 14px; }
.v--no { color: var(--line); }

/* квартиры */
.flats { background: var(--white); }
.flat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 56px; padding: 48px 0; border-top: 1px solid var(--line); }
.flat__stage { position: relative; aspect-ratio: 3 / 2; background: var(--white); }
.flat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .5s var(--ease); }
.flat[data-view="plan"] .flat__img--plan, .flat[data-view="provence"] .flat__img--provence, .flat[data-view="classic"] .flat__img--classic { opacity: 1; }
.flat__info { display: grid; gap: 18px; align-content: start; }
.flat__where { color: var(--muted); font-size: 14.5px; }
.flat h3 { font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -0.03em; }
.flat__toggle { display: inline-flex; border: 1px solid var(--ink); justify-self: start; }
.flat__toggle button { min-height: 44px; padding: 0 18px; border: 0; background: none; color: var(--ink); font: 500 15px inherit; font-family: inherit; cursor: pointer; transition: background .2s, color .2s; }
.flat__toggle button + button { border-left: 1px solid var(--ink); }
.flat__toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.flat__room { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sky-2); }
.flat__rimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.flat[data-view="plan"] .flat__rimg--plan, .flat[data-view="provence"] .flat__rimg--provence, .flat[data-view="classic"] .flat__rimg--classic { opacity: 1; }
.flat__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.flat__price b { font-size: 40px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.flat__price span { color: var(--muted); }
.flat__why { color: var(--muted); font-size: 16px; }
.flat__why span { color: var(--ink); font-weight: 500; }
.flat__act { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }

/* карта */
.map__controls { margin-bottom: 20px; }
.seg { display: inline-flex; border: 1px solid var(--ink); flex-wrap: wrap; }
.seg button { min-height: 44px; padding: 0 18px; border: 0; background: none; color: var(--ink); font: 500 15px inherit; font-family: inherit; cursor: pointer; transition: background .2s, color .2s; }
.seg button + button { border-left: 1px solid var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.map__body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: start; }
.map__fig { margin: 0; background: var(--white); }
.map__fig svg { display: block; width: 100%; height: auto; }
.m-land { fill: #E6EBEF; }
.m-sea { fill: var(--sky); }
.m-beach { fill: #F2F2EE; }
.m-forest { fill: #D5DED8; }
.m-trees { fill: #BFCCC3; }
.m-road { stroke: #fff; stroke-width: 10; fill: none; }
.m-label { font: 500 18px 'Onest', sans-serif; fill: #4E6E80; letter-spacing: -0.01em; }
.m-ring { fill: rgba(20, 33, 58, .05); stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 4 6; }
.m-route { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 1 6; stroke-linecap: round; }
.pin { cursor: pointer; }
.pin circle { fill: #fff; stroke: var(--ink); stroke-width: 2; transition: r .2s var(--ease), fill .2s; }
.pin text { font: 500 13px 'Onest', sans-serif; fill: var(--ink); paint-order: stroke; stroke: #E6EBEF; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.pin:hover circle, .pin.is-on circle { r: 9; fill: var(--ink); }
.zpin { cursor: pointer; }
.zpin rect { fill: var(--ink); transition: transform .3s var(--ease); }
.zpin.is-on rect { fill: #2E5F8A; transform: scale(1.25); }
.zpin text { font: 600 16px 'Onest', sans-serif; fill: #fff; pointer-events: none; }
.place-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.place-list button { width: 100%; display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: 400 16px inherit; font-family: inherit; text-align: left; cursor: pointer; }
.place-list button span { transition: transform .3s var(--ease); }
.place-list button:hover span, .place-list button[aria-pressed="true"] span { transform: translateX(8px); }
.place-list b { font-weight: 500; white-space: nowrap; }
.place-card { position: relative; margin-top: 32px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; background: var(--white); animation: rise .5s var(--ease); }
.place-card:not(:has(img)) { grid-template-columns: 1fr; }
.place-card__img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.place-card__body { padding: 28px 64px 28px 0; display: grid; gap: 14px; align-content: start; }
.place-card:not(:has(img)) .place-card__body { padding-left: 28px; }
.place-card blockquote, .irina blockquote { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.place-card blockquote p, .irina blockquote p { font-size: 18px; line-height: 1.45; letter-spacing: -0.01em; }
.place-card footer, .irina footer { color: var(--muted); font-size: 14px; }
.place-card__x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); font-size: 22px; cursor: pointer; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* вопросы */
.faq__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 56px; align-items: start; }
.faq h2 { position: sticky; top: 100px; font-size: clamp(32px, 4vw, 56px); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font-weight: 300; font-size: 26px; line-height: 1; transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding-bottom: 24px; color: var(--muted); max-width: 62ch; animation: rise .4s var(--ease); }

/* Ирина */
.irina__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 56px; align-items: start; }
.irina__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.irina__text { display: grid; gap: 28px; }
.irina__intro { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; letter-spacing: -0.015em; }
.irina__reviews { display: grid; gap: 24px; }

/* запись */
.next { background: var(--ink); color: #fff; border-top: 0; }
.next h2 { font-size: clamp(48px, 7vw, 112px); letter-spacing: -0.045em; }
.next__lead { color: #B9C5D3; font-size: 18px; margin: 20px 0 48px; max-width: 52ch; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .25); }
.slot { display: grid; gap: 8px; padding: 24px 20px 28px 0; border-right: 1px solid rgba(255, 255, 255, .25); text-decoration: none; transition: background .25s; }
.slot + .slot { padding-left: 20px; }
.slot:last-child { border-right: 0; }
.slot:hover { background: rgba(255, 255, 255, .06); }
.slot b { font-size: clamp(26px, 2.6vw, 40px); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.slot span { color: #B9C5D3; font-size: 15px; }
.next__alt { margin-top: 40px; color: #B9C5D3; }
.next .link { color: #fff; }
.next__deadline { margin-top: 12px; color: #8A9AAF; font-size: 14.5px; }

.foot { padding: 32px 0 120px; color: var(--muted); font-size: 13.5px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; width: min(520px, calc(100% - 32px)); background: var(--white); color: var(--ink); border: 1px solid var(--ink); padding: 16px 20px; display: grid; gap: 4px; animation: toast .35s var(--ease); }
.toast small { color: var(--muted); font-size: 13px; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 10px); } }
.bar { display: none; }

@media (max-width: 1000px) {
  .top__nav { display: none; }
  .hero__top { grid-template-columns: 1fr; }
  .ask__in { grid-template-columns: 1fr; gap: 16px; }
  .house__text { grid-column: 1 / span 7; }
  .flat { grid-template-columns: 1fr; }
  .map__body, .faq__in, .irina__in { grid-template-columns: 1fr; }
  .faq h2 { position: static; }
  .slots { grid-template-columns: 1fr 1fr; }
  .slot:nth-child(2) { border-right: 0; }
  .slot:nth-child(3) { padding-left: 0; }
  .slot:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .25); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .demo__in span { font-size: 12px; }
  .top__in { height: 56px; }
  .hero__photo { height: 52vh; }
  .hero__facts, .house__nums { grid-template-columns: 1fr 1fr; }
  .hero__facts p, .house__nums div { padding: 16px 12px 18px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero__facts p:nth-child(even), .house__nums div:nth-child(even) { padding-left: 12px !important; border-left: 1px solid var(--line); }
  .house__photo { height: 60vh; }
  .house__head { grid-template-columns: 1fr; padding: 28px 0 20px; }
  .house__lead { grid-column: 1; }
  .house__text, .house__second { grid-column: 1 / -1; }
  .house__second { aspect-ratio: 4 / 3; margin-top: 28px; }
  .sec__head { grid-template-columns: 1fr; }
  .flat { padding: 36px 0; }
  .map__fig { margin: 0 calc(var(--pad) * -1); overflow-x: auto; }
  .map__fig svg { width: 220%; max-width: none; }
  .place-card { grid-template-columns: 1fr; }
  .place-card__body { padding: 20px; }
  .slots { grid-template-columns: 1fr; }
  .slot, .slot + .slot { padding: 18px 0; border-right: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
  .bar:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--ink); }
  .bar .btn { flex: 1; justify-content: center; }
  .toast { bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__photo img { transform: none; }
}

/* что я изучила */
.study { background: var(--white); }
.study__head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.study__title { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; }
.study__title em { font-style: normal; color: #2E5F8A; }
.study__sub { color: var(--muted); font-size: 17px; }
.study__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--ink); }
.study__col h3 { font-size: 24px; padding: 20px 0 18px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.study__col h3 small { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.study__col ul { list-style: none; margin: 0; padding: 0; }
.study__col li { padding: 18px 0 20px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.study__place { font-weight: 500; font-size: 16.5px; }
.study__place span { display: block; color: var(--muted); font-weight: 400; font-size: 13.5px; }
.study__fact { color: var(--ink); font-size: 15.5px; }
.study blockquote { margin: 0; display: grid; gap: 6px; }
.study blockquote p { font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.study blockquote footer { font-size: 13px; color: var(--muted); }
.study blockquote a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.study blockquote a:hover { color: var(--ink); }
@media (max-width: 1000px) { .study__grid { grid-template-columns: 1fr 1fr; } .study__head { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .study__grid { grid-template-columns: 1fr; } }
.study__src { color: var(--muted); font-size: 13px; text-underline-offset: 2px; }
.house__voice { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.house__voice p { font-size: 18px; line-height: 1.45; letter-spacing: -0.01em; }
.house__voice footer { color: var(--muted); font-size: 13.5px; }
.house__voice a { color: var(--muted); }

/* v3.1: первый экран — кадр на весь экран, заголовок поверх */
.hero { position: relative; min-height: min(calc(100svh - 92px), 900px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero__photo { position: absolute; inset: 0; height: auto; }
.hero__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 36, .55), rgba(10, 20, 36, .15) 55%, rgba(10, 20, 36, 0) 75%), linear-gradient(0deg, rgba(10, 20, 36, .78) 0%, rgba(10, 20, 36, .4) 50%, rgba(10, 20, 36, .12) 100%); }
.hero__in { position: relative; display: grid; gap: 24px; justify-items: start; padding-top: 120px; padding-bottom: clamp(36px, 5vw, 64px); }
.hero h1 { max-width: 13ch; }
.hero__for { display: flex; gap: 14px; align-items: flex-start; color: #E3EAF0; font-size: 16.5px; max-width: 58ch; }
.hero__for img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.hero__for b { color: #fff; font-weight: 500; }
.hero .btn { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn:hover { background: var(--sky); border-color: var(--sky); }
/* «В избранное» */
.like { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); color: var(--ink); }
.like svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: fill .2s; }
.like[aria-pressed="true"] { border-color: var(--ink); }
.like[aria-pressed="true"] svg { fill: var(--ink); }
/* находки: по две на человека, остальные по кнопке */
.study__col li.is-extra { display: none; }
.study.is-open .study__col li.is-extra { display: grid; }
.study__all { margin-top: 28px; min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); background: none; color: var(--ink); font: 500 15px inherit; font-family: inherit; cursor: pointer; transition: background .2s, color .2s; }
.study__all:hover { background: var(--ink); color: #fff; }
.study blockquote p { font-size: 16.5px; }
.study blockquote p::before { content: ''; display: block; width: 24px; height: 1px; background: var(--ink); margin-bottom: 10px; }
.study__title { font-size: clamp(32px, 4vw, 58px); }
/* слоты — явные кнопки */
.slots { gap: 12px; border-top: 0; }
.slot, .slot + .slot { border: 1px solid rgba(255, 255, 255, .35); padding: 20px 22px 22px; }
.slot:hover { background: #fff; color: var(--ink); }
.slot:hover span { color: var(--muted); }
/* разное */
.irina__photo { aspect-ratio: 4 / 5; max-height: 720px; }
.qa summary { align-items: center; }
.cmp-sec { border-top: 0; }
:root { --muted: #45536A; }
@media (max-width: 720px) {
  .hero { min-height: calc(100svh - 88px); }
  .hero__for { font-size: 15px; }
  .slot, .slot + .slot { padding: 16px 18px; }
}
