/* AligatorLZ — прототип. Тёмная спокойная эстетика, один акцент. */
:root {
  --bg: #07080A;
  --bg-2: #101216;
  --bg-3: #16191E;
  --text: #F4F1EA;
  --muted: rgba(244, 241, 234, .62);
  --faint: rgba(244, 241, 234, .38);
  --line: rgba(244, 241, 234, .09);
  --line-2: rgba(244, 241, 234, .16);
  --glass: rgba(22, 25, 30, .55);
  --accent: #B9E27C;
  --accent-ink: #0B0D08;
  --busy: #E5534B;
  --radius: 28px;
  --radius-s: 16px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --gutter: 20px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 16px; --radius: 22px; } }

/* ---------- Типографика ---------- */
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.h1 { font-size: clamp(40px, 7.2vw, 96px); line-height: .98; letter-spacing: -.035em; font-weight: 600; margin: 14px 0 0; }
.h2 { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -.03em; font-weight: 600; margin: 0; }
.h3 { font-size: 22px; letter-spacing: -.015em; font-weight: 600; margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 620px; margin: 18px 0 0; line-height: 1.45; }
.sub { color: var(--muted); margin: 10px 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head .sub { max-width: 440px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .3s var(--ease), background .3s, border-color .3s, opacity .3s; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #fff; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.03); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: rgba(244,241,234,.32); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Шапка ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.hdr.scrolled { background: rgba(7, 8, 10, .62); backdrop-filter: saturate(150%) blur(20px); -webkit-backdrop-filter: saturate(150%) blur(20px); border-color: var(--line); }
.hdr-in { display: flex; align-items: center; height: 68px; gap: 24px; }
.logo { font-weight: 700; letter-spacing: -.035em; font-size: 20px; display: flex; align-items: center; color: var(--text); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .25s, background .25s; }
.nav a:hover { color: var(--text); }
.nav a.on { color: var(--text); background: rgba(255,255,255,.07); }
/* Язык: одна круглая кнопка, по нажатию — меню */
.lang-pick { position: relative; }
.lang-btn { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 600; letter-spacing: .02em;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.06); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .25s, border-color .25s; }
.lang-btn:hover, .lang-pick.open .lang-btn { background: rgba(255,255,255,.14); border-color: rgba(244,241,234,.3); }
.lang-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 188px; padding: 6px; border-radius: 18px;
  background: rgba(22,25,30,.82); backdrop-filter: saturate(160%) blur(24px); -webkit-backdrop-filter: saturate(160%) blur(24px);
  border: 1px solid var(--line-2); box-shadow: 0 24px 60px -20px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(-6px) scale(.97); transform-origin: top right; pointer-events: none; transition: opacity .22s var(--ease), transform .3s var(--ease); }
.lang-pick.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-align: left; font-size: 14px; color: var(--muted); transition: background .2s, color .2s; }
.lang-menu button b { width: 26px; font-size: 12px; font-weight: 600; color: var(--faint); }
.lang-menu button:hover { background: rgba(255,255,255,.07); color: var(--text); }
.lang-menu button.on { color: var(--text); }
.lang-menu button.on b { color: var(--accent); }
.burger { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); place-items: center; }
.burger span { display: block; width: 16px; height: 1.5px; background: var(--text); box-shadow: 0 5px 0 var(--text); transform: translateY(-2.5px); }
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: grid; }
  .lang-pick { margin-left: auto; }
  .hdr-in { gap: 10px; height: 60px; }
}

.mnav { position: fixed; inset: 0; z-index: 60; background: rgba(7,8,10,.86); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: flex; flex-direction: column; padding: 20px var(--gutter) 32px; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.mnav.open { opacity: 1; pointer-events: auto; }
.mnav-top { display: flex; justify-content: space-between; align-items: center; }
.mnav-links { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.mnav-links a { font-size: 40px; font-weight: 600; letter-spacing: -.03em; padding: 6px 0; transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.mnav.open .mnav-links a { transform: none; opacity: 1; }
.mnav.open .mnav-links a:nth-child(2) { transition-delay: .04s; } .mnav.open .mnav-links a:nth-child(3) { transition-delay: .08s; } .mnav.open .mnav-links a:nth-child(4) { transition-delay: .12s; } .mnav.open .mnav-links a:nth-child(5) { transition-delay: .16s; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); display: grid; place-items: center; }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Переход между страницами ---------- */
#view { min-height: 100vh; }
#view.enter { animation: pageIn .7s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Hero + живой фон ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 120px 0 64px; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; }
.hero--home { min-height: 100vh; min-height: 100svh; align-items: stretch; padding-top: 108px; }
.hero--home > .container { display: flex; flex-direction: column; }
.ambient { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; }
.hero-poster { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .28; filter: saturate(.7) contrast(1.05); transform: scale(1.06); animation: posterBreath 18s ease-in-out infinite alternate; }
@keyframes posterBreath { from { transform: scale(1.06); } to { transform: scale(1.12) translateY(-1%); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,8,10,.55) 0%, rgba(7,8,10,.15) 35%, rgba(7,8,10,.55) 75%, var(--bg) 100%); }
.grain { position: absolute; inset: -50%; z-index: -1; opacity: .07; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }
.hero-copy { max-width: 900px; }
.hero--home .hero-copy { margin-top: 4vh; }

/* ---------- Карточки-двери ---------- */
.doors { display: grid; gap: 16px; margin-top: auto; padding-top: 48px; grid-template-columns: repeat(var(--n, 2), 1fr); perspective: 1400px; }
.door {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 400px; height: 52vh; max-height: 560px;
  background: var(--bg-2); border: 1px solid var(--line); isolation: isolate;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.door:hover { border-color: var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.door.tilting { transition: transform .12s linear, border-color .4s, box-shadow .6s var(--ease); }
.door-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.door-media .ph { width: 100%; height: 100%; }
.door-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.2) translate(var(--px, 0px), var(--py, 0px));
  transition: transform 1.1s var(--ease), filter .6s;
  filter: url(#fisheye) saturate(.85) brightness(.82);
}
.door:hover .door-media img { transform: scale(1.27) translate(var(--px, 0px), var(--py, 0px)); filter: url(#fisheye) saturate(.95) brightness(.9); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 40%, transparent 35%, rgba(7,8,10,.55) 80%), linear-gradient(180deg, transparent 40%, rgba(7,8,10,.9) 100%); }
.door-glare { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.14), transparent 45%); mix-blend-mode: soft-light; }
.door:hover .door-glare { opacity: 1; }
.door-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; display: flex; align-items: flex-end; gap: 16px; transform: translateZ(30px); }
.door-num { font-size: 12px; letter-spacing: .14em; color: var(--muted); margin-bottom: 10px; }
.door-t { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.04; letter-spacing: -.025em; font-weight: 600; margin: 0; }
.door-s { color: var(--muted); margin: 10px 0 0; font-size: 15px; max-width: 340px; }
.door-go { margin-left: auto; flex: none; width: 52px; height: 52px; border-radius: 999px; background: rgba(244,241,234,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .4s, transform .5s var(--ease); }
.door-go svg { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.door:hover .door-go { background: var(--text); color: var(--bg); }
.door:hover .door-go svg { transform: translateX(2px) rotate(-45deg); }
@media (max-width: 900px) {
  .doors { grid-template-columns: 1fr; }
  .door { height: 44vh; min-height: 300px; transform: none !important; transition: transform .25s var(--ease); }
  .door:active { transform: scale(.975) !important; }
  .door-body { padding: 22px; }
}

/* ---------- Секции ---------- */
.section { padding: 112px 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
@media (max-width: 640px) { .section { padding: 72px 0; } .sec-head { margin-bottom: 28px; } }
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { padding: 32px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.fact-n { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: .08em; }
.fact h3 { margin: 40px 0 8px; font-size: 22px; letter-spacing: -.02em; font-weight: 600; }
.fact p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr; } .fact h3 { margin-top: 24px; } }

/* ---------- Фото-плейсхолдер ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, #15181d, #0c0e11); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.ph--empty img { opacity: 0; }
.ph--empty::after { content: attr(data-slot); position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; }

/* ---------- Пакеты сервиса ---------- */
.pkgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 920px; }
.pkg { padding: 32px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; transition: border-color .4s, transform .5s var(--ease); }
.pkg:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pkg.featured { background: linear-gradient(180deg, #171b16, var(--bg-2) 60%); border-color: rgba(185,226,124,.28); }
.pkg-badge { position: absolute; top: 28px; right: 28px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(185,226,124,.35); border-radius: 999px; padding: 4px 10px; }
.pkg-name { font-size: 15px; color: var(--muted); font-weight: 500; }
.pkg-price { font-size: 40px; font-weight: 600; letter-spacing: -.03em; margin: 8px 0 24px; }
.pkg-price small { font-size: 15px; color: var(--faint); font-weight: 500; margin-right: 6px; letter-spacing: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 999px; background: rgba(185,226,124,.14) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9E27C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center/11px no-repeat; }
.pkg .btn { margin-top: auto; }
.pkg .ticks { margin-bottom: 28px; }
@media (max-width: 900px) {
  .pkgs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .pkgs::-webkit-scrollbar { display: none; }
  .pkg { scroll-snap-align: center; padding: 26px; }
}
.fullprice { margin-top: 20px; border-radius: var(--radius-s); border: 1px solid var(--line); overflow: hidden; }
.fullprice summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.fullprice summary::-webkit-details-marker { display: none; }
.fullprice summary svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.fullprice[open] summary svg { transform: rotate(45deg); }
.fullprice-body { padding: 0 24px 20px; }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.price-row b { color: var(--text); font-weight: 500; }
.note { color: var(--faint); font-size: 13px; margin-top: 12px; }

/* ---------- Галерея ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery .g { border-radius: 20px; overflow: hidden; position: relative; }
.gallery .g:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery .g:nth-child(4) { grid-row: span 2; }
.gallery .g:hover img { transform: scale(1.05); }
.g-cap { position: absolute; left: 16px; bottom: 14px; font-size: 13px; color: var(--text); background: rgba(7,8,10,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 6px 12px; border-radius: 999px; }
.gallery .ph { width: 100%; height: 100%; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .gallery .g:nth-child(4) { grid-row: span 1; } }

/* ---------- Запись ---------- */
.booking { display: grid; grid-template-columns: 1.05fr 1fr; gap: 16px; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } }
.bk-card { padding: 28px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
@media (max-width: 640px) { .bk-card { padding: 20px 16px; } }
.steps { display: flex; gap: 8px; margin-bottom: 22px; }
.step { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.step i { font-style: normal; width: 22px; height: 22px; border-radius: 999px; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 11px; }
.step.on { color: var(--text); } .step.on i { background: var(--text); color: var(--bg); border-color: var(--text); }
.step.ok i { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.step + .step::before { content: ""; width: 18px; height: 1px; background: var(--line-2); }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-title { font-weight: 600; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-wd { font-size: 11px; text-align: center; color: var(--faint); letter-spacing: .06em; padding-bottom: 4px; }
.day { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; font-size: 15px; font-weight: 500; position: relative; border: 1px solid transparent; transition: background .25s, border-color .25s, transform .25s var(--ease); font-variant-numeric: tabular-nums; }
.day.free { background: rgba(255,255,255,.045); }
.day.free:hover { border-color: var(--line-2); }
.day.free::after { content: ""; position: absolute; bottom: 18%; width: 4px; height: 4px; border-radius: 99px; background: var(--accent); opacity: .8; }
.day.full { color: var(--busy); background: rgba(229,83,75,.08); text-decoration: line-through; cursor: not-allowed; }
.day.closed, .day.off { color: rgba(244,241,234,.2); cursor: not-allowed; }
.day.closed { text-decoration: line-through; }
.day.sel { background: var(--text); color: var(--bg); }
.day.sel::after { background: var(--bg); }
.day.today { border-color: var(--line-2); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { height: 48px; border-radius: 12px; background: rgba(255,255,255,.045); border: 1px solid transparent; font-weight: 500; font-variant-numeric: tabular-nums; transition: all .25s var(--ease); }
.slot:hover:not([disabled]) { border-color: var(--line-2); }
.slot.sel { background: var(--text); color: var(--bg); }
.slot[disabled] { color: var(--busy); background: rgba(229,83,75,.07); text-decoration: line-through; cursor: not-allowed; opacity: .85; }
.bk-empty { color: var(--faint); padding: 40px 0; text-align: center; }
.bk-date { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 16px; }
.form { display: grid; gap: 12px; margin-top: 22px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin: 0 0 6px 2px; }
.field input, .admin input, .admin select, .admin textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; background: rgba(255,255,255,.045);
  border: 1px solid var(--line); outline: none; transition: border-color .25s, background .25s; font-size: 16px;
}
.field input:focus { border-color: rgba(244,241,234,.4); background: rgba(255,255,255,.06); }
.field.bad input { border-color: var(--busy); }
.field small { display: block; color: var(--faint); font-size: 12px; margin: 6px 0 0 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.status { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); min-height: 22px; }
.status.err { color: var(--busy); }
.spin { width: 16px; height: 16px; border-radius: 99px; border: 2px solid var(--line-2); border-top-color: var(--text); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.done { text-align: center; padding: 24px 0 8px; }
.done-ic { width: 64px; height: 64px; border-radius: 999px; margin: 0 auto 20px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; animation: pop .6s var(--ease) both; }
.done-ic svg { width: 28px; height: 28px; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
.summary { text-align: left; margin: 24px 0; border-radius: var(--radius-s); border: 1px solid var(--line); }
.summary div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 15px; }
.summary div + div { border-top: 1px solid var(--line); }
.summary span { color: var(--muted); } .summary b { font-weight: 500; text-align: right; word-break: break-word; }

/* ---------- Контакты ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.c-list { display: grid; gap: 0; }
.c-item { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.c-item:first-child { border-top: 0; padding-top: 0; }
.c-item svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--muted); }
.c-item small { display: block; color: var(--faint); font-size: 12px; margin-top: 2px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 380px; border: 1px solid var(--line); position: relative; background: var(--bg-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.4) brightness(.9) contrast(.9); }

/* ---------- Аренда ---------- */
.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .fleet { grid-template-columns: 1fr; } }
.bike { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); text-align: left; display: flex; flex-direction: column; transition: border-color .4s, transform .5s var(--ease); width: 100%; }
.bike:hover { border-color: var(--line-2); transform: translateY(-4px); }
.bike:hover img { transform: scale(1.05); }
.bike .ph { aspect-ratio: 4 / 3.2; }
.bike-b { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.bike-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bike-name { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.bike-price { color: var(--muted); font-size: 14px; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.bike-more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.bike-more svg { width: 16px; height: 16px; }

.bats { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .bats { grid-template-columns: 1fr; } .bats .ph { min-height: 220px; } }
.bats .ph { border-radius: var(--radius); }
.bat { padding: 32px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; }
.bat-ic { display: flex; gap: 4px; align-items: center; margin-bottom: 40px; }
.bat-ic .cell { width: 14px; height: 30px; border-radius: 4px; background: rgba(255,255,255,.08); }
.bat-ic .cell.on { background: var(--accent); }
.bat-ic .tip { width: 4px; height: 12px; border-radius: 0 3px 3px 0; background: rgba(255,255,255,.14); }
.bat h3 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.02em; font-weight: 600; }
.bat p { margin: 0; color: var(--muted); }
.bat-bar { margin-top: auto; padding-top: 32px; font-size: 12px; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.bat-bar div { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); margin-top: 10px; overflow: hidden; }
.bat-bar div i { display: block; height: 100%; background: var(--text); border-radius: 4px; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; list-style: none; padding: 0; margin: 0; counter-reset: b; }
.benefits li { padding: 22px 0; border-top: 1px solid var(--line); display: flex; gap: 16px; font-size: 17px; letter-spacing: -.01em; counter-increment: b; }
.benefits li::before { content: counter(b, decimal-leading-zero); font-size: 12px; color: var(--accent); font-weight: 600; margin-top: 4px; letter-spacing: .06em; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr; } .benefits li { padding: 16px 0; font-size: 16px; } }

.infra { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.infra .tile { border-radius: 20px; overflow: hidden; position: relative; aspect-ratio: 3 / 4; }
.infra .tile .ph { position: absolute; inset: 0; }
.infra .tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,8,10,.85)); }
.infra .cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.infra .cap b { display: block; font-weight: 600; font-size: 17px; }
.infra .cap span { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .infra { grid-template-columns: repeat(2, 1fr); } }

.social-cta { padding: 56px; border-radius: var(--radius); text-align: center; background: radial-gradient(80% 120% at 50% 0%, rgba(185,226,124,.1), transparent 60%), var(--bg-2); border: 1px solid var(--line); }
.social-cta .btn-row { justify-content: center; }
@media (max-width: 640px) { .social-cta { padding: 36px 20px; } .social-cta .btn { width: 100%; } }

/* ---------- «Для курьеров»: переключатель Аренда / Трудоустройство ---------- */
.seg-wrap { position: sticky; top: 68px; z-index: 30; padding: 12px 0; background: linear-gradient(180deg, rgba(7,8,10,.92), rgba(7,8,10,.75)); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .seg-wrap { top: 60px; } }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; max-width: 520px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); }
.seg button { position: relative; z-index: 1; height: 48px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .35s; }
.seg button.on { color: var(--bg); }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--text); transition: transform .5s var(--ease); }
@media (max-width: 640px) { .seg { max-width: none; } }
#courierBody.enter { animation: pageIn .6s var(--ease) both; }

.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps4 { grid-template-columns: 1fr; } }
.bridge { margin-top: 16px; width: 100%; display: flex; align-items: center; gap: 20px; padding: 12px 20px 12px 12px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); text-align: left; transition: border-color .4s; }
.bridge:hover { border-color: var(--line-2); }
.bridge-ph { width: 120px; height: 84px; border-radius: 16px; flex: none; }
.bridge-b { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.bridge-b b { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.bridge-b span { color: var(--muted); font-size: 14px; }
@media (max-width: 520px) { .bridge-ph { width: 84px; height: 72px; } .bridge .door-go { display: none; } }

/* ---------- История «О нас» ---------- */
.story-list { display: grid; gap: 16px; }
.story-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: stretch; }
.story-row:nth-child(even) { grid-template-columns: 1fr 1.2fr; }
.story-row:nth-child(even) .story-ph { order: 2; }
.story-ph { border-radius: var(--radius); min-height: 340px; }
.story-ph img { filter: saturate(.85); }
.story-b { padding: 40px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; }
.story-b h3 { margin: 40px 0 10px; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.025em; font-weight: 600; line-height: 1.08; }
.story-b p { margin: 0; color: var(--muted); font-size: 17px; max-width: 420px; }
@media (max-width: 760px) {
  .story-row, .story-row:nth-child(even) { grid-template-columns: 1fr; gap: 0; }
  .story-row:nth-child(even) .story-ph { order: 0; }
  .story-ph { min-height: 220px; border-radius: var(--radius) var(--radius) 0 0; }
  .story-b { border-radius: 0 0 var(--radius) var(--radius); border-top: 0; padding: 24px 20px 28px; }
  .story-b h3 { margin-top: 16px; }
}

/* ---------- Комьюнити ---------- */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.editorial p { font-size: clamp(19px, 2vw, 26px); line-height: 1.4; letter-spacing: -.015em; margin: 0; color: var(--text); }
@media (max-width: 900px) { .editorial { grid-template-columns: 1fr; gap: 24px; } }
.cgal { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; gap: 12px; }
.cgal .g { border-radius: 20px; overflow: hidden; }
.cgal .g .ph { width: 100%; height: 100%; }
.cgal .g:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.cgal .g:nth-child(2), .cgal .g:nth-child(3) { grid-column: span 2; }
.cgal .g:nth-child(4), .cgal .g:nth-child(5), .cgal .g:nth-child(6) { grid-column: span 2; grid-row: span 1; }
@media (max-width: 760px) { .cgal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .cgal .g:nth-child(n) { grid-column: span 1; grid-row: span 1; } .cgal .g:nth-child(1) { grid-column: span 2; grid-row: span 2; } }
.rides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .rides { grid-template-columns: 1fr; } }
.ride { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.ride .ph { position: absolute; inset: 0; }
.ride::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,8,10,.9)); }
.ride-b { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.ride-b small { color: var(--muted); display: block; }
.ride-b b { font-size: 24px; letter-spacing: -.02em; font-weight: 600; }
.soon { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: rgba(244,241,234,.12); backdrop-filter: blur(10px); white-space: nowrap; }
.split-box { border-radius: calc(var(--radius) + 8px); border: 1px solid var(--line); padding: 48px; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); }
@media (max-width: 640px) { .split-box { padding: 24px 16px; } }

/* ---------- Кабинет ---------- */
.acc-wrap { max-width: 760px; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); margin: 28px 0 20px; }
.tabs button { padding: 10px 18px; border-radius: 999px; font-size: 14px; color: var(--muted); font-weight: 500; }
.tabs button.on { background: var(--text); color: var(--bg); }
.list { display: grid; gap: 12px; }
.item { padding: 22px 24px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); }
.item-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.item-t { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.item-m { color: var(--muted); font-size: 14px; margin-top: 4px; }
.pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(185,226,124,.14); color: var(--accent); }
.pill.grey { background: rgba(255,255,255,.07); color: var(--muted); }
.item-acts { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.btn-s { height: 40px; padding: 0 16px; font-size: 14px; }
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; }
.track div { font-size: 12px; color: var(--faint); }
.track div::before { content: ""; display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); margin-bottom: 8px; }
.track div.on { color: var(--text); } .track div.on::before { background: var(--accent); }
.rs-slots { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: none; }
.rs-slots .slot { flex: none; padding: 0 14px; height: 44px; font-size: 14px; }

/* ---------- Модальное окно (детали модели) ---------- */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.modal.open { opacity: 1; pointer-events: auto; }
.sheet { width: min(860px, 100%); max-height: 90vh; overflow: auto; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line-2); display: grid; grid-template-columns: 1.1fr 1fr; transform: translateY(20px) scale(.98); transition: transform .5s var(--ease); }
.modal.open .sheet { transform: none; }
.sheet .ph { min-height: 360px; }
.sheet-b { padding: 32px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.sheet-x { position: absolute; top: 16px; right: 16px; }
@media (max-width: 760px) {
  .modal { place-items: end stretch; padding: 0; }
  .sheet { grid-template-columns: 1fr; border-radius: 28px 28px 0 0; max-height: 88vh; transform: translateY(40px); }
  .sheet .ph { min-height: 240px; }
  .sheet-b { padding: 24px 20px 32px; }
}

/* ---------- Подвал ---------- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 120px; color: var(--muted); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 14px; color: var(--text); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.foot p { margin: 0 0 6px; }
.foot a:hover { color: var(--text); }
.foot-note { font-size: 12px; color: var(--faint); margin-top: 10px; }
.foot-bottom { margin-top: 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--faint); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Липкая кнопка записи на телефоне ---------- */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; transform: translateY(120%); transition: transform .5s var(--ease); }
.sticky-cta .btn { width: 100%; height: 56px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.7); }
@media (max-width: 760px) { .sticky-cta.on { display: block; } .sticky-cta.show { transform: none; } }

/* ---------- Панель прототипа (не часть дизайна сайта) ---------- */
.dock { position: fixed; left: 12px; bottom: 12px; z-index: 80; display: flex; gap: 6px; font: 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.dock button { height: 34px; padding: 0 12px; border-radius: 10px; background: rgba(16,18,22,.92); border: 1px dashed rgba(244,241,234,.25); color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dock button:hover { color: var(--text); }
.sw { width: 26px; height: 15px; border-radius: 99px; background: rgba(255,255,255,.15); position: relative; transition: background .25s; flex: none; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 99px; background: #fff; transition: transform .25s var(--ease); }
.sw.on { background: var(--accent); } .sw.on::after { transform: translateX(11px); }
@media (max-width: 760px) { .dock { left: 8px; bottom: 8px; } .dock button { height: 30px; padding: 0 9px; font-size: 11px; } body.cta-on .dock { bottom: 80px; } }

.admin { position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100%); z-index: 90; background: #0c0e11; border-left: 1px solid var(--line-2); transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; font-size: 14px; }
.admin.open { transform: none; box-shadow: -40px 0 80px rgba(0,0,0,.5); }
.admin-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.admin-h b { font-size: 16px; }
.admin-h small { display: block; color: var(--faint); font-size: 12px; font-weight: 400; }
.admin-tabs { display: flex; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.admin-tabs button { padding: 8px 12px; border-radius: 10px; color: var(--muted); white-space: nowrap; font-size: 13px; }
.admin-tabs button.on { background: rgba(255,255,255,.08); color: var(--text); }
.admin-b { flex: 1; overflow: auto; padding: 20px; display: grid; gap: 14px; align-content: start; }
.admin input, .admin select, .admin textarea { height: 40px; font-size: 13px; border-radius: 10px; padding: 0 12px; }
.admin textarea { height: 96px; padding: 10px 12px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; resize: vertical; }
.admin label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.a-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.a-row small { color: var(--faint); display: block; font-size: 12px; }
.a-card { padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); display: grid; gap: 10px; }
.a-h { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-top: 6px; }
.a-langs { display: flex; gap: 6px; }
.a-langs button { padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line-2); font-size: 11px; color: var(--faint); }
.a-langs button.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.a-day { border-radius: 12px; border: 1px solid var(--line); overflow: hidden; }
.a-day-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; cursor: pointer; }
.a-day-h small { color: var(--faint); }
.a-day.closed .a-day-h > span { color: var(--faint); text-decoration: line-through; }
.a-slots { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 12px; }
.a-slot { padding: 6px 9px; border-radius: 8px; font-size: 12px; font-variant-numeric: tabular-nums; background: rgba(185,226,124,.12); color: var(--accent); }
.a-slot.closed { background: rgba(255,255,255,.05); color: var(--faint); text-decoration: line-through; }
.a-slot.crm { background: rgba(229,83,75,.12); color: var(--busy); cursor: not-allowed; }
.a-slot.bk { background: rgba(120,160,255,.15); color: #9db8ff; cursor: not-allowed; }
.a-tag { font-size: 11px; padding: 3px 8px; border-radius: 99px; background: rgba(255,255,255,.08); }
.a-tag.ok { background: rgba(185,226,124,.14); color: var(--accent); }
.a-tag.no { background: rgba(229,83,75,.14); color: var(--busy); }
.a-pre { margin: 0; padding: 12px; border-radius: 10px; background: #07080A; border: 1px solid var(--line); font: 11px/1.5 ui-monospace, Menlo, Consolas, monospace; color: #cfd8c4; white-space: pre-wrap; word-break: break-all; }
.a-foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: space-between; align-items: center; }
.a-btn { height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 12px; }
.a-btn.red { color: var(--busy); border-color: rgba(229,83,75,.4); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, calc(100% + 48px)); visibility: hidden; padding: 12px 18px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 500; transition: transform .5s var(--ease), visibility 0s .5s; }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .door { transform: none !important; }
}

/* ================= Главная: живой фон и плитки (в духе Apple) ================= */
.live-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.live-img { position: absolute; inset: -14%; will-change: transform; }
.live-img i { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(44px) saturate(1.6) brightness(.62); animation: liveDrift 26s ease-in-out infinite alternate; }
@keyframes liveDrift { 0% { transform: scale(1.05) rotate(0deg); } 50% { transform: scale(1.14) rotate(1.5deg) translate(-1.5%, 1%); } 100% { transform: scale(1.08) rotate(-1deg) translate(1.5%, -1%); } }
.live-bg .ambient { z-index: 0; mix-blend-mode: screen; opacity: .75; }
.live-dim { position: absolute; inset: 0; background: var(--bg); opacity: .15; }
.live-bg .grain { z-index: 1; opacity: .05; }
@media (prefers-reduced-motion: reduce) { .live-img i, .live-bg .grain { animation: none; } }
body.is-home .hdr:not(.scrolled) { background: transparent; }

.ahero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; padding: 96px 0 72px; }
.ahero-in { display: flex; flex-direction: column; align-items: center; }
.ahero-t { margin: 0; font-size: clamp(60px, 13vw, 168px); line-height: .92; font-weight: 700; letter-spacing: -.055em;
  background: linear-gradient(180deg, #fff 30%, rgba(244,241,234,.55)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.ahero-s { margin: 22px 0 0; font-size: clamp(19px, 2.2vw, 28px); line-height: 1.25; letter-spacing: -.015em; color: var(--muted); max-width: 640px; font-weight: 500; }
.ahero-cta { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.ahero-cue { position: absolute; left: 50%; bottom: 28px; width: 22px; height: 36px; margin-left: -11px; border-radius: 999px; border: 1.5px solid var(--line-2); }
.ahero-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: var(--muted); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

.pill { display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 16px; transition: background .25s, transform .3s var(--ease); white-space: nowrap; }
.pill:hover { background: #fff; }
.pill:active { transform: scale(.97); }
.lnk { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; font-weight: 500; color: var(--text); white-space: nowrap; }
.lnk span { transition: transform .3s var(--ease); display: inline-block; }
.lnk:hover { text-decoration: underline; text-underline-offset: 4px; }
.lnk:hover span { transform: translateX(3px); }

.atiles { padding: 12px 0 0; }
.atiles .container { display: grid; gap: 14px; }
.atiles-pair { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 14px; perspective: 1400px; }
.atile { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius); min-height: 560px; height: 72vh; max-height: 720px; cursor: pointer;
  border: 1px solid rgba(244,241,234,.1); background: rgba(16,18,22,.4);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.atiles-pair .atile { height: 64vh; max-height: 640px; }
.atile.tilting { transition: transform .12s linear, box-shadow .6s var(--ease); }
.atile:hover { box-shadow: 0 50px 90px -40px rgba(0,0,0,.9); }
.atile-media { position: absolute; inset: 0; z-index: -2; }
.atile-media .ph { width: 100%; height: 100%; }
.atile-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.22) translate(var(--px, 0px), calc(var(--py, 0px) + var(--sy, 0px)));
  filter: url(#fisheye) saturate(.9) brightness(.78); transition: transform 1.1s var(--ease), filter .6s; }
.atile:hover .atile-media img { transform: scale(1.3) translate(var(--px, 0px), calc(var(--py, 0px) + var(--sy, 0px))); filter: url(#fisheye) saturate(1) brightness(.86); }
.atile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,8,10,.72) 0%, rgba(7,8,10,.25) 38%, transparent 60%, rgba(7,8,10,.35) 100%); }
.atile .door-glare { z-index: 0; }
.atile:hover .door-glare { opacity: 1; }
.atile-copy { position: relative; z-index: 1; text-align: center; padding: 56px 28px 0; display: flex; flex-direction: column; align-items: center; }
.atile-t { margin: 0; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; font-weight: 700; letter-spacing: -.04em; }
.atiles-pair .atile-t { font-size: clamp(32px, 3.4vw, 46px); }
.atile-s { margin: 12px 0 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.35; color: rgba(244,241,234,.78); max-width: 520px; }
.atile-links { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 20px; }

.who { padding: 160px 0 120px; }
.who .eyebrow { margin-bottom: 22px; }
.who-t { margin: 0; max-width: 1000px; font-size: clamp(28px, 4.2vw, 54px); line-height: 1.12; letter-spacing: -.03em; font-weight: 600; }
.who-t span { color: var(--faint); }

.photos { padding: 40px 0 120px; }
.photos .h2 { margin-bottom: 32px; }
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))) 8px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip-i { flex: none; width: clamp(240px, 28vw, 380px); aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; scroll-snap-align: center; border: 1px solid var(--line); }
.strip-i .ph { width: 100%; height: 100%; }
.strip-i:hover img { transform: scale(1.05); }

.visit { padding: 0 0 120px; }
.visit-card { display: grid; grid-template-columns: 1fr 1.15fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2);
  background: rgba(16,18,22,.55); backdrop-filter: saturate(150%) blur(30px); -webkit-backdrop-filter: saturate(150%) blur(30px); }
.visit-b { padding: 48px; display: flex; flex-direction: column; }
.visit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.visit-cols small { display: block; font-size: 13px; color: var(--faint); margin-bottom: 8px; }
.visit-cols p { margin: 0; font-size: 18px; line-height: 1.45; }
.visit-b .ahero-cta { justify-content: flex-start; margin-top: auto; padding-top: 40px; }
.visit-map { min-height: 440px; }
.visit-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) brightness(.92); }

@media (max-width: 900px) {
  .atiles-pair { grid-template-columns: 1fr; }
  .atile, .atiles-pair .atile { height: auto; min-height: 520px; max-height: none; transform: none !important; }
  .atile:active { transform: scale(.985) !important; transition: transform .25s var(--ease); }
  .atile-copy { padding: 40px 20px 0; }
  .who { padding: 110px 0 80px; }
  .photos { padding: 20px 0 80px; }
  .visit { padding-bottom: 80px; }
  .visit-card { grid-template-columns: 1fr; }
  .visit-b { padding: 32px 22px; }
  .visit-cols { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .visit-map { min-height: 300px; }
}
@media (max-width: 640px) { .ahero-cta { gap: 22px; } .atile, .atiles-pair .atile { min-height: 470px; } }

/* ================= Трудоустройство: два варианта, что даём, опыт ================= */
.jhead { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.jhead .lead { margin: 18px auto 0; }
.jhead-t { margin: 0; font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -.045em; font-weight: 700; }
.jhead--left { text-align: left; margin: 0 0 48px; }
.jhead--left .lead { margin-left: 0; }

.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.opt { position: relative; overflow: hidden; padding: 40px; border-radius: var(--radius); display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(28,32,38,.9), rgba(16,18,22,.9)); border: 1px solid var(--line-2); }
.opt::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 360px; height: 360px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(185,226,124,.16), transparent 65%); }
.opt:nth-child(2)::before { background: radial-gradient(circle, rgba(120,150,220,.16), transparent 65%); }
.opt-k { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
.opt-t { margin: 14px 0 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.05; font-weight: 700; }
.opt-big { margin: 28px 0 0; font-size: clamp(64px, 8vw, 104px); line-height: .9; letter-spacing: -.06em; font-weight: 700;
  background: linear-gradient(180deg, #fff 35%, rgba(244,241,234,.5)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.opt-big small { display: block; margin-top: 10px; font-size: 15px; letter-spacing: 0; font-weight: 500; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.opt-p { margin: 24px 0 0; font-size: 17px; line-height: 1.5; color: rgba(244,241,234,.82); }
.opt .ticks { margin: 24px 0 0; }
.opt-foot { margin-top: auto; padding-top: 32px; }
.opt-foot small { display: block; color: var(--faint); font-size: 13px; margin-bottom: 12px; }
.opt-social { display: flex; gap: 10px; flex-wrap: wrap; }

.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feat { padding: 36px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease); }
.feat:hover { border-color: var(--line-2); transform: translateY(-3px); }
.feat-n { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--accent); }
.feat h3 { margin: 48px 0 10px; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.025em; font-weight: 600; line-height: 1.15; }
.feat p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 440px; }

/* Aligator Support (аренда) */
.support { position: relative; overflow: hidden; text-align: center; padding: 72px 32px; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: radial-gradient(80% 120% at 50% 0%, rgba(56,140,220,.22), transparent 60%), var(--bg-2); }
.support .h2 { margin-top: 12px; }
.support .lead { margin: 18px auto 0; max-width: 680px; }
.support-ic { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 22px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #37AEE2, #1E96C8); box-shadow: 0 20px 50px -18px rgba(55,174,226,.7); }
.support-ic svg { width: 34px; height: 34px; }
.support-tag { margin: 28px 0 0; font-weight: 600; font-size: 17px; }
.rent-hours { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 15px; }
.rent-hours svg { width: 18px; height: 18px; flex: none; }
.rent-hours b { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .opts, .feats { grid-template-columns: 1fr; }
  .opt { padding: 28px 22px; }
  .feat { padding: 28px 22px; }
  .feat h3 { margin-top: 28px; }
  .jhead { margin-bottom: 36px; }
  .support { padding: 52px 20px; }
}

/* ================= Аренда: витрина моделей с «поворотом» ================= */
.models { display: grid; gap: 16px; }
.model { display: grid; grid-template-columns: 1.35fr 1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); }
.model:nth-child(even) .model-media { order: 2; }
.model-media { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.stage { position: relative; aspect-ratio: 3 / 2; border-radius: calc(var(--radius) - 8px); overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  background: #e4e4e1; perspective: 1200px; }
.stage.grab { cursor: grabbing; }
.stage.no-spin { cursor: default; }
.stage-in { position: absolute; inset: 0; transform: rotateY(var(--tilt, 0deg)); transition: transform .35s var(--ease); isolation: isolate;
  background: radial-gradient(90% 80% at 50% 40%, #ffffff 0%, #ededeb 60%, #dcdcd8 100%); }
.stage.grab .stage-in { transition: none; }
.stage-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4% 6%; mix-blend-mode: multiply; opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.stage-in img.on { opacity: 1; }
.stage-in img.detail { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.spin-hint { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: #1b1d20; background: rgba(255,255,255,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); white-space: nowrap; transition: opacity .4s; }
.spin-hint svg { width: 14px; height: 14px; }
.stage.grab .spin-hint, .stage.no-spin .spin-hint { opacity: 0; }
.spin-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; }
.spin-dots span { width: 6px; height: 6px; border-radius: 999px; background: rgba(0,0,0,.18); transition: width .35s var(--ease), background .35s; }
.spin-dots span.on { width: 18px; background: #1b1d20; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; width: 64px; height: 48px; border-radius: 12px; overflow: hidden; background: #ededeb; border: 2px solid transparent; transition: border-color .25s; }
.thumb.on { border-color: var(--text); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.model-b { padding: 36px 36px 32px; display: flex; flex-direction: column; gap: 16px; }
.model-name { margin: 0; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.04em; line-height: 1; font-weight: 700; }
.model-note { margin: 0; color: var(--muted); }
.vseg { display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.vseg button { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .25s, color .25s; }
.vseg button.on { background: var(--text); color: var(--bg); }
.model .chips .chip { font-size: 13px; padding: 6px 12px; }
.model-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.model-price { color: var(--faint); font-size: 13px; }

/* В комплекте */
.kit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.kit li { display: flex; align-items: center; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); font-size: clamp(18px, 1.8vw, 22px); letter-spacing: -.015em; font-weight: 500; }
.kit li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 999px; background: rgba(185,226,124,.14) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9E27C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center/13px no-repeat; }

/* Бонусы: три колонки */
.feats--3 { grid-template-columns: repeat(3, 1fr); }
.feats--3 .feat h3 { margin-top: 0; }

/* Аккумуляторы 8 / 10 / 12 ч */
.bats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bat3 { padding: 32px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.bat3-n { font-size: clamp(56px, 6vw, 80px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.bat3-n small { font-size: .36em; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.bat3 p { margin: 10px 0 0; color: var(--muted); }
.bat3-bar { margin-top: 28px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.bat3-bar i { display: block; height: 100%; border-radius: 6px; background: var(--accent); }

/* Чат курьеров */
.chat-bar { margin-top: 16px; display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--bg-2); transition: border-color .3s; }
.chat-bar:hover { border-color: rgba(244,241,234,.3); }
.chat-ic { flex: none; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #37AEE2, #1E96C8); }
.chat-ic svg { width: 24px; height: 24px; }
.chat-b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chat-b b { font-size: 17px; font-weight: 600; }
.chat-b span { color: var(--muted); font-size: 14px; }
.chat-bar .lnk { margin-left: auto; font-size: 15px; }

/* «Наш опыт»: один текст + 4 фото */
.story2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.story2-b .h2 { margin-top: 12px; }
.story2-b .lead { max-width: 560px; }
.story2-g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.story2-g > div { border-radius: 20px; overflow: hidden; aspect-ratio: 1; }
.story2-g .ph { width: 100%; height: 100%; }
.story2-g img { filter: saturate(.9); }

@media (max-width: 900px) {
  .model { grid-template-columns: 1fr; }
  .model:nth-child(even) .model-media { order: 0; }
  .model-media { padding: 10px; }
  .model-b { padding: 22px 20px 24px; }
  .kit { grid-template-columns: 1fr; }
  .kit li { padding: 16px 0; }
  .feats--3, .bats3 { grid-template-columns: 1fr; }
  .bats3 { gap: 10px; }
  .bat3 { padding: 24px 22px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 18px; }
  .bat3 p { margin: 0; }
  .bat3-bar { grid-column: 1 / -1; margin-top: 14px; }
  .chat-bar { flex-wrap: wrap; padding: 18px; }
  .chat-bar .lnk { margin-left: 66px; }
  .story2 { grid-template-columns: 1fr; gap: 28px; }
}
.stage--cover .stage-in img:not(.detail) { object-fit: contain; padding: 0; mix-blend-mode: normal; transform: scale(1.4); }
.stage--cover .stage-in { background: #f2f2f2; }
.stage.grab .stage-in img { transition-duration: .08s; }

/* ================= Логотип ================= */
.logo { gap: 10px; }
.logo-img { width: 34px; height: 34px; object-fit: contain; flex: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.ahero-logo { width: clamp(150px, 18vw, 220px); margin-bottom: 8px; animation: logoFloat 6s ease-in-out infinite; }
.ahero-logo img { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(0,0,0,.55)) drop-shadow(0 0 60px rgba(185,226,124,.18)); }
@keyframes logoFloat { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-10px) rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) { .ahero-logo { animation: none; } }
/* значок-логотип на плитках и в шапках разделов (как иконка приложения на стекле) */
.badge { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.badge img { width: 50px; height: 50px; object-fit: contain; }
.badge--hero { width: 76px; height: 76px; border-radius: 24px; margin-bottom: 20px; }
.badge--hero img { width: 60px; height: 60px; }

/* ================= Тестовая неделя ================= */
.tw-sec { padding-bottom: 0; }
.tw { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; padding: 16px; border-radius: calc(var(--radius) + 6px); border: 1px solid rgba(185,226,124,.3);
  background: radial-gradient(70% 120% at 100% 0%, rgba(185,226,124,.2), transparent 60%), linear-gradient(180deg, #14180f, var(--bg-2)); }
.tw-b { padding: 28px 24px; }
.tw-b .h2 { margin-top: 12px; }
.tw-b .lead { margin-top: 14px; }
.tw-b .btn-row { margin-top: 28px; }
.tw-price { border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; background: rgba(7,8,10,.5); border: 1px solid var(--line); }
.tw-n { font-size: clamp(64px, 8vw, 104px); font-weight: 700; letter-spacing: -.055em; line-height: .9; color: var(--accent); }
.tw-s { margin-top: 10px; color: var(--muted); font-size: 16px; }
.tw-dep { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; color: var(--muted); }
.tw-dep b { color: var(--text); font-size: 24px; font-weight: 600; letter-spacing: -.02em; }

/* ================= Характеристики в карточке модели ================= */
.spec-t { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-top: 4px; }
.specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.specs li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.specs li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 999px; background: rgba(185,226,124,.14) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9E27C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center/11px no-repeat; }

/* ================= Поддержка + чат рядом; большая карточка чата ================= */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo .support { padding: 56px 32px; }
.chat-card { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 56px 32px; border-radius: var(--radius); color: #fff;
  background: linear-gradient(160deg, #2AABEE 0%, #1B8BD0 45%, #145E99 100%); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 40px 80px -40px rgba(42,171,238,.6); }
.chat-glow { position: absolute; inset: -30% -10% auto; height: 80%; z-index: -1; background: radial-gradient(closest-side, rgba(255,255,255,.35), transparent); filter: blur(10px); animation: chatGlow 7s ease-in-out infinite alternate; }
@keyframes chatGlow { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
.chat-card .chat-ic { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 24px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); display: grid; place-items: center; }
.chat-card .chat-ic svg { width: 38px; height: 38px; }
.chat-card .eyebrow { color: rgba(255,255,255,.75); }
.chat-card .h2 { margin-top: 12px; }
.chat-card .lead { color: rgba(255,255,255,.85); margin: 16px auto 0; max-width: 520px; }
.btn-tg { margin-top: 28px; background: #fff; color: #1479B8; }
.btn-tg:hover { background: #F0F8FF; }

@media (max-width: 900px) {
  .tw { grid-template-columns: 1fr; padding: 10px; }
  .tw-b { padding: 22px 14px 8px; }
  .tw-price { padding: 26px 22px; order: -1; }
  .specs { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .duo .support, .chat-card { padding: 44px 20px; }
  .badge { width: 56px; height: 56px; border-radius: 18px; }
  .badge img { width: 44px; height: 44px; }
  .logo-img { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .chat-glow { animation: none; } }
@media (max-width: 900px) { .feats--3 { gap: 10px; } .feats--3 .feat { padding: 20px 20px; } .feats--3 .feat h3 { font-size: 20px; margin-bottom: 6px; } }

/* ================= Половина логотипа в цвете направления ================= */
.tlogo { position: absolute; aspect-ratio: 1; pointer-events: none; isolation: isolate; z-index: 0; }
.tlogo img { width: 100%; height: 100%; display: block; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); }
/* тонирование: цвет направления поверх логотипа, яркость и детали логотипа сохраняются */
.tlogo::after { content: ""; position: absolute; inset: 0; background: var(--tint); mix-blend-mode: color; opacity: .9;
  -webkit-mask: url("img/logo-aligator.png") center / contain no-repeat; mask: url("img/logo-aligator.png") center / contain no-repeat; }
.tlogo::before { content: ""; position: absolute; inset: 18%; z-index: -1; border-radius: 50%; background: var(--tint); opacity: .28; filter: blur(60px); }

/* плитки главной: размытое фото + цветная дымка + логотип, наполовину выходящий за край */
.atile-media img { filter: url(#fisheye) blur(2.5px) saturate(.95) brightness(.8); }
.atile:hover .atile-media img { filter: url(#fisheye) blur(1px) saturate(1) brightness(.88); }
.atile-wash { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(80% 90% at 100% 100%, color-mix(in srgb, var(--tint) 38%, transparent), transparent 70%), linear-gradient(90deg, rgba(7,8,10,.65), transparent 65%); }
.atile::before { display: none; }
.tlogo--tile { height: 92%; right: -24%; bottom: -14%; transition: transform .8s var(--ease); }
.atile--wide .tlogo--tile { height: 120%; right: -14%; bottom: -10%; top: auto; }
.atile:hover .tlogo--tile { transform: rotate(-4deg) scale(1.04); }
.atile-copy { align-items: flex-start; text-align: left; padding: 48px 44px 0; max-width: 620px; }
.atile-copy .atile-s { max-width: 420px; }
.atile-links { justify-content: flex-start; }
.atile-t { text-shadow: 0 2px 24px rgba(0,0,0,.4); }

/* шапки разделов */
.hero-poster--blur { filter: blur(10px) saturate(.9); transform: scale(1.12); animation: none; }
.hero-wash { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 80% at 100% 50%, color-mix(in srgb, var(--tint) 34%, transparent), transparent 70%); }
.tlogo--hero { height: 118%; top: 50%; right: -20%; transform: translateY(-50%); z-index: -1; opacity: .95; animation: heroLogo 9s ease-in-out infinite; }
@keyframes heroLogo { 0%, 100% { transform: translateY(-50%) rotate(-3deg); } 50% { transform: translateY(-52%) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .tlogo--hero { animation: none; } }

@media (max-width: 900px) {
  .atile-copy { padding: 34px 22px 0; }
  .tlogo--tile, .atiles-pair .tlogo--tile { height: 62%; right: -22%; bottom: -8%; }
  .atile--wide .tlogo--tile { height: 66%; right: -20%; bottom: -8%; }
  .tlogo--hero { height: 62%; top: auto; bottom: -4%; right: -32%; transform: none; animation: none; opacity: .5; }
}

/* ================= Комьюнити ================= */
.dep-pill { align-self: center; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 15px; white-space: nowrap; }
.dep-pill b { color: var(--text); }
.rbikes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rbike { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .4s, transform .5s var(--ease); }
.rbike:hover { border-color: var(--line-2); transform: translateY(-4px); }
.rbike:hover img { transform: scale(1.05); }
.rbike .ph { aspect-ratio: 4 / 3; }
.rbike-b { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rbike-b small { color: var(--faint); font-size: 13px; }
.rbike-b h3 { margin: 0; font-size: 21px; letter-spacing: -.02em; font-weight: 600; line-height: 1.2; }
.rbike-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rbike-foot b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.rbike-foot .lnk { font-size: 15px; }
.comm-story { text-align: center; max-width: 820px; margin: 0 auto; }
.comm-story .h2 { margin-top: 14px; }
.comm-story .lead { margin: 20px auto 0; font-size: clamp(18px, 1.8vw, 22px); }
.comm-story .btn { margin-top: 32px; }
.price-note { margin-top: 16px; max-width: 760px; }
@media (max-width: 900px) {
  .rbikes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .rbikes::-webkit-scrollbar { display: none; }
  .rbike { flex: none; width: 78%; scroll-snap-align: start; }
  .dep-pill { align-self: flex-start; }
}

/* Логотип на плитках и в шапках разделов — размытый, как фон (правка Льва) */
.tlogo { filter: blur(var(--lb, 4px)) saturate(1.15); opacity: .9; }
.tlogo img { filter: none; }
.tlogo--hero { --lb: 6px; }
.atile:hover .tlogo--tile { --lb: 2px; }
.tlogo { transition: filter .6s var(--ease), transform .8s var(--ease); }
@media (max-width: 900px) { .tlogo--hero { opacity: .6; } }

/* ================= Логотип — спокойный водяной знак (правка Льва: без цветных заливок) ================= */
.tlogo, .tlogo--hero { filter: grayscale(1) contrast(1.05) brightness(1.5) blur(3px); opacity: .14; mix-blend-mode: screen; }
.tlogo::before, .tlogo::after { display: none; }
.atile:hover .tlogo--tile { opacity: .22; filter: grayscale(1) contrast(1.05) brightness(1.5) blur(1.5px); transform: rotate(-3deg) scale(1.03); }
.tlogo--hero { opacity: .12; filter: grayscale(1) brightness(1.5) blur(4px); }
@media (max-width: 900px) { .tlogo--hero { opacity: .1; } }
.atile-wash { background: linear-gradient(90deg, rgba(7,8,10,.62), rgba(7,8,10,.1) 70%), linear-gradient(0deg, rgba(7,8,10,.35), transparent 40%); }
.hero-wash { display: none; }

/* ================= «Сумки курьеров»: размытые цветные силуэты (розовый / голубой / зелёный), без логотипов ================= */
.bags { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, #1a1d24, #0a0b0e 70%); }
.bags--hero { z-index: -2; }
.bag { position: absolute; display: block; aspect-ratio: .92; border-radius: 22% 22% 18% 18%; filter: blur(26px); opacity: .9; animation: bagDrift 16s ease-in-out infinite alternate; }
.bag::after { content: ""; position: absolute; left: 12%; right: 12%; top: 16%; height: 10%; border-radius: 99px; background: rgba(255,255,255,.35); }
.bag--pink  { width: 36%; left: 4%;   top: 26%; background: linear-gradient(180deg, #F0418A, #C40D5B); }
.bag--blue  { width: 32%; left: 38%;  top: 6%;  background: linear-gradient(180deg, #2EC0F2, #0087C7); animation-delay: -5s; animation-duration: 19s; }
.bag--green { width: 34%; right: -6%; top: 36%; background: linear-gradient(180deg, #45E08E, #17A85E); animation-delay: -9s; animation-duration: 21s; }
.bag--pink2 { width: 20%; left: 46%;  bottom: -12%; background: linear-gradient(180deg, #F0418A, #C40D5B); opacity: .55; animation-delay: -3s; }
@keyframes bagDrift { 0% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(4%, -5%) rotate(3deg); } 100% { transform: translate(-3%, 4%) rotate(-2deg); } }
.bags::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,8,10,.15), rgba(7,8,10,.55)); }
.bags--hero .bag { filter: blur(40px); opacity: .55; }
@media (prefers-reduced-motion: reduce) { .bag { animation: none; } }
/* подстройка: сумки читаются как сумки, водяной знак заметен, но спокоен */
.bag { filter: blur(12px); opacity: 1; box-shadow: inset 0 -18px 30px rgba(0,0,0,.25); }
.bag::before { content: ""; position: absolute; left: 30%; right: 30%; top: -9%; height: 12%; border: 5px solid currentColor; border-bottom: 0; border-radius: 40px 40px 0 0; opacity: .8; }
.bag--pink, .bag--pink2 { color: #C40D5B; } .bag--blue { color: #0087C7; } .bag--green { color: #17A85E; }
.bags::after { background: linear-gradient(90deg, rgba(7,8,10,.55), rgba(7,8,10,.05) 70%), linear-gradient(180deg, transparent 50%, rgba(7,8,10,.5)); }
.bags--hero .bag { filter: blur(22px); opacity: .7; }
.tlogo, .tlogo--tile { opacity: .22; }
.tlogo--hero { opacity: .16; }

/* ================= Вариант C (выбор Льва): чёткие фото, без логотипа на плитках и в шапках ================= */
.atile-media img { filter: url(#fisheye) saturate(.95) brightness(.8); }
.atile:hover .atile-media img { filter: url(#fisheye) saturate(1) brightness(.88); }
.atile-wash { background: linear-gradient(180deg, rgba(7,8,10,.75) 0%, rgba(7,8,10,.1) 50%, rgba(7,8,10,.25) 100%); }
/* фон «Для курьеров»: три фото сумок, слегка размыты */
.trip { position: absolute; inset: -30px; display: flex; filter: blur(8px) saturate(1.15) brightness(.82); }
.trip i { flex: 1; background-size: cover; background-position: center; }
.trip--hero { z-index: -2; filter: blur(10px) saturate(1.1) brightness(.55); }
@media (max-width: 900px) { .trip--hero { filter: blur(10px) brightness(.5); } }

/* ================= Велосервис: реальные данные ================= */
/* «Зачем регулярный сервис» — тихая полоса */
.why { padding: 56px 0 0; }
.why-in { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px 48px; align-items: start; }
.why-t { margin: 0; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.025em; font-weight: 600; }
.why-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 16px; line-height: 1.45; }
.why-l li { padding-left: 18px; position: relative; }
.why-l li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.why-end { grid-column: 2; margin: 6px 0 0; font-weight: 600; }
@media (max-width: 900px) { .why-in { grid-template-columns: 1fr; padding: 28px 0; } .why-end { grid-column: 1; } .why-l { font-size: 15px; gap: 6px; } }

/* оговорка «от» */
.price-warn { margin: -16px 0 24px; padding: 14px 18px; border-radius: var(--radius-s); border: 1px solid rgba(185,226,124,.25); background: rgba(185,226,124,.06); color: rgba(244,241,234,.85); font-size: 15px; line-height: 1.45; max-width: 860px; }

/* пакеты: две равные карточки */
.pkgs { grid-template-columns: repeat(2, 1fr); max-width: none; }
.pkg-price { margin: 8px 0 6px; }
.pkg-desc { margin: 0 0 22px; color: var(--muted); }
.pkg-extra { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.pkg-all { margin: 0 0 24px; border-top: 1px solid var(--line); }
.pkg-all summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.pkg-all summary::-webkit-details-marker { display: none; }
.pkg-all summary svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.pkg-all[open] summary svg { transform: rotate(45deg); }
.ticks--s { gap: 9px; padding-bottom: 6px; }
.ticks--s li { font-size: 14px; }
.pkg .ticks { margin-bottom: 18px; }
@media (max-width: 900px) { .pkgs { grid-template-columns: 1fr; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; } .pkg { padding: 24px 20px; } }

/* прайс: категории-аккордеоны */
.acc { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.acc-i + .acc-i { border-top: 1px solid var(--line); }
.acc-i summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 18px 22px; font-weight: 500; font-size: 17px; transition: background .25s; }
.acc-i summary:hover { background: rgba(255,255,255,.03); }
.acc-i summary::-webkit-details-marker { display: none; }
.acc-i summary small { color: var(--faint); font-size: 13px; font-weight: 500; margin-left: auto; }
.acc-i summary svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
.acc-i[open] summary svg { transform: rotate(45deg); }
.acc-b { padding: 0 22px 12px; }
.acc-b .price-row span small { display: block; color: var(--faint); font-size: 12.5px; margin-top: 3px; }
.acc-b .price-row b { white-space: nowrap; text-align: right; }
@media (max-width: 640px) { .acc-i summary { padding: 16px 16px; font-size: 16px; } .acc-b { padding: 0 16px 10px; } .acc-b .price-row { font-size: 14px; } }

/* запись: «или напишите нам», подтверждение */
.write-us { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: 15px; }
.write-us a { color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(244,241,234,.3); text-underline-offset: 4px; margin: 0 4px; }
.bk-confirm { margin: 4px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.field textarea { width: 100%; min-height: 104px; resize: vertical; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--text); font: inherit; font-size: 16px; line-height: 1.45; outline: none; }
.field textarea:focus { border-color: rgba(244,241,234,.4); background: rgba(255,255,255,.06); }
.field.bad textarea { border-color: var(--busy); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.summary div b { text-align: right; }

/* контакты: аккуратные иконки соцсетей */
.c-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.soc { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; transition: border-color .25s, background .25s; }
.soc:hover { border-color: rgba(244,241,234,.32); background: rgba(255,255,255,.04); }
.soc svg { width: 16px; height: 16px; }
.a-sub { margin: 14px 0 4px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.acc-b .price-row b small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 3px; }

/* ================= Плавность (оптимизация) ================= */
/* переход между страницами — без размытия всей страницы (это было дорого) */
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* зерно — статичное, без постоянной перерисовки большого слоя */
.grain { animation: none; }
/* фон главной: картинка уже маленькая, размытие нужно небольшое; анимация только transform */
.live-img i { filter: blur(14px) saturate(1.5) brightness(.62); will-change: transform; }
.live-img { will-change: transform; }
/* фото в плитках: без параллакса при прокрутке */
.atile-media img { transform: scale(1.18) translate(var(--px, 0px), var(--py, 0px)); }
.atile:hover .atile-media img { transform: scale(1.24) translate(var(--px, 0px), var(--py, 0px)); }
/* на телефонах и планшетах (нет мыши): без «рыбьего глаза» и тяжёлого стекла — всё листается ровно */
@media (hover: none), (pointer: coarse) {
  .atile-media img, .atile:hover .atile-media img { filter: saturate(.95) brightness(.8); transform: scale(1.04); transition: none; }
  .door-media img, .door:hover .door-media img { filter: saturate(.9) brightness(.82); transform: scale(1.04); }
  .btn-ghost, .badge, .door-go { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .btn-ghost { background: rgba(255,255,255,.06); }
  .trip { filter: blur(6px) brightness(.8); }
  .hero-poster { animation: none; }
  .rv { transition-duration: .6s; }
}

/* ================= Правки 24.11: меню, карта, отзывы, без мерцания ================= */
/* шрифт-заглушка с метриками Inter — пока грузится Inter, текст не «прыгает» */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"), local("Roboto"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 107%; ascent-override: 90.5%; descent-override: 22.5%; line-gap-override: 0%; }
:root { --font: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

/* мобильное меню: пункты сразу под шапкой, крупно, но без наложений */
.mnav { padding: max(16px, env(safe-area-inset-top)) var(--gutter) max(24px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
.mnav-top { min-height: 44px; flex: none; }
.mnav-links { margin-top: 24px; gap: 0; }
.mnav-links a { display: block; font-size: clamp(24px, 7vw, 32px); line-height: 1.2; letter-spacing: -.02em; padding: 14px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; hyphens: auto; }
.mnav-links a.on { color: var(--accent, #b9e27c); }

/* без «въезда» страниц и прыжков блоков: появление — только мягкая прозрачность, то, что на экране, — сразу */
#view.enter, #courierBody.enter { animation: none; }
.rv { transform: none; transition: opacity .5s ease; }
.rv.now { transition: none; }
.hero--home .hero-copy { margin-top: 4svh; }
@media (max-width: 900px) { .door { height: 44svh; } }

/* ---------- Карта (векторная, современный вид) + розовый маячок ---------- */
.visit-map { position: relative; }
.nmap { position: absolute; inset: 0; overflow: hidden; background: #eef0ec; }
.nmap .nmap-c { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.nmap.ready .nmap-c { opacity: 1; }
.nmap .maplibregl-ctrl-group { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.nmap .maplibregl-ctrl-attrib { font-size: 10px; }
.npin { position: absolute; left: 50%; top: 50%; z-index: 900; pointer-events: none; }
.npin i { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid #ff3d9a; box-shadow: 0 0 0 6px rgba(255,61,154,.28), 0 0 26px 8px rgba(255,61,154,.75); }
.npin b { position: absolute; left: 18px; top: -16px; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: linear-gradient(90deg, #ff3d9a, #ff8a3d); color: #fff; font: 700 13px/1.2 var(--font); letter-spacing: .01em; box-shadow: 0 6px 24px rgba(255,61,154,.55); }
