/* Лендинг «Кто крайний?» — поверх style.css */
body.landing { background: var(--white); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 10px 14px; border-radius: 10px; z-index: 100; font-weight: 800; }
.skip:focus { left: 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.col { display: flex; flex-direction: column; gap: 22px; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.kicker.teal { color: var(--teal); }
.kicker.peach { color: var(--orange-soft); }
.kicker.brown { color: var(--brown); }
.h2 { margin: 0; font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.15; }
.h2.big { font-size: 30px; }
.h3 { margin: 0; font-family: var(--display); font-size: 18px; font-weight: 700; }
.l-aside { font-size: 16px; font-family: var(--font); font-weight: 700; color: var(--muted); }
.l-sec { padding: 56px 0; }
.lead { margin: 0; max-width: 640px; font-size: 18px; font-weight: 600; line-height: 1.5; color: #33484C; }
.l-p { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.5; color: #33484C; }
.l-p.light { color: #C9D6D8; }
.l-fine { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--muted); }

/* шапка */
.l-head { background: var(--ink); color: var(--white); }
.l-head-in { padding-top: 12px; padding-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.l-brand { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; color: var(--white); text-decoration: none; }
.l-brand:hover { color: var(--white); }
.l-logo { width: 38px; height: 38px; border-radius: 11px; background: var(--orange); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.l-brand-name { font-family: var(--display); font-size: 20px; font-weight: 700; }
.l-nav { display: flex; flex-wrap: wrap; gap: 0 18px; font-size: 14px; font-weight: 700; }
.l-nav a { color: var(--white); padding: 12px 0; display: inline-block; }
.l-nav a:hover { color: var(--orange-soft); }
.l-head-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 2px solid var(--white); color: var(--white); font-weight: 800; font-size: 14px; text-decoration: none; }
.l-head-btn:hover { background: var(--white); color: var(--ink); }

/* первый экран */
.l-hero { padding: 56px 0 64px; }
.l-h1 { margin: 0; max-width: 860px; font-family: var(--display); font-size: clamp(32px, 5vw, 58px); line-height: 1.05; font-weight: 700; }
.l-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.l-chips span { background: var(--white); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 800; }
.l-search, .l-code { background: var(--orange); border-radius: 18px; padding: 5px; display: flex; flex-wrap: wrap; gap: 5px; }
.l-code { background: var(--ink); }
.l-sf { flex: 1 1 190px; background: var(--white); border-radius: 13px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.l-sf.grow3 { flex: 3 1 240px; }
.l-sf > span { font-size: 12px; font-weight: 800; color: var(--muted); }
.l-sf input, .l-sf select { border: 0; font-size: 16px; font-weight: 700; color: var(--ink); padding: 4px 0; background: transparent; min-width: 0; width: 100%; }
.l-sf input:focus, .l-sf select:focus { outline: none; }
.l-sf:focus-within { box-shadow: inset 0 0 0 3px var(--teal); }
#code { text-transform: uppercase; font-weight: 800; letter-spacing: .03em; }
.l-find { flex: 1 1 140px; min-height: 60px; border-radius: 13px; border: 0; background: var(--ink); color: var(--white); font-weight: 800; font-size: 17px; }
.l-code .l-find { background: var(--orange); color: var(--ink); }
.l-under { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; font-weight: 700; color: #33484C; }
.l-under a { font-weight: 800; }

/* адреса */
.l-results { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.l-filters { flex: 1 1 220px; max-width: 300px; display: flex; flex-direction: column; gap: 12px; }
.l-filter-box { border: 2px solid var(--line); border-radius: 16px; padding: 6px 14px; display: flex; flex-direction: column; }
.l-filter-box label { display: flex; align-items: center; gap: 10px; min-height: 46px; font-size: 15px; font-weight: 700; cursor: pointer; }
.l-filter-box label + label { border-top: 1px solid var(--line); }
.l-filter-box input { width: 20px; height: 20px; accent-color: var(--teal); margin: 0; }
.l-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.l-list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.l-found { font-size: 15px; font-weight: 800; color: var(--muted); }
#my-homes, #results { display: flex; flex-direction: column; gap: 14px; }
#my-homes:empty { display: none; }
.l-group { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--muted); margin: 6px 0 -4px; }
.l-empty { border: 2px dashed var(--line2); border-radius: 18px; padding: 28px; font-size: 16px; font-weight: 700; color: var(--muted); margin: 0; }
.l-home { border: 2px solid var(--line); border-radius: 20px; padding: 14px; display: flex; flex-wrap: wrap; gap: 16px; }
.l-home.on { border-color: var(--teal); }
.l-home.real { border-color: var(--teal); background: #F7FBFA; }
.l-art { flex: 0 0 180px; height: 160px; border-radius: 14px; display: flex; align-items: center; justify-content: center; position: relative; }
.l-art .tag { position: absolute; left: 8px; top: 8px; background: var(--white); color: var(--ink); border-radius: 8px; padding: 3px 8px; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.l-info { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.l-info h3 { margin: 0; font-size: 20px; font-weight: 800; color: var(--teal); }
.l-addr { font-size: 14px; font-weight: 700; color: #33484C; }
.l-feats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.l-feats span { font-size: 12px; font-weight: 800; border: 1px solid var(--line2); border-radius: 8px; padding: 4px 8px; }
.l-price { font-size: 14px; font-weight: 700; color: #33484C; margin-top: 4px; }
.l-urg { font-size: 14px; font-weight: 800; color: var(--red); }
.l-side { flex: 1 1 190px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.l-rate { display: flex; align-items: center; gap: 10px; }
.l-rate .w { font-size: 16px; font-weight: 800; }
.l-rate .n { font-size: 12px; font-weight: 700; color: var(--muted); }
.l-score { width: 42px; height: 42px; border-radius: 10px 10px 10px 2px; background: var(--teal); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex: 0 0 42px; }
.l-status { font-size: 13px; font-weight: 800; border-radius: 999px; padding: 5px 12px; color: var(--ink); background: var(--teal-tint); }
.l-status.busy { background: var(--orange-tint); }
.l-window { font-size: 13px; font-weight: 700; color: #33484C; }
.l-book { min-height: 48px; padding: 0 20px; border-radius: 12px; border: 0; background: var(--teal); color: var(--white); font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; text-decoration: none; }
.l-book:hover { background: var(--teal-dark); color: var(--white); }
.l-booked { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: var(--teal-tint); border-radius: 14px; padding: 12px 14px; }
.l-booked span { flex: 1 1 240px; font-size: 15px; font-weight: 800; }
.l-booked small { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 2px; }
.l-booked button { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 2px solid var(--teal); background: var(--white); color: var(--teal); font-weight: 800; font-size: 14px; }

/* шаги */
.l-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.l-steps > div { background: var(--white); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.l-steps b { font-family: var(--display); font-size: 30px; color: var(--orange); }
.l-steps h3 { margin: 0; font-size: 18px; font-weight: 800; }
.l-steps p { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.5; color: #33484C; }

/* король и гость */
.l-duo { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.l-king { flex: 1 1 460px; min-width: 0; background: var(--ink); color: var(--white); border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 16px; }
.l-guest { flex: 1 1 400px; min-width: 0; background: var(--orange-tint); border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 16px; }
.l-modes { display: flex; flex-wrap: wrap; gap: 6px; background: #1C353A; border-radius: 16px; padding: 5px; }
.l-modes button { flex: 1 1 120px; min-height: 56px; border-radius: 12px; border: 0; background: transparent; color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px; }
.l-modes button b { font-size: 15px; }
.l-modes button span { font-size: 12px; font-weight: 700; }
.l-modes button[aria-pressed="true"] { background: var(--orange); color: var(--ink); }
.l-king-card { background: var(--white); color: var(--ink); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.l-kc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.l-kc-k { font-size: 12px; font-weight: 800; color: var(--muted); }
.l-kc-t { font-size: 17px; font-weight: 800; }
.l-badge { font-size: 13px; font-weight: 800; border-radius: 999px; padding: 5px 12px; background: var(--orange-soft); }
.l-badge.calm { background: var(--teal-tint); }
.l-kc-fields { display: flex; flex-direction: column; gap: 10px; }
.l-kc-row { border-top: 1px solid var(--line); padding-top: 12px; }
.l-kc-row .grow { flex: 1; font-size: 15px; font-weight: 800; }
.l-rules { margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); list-style: none; display: flex; flex-direction: column; gap: 8px; }
.l-rules li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 700; line-height: 1.4; }
.l-rules svg { flex: 0 0 20px; margin-top: 1px; }
.l-linkbox { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: #F1F5F5; border-radius: 12px; padding: 8px 8px 8px 12px; }
.l-linkbox span { flex: 1 1 200px; font-size: 14px; font-weight: 800; word-break: break-all; }
.l-linkbox button { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--teal); color: var(--white); font-weight: 800; font-size: 14px; }
.l-done { display: flex; flex-direction: column; gap: 12px; }
.l-done h3 { margin: 0; font-family: var(--display); font-size: 20px; }
.l-gcard { background: var(--white); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.l-gcard .k { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.l-gcard .line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; font-weight: 700; }
.l-gcard .ok { background: var(--teal-tint); border-radius: 12px; padding: 12px; font-size: 15px; font-weight: 800; }
.l-gcard .err { color: var(--red); font-weight: 800; font-size: 15px; }
.l-guest-list { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 8px; }
.l-guest-list li { font-size: 15px; font-weight: 700; line-height: 1.45; }

/* отзывы и вопросы */
.l-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.l-reviews figure { margin: 0; background: var(--white); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.l-rv-top { display: flex; align-items: center; gap: 10px; }
.l-rv-top .l-score { width: 36px; height: 36px; flex-basis: 36px; font-size: 15px; }
.l-reviews blockquote { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.5; }
.l-reviews figcaption { font-size: 13px; font-weight: 800; color: var(--muted); }
.faq { gap: 10px; }
.faq h2 { margin-bottom: 8px; }
.faq details { border: 2px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 800; min-height: 28px; }
.faq details p { margin: 10px 0 0; font-size: 15px; font-weight: 600; line-height: 1.5; color: #33484C; }

/* финал */
.l-cta { background: var(--teal); color: var(--white); padding: 56px 0; }
.l-cta-in { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.l-cta h2 { margin: 0; flex: 1 1 420px; font-family: var(--display); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; font-weight: 700; }
.l-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.l-cta-a { display: inline-flex; align-items: center; min-height: 54px; padding: 0 22px; border-radius: 14px; border: 2px solid var(--white); color: var(--white); font-weight: 800; font-size: 16px; text-decoration: none; }
.l-cta-a.solid { background: var(--white); color: var(--teal); }
.l-cta-a:hover { color: var(--white); background: rgba(255, 255, 255, .12); }
.l-cta-a.solid:hover { background: var(--teal-tint); color: var(--teal); }
.l-foot { background: var(--ink); color: #C9D6D8; padding: 22px 0; }
.l-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 13px; font-weight: 700; }

@media (max-width: 640px) {
  .l-sec { padding: 40px 0; }
  .l-hero { padding: 36px 0 44px; }
  .wrap { padding: 0 16px; }
  .l-nav { order: 3; flex: 1 1 100%; gap: 0 14px; }
  .l-king, .l-guest { padding: 20px; }
  .l-art { flex: 1 1 100%; height: 120px; }
  .l-side { align-items: flex-start; text-align: left; }
  .h2.big { font-size: 24px; }
  .l-filters { max-width: none; }
}
