/* =========================================================
   домщенков.рф — общие стили всех страниц (дизайн-система, шапка, главная, общие блоки).
   Основа A: сетка, отступы, белые плитки на тёплом сером.
   Акценты B: студийные фото в цветных плитках, цветные кружки, яркие карточки.
   ========================================================= */

/* Geist 400–500 (variable), self-hosted: assets/fonts, SIL Open Font License 1.1 (assets/fonts/OFL.txt).
   Same subsets and unicode ranges as Google Fonts, so a page loads only the files its text needs. */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url('../fonts/geist-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url('../fonts/geist-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url('../fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url('../fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* база */
  --page: #F3F2EF;
  --tile: #FFFFFF;
  --ink: #141414;
  --muted: #6B6B6B;
  --tg-a: #1B80BD; --tg-b: #1570AB; /* Telegram-синий для кнопок с белым текстом (контраст ≥ 4,5:1) */
  --line: #E7E4DF;
  --line-2: #D8D4CD;
  --field: #F6F5F2;
  --ink-soft: rgba(20, 20, 20, .74); /* вторичный текст на цветных подложках */
  --err: #C8372D;

  /* акценты B, смягчённые до пастели */
  --coral: #FF967C;
  --sun: #FFD66B;
  --sky: #8EC1FF;
  --mint: #7FD8AC;
  --lilac: #BEA9FF;
  --sand: #EBDCC7;
  /* насыщенные версии — только для мелких сигналов: статусы, звёзды, точки */
  --coral-strong: #FF6F4F;
  --ok: #2EC27E;
  --res: #F5B82E;
  --soon: #4DA3FF;
  --coral-50: #FFE9E2;
  --sun-50: #FFF4CF;
  --sky-50: #E4F0FF;
  --mint-50: #DDF5E8;
  --lilac-50: #EEE8FF;

  /* фон студийных фото (замер) */
  --peach: #F1BC94;  --peach-floor: #FCCFB0;
  --powder: #A7D0E6; --powder-floor: #BBDAEC;
  --butter: #E9CB8A; --butter-floor: #F7E2AD;
  --sage: #A9C8B1;   --sage-floor: #C6DDCB;

  /* форма */
  --r-tile: 28px;
  --r-img: 20px;
  --r-pill: 999px;
  --inset: 8px; /* отступ внутреннего фото от края плитки: 28 − 8 = 20 */

  /* сетка */
  --pad: clamp(16px, 3.6vw, 56px);
  --gap: 10px;
  --maxw: 1720px;
  --sec: clamp(64px, 7vw, 112px);
  --tile-pad: clamp(20px, 2.2vw, 32px);
  --head-h: 64px;

  /* типографика */
  --fs-h1: clamp(40px, 5vw, 80px);
  --fs-h2: clamp(30px, 3.2vw, 52px);
  --fs-breed: clamp(32px, 3vw, 56px);
  --fs-h3: clamp(20px, 1.6vw, 24px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-lift: 0 24px 48px -28px rgba(20, 20, 20, .35);
  --shadow-pop: 0 30px 80px -24px rgba(20, 20, 20, .28), 0 2px 8px rgba(20, 20, 20, .05);

  /* мягкая радиальная маска студийного фото: собака и пол непрозрачны, края кадра — в ноль */
  --studio-mask: radial-gradient(50% 56% at 50% 56%, #000 68%, transparent 100%);
}

/* --tone-hi — чуть более светлая стена студии вокруг собаки (замер по кольцам кадра) */
.tone--peach  { --tone: var(--peach);  --tone-floor: var(--peach-floor);  --tone-hi: #F0B890; }
.tone--powder { --tone: var(--powder); --tone-floor: var(--powder-floor); --tone-hi: #A9D2E7; }
.tone--butter { --tone: var(--butter); --tone-floor: var(--butter-floor); --tone-hi: #EFD190; }
.tone--sage   { --tone: var(--sage);   --tone-floor: var(--sage-floor);   --tone-hi: #AECCB5; }
/* фон кадра «четыре щенка»: стена и пол (замер) */
.tone--cream  { --tone: #F1DCBF; --tone-floor: #F8E9D3; --tone-hi: #F4E0C4; }
/* пастельные тинты для плиток без студийного фото: стена → чуть светлее «пол» */
.tone--sun   { --tone: #FFF1C4; --tone-floor: #FFF7DF; --tone-hi: #FFF4CF; }
.tone--sky   { --tone: #E1EEFF; --tone-floor: #EEF5FF; --tone-hi: #E4F0FF; }
.tone--mint  { --tone: #DAF3E5; --tone-floor: #EAF8F0; --tone-hi: #DDF5E8; }
.tone--lilac { --tone: #ECE5FF; --tone-floor: #F5F1FF; --tone-hi: #EEE8FF; }
.tone--coral { --tone: #FFE5DC; --tone-floor: #FFF1EC; --tone-hi: #FFE9E2; }
.tone--sand  { --tone: #EFE3D2; --tone-floor: #F6EEE3; --tone-hi: #F1E6D7; }

/* ---------- база ---------- */
/* без капса и без жирных начертаний: максимум 500, синтез «жирного» браузером запрещён */
html { font-synthesis: none; }
b, strong { font-weight: 500; }
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
}
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.i--sm { width: 16px; height: 16px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 500;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; transition: none; } /* появляется сразу, прячется плавно */
/* цели якорей получают фокус программно (tabindex="-1") — без рамки, чтобы не мигать на всю секцию */
main:focus, section[tabindex="-1"]:focus, [data-anchor-focus]:focus { outline: none; }

.container { width: min(100% - 2 * var(--pad), var(--maxw)); margin-inline: auto; }

/* ---------- типографика ---------- */
.h1 {
  font-size: var(--fs-h1);
  line-height: .95;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.h2 {
  font-size: var(--fs-h2);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.text-link {
  position: relative;
  display: inline-block;
  font-size: 15px; font-weight: 500; line-height: 1.4;
  text-decoration: none; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .35s var(--ease);
}
.text-link .i { display: inline-block; vertical-align: -3px; margin-left: 2px; transition: transform .3s var(--ease); }
.text-link:hover { background-size: 100% 1px; }
.text-link::after { content: ""; position: absolute; inset: -11px -6px; } /* зона нажатия ≥ 44 px */
.text-link:hover .i { transform: translateX(3px); }

/* ---------- кнопки ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
/* основная: чёрная пилюля; на ховере — коралл с тёмным текстом (контраст 6,6:1) */
.btn--ink { background: var(--ink); color: #fff; }
@media (hover: hover) { .btn--ink:hover { background: var(--coral); color: var(--ink); } }
/* главная и страницы пород v2 (правки 15.10): основные кнопки — коралловые (цвет прежнего наведения), при наведении —
   темнее; белые — как были. Карточка щенка одна на весь сайт: её «Узнать цену» остаётся чёрной */
:is(.page-home, .page-breed) { --cta: var(--coral); --cta-hover: #F7805F; }
:is(.page-home, .page-breed) :is(.btn--ink, .mbar__btn--ink):not(.pup .btn) { background: var(--cta); color: var(--ink); }
@media (hover: hover) { :is(.page-home, .page-breed) :is(.btn--ink, .mbar__btn--ink):not(.pup .btn):hover { background: var(--cta-hover); color: var(--ink); } }
.btn--white { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--white:hover { border-color: var(--ink); }
/* контурная: белая обводка без заливки — на цветной плитке рядом с белой кнопкой */
.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid #fff; }
.btn--outline:hover { background: rgba(255, 255, 255, .4); }
/* Telegram: фирменный градиент, белый текст 500 и иконка */
/* «Написать в Telegram»: градиент Telegram, притемнённый до 4,6–5:1 с белым текстом (фирменный #2AABEE → #229ED9 даёт 2,6–3:1) */
.btn--tg { background: linear-gradient(180deg, var(--tg-a) 0%, var(--tg-b) 100%); color: #fff; border: 0; }
.btn--tg .i { width: 19px; height: 19px; margin-left: -2px; }
@media (hover: hover) { .btn--tg:hover { background: linear-gradient(180deg, var(--tg-b) 0%, #11639A 100%); } }
.btn--tg:hover .i { transform: none; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* круглые кнопки: мессенджеры, звонок, бургер */
.msgr {
  width: 44px; height: 44px; flex: none;
  display: inline-grid; place-items: center;
  border-radius: 50%; border: 0; padding: 0;
  background: var(--page); color: var(--ink); text-decoration: none;
  transition: transform .25s var(--ease), background-color .2s, color .2s;
}
@media (hover: hover) { .msgr:hover { transform: translateY(-2px); } }
/* мессенджеры (правка 15.10, по образцу клиента): тёмный знак официальной формы на мягком персиковом круге */
.msgr--tg, .msgr--wa, .msgr--max { background: linear-gradient(145deg, #FCEEE7 0%, #F3D8CA 100%); color: #3B2216; }
@media (hover: hover) { .msgr--tg:hover, .msgr--wa:hover, .msgr--max:hover { background: linear-gradient(145deg, #F8E2D7 0%, #EDC7B6 100%); } }
.msgr--call { background: #fff; border: 1px solid var(--line-2); }
.msgr--ink { background: var(--ink); color: #fff; }
.msgr--ink:hover { transform: none; background: #333; }

/* круглая стрелка */
.round-arrow {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--ink);
  transition: transform .45s var(--ease), background-color .3s, color .3s;
}
.round-arrow .i { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.round-arrow--ink { background: var(--ink); color: #fff; }
.round-arrow--glass {
  background: rgba(255, 255, 255, .18); color: #fff;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}

/* CTA плитки и карточки (ui.tile_cta): понятная подпись со стрелкой — «Подробнее», «Перейти к породе», «Читать».
   Правка клиента 13.10: круглая стрелка без подписи больше не бывает главным действием плитки.
   Белая пилюля — на цветной плитке, --soft (серая) — на белой, --ink — на фото с белой подложкой. */
.tcta {
  display: inline-flex; align-items: center; gap: 8px; flex: none; max-width: 100%;
  height: 44px; padding: 0 18px 0 20px; border-radius: var(--r-pill);
  background: #fff; color: var(--ink); text-decoration: none;
  font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: -0.005em; white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.tcta .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.tcta--soft { background: var(--page); }
.tcta--ink { background: var(--ink); color: #fff; }
@media (hover: hover) {
  a:hover .tcta, a.tcta:hover { background: var(--ink); color: #fff; }
  a:hover .tcta--ink, a.tcta--ink:hover { background: var(--coral); color: var(--ink); }
  a:hover .tcta .i, a.tcta:hover .i { transform: translateX(3px); }
}

/* цветной кружок с иконкой */
.ico {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--c, var(--coral)); color: var(--ink);
}
.ico--sm { width: 32px; height: 32px; }

/* статус-точки */
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--ok); }
.dot--ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(46, 194, 126, .22); }
.dot--res { background: var(--res); box-shadow: 0 0 0 3px rgba(245, 184, 46, .3); }
.dot--soon { background: var(--soon); box-shadow: 0 0 0 3px rgba(77, 163, 255, .25); }

/* круглое фото-лицо (меню «Породы») */
.face {
  width: 48px; height: 48px; flex: none; border-radius: 50%; overflow: hidden;
  background: var(--tone);
}
.face img { width: 100%; height: 100%; object-fit: cover; transform: scale(2.1); transform-origin: 50% var(--fy, 31%); }
.face.tone--butter { --fy: 46%; }

/* =========================================================
   ШАПКА: логотип · «Меню» (карта сайта) · Породы ▾ · ссылки · телефон · мессенджеры · «Написать в Telegram»
   ========================================================= */
.hdr {
  position: sticky; top: 10px; z-index: 50;
  width: min(100% - 2 * var(--pad), var(--maxw));
  margin: 10px auto 0;
}
.hdr__bar {
  display: flex; align-items: center; gap: 6px;
  height: var(--head-h);
  padding: 0 10px 0 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(20, 20, 20, .06);
  transition: box-shadow .3s;
}
.hdr.is-scrolled .hdr__bar { box-shadow: 0 14px 40px -24px rgba(20, 20, 20, .35); }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); flex: none;
  border-radius: 14px;
}
.logo__mark {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--coral); color: var(--ink);
  transition: transform .35s var(--ease);
}
.logo__mark .i { width: 24px; height: 24px; }
.logo:hover .logo__mark { transform: rotate(-8deg); }
.logo__text { display: grid; line-height: 1.1; }
.logo__name { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.logo__sub { font-size: 12px; color: var(--muted); }

/* «Меню»: кнопка-пилюля; панель — во всю ширину шапки (позиционируется от .hdr) */
.hdr__menu { flex: none; margin-left: 14px; }
.hdr__menu-btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  height: 40px; padding: 0 16px 0 14px; border: 0; border-radius: var(--r-pill);
  background: var(--page); color: var(--ink);
  font-size: 15px; font-weight: 500;
  transition: background-color .2s, color .2s;
}
.hdr__menu-btn:hover { background: var(--line); }
.hdr__menu-btn[aria-expanded="true"] { background: var(--ink); color: #fff; }

/* padding-top — прозрачный «мостик» между шапкой и панелью: курсор не теряет меню по дороге */
.mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: 10px; animation: dd-in-y .25s var(--ease); }
@keyframes dd-in-y { from { opacity: 0; transform: translateY(-6px); } }
.mega__box {
  max-height: calc(100svh - var(--head-h) - 40px); overflow-y: auto; overscroll-behavior: contain;
  padding: 24px 24px 18px; border-radius: var(--r-tile);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
}
.mega__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 20px; }
.mega__col { min-width: 0; }
.mega__col--wide { grid-column: span 2; }
.mega__h { margin-bottom: 8px; padding-inline: 10px; font-size: 14px; font-weight: 500; color: var(--muted); }

/* общий список ссылок группы — в панели «Меню» и в мобильном меню */
.mega__list { display: grid; gap: 2px; }
.mega__link {
  display: flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 7px 10px; border-radius: 14px;
  font-size: 15px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; text-decoration: none;
  transition: background-color .2s;
}
.mega__link:hover, .mega__link[aria-current="page"] { background: var(--page); }
.mega__link .face, .mega__link .ico { width: 32px; height: 32px; }
.mega__link .ico .i { width: 16px; height: 16px; }
.mega__count {
  margin-left: auto; display: inline-grid; place-items: center;
  min-width: 26px; height: 22px; padding: 0 8px; border-radius: var(--r-pill);
  background: var(--mint-50); font-size: 13px; font-weight: 500;
}
/* подраздел: подпись и короткий список ссылок под ней — по одной в строке, тонкая линия слева (правка 15.10: без плашек) */
.mega__sub { padding: 8px 10px 6px; }
.mega__subh { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.mega__subl { display: grid; margin-left: 1px; padding-left: 4px; border-left: 1px solid var(--line); }
.mega__sublink {
  display: flex; align-items: center; min-height: 32px; padding: 5px 10px; border-radius: 10px;
  font-size: 14.5px; line-height: 1.3; color: var(--ink-soft); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.mega__sublink:hover, .mega__sublink[aria-current="page"] { background: var(--page); color: var(--ink); }
/* «О породах» — широкая колонка: подразделы в две колонки (Цена · Окрасы / Сравнение · Подбор) */
.mega__col--wide .mega__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: start; }
.mega__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  margin-top: 20px; padding: 16px 10px 0; border-top: 1px solid var(--line);
}
.mega__phone { display: grid; text-decoration: none; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.mega__phone small { font-size: 13px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.mega__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* «Каталог щенков» — обычный пункт меню, выделен только цветом текста (правка 15.10); #D4441E — 4,5 : 1 на белом */
.nav__link--accent { color: #D4441E; }
.nav { min-width: 0; }
.nav__list { display: flex; align-items: center; gap: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  height: 40px; padding: 0 12px; border-radius: var(--r-pill);
  border: 0; background: transparent;
  font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: background-color .2s;
}
.nav__link:hover, .nav__dd-btn[aria-expanded="true"], .nav__link[aria-current="page"] { background: var(--page); }
.nav__dd { position: relative; }
.nav__dd-btn .i { transition: transform .25s var(--ease); }
.nav__dd-btn[aria-expanded="true"] .i { transform: rotate(180deg); }

.dd {
  position: absolute; top: calc(100% + 18px); left: 50%;
  width: 560px; transform: translateX(-34%);
  padding: 10px; border-radius: 26px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
  animation: dd-in .25s var(--ease);
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* мостик для ховера */
@keyframes dd-in { from { opacity: 0; transform: translateX(-34%) translateY(-6px); } }
.dd__list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dd__item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px; border-radius: 18px; text-decoration: none;
  transition: background-color .2s;
}
.dd__item:hover { background: var(--page); }
.dd__txt { display: grid; gap: 1px; line-height: 1.25; }
.dd__txt b { font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
.dd__txt small { font-size: 13px; color: var(--muted); }
.dd__test {
  margin-top: 6px; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: var(--page); text-decoration: none; font-weight: 500; font-size: 15px;
  transition: background-color .2s;
}
.dd__test > span:nth-child(2) { flex: 1; }
.dd__test:hover { background: var(--lilac-50); }

.hdr__right { display: flex; align-items: center; gap: 6px; margin-left: auto; padding-left: 8px; }
.hdr__phone {
  padding: 0 8px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  white-space: nowrap; text-decoration: none;
}
.hdr__phone:hover { text-decoration: underline; text-underline-offset: 3px; }
.hdr .msgr { width: 40px; height: 40px; }
.hdr .msgr .i { width: 19px; height: 19px; }
.hdr__cta { margin-left: 4px; height: 44px; padding: 0 20px 0 16px; }
.msgr--call, .hdr__burger { display: none; }
/* первый этап без контактов (site.json → contacts_public: false): в шапке одна кнопка заявки, видна на любой ширине */
.hdr__req { margin-left: 4px; height: 44px; padding: 0 20px; white-space: nowrap; }
.req-short { display: none; }

/* узкий десктоп: сначала прячем подпись логотипа, потом номер (он в «Меню» и в подвале), потом ссылки с конца —
   все разделы остаются в «Меню». Номер — элемент заявки: на 1440–1599 он виден, место ему уступает «Блог» */
/* «Каталог щенков» — ещё один пункт в шапке (правка 15.10): остальные уходят в «Меню» на ~140 px раньше */
@media (max-width: 1679px) {
  .logo__sub { display: none; }
}
@media (min-width: 1580px) and (max-width: 1659px) {
  .nav__item--p6 { display: none; }
}
@media (max-width: 1579px) {
  .hdr__phone { display: none; }
}
@media (max-width: 1479px) {
  .nav__item--p6 { display: none; }
}
@media (max-width: 1419px) {
  .nav__item--p5 { display: none; }
}
@media (max-width: 1339px) {
  .hdr .msgr--tg { display: none; }
}
@media (max-width: 1289px) {
  .nav__item--p4 { display: none; }
}
@media (max-width: 1199px) {
  .nav__item--p3 { display: none; }
}
@media (max-width: 1099px) {
  .hdr__menu, .nav { display: none; }
  .logo__sub { display: block; }
  .hdr .msgr { width: 44px; height: 44px; }
  .hdr .msgr--tg { display: inline-grid; }
  .hdr__burger { display: inline-grid; }
}
@media (max-width: 760px) {
  .hdr__cta { display: none; }
}
@media (max-width: 560px) {
  .hdr__req { height: 40px; padding: 0 16px; font-size: 14px; }
  .hdr__bar { height: 60px; padding-left: 10px; }
  .hdr .msgr--tg, .hdr .msgr--wa, .hdr .msgr--max { display: none; }
  .hdr .msgr--call { display: inline-grid; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__name { font-size: 16px; }
  .logo__sub { font-size: 11.5px; }
}

/* телефон: логотип, кнопка заявки и бургер должны поместиться в пилюлю шапки, иначе бургер выезжает за край
   и страница скроллится вбок. По очереди: короткая подпись кнопки → без подписи логотипа → всё компактнее */
@media (max-width: 469px) {
  .hdr__req .req-long { display: none; }
  .hdr__req .req-short { display: inline; }
  .hdr__req { padding: 0 14px; }
}
@media (max-width: 409px) {
  .hdr .logo__sub { display: none; }
  .hdr__right { padding-left: 4px; }
  .hdr__req { margin-left: 0; padding: 0 12px; }
}
@media (max-width: 359px) {
  .hdr__bar { padding: 0 8px; }
  .hdr .logo { gap: 8px; }
  .hdr .logo__mark { width: 34px; height: 34px; }
  .hdr .logo__mark .i { width: 21px; height: 21px; }
  .hdr .logo__name { font-size: 15px; }
  .hdr__right { gap: 4px; padding-left: 0; }
  .hdr .hdr__burger { width: 40px; height: 40px; }
}
@media (max-width: 349px) {
  .logo__sub { display: none; }
  .mbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); }
  .mbar.mbar--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mbar__btn { padding-inline: 6px; font-size: 13px; }
  .mbar__btn .i { display: none; }
}

/* ---------- мобильное меню ---------- */
/* верхняя полоса с крестиком всегда на месте, прокручивается только .mmenu__scroll (правка 15.10) */
.mmenu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
  padding: 10px var(--pad) 0;
  background: var(--page);
  overflow: hidden;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .3s var(--ease);
}
.mmenu__scroll {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 10px;
  margin-inline: calc(-1 * var(--pad)); padding: 0 var(--pad) calc(16px + env(safe-area-inset-bottom));
}
.mmenu.is-open { opacity: 1; transform: none; }
.mmenu__top {
  display: flex; align-items: center; justify-content: space-between; flex: none;
  height: 60px; padding: 0 8px 0 10px;
  background: #fff; border-radius: var(--r-pill); border: 1px solid rgba(20, 20, 20, .06);
}
.mmenu__nav { background: #fff; border-radius: var(--r-tile); padding: 6px 20px; }
.mmenu__list > li + li { border-top: 1px solid var(--line); }
.mmenu__acc {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 15px 2px; border: 0; background: none; text-align: left;
  font-size: 22px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink);
}
.mmenu__acc .i { color: var(--muted); transition: transform .25s var(--ease); }
/* «Каталог щенков» — первая строка мобильного меню: как заголовок группы, но ссылка и цветом (правка 15.10) */
.mmenu__link {
  display: flex; align-items: center; width: 100%; padding: 15px 2px;
  font-size: 22px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; color: #D4441E; text-decoration: none;
}
.mmenu__acc[aria-expanded="true"] .i { transform: rotate(180deg); }
.mmenu__group { padding: 0 0 14px; }
.mmenu__group .mega__list { margin-inline: -8px; }
/* телефон: каждый пункт — своей строкой (правка 15.10), подпись подраздела — мелким серым над его списком */
.mmenu__group .mega__col--wide .mega__list, .mmenu__group .mega__list { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.mmenu__group .mega__link { min-height: 48px; padding: 6px 8px; font-size: 16px; }
.mmenu__group .mega__link .face, .mmenu__group .mega__link .ico { width: 40px; height: 40px; }
.mmenu__group .mega__sub { padding: 12px 8px 6px; }
.mmenu__group .mega__subh { margin-bottom: 2px; font-size: 13.5px; color: var(--muted); }
.mmenu__group .mega__subl { margin-left: 0; padding-left: 6px; }
.mmenu__group .mega__sublink { min-height: 44px; padding: 8px 10px; font-size: 16px; color: var(--ink); }
.mmenu__bottom { margin-top: auto; display: grid; gap: 14px; background: #fff; border-radius: var(--r-tile); padding: 20px; }
.mmenu__phone { display: grid; text-decoration: none; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.mmenu__phone small { font-size: 13px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.mmenu__msgs { display: flex; align-items: center; gap: 8px; }
.mmenu__price { flex: 1; }

/* =========================================================
   РАЗДЕЛЫ
   ========================================================= */
.section { margin-top: var(--sec); }
.sec-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 14px 32px;
  margin-bottom: clamp(20px, 2.4vw, 36px);
  padding-inline: 4px;
}
/* заголовок с короткой строкой под ним (ui.section_head(lead=…)) — одинаково на главной и внутренних страницах */
.sec-head__txt { display: grid; gap: 12px; }
.sec-head__lead { font-size: 16px; line-height: 1.45; color: var(--muted); max-width: 62ch; }

/* общая «студийная» подложка: тон → пол, как в кадре.
   --floor-a/--floor-b — где в плитке начинается и кончается переход «стена → пол».
   По умолчанию 55% → 100%; у плиток с фото — точно по линии пола в кадре. */
.lead {
  background: linear-gradient(180deg, var(--tone) 0 var(--floor-a, 55%), var(--tone-floor) var(--floor-b, 100%));
}
.studio-img { -webkit-mask-image: var(--studio-mask); mask-image: var(--studio-mask); }
/* мягкий «свет студии» за собакой: продолжает чуть более светлую стену кадра за его края */
.studio-glow::before {
  content: ""; position: absolute; z-index: -1; inset: -40%;
  background: radial-gradient(circle closest-side at 50% 54%, var(--tone-hi) 0 33%, transparent 75%);
  pointer-events: none;
}

/* =========================================================
   ПЕРВЫЙ ЭКРАН
   ========================================================= */
.hero { padding-top: var(--gap); }
.hero__main {
  /* высота кадра «четыре щенка»: по высоте плитки, но не шире 58% её ширины — текст слева свободен */
  --ph: min(86cqh, calc(58cqw / 1.4906));
  position: relative; isolation: isolate; overflow: hidden;
  container-type: size;
  height: clamp(560px, calc(100svh - 240px), 720px);
  border-radius: var(--r-tile);
  padding: clamp(28px, 3.4vw, 52px);
  background: var(--tone);
}
/* пол студии во всю ширину плитки — на той же высоте, что пол в кадре (84% → 97% высоты фото) */
.hero__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--ph) * .16); z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent 0, var(--tone-floor) 81.25%);
}
.hero__copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start;
  height: 100%;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .62);
  font-size: 14px; font-weight: 500;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral-strong); }
.hero .h1 { margin-top: clamp(20px, 2.4vw, 32px); max-width: 10.6ch; }
.hero__sub { margin-top: 22px; font-size: 16px; line-height: 1.45; max-width: 36ch; color: var(--ink-soft); }
/* кнопки — сразу под текстом (правка 15.10), плашки преимуществ — внизу плитки */
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: clamp(24px, 2.4vw, 32px); }
.hero .hero__sub { max-width: 44ch; }
/* четыре преимущества — одной строкой во всю ширину плитки, в самом низу (правка 15.10); на телефоне — 2 × 2 */
.hm-chips {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 24px;
}
.hm-chip {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  min-height: 54px; padding: 8px 16px 8px 9px; border-radius: 27px;
  background: rgba(255, 255, 255, .72);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25;
}
.hm-chip__ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c); }
.hm-chip__ico .i { width: 18px; height: 18px; }

/* кадр прижат к правому и нижнему краю плитки: эти края совпадают с краями плитки,
   левый и верхний гаснут в цвет стены */
.hero__photo {
  position: absolute; z-index: 1; right: 0; bottom: 0;
  height: var(--ph); aspect-ratio: 1264 / 848;
}
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 26%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 26%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}



/* цифры доверия (ui.stat_tiles на внутренних страницах; на главной — .hm-stat в «О нашем питомнике») */
.stat {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto;
  column-gap: 12px; align-items: start; align-content: start;
  padding: 20px 22px 20px 26px; border-radius: var(--r-tile); background: var(--tile);
}
.stat__num { grid-column: 1; grid-row: 1; font-size: clamp(30px, 2.8vw, 44px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stat__cap { grid-column: 1; grid-row: 2; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.3; }
.stat .ico { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 48px; height: 48px; }

/* =========================================================
   О НАШЕМ ПИТОМНИКЕ (главная): текст + фото, под ними цифры с пояснением
   ========================================================= */
.hm-about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); }
.hm-about__txt {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(28px, 3.4vw, 52px);
  border-radius: var(--r-tile); background: var(--tile);
}
.hm-about__lead { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.022em; line-height: 1.28; max-width: 30ch; }
.hm-about__lead a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em;
  text-decoration-color: rgba(20, 20, 20, .28);
  transition: text-decoration-color .2s;
}
.hm-about__lead a:hover { text-decoration-color: currentColor; }
/* три страха покупателя — и что мы с ними делаем (правка 15.10) */
.hm-about__list { display: grid; gap: 16px; margin: clamp(22px, 2.2vw, 30px) 0 clamp(26px, 2.6vw, 36px); max-width: 56ch; }
.hm-about__list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.hm-about__list b { color: var(--ink); }
.hm-about__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c); color: var(--ink); }
.hm-about__ico .i { width: 18px; height: 18px; }
.hm-about__cta { margin-top: auto; }
.hm-about__photo { position: relative; overflow: hidden; min-height: clamp(420px, 38vw, 580px); border-radius: var(--r-tile); background: #E7E1D8; }
.hm-about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 60%; transition: transform 1.4s var(--ease); }
@media (hover: hover) { .hm-about__photo:not(.hm-slider):hover img { transform: scale(1.03); } }
/* слайдер в «О нашем питомнике» (правка 15.10): кадры стопкой, смена — плавным наплывом с лёгким приближением.
   Полоски сверху — как в сторис: заполняются за время кадра, по клику — переход к кадру. Кнопка паузы — снизу справа */
.hm-slider { touch-action: pan-y; } /* горизонтальный свайп — листать кадры, вертикальный — страницу */
.hm-slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.hm-slider__slide.is-idle { display: none; } /* ещё не на очереди: файл не грузится */
.hm-slider__slide.is-on { opacity: 1; z-index: 2; }
.hm-slider__slide.is-prev { opacity: 1; z-index: 1; transition: none; } /* прежний кадр держится под новым, пока тот проявляется */
.hm-slider__slide.is-prev :is(img, video) { transform: none; transition: none; }
.hm-slider__slide :is(img, video) {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transform: scale(1.06); transition: transform 3.6s linear;
}
.hm-slider__slide.is-on :is(img, video) { transform: none; }
.hm-slider::after { /* тень под полосками — их видно и на светлом кадре */
  content: ""; position: absolute; z-index: 3; inset: 0 0 auto; height: 84px; pointer-events: none;
  background: linear-gradient(rgba(20, 20, 20, .32), rgba(20, 20, 20, 0));
}
.hm-slider__bars { position: absolute; z-index: 4; top: 12px; left: 14px; right: 14px; display: flex; gap: 4px; }
.hm-slider__bar { flex: 1 1 0; min-width: 0; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.hm-slider__bar i { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .42); overflow: hidden; }
.hm-slider__bar i::before { content: ""; display: block; height: 100%; width: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.hm-slider__bar:focus-visible { outline: 2px solid #fff; outline-offset: 0; border-radius: 4px; }
.hm-slider__pause {
  position: absolute; z-index: 4; right: 14px; bottom: 14px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--ink); cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 24px -14px rgba(20, 20, 20, .5);
  opacity: .82; transition: opacity .2s;
}
.hm-slider__pause:hover, .hm-slider__pause:focus-visible { opacity: 1; }
/* значок паузы — две полоски; на паузе — треугольник «дальше» */
.hm-slider__pause::before { content: ""; width: 12px; height: 13px; background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px); }
.hm-slider__pause[aria-pressed="true"]::before { width: 12px; height: 14px; margin-left: 3px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.hm-slider:not(.is-ready) .hm-slider__pause { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hm-slider__slide, .hm-slider__slide :is(img, video) { transition: none; transform: none; }
}

.hm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.hm-stats > li { min-width: 0; }
.hm-stat {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr;
  column-gap: 12px; align-items: start;
  height: 100%; padding: 22px 22px 22px 26px;
  border-radius: var(--r-tile); background: var(--tile);
}
.hm-stat .ico { grid-column: 2; grid-row: 1 / 3; width: 48px; height: 48px; }
.hm-stat__num { grid-column: 1; grid-row: 1; font-size: clamp(36px, 3.4vw, 54px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.hm-stat__cap { grid-column: 1; grid-row: 2; margin-top: 8px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.hm-stat__line { grid-column: 1 / -1; grid-row: 3; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.4; color: var(--muted); }

/* =========================================================
   ПОРОДЫ — пастельные плитки со студийными фото
   ========================================================= */
.breeds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.breeds > li { min-width: 0; }
.breed {
  --s: 100; /* ширина кадра в % ширины плитки: ≥ 100, чтобы боковые края кадра совпадали с краями плитки */
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  aspect-ratio: 3 / 4;
  padding: clamp(20px, 1.8vw, 26px);
  border-radius: var(--r-tile);
  background: var(--tone-hi); color: var(--ink); text-decoration: none;
}
/* мальтипу и пудель в кадре мельче — кадр крупнее, чтобы собаки были одного роста */
.breed.tone--peach, .breed.tone--butter { --s: 112; }
.breed__top { position: relative; z-index: 2; display: grid; gap: 6px; }
.breed__title { font-size: clamp(20px, 1.75vw, 30px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
@media (min-width: 1200px) { .breed__title { white-space: nowrap; } }
.breed__desc { font-size: 15px; line-height: 1.35; color: var(--ink-soft); }
@media (min-width: 1200px) { .breed__desc { white-space: nowrap; } }
.breed__count { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; font-weight: 500; }
/* CTA «Перейти к породе» — внизу слева, на «полу» плитки */
.breed .tcta { position: absolute; z-index: 2; left: clamp(18px, 1.6vw, 24px); bottom: clamp(18px, 1.6vw, 24px); }
/* кадр стоит на «полу» плитки во всю её ширину; гаснет только верхний край */
.breed__photo {
  position: absolute; z-index: 1; left: 50%; bottom: 0;
  width: calc(var(--s) * 1%); aspect-ratio: 1;
  transform: translateX(-50%);
}
.breed__photo img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%);
  mask-image: linear-gradient(180deg, transparent 0, #000 18%);
  transform-origin: 50% 92%;
  transition: transform .9s var(--ease);
}
.breed:hover .breed__photo img { transform: scale(1.04); }
/* две широкие плитки в ряд на десктопе (cards.breed_tiles(cols=2)): кадр справа во всю высоту, левый край гаснет в стену */
@media (min-width: 1200px) {
  .breeds--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .breeds--2 .breed {
    aspect-ratio: 16 / 10;
    background: linear-gradient(180deg, var(--tone-hi) 0 78%, var(--tone-floor) 97%);
  }
  .breeds--2 .breed__top { max-width: 64%; gap: 10px; }
  .breeds--2 .breed__title { font-size: clamp(28px, 2.4vw, 40px); white-space: normal; }
  .breeds--2 .breed__desc { font-size: 16px; white-space: normal; }
  .breeds--2 .breed__photo { left: auto; right: -8%; top: 0; bottom: 0; width: auto; height: 100%; transform: none; }
  .breeds--2 .breed__photo img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 46%);
    mask-image: linear-gradient(90deg, transparent 0, #000 46%);
  }
}

/* =========================================================
   ЩЕНКИ В НАЛИЧИИ
   ========================================================= */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  height: 44px; padding: 0 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: #fff;
  font-size: 15px; font-weight: 500;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tone); box-shadow: inset 0 0 0 1px rgba(20, 20, 20, .08); }

.pups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.pups__item { min-width: 0; }
.pup {
  position: relative; /* держит .sr-only внутри ленты — иначе он вылезает за её обрезку */
  height: 100%; display: flex; flex-direction: column;
  border-radius: var(--r-tile); overflow: hidden; isolation: isolate;
  background: var(--tone-floor);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
@media (hover: hover) { .pup:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); } }
.pup__media { position: relative; aspect-ratio: 1 / 1.02; }
/* лайфстайл-фото: со скруглением внутри подложки (clip — чтобы крупный план не вылезал из рамки) */
.pup__media { clip-path: inset(var(--inset) var(--inset) 0 round var(--r-img)); }
.pup__media--studio { clip-path: none; }
.pup__media img {
  position: absolute; inset: var(--inset) var(--inset) 0;
  width: calc(100% - 2 * var(--inset)); height: calc(100% - var(--inset));
  object-fit: cover; border-radius: var(--r-img);
  transition: transform .9s var(--ease);
}
.pup__img--mokka { object-position: 40% 70%; }
.pup__img--luiza { object-position: 40% 78%; }
.pup__img--charli { object-position: 48% 58%; }
.pup__img--tessa { object-position: 50% 46%; }
/* кадры уже есть в «Породах» — здесь крупный план, чтобы соседние блоки не повторялись */
.pup__img--charli, .pup__img--tessa { transform: scale(1.2); transform-origin: 50% 56%; }
.pup__img--tessa { transform-origin: 50% 46%; }
/* студийное фото: на всю плитку, низ кадра (пол) растворяется в подложке того же цвета */
.pup__media--studio { background: linear-gradient(180deg, var(--tone) 0 40%, var(--tone-floor) 100%); }
.pup__media--studio img {
  inset: 0; width: 100%; height: 100%; border-radius: 0;
  object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 90%, transparent 100%);
}
.status {
  position: absolute; z-index: 2; top: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px 0 11px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .9);
  font-size: 13px; font-weight: 500; white-space: nowrap;
}
.pup__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.pup__name { display: flex; align-items: center; gap: 10px; font-size: clamp(24px, 2vw, 28px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.pup__name .dot { width: 10px; height: 10px; }
.pup__name a { text-decoration: none; }
.pup__name a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pup__meta { margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--ink-soft); }
.pup__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; }
.pup__actions .btn { flex: 1; }
.fav {
  width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .78); color: var(--ink);
  transition: background-color .2s, transform .25s var(--ease);
}
.fav:hover { background: #fff; }
.fav:active { transform: scale(.92); }
.fav[aria-pressed="true"] { background: #fff; color: var(--coral-strong); }
.fav[aria-pressed="true"] .i { fill: currentColor; }

.pups__more { min-width: 0; container-type: inline-size; }
/* =========================================================
   КАК КУПИТЬ
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.step {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 16px; row-gap: 14px;
  padding: var(--tile-pad); border-radius: var(--r-tile); background: var(--tile);
}
.step__num {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c); color: var(--ink); font-size: 26px; font-weight: 500; letter-spacing: -0.03em;
}
.step__title { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }
.step__text { grid-column: 1 / -1; font-size: 15px; line-height: 1.4; color: var(--muted); }

/* =========================================================
   ОТЗЫВЫ
   ========================================================= */
.reviews-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 4fr); gap: var(--gap); }
.ratings { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.rating {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 22px; border-radius: var(--r-tile); background: var(--tile);
}
.rating__num { font-size: clamp(30px, 2.6vw, 40px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.rating__txt { display: grid; gap: 4px; font-size: 14px; color: var(--muted); line-height: 1.2; }
.stars { display: flex; gap: 2px; color: var(--coral-strong); }
.stars .i { width: 14px; height: 14px; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.reviews > li { min-width: 0; }
.review {
  display: flex; flex-direction: column; gap: 28px;
  padding: var(--tile-pad); border-radius: var(--r-tile); background: var(--tile);
}
.review__text { font-size: 16px; line-height: 1.5; letter-spacing: -0.005em; }
.review__who { margin-top: auto; display: flex; align-items: center; gap: 12px; line-height: 1.25; }
.review__who b { display: block; font-weight: 500; }
.review__who span > span { font-size: 14px; color: var(--muted); }
.ava {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c); color: var(--ink); font-weight: 500; font-size: 17px;
}

/* =========================================================
   ВОПРОСЫ
   ========================================================= */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--gap) clamp(24px, 4vw, 64px); align-items: start; }
.faq__aside { display: grid; justify-items: start; gap: 18px; padding: 8px 4px; position: sticky; top: 100px; }
.faq__list { padding: 6px clamp(20px, 2.6vw, 36px); border-radius: var(--r-tile); background: var(--tile); }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__q { font-size: inherit; font-weight: inherit; }
.faq__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 20px 0; border: 0; background: none; text-align: left;
  font-size: clamp(17px, 1.3vw, 19px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3;
}
.faq__ico {
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: var(--page);
  transition: transform .35s var(--ease), background-color .2s;
}
.faq__btn:hover .faq__ico { background: var(--sun-50); }
.faq__btn[aria-expanded="true"] .faq__ico { transform: rotate(45deg); background: var(--sun); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq__a > div { overflow: hidden; visibility: hidden; transition: visibility 0s .35s; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > div { visibility: visible; transition-delay: 0s; }
.faq__a p { padding: 0 52px 22px 0; color: var(--muted); max-width: 64ch; }

/* =========================================================
   SEO-ТЕКСТ — спокойная белая плитка
   ========================================================= */
.seo { padding: clamp(24px, 3vw, 44px); border-radius: var(--r-tile); background: var(--tile); }
.seo__title { font-size: clamp(22px, 1.8vw, 28px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }
.seo__body { margin-top: 12px; max-width: 88ch; color: var(--muted); }
.seo__lead {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  overflow: hidden;
}
.seo.is-open .seo__lead { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.seo__more h3 { margin: 22px 0 6px; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
.seo__more p + p { margin-top: 10px; }
.seo__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; padding: 6px 0; border: 0; background: none;
  font-size: 15px; font-weight: 500;
}
.seo__toggle .i { transition: transform .25s var(--ease); }
.seo__toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.seo__toggle:hover span { text-decoration: underline; text-underline-offset: 3px; }
/* главная и страницы пород v2 (правки 15.10): текст на всю ширину плитки; раскрытая часть на широком экране — в две колонки */
:is(.page-home, .page-breed) .seo__body { max-width: none; }
:is(.page-home, .page-breed) .seo__more a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
:is(.page-home, .page-breed) .seo__more a:hover { text-decoration-color: currentColor; }
@media (min-width: 1200px) {
  /* верх обеих колонок на одной линии: отступ — у блока, у первого подзаголовка его нет (у колонки справа его съедает разрыв) */
  :is(.page-home, .page-breed) .seo__more { columns: 2; column-gap: clamp(40px, 4vw, 72px); padding-top: 20px; }
  :is(.page-home, .page-breed) .seo__more h3 { break-after: avoid; }
  :is(.page-home, .page-breed) .seo__more p { break-inside: avoid; }
  :is(.page-home, .page-breed) .seo__more > h3:first-child { margin-top: 0; }
}

/* =========================================================
   ЗАЯВКА
   ========================================================= */
.lead {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: var(--gap) clamp(24px, 4vw, 72px);
  padding: var(--inset) var(--inset) var(--inset) clamp(24px, 3.4vw, 52px);
  border-radius: var(--r-tile);
}
.lead__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-block: clamp(16px, 2.6vw, 44px); }
.lead__intro .h2 { max-width: 8.6em; }
.lead__line { font-size: 17px; color: var(--ink-soft); }
.lead__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; }
.lead__msgrs { display: flex; flex-wrap: nowrap; gap: 8px; } /* три мессенджера не разрываются: переносится вся группа */
.lead__phone { margin-right: 8px; font-size: clamp(22px, 1.9vw, 28px); font-weight: 500; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.lead__phone:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.lead__box { padding: clamp(22px, 2.8vw, 40px); border-radius: var(--r-img); background: var(--tile); }

/* главная, «Подберём щенка за 1 час» (правка 15.10): лапки разного размера и наклона по плитке, крупный заголовок;
   телефон и мессенджеры — не в плитке, а отдельными плашками под ней (.hm-cts, как на /kontakty/) */
.hm-lead .lead__intro { background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22420%22 height=%22300%22 viewBox=%220 0 420 300%22%3E%3Cdefs%3E%3Cg id=%22p%22%3E%3Cpath d=%22M12 12.4c-2.7 0-5.6 3-5.6 5.5 0 1.5 1.1 2.5 2.6 2.5 1.3 0 2-.7 3-.7s1.7.7 3 .7c1.5 0 2.6-1 2.6-2.5 0-2.5-2.9-5.5-5.6-5.5Z%22/%3E%3Cellipse cx=%225.6%22 cy=%2210.6%22 rx=%221.9%22 ry=%222.4%22 transform=%22rotate(-22 5.6 10.6)%22/%3E%3Cellipse cx=%229.5%22 cy=%226.3%22 rx=%222%22 ry=%222.6%22 transform=%22rotate(-8 9.5 6.3)%22/%3E%3Cellipse cx=%2214.5%22 cy=%226.3%22 rx=%222%22 ry=%222.6%22 transform=%22rotate(8 14.5 6.3)%22/%3E%3Cellipse cx=%2218.4%22 cy=%2210.6%22 rx=%221.9%22 ry=%222.4%22 transform=%22rotate(22 18.4 10.6)%22/%3E%3C/g%3E%3C/defs%3E%3Cuse href=%22%23p%22 fill=%22rgba(255,255,255,.58)%22 transform=%22translate(330 6) scale(2.4) rotate(18 12 12)%22/%3E%3Cuse href=%22%23p%22 fill=%22rgba(173,92,48,.14)%22 transform=%22translate(196 52) scale(1.3) rotate(-22 12 12)%22/%3E%3Cuse href=%22%23p%22 fill=%22rgba(173,92,48,.14)%22 transform=%22translate(286 128) scale(1.8) rotate(30 12 12)%22/%3E%3Cuse href=%22%23p%22 fill=%22rgba(255,255,255,.58)%22 transform=%22translate(104 140) scale(2.0) rotate(-12 12 12)%22/%3E%3Cuse href=%22%23p%22 fill=%22rgba(255,255,255,.58)%22 transform=%22translate(360 224) scale(1.5) rotate(-35 12 12)%22/%3E%3Cuse href=%22%23p%22 fill=%22rgba(255,255,255,.58)%22 transform=%22translate(204 214) scale(2.6) rotate(12 12 12)%22/%3E%3Cuse href=%22%23p%22 fill=%22rgba(173,92,48,.14)%22 transform=%22translate(40 96) scale(1.1) rotate(25 12 12)%22/%3E%3C/svg%3E") right bottom / 420px 300px no-repeat; }
.hm-lead .lead__intro { gap: 20px; }
.hm-lead .lead__intro .h2 { max-width: 7.4em; font-size: clamp(44px, 5.4vw, 88px); letter-spacing: -0.045em; }
.hm-lead .lead__line { font-size: clamp(17px, 1.3vw, 19px); max-width: 30ch; }
.lead__note {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  padding: 9px 14px 9px 11px; border-radius: 18px; background: rgba(255, 255, 255, .62);
  font-size: 14px; font-weight: 500; line-height: 1.3;
}
.lead__note .i { flex: none; width: 18px; height: 18px; }
.hm-cts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.hm-ct { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: var(--tile-pad); border-radius: var(--r-tile); background: var(--tile); }
.hm-ct .ico { margin-bottom: clamp(22px, 2.4vw, 36px); }
.hm-ct__label { font-size: 14px; line-height: 1.35; color: var(--muted); }
.hm-ct__value {
  max-width: 100%; margin-top: 4px;
  font-size: clamp(20px, 1.6vw, 26px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2;
  text-decoration: none; overflow-wrap: anywhere;
}
a.hm-ct__value:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hm-ct__value--mail { font-size: clamp(18px, 1.35vw, 22px); }
.hm-ct__line { margin-top: auto; padding-top: 14px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.hm-ct__msgrs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hm-msgr {
  display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px 0 4px;
  border-radius: var(--r-pill); background: var(--page);
  font-size: 14.5px; font-weight: 500; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.hm-msgr .msgr { width: 36px; height: 36px; }
.hm-msgr .msgr .i { width: 18px; height: 18px; }
.hm-msgr:hover { background: var(--ink); color: #fff; }
@media (max-width: 1199px) { .hm-cts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) {
  .hm-lead .lead__intro .h2 { max-width: 9em; }
  .hm-lead .lead__intro { padding-bottom: 72px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22600%22 height=%2264%22 viewBox=%220 0 600 64%22%3E%3Cdefs%3E%3Cg id=%22p%22%3E%3Cpath d=%22M12 12.4c-2.7 0-5.6 3-5.6 5.5 0 1.5 1.1 2.5 2.6 2.5 1.3 0 2-.7 3-.7s1.7.7 3 .7c1.5 0 2.6-1 2.6-2.5 0-2.5-2.9-5.5-5.6-5.5Z%22/%3E%3Cellipse cx=%225.6%22 cy=%2210.6%22 rx=%221.9%22 ry=%222.4%22 transform=%22rotate(-22 5.6 10.6)%22/%3E%3Cellipse cx=%229.5%22 cy=%226.3%22 rx=%222%22 ry=%222.6%22 transform=%22rotate(-8 9.5 6.3)%22/%3E%3Cellipse cx=%2214.5%22 cy=%226.3%22 rx=%222%22 ry=%222.6%22 transform=%22rotate(8 14.5 6.3)%22/%3E%3Cellipse cx=%2218.4%22 cy=%2210.6%22 rx=%221.9%22 ry=%222.4%22 transform=%22rotate(22 18.4 10.6)%22/%3E%3C/g%3E%3C/defs%3E%3Cuse href=%22%23p%22 fill=%22rgba(255,255,255,.58)%22 transform=%22translate(6 30) scale(1.25) rotate(80 12 12)%22/%3E%3Cuse href=%22%23p%22 fill=%22rgba(173,92,48,.14)%22 transform=%22translate(96 4) scale(1.05) rotate(100 12 12)%22/%3E%3Cuse href=%22%23p%22 fill=%22rgba(255,255,255,.58)%22 transform=%22translate(186 30) scale(1.4) rotate(82 12 12)%22/%3E%3Cuse href=%22%23p%22 fill=%22rgba(173,92,48,.14)%22 transform=%22translate(276 4) scale(1.15) rotate(98 12 12)%22/%3E%3Cuse href=%22%23p%22 fill=%22rgba(255,255,255,.58)%22 transform=%22translate(366 28) scale(1.3) rotate(84 12 12)%22/%3E%3Cuse href=%22%23p%22 fill=%22rgba(173,92,48,.14)%22 transform=%22translate(456 2) scale(1.0) rotate(96 12 12)%22/%3E%3Cuse href=%22%23p%22 fill=%22rgba(255,255,255,.58)%22 transform=%22translate(540 26) scale(1.2) rotate(88 12 12)%22/%3E%3C/svg%3E") left calc(100% - 4px) / auto 54px repeat-x; }
}
@media (max-width: 560px) {
  .hm-cts { grid-template-columns: minmax(0, 1fr); }
  .hm-ct { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 18px; }
  .hm-ct .ico { grid-row: 1 / span 3; margin: 0; }
  .hm-ct > :not(.ico) { grid-column: 2; }
  .hm-ct__line { padding-top: 6px; }
  .hm-lead .lead__intro .h2 { font-size: clamp(38px, 11vw, 48px); }
  .lead__note { margin-top: 4px; }
}

/* поля */
/* формы заявки — строго одна колонка на любой ширине: каждое поле в своей строке (правка клиента 13.10) */
.form__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field__label { padding: 0; font-size: 14px; font-weight: 500; }
legend.field__label { margin-bottom: 8px; }
.input {
  width: 100%; height: 54px; padding: 0 18px;
  border-radius: 16px; border: 1px solid var(--line);
  background: var(--field); font-size: 16px; color: var(--ink);
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.input::placeholder { color: #6F6C67; }
.input:hover { border-color: var(--line-2); }
.input:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(20, 20, 20, .07); }
.input[aria-invalid="true"] { border-color: var(--err); background: #FFF8F7; }
.select {
  padding-right: 46px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 18px;
}
.field__err { font-size: 13px; line-height: 1.35; color: var(--err); }
.seg__opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg label {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 46px; padding: 0 10px; border-radius: var(--r-pill); white-space: nowrap;
  border: 1px solid var(--line-2); background: #fff;
  font-size: 14.5px; font-weight: 500; cursor: pointer; user-select: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.seg label:hover { border-color: var(--ink); }
.seg input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.seg input[aria-invalid="true"] + label { border-color: rgba(200, 55, 45, .55); }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.check input {
  -webkit-appearance: none; appearance: none; margin: 0;
  width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--line-2); background: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.check input::after {
  content: ""; width: 12px; height: 7px; border: 2px solid #fff; border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease);
}
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input[aria-invalid="true"] { border-color: var(--err); }
.check label { font-size: 13.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check a { color: var(--ink); text-underline-offset: 2px; }
.form__submit { margin-top: 22px; }
.form__hint { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--muted); }

.form-done { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; min-height: 100%; padding: 12px 0; }
.form-done:focus { outline: none; }
.form-done__title { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.form-done__ico {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mint); color: var(--ink);
}
.form-done__ico .i { width: 28px; height: 28px; stroke-width: 2.2; }

/* согласие (152-ФЗ): ссылка на политику — отдельной строкой под галочкой, не часть подписи */
.check__note { margin: -2px 0 0 36px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.field__hint { margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.check__note a { color: var(--muted); text-underline-offset: 2px; }
.check__note a:hover { color: var(--ink); }

/* ловушка для ботов (hp_note): поле есть в форме, но за краем экрана — не display:none, вне порядка Tab */
.hp { position: absolute !important; left: -10000px; top: 0; width: 1px; height: 1px; overflow: hidden; }

/* «Не получилось отправить» (рабочий режим API): под формой заявки и в модалке; форма остаётся заполненной */
.form-fail { margin-top: 14px; padding: 16px 18px; border-radius: var(--r-img); background: var(--sun-50); }
.form-fail__text { font-size: 14.5px; line-height: 1.45; }
.form-fail__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.form-fail__link {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px;
  border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff;
  font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: border-color .2s;
}
.form-fail__link:hover { border-color: var(--ink); }
.form-fail__ico { background: var(--sun); }
.modal__fail .form-fail { margin: 14px 0 24px; align-self: stretch; }

/* =========================================================
   ПОДВАЛ — компактный
   ========================================================= */
.footer { padding: var(--sec) 0 var(--pad); }
.footer__tile { padding: clamp(24px, 3vw, 44px); border-radius: var(--r-tile); background: var(--tile); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer__phone { margin-top: 10px; font-size: clamp(22px, 1.9vw, 28px); font-weight: 500; letter-spacing: -0.03em; text-decoration: none; }
.footer__info { display: grid; gap: 6px; font-size: 14.5px; }
.footer__info li { display: flex; align-items: center; gap: 10px; }
.footer__info .i { color: var(--muted); }
.footer__info a { text-decoration: none; }
.footer__info a:hover { text-decoration: underline; }
.footer__msgs { display: flex; gap: 8px; }
.footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fcol__h { margin-bottom: 14px; font-size: 14px; font-weight: 500; color: var(--muted); }
.fcol ul { display: grid; gap: 9px; }
.fcol a { font-size: 14.5px; line-height: 1.35; text-decoration: none; }
.fcol a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.footer__legal a { color: var(--ink); }

/* =========================================================
   ЛИПКАЯ ПАНЕЛЬ, МОДАЛКА, ТОСТ
   ========================================================= */
.mbar {
  position: fixed; z-index: 60;
  left: 50%; bottom: calc(10px + env(safe-area-inset-bottom));
  width: min(520px, 100% - 2 * var(--pad));
  display: none; grid-template-columns: 1fr 1fr 1.3fr; gap: 4px;
  padding: 5px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(20, 20, 20, .08);
  box-shadow: 0 16px 40px -18px rgba(20, 20, 20, .4);
  transform: translate(-50%, calc(100% + 24px));
  visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s .35s;
}
.mbar.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
.mbar__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 50px; padding: 0 8px; border-radius: var(--r-pill); border: 0;
  background: transparent; color: var(--ink); text-decoration: none;
  font-size: 14px; font-weight: 500; white-space: nowrap;
}
.mbar__btn .i { width: 18px; height: 18px; }
.mbar__btn--ink { background: var(--ink); color: #fff; }
.mbar--2 { grid-template-columns: 1fr 1fr; }   /* без контактов: «Оставить заявку» + «Узнать цену» */

.modal {
  width: min(540px, calc(100vw - 32px)); max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0; border: 0; background: transparent; color: var(--ink);
  overflow: visible;
}
.modal::backdrop { background: rgba(20, 20, 20, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .35s var(--ease); }
.modal[open]::backdrop { animation: fade-in .3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
.modal__inner {
  position: relative;
  max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(22px, 3.2vw, 34px);
  border-radius: var(--r-tile); background: #fff;
  box-shadow: var(--shadow-pop);
}
.modal__close { position: absolute; top: 14px; right: 14px; }
.modal__head { display: flex; align-items: center; gap: 16px; padding-right: 52px; margin-bottom: 22px; }
.modal__thumb { width: 72px; height: 72px; flex: none; border-radius: var(--r-img); overflow: hidden; background: var(--tone, var(--field)); }
.modal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal__thumb.is-studio img { transform: scale(1.55); transform-origin: 50% 40%; }
.modal__title { font-size: clamp(24px, 2.6vw, 30px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.modal__title:focus { outline: none; }
.modal__sub { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.modal .form__grid { gap: 14px; }
.modal__done { display: flex; flex-direction: column; align-items: flex-start; }
.modal__done .form-done__ico { margin-bottom: 18px; }
.modal__done .modal__sub { margin-bottom: 24px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120;
  width: max-content; max-width: calc(100vw - 32px);
  padding: 14px 22px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 500; text-align: center;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translate(-50%, 16px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  pointer-events: none;
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .3s var(--ease), visibility 0s; }
.modal .toast { position: fixed; }
.mbar.is-on ~ .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }

/* =========================================================
   ОБЩИЕ БЛОКИ ЭТАПА 3 (правки 13.10): карусель фото и видео, видеоотзывы, лайтбокс,
   преимущества, полоса заявки, статьи блога, полноэкранный первый экран главной
   ========================================================= */
.i--flip { transform: rotate(180deg); }

/* ---------- карусель фото и видео (media.media_carousel) — единственная лента со свайпом вбок ----------
   Вертикальные карточки 9:16, активная (по центру) чуть крупнее; стрелки, свайп, ← →, прилипание к центру */
.media-carousel { --mc-w: clamp(228px, 21vw, 300px); position: relative; }
/* главная и страницы пород v2, «Фото и видео»: карточки крупнее (правка 15.10) */
:is(.page-home, .page-breed) #foto-video .media-carousel { --mc-w: clamp(260px, 25vw, 370px); }
/* лента выходит за поля страницы до края экрана — соседние карточки уходят под край, а не обрезаются полем */
.media-carousel__viewport {
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * var(--pad));
  padding-block: 14px; margin-block: -14px; /* место для увеличенной карточки и рамки фокуса */
}
.media-carousel__viewport::-webkit-scrollbar { display: none; }
.media-carousel__viewport:focus-visible { outline-offset: -2px; }
.media-carousel__track { display: flex; gap: var(--gap); width: max-content; padding-inline: calc(50% - var(--mc-w) / 2); }
.media-carousel__item {
  flex: none; width: var(--mc-w); scroll-snap-align: center;
  transform: scale(.9); opacity: .86;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.media-carousel__item.is-active { transform: none; opacity: 1; }
.media-carousel__btn {
  position: absolute; z-index: 3; top: 50%; margin-top: -26px;
  width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center;
  background: #fff; color: var(--ink); box-shadow: 0 14px 30px -18px rgba(20, 20, 20, .45);
  transition: background-color .2s, color .2s, opacity .2s;
}
.media-carousel__btn[data-carousel-prev] { left: 6px; }
.media-carousel__btn[data-carousel-next] { right: 6px; }
@media (hover: hover) { .media-carousel__btn:hover { background: var(--ink); color: #fff; } }
.media-carousel__btn:disabled { opacity: 0; pointer-events: none; }
/* планшет и десктоп: стрелки — парой под лентой, по центру. Поверх ленты они ложились на кнопку Play и подпись
   полускрытой крайней карточки и читались как сдвоенная кнопка. Галерея щенка (.pp-car) — своя раскладка. */
@media (min-width: 561px) {
  .media-carousel:not(.pp-car) .media-carousel__nav { display: flex; justify-content: center; gap: 10px; margin-top: clamp(18px, 1.8vw, 26px); }
  .media-carousel:not(.pp-car) .media-carousel__btn { position: static; margin: 0; box-shadow: inset 0 0 0 1px var(--line-2); }
  .media-carousel:not(.pp-car) .media-carousel__btn:disabled { opacity: .4; }
}

/* отзывы и любые ленты «с начала»: без увеличения, первая карточка у левого края */
.media-carousel--reviews { --mc-w: clamp(260px, 22vw, 320px); }
.media-carousel--reviews .media-carousel__track { padding-inline: var(--pad); }
.media-carousel--reviews .media-carousel__viewport { scroll-padding-inline: var(--pad); }
.media-carousel--reviews .media-carousel__item { scroll-snap-align: start; transform: none; opacity: 1; }

.mcard {
  position: relative; isolation: isolate; overflow: hidden;
  display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0;
  border-radius: var(--r-tile); background: #E7E1D8; color: var(--ink); text-align: left;
}
.mcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
@media (hover: hover) { .mcard:hover img { transform: scale(1.04); } }
.mcard__play {
  position: absolute; z-index: 2; left: 50%; top: 50%;
  width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -16px rgba(20, 20, 20, .5);
  transition: transform .35s var(--ease);
}
.mcard__play .i { width: 24px; height: 24px; margin-left: 3px; }
@media (hover: hover) { .mcard:hover .mcard__play, .vrev__media:hover .mcard__play { transform: scale(1.08); } }
.mcard__cap {
  position: absolute; z-index: 2; left: var(--inset); right: var(--inset); bottom: var(--inset);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
  padding: 10px 14px; border-radius: var(--r-img);
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 14px; font-weight: 500; line-height: 1.3;
}
.mcard__kind { flex: none; padding: 3px 9px; border-radius: var(--r-pill); background: var(--coral-50); font-size: 12.5px; line-height: 1.3; }

/* ---------- видеоотзыв (media.video_review_card): постер 9:16, кнопка Play, текст отзыва на белой подложке ---------- */
.vrevs__ratings { margin-bottom: clamp(14px, 1.6vw, 22px); }
.vrevs__ratings .ratings { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
.vrev {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 9 / 16; border-radius: var(--r-tile); background: #E7E1D8;
}
.vrev__media { position: absolute; inset: 0; display: block; padding: 0; border: 0; background: none; border-radius: inherit; }
.vrev__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
@media (hover: hover) { .vrev__media:hover img { transform: scale(1.04); } }
.vrev__media .mcard__play { top: 14px; left: 14px; width: 52px; height: 52px; margin: 0; }
.vrev__media .mcard__play .i { width: 20px; height: 20px; }
.vrev__body {
  position: absolute; z-index: 2; left: var(--inset); right: var(--inset); bottom: var(--inset);
  display: grid; gap: 10px; padding: 16px 18px 18px; border-radius: var(--r-img);
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  pointer-events: none; /* вся карточка открывает видео */
}
.vrev .stars .i { width: 13px; height: 13px; }
.vrev__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vrev__src { font-size: 13px; line-height: 1.3; color: var(--ink-soft); text-align: right; }
.vrev__text { font-size: 15px; line-height: 1.45; letter-spacing: -0.005em; }
.vrev__who { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.25; }
.vrev__who b { display: block; font-weight: 500; }
.vrev__who span > span { font-size: 13px; color: var(--ink-soft); } /* на полупрозрачной подложке поверх фото --muted даёт < 4,5:1 */
.vrev .ava { width: 36px; height: 36px; font-size: 15px; }

/* ---------- отзыв с фото (media.photo_review_card, главная, правка 15.10): белая плитка, фото щенка, текст,
   имя и город, под ними порода. Длинный текст свёрнут до 8 строк — «Читать полностью» раскрывает только эту карточку ---------- */
.rvws { --mc-w: clamp(280px, 25vw, 360px); }
.rvws .media-carousel__track { align-items: flex-start; }
.rvw { display: flex; flex-direction: column; padding: var(--inset); border-radius: var(--r-tile); background: var(--tile); }
.rvw__media { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; border-radius: var(--r-img); background: #E7E1D8; cursor: zoom-in; }
.rvw__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
@media (hover: hover) { .rvw__media:hover img { transform: scale(1.04); } }
.rvw__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 12px 12px; }
.rvw .stars .i { width: 14px; height: 14px; }
.rvw__text { --lines: 8; font-size: 15px; line-height: 1.5; letter-spacing: -0.005em; min-height: calc(var(--lines) * 1.5em); }
.rvw__text p + p { margin-top: .55em; }
.rvw__text.is-folded { max-height: calc(var(--lines) * 1.5em); overflow: hidden; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.rvw__more { align-self: flex-start; margin-top: -4px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; cursor: pointer; }
.rvw__more:hover { text-decoration-color: currentColor; }
.rvw__who { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.3; }
.rvw__who b { display: block; font-weight: 500; }
.rvw__who span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.rvws__more { display: none; }

/* видеоотзывы стопкой: сетка на /otzyvy/ (.vrev-grid) и отзывы на телефоне. Карточка растёт по тексту:
   над белой подложкой с текстом всегда остаётся кадр высотой --vrev-photo, постер — на всю карточку */
.vrevs__more { display: none; }
.vrev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.vrev-grid > li { min-width: 0; display: flex; }
.vrev-grid .vrev, .vrev--stack { --vrev-photo: clamp(260px, 22vw, 340px); width: 100%; aspect-ratio: auto; display: flex; flex-direction: column; justify-content: flex-end; }
.vrev-grid .vrev__body, .vrev--stack .vrev__body { position: relative; inset: auto; margin: var(--vrev-photo) var(--inset) var(--inset); }
@media (max-width: 1000px) { .vrev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .vrev-grid { grid-template-columns: minmax(0, 1fr); }
  .vrev-grid .vrev { --vrev-photo: min(62vw, 300px); }

  /* правка клиента 13.10: на телефоне отзывы не листаются вбок — три карточки друг под другом, остальные — на /otzyvy/ */
  .media-carousel--reviews .media-carousel__viewport { overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
  .media-carousel--reviews .media-carousel__track { display: grid; grid-template-columns: minmax(0, 1fr); width: auto; padding: 0; }
  .media-carousel--reviews .media-carousel__item { width: auto; }
  .media-carousel--reviews .media-carousel__item:nth-child(n+4) { display: none; }
  .media-carousel--reviews .media-carousel__nav { display: none; }
  .media-carousel--reviews .vrev { --vrev-photo: min(62vw, 300px); aspect-ratio: auto; display: flex; flex-direction: column; justify-content: flex-end; }
  .media-carousel--reviews .vrev__body { position: relative; inset: auto; margin: var(--vrev-photo) var(--inset) var(--inset); }
  .vrevs__more { display: flex; margin-top: 14px; }
  /* главная, отзывы с фото: сначала четыре карточки, «Показать ещё отзывы» открывает по четыре; «Все отзывы» — когда открыты все */
  .rvws .media-carousel__item:nth-child(n+4) { display: block; }
  .rvws .media-carousel__item:nth-child(n+5):not(.is-open) { display: none; }
  .rvws ~ .rvws__more:not([hidden]) { display: flex; margin-top: 14px; }
  .rvws.has-more:not(.is-all) ~ .vrevs__more { display: none; }
  .rvws .media-carousel__track { gap: 12px; }
  .rvw__text { --lines: 7; min-height: 0; }
}

/* ---------- лайтбокс (#lightbox): фото целиком, видео — плеер или постер «Видео появится здесь» ---------- */
.lightbox {
  width: fit-content; max-width: calc(100vw - 32px); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; background: transparent; color: #fff; overflow: visible;
}
.lightbox::backdrop { background: rgba(20, 20, 20, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { animation: modal-in .35s var(--ease); }
.lightbox[open]::backdrop { animation: fade-in .3s ease; }
.lightbox__inner { position: relative; }
.lightbox__figure { display: grid; justify-items: center; gap: 12px; }
.lightbox__stage { position: relative; overflow: hidden; border-radius: var(--r-tile); background: #2A2826; }
.lightbox__img { display: block; width: auto; height: auto; max-width: calc(100vw - 32px); max-height: calc(100dvh - 96px); object-fit: contain; }
.lightbox__stage.is-video { height: min(calc(100dvh - 96px), 860px); aspect-ratio: 9 / 16; max-width: calc(100vw - 32px); }
.lightbox__stage.is-video .lightbox__img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.lightbox__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.lightbox__soon {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 24px; text-align: center;
  background: rgba(20, 20, 20, .6); color: #fff;
}
.lightbox__play { width: 72px; height: 72px; margin-bottom: 6px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--ink); }
.lightbox__play .i { width: 26px; height: 26px; margin-left: 4px; }
.lightbox__soon-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }
.lightbox__soon-line { max-width: 28ch; margin-bottom: 10px; font-size: 15px; line-height: 1.45; color: #fff; }
.lightbox__caption { max-width: 40ch; font-size: 15px; font-weight: 500; line-height: 1.35; text-align: center; color: #fff; }
.lightbox__close { position: absolute; z-index: 3; top: 12px; right: 12px; background: rgba(255, 255, 255, .94); }
.lightbox__nav { position: absolute; z-index: 3; top: calc(50% - 40px); background: rgba(255, 255, 255, .94); }
.lightbox__nav--prev { left: -64px; }
.lightbox__nav--next { right: -64px; }
@media (max-width: 760px) {
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

/* ---------- преимущества питомника (ui.advantages) ---------- */
.advs { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--gap); }
.advs--2 { --n: 2; }
.advs--4 { --n: 4; }
.advs--6 { --n: 6; }
.advs > li { min-width: 0; }
.adv {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto;
  align-items: center; column-gap: 16px; row-gap: 4px;
  padding: var(--tile-pad); border-radius: var(--r-tile); background: var(--tile);
}
.adv .ico { grid-row: 1 / 3; width: 56px; height: 56px; }
.adv .ico .i { width: 24px; height: 24px; }
.adv__title { align-self: end; font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }
.adv__line { align-self: start; font-size: 15px; line-height: 1.4; color: var(--muted); }
.advs--6 .adv, .advs--4 .adv { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; align-items: start; row-gap: 6px; }
.advs--6 .adv .ico, .advs--4 .adv .ico { grid-row: auto; margin-bottom: 14px; }

/* ---------- полоса заявки (ui.lead_band) — под каруселью или отдельно ---------- */
.lband {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center;
  gap: 20px clamp(24px, 3vw, 48px);
  margin-top: clamp(14px, 1.8vw, 24px);
  padding: clamp(22px, 2.6vw, 36px) clamp(24px, 3.4vw, 52px);
  border-radius: var(--r-tile);
  background: linear-gradient(180deg, var(--tone, var(--lilac-50)) 0 55%, var(--tone-floor, #F5F1FF) 100%);
}
.section > .lband:first-child { margin-top: 0; }
.lband__title { font-size: clamp(24px, 2.2vw, 36px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; max-width: 20ch; }
.lband__line { margin-top: 8px; font-size: 16px; line-height: 1.45; color: var(--ink-soft); max-width: 46ch; }
.lband__faces { display: flex; }
.lband__faces .face { width: clamp(56px, 4.6vw, 72px); height: clamp(56px, 4.6vw, 72px); border: 4px solid #fff; box-shadow: 0 14px 28px -18px rgba(20, 20, 20, .45); }
.lband__faces .face + .face { margin-left: -14px; }
.lband__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- статьи блога (blocks.blog_teasers) ---------- */
.bteasers { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--gap); }
.bteasers--1 { --n: 1; }
.bteasers--2 { --n: 2; }
.bteasers--4 { --n: 4; }
.bteasers > li { min-width: 0; }
.bteaser {
  position: relative; height: 100%; display: flex; flex-direction: column;
  border-radius: var(--r-tile); background: var(--tile);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.bteaser:has(.bteaser__link:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.bteaser__media { position: relative; flex: none; margin: var(--inset) var(--inset) 0; aspect-ratio: 16 / 10; border-radius: var(--r-img); overflow: hidden; background: #E7E1D8; }
.bteaser__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.bteaser__topic {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .92); font-size: 13px; font-weight: 500; white-space: nowrap;
}
.bteaser__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 16px calc(var(--tile-pad) - 4px) calc(var(--tile-pad) - 4px); }
.bteaser__title { font-size: clamp(20px, 1.6vw, 24px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.12; }
.bteaser__link { text-decoration: none; }
.bteaser__link::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: var(--r-tile); }
.bteaser__link:focus-visible { outline: none; }
.bteaser__line { margin: 8px 0 18px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.bteaser .tcta { margin-top: auto; height: 40px; padding: 0 16px 0 18px; }
@media (hover: hover) {
  .bteaser:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
  .bteaser:hover .bteaser__media img { transform: scale(1.04); }
  .bteaser:hover .tcta { background: var(--ink); color: #fff; }
  .bteaser:hover .tcta .i { transform: translateX(3px); }
}

/* ---------- первый экран главной на весь экран (.hero--full): 100svh минус шапка, не ниже 560 px ---------- */
.hero--full .hero__main { height: max(560px, calc(100svh - var(--head-h) - 30px)); }
/* десктоп: плитка на весь экран, но если текст, кнопки и плашки не помещаются (низкий экран) — растёт, а не
   вылезает за край. Кадр «четыре щенка» до 70% ширины (правка 15.10: щенки крупнее) и до 90% высоты экрана */
@media (min-width: 1001px) {
  .hero--full .hero__main {
    --pad-h: clamp(28px, 3.4vw, 52px);
    /* кадр стоит на строке плашек: поднят на нижний отступ + плашку (54) + зазор (22) */
    --lift: calc(var(--pad-h) + 76px);
    --ph: min(calc((max(560px, 100svh - var(--head-h) - 30px) - 2 * var(--pad-h) - 76px) * .92), calc(70cqw / 1.4906));
    height: auto; min-height: max(560px, calc(100svh - var(--head-h) - 30px));
    container-type: inline-size;
    display: flex; flex-direction: column;
  }
  .hero--full .hero__copy { flex: 1; height: auto; }
  .hero--full .hero__photo { bottom: var(--lift); }
  /* низ кадра гаснет в пол плитки, пол тянется до самого низа под плашками */
  .hero--full .hero__photo img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 26%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 26%, #000 92%, transparent 100%);
  }
  .hero--full .hero__floor { height: calc(var(--ph) * .16 + var(--lift)); background: linear-gradient(180deg, transparent 0, var(--tone-floor) calc(var(--ph) * .13)); }
}
@media (min-width: 1001px) and (max-width: 1199px) {
  .hm-chip { font-size: 14px; padding-right: 12px; }
  /* узкий десктоп: описание уже, чтобы не заходить на мальтипу */
  .hero .hero__sub { max-width: 33ch; }
}
/* узкий десктоп: кнопки столбиком, чтобы вторая не заходила на щенков */
@media (min-width: 1001px) and (max-width: 1199px) {
  .hero--full .hero__actions { flex-direction: column; align-items: flex-start; }
}
/* планшет: кадр во всю ширину плитки сверху (как на телефоне), под ним текст, кнопки внизу экрана */
@media (min-width: 761px) and (max-width: 1000px) {
  .hero--full .hero__main {
    height: auto; min-height: max(560px, calc(100svh - var(--head-h) - 30px));
    container-type: inline-size;
    display: flex; flex-direction: column;
    padding-top: 0;
    background: var(--tone-floor);
  }
  .hero--full .hero__floor { display: none; }
  .hero--full .hero__photo {
    position: relative; order: -1; right: auto; bottom: auto;
    width: calc(100% + 2 * clamp(28px, 3.4vw, 52px)); height: auto; margin: 0 calc(-1 * clamp(28px, 3.4vw, 52px));
    aspect-ratio: 1264 / 780;
  }
  .hero--full .hero__photo img {
    object-position: 50% 100%;
    -webkit-mask-image: linear-gradient(180deg, #000 92%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 92%, transparent 100%);
  }
  .hero--full .hero__copy { flex: 1; height: auto; }
  .hero--full .h1 { margin-top: 18px; max-width: 15ch; font-size: clamp(44px, 6.4vw, 60px); }
  .hero--full .hero__sub { max-width: 52ch; }
  .hero--full .hero__actions { flex-direction: row; }
  .hero--full .hero__photo img { transform: scale(1.1); transform-origin: 50% 100%; }
  .hm-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1199px) {
  .lband { grid-template-columns: minmax(0, 1fr) auto; }
  .lband__faces { display: none; }
  .advs--6 { --n: 3; }
  .bteasers--4 { --n: 2; }
}
@media (max-width: 1000px) {
  .advs, .advs--4, .advs--6 { --n: 2; }
}
@media (max-width: 760px) {
  /* карусель — во всю ширину экрана, карточка ≈ две трети экрана, стрелки поменьше */
  .media-carousel { --mc-w: min(64vw, 300px); }
  :is(.page-home, .page-breed) #foto-video .media-carousel { --mc-w: min(74vw, 340px); }
  .media-carousel__btn { width: 44px; height: 44px; margin-top: -22px; }
  .media-carousel__btn[data-carousel-prev] { left: 4px; }
  .media-carousel__btn[data-carousel-next] { right: 4px; }
  .media-carousel--reviews { --mc-w: min(78vw, 320px); }
  .mcard__play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }

  .advs, .advs--2, .advs--4, .advs--6 { --n: 1; }
  .adv, .advs--6 .adv, .advs--4 .adv { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; row-gap: 2px; padding: 16px 18px; }
  .adv .ico, .advs--6 .adv .ico, .advs--4 .adv .ico { grid-row: 1 / 3; width: 48px; height: 48px; margin: 0; }
  .adv .ico .i { width: 21px; height: 21px; }
  .adv__title { font-size: 19px; }
  .adv__line { font-size: 14.5px; }

  .lband { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .lband__actions .btn { flex: 1 1 100%; }

  /* статьи — компактным списком: миниатюра слева, текст справа */
  .bteasers, .bteasers--2, .bteasers--4 { --n: 1; }
  .bteaser { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: stretch; }
  .bteaser__media { margin: var(--inset) 0 var(--inset) var(--inset); aspect-ratio: auto; min-height: 112px; border-radius: 16px; }
  .bteaser__media img { position: absolute; inset: 0; }
  .bteaser__topic, .bteaser__line { display: none; }
  .bteaser__body { padding: 14px 16px 14px 14px; }
  .bteaser__title { font-size: 18px; line-height: 1.18; margin-bottom: 12px; }
  .bteaser .tcta { height: 34px; padding: 0 12px 0 14px; font-size: 13.5px; gap: 6px; }

  .hero--full .hero__main { height: auto; min-height: max(520px, calc(100svh - 90px)); }
  .hero--full .hero__photo { flex: 1 1 auto; aspect-ratio: auto; min-height: 200px; }
}

/* ---------- появление при скролле ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* =========================================================
   АДАПТИВ
   ========================================================= */

/* отзывы в узкой колонке тянутся на 5 строк — ниже 1360 рейтинги встают строкой над ними */
@media (max-width: 1359px) {
  .reviews-wrap { grid-template-columns: minmax(0, 1fr); }
  .ratings { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1199px) {
  .hero__main { height: clamp(480px, 58vw, 600px); }
  .pups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* планшет и телефон: плитки пород широкие (2 в ряд, на телефоне — по одной). Кадр — квадрат во всю высоту справа:
   верх, низ и правый край совпадают с краями плитки, левый гаснет; пол плитки — на линии пола кадра */
@media (max-width: 1199px) {
  .breeds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .breed {
    aspect-ratio: 16 / 10;
    background: linear-gradient(180deg, var(--tone-hi) 0 78%, var(--tone-floor) 97%);
  }
  .breed__top { max-width: 56%; padding-right: 0; }
  .breed__photo { left: auto; right: -10%; top: 0; bottom: 0; width: auto; height: 100%; transform: none; }
  .breed__photo img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%);
    mask-image: linear-gradient(90deg, transparent 0, #000 32%);
  }
}

@media (min-width: 1001px) and (max-width: 1199px) {
  .stat { padding: 18px 18px 18px 22px; }
  .stat__cap { white-space: nowrap; }
  /* узкие шаги: «Видеозвонок» помещается рядом с номером */
  .step { column-gap: 12px; }
  .step__num { width: 48px; height: 48px; font-size: 22px; }
  .step__title { font-size: 18px; }
}

@media (min-width: 761px) and (max-width: 1000px) {
  /* кнопки первого экрана столбиком — иначе вторая заходит на щенков */
  .hero__actions { flex-direction: column; align-items: flex-start; }
  /* «Французский бульдог» здесь в две строки — у всех плиток место под две, описания на одной высоте */
  .breed__title { min-height: 2.1em; }
}

/* «О нашем питомнике»: на планшете фото над текстом во всю ширину; цифры уже 1200 — столбиком (иконка сверху) */
@media (max-width: 1000px) {
  .hm-about { grid-template-columns: minmax(0, 1fr); }
  .hm-about__photo { order: -1; min-height: 0; aspect-ratio: 16 / 9.5; }
  .hm-about__lead { max-width: 34ch; }
}
@media (max-width: 1199px) {
  .hm-stat { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; padding: 18px 20px; }
  .hm-stat .ico { grid-column: 1; grid-row: 1; width: 40px; height: 40px; margin-bottom: 16px; }
  .hm-stat .ico .i { width: 18px; height: 18px; }
  .hm-stat__num { grid-row: 2; }
  .hm-stat__cap { grid-row: 3; }
  .hm-stat__line { grid-row: 4; }
}

@media (max-width: 1000px) {
  .stat { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; padding: 18px 20px; align-content: start; }
  .stat .ico { grid-column: 1; grid-row: 1; align-self: start; width: 40px; height: 40px; margin-bottom: 16px; }
  .stat .ico .i { width: 18px; height: 18px; }
  .stat__num { grid-row: 2; }
  .stat__cap { grid-row: 3; }
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .review { flex-direction: row; align-items: center; gap: 32px; }
  .review__text { flex: 1; }
  .review__who { margin-top: 0; flex: 0 0 270px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__aside { position: static; flex-direction: row; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; width: 100%; padding: 0 4px; }
  .lead { grid-template-columns: minmax(0, 1fr); padding: var(--inset); }
  .lead__intro { padding: clamp(16px, 3vw, 28px) clamp(16px, 3vw, 28px) 8px; }
  .lead__intro .h2 { max-width: 14ch; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .pups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mbar { display: grid; }
  body { padding-bottom: 76px; }
  html { scroll-padding-bottom: 96px; }
}

/* ---------- мобила ---------- */
@media (max-width: 760px) {
  :root { --tile-pad: 20px; }
  .sec-head { margin-bottom: 18px; }

  /* Правка клиента 13.10: на телефоне карточки НЕ листаются вбок — идут вниз по странице.
     Горизонтальный свайп остаётся только у карусели фото и видео (.media-carousel).
     Класс .scroller больше ничего не делает (оставлен в разметке для совместимости). */

  /* первый экран: щенки над текстом. Кадр во всю ширину плитки, пустая стена сверху срезана,
     нижний край кадра (пол) гаснет в цвет пола — им же залита плитка под текстом */
  .hero__main {
    height: auto; container-type: inline-size;
    display: flex; flex-direction: column;
    padding: 0 20px 22px;
    background: var(--tone-floor);
  }
  .hero__floor { display: none; }
  .hero__photo {
    position: relative; order: -1; right: auto; bottom: auto;
    width: calc(100% + 40px); height: auto; margin: 0 -20px;
    aspect-ratio: 1264 / 740;
  }
  .hero__photo img {
    object-position: 50% 100%;
    -webkit-mask-image: linear-gradient(180deg, #000 92%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 92%, transparent 100%);
  }
  .hero__copy { height: auto; margin-top: 2px; }
  .hero .h1 { margin-top: 16px; max-width: none; }
  .hero__sub { margin-top: 14px; font-size: 16px; }
  .hero__actions { margin-top: 0; padding-top: 22px; width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  /* щенки крупнее (правка 15.10): кадр увеличен от нижнего края, пустая стена по бокам уходит за край плитки */
  .hero__photo img { transform: scale(1.16); transform-origin: 50% 100%; }
  .hm-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 18px; }
  .hm-chip { min-height: 50px; padding: 7px 10px 7px 7px; gap: 8px; border-radius: 18px; font-size: 13.5px; }
  .hm-chip__ico { width: 30px; height: 30px; }
  .hm-chip__ico .i { width: 16px; height: 16px; }

  .stat { padding: 18px; }

  .hm-about__txt { padding: 22px 20px 20px; }
  .hm-about__lead { font-size: 21px; line-height: 1.3; }
  .hm-about__cta { width: 100%; }
  .hm-about__photo { aspect-ratio: 4 / 3.3; }
  .hm-about__list { gap: 14px; margin: 18px 0 22px; }
  .hm-about__list li { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; font-size: 15px; }
  .hm-about__ico { width: 32px; height: 32px; }
  .hm-about__ico .i { width: 16px; height: 16px; }
  .hm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-stat { padding: 16px; }
  .hm-stat__num { font-size: 32px; }
  .hm-stat__cap { margin-top: 6px; font-size: 14.5px; }
  .hm-stat__line { margin-top: 10px; padding-top: 10px; font-size: 13px; }

  .breeds { grid-template-columns: minmax(0, 1fr); }
  .breed { aspect-ratio: 16 / 11; }
  .breed__top { max-width: 58%; }
  .breed__title { min-height: 0; }

  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { column-gap: 16px; row-gap: 2px; padding: 18px; }
  .step__num { grid-row: 1 / 3; width: 48px; height: 48px; font-size: 22px; }
  .step__title { font-size: 19px; align-self: end; }
  .step__text { grid-column: 2; align-self: start; font-size: 14.5px; }

  .ratings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rating { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px; border-radius: 22px; }
  .rating__num { font-size: 28px; }
  .rating__txt { font-size: 12.5px; }
  .rating__txt > span:last-child { white-space: nowrap; }
  .review { height: 100%; flex-direction: column; align-items: stretch; gap: 24px; }
  .review__who { margin-top: auto; flex: none; }
  .review__text { font-size: 16px; }

  .faq__btn { padding: 18px 0; }
  .faq__a p { padding-right: 0; }

  .lead__box { padding: 20px; }
  .seg__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg label { padding: 0 6px; font-size: 14px; gap: 6px; }

  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__nav .fcol:last-child { grid-column: 1 / -1; }
  .footer__legal { flex-direction: column; }

  /* модалка — шторка снизу */
  .modal {
    width: 100%; max-height: calc(100dvh - 24px);
    margin: auto 0 0;
  }
  .modal[open] { animation: sheet-in .4s var(--ease); }
  .modal__inner { max-height: calc(100dvh - 24px); border-radius: var(--r-tile) var(--r-tile) 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); }
  .modal__head { gap: 12px; }
  .modal__thumb { width: 60px; height: 60px; border-radius: 16px; }
}
@keyframes sheet-in { from { transform: translateY(100%); } }

/* карточки щенков на узком телефоне — по одной в ряд, кадр чуть шире, чтобы карточка не была выше экрана */
@media (max-width: 560px) {
  .pups { grid-template-columns: minmax(0, 1fr); }
  .pups .pup__media { aspect-ratio: 1 / .86; }
}

/* телефон: подвал — одна колонка, каждая ссылка своей строкой высотой 46 px с разделителем, удобно нажимать (правка 15.10) */
@media (max-width: 560px) {
  .footer__nav { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer__nav .fcol:last-child { grid-column: auto; }
  .fcol__h { margin-bottom: 4px; }
  .fcol ul { gap: 0; }
  .fcol li + li { border-top: 1px solid var(--line); }
  .fcol a { display: flex; align-items: center; min-height: 46px; padding: 6px 0; font-size: 16px; }
  .footer__info { gap: 10px; font-size: 15px; }
  .footer__msgs .msgr { width: 48px; height: 48px; }
}

@media (max-width: 560px) {
  /* телефон: номер своей строкой, три мессенджера — рядом под ним */
  .lead__phone { flex-basis: 100%; margin-right: 0; }
  /* первый экран главной на телефоне (правка 15.10): текст уменьшается вместе с шириной экрана —
     на 390 заголовок ≈ 37 px, на 360 ≈ 34, на 320 — 30; щенки остаются по центру кадра */
  .hero .h1 { font-size: clamp(28px, 9.4vw, 40px); }
  .hero .hero__sub { font-size: clamp(14px, 3.9vw, 16px); }
  .hero .eyebrow { height: 30px; padding: 0 12px; font-size: clamp(12.5px, 3.4vw, 14px); }
  .hm-chip { font-size: clamp(12.5px, 3.4vw, 13.5px); }
}

@media (max-width: 380px) {
  .seg label .i { display: none; }
  .ratings { gap: 6px; }
  .rating { padding: 12px; }
}

/* ---------- меньше движения ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* =========================================================
   КАРТОЧКА ЩЕНКА — одна на весь сайт (cards.puppy_card): каталог, «Похожие щенки», ленты «Щенки в наличии»,
   хабы пород, сравнения. Основа — .pup выше; две кнопки «Смотреть щенка» + «Узнать цену» (правки 13.10)
   ========================================================= */
/* фото — тоже ссылка на страницу щенка (дубль ссылки в имени, вне порядка табуляции) */
.ct-card__media { display: block; color: inherit; text-decoration: none; }
/* живые (лайфстайл) фото: обрезка по центру чуть ниже середины — собака обычно в нижней половине кадра;
   своя точка — "pos" у фото в puppies.json (или класс pup__img--…) */
.ct-card--life .pup__media img:not([class]):not([style]) { object-position: 50% 60%; }

/* «Мальтипу · 12 недель · девочка»: части не рвутся, точка остаётся в конце строки (разметка — в шаблоне) */
.ct-card .pup__meta span { white-space: nowrap; }

/* «В избранное» — в углу фото, не отнимает место у кнопок */
.ct-card__fav { position: absolute; z-index: 3; top: calc(var(--inset) + 10px); right: calc(var(--inset) + 10px); width: 44px; height: 44px; }

/* «Смотреть щенка» + «Узнать цену»: в ряд, а в узкой карточке — друг под другом */
.ct-card__body { container-type: inline-size; }
.ct-card__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; }
.ct-card__actions .btn { flex: 1 1 auto; height: 46px; padding: 0 14px; font-size: 14.5px; }
.ct-card__more { background: rgba(255, 255, 255, .8); border-color: transparent; }
.ct-card__more:hover { background: #fff; border-color: var(--ink); }
@container (max-width: 259px) {
  .ct-card__actions { flex-direction: column; }
  .ct-card__actions .btn { flex: none; width: 100%; }
}

/* =========================================================
   ТЕЛЕФОН ≤ 560 px: карточка — компактной строкой (как щенки породы на хабах):
   фото слева в белой плитке, кличка, возраст и две кнопки справа. 19 щенков — около 4000 px, а не 9000
   ========================================================= */
@media (max-width: 560px) {
  .ct-card { flex-direction: row; align-items: stretch; background: var(--tile); }
  .ct-card .pup__media {
    flex: none; width: 42%; aspect-ratio: auto; min-height: 176px; margin: 8px 0 8px 8px;
    clip-path: none; border-radius: var(--r-img); overflow: hidden;
  }
  .ct-card .pup__media img { inset: 0; width: 100%; height: 100%; border-radius: 0; }
  .ct-card .pup__media--studio { background: var(--tone); }
  .ct-card .pup__media--studio img { object-position: 50% 100%; -webkit-mask-image: none; mask-image: none; }
  .ct-card .pup__img--charli, .ct-card .pup__img--tessa { transform: none; }
  .ct-card .status { top: auto; bottom: 8px; left: 8px; height: 26px; padding: 0 10px 0 9px; gap: 6px; font-size: 12px; }
  .ct-card__body { min-width: 0; padding: 14px 14px 14px 16px; }
  .ct-card .pup__name { padding-right: 40px; font-size: 22px; }
  .ct-card .pup__meta { font-size: 13px; }
  .ct-card__fav { top: 10px; right: 10px; width: 40px; height: 40px; background: var(--page); }
  .ct-card__actions { flex-direction: column; gap: 6px; padding-top: 12px; }
  .ct-card__actions .btn { flex: none; width: 100%; height: 42px; }
  .ct-card__more { background: var(--page); }

  /* «Ждёте другого щенка?» — мордочки в ряд внахлёст, плитка по содержимому */
  .pups .soon-tile { min-height: 0; gap: 14px; padding: 22px 18px; }
  .pups .soon-tile__faces { display: flex; }
  .pups .soon-tile__faces .face { width: 56px; height: 56px; border: 3px solid var(--sun-50); }
  .pups .soon-tile__faces .face + .face { margin-left: -12px; }
}
