/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Tilda-like auto-upscale: root font scales with viewport */
  font-size: clamp(14px, 0.93vw, 19px);
}
body {
  margin: 0;
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.0625rem; /* 17px @16 */
  font-weight: 500;
  line-height: 1.55;
  color: #494949;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

:root {
  --green: #51b032;
  --green-dark: #3f8a26;
  --green-deep: #597026;
  --cream: #f7edd2;
  --bg: #ffffff;
  --bg-soft: #f4f7f3;
  --bg-card: #f4f7f3;
  --ink: #1a2e12;
  --ink-soft: #494949;
  --ink-mute: #6b7280;
  --white: #ffffff;
  --line: #ededf5;
  --radius-lg: 20px;
  --radius-md: 20px;
  --radius-sm: 12px;
}

/* full-width grey wrapper that sits inside white sections */
.panel {
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 5rem 3.5rem;
  margin: 0 0.5rem;
}
.panel-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}
/* when a .panel is inside .container, kill container's horizontal padding */
.container > .panel { margin: 0; }
.popular > .container { padding: 0 0.5rem; }
.cta-banner > .container { padding: 0 4rem; }

/* Section with grey background (alternating Tilda-style) */
.section-grey { background: transparent; padding: 0.5rem 0; }
.section-grey > .container {
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 5rem 3.5rem;
  max-width: none;
  width: auto;
  margin: 0 0.5rem;
}
.section-grey .pet-card,
.section-grey .art-card,
.section-grey .doc-card,
.section-grey .rev-card,
.section-grey .contact-card {
  background: #fff;
}
.section-grey .pet-card:hover,
.section-grey .art-card:hover,
.section-grey .doc-card:hover {
  background: #fff;
  box-shadow: 0 20px 40px rgba(7, 20, 55, 0.06);
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 4rem; /* align inner content to hero text (0.5rem gap + 3.5rem card padding) */
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: normal; line-height: 1; color: var(--ink); }
p { margin: 0; }

.section-title {
  font-size: 3.25rem;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1;
}
.section-sub {
  margin-top: 20px;
  max-width: 560px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.55;
}
.section-sub-right {
  max-width: 460px;
  margin-left: auto;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.55;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(81,176,50,0.12);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 22px;
}
.eyebrow-light {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.section-head { margin-bottom: 48px; max-width: 800px; }
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 20px 32px; font-size: 16px; border-radius: 12px; }
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--green); color: var(--green-dark); }
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--green-dark); }
.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover { background: var(--cream); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { color: var(--green-dark); }
.btn-account {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 10px;
}
.btn-account svg { color: var(--green); flex-shrink: 0; }
.btn-account:hover {
  border-color: var(--green);
  color: var(--green-dark);
  transform: translateY(-1px);
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.5rem 0.5rem 0;
  background: transparent;
}
.header-inner {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.625rem 0.75rem 0.625rem 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  border: 1px solid #ededf5;
  border-radius: 0.75rem;
  box-shadow: 0 6px 24px rgba(7, 20, 55, 0.04);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: normal;
  color: var(--ink);
  line-height: 1;
}
.logo-mark { display: inline-flex; flex-shrink: 0; }
.logo-mark img { display: block; width: 2.625rem; height: 2.625rem; }
.logo-text em {
  display: block;
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: normal;
  text-transform: lowercase;
  margin-top: 3px;
  max-width: 12rem;
  line-height: 1.2;
}
.logo-footer .logo-mark img { width: 3.25rem; height: 3.25rem; }
.logo-footer { font-size: 1.25rem; }
.logo-footer .logo-text em { max-width: 14rem; }
.nav {
  display: flex;
  gap: 0.25rem;
  margin-left: 1.75rem;
}
.nav a {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.nav a:hover { background: rgba(81,176,50,0.1); color: var(--green-dark); }
.header-cta {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.header-cta .btn {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
}
.header-cta .btn-account {
  background: rgba(81,176,50,0.12);
  border-color: rgba(81,176,50,0.18);
  color: var(--green-dark);
}
.header-cta .btn-account:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.header-phone {
  color: var(--ink-soft);
}
.header-phone:hover {
  background: rgba(81,176,50,0.08);
}
.burger {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ============ HERO ============ */
.hero {
  padding: 0 0.5rem 0.5rem;
  margin-top: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
}
.hero-card {
  background: var(--bg-soft);
  border-radius: 1.25rem;
  padding: 3.5rem;
  min-height: 44rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-card-right {
  background: var(--green);
  padding: 0;
  overflow: hidden;
  position: relative;
  order: 1;
}
.hero-card-left {
  order: 2;
}
.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 1.25rem;
}
.hs-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 6s ease;
}
.hs-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hs-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 55, 0.05) 0%, rgba(7, 20, 55, 0) 25%, rgba(7, 20, 55, 0) 55%, rgba(7, 20, 55, 0.35) 100%);
  pointer-events: none;
}
.hs-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}
.hs-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
  transition: width .4s ease, background .3s ease;
}
.hs-dot.is-active {
  width: 1.75rem;
  background: #fff;
}
.hero-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  width: auto;
  max-width: max-content;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.875rem;
  background: #fff;
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 2rem;
  border: 1px solid #ededf5;
}
.hero-eyebrow .dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0.25rem rgba(81,176,50,0.2);
}
.hero-title {
  font-size: 4.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 0.98;
  color: var(--ink);
}
.hero-title .accent {
  color: var(--green);
  font-style: normal;
  font-weight: 500;
}
.hero-sub {
  margin-top: 1.375rem;
  max-width: 32rem;
  font-size: 1.0625rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--green-dark);
  font-weight: 500;
}
.hero-platforms {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #e7e7ee;
}
.platforms-label {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 14px;
  font-weight: 500;
}
.platforms-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pi {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid #ededf5;
  border-radius: 12px;
  font-size: 20px;
}
.pi-pill {
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #ededf5;
  color: var(--ink-soft);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
}

/* hero illustration */
.hero-right { height: 100%; }
.hero-illu {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 580px;
  background: var(--green);
  border-radius: 24px;
  overflow: hidden;
}
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 80px 80px;
}
.badge-circle {
  position: absolute;
  top: 50%; left: 50%;
  width: 220px; height: 220px;
  margin: -110px 0 0 -110px;
  border-radius: 32px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
}
.record-card {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  width: 320px;
}
.rec-play {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.rec-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 1;
  height: 28px;
}
.rec-wave span {
  display: block;
  width: 3px;
  background: var(--green);
  border-radius: 2px;
  height: 60%;
}
.rec-wave span:nth-child(odd) { height: 90%; }
.rec-wave span:nth-child(3n) { height: 40%; }
.rec-wave span:nth-child(5n) { height: 100%; }
.rec-meta { display: none; }
.floating-tag {
  position: absolute;
  padding: 0.625rem 1rem;
  background: #fff;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  z-index: 3;
}
.tag-1 { top: 1.75rem; left: 1.75rem; }
.tag-2 { top: 1.75rem; right: 1.75rem; }

/* ============ STATS ============ */
.stats { padding: 2.5rem 0; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.stat-card {
  background: var(--bg-soft);
  border-radius: 1.25rem;
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 15rem;
  position: relative;
  transition: background .3s ease, transform .3s ease;
  opacity: 0;
  transform: translateY(24px);
}
.stat-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1), background .3s ease;
}
.stat-card:nth-child(1).is-visible { transition-delay: 0s, 0s, 0s; }
.stat-card:nth-child(2).is-visible { transition-delay: .12s, .12s, 0s; }
.stat-card:nth-child(3).is-visible { transition-delay: .24s, .24s, 0s; }
.stat-card:hover { background: #f1f1f6; }
.stat-ic {
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  background: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.25rem;
  box-shadow: 0 10px 24px rgba(81,176,50,0.25);
}
.stat-num {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: normal;
  color: var(--ink);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
}
.stat-prefix {
  font-size: 1.75rem;
  color: var(--ink);
  font-weight: 500;
}
.stat-unit {
  font-size: 1rem;
  color: var(--green);
  font-weight: 500;
  align-self: flex-start;
  margin-top: 0.25rem;
}
.stat-label {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.4;
}

/* ============ SERVICES ============ */
.services { padding: 2rem 0; }
.services-layout {
  display: grid;
  grid-template-columns: 1fr 26rem;
  gap: 1.25rem;
  align-items: stretch;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.25rem;
  height: 100%;
}
/* Sidebar popular list */
.srv-sidebar {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  border: 1px solid #ededf5;
  height: 100%;
}
.srv-sidebar-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.srv-sidebar-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}
.srv-sidebar-list .price-row {
  padding: 0.875rem 0;
  border-bottom: 1px solid #ededf5;
  font-size: 0.875rem;
}
.srv-sidebar-list .price-row:first-child { border-top: 1px solid #ededf5; }
.srv-sidebar-btn {
  margin-top: auto;
  padding-top: 1.5rem;
  text-align: center;
  border-radius: 999px;
}
.srv-card {
  position: relative;
  padding: 2.25rem 2.25rem 2.25rem;
  background: var(--green);
  border-radius: 1.25rem;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  min-height: 16rem;
}
.srv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(81, 176, 50, 0.25);
}
.srv-card h3 {
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: auto;
  letter-spacing: normal;
  line-height: 1.15;
  color: #fff;
}
.srv-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  line-height: 1.55;
  font-weight: 400;
  margin-top: 1.5rem;
}
.srv-card-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
  padding: 0.75rem 1.75rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  align-self: flex-start;
  font-family: inherit;
}
.srv-card-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Price block (inline list under services grid) */
.price-block {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.price-block-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.price-list { display: flex; flex-direction: column; gap: 0; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.9375rem;
  font-weight: 500;
}
.price-row:last-child { border-bottom: 0; }
.price-name { color: var(--ink); flex: 1; min-width: 0; }
.price-dots { flex: 0 0 auto; border-bottom: 1px dotted #c8c8d4; min-width: 2rem; margin-bottom: 4px; flex: 1 1 2rem; }
.price-val { color: var(--green-dark); font-weight: 500; white-space: nowrap; flex-shrink: 0; text-align: right; min-width: 5rem; }
.price-all-btn { margin-top: 1.75rem; }

/* Price modal — wider variant */
/* moved .modal-card-lg after .modal-card for specificity */
.price-modal-body {
  max-height: 60vh;
  overflow-y: auto;
  margin-top: 1.5rem;
  padding-right: 0.5rem;
}
.price-modal-body::-webkit-scrollbar { width: 4px; }
.price-modal-body::-webkit-scrollbar-thumb { background: #d4d4da; border-radius: 4px; }
.pm-group {
  border: 1px solid #ededf5;
  border-radius: 0.875rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.pm-group summary {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .2s;
  user-select: none;
}
.pm-group summary::-webkit-details-marker { display: none; }
.pm-group summary::after {
  content: '+';
  width: 1.75rem; height: 1.75rem;
  border-radius: 999px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: background .2s, color .2s, transform .2s;
}
.pm-group[open] summary::after {
  content: '−';
  background: var(--green);
  color: #fff;
}
.pm-group summary:hover { background: var(--bg-soft); }
.pm-list { padding: 0 1.25rem 1rem; }
.pm-list .price-row { font-size: 0.875rem; padding: 0.5rem 0; }
.pm-list .price-name { font-weight: 500; word-break: break-word; }

/* ============ POPULAR ============ */
.popular { padding: 5rem 0; }
.popular .panel { padding: 5rem 3rem; margin: 0; }
.popular .panel-inner { padding: 0; }
.pop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.pop-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  min-height: 20rem;
  border: 1px solid #ededf5;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(7, 20, 55, 0.06);
}
.pop-ic {
  width: 3rem; height: 3rem;
  border-radius: 0.85rem;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.pop-ic svg { width: 1.5rem; height: 1.5rem; }
.pop-card h3 {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.pop-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.pop-link {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 500;
  font-size: 0.9rem;
}

/* ============ DOCTORS ============ */
.doctors { padding: 5rem 0; }
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.doc-card {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform .25s, background .25s;
}
.doc-card:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: #ededf5;
}
.doc-photo {
  height: 320px;
  background-color: var(--cream);
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  position: relative;
}
.doc-1 { background-image: url('https://static.tildacdn.com/tild3630-6637-4561-b032-343735636232/IMG_8534.JPG'); }
.doc-2 { background-image: url('https://static.tildacdn.com/tild3939-6461-4365-b930-373233633765/telegram-cloud-photo.jpg'); }
.doc-3 { background-image: url('https://static.tildacdn.com/tild3535-3665-4564-a362-336638363136/IMG_8538.JPG'); }
.doc-4 { background-image: url('https://static.tildacdn.com/tild3936-6334-4062-b038-626163323162/IMG_8537.JPG'); }
.doc-5 { background-image: url('https://static.tildacdn.com/tild6430-3266-4662-b764-363866303739/IMG_8523.JPG'); }
.doc-6 { background-image: url('https://static.tildacdn.com/tild3361-6163-4565-a164-353565363462/IMG_8535.JPG'); }
.doc-7 { background-image: url('https://static.tildacdn.com/tild3337-3537-4961-b735-383835333062/IMG_8528.JPG'); }
.doc-8 { background-image: url('https://static.tildacdn.com/tild6631-6431-4466-b665-643731356462/IMG_0763.JPG'); }
/* per-card overrides for framing */
.doc-4 { background-position: center 6%; }
.doc-body { padding: 28px; }
.doc-role {
  display: inline-block;
  padding: 6px 12px;
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid #ededf5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 14px;
  text-transform: none;
  letter-spacing: normal;
}
.doc-card h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: normal;
  line-height: 1.1;
  color: var(--ink);
}
.doc-card p {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 18px;
  min-height: 60px;
}
.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  background: transparent;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.doc-link:hover { background: var(--green); color: #fff; }

/* ============ APP PROMO ============ */
.app-promo { padding: 0; }
.app-promo > .container {
  background: linear-gradient(135deg, #eef8eb 0%, #f4faf2 50%, #edf6ea 100%);
  overflow: hidden;
}
.app-promo-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0 4rem;
}
.app-promo-desc {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 400;
  margin-top: 1.25rem;
  max-width: 32rem;
}
.app-features {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.app-features li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.app-feat-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: rgba(81, 176, 50, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-features li strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.app-features li > span:not(.app-feat-icon) {
  display: block;
}
.app-features li > span:not(.app-feat-icon) > span {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.45;
  margin-top: 0.25rem;
}
.app-promo-btn {
  margin-top: 2.5rem;
}

/* App mockup */
.app-promo-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.app-mockup {
  width: 100%;
  max-width: 26rem;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 25px 60px rgba(7, 20, 55, 0.1), 0 2px 6px rgba(7, 20, 55, 0.04);
  overflow: hidden;
  border: 1px solid #ededf5;
}
.app-mockup-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: #f8f8fb;
  border-bottom: 1px solid #ededf5;
}
.app-mockup-dots {
  display: flex;
  gap: 0.375rem;
}
.app-mockup-dots span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #d4d4de;
}
.app-mockup-dots span:first-child { background: #ff6058; }
.app-mockup-dots span:nth-child(2) { background: #ffbd2e; }
.app-mockup-dots span:last-child { background: #27ca40; }
.app-mockup-url {
  font-size: 0.75rem;
  color: #999;
  background: #fff;
  border: 1px solid #e8e8ef;
  border-radius: 0.375rem;
  padding: 0.25rem 0.75rem;
  flex: 1;
  text-align: center;
}
.app-mockup-body {
  padding: 1.5rem;
}
.app-mock-greeting {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.app-mock-pet {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: var(--bg-soft);
  border-radius: 0.875rem;
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
}
.app-mock-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.app-mock-pet-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}
.app-mock-pet-breed {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  margin-top: 0.125rem;
}
.app-mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}
.app-mock-card {
  background: var(--bg-soft);
  border-radius: 0.75rem;
  padding: 0.875rem;
}
.app-mock-card-icon {
  margin-bottom: 0.5rem;
  color: var(--green);
  display: inline-flex;
}
.app-mock-card-label {
  font-size: 0.6875rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.app-mock-card-val {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.25rem;
}
.app-mock-history-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.app-mock-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f5;
  font-size: 0.8125rem;
}
.app-mock-row span:first-child {
  color: var(--ink);
  font-weight: 500;
}
.app-mock-row span:last-child {
  color: var(--ink-soft);
  font-weight: 400;
}
.app-mock-row:last-child { border-bottom: 0; }

/* ============ CTA BANNER ============ */
.cta-banner { padding: 3.75rem 0; }
.cta-card {
  background: linear-gradient(135deg, #3a9a22 0%, #51b032 50%, #68c44a 100%);
  border-radius: 24px;
  padding: 4rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 55%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta-text { flex: 1; min-width: 300px; }
.cta-text h2 {
  color: #fff;
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1;
  margin-bottom: 16px;
}
.cta-text p { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 460px; font-weight: 500; line-height: 1.55; }
.cta-action { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.cta-note { color: rgba(255,255,255,0.6); font-size: 13px; }

/* ============ PETSGRAM ============ */
.petsgram { padding: 2rem 0; }
.pets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pet-card {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform .25s, background .25s;
}
.pet-card:hover { transform: translateY(-3px); background: #fff; border-color: #ededf5; }
.pet-img {
  height: 280px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.pet-1 { background-image: url('https://static.tildacdn.com/tild3961-6366-4430-a139-613861303964/french-bulldog-dog-b.jpg'); }
.pet-2 { background-image: url('https://static.tildacdn.com/tild3237-3464-4637-a433-313764356232/image.png'); }
.pet-3 { background-image: url('https://static.tildacdn.com/tild3562-3837-4237-a562-303761646233/image.png'); }
.pet-4 { background-image: url('https://static.tildacdn.com/tild3262-3838-4536-a534-346437336131/image.png'); }
.pet-5 { background-image: url('https://static.tildacdn.com/tild6133-3331-4832-b639-626337626165/lovely-white-cat-nat.jpg'); }
.pet-6 {
  background-image: url('e6d5bf95003f27b0101026e73b460902.jpg');
  background-position: center 78%;
}
.pet-card .pet-handle {
  padding: 18px 24px 0;
  font-size: 12px;
  color: var(--ink-mute);
  font-weight: 500;
}
.pet-card p {
  padding: 8px 24px 24px;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}

/* ============ FAQ ============ */
.faq { padding: 5rem 0; }
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  background: linear-gradient(135deg, #eef8eb 0%, #f6faf4 100%);
  border-radius: 24px;
  padding: 64px;
  border: 1px solid rgba(81, 176, 50, 0.1);
}
.faq-head .btn { margin-top: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border-radius: 14px;
  padding: 22px 28px;
  border: 1px solid rgba(81,176,50,0.12);
  transition: border-color .2s;
}
.faq-item[open] { border-color: var(--green); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  width: 30px; height: 30px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ink-soft);
  transition: transform .2s, background .2s, color .2s;
  flex-shrink: 0;
  font-weight: 400;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq-body {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 500;
}
.faq-body a { color: var(--green-dark); font-weight: 500; }

/* ============ REVIEWS ============ */
.reviews { padding: 5rem 0; }
.rev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.rev-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 36px;
  border: 1px solid transparent;
}
.rev-stars { color: #f1b528; font-size: 16px; margin-bottom: 18px; letter-spacing: 2px; }
.rev-card p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 28px;
}
.rev-author { display: flex; align-items: center; gap: 14px; }
.rev-ava {
  width: 52px; height: 52px;
  border-radius: 50%;
}
.ava-1 { background: linear-gradient(135deg, #b6dba0, #51b032); }
.ava-2 { background: linear-gradient(135deg, #d4ecc6, #7cc462); }
.ava-3 { background: linear-gradient(135deg, #e0f0d5, #92cf7a); }
.ava-4 { background: linear-gradient(135deg, #f0d8c8, #d8956b); }
.rev-author strong { display: block; font-size: 15px; font-weight: 500; color: var(--ink); }
.rev-author span { font-size: 13px; color: var(--ink-mute); font-weight: 500; }
.rev-links {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  justify-content: center;
}

/* ============ ARTICLES ============ */
.articles { padding: 2rem 0; }
.art-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.art-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform .25s, background .25s;
}
.art-card:hover { transform: translateY(-3px); background: #fff; border-color: #ededf5; }
.art-img { min-height: 240px; position: relative; background-size: cover; background-position: center; }
.art-img::after {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
}
.art-1 { background-image: url('https://static.tildacdn.com/tild3562-3365-4134-a435-376430373830/image.png'); }
.art-1::after { content: none; }
.art-2 { background-image: url('https://static.tildacdn.com/tild3632-6438-4636-a262-643636316564/image.png'); }
.art-2::after { content: none; }
.art-body { padding: 32px; display: flex; flex-direction: column; }
.art-date { font-size: 13px; color: var(--ink-mute); margin-bottom: 12px; font-weight: 500; }
.art-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 12px; letter-spacing: normal; line-height: 1.1; color: var(--ink); }
.art-card p { color: var(--ink-soft); font-size: 14px; margin-bottom: auto; font-weight: 500; line-height: 1.5; }
.art-link { margin-top: 18px; color: var(--green-dark); font-weight: 500; font-size: 14px; }

/* ============ CONTACTS ============ */
.contacts { padding: 5rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.contact-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.cc-icon-wa { background: #25d366; }
.cc-icon-vk { background: #0077FF; }
.cc-icon-max {
  background: transparent;
  overflow: hidden;
}
.cc-icon-max img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 18px;
}
.social-icons .cc-icon {
  margin-bottom: 0;
}
.social-icon {
  transition: transform .2s ease;
}
.social-icon:hover {
  transform: translateY(-2px);
}
.cc-label {
  font-size: 13px;
  color: var(--ink-mute);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  margin-bottom: 8px;
}
.contact-card strong {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: normal;
  line-height: 1.3;
}
.contact-card a { transition: color .2s; }
.contact-card a:hover strong { color: var(--green-dark); }
.map-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 12px;
  border: 1px solid transparent;
}
.map-card iframe { display: block; }

/* ============ FOOTER ============ */
.footer {
  background: linear-gradient(135deg, #3a9a22 0%, #51b032 50%, #68c44a 100%);
  color: rgba(255,255,255,0.82);
  padding: 80px 0 40px;
  margin-top: 40px;
  border-radius: 24px 24px 0 0;
}
.footer .logo, .footer .logo-text { color: #fff; }
.footer .logo-text em { color: rgba(255,255,255,0.72); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p {
  margin-top: 22px;
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  max-width: 360px;
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 22px;
  font-weight: 500;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 12px;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.62);
}
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-legal-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.footer-legal-link:hover {
  color: #fff;
}

/* ============ BOOKING MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 55, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s;
  padding: 1.5rem;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.75rem 2.5rem 2.25rem;
  width: 100%;
  max-width: 32rem;
  position: relative;
  box-shadow: 0 30px 80px rgba(7, 20, 55, 0.3);
  transform: translateY(20px) scale(.98);
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}
.modal-overlay.is-open .modal-card {
  transform: translateY(0) scale(1);
}
.modal-card.modal-card-lg {
  max-width: 64rem;
  padding: 2.5rem 3rem 2rem;
}
.modal-card.modal-card-booking {
  max-width: 42rem;
  padding: 0;
  overflow: hidden;
}
.modal-card-booking .modal-close {
  top: 0.5rem;
  right: 0.5rem;
  z-index: 10;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
}
.booking-iframe {
  width: 100%;
  height: 600px;
  border: 0;
  display: block;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.modal-close:hover {
  background: var(--green);
  color: #fff;
  transform: rotate(90deg);
}
.modal-head { margin-bottom: 1.5rem; }
.modal-head .eyebrow { margin-bottom: 1rem; }
.modal-head h3 {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.modal-head p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 500;
}
.modal-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}
.mf-field { display: flex; flex-direction: column; gap: 0.375rem; }
.mf-field-full { grid-column: 1 / -1; }
.mf-field span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: normal;
}
.mf-field input,
.mf-field textarea {
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--ink);
  resize: none;
  transition: background .2s, border-color .2s;
  outline: none;
}
.mf-field input::placeholder,
.mf-field textarea::placeholder {
  color: var(--ink-mute);
  font-weight: 500;
}
.mf-field input:focus,
.mf-field textarea:focus {
  background: #fff;
  border-color: var(--green);
}
.mf-submit {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0.5rem;
}
.mf-note {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  color: var(--ink-mute);
  text-align: center;
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ============ LEGAL MODALS ============ */
.legal-modal-card {
  max-width: 42rem;
  padding: 2.25rem 2rem 2rem;
}
.legal-modal-body {
  max-height: 58vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.legal-modal-body::-webkit-scrollbar { width: 4px; }
.legal-modal-body::-webkit-scrollbar-thumb { background: #d4d4da; border-radius: 4px; }
.legal-modal-body h4 {
  font-size: 1rem;
  line-height: 1.25;
  margin: 1.25rem 0 0.5rem;
  color: var(--ink);
}
.legal-modal-body h4:first-child { margin-top: 0; }
.legal-modal-body p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* ============ MOBILE MENU DRAWER ============ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 55, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(85vw, 22rem);
  height: 100%;
  background: #fff;
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
}
.mobile-nav a {
  padding: 0.875rem 1rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 0.625rem;
  transition: background .2s;
}
.mobile-nav a:hover,
.mobile-nav a:active { background: var(--bg-soft); }
.mobile-menu-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: auto;
}
.mobile-menu-ctas .btn { width: 100%; justify-content: center; text-align: center; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { padding: 2.5rem; min-height: auto; }
  .hero-card-right { min-height: 420px; }
  .stats-row { grid-template-columns: 1fr; gap: 12px; }
  .services-layout { grid-template-columns: 1fr; gap: 1rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .pets-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq-wrap { grid-template-columns: 1fr; padding: 2.5rem; gap: 2rem; }
  .nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .header-cta .btn-account { display: none; }
  .header-cta .btn-primary { display: none; }
  .burger { display: inline-flex; }
  .modal-form { grid-template-columns: 1fr; }
  .modal-card { padding: 2rem 1.5rem 1.5rem; }
  .app-promo-card { grid-template-columns: 1fr !important; gap: 2rem; padding: 2.5rem !important; }
  .app-promo-right { order: -1; }
  .app-mockup { max-width: 30rem; }
  .cta-card { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .pop-grid { grid-template-columns: repeat(2, 1fr); }
  .rev-grid { grid-template-columns: repeat(2, 1fr); }
  .art-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  html { font-size: 15px; }
  .container { padding: 0 1rem; }

  /* Header */
  .header { padding: 0.5rem 0.5rem 0; top: 0; }
  .header-inner { padding: 0.625rem 0.75rem 0.625rem 1rem; gap: 0.5rem; }
  .logo-text { font-size: 1rem; }
  .logo-text em { font-size: 0.625rem; max-width: 9rem; }
  .logo-mark img { width: 2.25rem; height: 2.25rem; }
  .header-cta { gap: 0.5rem; }
  .header-cta > * { display: none; }
  .burger { display: inline-flex; margin-left: auto; }

  /* Hero */
  main#top > section {
    margin-top: 2.25rem;
  }
  main#top > section:first-child {
    margin-top: 0;
  }

  .hero { padding: 0.75rem 0.5rem 0; }
  .hero-grid { gap: 0.75rem; }
  .hero-card { padding: 1.75rem 1.25rem; border-radius: 1rem; }
  .hero-card-right { min-height: 18rem; }
  .hero-title { font-size: 2.25rem; line-height: 1.05; }
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; gap: 0.625rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-platforms { margin-top: 1.25rem; }
  .platforms-icons { flex-wrap: wrap; gap: 0.5rem; }
  .pi-pill { font-size: 0.75rem; padding: 0.375rem 0.75rem; }
  .floating-tag { font-size: 0.75rem; padding: 0.375rem 0.75rem; }
  .tag-1 { top: 1rem !important; left: 1rem !important; }
  .tag-2 { top: 1rem !important; right: 1rem !important; }
  .hero-eyebrow { font-size: 0.8125rem; }

  /* Sections */
  .section-title { font-size: 1.75rem; line-height: 1.15; }
  .section-sub { font-size: 0.95rem; }
  .section-head { margin-bottom: 1.5rem; }
  .eyebrow { font-size: 0.75rem; }
  .services, .popular, .doctors, .petsgram, .faq, .reviews, .articles, .contacts, .stats, .app-promo, .cta-banner {
    padding: 0;
  }
  .section-grey { padding: 0; }
  .section-grey > .container {
    margin: 0 0.5rem;
    padding: 2rem 0.5rem;
    border-radius: 1rem;
  }

  /* Grids → single column */
  .services-grid,
  .pop-grid,
  .doctors-grid,
  .pets-grid,
  .contact-grid,
  .rev-grid,
  .art-grid { grid-template-columns: 1fr; gap: 1rem; }
  .stats-row { grid-template-columns: 1fr; gap: 0.75rem; padding: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Service cards */
  .srv-card { padding: 1.5rem; min-height: 12rem; }
  .srv-card h3 { font-size: 1.375rem; }
  .services-side { padding: 1.5rem; }
  .services-grid { grid-auto-rows: auto; height: auto; }

  /* Doctor cards */
  .doc-card { padding: 0; }
  .doc-info { padding: 1.25rem; }
  .doc-info h3 { font-size: 1.125rem; }
  .doc-photo { height: 16rem; }

  /* Pets */
  .pet-img { height: 14rem; }
  .pet-card p { padding: 0.5rem 1.25rem 1.25rem; font-size: 0.9375rem; }
  .pet-handle { padding: 1rem 1.25rem 0; }

  /* Reviews */
  .rev-card { padding: 1.5rem; }
  .rev-links {
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: nowrap;
    justify-content: center;
  }
  .rev-links .btn {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    padding: 0.75rem 0.7rem;
    font-size: 0.82rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  /* Articles */
  .art-card { grid-template-columns: 1fr; }
  .art-img { height: 12rem; }
  .art-body { padding: 1.5rem; }
  .art-card h3 { font-size: 1.125rem; }

  /* FAQ */
  .faq-wrap { padding: 1.5rem; border-radius: 1rem; }
  .faq-item summary { font-size: 0.95rem; padding: 1rem 0; }
  .faq-body { font-size: 0.875rem; }

  /* CTA banner */
  .cta-banner > .container { padding: 0 1rem; }
  .cta-card { padding: 2rem 1.5rem; border-radius: 1rem; }
  .cta-card h2 { font-size: 1.625rem; }
  .cta-action { align-items: flex-start; width: 100%; }
  .cta-action .btn { width: 100%; }

  /* App promo */
  .app-promo > .container { padding: 2rem 0.5rem; border-radius: 1rem; }
  .app-promo-card { gap: 1.25rem; padding: 0 !important; }
  .app-promo-right { order: 0; }
  .app-promo-desc { font-size: 0.95rem; }
  .app-features { gap: 1rem; }
  .app-features li { gap: 0.75rem; }
  .app-feat-icon { width: 2.5rem; height: 2.5rem; }
  .app-promo-btn { width: 100%; }
  .app-promo-right {
    height: 8.5rem;
    width: 100%;
    margin: 1.25rem 0 -2rem;
    overflow: hidden;
    align-items: flex-start;
  }
  .app-mockup {
    width: 100%;
    max-width: none;
  }
  .app-mockup-body { padding: 1rem; }
  .app-mockup-header { padding: 0.75rem 1rem; }
  .app-mock-pet { padding: 0.75rem; }
  .app-mock-cards { gap: 0.5rem; }
  .app-mock-card { padding: 0.75rem; }

  /* Contacts */
  .contact-card { padding: 1.5rem; }

  /* Footer */
  .footer { padding: 2.5rem 0 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .footer-legal { flex-direction: column; gap: 0.5rem; }

  /* Modal / booking iframe */
  .modal-card.modal-card-booking { max-width: 100%; border-radius: 1rem; }
  .booking-iframe { height: 520px; }
  .modal-card { padding: 1.75rem 1.25rem 1.25rem; border-radius: 1rem; }
  .legal-modal-card { max-width: 100%; padding: 1.75rem 1.25rem 1.25rem; }
  .legal-modal-body { max-height: 62vh; }

  /* Article pages */
  .article-hero { padding: 5.5rem 0 1.5rem; }
  .article-title { font-size: 1.875rem !important; line-height: 1.15; }
  .article-cover { padding: 1rem 0 0; }
  .article-cover-img { height: 14rem !important; border-radius: 1rem; }
  .article-content { padding: 1.5rem 0 3rem; }
  .article-body { padding: 0 !important; }
  .article-body p, .article-body ul li { font-size: 0.9375rem; line-height: 1.65; }
  .article-body h2 { font-size: 1.25rem; margin: 1.75rem 0 0.75rem; }
  .article-cta { padding: 1.75rem 1.25rem; }
  .article-cta p { font-size: 1rem; }

  /* Buttons */
  .btn-lg { padding: 0.875rem 1.5rem; font-size: 0.9375rem; }

  /* Hide floating avatars on tiny screens */
  .floating-avatars { display: none; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 1.875rem; }
  .section-title { font-size: 1.5rem; }
  .hero-card { padding: 1.5rem 1rem; }
  .logo-text em { display: none; }
}

/* ============ ARTICLE PAGE ============ */
.article-hero {
  padding: 7rem 0 2rem;
  background: linear-gradient(135deg, #eef8eb, #f6faf4);
}
.article-back {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color .2s;
}
.article-back:hover { color: var(--green-dark); }
.article-meta {
  margin-bottom: 1rem;
}
.article-meta .art-date {
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-weight: 500;
}
.article-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  max-width: 720px;
}
.article-cover {
  padding: 2rem 0 0;
}
.article-cover-img {
  width: 100%;
  height: 420px;
  border-radius: 1.5rem;
  background-size: cover;
  background-position: center;
}
.article-content {
  padding: 3rem 0 5rem;
}
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}
.article-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}
.article-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.article-body ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}
.article-body strong {
  color: var(--ink);
  font-weight: 600;
}
.article-cta {
  margin-top: 3rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #eef8eb, #f6faf4);
  border-radius: 1.25rem;
  border: 1px solid rgba(81, 176, 50, 0.15);
  text-align: center;
}
.article-cta p {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.article-cta .btn {
  display: inline-flex;
}

@media (max-width: 720px) {
  .article-hero {
    padding: 5.5rem 0 1.5rem;
  }
  .article-title {
    max-width: 100%;
    font-size: 1.875rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .article-cover {
    padding: 1rem 0 0;
  }
  .article-cover-img {
    height: 14rem;
    border-radius: 1rem;
  }
  .article-content {
    padding: 1.5rem 0 3rem;
  }
  .article-body {
    width: calc(100% - 2rem);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 !important;
    overflow-wrap: anywhere;
  }
  .article-body p,
  .article-body ul li {
    font-size: 0.9375rem;
    line-height: 1.65;
  }
  .article-body ul li {
    padding-left: 1.35rem;
  }
  .article-body h2 {
    font-size: 1.25rem;
    margin: 1.75rem 0 0.75rem;
    overflow-wrap: anywhere;
  }
  .article-cta {
    padding: 1.75rem 1.25rem;
  }
  .article-cta p {
    font-size: 1rem;
  }
}
