/* EvNet.az — Russian pages (/ru/ and /ru/business), group "ru".
 *
 * Sits on top of evnet-ui.css (the "ev-" kit). Two blocks:
 *   1. body.ru-home      — ru/index.html (own header + footer, no style.css)
 *   2. body.rb-page      — ru/business.html (shared biznes header from style.css)
 * Class names avoid "ad", "banner", "promo", "sponsor" (ad blockers hide them).
 * Animation is transform/opacity (plus stroke-dashoffset for line drawing).
 */

/* ═════════════════════════ 1. /ru/ — home ═════════════════════════════ */

body.ru-home { margin: 0; line-height: 1.6; font-size: 1rem; background: #fff; }
:where(.ru-home) :where(h1, h2, h3, p, ul, ol, figure, dl) { margin: 0; }
:where(.ru-home) :where(ul, ol) { padding: 0; list-style: none; }
:where(.ru-home a) { color: inherit; text-decoration: none; }
:where(.ru-home img, .ru-home svg) { display: block; }
:where(.ru-home button) { font: inherit; color: inherit; }

/* header ----------------------------------------------------------------- */

.ru-top { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); transition: box-shadow .35s var(--ev-e-out); }
.ru-top.is-stuck { box-shadow: 0 1px 0 var(--ev-line), 0 10px 30px -18px rgba(10, 22, 40, .25); }
.ru-nav { display: flex; align-items: center; gap: 18px; height: 68px; }

.ru-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.ru-logo-mark { width: 34px; height: 34px; color: var(--ev-tif-text); }
.ru-logo-mark .lg-house { stroke-dasharray: 130; stroke-dashoffset: 130; animation: ev-draw 1.4s .2s var(--ev-e-in-out) forwards; }
.ru-logo-mark .lg-chim { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); animation: ru-grow .5s 1.2s var(--ev-e-spring) forwards; }
.ru-logo-mark .lg-node { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: ru-pop .45s var(--ev-e-spring) forwards; }
.ru-logo-mark .lg-node:nth-of-type(1) { animation-delay: 1s; }
.ru-logo-mark .lg-node:nth-of-type(2) { animation-delay: 1.08s; }
.ru-logo-mark .lg-node:nth-of-type(3) { animation-delay: 1.16s; }
.ru-logo-mark .lg-node:nth-of-type(4) { animation-delay: 1.24s; }
.ru-logo-mark .lg-node:nth-of-type(5) { animation-delay: 1.32s; }
.ru-logo-mark .lg-net { stroke-dasharray: 12; stroke-dashoffset: 12; animation: ev-draw .6s 1.4s ease forwards; }
.ru-logo:hover .lg-node { animation: ru-blink .9s var(--ev-e-out); }
.ru-logo:hover .lg-node:nth-of-type(2) { animation-delay: .08s; }
.ru-logo:hover .lg-node:nth-of-type(3) { animation-delay: .16s; }
.ru-logo:hover .lg-node:nth-of-type(4) { animation-delay: .24s; }
.ru-logo:hover .lg-node:nth-of-type(5) { animation-delay: .32s; }
.ru-logo-text { font: 700 1.25rem/1 var(--ev-f-display); letter-spacing: -.02em; color: var(--ev-ink); }
.ru-logo-text b { color: var(--ev-tif-2); font-weight: 700; }

.ru-links { display: flex; gap: 4px; margin-left: 6px; }
.ru-links a { position: relative; padding: 8px 12px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--ev-ink-2); transition: color .2s; }
.ru-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--ev-tif-2); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ev-e-out); }
.ru-links a:hover { color: var(--ev-ink); }
.ru-links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.ru-links-cta { display: none; }

.ru-lang { position: relative; display: inline-flex; margin-left: auto; padding: 3px; border-radius: 999px; background: var(--ev-mist); box-shadow: inset 0 0 0 1px var(--ev-line); }
.ru-lang a { position: relative; z-index: 1; padding: 6px 11px; border-radius: 999px; font: 600 .78rem/1 var(--ev-f-mono); color: var(--ev-ink-3); transition: color .25s; }
.ru-lang a:hover { color: var(--ev-ink); }
.ru-lang a.on { color: var(--ev-lagoon); }
.ru-lang-pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: 0; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(10, 22, 40, .14); transition: transform .45s var(--ev-e-spring); }
.ru-cta { flex: none; }

.ru-burger { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--ev-mist); box-shadow: inset 0 0 0 1px var(--ev-line); cursor: pointer; }
.ru-burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ev-lagoon); transition: transform .4s var(--ev-e-spring), opacity .2s; }
.ru-burger span:nth-child(1) { top: 15px; }
.ru-burger span:nth-child(2) { top: 21px; }
.ru-burger span:nth-child(3) { top: 27px; }
.ru-top.is-open .ru-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ru-top.is-open .ru-burger span:nth-child(2) { opacity: 0; }
.ru-top.is-open .ru-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* hero -------------------------------------------------------------------- */

.ru-hero { padding-top: clamp(28px, 4.5vw, 60px); padding-bottom: clamp(40px, 5vw, 72px); }
.ru-hero-grid { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; }
.ru-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.ru-badges .ev-live { padding: 6px 14px 6px 10px; }
.ru-hero-copy .ev-h1 { font-size: clamp(1.8rem, 1rem + 2.6vw, 2.85rem); margin-top: 18px; }
.ru-hero-copy .ev-lead { max-width: 33em; margin-bottom: 22px; font-size: 1.05rem; }

.ru-search { position: relative; max-width: 560px; padding: 16px; border-radius: 22px; background: #fff; box-shadow: var(--ev-shadow-2), 0 0 0 1px rgba(10, 22, 40, .05); display: grid; gap: 12px; }
.ru-search::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; z-index: -1; border-radius: 22px; box-shadow: 0 0 0 1px rgba(91, 189, 183, .45); transition: transform .5s var(--ev-e-out); }
.ru-search:focus-within::before { transform: translate(3px, 3px); }
.ru-search-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; }
.ru-search-title { font: 700 .98rem/1.2 var(--ev-f-display); letter-spacing: -.02em; }
.ru-tabs > button { padding: 9px 14px; }
.ru-search-hint { position: relative; min-height: 1.5em; padding-left: 22px; color: var(--ev-ink-2); font-size: .94rem; line-height: 1.5; }
.ru-search-hint::before { content: ""; position: absolute; left: 4px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--ev-amber); box-shadow: 0 0 0 4px rgba(255, 190, 26, .22); }
.ru-search-hint.is-swap { animation: ru-swap .5s var(--ev-e-out); }
.ru-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; }
.ru-go { min-height: 56px; }
.ru-search-note { color: var(--ev-ink-3); font-size: .82rem; line-height: 1.5; }

.ru-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; }
.ru-proof li { display: inline-flex; align-items: center; gap: 8px; color: var(--ev-ink-2); font-size: .9rem; }
.ru-proof svg { width: 18px; height: 18px; fill: none; stroke: var(--ev-tif-text); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: ev-draw .6s var(--ev-e-out) 1.4s forwards; }
.ru-proof li:nth-child(2) svg { animation-delay: 1.6s; }
.ru-proof li:nth-child(3) svg { animation-delay: 1.8s; }

/* the Baku scene ----------------------------------------------------------- */

.ru-city-wrap { margin: 0; position: relative; }
.ru-city { --px: 0; --py: 0; max-width: 660px; justify-self: end; }
.ru-city svg { filter: none; }
.ru-city-cap { margin-top: 6px; }
.ru-city-cap .ev-dim { --ev-dim-bg: #f4fdfc; }

.ru-ly { transition: transform .6s var(--ev-e-out); }
.ru-ly-sky { transform: translate3d(calc(var(--px) * -9px), calc(var(--py) * -5px), 0); }
.ru-ly-far { transform: translate3d(calc(var(--px) * -4px), calc(var(--py) * -2px), 0); }
.ru-ly-mid { transform: translate3d(calc(var(--px) * 2px), calc(var(--py) * 1px), 0); }
.ru-ly-near { transform: translate3d(calc(var(--px) * 5px), calc(var(--py) * 2px), 0); }
.ru-ly-pins { transform: translate3d(calc(var(--px) * 3px), calc(var(--py) * 1.5px), 0); }

.ru-orbit { transform-box: fill-box; transform-origin: center; animation: ev-spin 70s linear infinite; }
.ru-cloud-a { animation: ru-drift 24s var(--ev-e-in-out) infinite alternate; }
.ru-cloud-b { animation: ru-drift 31s var(--ev-e-in-out) -9s infinite alternate-reverse; }
.ru-bird { opacity: 0; animation: ru-fly 19s linear 2.4s infinite; }

.ru-flame { opacity: .2; animation: ru-flick 3.4s ease-in-out infinite; }
.ru-flame-2 { animation-delay: -1.1s; }
.ru-flame-3 { animation-delay: -2.2s; }
.ru-lit { opacity: .3; animation: ru-twinkle 3.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.ru-smoke { opacity: 0; transform-box: fill-box; transform-origin: center; animation: ru-smoke 3.6s ease-out infinite; }
.ru-smoke-2 { animation-delay: 1.8s; }
.ru-swing { transform-box: fill-box; transform-origin: 50% 0; animation: ru-sway 3.8s ease-in-out infinite alternate; }
.ru-flag { transform-box: fill-box; transform-origin: 0 50%; animation: ru-flutter 1.6s ease-in-out infinite alternate; }
.ru-waves { animation: ru-waves 5s linear infinite; }

.ru-tg { transition: opacity .5s var(--ev-e-out); opacity: .8; }
.ru-city[data-mode="sale"] .ru-tg-sale, .ru-city[data-mode="rent"] .ru-tg-rent, .ru-city[data-mode="land"] .ru-tg-land, .ru-city[data-mode="commercial"] .ru-tg-comm { opacity: 1; }
.ru-tg .hi { fill: none; stroke: var(--ev-amber); stroke-width: 3.2; stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset .9s var(--ev-e-in-out); }
.ru-city[data-mode="sale"] .ru-tg-sale .hi, .ru-city[data-mode="rent"] .ru-tg-rent .hi, .ru-city[data-mode="land"] .ru-tg-land .hi, .ru-city[data-mode="commercial"] .ru-tg-comm .hi { stroke-dashoffset: 0; }
.ru-city:not(.is-in) .hi { transition-duration: 0s; }

/* pins: they drop in, the chosen one rises and pings */
.ru-pin { cursor: pointer; }
.ru-pin-drop { opacity: 0; }
.ru-city.is-in .ru-pin-drop { animation: ru-drop .75s var(--ev-e-spring) both; animation-delay: calc(1.5s + var(--k, 0) * .14s); }
.ru-pin-sale { --k: 0; }
.ru-pin-commercial { --k: 1; }
.ru-pin-rent { --k: 2; }
.ru-pin-land { --k: 3; }
.ru-pin-in { transform-box: fill-box; transform-origin: 50% 100%; opacity: .5; transform: scale(.8); transition: transform .55s var(--ev-e-spring), opacity .35s; }
.ru-pin:hover .ru-pin-in { opacity: .9; transform: scale(.94); }
.ru-city[data-mode="sale"] .ru-pin-sale .ru-pin-in, .ru-city[data-mode="rent"] .ru-pin-rent .ru-pin-in, .ru-city[data-mode="land"] .ru-pin-land .ru-pin-in, .ru-city[data-mode="commercial"] .ru-pin-commercial .ru-pin-in { opacity: 1; transform: scale(1.14); }
.ru-ring { transform-box: fill-box; transform-origin: center; opacity: 0; }
.ru-city[data-mode="sale"] .ru-pin-sale .ru-ring, .ru-city[data-mode="rent"] .ru-pin-rent .ru-ring, .ru-city[data-mode="land"] .ru-pin-land .ru-ring, .ru-city[data-mode="commercial"] .ru-pin-commercial .ru-ring { animation: ru-ring 2.1s var(--ev-e-out) infinite; }

/* catalogue ---------------------------------------------------------------- */

.ru-home .ev-card .ev-h3 { padding-right: 24px; }

/* biznes band -------------------------------------------------------------- */

.ru-biz-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.ru-biz-kicker { color: var(--ev-tif); display: inline-flex; align-items: center; gap: 10px; }
.ru-biz-kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.ru-biz-copy .ev-h2 { color: #fff; margin-top: 14px; }
.ru-biz-lead { max-width: 30em; margin: 0 0 22px; color: #b9dcd8; font-size: 1.05rem; line-height: 1.6; }
.ru-biz-chips { margin-bottom: 26px; }
.ru-biz .ev-chip { background: rgba(129, 216, 208, .12); color: #e9f6f4; box-shadow: inset 0 0 0 1.5px rgba(129, 216, 208, .3); }
.ru-biz .ev-chip:hover { background: rgba(129, 216, 208, .22); box-shadow: inset 0 0 0 1.5px var(--ev-tif); }
.ru-shop { max-width: 520px; }
.ru-shop svg { overflow: visible; }
.ru-shop .ru-awn { transform-box: fill-box; transform-origin: 50% 0; }
.ev-draw:not(.is-in) .ru-awn { transform: scaleY(0); }
.ev-draw.is-in .ru-awn { animation: ru-unroll 1s .5s var(--ev-e-spring) both; }
.ru-steam { fill: none; opacity: 0; animation: ru-steam 2.6s ease-out infinite; }
.ru-steam-2 { animation-delay: 1.2s; }
.ru-blip { transform-box: fill-box; transform-origin: center; animation: ru-blip 1.8s ease-in-out infinite; }
.ru-chart rect { fill: #0b3d39; }
.ru-swing-tag { animation-duration: 3s; }

/* steps -------------------------------------------------------------------- */

#how .ev-step-list { padding-top: 6px; }

/* safety -------------------------------------------------------------------- */

.ru-safe { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: stretch; }
.ru-safe-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: clamp(26px, 3.2vw, 42px); border-radius: var(--ev-r-lg); background: var(--ev-lagoon); }
.ru-safe-card::after { display: none; }
.ru-safe-shield { width: 96px; height: 96px; margin-bottom: 8px; overflow: visible; }
.ru-safe-kicker { color: var(--ev-tif); }
.ru-safe-card .ev-h2 { color: #fff; margin: 6px 0 10px; }
.ru-safe-card p { max-width: 30em; margin-bottom: 20px; color: #b9dcd8; }
.ru-checks { align-content: stretch; }
.ru-checks .ev-card { padding: 22px; }
.ru-checks .ev-card--flat { background: var(--ev-mist); box-shadow: inset 0 0 0 1px var(--ev-line); }
.ru-checks .ev-ico { margin-bottom: 14px; background: #fff; }
.ru-checks .ev-h3 { font-size: 1rem; margin-bottom: 8px; }

/* sell ------------------------------------------------------------------------ */

.ru-sell { padding: clamp(28px, 4.2vw, 56px); }
.ru-sell h2 { max-width: 15em; }
.ru-sell p { max-width: 34em; }
.ru-sell-list { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 24px; }
.ru-sell-list li { display: inline-flex; align-items: center; gap: 12px; font: 600 .95rem/1 var(--ev-f-body); color: #e6eef5; }
.ru-sell-list .ev-ico { background: rgba(129, 216, 208, .14); box-shadow: inset 0 0 0 1px rgba(129, 216, 208, .3); color: var(--ev-tif); }
.ru-sell-list .ev-ico .acc { stroke: var(--ev-amber); }
.ru-sell-list li:hover .ev-ico { transform: rotate(-6deg) scale(1.08); }

/* footer ------------------------------------------------------------------------ */

.ru-foot { position: relative; background: #061514; color: #fff; padding: 56px 0 30px; overflow: hidden; }
.ru-foot::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(129, 216, 208, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(129, 216, 208, .06) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }
.ru-foot > * { position: relative; }
.ru-foot .foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; }
.ru-foot .foot p, .ru-foot .foot a { color: rgba(255, 255, 255, .68); font-size: .92rem; }
.ru-foot .foot p { margin-top: 14px; }
.ru-foot .ru-logo-text { color: #fff; }
.ru-foot .ru-logo-mark { color: var(--ev-tif); }
.ru-foot .foot-col { display: grid; align-content: start; gap: 10px; }
.ru-foot .foot-col strong { margin-bottom: 6px; font: 600 .78rem/1.2 var(--ev-f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ev-tif); }
.ru-foot .foot a:not(.ru-logo) { position: relative; width: fit-content; transition: color .2s; }
.ru-foot .foot a:not(.ru-logo)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ev-tif); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ev-e-out); }
.ru-foot .foot a:not(.ru-logo):hover { color: #fff; }
.ru-foot .foot a:not(.ru-logo):hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.ru-foot .legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); font-size: .8rem; }

/* keyframes (home) ----------------------------------------------------------------- */

@keyframes ru-grow { to { transform: scaleY(1); } }
@keyframes ru-pop { to { transform: scale(1); } }
@keyframes ru-blink { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.9); } }
@keyframes ru-swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ru-drift { from { transform: translateX(0); } to { transform: translateX(34px); } }
@keyframes ru-fly { 0% { opacity: 0; transform: translate(-30px, 150px); } 6% { opacity: .9; } 50% { transform: translate(280px, 118px); } 94% { opacity: .9; } 100% { opacity: 0; transform: translate(600px, 132px); } }
@keyframes ru-flick { 0%, 100% { opacity: .16; } 35% { opacity: .55; } 65% { opacity: .3; } }
@keyframes ru-twinkle { 0%, 100% { opacity: .22; } 50% { opacity: 1; } }
@keyframes ru-smoke { 0% { opacity: 0; transform: translate(0, 0) scale(.5); } 20% { opacity: .8; } 100% { opacity: 0; transform: translate(14px, -34px) scale(1.9); } }
@keyframes ru-sway { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@keyframes ru-flutter { from { transform: scaleX(1) skewY(-3deg); } to { transform: scaleX(.78) skewY(5deg); } }
@keyframes ru-waves { to { transform: translateX(-80px); } }
@keyframes ru-drop { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@keyframes ru-ring { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2); } }
@keyframes ru-unroll { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ru-steam { 0% { opacity: 0; transform: translateY(6px); } 30% { opacity: .85; } 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes ru-blip { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.7); } }

/* responsive (home) ------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .ru-hero-grid, .ru-biz-grid, .ru-safe { grid-template-columns: minmax(0, 1fr); }
  .ru-city { margin-inline: auto; }
  .ru-shop { margin-inline: auto; }
  .ru-foot .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .ru-burger { display: inline-block; }
  .ru-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--ev-gut) 16px; background: #fff; box-shadow: 0 18px 30px -18px rgba(10, 22, 40, .3), 0 1px 0 var(--ev-line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .35s var(--ev-e-out), visibility 0s .35s; }
  .ru-top.is-open .ru-links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .ru-links a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--ev-line); border-radius: 0; }
  .ru-links a::after { display: none; }
}
@media (max-width: 640px) {
  .ru-nav { gap: 10px; height: 62px; }
  .ru-cta { display: none; }
  .ru-links-cta { display: block; margin-top: 12px; padding: 14px 18px !important; border: 0 !important; border-radius: 999px !important; background: var(--ev-tif); color: var(--ev-lagoon) !important; font-weight: 700; text-align: center; }
  .ru-logo-text { font-size: 1.1rem; }
  .ru-logo-mark { width: 30px; height: 30px; }
  .ru-search { padding: 14px; }
  .ru-search-row { grid-template-columns: minmax(0, 1fr); }
  .ru-tabs { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; border-radius: 16px; }
  .ru-tabs > button { padding: 9px 4px; font-size: .84rem; text-align: center; border-radius: 12px; }
  .ru-tabs .ev-tabs-ink { display: none; }
  .ru-tabs > [aria-pressed="true"] { background: #fff; box-shadow: 0 1px 4px rgba(10, 22, 40, .14); }
  .ru-foot .foot { grid-template-columns: 1fr; gap: 32px; }
  .ru-foot .legal { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .ru-ly { transform: none !important; }
  .ru-bird { display: none; }
  .ru-pin-drop { opacity: 1; }
}
@media (hover: none) {
  .ru-ly { transform: none !important; }
}

/* ═════════════════════ 2. /ru/business ════════════════════════════════ */

body.rb-page { background: #fff; }
.rb-page .biz-market-main { padding: 0; }
.rb-page .biz-market-shell { width: auto; margin: 0; }
.rb-page .ev-hero a, .rb-page .ev-sec a { text-decoration: none; }

.rb-hero { padding-top: clamp(20px, 3vw, 44px); padding-bottom: clamp(40px, 5vw, 72px); }
.rb-hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; }
.rb-hero-copy .ev-crumbs { margin-bottom: 16px; }
.rb-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.rb-badges .ev-live { padding: 6px 14px 6px 10px; }
.rb-hero-copy .ev-h1 { font-size: clamp(1.7rem, .95rem + 2.4vw, 2.7rem); margin-top: 18px; }
.rb-hero-copy .ev-lead { font-size: 1.04rem; margin-bottom: 24px; }
.rb-cats { margin-top: 24px; }
.rb-cats .ev-chip { padding: 8px 13px 8px 11px; font-size: .86rem; }
.rb-cats .ev-chip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* the shopfront scene: the chips choose what the sign shows */
.rb-stage { min-width: 0; }
.rb-scene { max-width: 580px; justify-self: end; margin-left: auto; }
.rb-scene svg { display: block; }
.rb-sico { transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.4) rotate(-12deg); transition: opacity .3s, transform .55s var(--ev-e-spring); }
.rb-scene[data-cat="food"] .rb-sico-food, .rb-scene[data-cat="retail"] .rb-sico-retail, .rb-scene[data-cat="hotel"] .rb-sico-hotel { opacity: 1; transform: none; }
.rb-sign { transform-box: fill-box; transform-origin: 50% 100%; }
.rb-scene.is-swap .rb-sign { animation: rb-boing .6s var(--ev-e-spring); }
.rb-awn-fill { fill: var(--rb-awn, #81d8d0); fill-opacity: .55; transition: fill .6s var(--ev-e-out); }
.rb-scene[data-cat="retail"] { --rb-awn: #ffbe1a; }
.rb-scene[data-cat="hotel"] { --rb-awn: #12524c; }
.rb-awn { transform-box: fill-box; transform-origin: 50% 0; }
.ev-draw:not(.is-in) .rb-awn { transform: scaleY(0); }
.ev-draw.is-in .rb-awn { animation: ru-unroll 1s .5s var(--ev-e-spring) both; }
.rb-shine { animation: rb-shine 6s ease-in-out 2s infinite; opacity: 0; }
.rb-plant, .rb-plant-sm { transform-box: fill-box; transform-origin: 50% 100%; animation: rb-sway 4.2s ease-in-out infinite alternate; }
.rb-plant-sm { animation-duration: 3.4s; animation-delay: -1s; }
.rb-coin-b { animation-delay: -2.4s; }
.rb-open { animation-duration: 2.6s; }
.rb-walker { opacity: .9; animation: rb-walk 24s linear 1.5s infinite; transform: translate(-30px, 320px); }
.rb-leg { transform-box: fill-box; transform-origin: 50% 0; animation: rb-step .7s ease-in-out infinite alternate; }
.rb-leg-b { animation-direction: alternate-reverse; }

.rb-tag-wrap { position: absolute; left: 57.6%; top: 37.6%; width: 0; height: 0; transform-origin: 0 0; pointer-events: none; }
.ev-draw:not(.is-in) .rb-tag-wrap { opacity: 0; }
.ev-draw.is-in .rb-tag-wrap { animation: rb-tag-in .7s var(--ev-e-spring) 1.5s backwards, rb-pend 3.6s ease-in-out 2.2s infinite alternate; }
.rb-tag { position: absolute; right: -6px; top: 20px; display: block; padding: 6px 12px 6px 22px; border-radius: 9px; background: var(--ev-amber); color: var(--ev-lagoon); box-shadow: 0 0 0 2px #2a706a, 0 10px 18px -8px rgba(10, 22, 40, .45); font: 700 .78rem/1.1 var(--ev-f-body); white-space: nowrap; }
.rb-tag::before { content: ""; position: absolute; right: 6px; bottom: 100%; width: 2px; height: 22px; background: #2a706a; }
.rb-tag::after { content: ""; position: absolute; left: 8px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px #2a706a; }

/* categories */
.rb-cat .ev-h3 { margin-top: 4px; }
.rb-num { position: absolute; top: 24px; right: 24px; color: var(--ev-tif-text); }
.rb-more { display: inline-block; margin-top: 16px; font-size: .92rem; }
.rb-cat:hover .rb-more::after { transform: scaleX(1); transform-origin: 0 50%; }

/* sellers */
.rb-sell .ev-h2 { color: #fff; }
.rb-sell-cta { margin-top: clamp(32px, 4vw, 52px); }

/* buyers: interactive checklist + FAQ */
.rb-buy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.rb-buy .ev-sec-head { margin-bottom: 26px; }
.rb-check .ev-check { gap: 16px; }
.rb-check .ev-check > li { padding-left: 40px; font-size: 1.02rem; padding-top: 2px; }
.rb-check .ev-check > li::before { width: 28px; height: 28px; border-radius: 9px; top: 0; }
.rb-check .ev-check > li::after { left: 8px; top: 7px; }
.rb-check .ev-check b { color: var(--ev-ink); }
.rb-check-count { margin: 0 0 18px; font: 500 .8rem/1 var(--ev-f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ev-tif-text); }
.rb-check-count b { font: 700 1rem/1 var(--ev-f-display); color: var(--ev-ink); letter-spacing: 0; }
.rb-buy .ev-faq .ev-a b { font-weight: 700; color: var(--ev-ink); }

/* catalogue and guides */
.rb-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.rb-links .rb-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.rb-links .rb-link .ev-ico { margin-bottom: 0; }
.rb-link-t { font: 600 1rem/1.3 var(--ev-f-body); color: var(--ev-ink); }
.rb-links .rb-link::before { content: "\2192"; order: 3; margin-left: auto; color: var(--ev-tif-text); font-weight: 700; transition: transform .35s var(--ev-e-spring); }
.rb-links .rb-link:hover::before { transform: translateX(5px); }
@media (min-width: 1100px) { .rb-links { grid-template-columns: repeat(5, minmax(0, 1fr)); } .rb-links .rb-link { padding: 14px 14px; gap: 12px; } .rb-link-t { font-size: .94rem; } }

/* closing band */
.rb-page .ev-close .ev-btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(129, 216, 208, .4); }
.rb-page .ev-close .ev-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ev-tif); }
.rb-page .ev-close .ev-actions { justify-content: flex-end; }

@keyframes rb-boing { 0% { transform: scale(1); } 35% { transform: scale(1.1) rotate(-2deg); } 100% { transform: scale(1); } }
@keyframes rb-shine { 0%, 52% { opacity: 0; transform: translateX(0); } 58% { opacity: 1; } 78% { opacity: 1; } 84%, 100% { opacity: 0; transform: translateX(150px); } }
@keyframes rb-sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes rb-walk { 0% { transform: translate(-30px, 320px); opacity: 0; } 4% { opacity: .9; } 96% { opacity: .9; } 100% { transform: translate(550px, 320px); opacity: 0; } }
@keyframes rb-step { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
@keyframes rb-tag-in { from { opacity: 0; transform: translateY(-26px) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes rb-pend { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }

@media (max-width: 1020px) {
  .rb-hero-grid, .rb-buy { grid-template-columns: minmax(0, 1fr); }
  .rb-scene { margin-inline: auto; justify-self: center; }
}
@media (max-width: 640px) {
  .rb-tag { font-size: .7rem; padding: 5px 10px 5px 19px; top: 14px; }
  .rb-tag::before { height: 16px; }
  .rb-links { grid-template-columns: minmax(0, 1fr); }
  .rb-num { top: 20px; right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-walker { display: none; }
  .rb-shine { opacity: 0; }
}
