@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800&display=swap');

.page-home {
  /* Под sticky-блоки: обновляется home-topbar-sticky.js по высоте .home-topbar */
  --home-topbar-offset: 118px;
  --ink: #0a0a0b;
  --ink-soft: #3f3f46;
  --paper: #fafafa;
  --line: rgba(10, 10, 11, 0.08);
  --accent: #e4002b;
  --accent-2: #ff4d6d;
  --accent-hot: #ff7a00;
  --irr-red: #e4002b;
  --yula-green: #9ee437;
  --yula-green-hover: #8ed42a;
  --yula-blue: #00aaff;
  --surface: #ffffff;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --wrap: min(1280px, 100% - 40px);
  --font: 'Onest', system-ui, sans-serif;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
}

.page-home * { box-sizing: border-box; }
.page-home a { color: inherit; text-decoration: none; }
.page-home a:hover { opacity: 0.92; }

.home-wrap {
  width: var(--wrap);
  margin: 0 auto;
}

/* Topbar (Юла-style) */
.home-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(10, 10, 11, 0.04);
}
.home-topbar__utils {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.home-topbar__utils-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  padding: 4px 0;
}
.home-loc {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}
.home-loc__label {
  color: var(--ink-soft);
}
.home-loc__pin {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  color: var(--ink-soft);
}
.home-loc__pin-icon {
  display: block;
  flex-shrink: 0;
}
.home-loc__city {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.home-loc__city:hover {
  color: var(--yula-blue);
  opacity: 1;
}

/* Location modal (Юла-style) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
body.home-loc-open { overflow: hidden; }
.home-loc-modal[hidden] { display: none !important; }
.home-loc-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.home-loc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.45);
}
.home-loc-modal__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(92vh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(10, 10, 11, 0.2);
  padding: 0 0 16px;
}
.home-loc-modal__dialog.is-city-tab .home-loc-modal__search-wrap {
  flex-shrink: 0;
}
.home-loc-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 8px;
}
.home-loc-modal__tabs {
  display: flex;
  gap: 16px;
}
.home-loc-modal__tab {
  background: none;
  border: 0;
  padding: 4px 0;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #a1a1aa;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.home-loc-modal__tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--yula-blue);
}
.home-loc-modal__close {
  border: 0;
  background: #f4f4f5;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
}
.home-loc-modal__search-wrap {
  position: relative;
  margin: 0 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: #fff;
}
.home-loc-modal__search-ico {
  color: #a1a1aa;
  font-size: 18px;
}
.home-loc-modal__search {
  flex: 1;
  border: 0;
  padding: 12px 0;
  font: inherit;
  font-size: 16px;
  outline: none;
  min-width: 0;
}
.home-loc-modal__search-clear {
  border: 0;
  background: none;
  font-size: 22px;
  color: #a1a1aa;
  cursor: pointer;
  line-height: 1;
}
.home-loc-modal__suggest {
  position: fixed;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  list-style: none;
  margin: 0;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(10, 10, 11, 0.12);
  z-index: 250;
  max-height: min(50vh, 360px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.home-loc-modal__suggest button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 10px 12px;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.home-loc-modal__suggest button:hover {
  background: #f4f4f5;
}
.home-loc-modal__panel[data-loc-panel="place"] {
  margin: 0 16px;
}
.home-loc-modal__map {
  position: relative;
  margin-top: 12px;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f3f3f3;
}
.home-loc-modal__map--widget iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  position: relative;
  z-index: 1;
}
.home-loc-modal__radius-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--yula-blue);
  background: rgba(0, 170, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  box-sizing: border-box;
  transition: width 0.2s ease, height 0.2s ease;
}
.home-loc-modal__map .ymaps-2-1-79-map {
  border-radius: 14px;
}
.home-loc-modal__geo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fafafa;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--yula-blue);
  cursor: pointer;
}
.home-loc-modal__geo:hover {
  background: rgba(0, 170, 255, 0.06);
  border-color: rgba(0, 170, 255, 0.35);
}
.home-loc-modal__geo.is-loading {
  opacity: 0.65;
  pointer-events: none;
}
.home-loc-modal__panel[data-loc-panel="city"]:not([hidden]) {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 4px 16px 0;
  overflow: hidden;
}
.home-loc-modal__city-hint {
  margin: 4px 0 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.home-loc-modal__city-list {
  list-style: none;
  margin: 0;
  padding: 4px;
  flex: 1;
  min-height: 200px;
  max-height: min(58vh, 520px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafafa;
}
.home-loc-modal__city-list.is-loading {
  opacity: 0.55;
  pointer-events: none;
}
.home-loc-modal__city-empty {
  padding: 16px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
}
.home-loc-modal__city-item__region {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-soft);
}
.home-loc-modal__city-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 11px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  color: var(--ink);
}
.home-loc-modal__city-item:hover {
  background: #fff;
}
.home-loc-modal__city-item.is-active {
  background: rgba(0, 170, 255, 0.12);
  color: var(--yula-blue);
  font-weight: 600;
}
.home-loc-modal__suggest button.is-external {
  color: var(--ink-soft);
  font-size: 13px;
}
.home-loc-modal__radius {
  margin: 14px 16px 0;
}
.home-loc-modal__radius-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.home-loc-modal__radius-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.home-loc-modal__chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  color: var(--ink);
}
.home-loc-modal__chip.is-active {
  background: rgba(0, 170, 255, 0.12);
  border-color: var(--yula-blue);
  color: var(--yula-blue);
  font-weight: 600;
}
.home-loc-modal__head,
.home-loc-modal__search-wrap,
.home-loc-modal__radius,
.home-loc-modal__actions {
  flex-shrink: 0;
}
.home-loc-modal__actions {
  display: flex;
  gap: 12px;
  padding: 16px 16px 4px;
}
.home-loc-modal__btn {
  flex: 1;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.home-loc-modal__btn--ghost {
  background: #fff;
  border: 2px solid var(--yula-blue);
  color: var(--yula-blue);
}
.home-loc-modal__btn--save {
  background: var(--yula-blue);
  border: 2px solid var(--yula-blue);
  color: #fff;
}
.home-utils {
  display: none;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-soft);
}
.home-utils a:hover {
  color: var(--ink);
  opacity: 1;
}
.home-utils__btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
}
.home-utils__btn:hover {
  color: var(--ink);
}
.home-utils__btn--chat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.home-utils__link {
  text-decoration: none;
  color: inherit;
}
.home-utils__link:hover {
  color: var(--ink);
}
.home-utils__badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff4053;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.home-utils__badge--dot {
  min-width: 8px;
  width: 8px;
  height: 8px;
  padding: 0;
  font-size: 0;
  line-height: 0;
  vertical-align: middle;
  margin-left: 4px;
  box-shadow: 0 0 0 2px #fff;
}
.home-utils__user {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  color: var(--ink);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}
.home-utils__user:hover {
  color: var(--ink);
  opacity: 1;
}
@media (min-width: 768px) {
  .home-utils { display: flex; }
}
.home-topbar__main {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  flex-wrap: wrap;
}
.home-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex-shrink: 0;
}
.home-brand--logo {
  align-items: center;
}
.irr-logo {
  display: block;
  width: auto;
  max-width: min(220px, 48vw);
  height: auto;
  object-fit: contain;
  background: transparent;
}
.irr-logo--header {
  max-height: 42px;
  margin: 0;
  display: block;
}
.irr-logo--footer {
  max-height: 50px;
}
.home-brand__region {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  padding: 0 0 0 4px;
  margin: 0;
  line-height: 1.1;
}
.home-brand--invert .home-brand__region {
  color: var(--ink-soft);
}
.home-footer .home-brand--logo {
  background: transparent;
}
.home-footer .irr-logo--footer {
  filter: none;
}
.home-cat-drop {
  position: relative;
  flex-shrink: 0;
}
.home-cat-drop[open] {
  z-index: 80;
}
.home-cat-drop__scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 11, 0.35);
  z-index: 65;
  border: 0;
}
.home-cat-drop[open] .home-cat-drop__scrim {
  display: block;
}
.home-cat-drop__btn {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 44px;
  border-radius: 10px;
  background: var(--yula-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.home-cat-drop__btn::-webkit-details-marker { display: none; }
.home-cat-drop__icon {
  width: 14px;
  height: 12px;
  background:
    linear-gradient(#fff, #fff) 0 0 / 100% 2px,
    linear-gradient(#fff, #fff) 0 50% / 100% 2px,
    linear-gradient(#fff, #fff) 0 100% / 100% 2px;
  background-repeat: no-repeat;
}
.home-cat-drop[open] .home-cat-drop__icon {
  width: 14px;
  height: 14px;
  background:
    linear-gradient(#fff, #fff) 50% 0 / 2px 100%,
    linear-gradient(#fff, #fff) 0 50% / 100% 2px;
  transform: rotate(0deg);
}
.home-cat-drop__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(920px, calc(100vw - 32px));
  max-height: none;
  overflow: visible;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(10, 10, 11, 0.14);
  padding: 0;
  z-index: 70;
}
.home-cat-mega {
  display: flex;
  align-items: stretch;
}
.home-cat-mega__list {
  list-style: none;
  margin: 0;
  padding: 8px;
  width: min(300px, 38%);
  flex-shrink: 0;
  overflow: visible;
  border-right: 1px solid var(--line);
  box-sizing: border-box;
}
.home-cat-mega__row {
  margin: 0;
}
.home-cat-mega__main {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.12s ease;
  outline: none;
}
.home-cat-mega__main:focus-visible {
  box-shadow: 0 0 0 2px rgba(0, 170, 255, 0.35);
}
.home-cat-mega__main:hover,
.home-cat-mega__row.is-active .home-cat-mega__main,
.home-cat-mega__row:focus-within .home-cat-mega__main {
  background: #f4f4f5;
  opacity: 1;
}
.home-cat-mega__row.is-active .home-cat-mega__main {
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--yula-blue);
}
.home-cat-mega__ico {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f8f8f9;
  font-size: 15px;
  flex-shrink: 0;
}
.home-cat-mega__label {
  flex: 1;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-cat-mega__chev {
  color: #a1a1aa;
  font-size: 18px;
  line-height: 1;
}
.home-cat-mega__detail {
  flex: 1;
  min-width: 0;
  padding: 16px 22px 18px;
  overflow: visible;
  box-sizing: border-box;
  align-self: stretch;
}
.home-cat-mega__tpl {
  display: none;
}
.home-cat-mega__flyout-title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.home-cat-mega__empty {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.home-cat-mega__subs {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.home-cat-mega__subs--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 8px;
}
.home-cat-mega__subs a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 8px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.3;
}
.home-cat-mega__sub-name {
  min-width: 0;
}
.home-cat-mega__subs a:hover {
  background: #f4f4f5;
  color: var(--yula-blue);
  opacity: 1;
}
.home-cat-mega__section-count {
  font-weight: 600;
  color: #757575;
}
.home-cat-mega__count {
  font-size: 12px;
  color: #a1a1aa;
  white-space: nowrap;
  flex-shrink: 0;
}
.home-cat-mega__all {
  display: inline-block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--yula-blue);
}
.home-cat-mega__all:hover {
  opacity: 1;
  text-decoration: underline;
}
@media (max-width: 900px) {
  .home-cat-drop__panel {
    width: min(560px, calc(100vw - 24px));
  }
  .home-cat-mega {
    flex-direction: column;
  }
  .home-cat-mega__list {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .home-cat-mega__detail {
    padding: 12px 16px 16px;
  }
  .home-cat-mega__subs--grid {
    grid-template-columns: 1fr;
  }
  .home-cat-mega__row.is-active .home-cat-mega__main {
    box-shadow: none;
  }
}
.home-top-search {
  flex: 1 1 240px;
  display: flex;
  align-items: stretch;
  min-width: 0;
  max-width: 640px;
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.home-top-search__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  min-width: 0;
}
.home-top-search__glass {
  color: #a1a1aa;
  font-size: 18px;
  flex-shrink: 0;
}
.home-top-search input {
  border: 0;
  width: 100%;
  min-width: 0;
  padding: 11px 0;
  font: inherit;
  font-size: 15px;
  outline: none;
  background: transparent;
}
.home-top-search__submit {
  flex-shrink: 0;
  border: 0;
  background: #f4f4f5;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 0 20px;
  cursor: pointer;
  border-left: 1px solid var(--line);
}
.home-top-search__submit:hover {
  background: #ececee;
}
.home-topbar__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.home-btn--post {
  background: var(--yula-blue);
  color: #fff !important;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
  white-space: nowrap;
}
.home-btn--post:hover {
  background: #0099e6;
  color: #fff !important;
  transform: none;
  opacity: 1;
}
.home-btn--login {
  background: #f2f2f3;
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
  display: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.home-btn--login:hover {
  background: #e8e8ea;
  transform: none;
  opacity: 1;
}
.home-btn--user {
  cursor: default;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-inner .site-main {
  padding: 24px 0 48px;
  min-height: 50vh;
}
.page-inner .home-wrap {
  width: var(--wrap);
  margin: 0 auto;
}
@media (min-width: 900px) {
  .home-btn--login { display: inline-flex; }
  .home-topbar__main { flex-wrap: nowrap; }
}
@media (max-width: 899px) {
  .home-top-search { order: 3; flex: 1 1 100%; max-width: none; }
  .home-topbar__cta { order: 2; margin-left: auto; }
  .home-btn--post { padding: 10px 14px; font-size: 13px; }
}
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.home-btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(228, 0, 43, 0.22);
}
.home-btn--accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(228, 0, 43, 0.28);
  opacity: 1;
}
.home-btn--light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

/* Hero */
.home-hero {
  padding: 28px 0 20px;
}
.home-hero--compact .home-hero__shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.home-hero--compact .home-search--hero {
  max-width: 640px;
}
.home-hero__shell {
  position: relative;
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    linear-gradient(145deg, #ffffff 0%, #fafafa 55%, #fff5f7 100%);
  color: var(--ink);
  overflow: hidden;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(10, 10, 11, 0.06);
}
.home-hero__shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(228, 0, 43, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(99, 102, 241, 0.07), transparent 50%);
  pointer-events: none;
}
.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.home-hero__eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px #4ade80;
}
.home-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 22ch;
}
.home-hero--compact .home-hero__lead {
  margin-bottom: 0;
}
.home-hero__lead {
  margin: 0 0 20px;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 48ch;
}
.home-search {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 560px;
}
.home-search__row {
  display: flex;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 8px 28px rgba(10, 10, 11, 0.08);
  border: 1px solid var(--line);
}
.home-search__row input {
  flex: 1;
  border: 0;
  padding: 14px 18px;
  font: inherit;
  font-size: 15px;
  border-radius: 999px;
  outline: none;
  min-width: 0;
}
.home-search__row button {
  border: 0;
  background: var(--yula-blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.home-search__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.home-search__filters select {
  border: 1px solid var(--line);
  background-color: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 2.5rem 10px 14px;
  font: inherit;
  font-size: 13px;
}
.home-search__filters select option { color: #111; }
.home-search__chip {
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
}
.home-search__chip--link:hover {
  color: var(--yula-blue);
  border-color: rgba(0, 170, 255, 0.35);
  opacity: 1;
}
.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.home-hero__stats--inline {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 520px) {
  .home-hero__stats--inline { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .home-hero__stats--inline {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 100%;
  }
}
.home-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  box-shadow: 0 4px 16px rgba(10, 10, 11, 0.04);
}
.home-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.home-stat span {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 4px;
  display: block;
}

/* Quick categories (Авито-style) */
.home-quickcats {
  padding: 0 0 8px;
}
.home-quickcats__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .home-quickcats__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.home-quickcats__card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(10, 10, 11, 0.04);
  transition: border-color 0.15s, transform 0.15s;
}
.home-quickcats__card:hover {
  border-color: rgba(0, 170, 255, 0.35);
  transform: translateY(-1px);
  opacity: 1;
}
.home-quickcats__ico {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f4f4f5;
  font-size: 18px;
  flex-shrink: 0;
}
.home-quickcats__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

/* Youla-style rings */
.home-section--tight {
  padding-top: 8px;
  padding-bottom: 28px;
}
.home-pickcat__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.home-pickcat__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 8px;
}
.home-pickcat__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 88px;
  text-align: center;
}
.home-pickcat__ring {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 26px;
  box-shadow: 0 4px 12px rgba(10, 10, 11, 0.05);
  transition: border-color 0.15s, transform 0.15s;
}
.home-pickcat__item:hover .home-pickcat__ring {
  border-color: rgba(0, 170, 255, 0.4);
  transform: translateY(-2px);
  opacity: 1;
}
.home-pickcat__label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

/* Sections */
.home-section {
  padding: 16px 0 48px;
}
.home-section--first {
  padding-top: 24px;
}
.home-section--cat {
  padding-top: 8px;
}
.home-section--cat .home-section__head h2 {
  font-size: clamp(20px, 2.6vw, 26px);
}
.home-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.home-section__head h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.03em;
  font-weight: 800;
}
.home-section__head p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}
.home-section__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--yula-blue);
  white-space: nowrap;
}

/* Bento categories */
.home-bento {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .home-bento { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1000px) {
  .home-bento {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 112px;
  }
  .home-bento__tile--lg {
    grid-column: span 2;
    grid-row: span 2;
  }
  .home-bento__tile--wide { grid-column: span 2; }
}
.home-bento__tile {
  position: relative;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: block;
  min-height: 108px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.home-bento__tile--photo {
  background-color: #fff;
  background-image: var(--tile-bg);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 112%;
  border-color: var(--line);
}
.home-bento__tile--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.88) 38%,
    rgba(255, 255, 255, 0.35) 58%,
    transparent 78%
  );
  pointer-events: none;
}
.home-bento__tile::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  opacity: 0.12;
  filter: blur(0);
  pointer-events: none;
}
.home-bento__tile--photo::before { display: none; }
.home-bento__tile:hover {
  transform: translateY(-3px);
  border-color: rgba(228, 0, 43, 0.45);
}
.home-bento__tile--tone-a::before { background: var(--accent); }
.home-bento__tile--tone-b::before { background: var(--accent-2); }
.home-bento__tile--tone-c::before { background: var(--accent-hot); }
.home-bento__tile--tone-d::before { background: #a855f7; }
.home-bento__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  max-width: 62%;
  min-height: 76px;
  text-align: left;
}
.home-bento__tile--lg .home-bento__copy { max-width: 58%; min-height: 140px; }
.home-bento__title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}
.home-bento__count {
  font-size: 12px;
  color: var(--ink-soft);
}

/* Listings feed (Авито-style grid) */
.home-feed {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .home-feed { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .home-feed { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.premium-card,
article.premium-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}
.premium-card:hover,
article.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10, 10, 11, 0.08);
  opacity: 1;
}
.premium-card__hit {
  display: block;
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.premium-card__media-link {
  display: block;
  width: 100%;
  height: 100%;
}
.premium-card--xl {
  border-radius: var(--radius-lg);
}
.premium-card--xl .premium-card__media {
  aspect-ratio: 16/11;
}
.premium-card__media {
  position: relative;
  aspect-ratio: 4/3;
  background: #e4e4e7;
  overflow: hidden;
}
.premium-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.premium-card__media img.irr-photo--placeholder {
  object-fit: contain;
  background: #fff;
}
.premium-card__placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--ink-soft);
}
.premium-card__chip {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.premium-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.premium-card__price {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.premium-card--xl .premium-card__price { font-size: 26px; }
.premium-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.premium-card__meta {
  margin: auto 0 0;
  font-size: 12px;
  color: var(--ink-soft);
}

/* Trust */
.home-trust {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 8px;
}
@media (min-width: 760px) {
  .home-trust { grid-template-columns: repeat(3, 1fr); }
}
.home-trust__card {
  border-radius: var(--radius-md);
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.home-trust__card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.home-trust__card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* CTA band */
.home-cta {
  margin: 8px 0 56px;
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%);
  border: 0;
  box-shadow: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.home-cta h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.home-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}
.home-btn--cta {
  background: rgba(0, 0, 0, 0.18);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
  white-space: nowrap;
}
.home-btn--cta:hover {
  background: rgba(0, 0, 0, 0.28);
  color: #fff !important;
  transform: translateY(-1px);
  opacity: 1;
}

/* Footer */
.home-footer {
  background: var(--paper);
  color: var(--ink-soft);
  padding: 48px 0 24px;
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.home-footer h4 {
  color: var(--ink);
  font-size: 13px;
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.home-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-footer li { margin-bottom: 8px; }
.home-footer a { color: var(--ink-soft); font-size: 14px; }
.home-footer a:hover { color: var(--accent); opacity: 1; }
.home-footer__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
@media (min-width: 800px) {
  .home-footer__grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}
.home-footer__brand p {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
  max-width: 36ch;
}
.home-footer__bar {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.home-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--line);
  color: var(--ink-soft);
}
