/* ZooExo 2.1 · reference page /popugai. Palette and fonts of the live site: black, emerald, turquoise #42C4C1,
   gold-orange #F39221, Playfair Display + Manrope. One bold zone (the living ara), everything else quiet. */
@font-face { font-family: "Playfair Display"; src: url(fonts/playfair-display.ef511129cc.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope.c268b459a9.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --ink: #050908; --ink-2: #08110e; --forest: #0c1d17; --forest-2: #10261e; --emerald: #145440; --emerald-2: #1c785b;
  --turq: #42c4c1; --turq-2: #7ee0dc; --turq-soft: rgba(66, 196, 193, .13); --gold: #f39221; --gold-2: #ffb04d;
  --text: #eef5f1; --muted: #a9bcb4; --dim: #7f948b; --line: rgba(233, 247, 240, .09); --line-2: rgba(233, 247, 240, .16);
  --r-card: 22px; --r-tile: 16px; --r-pill: 999px;
  --wrap: 1280px; --gut: clamp(16px, 4vw, 40px); --sec: clamp(64px, 8vw, 112px);
  --serif: "Playfair Display", Georgia, serif; --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--turq-2); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #111; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.i { width: 20px; height: 20px; flex: none; fill: none; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.06; margin: 0; }
h2 { font-size: clamp(32px, 3.7vw, 54px); }
h3 { font-size: 19px; line-height: 1.3; margin: 0; font-weight: 700; }
p { margin: 0; }

/* buttons: pill shapes for actions, cards are rounder rectangles */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: var(--r-pill);
  border: 1px solid transparent; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s, color .25s; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1a0e02; box-shadow: 0 10px 30px -10px rgba(243, 146, 33, .65); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(243, 146, 33, .8); }
.btn-line { border-color: rgba(66, 196, 193, .55); color: var(--turq-2); background: rgba(5, 9, 8, .35); backdrop-filter: blur(6px); }
.btn-line:hover { background: var(--turq); color: #04201f; border-color: var(--turq); box-shadow: 0 8px 26px -8px rgba(66, 196, 193, .6); }
.btn-ghost { border-color: var(--line-2); background: transparent; color: var(--text); }
.btn-ghost[aria-pressed="true"] { border-color: var(--turq); color: var(--turq-2); }

.prototype-bar { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; align-items: center; padding: 7px var(--gut); background: #13100a; color: #e9d3ad; font-size: 13px; border-bottom: 1px solid rgba(243, 146, 33, .25); }
.prototype-bar a { color: var(--gold-2); font-weight: 700; }
.pb-short { display: none; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(5, 9, 8, .82); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand img { width: 132px; height: auto; border-radius: 8px; }
.main-nav { display: flex; gap: 2px; margin-right: auto; }
.main-nav a { white-space: nowrap; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 600; transition: color .2s, background-color .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--text); background: rgba(255, 255, 255, .05); }
.header-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-phone { text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.msgr { display: flex; gap: 6px; }
.msgr a, .call { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: border-color .2s, transform .2s; }
.msgr a:hover, .call:hover { border-color: var(--turq); transform: translateY(-2px); }
.msgr img { width: 22px; height: 22px; border-radius: 6px; }
.call { display: none; color: var(--turq); }
.fav-open { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; }
.fav-open .i { width: 20px; height: 20px; }
.fav-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: #1a0e02; font-size: 12px; font-weight: 800; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); }
.fav-count.on { transform: scale(1); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero: the living ara fills the frame, words sit on the dark left part of the picture */
.hero { position: relative; min-height: min(calc(100svh - 112px), 880px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.hero-stage { position: absolute; inset: 0; z-index: -1; background: #030605; }
.hero-img, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 0%; }  /* 0%: the crown keeps its air on wide screens (Stage 5.7A) */
.hero-canvas { opacity: 0; transition: opacity .6s; }
@media (min-width: 761px) {  /* the crown keeps 12 px of air in every head pose, also on short and narrow screens (Stage 5.7A) */
  .hero-img, .hero-canvas { top: 26px; height: calc(100% - 26px); -webkit-mask-image: linear-gradient(transparent, #000 6px); mask-image: linear-gradient(transparent, #000 6px); }
}
.hero-canvas.live { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(3, 7, 6, .92) 0%, rgba(3, 7, 6, .7) 30%, rgba(3, 7, 6, .05) 58%, transparent 70%),
  linear-gradient(0deg, var(--ink) 0%, rgba(5, 9, 8, .0) 26%); pointer-events: none; }
.hero-content { position: relative; padding: 40px 0 clamp(40px, 6vw, 72px); }
.hero-content { pointer-events: none; }  /* the bird, its button and bubble stay clickable under the text block */
/* only what can be pressed takes the pointer: the rows of buttons and the breadcrumbs are as wide as the page, and their
   empty width lay over the ara's dialogue and greeting button (Stage 5.7A, found at 2048 px in Chrome) */
.hero-content > * { pointer-events: none; }
.hero-content a, .hero-content button, .hero-content input, .hero-content select, .hero-content label { pointer-events: auto; }
.hero-content h1, .hero-content .hero-lead { pointer-events: none; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--text); }
.hero h1 { font-size: clamp(46px, 5.6vw, 80px); max-width: 9.5em; line-height: .98; text-wrap: balance; }
.hero-lead { max-width: 34em; margin-top: 22px; color: #d3e2dc; font-size: clamp(17px, 1.35vw, 19.5px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-proof { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 26px; }
.hero-proof li { display: flex; gap: 12px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.hero-proof .i { color: var(--turq); margin-top: 2px; }
.hero-proof b { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }
.art-note { position: absolute; right: 18px; bottom: 14px; font-size: 12px; color: rgba(238, 245, 241, .55); }
.hello { position: absolute; left: var(--hello-x, 66%); top: var(--hello-y, 70%); display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(5, 9, 8, .55); backdrop-filter: blur(8px); font-weight: 700; font-size: 14px; transition: background-color .25s, transform .25s var(--ease); }
.hello:hover { background: rgba(66, 196, 193, .25); transform: translateY(-2px); }
.hello-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(243, 146, 33, .7); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(243, 146, 33, 0); } 100% { box-shadow: 0 0 0 0 rgba(243, 146, 33, 0); } }

/* quick choice strip under the hero */
.quick { border-block: 1px solid var(--line); background: var(--ink-2); }
.quick-row { display: flex; align-items: center; gap: 10px; padding-block: 14px; overflow-x: auto; scrollbar-width: none; }
.quick-row::-webkit-scrollbar { display: none; }
.quick-label { color: var(--dim); font-size: 14px; white-space: nowrap; margin-right: 6px; }
.qchip { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; font-weight: 600; font-size: 14.5px; transition: border-color .2s, background-color .2s, color .2s; }
.qchip .i { width: 18px; height: 18px; color: var(--turq); }
.qchip:hover { border-color: var(--turq); background: var(--turq-soft); }

/* section heads */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 60px; align-items: end; margin-bottom: clamp(30px, 4vw, 48px); }
.sec-head p, .groups-head p, .cat-head p { color: var(--muted); max-width: 36em; }

/* groups: pinned horizontal travel on desktop, swipe strip on touch */
.groups { padding-top: var(--sec); overflow: hidden; }
.groups-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 60px; align-items: end; margin-bottom: 36px; }
.g-viewport { overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
.g-viewport::-webkit-scrollbar { display: none; }
.g-track { display: flex; gap: 18px; padding-inline: max(var(--gut), (100vw - var(--wrap)) / 2); width: max-content; }
.g-panel { position: relative; width: clamp(260px, 27vw, 380px); aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--forest); padding: 0; text-align: left; isolation: isolate; scroll-snap-align: start; }
.g-photo { position: absolute; inset: 0; z-index: -1; }
.g-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform .8s var(--ease); }
.g-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 30%, transparent 40%, rgba(4, 9, 7, .55)), linear-gradient(0deg, rgba(4, 9, 7, .94) 0%, rgba(4, 9, 7, .25) 50%, transparent 70%); }
.g-photo img { filter: brightness(.84) saturate(1.06) contrast(1.04); }
.g-progress { height: 2px; margin-top: 22px; background: var(--line); border-radius: 2px; overflow: hidden; }
.g-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--turq), var(--gold)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.g-panel:hover .g-photo img { transform: scale(1.05); }
.g-text { position: absolute; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 4px; }
.g-text b { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.05; }
.g-text small { color: #cfe0d9; font-size: 14.5px; }
.g-text em { font-style: normal; color: var(--turq-2); font-size: 13.5px; }
.g-panel:focus-visible { outline-offset: -4px; }

/* catalogue */
.catalog { padding-top: var(--sec); }
.cat-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 26px; }
.cat-head h2 { margin-bottom: 12px; }
.search { position: relative; flex: 0 1 380px; }
.search .i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.search input { width: 100%; height: 54px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--ink-2); padding: 0 20px 0 50px; font-size: 16px; }
.search input:focus { border-color: var(--turq); outline: none; box-shadow: 0 0 0 4px var(--turq-soft); }
.toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 6px 0 14px; }
.pills, .smart { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pills::-webkit-scrollbar, .smart::-webkit-scrollbar { display: none; }
.pills { -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); padding-right: 40px; }
.pill, .schip { white-space: nowrap; padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; font-weight: 600; font-size: 14.5px; transition: background-color .2s, border-color .2s, color .2s; }
.pill span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.pill:hover, .schip:hover { border-color: var(--turq); }
.pill.is-active { background: var(--turq); border-color: var(--turq); color: #03201e; }
.pill.is-active span { color: #0b3b39; }
.schip[aria-pressed="true"] { background: rgba(243, 146, 33, .16); border-color: var(--gold); color: var(--gold-2); }
.toolbar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.toolbar-row .smart { min-width: 0; flex: 1; }
.sort { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.sort select { height: 42px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--ink-2); padding: 0 14px; }
.status { color: var(--dim); font-size: 14px; margin: 6px 0 18px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.sp-card { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; border-radius: var(--r-card); background: linear-gradient(180deg, var(--forest-2), var(--ink-2) 70%);
  border: 1px solid var(--line); transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), border-color .3s, box-shadow .4s; will-change: transform; }
#grid.is-moving .sp-card { transition: border-color .3s, box-shadow .4s; }  /* GSAP moves the cards: no CSS glide after it */
.sp-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(126, 224, 220, .12), transparent 45%); opacity: 0; transition: opacity .3s; }
.sp-card:hover { border-color: rgba(66, 196, 193, .45); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(66, 196, 193, .12); }
.sp-card:hover::after { opacity: 1; }
.sp-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-card) var(--r-card) 0 0; overflow: hidden; background: #0b1512; }
.sp-media > a { display: block; width: 100%; height: 100%; }
.sp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); filter: saturate(1.05) contrast(1.04); }
.sp-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 60px rgba(3, 8, 6, .45); border-radius: inherit; }
.sp-card:hover .sp-media img { transform: scale(1.07); }
.sp-media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, rgba(6, 12, 10, .7), transparent); pointer-events: none; }
.sp-group { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(5, 9, 8, .7); backdrop-filter: blur(8px); font-size: 13px; font-weight: 700; }
.sp-flag { position: absolute; left: 14px; bottom: 14px; z-index: 1; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(123, 191, 106, .2); border: 1px solid rgba(150, 214, 132, .6); color: #c9f0bc; font-size: 12.5px; font-weight: 700; backdrop-filter: blur(6px); }
.fav { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(5, 9, 8, .6); backdrop-filter: blur(8px); display: grid; place-items: center; color: #fff; transition: transform .2s; }
.fav .i { width: 21px; height: 21px; fill: transparent; transition: fill .2s, color .2s; }
.fav:hover { transform: scale(1.08); }
.fav[aria-pressed="true"] { color: var(--gold); }
.fav[aria-pressed="true"] .i { fill: var(--gold); }
.peek { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: var(--r-pill); border: 0; background: rgba(246, 250, 247, .94); color: #0f1f19; font-weight: 700; font-size: 14px;
  transform: translate(-50%, -30%); opacity: 0; transition: opacity .3s, transform .4s var(--ease); }
.sp-card:hover .peek, .peek:focus-visible { opacity: 1; transform: translate(-50%, -50%); }
.sp-body { display: flex; flex-direction: column; gap: 16px; padding: 20px 22px 22px; flex: 1; }
.sp-name { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.15; }
.sp-name a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.sp-name a:hover { background-size: 100% 1px; }
.sp-traits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 12px; border-radius: var(--r-tile); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: background-color .4s, border-color .4s; }
.sp-card:hover .sp-traits { background: rgba(66, 196, 193, .07); border-color: rgba(66, 196, 193, .3); }
.meter { display: grid; gap: 7px; }
.meter dt { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.meter dt .i { width: 17px; height: 17px; color: var(--turq); transition: transform .3s cubic-bezier(.175, .885, .32, 1.275), filter .3s; }
.meter dd { margin: 0; }
.meter .mv { margin-left: auto; color: var(--text); font-weight: 800; font-size: 13px; }
.dots { display: flex; gap: 4px; }
.dots i { width: 100%; max-width: 16px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.dots i.on { background: var(--turq); }
.meter-noise .dots i.on { background: var(--gold); }
/* the live page's hover life of the trait icons, kept and refined */
.sp-card:hover .meter dt .i { transform: scale(1.18); filter: drop-shadow(0 0 6px rgba(66, 196, 193, .7)); }
.sp-card:hover .meter-talk .w1 { animation: talkDots 1s infinite; }
.sp-card:hover .meter-smart dt .i { animation: brain 1.1s infinite; }
.sp-card:hover .meter-noise dt .i { animation: shake .5s infinite; }
.sp-card:hover .meter-noise .w1 { animation: wave .8s infinite; }
.sp-card:hover .meter-noise .w2 { animation: wave .8s .15s infinite; }
.sp-card:hover .dots i.on { animation: neon 1s infinite alternate; }
.dots i:nth-child(2) { animation-delay: .1s !important; } .dots i:nth-child(3) { animation-delay: .2s !important; }
.dots i:nth-child(4) { animation-delay: .3s !important; } .dots i:nth-child(5) { animation-delay: .4s !important; }
@keyframes talkDots { 50% { opacity: .2; } }
@keyframes brain { 50% { filter: drop-shadow(0 0 10px rgba(126, 224, 220, 1)); transform: scale(1.28); } }
@keyframes shake { 25% { transform: scale(1.18) rotate(-9deg); } 75% { transform: scale(1.18) rotate(9deg); } }
@keyframes wave { 50% { opacity: .15; } }
@keyframes neon { to { box-shadow: 0 0 8px currentColor; filter: brightness(1.35); } }
.sp-traits-none { display: flex; align-items: center; gap: 10px; min-height: 66px; font-size: 14px; color: var(--muted); padding: 12px 14px; border-radius: var(--r-tile); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.sp-traits-none .i { color: var(--turq); width: 22px; height: 22px; }
.sp-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.sp-price { margin-right: auto; font-size: 23px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.sp-price small { display: block; font-size: 12.5px; font-weight: 600; color: var(--dim); letter-spacing: 0; }
.cmp { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid rgba(66, 196, 193, .45); background: transparent; color: var(--turq-2); font-weight: 700; font-size: 14px; transition: background-color .2s, color .2s; }
.cmp .i { width: 18px; height: 18px; }
.cmp:hover { background: var(--turq-soft); }
.cmp[aria-pressed="true"] { background: var(--turq); color: #03201e; border-color: var(--turq); }
.go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #1a0e02; transition: transform .25s var(--ease), box-shadow .25s; }
.go:hover { transform: translateX(3px); box-shadow: 0 8px 22px -8px rgba(243, 146, 33, .9); }
.sp-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-card); display: grid; gap: 12px; justify-items: center; }
.sp-empty p { color: var(--muted); }
.more-row { display: flex; justify-content: center; margin-top: 34px; }
.data-note { margin-top: 26px; font-size: 13.5px; color: var(--dim); max-width: 60em; }

/* compare dock and fly-in thumbnail */
.cmp-dock { position: fixed; z-index: 45; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 14px; border-radius: var(--r-pill); background: rgba(12, 26, 21, .94); border: 1px solid rgba(66, 196, 193, .4); box-shadow: 0 20px 50px -14px #000; backdrop-filter: blur(10px); transition: opacity .25s, transform .25s; }
.cmp-dock.off { opacity: 0; transform: translate(-50%, 20px); pointer-events: none; }
.cmp-thumbs { display: flex; }
.cmp-thumbs img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink-2); margin-left: -10px; }
.cmp-thumbs img:first-child { margin-left: 0; }
#cmp-text { font-weight: 700; font-size: 14px; white-space: nowrap; }
.cmp-clear { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; font-size: 20px; line-height: 1; }
.flyer { position: fixed; z-index: 60; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }

/* dialogs */
.sheet { width: min(980px, 100% - 24px); max-height: min(90vh, 900px); padding: 0; border: 1px solid var(--line-2); border-radius: 26px; background: var(--ink-2); color: var(--text); overflow: auto; }
.sheet::backdrop { background: rgba(2, 5, 4, .72); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheetIn .4s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.sheet-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(5, 9, 8, .7); font-size: 24px; line-height: 1; }
/* minmax(0, …): the square photo takes its width from the row height, so a long name must not widen it */
#peek-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.peek-photo { aspect-ratio: 1; background: #0b1512; }
.peek-photo img { width: 100%; height: 100%; object-fit: cover; }
.peek-info { min-width: 0; padding: 34px 32px; display: flex; flex-direction: column; gap: 18px; }
.peek-info .tag { padding-right: 48px; color: var(--turq-2); font-weight: 700; font-size: 14px; }  /* clear of the close button */
.peek-info h2 { font-size: clamp(30px, 3vw, 42px); }
.peek-info .sp-traits { padding: 16px; }
.peek-price { font-size: 30px; font-weight: 800; }
.peek-price small { display: block; font-size: 13px; color: var(--dim); font-weight: 600; }
.peek-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.peek-note { font-size: 13px; color: var(--dim); }
.sheet-wide { width: min(1100px, 100% - 24px); }
.cmp-wrap { padding: 34px; }
.cmp-wrap h2 { font-size: 36px; margin-bottom: 22px; }
.cmp-scroll { overflow-x: auto; }
.cmp-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table thead img { width: 100%; max-width: 220px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; margin-bottom: 10px; }
.cmp-table thead a { font-family: var(--serif); font-size: 22px; text-decoration: none; }
.cmp-table tbody th { color: var(--muted); font-weight: 600; width: 160px; }
.cmp-best { color: var(--gold-2); font-weight: 800; }
.fav-wrap { padding: 34px; }
.fav-wrap h2 { font-size: 34px; margin-bottom: 18px; }
.fav-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fav-list li { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; border: 1px solid var(--line); }
.fav-list li > * { flex-shrink: 0; }
.fav-list img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.fav-list a { font-weight: 700; text-decoration: none; margin-right: auto; }

/* smart match */
.match { padding-top: var(--sec); }
.match-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; border-radius: 30px; overflow: hidden; border: 1px solid rgba(66, 196, 193, .22); background: linear-gradient(140deg, var(--forest-2), var(--ink-2)); position: relative; }
.match-grid::before { content: ""; position: absolute; width: 140%; aspect-ratio: 1; left: -20%; top: -70%; background: conic-gradient(from 0deg, transparent, rgba(66, 196, 193, .07), transparent 30%); animation: spin 26s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.match-bird { position: relative; min-height: 560px; background: #030605; }
.match-bird canvas, .match-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; }
.match-fallback { object-position: 50% 50%; }  /* the picture is the engine's close-up, centred as the canvas centres it */
.match-bird canvas { opacity: 0; transition: opacity .5s; z-index: 1; }
.match-bird canvas.live { opacity: 1; }
/* the bird itself is a button: a press says a line (the bubble and its «Голос ара» stay above it) */
.mini-bird-tap { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mini-bird-tap:focus-visible { outline: 3px solid var(--turq); outline-offset: -5px; }
.mini-bubble { position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 22px; padding: 16px 18px; border-radius: 20px 20px 20px 6px; background: rgba(246, 250, 247, .96); color: #10201a; }
.mini-bubble p { font-family: var(--serif); font-size: 20px; line-height: 1.3; font-weight: 600; }
.match-card { position: relative; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.match-card h2 { font-size: clamp(30px, 3vw, 44px); }
.match-sub { color: var(--muted); margin-top: 12px; }
.q-progress { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .08); margin: 26px 0 24px; overflow: hidden; }
.q-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--turq), var(--gold)); transition: width .5s var(--ease); box-shadow: 0 0 12px var(--turq); }
.q-step h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin-bottom: 6px; }
.q-step .q-hint { color: var(--dim); font-size: 14.5px; margin-bottom: 18px; }
.q-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.q-opt { text-align: left; padding: 18px; border-radius: var(--r-tile); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); display: grid; gap: 3px; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.q-opt b { font-size: 16.5px; }
.q-opt small { color: var(--muted); font-size: 14px; }
.q-opt:hover { border-color: var(--turq); background: var(--turq-soft); transform: translateY(-2px); }
.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; color: var(--dim); font-size: 14px; }
.q-back { background: none; border: 0; color: var(--turq-2); font-weight: 700; padding: 8px 0; }
.q-results { display: grid; gap: 12px; }
.q-res { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 12px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); }
.q-res img { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; }
.q-res h4 { margin: 0 0 4px; font-family: var(--serif); font-size: 21px; font-weight: 600; }
.q-res h4 a { text-decoration: none; }
.q-res p { font-size: 14px; color: var(--muted); line-height: 1.45; }
.q-res .price { font-weight: 800; white-space: nowrap; }
.q-note { font-size: 13.5px; color: var(--dim); margin-top: 6px; }
.q-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* tame vs wild */
.tame { padding-top: var(--sec); }
.tame-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tame-col { padding: 34px; border-radius: var(--r-card); border: 1px solid var(--line); }
.tame-col h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin-bottom: 20px; }
.tame-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.tame-col li { display: flex; gap: 14px; color: var(--muted); }
.tame-col li b { color: var(--text); }
.tame-col .i { width: 26px; height: 26px; padding: 4px; border-radius: 50%; }
.tame-wild { background: rgba(255, 255, 255, .015); }
.tame-wild .i { color: #e7806b; background: rgba(231, 128, 107, .12); }
.tame-hand { background: linear-gradient(150deg, rgba(20, 84, 64, .55), rgba(10, 20, 17, .6)); border-color: rgba(66, 196, 193, .35); }
.tame-hand .i { color: var(--turq-2); background: var(--turq-soft); }

/* prices: every species on one log scale */
.prices { padding-top: var(--sec); }
.price-table-wrap { margin-top: 40px; }
.price-table-wrap h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin-bottom: 16px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.price-table thead th { color: var(--dim); font-weight: 600; font-size: 14px; }
.price-table tbody th a { font-weight: 700; text-decoration: none; }
.price-table tbody th a:hover { color: var(--turq-2); }
.price-table td:last-child { font-weight: 800; white-space: nowrap; }
.price-table td:nth-child(2) { color: var(--muted); }

/* legal */
.legal { padding-top: var(--sec); }
.legal-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding: clamp(30px, 5vw, 64px); border-radius: 30px; background: radial-gradient(120% 140% at 100% 0%, rgba(28, 120, 91, .45), transparent 55%), var(--forest); border: 1px solid var(--line); overflow: hidden; }
.legal-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 60px; align-items: end; }
.legal-text h2 { grid-row: span 2; }
.legal-text p { color: #cfe0d9; }
.legal-text .btn { justify-self: start; }
.docs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.doc { padding: 26px; border-radius: 20px; background: linear-gradient(160deg, rgba(10, 22, 18, .96), rgba(6, 12, 10, .96)); border: 1px solid rgba(243, 146, 33, .35); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.doc .i { width: 34px; height: 34px; color: var(--gold-2); margin-bottom: 16px; }
.doc h3 { font-size: 18px; margin-bottom: 8px; }
.doc p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* steps */
.steps-sec { padding-top: var(--sec); }
.steps-wrap { position: relative; }
.steps-line { position: absolute; left: 0; right: 0; top: 4px; width: 100%; height: 40px; overflow: visible; }
.steps-line path { fill: none; stroke: var(--turq); stroke-width: 2; stroke-dasharray: 6 8; opacity: .55; vector-effect: non-scaling-stroke; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative; }
.step { padding-top: 64px; }
.step-n { position: absolute; top: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); border: 1px solid var(--turq); color: var(--turq-2); font-weight: 800; font-size: 18px; transition: background-color .4s, color .4s; }
.step.lit .step-n { background: var(--turq); color: #03201e; box-shadow: 0 0 0 6px var(--turq-soft); }
.step h3 { margin-bottom: 8px; font-size: 19px; }
.step p { color: var(--muted); font-size: 15px; }

/* answers for search and AI answers: visible text, not hidden in accordions */
.answers { padding-top: var(--sec); }
.answers-grid { columns: 2 420px; column-gap: 20px; }
.answer { break-inside: avoid; margin-bottom: 20px; padding: 28px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--ink-2); }
.answer:nth-child(4) { background: linear-gradient(140deg, rgba(20, 84, 64, .4), var(--ink-2)); }
.answer h3 { font-family: var(--serif); font-size: 25px; font-weight: 600; margin-bottom: 12px; }
.answer > p { color: #cbdad4; }
.answer-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.answer-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.answer-list a { text-decoration: none; color: var(--turq-2); }
.answer-list a:hover { text-decoration: underline; }
.answer-list span { color: var(--dim); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* care */
.care { padding-top: var(--sec); }
.care-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; padding-block: 10px; }
.care-grid p { color: var(--muted); margin-top: 16px; }
.care-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.care-list li { padding: 18px 22px; border-radius: var(--r-tile); border: 1px solid var(--line); background: var(--ink-2); color: var(--muted); font-size: 15px; }
.care-list b { display: block; color: var(--text); font-size: 17px; margin-bottom: 2px; }

/* guides */
.guides { padding-top: var(--sec); }
.arts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.art { display: flex; flex-direction: column; border-radius: var(--r-tile); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); text-decoration: none; transition: border-color .25s, transform .3s var(--ease); }
.art img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.art span { padding: 14px 16px 0; margin-bottom: 18px; font-weight: 700; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.art:hover { border-color: rgba(66, 196, 193, .45); transform: translateY(-3px); }
.art:hover img { transform: scale(1.05); }
.hubs-title { margin: 44px 0 16px; font-family: var(--serif); font-size: 26px; font-weight: 600; }
.hubs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hubs a { display: inline-block; padding: 10px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); text-decoration: none; font-size: 14.5px; font-weight: 600; transition: border-color .2s, background-color .2s; }
.hubs a:hover { border-color: var(--turq); background: var(--turq-soft); }

/* faq */
.faq { padding-top: var(--sec); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 60px; }
.faq-side { align-self: start; position: sticky; top: 104px; display: grid; gap: 26px; }
.ask { padding: 24px; border-radius: var(--r-card); border: 1px solid rgba(66, 196, 193, .3); background: linear-gradient(150deg, rgba(20, 84, 64, .45), rgba(6, 12, 10, .6)); }
.ask b { font-size: 18px; }
.ask p { color: var(--muted); margin: 8px 0 16px; font-size: 15px; }
.ask-row { display: flex; align-items: center; gap: 10px; }
.ask-m { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); }
.ask-m img { width: 24px; height: 24px; border-radius: 6px; }
/* bands: the lower half alternates grounds so sections read apart */
.band { margin-top: var(--sec); padding-block: var(--sec); background: linear-gradient(180deg, #091511, #0b1a15 60%, #08130f); border-block: 1px solid rgba(66, 196, 193, .08); }
.reviews { padding-top: var(--sec); }
.reviews-box { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 34px 40px; border-radius: var(--r-card); border: 1px solid var(--line); background: radial-gradient(120% 180% at 0% 0%, rgba(243, 146, 33, .1), transparent 50%), var(--ink-2); }
.reviews-box h2 { font-size: clamp(26px, 2.6vw, 36px); }
.reviews-box p { color: var(--muted); margin-top: 10px; max-width: 40em; }
body.has-cmp .catalog { padding-bottom: 96px; }
.cmp-legend { color: var(--muted); font-size: 14px; margin: -10px 0 18px; }
.cmp-table { table-layout: fixed; }
.cmp-table tbody th, .cmp-table thead th:first-child { width: 170px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: 17.5px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; border-right: 2px solid var(--turq); border-bottom: 2px solid var(--turq); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list p { color: var(--muted); padding: 0 0 22px; max-width: 46em; }

/* directory */
.directory { padding-top: var(--sec); }
.dir-cols { columns: 4 240px; column-gap: 40px; }
.dir-group { break-inside: avoid; margin-bottom: 28px; }
.dir-group summary { list-style: none; cursor: pointer; }
.dir-group summary::-webkit-details-marker { display: none; }
.dir-group h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.dir-group h3 small { font-family: var(--sans); color: var(--dim); font-size: 13px; font-weight: 600; margin-left: 4px; }
.dir-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 3px; }
.dir-group a { color: var(--muted); text-decoration: none; font-size: 14.5px; line-height: 1.7; }
.dir-group a:hover { color: var(--turq-2); text-decoration: underline; }

/* seo text */
.seo-text { padding-top: var(--sec); }
.seo-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; padding-top: 50px; border-top: 1px solid var(--line); }
.seo-grid h2 { font-size: clamp(28px, 3vw, 42px); }
.seo-body { display: grid; gap: 16px; color: var(--muted); max-width: 44em; }
.seo-points { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.seo-points b { color: var(--text); }

/* lead */
.lead { padding-block: var(--sec); }
.lead-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 50px; padding: clamp(28px, 5vw, 60px); border-radius: 30px; background: linear-gradient(135deg, rgba(243, 146, 33, .14), rgba(20, 84, 64, .35) 55%, var(--forest)); border: 1px solid rgba(243, 146, 33, .25); }
.lead-grid p { color: #cfe0d9; margin-top: 16px; }
/* minmax(0, …) and min-width 0: a text field is about 20 characters wide by default and must not widen the form */
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.lead-form :is(input, select, textarea) { min-width: 0; max-width: 100%; }
.lead-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.lead-form .wide, .lead-form .btn, .form-note { grid-column: 1 / -1; }
.lead-form input { height: 54px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(5, 9, 8, .6); padding: 0 16px; font-size: 16px; }
.lead-form input:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 4px var(--turq-soft); }
.form-note { font-size: 13px; color: var(--dim); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 50px 0 120px; background: #030605; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.footer-grid p { color: var(--dim); font-size: 14px; margin-top: 14px; max-width: 22em; }
.footer-grid div { display: grid; gap: 8px; align-content: start; }
.footer-grid b { margin-bottom: 4px; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { margin-top: 36px; color: var(--dim); font-size: 13px; }

/* phone dock */
.dock { display: none; }
.toast { position: fixed; z-index: 70; left: 50%; top: 90px; transform: translate(-50%, -20px); padding: 12px 20px; border-radius: var(--r-pill); background: #f5faf7; color: #10201a; font-weight: 700; font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }


@media (max-width: 1440px) and (min-width: 1181px) {
  .header-phone { display: none; }
  .call { display: grid; }
  .header-row { gap: 16px; }
}
/* ---------- tablet ---------- */
@media (max-width: 1180px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 12px var(--gut) 20px; background: rgba(5, 9, 8, .97); border-bottom: 1px solid var(--line); }
  /* the open menu ends at the bottom of the screen and scrolls; it sits above the dock and the cookie notice */
  .main-nav.open { display: flex; max-height: var(--nav-max, 70vh); overflow-y: auto; overscroll-behavior: contain; }
  .site-header:has(.main-nav.open) { z-index: 47; }
  .main-nav a { padding: 12px 8px; font-size: 16px; }
  .burger { display: block; }
  .arts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .docs { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps-line { display: none; }
  .step { padding: 0 0 26px 70px; position: relative; min-height: 70px; }
  .step-n { left: 0; }
  .step::before { content: ""; position: absolute; left: 23px; top: 50px; bottom: 0; width: 2px; background: linear-gradient(var(--turq), transparent); opacity: .4; }
  .step:last-child::before { display: none; }
  .match-grid { grid-template-columns: 1fr; }
  .match-bird { min-height: 380px; }
}
@media (max-width: 900px) {
  .header-phone { display: none; }
  .hello { left: auto !important; right: 18px; top: 18px !important; }
  .reviews-box { flex-direction: column; align-items: flex-start; padding: 26px; }
  .faq-side { position: static; }
  .sec-head, .groups-head, .faq-grid, .seo-grid, .care-grid, .lead-grid { grid-template-columns: 1fr; gap: 16px 30px; }
  .cat-head { flex-direction: column; align-items: stretch; }
  .search { flex-basis: auto; }
  .hero-proof { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .answers-grid { grid-template-columns: 1fr; }
  .tame-grid { grid-template-columns: 1fr; }
}
/* ---------- phone ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-row { min-height: 62px; gap: 10px; }
  .brand img { width: 108px; }
  .header-tools .btn-gold, .msgr { display: none; }
  .call { display: grid; }
  .toolbar { top: 62px; }
  .hero { display: block; min-height: 0; }
  .prototype-bar { font-size: 12px; padding: 5px 12px; gap: 4px 12px; }
  .prototype-bar .pb-long { display: none; }
  .prototype-bar .pb-short { display: inline; }
  /* the phone picture is its own crop with the whole head and room around it (hero() in lab_build_premium.py); the
     stage keeps it from the top, so neither the header nor the frame cuts the crown, the eye or the beak (Stage 5.7A) */
  .hero-stage { position: relative; height: clamp(230px, min(88vw, 46svh), 420px); }
  .hero-img, .hero-canvas { object-position: 50% 0%; }
  .hero-shade { background: linear-gradient(0deg, var(--ink) 0%, rgba(5, 9, 8, 0) 40%), linear-gradient(180deg, rgba(5, 9, 8, .45), transparent 26%); }
  .hero-content { padding: 0 0 34px; margin-top: -54px; }
  .crumbs { margin-bottom: 12px; font-size: 13px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 54px); }
  .hero-lead { margin-top: 14px; font-size: 16px; }
  .hero-cta { margin-top: 20px; display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-cta .btn { min-height: 50px; }
  .hero-cta .btn { width: 100%; }
  .hero-proof li:nth-child(n+2) { display: none; }
  .hello { left: auto !important; right: 12px; top: 12px !important; bottom: auto; font-size: 13px; padding: 9px 14px 9px 10px; }
  .art-note { right: 12px; top: auto; bottom: 62px; font-size: 11px; color: rgba(238, 245, 241, .5); }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .sp-name { font-size: 22px; }
  .peek { opacity: 1; left: auto; right: 12px; top: auto; bottom: 12px; transform: none; padding: 0; width: 44px; height: 44px; justify-content: center; background: rgba(5, 9, 8, .6); color: #fff; backdrop-filter: blur(8px); }
  .sp-card:hover .peek, .peek:focus-visible { transform: none; }
  .peek span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sp-flag { bottom: 12px; }
  .toolbar-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .sort { justify-content: space-between; }
  .g-panel { width: 74vw; }
  .g-viewport { scroll-snap-type: x mandatory; }
  .match-bird { min-height: 300px; }
  .q-opts { grid-template-columns: 1fr; }
  .q-res { grid-template-columns: 72px 1fr; }
  .q-res img { width: 72px; height: 72px; }
  .q-res .price { grid-column: 2; }
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td { border: 0; padding: 2px 0; }
  .price-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
  .price-table td:last-child { grid-row: 1; grid-column: 2; }
  #peek-body { grid-template-columns: 1fr; }
  .peek-photo { aspect-ratio: 4 / 3; }
  .peek-info { padding: 22px; }
  .answer-list { grid-template-columns: 1fr; }
  .arts { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .art { flex: 0 0 62vw; scroll-snap-align: start; }
  .hubs { display: grid; gap: 0; }
  .hubs a { display: block; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 11px 0; }
  .docs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; }
  .doc { flex: 0 0 76vw; scroll-snap-align: start; }
  .legal-text { grid-template-columns: 1fr; }
  .legal-text h2 { grid-row: auto; }
  .tame-col { padding: 24px; }
  .dir-group { margin-bottom: 4px; border-bottom: 1px solid var(--line); }
  .dir-group h3 { margin: 0; padding: 12px 0; font-size: 19px; }
  .dir-group ul { padding-bottom: 12px; }
  .answer { padding: 22px; }
  .answer-list li { padding: 5px 0; font-size: 14.5px; }
  .pb-long { display: none; }
  .dir-cols { columns: 1; }
  .lead-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dock { position: fixed; z-index: 44; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px; border-radius: 20px; background: rgba(10, 22, 18, .95); border: 1px solid var(--line-2); backdrop-filter: blur(12px); transform: translateY(140%); transition: transform .35s var(--ease); }
  .dock.on { transform: none; }
  .dock a, .dock button { position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 52px; border-radius: 14px; border: 0; background: transparent; text-decoration: none; font-size: 12px; font-weight: 700; }
  .dock .i { width: 20px; height: 20px; color: var(--turq); }
  .dock a:first-child { background: var(--gold); color: #1a0e02; }
  .dock a:first-child .i { color: #1a0e02; }
  .dock .fav-count { top: 2px; right: calc(50% - 22px); }
  body.has-cmp .catalog { padding-bottom: 150px; }
  .cmp-dock { bottom: 82px; width: calc(100% - 20px); justify-content: space-between; }
  .site-footer { padding-bottom: 110px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 34px; }
  .hero-stage { height: clamp(220px, min(82vw, 40svh), 300px); }
  .hero .crumbs { display: none; }
  .hero-content { margin-top: -40px; padding-bottom: 26px; }
  .hero-lead { font-size: 15px; line-height: 1.5; margin-top: 10px; }
  .hero-cta { margin-top: 16px; gap: 8px; }
  .hero-cta .btn { min-height: 46px; }
  .sp-traits { padding: 10px; gap: 8px; }
  .meter dt { font-size: 12px; }
  .cmp span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 2.1 hotfix: contextual lead forms, contact sheet, floating buttons, cookie notice ---------- */
:root { --cookie-h: 0px; }
/* card: two equal actions under the price */
.sp-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.sp-acts .cmp { justify-content: center; }
.ask-sp { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid rgba(243, 146, 33, .5); background: rgba(243, 146, 33, .1); color: var(--gold-2); font-weight: 700; font-size: 14px; text-decoration: none; transition: background-color .2s, color .2s; }
.ask-sp .i { width: 18px; height: 18px; }
.ask-sp:hover { background: var(--gold); color: #1a0e02; }
.peek-lead { display: flex; flex-wrap: wrap; gap: 10px; }
.peek-lead .i { width: 18px; height: 18px; }

/* lead dialog */
.sheet-lead { width: min(600px, 100% - 24px); }
.ld { display: grid; gap: 14px; padding: 34px 34px 28px; }
.ld h2 { font-size: clamp(28px, 3vw, 38px); padding-right: 44px; }
.ld h2:focus, .ld-done h3:focus, .contact-wrap h2:focus { outline: none; }
.ld-sub { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.ld-sp { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; margin-right: 44px; padding: 12px; border-radius: 18px; background: rgba(66, 196, 193, .07); border: 1px solid rgba(66, 196, 193, .25); }
.ld-sp img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; }
.ld-sp .tag { display: block; color: var(--turq-2); font-size: 13px; font-weight: 700; }
.ld-sp-name { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.2; }
.ld-sp-name a { text-decoration: none; }
.ld-sp-price { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ld-quiz { padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.ld-quiz ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.ld-quiz li { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: var(--r-pill); background: rgba(66, 196, 193, .1); color: var(--text); font-weight: 700; font-size: 13.5px; }
.ld-quiz img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.ld-form { gap: 12px; }
.lead-form select, .lead-form textarea { width: 100%; min-height: 54px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(5, 9, 8, .6); padding: 0 16px; font-size: 16px; }
.lead-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--turq) 50%), linear-gradient(135deg, var(--turq) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.lead-form select option, .lead-form select optgroup { background: var(--ink-2); color: var(--text); }
.lead-form textarea { min-height: 72px; padding: 12px 16px; line-height: 1.45; resize: vertical; }
.lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 4px var(--turq-soft); }
.lead-form [aria-invalid="true"] { border-color: #ff8c78; box-shadow: 0 0 0 3px rgba(255, 140, 120, .16); }
.f-err { font-style: normal; font-size: 13px; color: #ffa08f; }
.f-err:empty { display: none; }
.f-ch { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.f-ch legend { padding: 0; margin-bottom: 6px; font-size: 14px; color: var(--muted); }
.lead-form .f-ch label { position: relative; display: block; }
.f-ch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.f-ch span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--text); font-weight: 700; font-size: 14px; transition: background-color .2s, border-color .2s, color .2s; }
.f-ch input:checked + span { background: var(--turq); border-color: var(--turq); color: #03201e; }
.f-ch input:focus-visible + span { outline: 2px solid var(--turq-2); outline-offset: 3px; }
.lead-form .f-check { display: grid; grid-template-columns: 22px 1fr; gap: 4px 10px; align-items: start; font-size: 13.5px; line-height: 1.45; }
.f-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); }
.f-check .f-err { grid-column: 2; }
.lead-form .f-check[class] { color: var(--muted); }
.btn:disabled { cursor: progress; }
.btn.is-busy { opacity: .9; }
.btn.is-busy::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ld-done { display: grid; gap: 12px; justify-items: start; }
.ld-done h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.ld-check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--turq); color: #03201e; box-shadow: 0 0 0 10px var(--turq-soft); }
.ld-check .i { width: 34px; height: 34px; }
.ld-proto { font-size: 13.5px; color: var(--dim); }
.ld-done details { width: 100%; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: 14px; }
.ld-done summary { cursor: pointer; color: var(--turq-2); font-weight: 700; }
.ld-payload { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 10px 0 0; font-size: 13.5px; }
.ld-payload dt { color: var(--dim); }
.ld-payload dd { margin: 0; overflow-wrap: anywhere; }

/* contact sheet */
.sheet-contact { width: min(520px, 100% - 24px); }
.contact-wrap { display: grid; gap: 14px; padding: 30px 26px 24px; }
.contact-wrap h2 { font-size: 32px; padding-right: 44px; }
.cd-sub { margin-top: -6px; color: var(--muted); font-size: 15px; }
.grab { display: none; }
.cd-main { display: grid; gap: 8px; }
.cd-act { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); text-align: left; transition: background-color .2s, border-color .2s; }
.cd-act .i { width: 24px; height: 24px; color: var(--turq); }
.cd-act b { display: block; font-size: 16px; }
.cd-act small { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.cd-act:hover { border-color: var(--turq); background: var(--turq-soft); }
.cd-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-color: transparent; color: #1a0e02; }
.cd-gold .i, .cd-gold small { color: #3d2507; }
.cd-gold:hover { background: linear-gradient(180deg, #ffc06b, var(--gold-2)); border-color: transparent; }
.cd-label { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--dim); }
.cd-ch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cd-ch a { display: grid; justify-items: center; gap: 6px; padding: 12px 4px; border-radius: 16px; border: 1px solid var(--line-2); text-decoration: none; text-align: center; font-size: 12.5px; font-weight: 700; transition: border-color .2s, background-color .2s; }
.cd-ch a:hover { border-color: var(--turq); background: var(--turq-soft); }
.cd-ch img { width: 34px; height: 34px; border-radius: 50%; }
.cd-tel { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--emerald-2); }
.cd-tel .i { width: 18px; height: 18px; color: #fff; }

/* floating Telegram (as on the site) and «Наверх»: one column on the right, never on top of each other */
.fab-tg { position: fixed; z-index: 43; right: 24px; bottom: 96px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, #0088cc, #229ed9); box-shadow: 0 6px 22px rgba(0, 136, 204, .45); opacity: 0; transform: translateY(18px) scale(.6); pointer-events: none; transition: opacity .4s var(--ease), transform .55s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s; }
.fab-tg.in { opacity: 1; transform: none; pointer-events: auto; animation: tgPulse 2.4s ease-in-out 1s 3; }
.fab-tg:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 10px 30px rgba(0, 136, 204, .65); animation: none; }
@keyframes tgPulse { 50% { box-shadow: 0 6px 30px rgba(0, 136, 204, .7), 0 0 0 10px rgba(0, 136, 204, .12); } }
.fab-tip { position: absolute; right: calc(100% + 12px); top: 50%; padding: 8px 14px; border-radius: var(--r-pill); background: #f5faf7; color: #10201a; font-size: 13.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 26px -10px #000; opacity: 0; transform: translate(8px, -50%); pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.fab-tg:hover .fab-tip, .fab-tg:focus-visible .fab-tip, .fab-top:hover .fab-tip, .fab-top:focus-visible .fab-tip { opacity: 1; transform: translate(0, -50%); }
.fab-top { position: fixed; z-index: 43; right: 31px; bottom: 28px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(66, 196, 193, .5); background: rgba(10, 22, 18, .92); color: var(--turq-2); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s, background-color .2s, color .2s; }
.fab-top.in { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease), visibility 0s, background-color .2s, color .2s; }
.fab-top:hover { background: var(--turq); color: #03201e; }
.cmp-dock { bottom: calc(22px + var(--cookie-h)); }

/* cookie notice: a card in the left corner on desktop, a strip above everything on a phone */
.cookie { position: fixed; z-index: 46; left: 22px; bottom: 22px; display: grid; gap: 14px; width: min(440px, 100% - 44px); padding: 18px 20px; border-radius: 20px; background: rgba(12, 26, 21, .97); border: 1px solid rgba(66, 196, 193, .35); box-shadow: 0 24px 60px -18px #000; backdrop-filter: blur(10px); opacity: 0; transform: translateY(20px); transition: opacity .35s, transform .35s var(--ease); }
.cookie.in { opacity: 1; transform: none; }
.cookie p { font-size: 14px; color: var(--muted); }
.cookie b { display: block; margin-bottom: 2px; font-size: 15.5px; color: var(--text); }
.cookie-btns { display: flex; gap: 10px; }

@media (max-width: 760px) {
  .sp-acts .cmp span { display: inline; }
  .sheet-lead, .sheet-contact { width: 100%; max-width: 100%; max-height: 92svh; margin: auto 0 0; border-radius: 26px 26px 0 0; border-bottom: 0; }
  .sheet-lead[open], .sheet-contact[open] { animation: sheetUp .42s var(--ease); }
  .grab { display: block; width: 44px; height: 5px; margin: -16px auto 2px; border-radius: 5px; background: var(--line-2); }
  .ld { padding: 26px 18px 22px; }
  .ld-form { grid-template-columns: 1fr; }
  .ld-sp { grid-template-columns: 72px 1fr; gap: 12px; }
  .ld-sp img { width: 72px; height: 72px; }
  .ld-sp-name { font-size: 19px; }
  .contact-wrap { padding: 26px 16px 20px; gap: 12px; }
  .contact-wrap h2 { font-size: 28px; }
  .fab-tg { right: 14px; bottom: calc(16px + var(--cookie-h)); width: 52px; height: 52px; }
  body.dock-on .fab-tg { bottom: calc(88px + var(--cookie-h)); }
  body.has-cmp .fab-tg { bottom: calc(154px + var(--cookie-h)); }
  .fab-top { right: 18px; bottom: calc(80px + var(--cookie-h)); }
  body.dock-on .fab-top { bottom: calc(152px + var(--cookie-h)); }
  body.has-cmp .fab-top { bottom: calc(218px + var(--cookie-h)); }
  .fab-tip { display: none; }
  .dock { bottom: calc(10px + var(--cookie-h)); }
  .cmp-dock { bottom: calc(82px + var(--cookie-h)); }
  .cookie { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 14px 16px; gap: 10px; }
  .cookie-btns .btn { flex: 1; }
}
@keyframes sheetUp { from { transform: translateY(100%); } }
@media (max-width: 360px) {
  .sp-acts { gap: 6px; }
  .sp-acts .cmp, .ask-sp { padding: 0 8px; font-size: 13px; }
  .cd-ch a { font-size: 11.5px; padding: 10px 2px; }
  .contact-wrap { gap: 10px; padding-top: 22px; }
  .contact-wrap h2 { font-size: 24px; }
  .cd-sub { display: none; }
  .cd-act { padding: 10px 14px; gap: 12px; }
  .cd-act small { font-size: 12px; }
}

/* ---------- 2.1 hotfix: quiz with a matching scene and an explained result ---------- */
.q-count { margin-bottom: 6px; color: var(--turq-2); font-size: 13.5px; font-weight: 700; }
.q-step h3:focus, .qr-info h3:focus { outline: none; }
.q-opt.is-on { border-color: var(--gold); background: rgba(243, 146, 33, .12); }
.q-dots { display: flex; gap: 6px; }
.q-dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .14); transition: background-color .3s, width .3s var(--ease); }
.q-dots i.done { background: var(--turq); }
.q-dots i.on { width: 22px; background: var(--gold); }
.q-scan { display: grid; align-content: center; justify-items: start; gap: 16px; min-height: 330px; }
.qs-head { display: flex; align-items: baseline; gap: 12px; }
.qs-n { display: inline-block; font-family: var(--serif); font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums; }
.qs-t { color: var(--muted); font-size: 16px; }
.qs-pool { display: grid; grid-template-columns: repeat(18, minmax(0, 1fr)); gap: 7px; width: 100%; }
.qs-pool i { aspect-ratio: 1; border-radius: 50%; background: var(--turq); box-shadow: 0 0 10px rgba(66, 196, 193, .5); transition: opacity .5s, transform .5s var(--ease), background-color .4s, box-shadow .4s; }
.qs-pool i.out { opacity: .12; transform: scale(.5); box-shadow: none; }
.qs-pool i.win { opacity: 1; transform: scale(1.5); background: var(--gold); box-shadow: 0 0 16px rgba(243, 146, 33, .8); }
.qs-line { min-height: 1.5em; font-size: 15px; }
.q-result { display: grid; gap: 16px; }
.qr-main { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; padding: 14px; border-radius: 22px; border: 1px solid rgba(243, 146, 33, .35); background: linear-gradient(135deg, rgba(243, 146, 33, .08), rgba(66, 196, 193, .05)); }
.qr-photo { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 16px; background: #0b1512; }
.qr-photo img { width: 100%; height: 100%; object-fit: cover; }
.qr-info { display: grid; align-content: start; gap: 8px; }
.qr-info .tag { color: var(--gold-2); font-size: 13px; font-weight: 700; }
.qr-info h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.15; }
.qr-info h3 a { text-decoration: none; }
.qr-score { color: var(--muted); font-size: 14px; }
.qr-score b { color: var(--text); }
.qr-why { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.qr-why li { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; font-weight: 700; }
.qr-why .i { width: 18px; height: 18px; margin-top: 2px; }
.qr-why .ok .i { color: var(--turq); }
.qr-why .no .i { color: #ff9b8a; }
.qr-why small { display: block; color: var(--dim); font-size: 12.5px; font-weight: 500; }
.qr-price { margin-top: 4px; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.qr-price small { display: block; color: var(--dim); font-size: 12.5px; font-weight: 600; }
.qr-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.qr-alt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qr-alt p { grid-column: 1 / -1; color: var(--dim); font-size: 13.5px; font-weight: 700; }
.qr-mini { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); text-align: left; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.qr-mini img { flex: none; width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.qr-mini b { display: block; font-size: 14.5px; line-height: 1.25; }
.qr-mini small { display: block; color: var(--muted); font-size: 12.5px; }
.qr-mini:hover { border-color: var(--turq); background: var(--turq-soft); transform: translateY(-2px); }
.qr-tools { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.qr-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.qr-row > span { min-width: 92px; color: var(--dim); font-size: 13px; font-weight: 700; }
.qr-row .q-back { margin-right: 14px; }
.qr-chip { height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; font-size: 13.5px; font-weight: 700; transition: border-color .2s, background-color .2s, color .2s; }
.qr-chip:hover { border-color: var(--turq); }
.qr-chip.is-on { background: var(--turq); border-color: var(--turq); color: #03201e; }

/* ---------- 2.1 hotfix: price explorer ---------- */
.pe { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.pe-tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 10px; }
.pe-tab { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); text-align: left; transition: border-color .25s, background-color .25s, transform .25s var(--ease); }
.pe-tab-img { grid-row: 1 / 3; width: 52px; height: 52px; overflow: hidden; border-radius: 14px; background: #0b1512; }
.pe-tab-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pe-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.pe-tab b { align-self: end; font-size: 15px; line-height: 1.2; }
.pe-tab small { align-self: start; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.pe-tab small span { display: block; white-space: nowrap; }
.pe-tab:hover { border-color: rgba(66, 196, 193, .6); transform: translateY(-2px); }
.pe-tab:hover img { transform: scale(1.08); }
.pe-tab.is-on { border-color: var(--gold); background: linear-gradient(135deg, rgba(243, 146, 33, .16), rgba(243, 146, 33, .04)); }
.pe-tab.is-on small { color: var(--gold-2); }
.pe-stage { position: relative; padding: 24px 28px 20px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--ink-2); box-shadow: inset 0 1px 0 rgba(66, 196, 193, .18); }
.pe-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; }
.pe-head b { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.pe-head span { color: var(--muted); font-variant-numeric: tabular-nums; }
.pe-scale { --lw: 210px; --rp: 24px; --rh: 40px; position: relative; height: calc(var(--rows) * var(--rh) + 34px); }
.pe.is-group .pe-scale { --lw: 35px; --rp: 35px; }
.pe-row { position: absolute; left: 0; width: 196px; top: calc(var(--row) * var(--rh)); height: var(--rh); display: grid; align-content: center; line-height: 1.15; transition: opacity .35s, transform .45s var(--ease); }
.pe-row b { font-size: 14px; }
.pe-row small { color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }
.pe-rowband { position: absolute; top: calc(var(--row) * var(--rh) + var(--rh) / 2 - 1px); left: calc(210px + (100% - 234px) * var(--a) / 100); width: max(2px, calc((100% - 234px) * (var(--b) - var(--a)) / 100)); height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(66, 196, 193, .3), rgba(243, 146, 33, .5)); transition: opacity .35s; }
.pe.is-group .pe-row, .pe.is-group .pe-rowband { opacity: 0; pointer-events: none; }
.pe.is-group .pe-row { transform: translateX(-20px); }
.pe-band { position: absolute; top: calc(50% - 17px - 2px); left: calc(var(--lw) + (100% - var(--lw) - var(--rp)) * var(--a, 0) / 100); width: calc((100% - var(--lw) - var(--rp)) * (var(--b, 0) - var(--a, 0)) / 100); height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--turq), var(--gold)); box-shadow: 0 0 18px rgba(66, 196, 193, .45); opacity: 0; transition: opacity .4s, left .6s var(--ease), width .6s var(--ease); }
.pe.is-group .pe-band { opacity: .85; }
.pe-tick { position: absolute; bottom: 0; left: calc(var(--lw) + (100% - var(--lw) - var(--rp)) * var(--x) / 100); transform: translateX(-50%); color: var(--dim); font-size: 12px; white-space: nowrap; transition: left .6s var(--ease); }
.pe-tick::before { content: ""; position: absolute; left: 50%; bottom: 22px; width: 1px; height: calc(var(--rows) * var(--rh) + 4px); background: rgba(255, 255, 255, .05); }
.pe-dot { --size: 14px; position: absolute; z-index: 1; left: calc(var(--lw) + (100% - var(--lw) - var(--rp)) * var(--x) / 100); top: calc(var(--row) * var(--rh) + var(--rh) / 2); width: var(--size); height: var(--size); margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2); overflow: hidden; border-radius: 50%; border: 2px solid var(--ink-2); background: var(--turq); transition: left .7s var(--ease) var(--d, 0s), top .7s var(--ease) var(--d, 0s), width .5s var(--ease) var(--d, 0s), height .5s var(--ease) var(--d, 0s), margin .5s var(--ease) var(--d, 0s), opacity .35s, transform .2s, background-color .2s, border-color .2s, box-shadow .2s; }
.pe-dot img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s .3s; }
.pe-dot:hover, .pe-dot:focus-visible, .pe-dot.is-active { z-index: 3; transform: scale(1.5); background: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(243, 146, 33, .45); }
.pe.is-group .pe-dot.on { --size: 46px; top: calc((var(--rows) * var(--rh)) / 2 - 2px + var(--ly, 0) * 54px); border-color: var(--turq); box-shadow: 0 8px 20px -6px #000; }
.pe.is-group .pe-dot.on img { opacity: 1; }
.pe.is-group .pe-dot.on:hover, .pe.is-group .pe-dot.on:focus-visible, .pe.is-group .pe-dot.on.is-active { transform: scale(1.18); border-color: var(--gold); }
.pe-dot.off { opacity: 0; transform: scale(.3); pointer-events: none; }
.pe-pre .pe-dot { left: var(--lw); opacity: 0; }
.pe-card { position: absolute; z-index: 6; display: grid; grid-template-columns: 112px 1fr; gap: 14px; width: 380px; padding: 12px; border-radius: 20px; border: 1px solid rgba(243, 146, 33, .4); background: #0b1813; box-shadow: 0 24px 60px -16px #000; }
.pe-card img { width: 112px; height: 112px; border-radius: 14px; object-fit: cover; }
.pe-card-b { display: grid; align-content: start; gap: 2px; padding-right: 18px; }
.pe-card .tag { color: var(--turq-2); font-size: 12.5px; font-weight: 700; }
.pe-card-n { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.2; }
.pe-card-p { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pe-card-p small { display: block; color: var(--dim); font-size: 12px; font-weight: 600; }
.pe-card-r { color: var(--muted); font-size: 12.5px; }
.pe-card-a { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; grid-column: 1 / -1; }
.pe-card-a .btn { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
.pe-card-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; font-size: 18px; line-height: 1; }
.pe-note { margin-top: 14px; color: var(--dim); font-size: 13px; max-width: 70em; }
.pe-cards { display: none; }
.pe-table caption { caption-side: top; text-align: left; padding-bottom: 12px; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.pe-table td:last-child a { font-weight: 700; }
.pe-ask { color: var(--gold-2); text-decoration: none; }
.pe-ask:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .qr-main { grid-template-columns: 160px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .qr-main { grid-template-columns: 1fr; }
  .qr-photo { aspect-ratio: 4 / 3; }
  .qr-alt { grid-template-columns: 1fr; }
  .qs-pool { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .qs-n { font-size: 52px; }
  .qr-row > span { width: 100%; min-width: 0; }
  .pe-tabs { display: flex; overflow-x: auto; gap: 8px; margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pe-tab { flex: 0 0 auto; width: 176px; scroll-snap-align: start; }
  .pe-stage { padding: 16px 12px 14px; }
  .pe-head b { font-size: 24px; }
  .pe-scale { --lw: 92px; --rp: 12px; --rh: 30px; }
  .pe.is-group .pe-scale { --lw: 20px; --rp: 20px; }
  .pe-row { width: 88px; }
  .pe-row b { font-size: 11.5px; }
  .pe-row small { display: none; }
  .pe-rowband { left: calc(92px + (100% - 104px) * var(--a) / 100); width: max(2px, calc((100% - 104px) * (var(--b) - var(--a)) / 100)); }
  .pe-tick { font-size: 10.5px; }
  .pe-minor { visibility: hidden; }
  .pe-dot { --size: 12px; }
  .pe.is-group .pe-dot.on { --size: 18px; top: calc((var(--rows) * var(--rh)) / 2 - 2px + var(--ly, 0) * 24px); }
  .pe-card { display: none !important; }
  .pe-cards { display: flex; gap: 12px; overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pe-sc { flex: 0 0 74%; display: grid; gap: 6px; align-content: start; padding: 10px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--ink-2); scroll-snap-align: center; text-align: left; }
  .pe-sc img { width: 100%; aspect-ratio: 4 / 3; height: auto; border-radius: 14px; object-fit: cover; }
  .pe-sc b { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.2; }
  .pe-sc b a { text-decoration: none; }
  .pe-sc-price, .pe-sc-group span { font-weight: 800; font-variant-numeric: tabular-nums; }
  .pe-sc small { color: var(--muted); font-size: 12.5px; }
  .pe-sc em { color: var(--gold-2); font-style: normal; font-weight: 700; font-size: 14px; }
  .pe-sc-bar { position: relative; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
  .pe-sc-bar i { position: absolute; top: 50%; left: var(--p); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(243, 146, 33, .7); }
  .pe-sc .btn { margin-top: 4px; }
  .pe-table caption { font-size: 20px; }
  .pe-table tr { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; }
  .price-table.pe-table th, .price-table.pe-table td { grid-column: auto; grid-row: auto; }
  .price-table.pe-table td.pe-c-n { grid-column: 2; grid-row: 1; color: var(--dim); font-weight: 600; }
  .price-table.pe-table td.pe-c-price { grid-column: 1 / -1; grid-row: 2; font-size: 15px; font-weight: 800; color: var(--text); }
  .price-table.pe-table td.pe-c-link { grid-column: 1 / -1; grid-row: 3; font-size: 14px; font-weight: 400; white-space: normal; }
  .price-table.pe-table td.pe-c-link::before { content: "Самый доступный: "; color: var(--dim); }
  .price-table.pe-table.is-species td.pe-c-price { grid-column: 1; }
  .price-table.pe-table.is-species td.pe-c-link { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .price-table.pe-table.is-species td.pe-c-link::before { content: none; }
}

/* ---------- 2.1 hotfix: larger brand, clearer «Поздороваться с ара», section photos ---------- */
.header-row { min-height: 80px; }
.brand { flex: none; }  /* the logo keeps its size; the nav gives way instead */
.brand img { width: 172px; }
@media (min-width: 1181px) {
  /* the larger logo needs the room: the number moves into the call icon's label and tooltip */
  .header-phone { display: none; }
  .call { display: grid; }
  .header-row { gap: 14px; }
  .header-tools { gap: 8px; }
  .main-nav a { padding: 8px 7px; }
}
@media (min-width: 1181px) and (max-width: 1307px) {
  .msgr { display: none; }
  .brand img { width: 150px; }
  .main-nav a { padding: 8px 6px; }
}
.hello { padding: 12px 20px 12px 14px; border: 1px solid rgba(243, 146, 33, .75); background: rgba(5, 12, 10, .82); font-size: 15px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8), 0 0 0 4px rgba(243, 146, 33, .12); }
.hello:hover { background: rgba(243, 146, 33, .22); }
.hello-dot { width: 12px; height: 12px; }
.sec-photo { margin: 0; }
.sec-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; border: 1px solid var(--line-2); }
.sec-photo figcaption { margin-top: 8px; color: var(--dim); font-size: 12.5px; line-height: 1.4; }
.legal-text { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 320px; }
@media (min-width: 1101px) {  /* three columns: «происхождение:» is about 7.6 em wide and has to fit its column, not run into the text */
  .legal-text h2 { font-size: clamp(30px, calc(4.72vw - 22px), 46px); }
}
.legal-photo { grid-column: 3; grid-row: 1 / span 2; align-self: stretch; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.legal-photo picture { min-height: 0; }
.care-grid { grid-template-columns: 280px minmax(0, 1fr) minmax(0, 1fr); gap: 44px; }
.care-photo picture { display: block; aspect-ratio: 1; }
@media (max-width: 1100px) {
  .legal-text { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .legal-photo { grid-column: 1 / -1; grid-row: auto; }
  .legal-photo picture { display: block; aspect-ratio: 16 / 9; }
  .care-grid { grid-template-columns: 220px minmax(0, 1fr); }
  .care-grid .care-list { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .header-row { min-height: 64px; }
  .brand img { width: 128px; }
  .toolbar { top: 64px; }
  .legal-text { grid-template-columns: 1fr; }
  .care-grid { grid-template-columns: 1fr; gap: 22px; }
  .care-photo picture { aspect-ratio: 16 / 10; }
  .hello { font-size: 13.5px; padding: 10px 15px 10px 11px; }
  /* phone: the greeting button sits over the leaves, never over the bird's head */
  .hello { left: 12px !important; right: auto; top: auto !important; bottom: 96px; }
}
@media (max-width: 760px) {
  /* the floating Telegram arrives with the dock, so it never covers the hero buttons */
  body:not(.dock-on) .fab-tg { opacity: 0; transform: translateY(18px) scale(.6); pointer-events: none; }
}
@media (max-width: 360px) {
  .brand img { width: 116px; }
  .prototype-bar { font-size: 11px; padding: 4px 10px; flex-wrap: nowrap; white-space: nowrap; }
  .prototype-bar .pb-short { overflow: hidden; text-overflow: ellipsis; }
}

.pe-sc img { object-fit: cover; }
html:not(.js) img[data-src] { display: none; }

/* ---------- Stage 3: order button, scenario panels, «Куда удобнее ответить?», policy ---------- */
.sp-acts { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.order-sp { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 14px; border-radius: var(--r-pill); background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1a0e02; font-weight: 800; font-size: 14.5px; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 20px -10px rgba(243, 146, 33, .8); transition: transform .2s var(--ease), box-shadow .2s; }
.order-sp .i { width: 18px; height: 18px; }
.order-sp:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(243, 146, 33, .95); }
.sp-acts .cmp { min-height: 46px; height: auto; }
.peek-lead .btn-gold { flex: 1 1 100%; }
.cmp-acts td { vertical-align: top; }
.cmp-acts td .btn { width: 100%; margin-bottom: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* the dialog: a side panel tells the scenarios apart, the form stays short */
.sheet-lead:has(.ld.has-side) { width: min(940px, 100% - 24px); }
.ld.has-side { grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: 0; padding: 0; }
.ld-main { display: grid; gap: 14px; align-content: start; min-width: 0; }
.ld.has-side .ld-main { padding: 34px 34px 28px; }
.ld-side { position: relative; display: grid; align-content: start; gap: 10px; padding: 26px 24px; border-right: 1px solid var(--line); background: linear-gradient(170deg, rgba(20, 84, 64, .35), rgba(5, 9, 8, .2) 60%); border-radius: 26px 0 0 26px; }
.ld-photo { margin: -8px -6px 6px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #0b1512; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .9); }
.ld-photo img { width: 100%; height: 100%; object-fit: cover; }
.ld-chosen { font-size: 13px; color: var(--turq-2); font-weight: 700; }
.ld-side .ld-sp-name { font-size: 24px; }
.ld-perks { display: grid; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 14.5px; }
.ld-perks li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; line-height: 1.4; }
.ld-perks .i { width: 20px; height: 20px; color: var(--turq); margin-top: 1px; }
.ld-side-plain { align-content: center; }
.ld-side-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--turq-soft); border: 1px solid rgba(66, 196, 193, .35); margin-bottom: 6px; }
.ld-side-ico .i { width: 30px; height: 30px; color: var(--turq-2); }
.ld-side-k { font-size: 13px; color: var(--turq-2); font-weight: 700; }
.ld-side-quiz p { font-size: 14.5px; color: var(--muted); }
.ld-recs { display: grid; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.ld-recs li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.ld-recs img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.ld-recs a { font-weight: 700; font-size: 14.5px; text-decoration: none; }
.ld-side-promo { background: radial-gradient(90% 60% at 50% 30%, rgba(17, 78, 62, .7), transparent 75%), linear-gradient(170deg, #061712, #04100c); }
.ld-cage { position: relative; justify-self: center; width: min(100%, 230px); margin-top: 6px; }
.ld-cage img { display: block; width: 100%; height: auto; border-radius: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ld-badge { position: absolute; top: 22px; left: 22px; padding: 8px 14px; border-radius: var(--r-pill); background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1a0e02; font-weight: 900; font-size: 20px; letter-spacing: -.01em; transform: rotate(-6deg); box-shadow: 0 10px 24px -10px rgba(243, 146, 33, .9); }
.ld-side-note { font-size: 12px; color: var(--dim); }
.ld-sp-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 14px; border-radius: 14px; background: rgba(66, 196, 193, .07); border: 1px solid rgba(66, 196, 193, .25); }
.ld-sp-pick select { flex: 1 1 100%; }
.ld-sp-now { font-size: 15px; color: var(--muted); }
.ld-sp-now b { color: var(--text); }
.ld-change { margin-left: auto; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; color: var(--turq-2); font-weight: 700; font-size: 13.5px; }
.ld-change:hover { border-color: var(--turq); }

/* «Куда удобнее ответить?»: five cards, the contact field follows the choice */
.ch-pick { margin: 0; padding: 0; border: 0; min-width: 0; }
.ch-pick legend { padding: 0; margin-bottom: 8px; font-size: 14.5px; font-weight: 700; color: var(--text); }
.ch-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ch-opt { position: relative; display: block; }
.ch-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.ch-card { display: grid; justify-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); text-align: center; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.ch-card img { width: 28px; height: 28px; border-radius: 8px; }
.ch-card b { font-size: 12.5px; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.ch-tel { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--emerald-2); }
.ch-tel .i { width: 16px; height: 16px; color: #fff; }
.ch-opt:hover .ch-card { border-color: rgba(66, 196, 193, .6); }
.ch-opt input:checked + .ch-card { border-color: var(--turq); background: var(--turq-soft); box-shadow: inset 0 0 0 1px var(--turq); transform: translateY(-2px); }
.ch-opt input:focus-visible + .ch-card { outline: 2px solid var(--turq-2); outline-offset: 3px; }
.f-hint { display: block; margin-top: 2px; font-size: 12.5px; color: var(--dim); }
.f-check a, .cd-policy a { color: var(--turq-2); }
.cd-policy { font-size: 12.5px; color: var(--dim); }
.cd-ch { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* footer: every channel and the policy */
.footer-ch { display: flex !important; flex-wrap: wrap; gap: 8px; margin-top: 6px; min-width: 0; }
.footer-ch a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: border-color .2s, transform .2s; }
.footer-ch a:hover { border-color: var(--turq); transform: translateY(-2px); }
.footer-ch img { width: 24px; height: 24px; border-radius: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.footer-bottom span { flex: 1 1 320px; }
.footer-bottom a { color: var(--muted); }
.footer-callback { min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; color: var(--text); font-weight: 700; font-size: 13.5px; }
.footer-callback:hover { border-color: var(--turq); }

/* below 960 px a side column leaves the form too narrow (tablets, laptops at 150-200 % zoom): the picture and perks
   become a compact strip on top and the form takes the full width */
@media (max-width: 960px) {
  .ld.has-side { grid-template-columns: minmax(0, 1fr); }
  .ld.has-side .ld-main { padding: 22px 28px 26px; }
  .ld-side { border-right: 0; border-bottom: 1px solid var(--line); border-radius: 26px 26px 0 0; padding: 18px 64px 16px 20px; gap: 4px; }
  .ld-side-sp { grid-template-columns: 84px 1fr; column-gap: 14px; align-items: center; }
  .ld-side-sp .ld-photo { grid-row: 1 / 4; margin: 0; width: 84px; height: 84px; aspect-ratio: auto; border-radius: 14px; }
  .ld-side-sp .ld-sp-name { font-size: 19px; }
  .ld-side-sp .ld-perks, .ld-side-plain, .ld-side-note { display: none; }
  .ld-side-promo { grid-template-columns: 84px 1fr; column-gap: 14px; align-items: center; }
  .ld-cage { grid-row: 1 / 3; width: 84px; margin: 0; }
  .ld-cage img { border-radius: 12px; }
  .ld-badge { top: 12px; left: 12px; font-size: 15px; padding: 5px 10px; }
  .ld-side-promo .ld-perks { margin: 0; font-size: 13.5px; gap: 4px; }
  .ld-side-quiz { padding-bottom: 12px; }
  .ld-side-quiz .ld-recs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ld-side-quiz .ld-recs li { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 6px 4px; }
  .ld-side-quiz .ld-recs a { font-size: 12.5px; }
}
@media (max-width: 760px) {
  .sheet-lead:has(.ld.has-side) { width: 100%; }
  .ld.has-side .ld-main { padding: 18px 20px 24px; }
  .ch-row { gap: 6px; }
  .ch-card { padding: 10px 2px 8px; }
  .ch-card b { font-size: 11px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom span { flex: none; }  /* in a column the 320px basis became a 320px-tall gap under the copyright line */
}
@media (max-width: 360px) {
  .ch-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-acts { grid-template-columns: 1fr; }
}
.nw { white-space: nowrap; }
.ld-form .f-contact { align-self: start; }

/* Smart Focal: object-position comes from focal.json; a photo whose head touches the frame edge is shown whole */
.sp-media.is-fit > a, .peek-photo.is-fit { position: relative; overflow: hidden; }
.sp-media.is-fit > a::before, .peek-photo.is-fit::before { content: ""; position: absolute; inset: -24px; background: var(--ph) center / cover no-repeat; filter: blur(18px) brightness(.55) saturate(1.1); }
.sp-media.is-fit img, .peek-photo.is-fit img { position: relative; object-fit: contain; }

/* promo (Stage 5): the live site's cage offer around a large aviary. The picture is generated art and says so;
   the -50% is HTML, never baked into the image. Motion lives in premium.js (one entrance, a light that follows
   the pointer); without JS or with reduced motion everything here is simply shown. */
.promo { padding-top: var(--sec); }
.promo-card { position: relative; display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); gap: clamp(32px, 4vw, 56px); align-items: center; padding: clamp(28px, 4.2vw, 60px) clamp(24px, 4.6vw, 68px); border-radius: 34px; border: 1px solid rgba(255, 176, 77, .2); background: radial-gradient(55% 75% at 24% 46%, rgba(17, 78, 62, .85), transparent 72%), radial-gradient(40% 50% at 92% 8%, rgba(243, 146, 33, .12), transparent 70%), linear-gradient(150deg, #04100c, #061712 55%, #082119); box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 214, 160, .08); overflow: hidden; isolation: isolate; }
.promo-art { margin: 0; display: grid; gap: 12px; justify-items: center; }
.promo-stage { position: relative; width: min(100%, 520px); }
.promo-stage picture { display: block; border-radius: 26px; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.promo-img { display: block; width: 100%; height: auto; border-radius: 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent); mask-composite: intersect; }
.promo-light { position: absolute; inset: 0; border-radius: 26px; pointer-events: none; opacity: var(--lo, 0); transition: opacity .5s var(--ease); background: radial-gradient(42% 32% at var(--mx, 40%) var(--my, 30%), rgba(255, 222, 170, .2), transparent 70%); mix-blend-mode: screen; }
.promo-seal { position: absolute; z-index: 2; top: -10px; left: -10px; width: clamp(96px, 9vw, 124px); aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 2px; padding: 10px; border-radius: 50%; text-align: center; color: #1a0e02; background: radial-gradient(circle at 32% 28%, #ffd08a, var(--gold-2) 38%, var(--gold) 72%, #c96d0c); box-shadow: 0 18px 36px -14px rgba(243, 146, 33, .95), inset 0 -4px 10px rgba(120, 50, 0, .35), inset 0 3px 6px rgba(255, 240, 210, .55); transform: rotate(-10deg); overflow: hidden; }
.promo-seal b { font-size: clamp(30px, 2.9vw, 40px); font-weight: 900; line-height: .95; letter-spacing: -.03em; }
.promo-seal span { white-space: nowrap; font-size: clamp(10.5px, .85vw, 12px); font-weight: 800; line-height: 1.15; }
.promo-seal::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .7) 50%, transparent 60%); transform: translateX(-70%); pointer-events: none; }
.promo-seal.is-shine::after { animation: promo-shine 1.1s .15s var(--ease) both; }
@keyframes promo-shine { to { transform: translateX(70%); } }
.promo-spot { position: absolute; z-index: 1; display: none; align-items: center; gap: 8px; pointer-events: none; }
.promo-spot i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--turq-2); box-shadow: 0 0 0 4px rgba(126, 224, 220, .22), 0 0 18px rgba(126, 224, 220, .7); }
.promo-spot em { padding: 5px 10px; border-radius: var(--r-pill); background: rgba(4, 16, 12, .86); border: 1px solid rgba(126, 224, 220, .35); color: var(--text); font-size: 12.5px; font-weight: 700; font-style: normal; line-height: 1.2; white-space: nowrap; opacity: 0; transform: translateX(-4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.promo-spot-lock { left: calc(32.9% - 7px); top: calc(43.5% - 7px); }
.promo-spot-hinge { right: calc(7.1% - 7px); top: calc(22.4% - 7px); flex-direction: row-reverse; }
.promo-spot-bowl { right: calc(17.8% - 7px); top: calc(48.6% - 7px); flex-direction: row-reverse; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .promo-spot { display: flex; opacity: 0; transition: opacity .35s var(--ease); }
  .promo-stage:hover .promo-spot { opacity: 1; }
  .promo-stage:hover .promo-spot em { opacity: 1; transform: none; }
  .promo-stage:hover .promo-spot-bowl em { transition-delay: .06s; }
  .promo-stage:hover .promo-spot-hinge em { transition-delay: .12s; }
}
.promo-art figcaption { max-width: 44ch; font-size: 12.5px; line-height: 1.45; color: var(--dim); text-align: center; }
.promo-k { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--gold-2); font-weight: 700; font-size: 15px; }
.promo-k .i { width: 20px; height: 20px; }
.promo-body h2 { margin: 0 0 16px; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; }
.promo-lead { margin: 0 0 24px; color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; max-width: 52ch; }
.promo-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.promo-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 18px; background: linear-gradient(90deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.4; }
.promo-list li b { display: block; margin-bottom: 2px; color: var(--text); font-size: 16.5px; }
.promo-li-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(243, 146, 33, .13); border: 1px solid rgba(255, 176, 77, .25); color: var(--gold-2); }
.promo-li-ico .i { width: 22px; height: 22px; }
.promo-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.promo-acts .btn { padding: 0 20px; }
.promo-cta { position: relative; overflow: hidden; }
.promo-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-110%); transition: transform .8s var(--ease); pointer-events: none; }
.promo-cta:hover::after, .promo-cta:focus-visible::after { transform: translateX(110%); }
.promo-note { margin: 14px 0 0; color: var(--dim); font-size: 14px; }
.promo-terms { margin-top: 10px; border-top: 1px solid var(--line); }
.promo-terms summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; cursor: pointer; color: var(--turq-2); font-weight: 700; list-style: none; }
.promo-terms summary::-webkit-details-marker { display: none; }
.promo-terms summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); }
.promo-terms[open] summary::after { transform: translateY(2px) rotate(225deg); }
.promo-terms-body { display: grid; gap: 8px; padding: 0 0 6px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.promo-terms-body p { margin: 0; }
.promo-terms[open] .promo-terms-body { animation: promo-terms .35s var(--ease); }
@keyframes promo-terms { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 1040px) {
  .promo-card { grid-template-columns: 1fr; gap: 28px; }
  .promo-stage { width: min(100%, 440px); }
}
@media (max-width: 760px) {
  .promo-card { padding: 22px 18px 24px; border-radius: 28px; gap: 22px; }
  .promo-stage { width: min(100%, 400px); }
  .promo-seal { top: -6px; left: -4px; width: 92px; padding: 8px; }
  .promo-seal b { font-size: 29px; }
  .promo-seal span { font-size: 10.5px; }
  .promo-body h2 { font-size: clamp(30px, 8.4vw, 38px); }
  .promo-list li { grid-template-columns: 40px 1fr; gap: 12px; padding: 11px 12px 11px 10px; font-size: 14.5px; }
  .promo-list li b { font-size: 15.5px; }
  .promo-li-ico { width: 40px; height: 40px; border-radius: 12px; }
  .promo-acts .btn { width: 100%; padding: 8px 16px; font-size: 15.5px; line-height: 1.25; text-align: center; }
}
@media (max-width: 380px) {
  .ld-side-promo .ld-perks li:nth-child(n+2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-stage picture, .promo-light, .promo-cta::after { transition: none; }
  .promo-seal.is-shine::after, .promo-terms[open] .promo-terms-body { animation: none; }
}

/* «чем отличаются»: a plain HTML table, scrolls sideways on phones */
.vs { padding-top: var(--sec); }
.vs-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.vs-table { margin: 0; min-width: 820px; }
.vs-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vs-table th[scope="row"] { font-weight: 800; white-space: nowrap; }
.vs-table td.vs-links { white-space: normal; font-weight: 700; }
.vs-table .vs-links a { display: block; color: var(--turq-2); }
.vs-table .vs-links small { display: block; font-size: 12.5px; color: var(--dim); }
.vs-table .vs-links small + a, .vs-table .vs-links a + a { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.cmp-na { color: var(--dim); }
.vs-note { margin: 14px 0 0; color: var(--dim); font-size: 14px; max-width: 80ch; }
.seo-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 10px; }
.seo-cols h3 { margin: 0 0 6px; font-size: 18px; }
.seo-cols p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .seo-cols { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .vs-wrap { overflow: visible; border: 0; border-radius: 0; }
  .vs-table { min-width: 0; }
  .vs-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vs-table, .vs-table tbody, .vs-table tr, .vs-table th, .vs-table td { display: block; width: auto; }
  .vs-table tbody { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .vs-table tr { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .025); }
  .vs-table th[scope="row"] { grid-column: 1 / -1; padding: 0; border: 0; font-size: 19px; }
  .vs-table td, .vs-table td:nth-child(2), .vs-table td:last-child { grid-row: auto; grid-column: auto; padding: 0; border: 0; font-size: 15px; color: var(--text); }
  .vs-table td[data-l]::before { content: attr(data-l); display: block; font-size: 12.5px; color: var(--dim); }
  .vs-table td.vs-links { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--line); }
}

/* critique fixes, Stage 3 */
/* fields of a row start at the top: hints and errors grow downwards, neighbours do not jump */
.lead-form, .ld-form { align-items: start; }
/* visible focus on every button and on fields */
.btn:focus-visible, .order-sp:focus-visible, .ld-change:focus-visible, .footer-callback:focus-visible { outline: 3px solid var(--turq-2); outline-offset: 3px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { box-shadow: 0 0 0 3px rgba(126, 224, 220, .55); }
.cookie a { color: var(--turq-2); white-space: nowrap; }
/* channel cards never break a word */
.ch-card b { overflow-wrap: normal; white-space: nowrap; }
.ch-card img, .ch-tel { flex-shrink: 0; min-width: 28px; }
@media (max-width: 480px) {
  .ch-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ch-opt { grid-column: span 2; }
  .ch-opt:nth-child(4), .ch-opt:nth-child(5) { grid-column: span 3; }
  .ch-card { grid-template-columns: auto auto; justify-content: center; align-items: center; padding: 10px 6px; }
  .ch-card b { font-size: 12.5px; }
}
@media (max-width: 400px) {
  /* icon beside «WhatsApp» needs 107px, a third of the row at 320 is 89px: the icon goes above the name */
  .ch-card { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 4px; padding: 9px 4px 8px; }
  .ch-card img, .ch-tel { width: 24px; height: 24px; min-width: 24px; }
  .ld-side-quiz .ld-recs li { padding: 6px 2px; }
  .ld-side-quiz .ld-recs a { font-size: 11.5px; }  /* «Волнистый» stays one word in a third of 320 */
}
@media (max-width: 420px) {
  /* «Связаться»: «ВКонтакте» is 66px, a fifth of the sheet below 420 is less, so three and two in a row */
  .cd-ch { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cd-ch a { grid-column: span 2; }
  .cd-ch a:nth-child(4), .cd-ch a:nth-child(5) { grid-column: span 3; }
}
@media (max-width: 760px) {
  /* the dock stays clear of the footer; Telegram and «Наверх» step aside while scrolling down */
  body.dock-on { padding-bottom: 84px; }
  .fab-tg, .fab-top { transition: opacity .25s, transform .25s var(--ease), visibility 0s; }
  body.scroll-down .fab-tg, body.scroll-down .fab-top { opacity: 0; transform: translateY(14px) scale(.8); pointer-events: none; }
  /* one bird in the order form is named once: the side strip shows it, the picker keeps only «Изменить» */
  .ld.has-side .ld-sp-pick { padding: 0; border: 0; background: none; }
  .ld.has-side .ld-sp-now { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ld.has-side .ld-change { margin-left: 0; }
  /* the submit button stays reachable while the form scrolls */
  .ld-form button[type=submit] { position: sticky; bottom: 10px; z-index: 2; box-shadow: 0 -10px 24px 6px rgba(5, 9, 8, .85), 0 10px 30px -10px rgba(243, 146, 33, .65); }
  /* a focused field scrolls clear of that button, not under it (the promo forms are taller since Stage 5) */
  .sheet-lead { scroll-padding-bottom: 128px; }  /* the button can wrap to two lines at 320 */
  /* compare: every species in its own narrow column, row names above the values */
  .cmp-wrap { padding: 24px 14px; }
  .cmp-wrap h2 { font-size: 26px; }
  .cmp-scroll { overflow: visible; }
  .cmp-table { min-width: 0; table-layout: auto; }
  .cmp-table thead tr, .cmp-table tbody tr { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 0 10px; }
  .cmp-table th, .cmp-table td { display: block; padding: 6px 0; border: 0; font-size: 14px; }
  .cmp-table thead th:first-child { display: none; }
  .cmp-table thead img { border-radius: 10px; margin-bottom: 6px; }
  .cmp-table thead a { font-size: clamp(13px, 4.1vw, 15px); line-height: 1.2; overflow-wrap: break-word; hyphens: auto; }  /* «бурохвостый» fits a third of 320 whole */
  .cmp-table tbody th[scope="row"] { grid-column: 1 / -1; width: auto; padding: 10px 0 0; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
  .cmp-table tr.cmp-acts th { display: none; }
  .cmp-acts td .btn { min-height: 42px; padding: 0 8px; font-size: 13px; white-space: normal; line-height: 1.15; text-align: center; }
}

/* AI illustrations of a species: a quiet label on the picture, a word next to small thumbnails */
.peek-photo, .qr-photo, .pe-sc { position: relative; }
.ill-tag { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(5, 9, 8, .72); border: 1px solid rgba(255, 255, 255, .18); color: #e9f1ec; font-size: 12px; font-weight: 600; line-height: 1.3; backdrop-filter: blur(6px); pointer-events: none; }
.pe-sc .ill-tag { top: 18px; right: 18px; bottom: auto; }
.ill-note { display: block; margin-top: 2px; color: var(--dim); font-size: 12px; font-weight: 500; }
.fav-list .fav-n { display: grid; margin-right: auto; flex: 1 1 0; min-width: 0; overflow-wrap: break-word; }  /* a long name wraps, «Убрать» stays inside */
.fav-list .fav-n a { margin-right: 0; }
/* narrow phones: the price and «Убрать» go under the name instead of past the edge */
@media (max-width: 480px) {
  .fav-wrap { padding: 26px 18px; }
  .fav-wrap h2 { padding-right: 48px; font-size: 30px; }
  .fav-list { grid-template-columns: minmax(0, 1fr); }
  .fav-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; align-items: center; }
  .fav-list img { grid-row: 1 / 3; width: 56px; height: 56px; }
  .fav-list .fav-n { grid-column: 2 / 4; }
  .fav-list li > span:not(.fav-n) { grid-column: 2; font-weight: 700; }
  .fav-list li > .cmp { grid-column: 3; }
}

/* «Кнопки снизу» (focal.json "ui": "low", set per species in the Focal Editor): for a photo whose head is at the top,
   the group label and the heart move to the bottom corners and the top of the frame stays clear. The owner's point is not touched. */
.sp-media.ui-low .sp-group { top: auto; bottom: 14px; }
.sp-media.ui-low:has(.sp-flag) .sp-group { bottom: 52px; }
.sp-media.ui-low .fav { top: auto; bottom: 12px; }
.sp-media.ui-low .ill-tag { bottom: 64px; }
@media (max-width: 760px) {
  .sp-media .ill-tag { bottom: 64px; }  /* a phone shows the eye button in that corner; the note sits just above it */
  .sp-media.ui-low .peek { right: 64px; }
  .sp-media.ui-low:has(.sp-flag) .sp-group { bottom: 50px; }
}
/* «Без названия группы на фото» (focal.json "ui": "bare"): the head fills the top and the body the bottom, the free
   corners are too narrow for the name. It is not drawn on the photo but stays in the card for screen readers. */
.sp-media.ui-bare .sp-group { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* the narrowest phones: a long group name («Экзотика средних размеров») would run under the eye button, so it wraps
   inside the space left of the two buttons instead (short names stay on one line) */
@media (max-width: 360px) {
  .sp-media.ui-low:not(:has(.sp-flag)) .sp-group { max-width: calc(100% - 130px); border-radius: 14px; line-height: 1.3; }
  .sp-media.ui-low:has(.sp-flag) .sp-group { bottom: 62px; }  /* stacked over «Для новичка», clear of the button row */
}

/* ---------- Stage 5.7: the talking ara's dialogue, its voice controls, the preview badge, the compact cookie strip ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* tablets and short landscape screens: the bird moves right, away from the heading (the picture is wider than the stage there) */
@media (min-width: 761px) and (max-width: 1280px) and (min-aspect-ratio: 5/4) {
  .hero-img, .hero-canvas { object-position: 10% 0%; }
}
@media (min-width: 761px) and (max-aspect-ratio: 5/4) {  /* upright tablets: the head stands clear of the heading */
  .hero-img, .hero-canvas { object-position: 40% 0%; }
}
/* the cookie notice: bottom right on a computer, clear of the hero buttons and of the Telegram button */
@media (min-width: 761px) {  /* one low card: the words on the left, the two choices on the right */
  .cookie { left: auto; right: 96px; width: min(640px, 100% - 120px); grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 12px 14px 12px 18px; border-radius: 18px; }
  .cookie p { font-size: 13.5px; line-height: 1.45; }
  .cookie b { font-size: 14.5px; }
  .cookie-btns .btn { min-height: 42px; padding: 0 18px; }
}
@media (min-width: 761px) and (max-height: 520px) {  /* a phone on its side: the short one-line notice and prototype line */
  .prototype-bar .pb-long { display: none; }
  .prototype-bar .pb-short { display: inline; }
  .cookie { left: 12px; right: auto; width: min(480px, 56vw); padding: 8px 8px 8px 14px; gap: 10px; }
  .cookie p { font-size: 12.5px; line-height: 1.35; }
  .cookie .ck-long, .cookie .ck-pol { display: none; }
  .cookie-btns .btn { min-height: 38px; padding: 0 12px; font-size: 13.5px; }
}
.hello .i { width: 17px; height: 17px; margin-left: 2px; color: var(--gold-2); }
/* the dialogue: emerald glass beside the head, never on it; placed by placeBubble() in premium.js, measured */
.bubble { position: absolute; left: var(--bx, 4vw); top: var(--by, 28px); width: var(--bw, 460px); max-width: calc(100vw - 32px); z-index: 3;
  padding: 14px 16px 12px 20px; border-radius: 22px; color: var(--text);
  background: linear-gradient(160deg, rgba(14, 44, 37, .9), rgba(6, 20, 16, .92)); border: 1px solid rgba(126, 224, 220, .32);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.bubble.show { opacity: 1; transform: none; }
.bubble[data-tail]:not([data-tail=""])::after { content: ""; position: absolute; top: 34px; width: 16px; height: 16px; background: rgba(12, 38, 32, .95);
  border: solid rgba(126, 224, 220, .32); border-width: 1px 1px 0 0; }
.bubble[data-tail="r"]::after { right: -9px; transform: rotate(45deg); }
.bubble[data-tail="l"]::after { left: -9px; transform: rotate(-135deg); }
.bubble[data-place="dock"] { position: fixed; left: var(--dx, 16px); top: var(--dy, 96px); width: var(--bw, 400px); z-index: 45; }
.bubble-say { font-family: var(--serif); font-size: 21px; line-height: 1.27; font-weight: 600; padding-right: 30px; text-wrap: pretty; }
.bubble-say .tbs, .mini-bubble .tbs, .ara-pill .tbs { opacity: .38; }
.bubble .btn-ghost { color: var(--text); border-color: rgba(238, 245, 241, .28); }
.bubble .btn-ghost:hover { border-color: var(--turq); color: var(--turq-2); }
.bubble-note { margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: #ffcf9a; }
.bubble-x { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.bubble-x:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
/* Stage 5.8: the card has one control, «Остановить», and only while the line sounds */
.bubble-stop { display: inline-flex; align-items: center; gap: 9px; margin-top: 10px; min-height: 40px; padding: 0 16px 0 13px; border-radius: var(--r-pill);
  border: 1px solid rgba(243, 146, 33, .7); background: rgba(243, 146, 33, .12); color: var(--text); font: 700 14px/1 var(--sans); cursor: pointer; }
.bubble-stop[hidden] { display: none; }
.bubble-stop span { width: 11px; height: 11px; border-radius: 2px; background: var(--gold); }
.bubble-stop:hover { background: rgba(243, 146, 33, .24); }
.bubble-stop:focus-visible, .bubble-x:focus-visible { outline: 3px solid var(--turq-2); outline-offset: 2px; }
/* «Поздороваться с ара»: one target over its whole surface (the words and the icon never take the press), a pressed state,
   a visible focus; while the bird talks it stays pressable and its dot pulses (a press waits its turn) */
.hello > * { pointer-events: none; }
.hello { min-height: 44px; }
.hello.compact { min-height: 0; }
.hello:active { transform: scale(.96); background: rgba(243, 146, 33, .32); }
.hello:focus-visible { outline: 3px solid var(--turq-2); outline-offset: 3px; }
.hello[data-state="talking"] .hello-dot { animation: hellotalk .42s ease-in-out infinite alternate; }
.hello[data-state="loading"] .hello-dot { background: transparent; border: 2px solid var(--gold); border-right-color: transparent; animation: vbspin .8s linear infinite; }
@keyframes hellotalk { from { transform: scale(.7); } to { transform: scale(1.25); box-shadow: 0 0 0 5px rgba(243, 146, 33, .25); } }
@keyframes vbspin { to { transform: rotate(1turn); } }
@keyframes vbcall { 50% { box-shadow: 0 0 0 8px rgba(243, 146, 33, .22); } }
/* phone: the dialogue is a strip between the bird and the heading; the text block steps down while it is open */
@media (max-width: 760px) {
  .hero > .bubble { position: relative; left: auto; top: auto; width: auto; max-width: none; margin: -34px 12px 0; padding: 14px 14px 12px 16px; border-radius: 20px; }
  .hero > .bubble::after { display: none; }
  .hero.talking-strip .hero-content { margin-top: 16px; }
  .bubble-say { font-size: 18px; padding-right: 30px; }
  .bubble-stop { min-height: 44px; margin-top: 12px; }
}
/* the quiz bird's voice switch */
.mini-voice { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; min-height: 36px; padding: 0 14px 0 10px; border-radius: var(--r-pill);
  border: 1px solid rgba(16, 32, 26, .25); background: transparent; color: #10201a; font: 700 13.5px/1 var(--sans); cursor: pointer; }
.mini-voice .i { width: 16px; height: 16px; }
.mini-voice[aria-pressed="true"] { background: #0b6b68; border-color: #0b6b68; color: #fff; }
.mini-voice[aria-pressed="true"] span::after { content: ": вкл"; }
/* a line said while its bird is off screen (the catalogue): a small pill at the bottom, with a stop button */
.ara-pill { position: fixed; z-index: 44; left: 50%; bottom: calc(22px + var(--cookie-h)); display: flex; align-items: center; gap: 12px; width: max-content; max-width: min(560px, calc(100vw - 24px));
  padding: 10px 10px 10px 16px; border-radius: var(--r-pill); background: rgba(10, 32, 27, .94); border: 1px solid rgba(126, 224, 220, .35); color: var(--text);
  box-shadow: 0 18px 50px -16px #000; backdrop-filter: blur(12px); opacity: 0; transform: translate(-50%, 12px); transition: opacity .3s, transform .35s var(--ease); }
.ara-pill.show { opacity: 1; transform: translate(-50%, 0); }
.ara-pill p { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.3; }
.ap-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; animation: ping 2.4s infinite; }
.ara-pill button { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(238, 245, 241, .3); background: transparent; display: grid; place-items: center; cursor: pointer; }
.ara-pill button span { width: 12px; height: 12px; border-radius: 2px; background: var(--text); }
@media (max-width: 760px) { .ara-pill { bottom: calc(84px + var(--cookie-h)); } }
/* the preview site's «Предпросмотр 2.0» badge (added by its gate, not by this page) is a small chip under the breadcrumbs, covering nothing */
.zxp-badge.in-flow { position: static !important; display: inline-flex !important; margin: 0 0 22px !important; max-width: 100% !important; padding: 3px 3px 3px 10px !important; font-size: 12px !important; box-shadow: none !important; }
.zxp-badge.in-flow a { padding: 4px 9px !important; }
/* cookie notice on a phone: one compact strip, the words and both choices in two short rows */
@media (max-width: 760px) {
  .cookie { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 16px; }
  .cookie p { font-size: 12.5px; line-height: 1.35; }
  .cookie b { display: block; margin: 0; font-size: 13px; }
  .cookie .ck-long, .cookie .ck-pol { display: none; }
  .cookie-btns { gap: 6px; }
  .cookie-btns .btn { flex: none; min-height: 40px; padding: 0 12px; font-size: 13.5px; }
  /* the hidden dock slid down but showed its top over a tall cookie notice: hidden for real until it is called */
  .dock { visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
  .dock.on { visibility: visible; transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) {
  .bubble, .ara-pill { transition: opacity .2s; }
  .bubble, .bubble.show { transform: none; }
  .hello[data-state] .hello-dot { animation: none; }
  .hello:active { transform: none; }
}
/* a phone on its side: the dialogue is one low row under the heading (data-place="bar", premium.js) */
.bubble[data-place="bar"] { position: fixed; left: var(--dx, 16px); top: var(--dy, auto); width: var(--bw, 480px); z-index: 45; display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center; gap: 8px; padding: 8px 6px 8px 16px; border-radius: 18px; }
.bubble[data-place="bar"] .bubble-say { font-size: 15.5px; line-height: 1.25; padding-right: 0; }
.bubble[data-place="bar"] .bubble-stop { margin: 0; }
.bubble[data-place="bar"] .bubble-x { position: static; }
/* the slim status between the header and the breadcrumbs (a phone on its side): one line, small controls */
.bubble[data-place="bar"][data-slim] { gap: 6px; padding: 2px 2px 2px 14px; border-radius: 14px; }
.bubble[data-slim] .bubble-say { font: 600 14px/1.25 var(--sans); }
.bubble[data-slim] .bubble-stop { position: relative; width: 28px; min-height: 28px; padding: 0; justify-content: center; font-size: 0; }  /* the square stop sign; its name stays for screen readers */
.bubble[data-slim] .bubble-stop span { width: 9px; height: 9px; }
.bubble[data-slim] .bubble-x { width: 28px; height: 28px; font-size: 20px; }
.bubble[data-place="bar"] .bubble-note { grid-column: 1 / -1; margin: 0; }
/* the cookie notice waits while the ara's dialogue is open on a phone (premium.js yieldCookie) */
body.ara-yield { --cookie-h: 0px; }
body.ara-yield .cookie { visibility: hidden; opacity: 0; }
/* a computer, top of the page (the «up» button not shown yet): the Telegram button sits in the corner, beside the cookie notice,
   and leaves the room under the bird's head to the dialogue */
@media (min-width: 761px) {
  body:has(.fab-top:not(.in)) .fab-tg { bottom: 28px; }
}
/* «Поздороваться» placed by premium.js placeHello(): on the bird's chest where there is room, clear of the head and the text */
.hello.placed { left: var(--hello-x) !important; top: var(--hello-y) !important; right: auto !important; bottom: auto !important; }
/* a phone on its side or a large zoom takes the wide picture: it starts 20 px into the stage, the crown keeps its air */
@media (max-width: 760px) and (min-aspect-ratio: 1/1) {
  .hero-img, .hero-canvas { top: 20px; height: calc(100% - 20px); -webkit-mask-image: linear-gradient(transparent, #000 6px); mask-image: linear-gradient(transparent, #000 6px); }
}
.hello.compact { gap: 0; width: 48px; height: 48px; padding: 0; justify-content: center; }
.hello.compact .hello-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hello.compact .hello-dot { position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; }
.hello.compact .i { margin: 0; width: 20px; height: 20px; }
/* a narrow row: the words on top, «Остановить» and the close button under them */
.bubble[data-place="bar"][data-narrow] { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; padding: 10px 8px 8px 16px; }
.bubble[data-place="bar"][data-narrow] .bubble-say { grid-column: 1 / -1; }
/* a phone on its side: the floating Telegram button comes with the dock, as on a phone (the bird's head fills the right side) */
@media (min-width: 761px) and (max-height: 520px) {
  body:not(.dock-on) .fab-tg { opacity: 0; transform: translateY(18px) scale(.6); pointer-events: none; }
}
/* ---------- Stage 5.8: the phone header keeps WhatsApp, Telegram and MAX in sight; the phone number and favourites
   move into the menu (nothing is removed); the bottom menu «Главная / Каталог / Контакты / Связь» ---------- */
.nav-extra { display: none; }
@media (max-width: 760px) {
  .header-row { gap: 8px; }
  .brand img { width: 120px; }
  .header-tools { gap: 6px; }
  .header-tools .msgr { display: flex; gap: 4px; }
  .header-tools .call, .header-tools .fav-open { display: none; }
  .msgr a { width: 44px; height: 44px; background: rgba(255, 255, 255, .04); }
  .msgr img { width: 26px; height: 26px; }
  .main-nav .nav-extra { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
  .nav-extra a, .nav-extra button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line-2);
    background: transparent; color: var(--text); font: 700 15px/1 var(--sans); text-decoration: none; cursor: pointer; }
  .nav-extra .i { width: 18px; height: 18px; color: var(--turq); }
  .nav-extra .fav-count { position: static; transform: none; margin-left: 2px; }
  .nav-extra .fav-count:not(.on) { display: none; }
  .dock { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px) + var(--cookie-h)); gap: 2px; padding: 5px; border-radius: 22px; }
  .dock a, .dock button { min-height: 56px; gap: 4px; color: var(--muted); font-size: 11.5px; cursor: pointer; transition: background-color .2s, color .2s, transform .15s; }
  .dock a:first-child { background: transparent; color: var(--muted); }
  .dock .i, .dock a:first-child .i { width: 22px; height: 22px; color: var(--turq); }
  .dock [data-contact-open] .i { color: var(--gold); }
  .dock .active { color: var(--text); background: rgba(66, 196, 193, .14); }
  .dock .active::before { content: ""; position: absolute; top: 4px; left: calc(50% - 10px); width: 20px; height: 3px; border-radius: 2px; background: var(--gold); }
  .dock a:active, .dock button:active { background: rgba(243, 146, 33, .2); color: var(--text); transform: scale(.96); }
  .dock a:focus-visible, .dock button:focus-visible { outline: 2px solid var(--turq-2); outline-offset: -2px; }
  body.dock-on { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  /* typing in a form: the keyboard has the bottom of the screen, the menu waits */
  body.kb-open .dock { transform: translateY(140%); visibility: hidden; }
}
@media (max-width: 360px) {
  .header-row { gap: 6px; }
  .brand img { width: 96px; }
  .header-tools { gap: 5px; }
  .header-tools .msgr { gap: 3px; }
  .msgr a, .burger { width: 42px; height: 42px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
  .msgr img { width: 24px; height: 24px; }
}
/* ---------- catalogue drop-down and smooth icon motion (owner round 2026-11-25) ---------- */
.nav-dd { position: relative; display: flex; }
.nav-dd-t { display: inline-flex; align-items: center; gap: 7px; }
.nav-dd-t::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .4s var(--ease, ease); }
.nav-dd-menu { display: grid; }
.nav-dd-in { display: grid; padding: 8px; border-radius: 18px; background: rgba(8, 14, 13, .98); border: 1px solid var(--line-2); box-shadow: 0 24px 48px rgba(0, 0, 0, .45); }
.nav-dd-in a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; font-size: 15px; transition: background-color .35s var(--ease, ease), color .35s var(--ease, ease), padding-left .4s var(--ease, ease); }
.nav-dd-in a i { font-style: normal; width: 24px; text-align: center; font-size: 17px; transition: transform .45s var(--ease, ease); }
.nav-dd-in a:hover i, .nav-dd-in a:focus-visible i { transform: scale(1.18) rotate(-6deg); }
.nav-dd-in a:hover { padding-left: 18px; }
@media (min-width: 1181px) {
  .nav-dd-menu { position: absolute; top: 100%; left: -12px; min-width: 290px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s var(--ease, ease), transform .45s var(--ease, ease), visibility 0s linear .45s; z-index: 60; }
  .nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.is-open .nav-dd-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-dd:hover .nav-dd-t::after, .nav-dd:focus-within .nav-dd-t::after, .nav-dd.is-open .nav-dd-t::after { transform: translateY(1px) rotate(225deg); }
}
@media (max-width: 1180px) {
  .nav-dd { display: block; }
  .nav-dd-t { display: flex; justify-content: space-between; }
  .nav-dd-menu { display: block; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease, ease); }
  .nav-dd.is-open .nav-dd-menu { max-height: 560px; }
  .nav-dd.is-open .nav-dd-t::after { transform: translateY(1px) rotate(225deg); }
  .nav-dd-in { padding: 2px 0 6px 10px; background: none; border: 0; box-shadow: none; border-radius: 0; }
  .nav-dd-in a { padding: 10px 8px; font-size: 15px; }
}
/* smooth, unhurried motion for icons and header controls */
.main-nav a { transition: color .35s var(--ease, ease), background-color .35s var(--ease, ease); }
.msgr a, .call, .fav-open, .burger, .h-tile-go, .h-sp-acts button, .h-rail-nav button { transition: border-color .5s var(--ease, ease), background-color .5s var(--ease, ease), color .5s var(--ease, ease), transform .6s var(--ease, ease), box-shadow .6s var(--ease, ease); }
.msgr img, .fav-open .i, .call .i, .h-tile-go .i, .h-sp-acts .i { transition: transform .6s var(--ease, ease), filter .6s var(--ease, ease); }
.msgr a:hover img, .call:hover .i, .fav-open:hover .i { transform: scale(1.1); }
.msgr a:hover, .call:hover, .fav-open:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .28); }
@media (prefers-reduced-motion: reduce) {
  .nav-dd-menu, .nav-dd-t::after, .nav-dd-in a, .nav-dd-in a i, .msgr img, .msgr a, .call, .fav-open { transition: none !important; }
}
