/* ==========================================================
   Vet-Klinika.kz — ветеринар на дом в Алматы
   Design system: тёплый кремовый + глубокий зелёный + абрикос
   ========================================================== */

:root {
  --cream: #fbf7f1;
  --cream-2: #f4ede2;
  --sand: #eadfce;
  --ink: #1d2a27;
  --ink-soft: #4b5a56;
  --muted: #7b8783;
  --green: #1f4d45;
  --green-2: #2c6a5f;
  --green-soft: #dfeae5;
  --sage: #a9c3b6;
  --apricot: #e9875b;
  --apricot-2: #d9703f;
  --apricot-soft: #fbe5d8;
  --white: #ffffff;
  --line: rgba(29, 42, 39, .1);

  --radius-s: 12px;
  --radius: 22px;
  --radius-l: 36px;
  --shadow-s: 0 2px 10px rgba(31, 77, 69, .06);
  --shadow: 0 18px 50px -18px rgba(31, 77, 69, .25);
  --shadow-l: 0 40px 80px -30px rgba(31, 77, 69, .35);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h1 em, h2 em { font-style: italic; color: var(--green-2); font-weight: 500; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tint { background: var(--cream-2); }
.section--green { background: var(--green); color: #e8f0ec; }
.section--green h2, .section--green h3 { color: #fff; }
.section--green h2 em { color: var(--apricot); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--apricot-2); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section--green .eyebrow { color: var(--apricot); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 60ch; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 680px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.6em; border-radius: 999px; border: 0;
  font-weight: 700; font-size: .98rem; line-height: 1;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--apricot); color: #fff; box-shadow: 0 12px 30px -10px rgba(233, 135, 91, .7); }
.btn--primary:hover { background: var(--apricot-2); transform: translateY(-2px); }
.btn--dark { background: var(--green); color: #fff; }
.btn--dark:hover { background: var(--green-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--green); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1fb457; transform: translateY(-2px); }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--green); }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--green); color: #cfe0d8; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a:hover { color: #fff; }
.topbar__items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__items span { display: inline-flex; align-items: center; gap: .45em; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 241, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 30px -20px rgba(31, 77, 69, .4); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--green); }
.logo__mark { width: 44px; height: 44px; border-radius: 14px; background: var(--green); display: grid; place-items: center; flex: none; }
.logo__mark svg { width: 26px; height: 26px; }
.logo small { display: block; font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.logo span { line-height: 1.05; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: .55em .95em; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-soft); transition: background .2s, color .2s; }
.nav a:hover { color: var(--green); background: var(--green-soft); }
.nav a[aria-current="page"] { color: var(--green); background: var(--green-soft); }
.header__cta { display: flex; align-items: center; gap: 14px; }
.header__phone { font-weight: 800; color: var(--green); font-size: 1.02rem; white-space: nowrap; }
.header__phone small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); }

.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--green-soft); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--green); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px;
  background: radial-gradient(circle, var(--apricot-soft) 0%, rgba(251, 229, 216, 0) 70%); z-index: -1;
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero .lead { margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero__trust { display: flex; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.hero__trust b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--green); line-height: 1.1; }
.hero__trust span { font-size: .88rem; color: var(--muted); }
.hero__media { position: relative; }
.hero__img { border-radius: 200px 200px var(--radius-l) var(--radius-l); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-l); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; background: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow);
  display: flex; gap: 12px; align-items: center; font-size: .9rem; line-height: 1.3;
}
.hero__badge b { display: block; font-size: 1rem; }
.hero__badge .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.hero__badge--1 { left: -34px; bottom: 70px; }
.hero__badge--1 .ico { background: var(--apricot-soft); color: var(--apricot-2); }
.hero__badge--2 { right: -20px; top: 60px; }
.hero__badge--2 .ico { background: var(--green-soft); color: var(--green); }
.hero__badge svg { width: 24px; height: 24px; }
.hero__paw { position: absolute; width: 90px; color: var(--sage); opacity: .5; right: -10px; bottom: -40px; transform: rotate(18deg); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(44px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -240px; background: radial-gradient(circle, var(--green-soft) 0%, rgba(223, 234, 229, 0) 70%); z-index: -1; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero__img { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.page-hero .hero__actions { margin-bottom: 0; }
.page-hero__price { display: inline-flex; align-items: baseline; gap: .5em; background: #fff; border-radius: 999px; padding: .55em 1.2em; margin-bottom: 1.6rem; box-shadow: var(--shadow-s); font-size: .95rem; color: var(--ink-soft); }
.page-hero__price b { font-size: 1.2rem; color: var(--green); }

.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4em; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4em; opacity: .5; }
.breadcrumbs a:hover { color: var(--green); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-s); transition: transform .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature__ico { width: 56px; height: 56px; border-radius: 16px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 20px; }
.feature:nth-child(2n) .feature__ico { background: var(--apricot-soft); color: var(--apricot-2); }
.feature__ico svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.25rem; margin-bottom: .4em; }
.feature p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  position: relative; background: #fff; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-s); transition: transform .35s, box-shadow .35s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service__img { aspect-ratio: 16 / 11; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.service:hover .service__img img { transform: scale(1.06); }
.service__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.service h3 { margin-bottom: .35em; }
.service h3 a::after { content: ""; position: absolute; inset: 0; }
.service p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.service__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px dashed var(--line); }
.service__price { font-weight: 800; color: var(--green); }
.service__price small { font-weight: 600; color: var(--muted); }
.service__arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; transition: background .3s, color .3s; }
.service:hover .service__arrow { background: var(--apricot); color: #fff; }
.service__arrow svg { width: 18px; height: 18px; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media .img-main { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.split__media .img-main img { width: 100%; height: 100%; object-fit: cover; }
.split__media .img-sub { position: absolute; width: 42%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--cream); right: -24px; bottom: -40px; box-shadow: var(--shadow); }
.section--tint .split__media .img-sub { border-color: var(--cream-2); }
.split__media .img-sub img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-size: 3rem; font-style: italic; color: var(--apricot); line-height: 1; display: block; margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; }
.step p { color: #c4d6cf; font-size: .95rem; margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 28px 14px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.1rem); color: var(--green); line-height: 1.05; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Pets (cats/dogs) ---------- */
.pets { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pet { position: relative; border-radius: var(--radius-l); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff; }
.pet img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.pet:hover img { transform: scale(1.05); }
.pet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 40, 36, 0) 30%, rgba(20, 40, 36, .85) 100%); }
.pet__body { position: relative; z-index: 1; padding: clamp(24px, 3vw, 40px); }
.pet h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.pet p { color: rgba(255, 255, 255, .85); max-width: 42ch; }
.pet .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pet .tags span { background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); padding: .35em .9em; border-radius: 999px; font-size: .82rem; font-weight: 600; }

/* ---------- Prices ---------- */
.price-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.price-tabs button { border: 0; background: #fff; color: var(--ink-soft); padding: .7em 1.2em; border-radius: 999px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-s); transition: background .2s, color .2s; }
.price-tabs button:hover { color: var(--green); }
.price-tabs button[aria-selected="true"] { background: var(--green); color: #fff; }
.price-group { background: #fff; border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-s); margin-bottom: 24px; scroll-margin-top: 110px; }
.price-group h2, .price-group h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); display: flex; align-items: center; gap: 14px; margin-bottom: 1rem; }
.price-group h2 .ico, .price-group h3 .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.price-group .ico svg { width: 22px; height: 22px; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list .name { color: var(--ink-soft); }
.price-list .dots { flex: 1; border-bottom: 1px dotted rgba(29, 42, 39, .25); transform: translateY(-4px); min-width: 20px; }
.price-list .val { font-weight: 800; color: var(--green); white-space: nowrap; }
.price-note { font-size: .88rem; color: var(--muted); background: var(--cream-2); border-radius: var(--radius-s); padding: 16px 20px; }
.price-search { position: relative; max-width: 460px; margin-bottom: 20px; }
.price-search input { width: 100%; padding: 1em 1.2em 1em 3em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--ink); }
.price-search input:focus { outline: none; border-color: var(--green-2); }
.price-search svg { position: absolute; left: 1.1em; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); }
.price-empty { display: none; padding: 30px; text-align: center; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; }
.review__stars { color: #f2a33a; letter-spacing: 2px; margin-bottom: 12px; }
.review p { color: var(--ink-soft); flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.review__ava { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--green-2); }
.review:nth-child(2) .review__ava { background: var(--apricot); }
.review:nth-child(3) .review__ava { background: #8a6fb0; }
.review__who b { display: block; line-height: 1.2; }
.review__who span { font-size: .85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4d45' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--apricot-soft); }
.faq details > div { padding: 0 26px 22px; color: var(--ink-soft); }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--green); color: #fff; display: grid; grid-template-columns: 1.1fr .9fr; min-height: 380px; }
.cta__body { padding: clamp(32px, 5vw, 64px); position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; }
.cta h2 { color: #fff; }
.cta h2 em { color: var(--apricot); }
.cta p { color: #cfe0d8; max-width: 48ch; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.cta__media { position: relative; }
.cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--green) 0%, rgba(31, 77, 69, 0) 40%); }

/* ---------- Content (articles / service text) ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose { font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--apricot); }
.prose strong { color: var(--ink); }
.prose a { color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .6em; }
.prose blockquote { margin: 1.8em 0; padding: 22px 26px; border-left: 4px solid var(--apricot); background: var(--apricot-soft); border-radius: 0 var(--radius-s) var(--radius-s) 0; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--green-soft); color: var(--green); }
.prose td:last-child { font-weight: 700; color: var(--green); white-space: nowrap; }

.aside { position: sticky; top: 104px; display: grid; gap: 20px; }
.aside-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-s); }
.aside-card--green { background: var(--green); color: #d5e5de; }
.aside-card--green h3 { color: #fff; }
.aside-card h3 { font-size: 1.3rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links li { border-bottom: 1px solid var(--line); }
.aside-links li:last-child { border: 0; }
.aside-links a { display: flex; justify-content: space-between; padding: 11px 0; font-weight: 600; color: var(--ink-soft); }
.aside-links a:hover, .aside-links a[aria-current="page"] { color: var(--apricot-2); }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); position: relative; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.post:hover .post__img img { transform: scale(1.05); }
.post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.post h3 { font-size: 1.25rem; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.article-hero { max-width: 860px; margin: 0 auto; text-align: center; }
.article-hero .breadcrumbs ol { justify-content: center; }
.article-cover { max-width: 1080px; margin: 0 auto clamp(40px, 5vw, 64px); border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 21 / 9; box-shadow: var(--shadow); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 760px; margin: 0 auto; }

/* ---------- Contacts ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-s); }
.contact-card .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 14px; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card span { display: block; font-size: .85rem; color: var(--muted); }
.contact-card b, .contact-card a { font-weight: 800; color: var(--ink); word-break: break-word; }
.contact-card a:hover { color: var(--apricot-2); }

.form { background: #fff; border-radius: var(--radius-l); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form h2, .form h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: .95em 1.1em; border-radius: var(--radius-s); border: 1.5px solid var(--line);
  background: var(--cream); font: inherit; color: var(--ink); transition: border-color .2s, background .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-2); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; margin-top: 6px; }
.form__note { font-size: .8rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form__note a { text-decoration: underline; }

.cities { display: flex; flex-wrap: wrap; gap: 10px; }
.cities span { background: #fff; padding: .55em 1.1em; border-radius: 999px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-s); }
.cities span:first-child { background: var(--green); color: #fff; }

.districts { columns: 3; column-gap: 24px; list-style: none; padding: 0; margin: 0; }
.districts li { break-inside: avoid; padding: 8px 0 8px 26px; position: relative; color: var(--ink-soft); }
.districts li::before { content: ""; position: absolute; left: 0; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--apricot); box-shadow: 0 0 0 4px var(--apricot-soft); }

/* ---------- Footer ---------- */
.footer { background: #142f2a; color: #a9bfb7; padding: clamp(56px, 7vw, 90px) 0 30px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer .logo { color: #fff; }
.footer .logo__mark { background: var(--apricot); }
.footer .logo small { color: #7f9b92; }
.footer h4 { font-family: var(--font-body); color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__about { margin-top: 18px; max-width: 34ch; }
.footer__contact b { display: block; color: #fff; font-size: 1.25rem; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: #7f9b92; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--apricot); color: #fff; }
.socials svg { width: 20px; height: 20px; }

/* ---------- Floating WhatsApp & mobile bar ---------- */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6); transition: transform .25s; }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 32px; height: 32px; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: pulse 2.4s infinite; z-index: -1; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
.mobile-bar { display: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible, .hero .reveal, .page-hero .reveal, .article-cover.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab-wa::before { animation: none; }
  * { transition-duration: 0s !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0; } .center { text-align: center; } .mt-l { margin-top: clamp(32px, 4vw, 48px); }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav a { padding: .5em .7em; font-size: .9rem; }
  .header__phone { display: none; }
}
@media (max-width: 980px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); padding: 16px var(--gutter) 28px; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .25);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s;
  }
  .nav a { padding: .85em 1em; font-size: 1.05rem; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .header__cta .btn { display: none; }
  .topbar__hide { display: none !important; }
  .hero__grid, .page-hero__grid, .split, .content-grid, .contact-grid, .cta { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero__badge--1 { left: 0; } .hero__badge--2 { right: 0; }
  .split--rev .split__media { order: 0; }
  .split__media .img-sub { right: 10px; }
  .features, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .services, .posts, .reviews { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .aside { position: static; }
  .cta__media { min-height: 260px; order: -1; }
  .cta__media::before { background: linear-gradient(0deg, var(--green) 0%, rgba(31, 77, 69, 0) 50%); }
  .districts { columns: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .topbar { display: none; }
  .header .container { height: 68px; }
  .nav { inset: 68px 0 auto 0; }
  .logo { font-size: 1.15rem; } .logo__mark { width: 40px; height: 40px; }
  .features, .steps, .services, .posts, .reviews, .pets, .contact-cards, .field-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__badge { padding: 10px 12px; font-size: .8rem; }
  .hero__badge .ico { width: 36px; height: 36px; }
  .hero__badge--2 { top: 20px; }
  .hero__badge--1 { bottom: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .pet { min-height: 360px; }
  .districts { columns: 1; }
  .price-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 24px; padding: 4px var(--gutter) 10px; scrollbar-width: none; }
  .price-tabs::-webkit-scrollbar { display: none; }
  .price-tabs button { flex: none; }
  .price-list li { flex-wrap: wrap; gap: 4px 12px; }
  .price-list .dots { display: none; }
  .price-list .name { flex: 1 1 60%; }
  .fab-wa { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 247, 241, .96);
    backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { padding: .9em 1em; }
  .split__media .img-sub { display: none; }
}
