/* =========================================================
   Шаблон бізнес-сайту · оформлення
   Кольори та шрифти змінюються в одному місці — блок :root нижче.
   Макет: стрічки на всю ширину, текст у колонці до 1120px.
   ========================================================= */

:root {
  --bg: #f1f0e6;          /* фон сторінки (м'який шавлієвий) */
  --surface: #fbfaf4;     /* картки, форма */
  --ink: #2a251f;         /* основний текст (кавовий) */
  --muted: #6b6457;       /* другорядний текст */
  --line: #ddd9c8;        /* лінії, рамки */
  --accent: #c8722a;      /* абрикосовий акцент: кнопки, ціни */
  --accent-ink: #ffffff;  /* текст на акценті */
  --deep: #3d5538;        /* темно-зелений: стрічки, підвал */
  --deep-ink: #f3f1e6;    /* текст на темно-зеленому */
  --photo: #e2dccb;       /* фон заглушок фото */
  --ok: #3f7d3a;          /* статус «вільний» */
  --hold: #b0661b;        /* статус «заброньований» */
  --shadow: #d9d4c1;      /* тіні під тваринами */
  --ground: #e6e4d4;      /* «підлога» сцени на головному екрані */

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --max: 1120px;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1d1f19; --surface: #262920; --ink: #ece8dc; --muted: #aaa391;
    --line: #3a3d32; --accent: #e08a3f; --accent-ink: #1d1f19;
    --deep: #2c3d29; --deep-ink: #ece8dc; --photo: #34372c; --ok: #8fc985; --hold: #e8a45e; --shadow: #15170f; --ground: #24271e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1d1f19; --surface: #262920; --ink: #ece8dc; --muted: #aaa391;
  --line: #3a3d32; --accent: #e08a3f; --accent-ink: #1d1f19;
  --deep: #2c3d29; --deep-ink: #ece8dc; --photo: #34372c; --ok: #8fc985; --hold: #e8a45e; --shadow: #15170f; --ground: #24271e;
  color-scheme: dark;
}

/* ---------- база ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }

/* мовний перемикач: показуємо лише текст обраної мови */
html[data-lang="uk"] [lang="en"]:not(html) { display: none !important; }
html[data-lang="en"] [lang="uk"]:not(html) { display: none !important; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { display: grid; gap: 10px; margin-bottom: 36px; max-width: 40rem; }
.eyebrow {
  font-size: var(--step--1); font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
}
.section-head h2 { font-size: var(--step-2); }
.lead { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid var(--accent);
  background: var(--accent); color: var(--accent-ink);
  font: 800 var(--step-0)/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }

/* ---------- примітка шаблону (видаліть, коли вставите свої дані) ---------- */
.demo-note {
  background: var(--deep); color: var(--deep-ink);
  font-size: var(--step--1); text-align: center; padding-block: 8px;
}

/* ---------- шапка ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg);
}
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 20px; padding-block: 14px; }
.logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  text-decoration: none; display: flex; align-items: center; gap: 10px; margin-right: auto;
}
.logo-mark {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; color: var(--accent-ink);
}
.logo-mark svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 700; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.lang {
  display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px;
}
.lang button {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font: 800 var(--step--1)/1 var(--font-body); padding: 7px 11px; border-radius: 999px;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.menu-btn {
  display: none; border: 1px solid var(--line); background: transparent; color: var(--ink);
  border-radius: 10px; padding: 8px 12px; font: 800 var(--step--1) var(--font-body); cursor: pointer;
}

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .nav.open { display: flex; }
  .nav a { padding-block: 14px; border-top: 1px solid var(--line); }
}

/* ---------- головний екран ---------- */
.hero .wrap { padding-block: clamp(32px, 5vw, 56px) 0; }
.hero-text { max-width: 44rem; }
.hero-scene { background: linear-gradient(to bottom, transparent 68%, var(--ground) 68%); }
.scene-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.scene-scroll::-webkit-scrollbar { display: none; }
.hero-scene-inner {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.hero-pets { display: block; width: 100%; min-width: 900px; height: auto; margin-top: clamp(-48px, -3vw, 0px); }
.hero-text { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-size: var(--step-3); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: var(--step-1); color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 8px; }
.hero-facts div { display: grid; }
.hero-facts b { font-family: var(--font-display); font-size: var(--step-2); }
.hero-facts div > span { color: var(--muted); font-size: var(--step--1); }

/* заглушка для фото: замініть на <img src="images/…"> */
.photo {
  position: relative; border-radius: 28px 28px 120px 28px; aspect-ratio: 4 / 5; max-width: 100%;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 55%),
    radial-gradient(circle at 75% 70%, color-mix(in srgb, var(--deep) 40%, transparent), transparent 60%),
    var(--photo);
  display: grid; place-items: end start; padding: 20px; overflow: hidden;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo small {
  position: relative; background: var(--surface); color: var(--muted);
  padding: 6px 12px; border-radius: 999px; font-size: var(--step--1); font-weight: 700;
}

@media (max-width: 820px) {
  .photo { aspect-ratio: 4 / 3; border-radius: 24px 24px 80px 24px; }
}

/* ---------- послуги ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: grid; gap: 12px; align-content: start;
}
.service-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent);
}
.service-icon svg { width: 28px; height: 28px; }
.service h3 { font-size: var(--step-1); }
.service p { color: var(--muted); }
.service .from { font-weight: 800; color: var(--ink); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }

/* ---------- про нас ---------- */
.about { background: var(--deep); color: var(--deep-ink); }
.about .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about .photo { aspect-ratio: 1; border-radius: 50%; }
.about-text { display: grid; gap: 18px; min-width: 0; }
.about h2 { font-size: var(--step-2); }
.about .eyebrow { color: color-mix(in srgb, var(--accent) 70%, var(--deep-ink)); }
.about p { opacity: .88; max-width: 38rem; }
.about ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.about li { display: flex; gap: 10px; }
.about li::before { content: "✓"; color: var(--accent); font-weight: 900; }
@media (max-width: 820px) {
  .about .wrap { grid-template-columns: 1fr; }
  .about .photo { max-width: 280px; }
}


/* ---------- як замовити ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; gap: 8px; padding-top: 18px; border-top: 3px solid var(--accent); counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--font-display); font-size: var(--step-2); color: var(--accent); }
.steps b { font-size: var(--step-1); }
.steps p { color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- відгуки ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: grid; gap: 14px; align-content: space-between;
}
.review blockquote { margin: 0; }
.review figcaption { font-weight: 800; }
.review figcaption span { display: block; color: var(--muted); font-weight: 600; font-size: var(--step--1); }
.stars { color: var(--accent); letter-spacing: 2px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- контакти + форма ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 56px); }
.contact-list { display: grid; gap: 18px; align-content: start; min-width: 0; }
.contact-item { display: grid; gap: 2px; }
.contact-item > span { color: var(--muted); font-size: var(--step--1); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.contact-item b { font-size: var(--step-1); word-break: break-word; }
.msg-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.msg-links .copy { margin-top: 0; }
a.copy { text-decoration: none; display: inline-block; }
.copy:hover { color: var(--ink); border-color: var(--accent); }
.copy {
  justify-self: start; margin-top: 4px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); border-radius: 999px; padding: 4px 12px; cursor: pointer;
  font: 700 var(--step--1) var(--font-body);
}
.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px); display: grid; gap: 16px; min-width: 0;
}
.form h3 { font-size: var(--step-1); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: var(--step--1); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font: inherit;
}
.field textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg {
  padding: 12px 14px; border-radius: 10px;
  background: color-mix(in srgb, var(--deep) 18%, transparent); font-weight: 700;
}
@media (max-width: 820px) {
  .contact { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
}

/* ---------- підвал ---------- */
.footer { background: var(--deep); color: var(--deep-ink); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-block: 28px; font-size: var(--step--1); }
.footer a { opacity: .85; }

/* ---------- фільтр і картки малюків ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter button {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 9px 18px; cursor: pointer; font: 800 var(--step--1) var(--font-body);
}
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.pets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pet {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: grid; grid-template-rows: auto 1fr;
}
.pet-photo { aspect-ratio: 4 / 3; border-radius: 0; }
.pet-body { padding: 20px; display: grid; gap: 8px; align-content: start; }
.pet h3 { font-size: var(--step-1); }
.breed { color: var(--muted); }
.status {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--step--1); font-weight: 800; padding: 4px 10px; border-radius: 999px;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.free { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.status.hold { color: var(--hold); background: color-mix(in srgb, var(--hold) 14%, transparent); }
.pet-meta { margin: 4px 0 0; display: grid; gap: 4px; }
.pet-meta div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); padding-top: 6px; }
.pet-meta dt { color: var(--muted); }
.pet-meta dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 1000px) { .pets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pets { grid-template-columns: 1fr; } }

/* ---------- батьки ---------- */
.parents-wrap { display: block !important; }
.parents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.parent { display: grid; gap: 6px; justify-items: center; text-align: center; }
.about .parent .photo.round { width: 100%; max-width: 180px; aspect-ratio: 1; border-radius: 50%; padding: 0; }
.parent h3 { font-size: 1.05rem; margin-top: 8px; }
.parent p { opacity: .85; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: var(--step--1); }
.tags span { border: 1px solid color-mix(in srgb, var(--deep-ink) 30%, transparent); border-radius: 999px; padding: 2px 10px; }
@media (max-width: 900px) { .parents { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- тваринки-кнопки на головному екрані ---------- */
.hero .scene-hint { color: var(--muted); font-size: var(--step--1); font-weight: 700; margin-top: 18px; max-width: none; }
.pet-fig { cursor: pointer; outline: none; }
.pet-bounce { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .2s ease; }
.pet-fig:hover .pet-bounce { transform: translateY(-6px); }
.pet-fig:focus-visible .pet-bounce { filter: drop-shadow(0 0 6px var(--accent)); }
.pet-fig.jump .pet-bounce { animation: jump .7s cubic-bezier(.3,.7,.4,1); }
@keyframes jump {
  0%   { transform: translateY(0) scale(1, 1); }
  15%  { transform: translateY(0) scale(1.08, .9); }
  45%  { transform: translateY(-60px) scale(.96, 1.06); }
  70%  { transform: translateY(0) scale(1.06, .92); }
  85%  { transform: translateY(-10px) scale(1, 1); }
  100% { transform: translateY(0) scale(1, 1); }
}
@media (prefers-reduced-motion: reduce) {
  .pet-fig.jump .pet-bounce { animation: none; }
  .pet-bounce { transition: none; }
}

/* ---------- швидка заявка ---------- */
.quick { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.quick-backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 45%, transparent); }
.quick-card {
  position: relative; width: min(420px, 100%); background: var(--surface); color: var(--ink);
  border-radius: 20px; padding: 28px; display: grid; gap: 14px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--ink) 30%, transparent);
  animation: pop .25s ease;
}
.quick-card h3 { font-size: var(--step-2); }
.quick-card .field input { background: var(--bg); }
.quick-x {
  position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: transparent; color: var(--muted); font-size: 1.6rem; cursor: pointer;
}
@keyframes pop { from { transform: translateY(12px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .quick-card { animation: none; } }

.pet-label { fill: var(--ink); font-family: var(--font-body); font-weight: 800; font-size: 19px; }
@media (max-width: 800px) { .pet-label { font-size: 19px; } }
.swipe-hint { display: none; }
@media (max-width: 800px) { .swipe-hint { display: inline; } }

/* ---------- посилання на соцмережі ---------- */
.social { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.social b { font-size: var(--step-1); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.social:hover b { color: var(--accent); }
.tt-icon { width: 22px; height: 22px; flex: none; }
.footer .tt-icon { width: 16px; height: 16px; }
.social-note { color: var(--muted); }
.map-link { margin-top: 6px; }

/* ---------- картки порід ---------- */
.breeds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1060px) { .breeds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .breeds { grid-template-columns: 1fr; } }
.breed-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: grid; grid-template-rows: auto 1fr;
}
.breed-art {
  background: linear-gradient(to bottom, color-mix(in srgb, var(--accent) 10%, var(--surface)) 74%, var(--ground) 74%);
  display: grid; place-items: center; padding-top: 12px;
}
.breed-art svg { width: 62%; max-width: 200px; height: auto; display: block; }
.breed-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.breed-body .pet-meta { margin-top: auto; padding-top: 6px; }
.breed-type { font-size: var(--step--1); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.breed-body h3 { font-size: var(--step-1); }
.breed-body > p { color: var(--muted); }
.btn.small { padding: 11px 18px; font-size: var(--step--1); align-self: flex-start; margin-top: 6px; }

/* ---------- блок «Що ви отримуєте» на темному тлі ---------- */
.included-wrap { display: block !important; }
.about .service { background: color-mix(in srgb, var(--deep-ink) 8%, transparent); border-color: color-mix(in srgb, var(--deep-ink) 18%, transparent); color: var(--deep-ink); }
.about .service p { color: color-mix(in srgb, var(--deep-ink) 80%, transparent); opacity: 1; }
.about .service-icon { background: color-mix(in srgb, var(--accent) 25%, transparent); }

/* ---------- TikTok ---------- */
.tiktok-band { padding-top: 0; }
.tiktok-wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding-block: clamp(24px, 4vw, 40px);
}
.tiktok-text { display: grid; gap: 10px; max-width: 36rem; min-width: 0; }
.tiktok-text h2 { font-size: var(--step-2); }
.tiktok-text p { color: var(--muted); }
.tiktok-wrap .btn .tt-icon { width: 20px; height: 20px; }
@media (min-width: 821px) { .tiktok-wrap { padding-left: 40px; padding-right: 40px; } }

/* ---------- питання ---------- */
.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 800; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font: 700 1.4rem/1 var(--font-display); color: var(--accent);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 20px 18px; color: var(--muted); max-width: 44rem; }

/* ---------- згода на обробку даних ---------- */
.consent { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }

/* ---------- фото в картках порід ---------- */
.breed-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.breed-art svg { height: 92%; width: auto; max-width: 70%; align-self: end; }
.breed-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- заголовок головного екрана ---------- */
:root { --font-hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive; }
.hero .hero-title {
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem);
  line-height: 1.02; letter-spacing: -0.02em; padding-bottom: 0.18em;
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.28em; row-gap: 0.05em;
}
.hero-title .brand { font-weight: 800; color: var(--ink); }
.hero-title .joiner { font-family: var(--font-body); font-weight: 600; font-size: 0.42em; color: var(--muted); letter-spacing: 0; }
.hero-title .hand {
  position: relative; font-family: var(--font-hand); font-style: normal; font-weight: 700;
  font-size: 1.22em; color: var(--accent); letter-spacing: 0; line-height: 1;
  display: inline-block; transform: rotate(-3deg); padding-right: 0.7em;
}
.hero-title .hand::after {          /* маленька лапка після слів */
  content: ""; position: absolute; right: 0; top: 0.08em; width: 0.5em; height: 0.5em;
  background: currentColor; opacity: .85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='6.5' cy='9' rx='2' ry='2.6'/%3E%3Cellipse cx='10.5' cy='5.6' rx='2' ry='2.6'/%3E%3Cellipse cx='15' cy='5.6' rx='2' ry='2.6'/%3E%3Cellipse cx='18.8' cy='9.4' rx='2' ry='2.6'/%3E%3Cpath d='M12.5 11c3 0 5.5 3.5 5.5 6 0 2-1.6 2.8-3 2.4-1-.3-1.6-.8-2.5-.8s-1.5.5-2.5.8c-1.4.4-3-.4-3-2.4 0-2.5 2.5-6 5.5-6z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='6.5' cy='9' rx='2' ry='2.6'/%3E%3Cellipse cx='10.5' cy='5.6' rx='2' ry='2.6'/%3E%3Cellipse cx='15' cy='5.6' rx='2' ry='2.6'/%3E%3Cellipse cx='18.8' cy='9.4' rx='2' ry='2.6'/%3E%3Cpath d='M12.5 11c3 0 5.5 3.5 5.5 6 0 2-1.6 2.8-3 2.4-1-.3-1.6-.8-2.5-.8s-1.5.5-2.5.8c-1.4.4-3-.4-3-2.4 0-2.5 2.5-6 5.5-6z'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(18deg);
}
.hero-title .swash {
  position: absolute; left: 0; right: 0.7em; bottom: -0.12em; width: calc(100% - 0.7em); height: 0.2em;
  color: var(--accent); opacity: .55; overflow: visible;
}
.hero-title .swash path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s .35s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-title .swash path { animation: none; stroke-dashoffset: 0; } }

/* ---------- доставка ---------- */
.tag-soft {
  display: inline-block; vertical-align: middle; margin-left: 6px;
  font: 800 var(--step--1)/1 var(--font-body); letter-spacing: .02em;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent);
  padding: 7px 12px; border-radius: 999px;
}
.delivery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.delivery-opt {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: grid; gap: 10px; align-content: start;
}
.delivery-opt h3 { font-size: var(--step-1); }
.delivery-opt p { color: var(--muted); }
.delivery-cta { margin-top: 22px; }
@media (max-width: 900px) { .delivery-grid { grid-template-columns: 1fr; } }
@media (max-width: 1000px) and (min-width: 821px) { .nav { gap: 14px; } }

/* ---------- галерея фото в картці породи ---------- */
.gallery { cursor: zoom-in; }
.gallery .breed-photo { opacity: 0; transition: opacity .35s ease; object-position: 50% 42%; }
.gallery .breed-photo.is-active { opacity: 1; }
.gal-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: color-mix(in srgb, #fff 82%, transparent); color: #2a251f;
  font: 700 1.4rem/1 var(--font-body); display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.18); opacity: .9;
}
.gal-prev { left: 10px; } .gal-next { right: 10px; }
.gal-btn:hover { opacity: 1; }
.gal-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.gal-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.gal-dot.is-active { background: #fff; width: 20px; border-radius: 4px; }
.gal-zoom {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; font-size: 1rem; color: #2a251f; background: color-mix(in srgb, #fff 82%, transparent);
}

/* ---------- перегляд фото на весь екран ---------- */
.lightbox { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(20, 18, 15, .88); }
.lightbox-body { position: relative; margin: 0; display: grid; gap: 10px; justify-items: center; max-width: 100%; }
.lightbox-body img { max-width: min(92vw, 720px); max-height: 82vh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox-body figcaption { color: #f3f1e6; font-weight: 700; font-size: var(--step--1); }
.lb-btn, .lb-close {
  position: absolute; border: 0; cursor: pointer; border-radius: 50%; width: 44px; height: 44px;
  background: rgba(255,255,255,.9); color: #2a251f; font: 700 1.6rem/1 var(--font-body); display: grid; place-items: center;
}
.lb-prev { left: -22px; top: 45%; } .lb-next { right: -22px; top: 45%; }
.lb-close { top: -14px; right: -14px; width: 40px; height: 40px; }
@media (max-width: 600px) { .lb-prev { left: 6px; } .lb-next { right: 6px; } .lb-close { top: 6px; right: 6px; } }

/* ---------- TikTok на головному екрані ---------- */
.tt-chip {
  --tt-ink: #111111;
  justify-self: start; display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 18px 10px 10px; border-radius: 18px; text-decoration: none;
  background: var(--tt-ink); color: #fff; max-width: 100%;
  box-shadow: -3px -3px 0 #25f4ee, 3px 3px 0 #fe2c55;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tt-chip:hover { transform: translateY(-2px); box-shadow: -4px -4px 0 #25f4ee, 4px 4px 0 #fe2c55; }
.tt-chip-icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--tt-ink); display: grid; place-items: center; flex: none; }
.tt-chip-icon .tt-icon { width: 24px; height: 24px; }
.tt-chip-text { display: grid; gap: 2px; min-width: 0; }
.tt-chip-text b { font-size: 1rem; line-height: 1.2; }
.tt-chip-text small { font-size: var(--step--1); color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fe2c55; box-shadow: 0 0 0 0 rgba(254,44,85,.6); animation: live 1.8s infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(254,44,85,.6); } 70% { box-shadow: 0 0 0 8px rgba(254,44,85,0); } 100% { box-shadow: 0 0 0 0 rgba(254,44,85,0); } }
.tt-chip-go { font-weight: 900; font-size: 1.2rem; margin-left: 4px; transition: transform .18s ease; }
.tt-chip:hover .tt-chip-go { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } .tt-chip, .tt-chip-go { transition: none; } }

/* значок TikTok у шапці */
.tt-head {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
  color: var(--ink); border: 1px solid var(--line); text-decoration: none;
}
.tt-head:hover { color: var(--accent); border-color: var(--accent); }
.tt-head .tt-icon { width: 18px; height: 18px; }
.logo { white-space: nowrap; }
@media (max-width: 480px) { .header .wrap { gap: 10px; } .logo { font-size: 1.05rem; gap: 8px; } }

/* TikTok у правому куті головного екрана */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: start; }
.hero-corner { padding-top: 0; margin-top: -28px; margin-right: 64px; }
.hero-corner .tt-chip { flex-direction: row; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 14px; max-width: 250px; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.hero-corner .tt-chip-icon { width: 34px; height: 34px; border-radius: 9px; }
.hero-corner .tt-chip-icon .tt-icon { width: 20px; height: 20px; }
.hero-corner .tt-chip-text b { font-size: .92rem; }
.hero-corner .tt-chip-text small { font-size: .75rem; }
.hero-corner .tt-chip-go { font-size: 1rem; }
.hero-corner .tt-chip { position: relative; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-corner { padding-top: 18px; margin: 0; }
  .hero-corner .tt-chip { max-width: 100%; }
}

/* ---------- вікно «Заявку прийнято» ---------- */
.done { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.done-backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 50%, transparent); }
.done-card {
  position: relative; width: min(400px, 100%); background: var(--surface); color: var(--ink);
  border-radius: 24px; padding: 32px 28px 26px; display: grid; gap: 12px; justify-items: center; text-align: center;
  box-shadow: 0 24px 70px color-mix(in srgb, var(--ink) 35%, transparent); animation: pop .3s ease;
}
.done-check { width: 76px; height: 76px; color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); border-radius: 50%; display: grid; place-items: center; }
.done-check svg { width: 52px; height: 52px; }
.done-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .15s ease-out forwards; }
.done-card h3 { font-size: var(--step-2); }
.done-card p { color: var(--muted); max-width: 30ch; }
.done-card .done-breed { color: var(--accent); font-weight: 800; }
.done-card .btn { margin-top: 8px; min-width: 160px; }
@media (prefers-reduced-motion: reduce) { .done-card { animation: none; } .done-check path { animation: none; stroke-dashoffset: 0; } }

/* ---------- сторінка «Відео» ---------- */
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.videos-hero { padding-bottom: 32px; }
.video-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.video-actions .tt-icon { width: 18px; height: 18px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.video-card {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: grid;
}
.video-card iframe, .video-card video { width: 100%; max-width: 100%; border: 0; display: block; background: #000; }
.video-card.is-vertical iframe { aspect-ratio: 9 / 16; min-height: 560px; }
.video-card.is-wide iframe { aspect-ratio: 16 / 9; }
.video-card.is-file video { aspect-ratio: 9 / 16; object-fit: contain; max-height: 640px; }
.video-card figcaption { padding: 12px 16px; font-weight: 700; }
.video-empty {
  display: grid; justify-items: center; text-align: center; gap: 12px;
  padding: clamp(32px, 6vw, 64px) 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius);
}
.video-empty[hidden] { display: none; }
.video-empty-icon { width: 64px; height: 64px; border-radius: 18px; background: #111; color: #fff; display: grid; place-items: center;
  box-shadow: -3px -3px 0 #25f4ee, 3px 3px 0 #fe2c55; }
.video-empty-icon .tt-icon { width: 30px; height: 30px; }
.video-empty h3 { font-size: var(--step-1); }
.video-empty p { color: var(--muted); }

/* ---------- анімований парк на головному екрані ---------- */
:root {
  --pk-sky1: #3f97cf; --pk-sky2: #9fd0ea; --pk-glow: #d3ecf7; --pk-sun: #f6c453; --pk-cl: #ffffff;
  --pk-hill2: #a9cf8e; --pk-hill1: #8cbf6e; --pk-tree: #5f9a4c; --pk-tree2: #4e8840; --pk-trunk: #7a5232;
  --pk-path: #e9dcc0; --pk-wood: #a86f3d; --pk-iron: #4a4038; --pk-bird: #5b5348;
  --pk-skin: #f0c7a0; --pk-hair: #4b3424; --pk-hair2: #c98a3d; --pk-shirt: #e4572e; --pk-shirt2: #3d7ea6; --pk-shirt3: #f2b134;
  --pk-pants: #3c4a5c; --pk-pants2: #6a5acd; --pk-cat: #e9c27c; --pk-ball: #e4572e;
}
.hero { position: relative; overflow: hidden; background: linear-gradient(var(--pk-sky1), var(--pk-sky2));
  /* денний парк: на головному екрані завжди світлі кольори тексту */
  --bg: #f1f0e6; --surface: #fbfaf4; --ink: #221d18; --muted: #3a342b; --line: #d9d4c2;
  --accent: #c8722a; --accent-ink: #ffffff; --shadow: #d9d4c1; --ground: #e6e4d4;
  color-scheme: light; color: var(--ink); }
.hero > .wrap, .hero > .hero-scene { position: relative; z-index: 1; }
.hero-scene { background: none; }
.park { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.park-svg { width: 100%; height: 100%; display: block; }
.pk-sky1 { stop-color: var(--pk-sky1); } .pk-sky2 { stop-color: var(--pk-sky2); } .pk-glow { stop-color: var(--pk-glow); }
.pk-sun { fill: var(--pk-sun); } .pk-cl { fill: var(--pk-cl); } .pk-hill1 { fill: var(--pk-hill1); } .pk-hill2 { fill: var(--pk-hill2); }
.pk-tree { fill: var(--pk-tree); } .pk-tree2 { fill: var(--pk-tree2); } .pk-trunk { fill: var(--pk-trunk); } .pk-path { fill: var(--pk-path); }
.pk-wood { fill: var(--pk-wood); } .pk-iron { fill: var(--pk-iron); } .pk-bird { stroke: var(--pk-bird); }
.pk-skin { fill: var(--pk-skin); } .pk-hair { fill: var(--pk-hair); } .pk-hair2 { fill: var(--pk-hair2); }
.pk-shirt { fill: var(--pk-shirt); } .pk-shirt2 { fill: var(--pk-shirt2); } .pk-shirt3 { fill: var(--pk-shirt3); }
.pk-shirts { stroke: var(--pk-shirt); } .pk-shirt2s { stroke: var(--pk-shirt2); } .pk-shirt3s { stroke: var(--pk-shirt3); }
.pk-pants { fill: var(--pk-pants); } .pk-pants2 { fill: var(--pk-pants2); } .pk-cat { fill: var(--pk-cat); } .pk-tail { stroke: var(--pk-cat); }
.pk-ball { fill: var(--pk-ball); }
/* темна тема — вечір: трава глибша, зелень приглушена; підсвітка лишається */
/* рух */
.pk-rays, .pk-sway, .pk-throw, .pk-dog1, .pk-pet-hand, .pk-tail { transform-box: fill-box; }
.pk-rays { transform-origin: center; animation: pk-spin 40s linear infinite; }
.pk-cloud { animation: pk-drift 60s linear infinite; }
.pk-cloud.c2 { animation-duration: 80s; animation-delay: -30s; } .pk-cloud.c3 { animation-duration: 95s; animation-delay: -60s; } .pk-cloud.c4 { animation-duration: 70s; animation-delay: -10s; }
.pk-birds { animation: pk-birds 26s linear infinite; }
.pk-sway { transform-origin: 50% 100%; animation: pk-sway 5s ease-in-out infinite alternate; }
.pk-throw { transform-origin: 0% 100%; animation: pk-throw 4s ease-in-out infinite; }
.pk-ball-x { animation: pk-ball-x 4s ease-in-out infinite; }
.pk-ball-y { animation: pk-ball-y 4s ease-in-out infinite; }
.pk-dog1 { animation: pk-dog1 4s ease-in-out infinite; }
.pk-gallop { animation: pk-gallop .32s ease-in-out infinite alternate; }
.pk-leg { transform-box: fill-box; transform-origin: 50% 0; animation: pk-leg .32s ease-in-out infinite alternate; }
.pk-leg.b { animation-direction: alternate-reverse; }
.pk-kid-run .pk-leg { animation-duration: .5s; }
.pk-step { transform-box: fill-box; transform-origin: 50% 0; animation: pk-leg .5s ease-in-out infinite alternate; }
.pk-step.b { animation-direction: alternate-reverse; }
.pk-leash { stroke: #c0392b; }
.pk-kid-run { animation: pk-kid 38s linear infinite; }
.pk-bob { animation: pk-gallop .5s ease-in-out infinite alternate; }
.pk-pet-hand { transform-origin: 0% 50%; animation: pk-pet 2.2s ease-in-out infinite alternate; }
.pk-tail { transform-origin: 100% 100%; animation: pk-tail 1.6s ease-in-out infinite alternate; }
@keyframes pk-spin { to { transform: rotate(360deg); } }
@keyframes pk-drift { from { transform: translateX(-700px); } to { transform: translateX(1500px); } }
@keyframes pk-birds { from { transform: translate(-200px, 40px); } to { transform: translate(1800px, -60px); } }
@keyframes pk-sway { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
@keyframes pk-throw { 0%, 15% { transform: rotate(40deg); } 25% { transform: rotate(-30deg); } 40%, 100% { transform: rotate(0deg); } }
/* м'ячик летить від людини (x≈915) до місця приземлення (x≈1150) */
@keyframes pk-ball-x { 0%, 22% { transform: translateX(915px); opacity: 0; } 24% { opacity: 1; } 62% { transform: translateX(1150px); opacity: 1; } 72%, 100% { transform: translateX(1150px); opacity: 0; } }
@keyframes pk-ball-y { 0%, 22% { transform: translateY(500px); } 42% { transform: translateY(380px); animation-timing-function: ease-in; } 62% { transform: translateY(640px); } 100% { transform: translateY(640px); } }
/* собака стартує біля людини і біжить за м'ячиком */
@keyframes pk-dog1 { 0%, 25% { transform: translateX(930px); } 66% { transform: translateX(1110px); } 82% { transform: translateX(1110px) scaleX(-1); } 100% { transform: translateX(930px) scaleX(-1); } }
@keyframes pk-gallop { from { transform: translateY(0); } to { transform: translateY(-6px); } }
@keyframes pk-leg { from { transform: rotate(-28deg); } to { transform: rotate(28deg); } }
@keyframes pk-kid { from { transform: translateX(1750px); } to { transform: translateX(-200px); } }
@keyframes pk-pet { from { transform: rotate(-6deg); } to { transform: rotate(10deg); } }
@keyframes pk-tail { from { transform: rotate(-12deg); } to { transform: rotate(14deg); } }
@media (prefers-reduced-motion: reduce) { .park-svg *, .park-svg { animation: none !important; } }
@media (max-width: 700px) {
  .park { top: auto; height: 560px; }              /* на телефоні парк лише внизу, під текстом — небо */
  .pk-sun-g { display: none; }
}
.hero-corner .tt-chip { max-width: none; white-space: nowrap; }
.hero-corner .tt-chip-text small { flex-wrap: nowrap; }

/* ---------- вечірній парк (з 19:00 до 6:00 за часом відвідувача) ---------- */
.pk-stars, .pk-moon-g { opacity: 0; transition: opacity 1.5s ease; }
.pk-star { fill: #fff8dc; animation: pk-twinkle 3.5s ease-in-out infinite alternate; }
.pk-moon { fill: #f4ecc8; } .pk-crater { fill: #e2d6a6; } .pk-moon-halo { fill: #f4ecc8; opacity: .12; }
@keyframes pk-twinkle { from { opacity: .25; } to { opacity: 1; } }
.hero, .hero .park-svg * { transition: background 1.5s ease, fill 1.5s ease, stop-color 1.5s ease, color 1.5s ease; }
.hero[data-time="night"] {
  --pk-sky1: #0e1a36; --pk-sky2: #2c3f66; --pk-glow: #1b2b4d; --pk-cl: #4a587a;
  --pk-hill2: #2c5236; --pk-hill1: #24472d; --pk-tree: #22452a; --pk-tree2: #1b3a21; --pk-trunk: #3f2c1e;
  --pk-path: #5f5848; --pk-bird: transparent;
  --ink: #f4efe3; --muted: #d9d2c3; --accent: #f2a65e; --line: #6f7a94; --surface: #1f2a44;
  color-scheme: dark;
}
.hero[data-time="night"] .pk-stars, .hero[data-time="night"] .pk-moon-g { opacity: 1; }
.hero[data-time="night"] .pk-sun-g, .hero[data-time="night"] .pk-birds { opacity: 0; transition: opacity 1.5s ease; }
.hero[data-time="night"] .btn.ghost { color: var(--ink); }
@media (max-width: 700px) { .pk-moon-g, .pk-stars { display: none; } }
@media (prefers-reduced-motion: reduce) { .pk-star { animation: none; } }
