/* =========================================================
   Шаблон бізнес-сайту · оформлення
   Кольори та шрифти змінюються в одному місці — блок :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: 760px; 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: 21px; }
@media (max-width: 800px) { .pet-label { font-size: 26px; } }
.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; } }
