:root {
  --cream: #F5F8FF;
  --warm-white: #FAFCFF;
  --sand: #E4ECF7;
  --sand-mid: #CDD9EE;
  --forest: #1A3A6B;
  --forest-mid: #1E4D8C;
  --forest-light: #3A72C4;
  --forest-pale: #BDD0F0;
  --forest-faint: #EBF1FC;
  --amber: #0077C8;
  --amber-light: #90C0F0;
  --amber-pale: #E0EEFC;
  --text-dark: #0D1B33;
  --text-mid: #2B3F60;
  --text-soft: #5A6E8F;
  --text-muted: #8A9DB8;
  --shadow-sm: 0 2px 12px rgba(26,58,107,0.08);
  --shadow-md: 0 6px 30px rgba(26,58,107,0.12);
  --shadow-lg: 0 16px 60px rgba(26,58,107,0.18);
  --radius: 20px;
  --radius-sm: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Onest', sans-serif;
  color: var(--text-dark);
  background: var(--warm-white);
  overflow-x: hidden;
}

/* ======= NAV ======= */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(245, 248, 255, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--sand);
  box-shadow: 0 1px 20px rgba(26,58,107,0.08);
}
nav::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #1A3A6B 0%, #3A72C4 50%, #0099E6 100%);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 80px;
}
/* ── Logo animations ── */
@keyframes logoPawFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-4px) rotate(-4deg); }
  60% { transform: translateY(-2px) rotate(3deg); }
}
@keyframes logoTitleReveal {
  0% { opacity: 0; transform: translateX(-14px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes logoSubReveal {
  0% { opacity: 0; transform: translateX(-10px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes logoPawPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,124,89,0); }
  50% { box-shadow: 0 0 0 6px rgba(74,124,89,0.12); }
}
@keyframes logoShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-paw {
  width: 64px; height: 64px;
  background: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--sand);
  box-shadow: var(--shadow-sm);
  animation: logoPawFloat 5s ease-in-out infinite, logoPawPulse 4s ease-in-out infinite;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s;
}
.logo-paw img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 4px;
  border-radius: 12px;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
}
.logo:hover .logo-paw {
  transform: rotate(-8deg) scale(1.1);
  box-shadow: 0 6px 24px rgba(74,124,89,0.22);
  animation-play-state: paused;
}
.logo:hover .logo-paw img { transform: scale(1.08); }
.logo-text {
  display: flex; flex-direction: column; line-height: 1.1; gap: 0;
}
.logo-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 23px; font-weight: 900;
  color: var(--forest);
  letter-spacing: -0.03em;
  animation: logoTitleReveal 0.6s cubic-bezier(.34,1.56,.64,1) both;
  background: linear-gradient(90deg, var(--forest) 0%, #6aab7e 40%, var(--forest) 60%, var(--forest) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background-position 0.4s;
}
.logo:hover .logo-title {
  animation: logoShimmer 1s linear forwards;
}
.logo-sub {
  font-size: 11px; font-weight: 800;
  color: var(--text-mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
  white-space: nowrap;
  animation: logoSubReveal 0.7s cubic-bezier(.34,1.56,.64,1) 0.1s both;
  transition: color 0.3s, letter-spacing 0.3s;
}
.logo:hover .logo-sub {
  color: var(--forest);
  letter-spacing: 0.09em;
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--text-mid);
  font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
  padding: 8px 14px; border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--forest);
  background: var(--forest-faint);
}
.nav-cta {
  background: var(--forest) !important;
  color: var(--warm-white) !important;
  border-radius: 10px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--forest-mid) !important; transform: translateY(-1px); box-shadow: var(--shadow-sm) !important; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; z-index: 1001; -webkit-tap-highlight-color: transparent; }
.burger span { width: 24px; height: 2px; background: var(--forest); border-radius: 2px; transition: all 0.3s; display: block; pointer-events: none; }

/* ======= PAGES ======= */
.page { display: none; padding-top: 80px; min-height: 100vh; }
.page.active { display: block; }

/* ======= HERO ======= */
.hero {
  position: relative; overflow: hidden;
  background: var(--cream);
  min-height: calc(100vh - 80px);
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(58,114,196,0.13) 0%, transparent 60%),
              radial-gradient(ellipse at 10% 80%, rgba(26,58,107,0.08) 0%, transparent 50%),
              linear-gradient(135deg, #F5F8FF 0%, #EBF1FC 100%);
}
.hero-image-side {
  position: absolute; right: 0; top: 0; bottom: 0; width: 50%;
  overflow: hidden;
}
.hero-image-side::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 200px; z-index: 1;
  background: linear-gradient(to right, var(--cream), transparent);
}
.hero-image-side img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 50%;
  animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px #4ade80; }
  50% { opacity: 0.6; box-shadow: 0 0 14px #4ade80; }
}
.hero-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 80px 2.5rem;
  position: relative; z-index: 2;
  width: 100%;
}
.hero-content { max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber-pale);
  border: 1px solid var(--amber-light);
  color: var(--forest);
  font-size: 12px; font-weight: 700;
  padding: 6px 16px; border-radius: 50px;
  margin-bottom: 2rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  animation: fadeSlideUp 0.7s ease both;
}
.hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(30px, 4.5vw, 60px);
  font-weight: 900;
  line-height: 1.12;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.7s 0.1s ease both;
  letter-spacing: -0.04em;
}
.hero h1 em {
  font-style: italic;
  color: var(--forest-light);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1em;
  font-weight: 700;
}
.hero-sub {
  font-size: 17px; line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 2.5rem;
  font-weight: 500;
  animation: fadeSlideUp 0.7s 0.2s ease both;
  max-width: 460px;
}
.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeSlideUp 0.7s 0.3s ease both;
}
.btn-primary {
  background: var(--forest); color: var(--warm-white);
  padding: 15px 30px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s; letter-spacing: 0.01em;
  font-family: 'Onest', sans-serif;
}
.btn-primary:hover { background: var(--forest-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary, .btn-outline, .cta-btn, .share-btn, .footer-social, .floating-cta, .floating-max {
  position: relative;
  overflow: visible;
  isolation: isolate;
}
.btn-primary::after, .btn-outline::after, .cta-btn::after, .share-btn::after, .footer-social::after, .floating-cta::after, .floating-max::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  border: 2px solid rgba(26,58,107,0.34);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  animation: buttonRipple 4.2s ease-out infinite;
}
.btn-primary::before, .btn-outline::before, .cta-btn::before, .share-btn::before, .footer-social::before, .floating-cta::before, .floating-max::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  border: 2px solid rgba(26,58,107,0.34);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  animation: buttonRipple 4.2s ease-out 1.5s infinite;
}
.btn-primary:hover::after, .btn-outline:hover::after, .cta-btn:hover::after, .share-btn:hover::after, .footer-social:hover::after, .floating-cta:hover::after, .floating-max:hover::after {
  animation-duration: 2.8s;
}
@keyframes buttonRipple {
  0% { transform: scale(0.92); opacity: 0.34; box-shadow: 0 0 0 0 rgba(26,58,107,0.16); }
  78%, 100% { transform: scale(1.18); opacity: 0; box-shadow: 0 0 0 6px rgba(26,58,107,0); }
}
.btn-outline {
  background: transparent; color: var(--forest);
  border: 1.5px solid var(--forest);
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s; letter-spacing: 0.01em;
  font-family: 'Onest', sans-serif;
}
.btn-outline:hover { background: var(--forest-faint); transform: translateY(-2px); }
.hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--sand-mid);
  animation: fadeSlideUp 0.7s 0.4s ease both;
}
.stat-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 36px; font-weight: 900;
  color: var(--forest); line-height: 1;
  letter-spacing: -0.04em;
}
.stat-label {
  font-size: 12px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ======= SECTION SHARED ======= */
.section { padding: 90px 2.5rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--forest-light);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(22px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 16px; line-height: 1.7;
  color: var(--text-soft);
  max-width: 520px;
}
.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ======= FEATURES ======= */
.features-section { background: var(--cream); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--sand-mid);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-card {
  background: var(--cream);
  padding: 2.5rem;
  transition: background 0.3s;
  cursor: pointer;
}
.feature-card:hover { background: var(--forest-faint); }
.feature-card:focus-visible {
  outline: 3px solid var(--forest-pale);
  outline-offset: -6px;
}
.feature-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 36px; font-weight: 900;
  color: var(--sand-mid);
  line-height: 1; margin-bottom: 1.2rem;
  letter-spacing: -0.04em;
}
.feature-card h3 {
  font-size: 18px; font-weight: 900;
  color: var(--text-dark); margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.feature-card p { font-size: 15px; font-weight: 600; color: var(--text-mid); line-height: 1.65; }

/* ======= GALLERY PAGE ======= */
.gallery-hero {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 60%, #1a5ca8 100%);
  padding: 80px 2.5rem 70px;
  position: relative;
  overflow: hidden;
}
.gallery-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(58,114,196,0.3) 0%, transparent 60%),
              radial-gradient(ellipse at 10% 80%, rgba(0,0,0,0.2) 0%, transparent 50%);
}
.gallery-hero-inner {
  max-width: 1280px; margin: 0 auto;
  position: relative; z-index: 1;
}
.gallery-hero .section-label { color: var(--forest-pale); margin-bottom: 0.75rem; }
.gallery-hero-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.2rem;
}
.gallery-hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.72);
  max-width: 520px; line-height: 1.7; font-weight: 500;
}

/* Filters */
.gallery-filters-wrap {
  background: var(--warm-white);
  border-bottom: 1px solid var(--sand);
  position: sticky; top: 80px; z-index: 100;
  padding: 0 2.5rem;
}
.gallery-filters {
  max-width: 1280px; margin: 0 auto;
  display: flex; gap: 6px;
  padding: 14px 0;
  overflow-x: auto;
}
.gallery-filters::-webkit-scrollbar { display: none; }
.gf-btn {
  background: transparent;
  border: 1.5px solid var(--sand-mid);
  color: var(--text-soft);
  font-family: 'Onest', sans-serif;
  font-size: 13px; font-weight: 700;
  padding: 8px 18px; border-radius: 50px;
  cursor: pointer; white-space: nowrap;
  transition: all 0.2s;
}
.gf-btn:hover { border-color: var(--forest-light); color: var(--forest); }
.gf-btn.active {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

/* Grid */
.gallery-section { padding: 50px 2.5rem 70px; background: var(--cream); }
.gallery-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 12px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--sand);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s;
}
.gallery-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gi-tall { grid-row: span 2; }
.gi-wide { grid-column: span 2; }

/* Overlay */
.gi-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,51,0.75) 0%, rgba(13,27,51,0.1) 60%, transparent 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gi-overlay { opacity: 1; }
.gi-overlay-icon {
  font-size: 28px; margin-bottom: 8px;
  transform: scale(0.7); transition: transform 0.3s;
}
.gallery-item:hover .gi-overlay-icon { transform: scale(1); }
.gi-overlay-label {
  color: #fff; font-size: 13px; font-weight: 700;
  text-align: center; line-height: 1.4;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Hidden items */
.gallery-item.gi-hidden {
  display: none;
}

/* CTA strip */
.gallery-cta-strip {
  background: var(--forest);
  padding: 50px 2.5rem;
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,18,35,0.95);
  backdrop-filter: blur(16px);
  align-items: center; justify-content: center;
  animation: lbFadeIn 0.25s ease;
}
.lightbox-overlay.open { display: flex; }
@keyframes lbFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.lb-content {
  max-width: min(90vw, 900px);
  max-height: 88vh;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: lbSlideIn 0.3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes lbSlideIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.lb-content img {
  max-width: 100%; max-height: 76vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lb-caption {
  color: rgba(255,255,255,0.85);
  font-size: 14px; font-weight: 600;
  text-align: center;
}
.lb-counter {
  color: rgba(255,255,255,0.4);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.lb-close {
  position: fixed; top: 24px; right: 28px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff; font-size: 18px;
  width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  font-family: 'Onest', sans-serif;
}
.lb-close:hover { background: rgba(255,255,255,0.25); }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; font-size: 30px;
  width: 52px; height: 52px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  font-family: 'Onest', sans-serif;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.25); }

/* Mobile */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }
  .gi-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery-section { padding: 28px 1rem 48px; }
  .gallery-filters-wrap { top: 64px; padding: 0 1rem; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
    gap: 8px;
  }
  .gi-tall { grid-row: span 2; }
  .gi-wide { grid-column: span 2; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* ======= ANIMAL PHOTO STRIP ======= */
.photo-strip {
  padding: 60px 0;
  overflow: hidden;
  background: var(--warm-white);
}
.photo-strip-inner {
  display: flex; gap: 16px;
  animation: stripScroll 30s linear infinite;
  width: max-content;
}
.photo-strip-inner:hover { animation-play-state: paused; }
@keyframes stripScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.strip-photo {
  width: 280px; height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden; flex-shrink: 0;
  cursor: pointer;
}
.strip-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.strip-photo:hover img { transform: scale(1.06); }

/* ======= SERVICES ======= */
.services-section { background: var(--forest); padding: 90px 2.5rem; }
.services-section .section-label { color: var(--forest-pale); }
.services-section .section-title { color: var(--cream); }
.services-section .section-sub { color: rgba(250,246,241,0.65); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3rem;
}
.service-item {
  background: rgba(255,255,255,0.04);
  padding: 2rem;
  cursor: pointer;
  transition: background 0.3s;
  text-align: center;
}
.service-item:hover { background: rgba(255,255,255,0.1); }
.service-icon {
  font-size: 32px;
  margin-bottom: 1rem;
  display: block;
}
.service-item h3 {
  font-size: 15px; font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.service-item p { font-size: 13px; color: rgba(250,246,241,0.5); line-height: 1.5; }
.service-item .arrow {
  display: inline-block; margin-top: 1rem;
  color: var(--amber); font-size: 18px;
  transition: transform 0.2s;
}
.service-item:hover .arrow { transform: translateX(4px); }

/* ======= ANIMAL PARALLAX SECTION ======= */
.parallax-section {
  position: relative; height: 500px; overflow: hidden;
}
.parallax-bg {
  position: absolute; inset: -60px 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
/* iOS не поддерживает background-attachment:fixed внутри overflow:hidden */
@supports (-webkit-touch-callout: none) {
  .parallax-bg {
    background-attachment: scroll;
    inset: 0;
  }
}
.parallax-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,58,107,0.88) 40%, rgba(26,58,107,0.35) 100%);
  display: flex; align-items: center;
  padding: 0 2.5rem;
}
.parallax-content {
  max-width: 1280px; margin: 0 auto; width: 100%;
}
.parallax-content h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(22px, 3.5vw, 46px);
  font-weight: 800; color: var(--cream);
  line-height: 1.15; margin-bottom: 1.2rem;
  letter-spacing: -0.03em; max-width: 600px;
}
.parallax-content p { font-size: 17px; color: rgba(250,246,241,0.8); margin-bottom: 2rem; max-width: 480px; }

/* ======= TEAM PAGE ======= */
.team-intro {
  background: var(--cream);
  padding: 80px 2.5rem 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s;
  align-self: start;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-photo {
  height: 320px; overflow: hidden;
  background: linear-gradient(135deg, var(--forest-faint), var(--forest-pale));
  position: relative;
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 22%;
  transition: transform 0.5s ease, filter 0.35s ease;
}
.team-card:hover .team-photo img { transform: scale(1.04); filter: saturate(1.05); }
.team-photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--forest-faint) 0%, var(--sand) 100%);
  border-bottom: 1px solid var(--forest-pale);
}
.team-placeholder-inner {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.team-placeholder-icon { font-size: 52px; opacity: 0.35; }
.team-placeholder-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--forest-light); opacity: 0.7;
}
.team-info { padding: 1.35rem 1.4rem 1.55rem; }
.team-specialty {
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--forest-light);
  margin-bottom: 8px;
}
.team-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 700;
  line-height: 1.06;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}
.team-role { margin-top: 10px; font-size: 14px; color: var(--text-soft); font-weight: 600; }

/* ======= PRICE ======= */
.price-hero { background: var(--cream); padding: 60px 2.5rem 40px; border-bottom: 1px solid var(--sand); }
.price-section { padding: 50px 2.5rem 80px; }
.price-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.price-tab {
  padding: 10px 20px; border-radius: 50px;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--sand-mid);
  background: var(--warm-white);
  color: var(--text-soft);
  transition: all 0.2s;
  font-family: 'Onest', sans-serif;
}
.price-tab:hover { border-color: var(--forest-light); color: var(--forest); }
.price-tab.active { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.price-table-wrap {
  background: var(--warm-white);
  border-radius: var(--radius);
  border: 1px solid var(--sand);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-sm);
}
.price-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.price-table thead { background: var(--forest); }
.price-table thead th {
  color: var(--cream); font-size: 13px; font-weight: 500;
  padding: 16px 24px; text-align: left;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.price-table tbody tr { border-bottom: 1px solid var(--sand); transition: background 0.15s; }
.price-table tbody tr:hover { background: var(--forest-faint); }
.price-table tbody tr:last-child { border-bottom: none; }
.price-table td { padding: 15px 24px; font-size: 15px; color: var(--text-mid); }
.price-table td:last-child {
  font-weight: 700; color: var(--forest);
  text-align: right; white-space: nowrap;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
}
.price-table thead th:last-child,
.price-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  background: var(--warm-white);
}
.price-table thead th:last-child {
  background: var(--forest);
  z-index: 3;
}
.price-category { display: none; }
.price-category.active { display: block; }
.price-cards { display: none; }
.price-note {
  margin-top: 1.5rem; padding: 1.5rem 2rem;
  background: var(--amber-pale);
  border: 1px solid var(--amber-light);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text-mid);
  line-height: 1.6;
}

.admin-price-card {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.admin-price-card h4 {
  font-family: 'Unbounded', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}
.admin-price-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(240px, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--sand);
}
.admin-price-name {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.35;
}
.admin-price-inputs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-price-field {
  display: flex;
  flex: 1;
  min-width: 130px;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.admin-price-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--sand-mid);
  border-radius: 8px;
  font-size: 15px;
  color: var(--text-dark);
  background: #fff;
  font-weight: 500;
  text-transform: none;
}
.admin-price-delete {
  display: block;
  margin-top: 8px;
  background: none;
  border: none;
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  font-family: 'Onest', sans-serif;
  text-align: left;
}
.admin-service-form {
  margin-top: 14px;
  padding: 14px;
  border: 1px dashed var(--forest-pale);
  border-radius: 12px;
  background: var(--forest-faint);
}
.admin-service-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--forest);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.admin-service-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) minmax(120px, 0.8fr) auto;
  gap: 10px;
  align-items: end;
}
.admin-service-add {
  padding: 11px 16px;
  font-size: 13px;
  white-space: nowrap;
}

/* ======= PROMOS ======= */
.promos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.promo-card {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s;
  box-shadow: var(--shadow-sm);
}
.promo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.promo-img {
  height: 180px; overflow: hidden;
  position: relative;
}
.promo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.promo-card:hover .promo-img img { transform: scale(1.05); }
.promo-badge-overlay {
  position: absolute; top: 16px; left: 16px;
  background: var(--amber); color: white;
  font-size: 20px; font-weight: 700;
  padding: 6px 16px; border-radius: 50px;
  font-family: 'Cormorant Garamond', serif;
}
.promo-body { padding: 1.6rem; }
.promo-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 700;
  color: var(--text-dark); margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.promo-body p { font-size: 14px; color: var(--text-soft); line-height: 1.65; margin-bottom: 1rem; }
.promo-valid { font-size: 12px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.2rem; }

/* ======= CONTACTS ======= */
.contacts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.contact-card {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--forest-light);
  margin-bottom: 8px;
}
.contact-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px; font-weight: 800;
  color: var(--text-dark); margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.contact-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 1rem; }
.contact-row .ci { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.contact-row span { font-size: 15px; color: var(--text-soft); line-height: 1.6; }
.contact-row strong { color: var(--text-dark); font-weight: 600; }
.work-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #E0EEFC; color: #1A3A6B;
  font-size: 13px; font-weight: 600; padding: 6px 14px;
  border-radius: 50px; margin-top: 4px;
}
.map-placeholder {
  background: var(--forest-faint);
  border-radius: var(--radius);
  height: 300px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--forest-pale);
  flex-direction: column; gap: 1rem;
  text-align: center;
}
.map-placeholder .map-icon { font-size: 50px; }
.map-placeholder p { font-size: 16px; color: var(--forest-mid); font-weight: 500; }

/* ======= CTA BAND ======= */
.cta-band {
  background: var(--forest);
  padding: 80px 2.5rem;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '🐾';
  position: absolute; right: 5%; top: 50%;
  transform: translateY(-50%) rotate(15deg);
  font-size: 200px; opacity: 0.04;
  pointer-events: none;
}
.cta-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-text h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 800; color: var(--cream);
  line-height: 1.2; margin-bottom: 0.6rem;
  letter-spacing: -0.03em;
}
.cta-text p { font-size: 16px; color: rgba(245,248,255,0.75); font-weight: 500; }
.cta-btn {
  background: var(--cream); color: var(--forest);
  padding: 16px 36px; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 700; cursor: pointer;
  border: none; white-space: nowrap;
  transition: all 0.25s; font-family: 'Onest', sans-serif;
  flex-shrink: 0;
}
.cta-btn:hover { background: var(--amber-pale); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

/* ======= SHARE ======= */
.share-section { background: var(--sand); padding: 50px 2.5rem; text-align: center; }
.share-section h2 {
  font-family: 'Onest', sans-serif;
  font-size: 26px; font-weight: 800;
  color: var(--text-dark); margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.share-section p { color: var(--text-soft); margin-bottom: 1.8rem; font-size: 15px; }
.share-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 50px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  text-decoration: none; border: none; transition: all 0.25s;
  font-family: 'Onest', sans-serif;
}
.share-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.share-vk { background: #4a76a8; color: #fff; }
.share-tg { background: #0088cc; color: #fff; }
.share-wa { background: #25d366; color: #fff; }
.share-copy { background: var(--text-dark); color: #fff; }

/* ======= MODAL ======= */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(13,27,51,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000; display: none;
  align-items: flex-start; justify-content: center;
  padding: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--warm-white); border-radius: 24px;
  padding: 3rem 2rem 2rem; width: 100%; max-width: 500px;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: slideUp 0.35s cubic-bezier(0.34,1.56,0.64,1);
  margin: 1rem auto;
  flex-shrink: 0;
}
@media (max-width: 520px) {
  .modal {
    border-radius: 20px 20px 0 0;
    margin: auto 0 0 0;
    padding: 1rem 1.2rem 2rem;
    max-width: 100%;
  }
  .modal-overlay {
    align-items: flex-end;
  }
}
/* Крестик — всегда видимый, большой, поверх контента */
.modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin: 0 0 0.5rem 0.5rem;
  background: var(--forest);
  border: none; border-radius: 50%;
  width: 42px; height: 42px; cursor: pointer;
  font-size: 20px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(26,58,107,0.3);
  flex-shrink: 0;
}
.modal-close:hover { background: var(--forest-mid); }
@keyframes slideUp { from{transform:translateY(40px);opacity:0} to{transform:translateY(0);opacity:1} }
.modal-eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--forest-light);
  margin-bottom: 8px;
}
.modal h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: 24px; color: var(--text-dark);
  margin-bottom: 0.4rem; font-weight: 800;
  letter-spacing: -0.03em;
}
.modal-sub { font-size: 14px; color: var(--text-soft); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-soft); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--sand-mid); border-radius: var(--radius-sm);
  font-family: 'Onest', sans-serif; font-size: 15px; color: var(--text-dark);
  background: var(--cream); transition: all 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(26,58,107,0.12);
}
.form-group textarea { height: 90px; resize: vertical; }
.form-success { text-align: center; padding: 1rem 0; }
.form-success .check { font-size: 60px; margin-bottom: 1rem; }
.form-success h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px; color: var(--forest); margin-bottom: 0.5rem;
  font-weight: 800;
}
.form-success p { color: var(--text-soft); font-size: 15px; line-height: 1.7; }

/* ======= FOOTER ======= */
footer {
  background: var(--text-dark); color: rgba(250,246,241,0.6);
  padding: 3rem 2.5rem; text-align: center;
}
footer .footer-inner { max-width: 1280px; margin: 0 auto; }
footer .footer-logo {
  font-family: 'Unbounded', sans-serif;
  font-size: 20px; font-weight: 900;
  color: var(--cream); margin-bottom: 0.8rem;
  letter-spacing: -0.03em;
}
footer p { font-size: 14px; line-height: 1.7; margin-bottom: 0.3rem; }
footer strong { color: rgba(250,246,241,0.9); }
footer .footer-bottom {
  margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; color: rgba(250,246,241,0.3);
}
.footer-social {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 700; text-decoration: none;
  transition: all 0.25s; border: 1.5px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
}
.footer-social:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.4); color: #fff; }
.footer-social-vk:hover { background: #4a76a8; border-color: #4a76a8; }
.footer-social-ig:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; }
.footer-social-tg:hover { background: #0088cc; border-color: #0088cc; }

/* ======= REVIEWS ======= */
.reviews-section { background: var(--cream); padding: 90px 2.5rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.review-card {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.35s;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-top { display: flex; justify-content: space-between; align-items: center; }
.review-stars { color: #f5a623; font-size: 18px; letter-spacing: 2px; }
.review-actions { display: flex; align-items: center; gap: 8px; }
.review-date { font-size: 12px; color: var(--text-muted); }
.review-delete-btn {
  background: transparent; border: none;
  color: var(--text-muted); font-size: 16px; cursor: pointer;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.review-delete-btn:hover { background: #fee2e2; }
.review-text {
  font-size: 15px; color: var(--text-mid); line-height: 1.7;
  font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest-faint);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  border: 2px solid var(--forest-pale);
}
.review-name { font-weight: 700; font-size: 14px; color: var(--text-dark); }
.review-pet { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
/* Блок ответа клиники */
.review-reply {
  background: var(--forest-faint);
  border-left: 3px solid var(--forest-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.8rem 1rem;
  margin-top: 0.4rem;
}
.review-reply-label {
  font-size: 11px; font-weight: 800; color: var(--forest);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px;
}
.review-reply-text { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.review-reply-edit {
  margin-top: 6px; background: none; border: none;
  font-size: 12px; color: var(--forest-light); cursor: pointer;
  padding: 0; font-family: 'Onest', sans-serif;
}
.review-reply-edit:hover { text-decoration: underline; }
/* Кнопка «Ответить» */
.review-reply-btn {
  background: var(--forest-faint); color: var(--forest);
  border: 1px solid var(--forest-pale);
  padding: 8px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'Onest', sans-serif;
  transition: all 0.2s; align-self: flex-start;
}
.review-reply-btn:hover { background: var(--forest); color: #fff; }
/* Форма ответа */
.review-reply-box { margin-top: 0.4rem; }
.review-reply-box textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--forest-pale); border-radius: var(--radius-sm);
  font-family: 'Onest', sans-serif; font-size: 14px;
  background: var(--cream); resize: vertical;
  color: var(--text-dark);
}
.review-reply-box textarea:focus { outline: none; border-color: var(--forest); }
.reply-send-btn {
  background: var(--forest); color: #fff;
  border: none; padding: 8px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'Onest', sans-serif; transition: background 0.2s;
}
.reply-send-btn:hover { background: var(--forest-mid); }
.reply-cancel-btn {
  background: var(--sand); color: var(--text-soft);
  border: none; padding: 8px 14px; border-radius: 50px;
  font-size: 13px; cursor: pointer; font-family: 'Onest', sans-serif;
}
.reviews-empty {
  grid-column: 1/-1; text-align: center; padding: 3rem;
  color: var(--text-muted); font-size: 15px;
}

/* ======= REVIEW FORM ======= */
.review-form-wrap {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.review-form-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px; font-weight: 800;
  color: var(--text-dark); margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.review-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
@media (max-width: 600px) { .review-form-grid { grid-template-columns: 1fr; } }
.star-picker { display: flex; gap: 6px; }
.star-picker span {
  font-size: 32px; cursor: pointer;
  color: var(--sand-mid); transition: color 0.15s;
  line-height: 1;
}
.star-picker span.active { color: #f5a623; }
.star-picker span:hover { color: #f5a623; }

/* ======= PRICE TABLE MOBILE FIX ======= */
@media (max-width: 768px) {
  .price-section {
    padding: 34px 1rem 72px;
  }
  .price-tabs {
    margin: 0 -1rem 1.25rem;
    padding: 0 1rem 8px;
    scroll-snap-type: x proximity;
  }
  .price-tab {
    flex: 0 0 auto;
    padding: 9px 14px;
    font-size: 13px;
    scroll-snap-align: start;
  }
  .price-note {
    padding: 1rem;
    font-size: 13px;
    border-radius: 12px;
  }
  .price-table-wrap {
    border-radius: var(--radius-sm);
    border: none;
    box-shadow: none;
    background: transparent;
  }
  .price-table { display: none; }
  .price-cards { display: flex; flex-direction: column; gap: 10px; }
  .price-card-row {
    background: var(--warm-white);
    border: 1px solid var(--sand);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
  }
  .price-card-row-name {
    min-width: 0;
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  .price-card-row-price {
    font-size: 15px; font-weight: 700; color: var(--forest);
    white-space: nowrap;
    text-align: right;
  }
  .admin-price-card {
    padding: 14px;
    border-radius: 12px;
  }
  .admin-price-row,
  .admin-service-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .admin-price-inputs {
    display: grid;
    grid-template-columns: 1fr;
  }
  .admin-price-field {
    min-width: 0;
  }
  .admin-service-add {
    width: 100%;
    justify-content: center;
  }
}
.nav-social { display: flex; gap: 6px; align-items: center; margin-right: 4px; }
.nav-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  color: var(--text-soft); text-decoration: none;
  transition: all 0.2s; background: transparent;
}
.nav-social a:hover { background: var(--forest-faint); color: var(--forest); transform: translateY(-1px); }
@media (max-width: 768px) { .nav-social { display: none; } }

/* ======= FLOATING CTA ======= */
.floating-cta {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  background: var(--forest); color: var(--cream);
  border: none; border-radius: 50px; padding: 14px 24px;
  font-family: 'Onest', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; box-shadow: 0 8px 30px rgba(26,58,107,0.45);
  display: flex; align-items: center; gap: 10px;
  transition: all 0.25s; letter-spacing: 0.01em;
}
.floating-cta:hover { background: var(--forest-mid); transform: translateY(-3px) scale(1.02); }
.floating-max {
  position: fixed; bottom: 5.4rem; right: 2rem; z-index: 999;
  background: #0b77ff; color: #fff;
  border: none; border-radius: 50px; padding: 14px 22px;
  font-family: 'Onest', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; box-shadow: 0 8px 30px rgba(11,119,255,0.32);
  display: flex; align-items: center; gap: 9px;
  transition: all 0.25s; letter-spacing: 0.01em; text-decoration: none;
}
.floating-max:hover { background: #0564d8; transform: translateY(-3px) scale(1.02); }
/* ======= TOAST ======= */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--text-dark); color: var(--cream);
  padding: 12px 24px; border-radius: 50px; font-size: 14px; font-weight: 500;
  z-index: 3000; transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1); white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ======= AUTH MODAL ======= */
.auth-overlay {
  position: fixed; inset: 0;
  background: rgba(13,27,51,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3100; display: none;
  align-items: center; justify-content: center;
  padding: 1rem;
}
.auth-overlay.open { display: flex; }
.auth-box {
  background: var(--warm-white); border-radius: 24px;
  padding: 2.5rem 2rem 2rem; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg); position: relative;
  animation: slideUp 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.auth-tabs { display: flex; gap: 0; margin-bottom: 2rem; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--sand-mid); }
.auth-tab {
  flex: 1; padding: 10px; text-align: center; font-size: 14px; font-weight: 700;
  cursor: pointer; background: var(--cream); color: var(--text-soft); border: none;
  font-family: 'Onest', sans-serif; transition: all 0.2s;
}
.auth-tab.active { background: var(--forest); color: #fff; }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest-light); margin-bottom: 6px; }
.auth-title { font-family: 'Unbounded', sans-serif; font-size: 20px; font-weight: 800; color: var(--text-dark); margin-bottom: 1.5rem; letter-spacing: -0.03em; }
.auth-close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--forest); border: none; border-radius: 50%;
  width: 36px; height: 36px; cursor: pointer;
  font-size: 16px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.auth-close:hover { background: var(--forest-mid); }
.nav-account-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--forest-faint); border: 1.5px solid var(--forest-pale);
  color: var(--forest); border-radius: 10px; padding: 7px 14px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  font-family: 'Onest', sans-serif; transition: all 0.2s;
  white-space: nowrap;
}
.nav-account-btn:hover { background: var(--forest); color: #fff; border-color: var(--forest); }

/* ======= ЛИЧНЫЙ КАБИНЕТ ======= */
.cabinet-hero { background: var(--cream); padding: 60px 2.5rem 40px; border-bottom: 1px solid var(--sand); }
.cabinet-user-bar {
  display: flex; align-items: center; gap: 16px; margin-bottom: 2rem;
  background: var(--warm-white); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 1.5rem;
}
.cabinet-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--forest); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.cabinet-user-info h3 { font-size: 18px; font-weight: 800; color: var(--text-dark); }
.cabinet-user-info p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.cabinet-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 2rem 0 1.5rem; }
.cabinet-tab {
  padding: 9px 18px; border-radius: 50px; font-size: 13px; font-weight: 700;
  cursor: pointer; border: 1.5px solid var(--sand-mid); background: var(--cream);
  color: var(--text-soft); font-family: 'Onest', sans-serif; transition: all 0.2s;
}
.cabinet-tab.active { background: var(--forest); color: #fff; border-color: var(--forest); }
.cabinet-panel { display: none; }
.cabinet-panel.active { display: block; }
.pet-card {
  background: var(--warm-white); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 1.5rem; margin-bottom: 1.2rem; display: flex; gap: 1rem; align-items: flex-start;
}
.pet-avatar { font-size: 48px; flex-shrink: 0; }
.pet-info { flex: 1; }
.pet-name { font-size: 20px; font-weight: 800; color: var(--text-dark); margin-bottom: 4px; }
.pet-meta { font-size: 13px; color: var(--text-soft); margin-bottom: 10px; }
.pet-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pet-tag { background: var(--forest-faint); color: var(--forest); border-radius: 50px; padding: 4px 12px; font-size: 12px; font-weight: 700; }
.pet-tag.warn { background: #FFF3CD; color: #856404; }
.add-pet-btn {
  width: 100%; padding: 14px; border: 2px dashed var(--sand-mid); border-radius: var(--radius);
  background: transparent; color: var(--text-muted); font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: 'Onest', sans-serif; transition: all 0.2s;
}
.add-pet-btn:hover { border-color: var(--forest); color: var(--forest); background: var(--forest-faint); }
.visit-row { display: flex; gap: 12px; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--sand); }
.visit-date { font-size: 12px; color: var(--text-muted); min-width: 90px; padding-top: 2px; }
.visit-details h4 { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.visit-details p { font-size: 13px; color: var(--text-soft); }
.vaccine-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: var(--cream); border-radius: var(--radius-sm); border: 1px solid var(--sand); margin-bottom: 8px; }
.vaccine-name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.vaccine-date { font-size: 12px; color: var(--text-soft); margin-top: 2px; }
.vaccine-status { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 50px; }
.vaccine-status.ok { background: #D1FAE5; color: #065F46; }
.vaccine-status.soon { background: #FEF3C7; color: #92400E; }
.vaccine-status.overdue { background: #FEE2E2; color: #991B1B; }

/* ======= СИМПТОМ-ЧЕКЕР ======= */
.checker-section { background: var(--cream); padding: 90px 2.5rem; }
.checker-box {
  background: var(--warm-white); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 2.5rem; max-width: 780px; margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.checker-step { display: none; }
.checker-step.active { display: block; }
.checker-animal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 10px;
; gap: 12px; margin: 1.5rem 0; }
.checker-animal-btn {
  border: 2px solid var(--sand-mid); border-radius: var(--radius-sm);
  padding: 1rem 0.5rem; text-align: center; cursor: pointer;
  background: var(--cream); transition: all 0.2s; font-family: 'Onest', sans-serif;
}
.checker-animal-btn:hover, .checker-animal-btn.sel { border-color: var(--forest); background: var(--forest-faint); }
.checker-animal-btn .emoji { font-size: 32px; display: block; margin-bottom: 4px; }
.checker-animal-btn span { font-size: 12px; font-weight: 700; color: var(--text-mid); }
.symptom-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.2rem 0; }
.symptom-chip {
  border: 1.5px solid var(--sand-mid); border-radius: 50px;
  padding: 7px 16px; font-size: 13px; font-weight: 600; cursor: pointer;
  background: var(--cream); color: var(--text-soft); font-family: 'Onest', sans-serif;
  transition: all 0.2s;
}
.symptom-chip.sel { background: var(--forest); color: #fff; border-color: var(--forest); }
.checker-result {
  border-radius: var(--radius-sm); padding: 1.5rem; margin-top: 1.5rem;
}
.checker-result.urgent { background: #FEE2E2; border: 1.5px solid #FECACA; }
.checker-result.medium { background: #FEF3C7; border: 1.5px solid #FDE68A; }
.checker-result.low { background: #D1FAE5; border: 1.5px solid #A7F3D0; }
.checker-result-title { font-size: 18px; font-weight: 800; margin-bottom: 0.5rem; }
.checker-result.urgent .checker-result-title { color: #991B1B; }
.checker-result.medium .checker-result-title { color: #92400E; }
.checker-result.low .checker-result-title { color: #065F46; }
.checker-result p { font-size: 14px; line-height: 1.7; }
.checker-nav { display: flex; gap: 10px; margin-top: 1.5rem; }
.checker-back { background: var(--cream); border: 1.5px solid var(--sand-mid); color: var(--text-soft); padding: 11px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; font-family: 'Onest', sans-serif; }

/* ======= ANIMATIONS ======= */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-image-side { width: 40%; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 80px; left: 0; right: 0;
    background: var(--cream); padding: 1.2rem;
    border-bottom: 1px solid var(--sand); gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
  .hero-image-side { display: none; }
  .hero h1 { font-size: 32px; }
  .hero-inner { padding: 50px 1.2rem; }
  .features-grid { grid-template-columns: 1fr; gap: 1px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; text-align: center; }
  .section { padding: 50px 1.2rem; }
  .stat-num { font-size: 28px; }
  .nav-cta { display: none !important; }
  .price-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }
  .price-tab { white-space: nowrap; }
  .team-photo { height: 280px; }
  .team-name { font-size: 27px; }
  .cta-band { padding: 60px 1.2rem; }
  footer { padding: 2rem 1.2rem; }
  .logo-title { font-size: 19px; }
  .logo-sub { font-size: 10.5px; }
  .floating-cta,
  .floating-max {
    right: 1rem;
    max-width: calc(100vw - 2rem);
    justify-content: center;
  }
  .floating-cta { bottom: 1rem; padding: 12px 18px; font-size: 13px; }
  .floating-max { bottom: 4.5rem; padding: 12px 16px; font-size: 13px; }
  .review-form-wrap { padding: 1.5rem 1.2rem; }
  .price-hero { padding: 40px 1.2rem 30px; }
  .cabinet-hero { padding: 40px 1.2rem 30px; }
  .cabinet-user-bar {
    align-items: flex-start;
    padding: 1rem;
    border-radius: 14px;
  }
  .cabinet-user-info {
    min-width: 0;
  }
  .cabinet-user-info p {
    overflow-wrap: anywhere;
  }
  .cabinet-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 1.4rem -1.2rem 1.2rem;
    padding: 0 1.2rem 8px;
    -webkit-overflow-scrolling: touch;
  }
  .cabinet-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .team-intro { padding: 40px 1.2rem 0; }
  .contacts-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 1.5rem 1.2rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary, .hero-btns .btn-outline { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .price-card-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 13px 14px;
  }
  .price-card-row-price {
    text-align: left;
    white-space: normal;
  }
  .hero h1 { font-size: 26px; }
  .section-title { font-size: 22px !important; }
  .floating-cta,
  .floating-max {
    left: 1rem;
    width: auto;
    padding-left: 12px;
    padding-right: 12px;
  }
  .floating-max {
    font-size: 12px;
  }
  .admin-price-card {
    margin-left: -0.2rem;
    margin-right: -0.2rem;
  }
  .admin-service-form {
    padding: 12px;
  }
}

/* ===== PREMIUM LOADER ===== */
#loader-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: #080f1e;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 1.1s cubic-bezier(.4,0,.2,1), visibility 1.1s ease;
  overflow: hidden;
}
#loader-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* Ambient gradient bg */
.ld-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(26,58,107,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(0,99,180,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 60% 20%, rgba(58,114,196,0.15) 0%, transparent 60%);
  animation: ldBgPulse 8s ease-in-out infinite;
}
@keyframes ldBgPulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Grid overlay */
.ld-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(58,114,196,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,114,196,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

/* Floating particles */
.ld-particles { position: absolute; inset: 0; pointer-events: none; }
.ld-dot {
  position: absolute; border-radius: 50%;
  animation: ldFloat var(--dur,6s) ease-in-out infinite var(--delay,0s);
}
@keyframes ldFloat {
  0%,100% { transform: translateY(0) scale(1); opacity: var(--op,0.3); }
  50%      { transform: translateY(-50px) scale(1.4); opacity: 0.9; }
}

/* Center content */
.ld-center { position: relative; display: flex; flex-direction: column; align-items: center; z-index: 2; }

/* 3D Scene */
.ld-scene {
  width: 180px; height: 180px;
  perspective: 600px;
  margin-bottom: 52px;
  position: relative;
}
/* Glow ring under cube */
.ld-scene::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 24px;
  background: radial-gradient(ellipse, rgba(58,114,196,0.5) 0%, transparent 70%);
  border-radius: 50%;
  animation: ldGlow 3s ease-in-out infinite;
  filter: blur(8px);
}
@keyframes ldGlow {
  0%,100% { opacity: 0.5; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1.2); }
}

.ld-cube {
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  animation: ldSpin 4s cubic-bezier(.45,.05,.55,.95) infinite;
  position: relative;
}
@keyframes ldSpin {
  0%   { transform: rotateX(-20deg) rotateY(0deg); }
  100% { transform: rotateX(-20deg) rotateY(360deg); }
}
.ld-face {
  position: absolute;
  width: 90px; height: 90px;
  left: 45px; top: 45px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(58,114,196,0.3);
  backdrop-filter: blur(4px);
}
.ld-face.f  { transform: translateZ(45px);  background: rgba(26,58,107,0.4); border-color: rgba(58,114,196,0.6); }
.ld-face.bk { transform: rotateY(180deg) translateZ(45px); background: rgba(26,58,107,0.3); }
.ld-face.r  { transform: rotateY(90deg) translateZ(45px);  background: rgba(30,77,140,0.35); }
.ld-face.l  { transform: rotateY(-90deg) translateZ(45px); background: rgba(30,77,140,0.3); }
.ld-face.t  { transform: rotateX(90deg) translateZ(45px);  background: rgba(0,99,180,0.25); }
.ld-face.bt { transform: rotateX(-90deg) translateZ(45px); background: rgba(0,99,180,0.2); }
.ld-paw-icon { width: 44px; height: 44px; }

/* Brand */
.ld-brand-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; animation: ldFadeUp 0.8s 0.3s both; }
@keyframes ldFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ld-logo-img {
  width: 52px; height: 52px; border-radius: 12px;
  border: 1.5px solid rgba(58,114,196,0.4);
  object-fit: cover; box-shadow: 0 0 20px rgba(58,114,196,0.3);
}
.ld-brand-text { display: flex; flex-direction: column; }
.ld-brand {
  font-family: 'Unbounded', sans-serif;
  font-size: 26px; font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #a8c8ff 50%, #ffffff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: 1px; line-height: 1;
}
.ld-sub {
  font-family: 'Onest', sans-serif;
  font-size: 10px; letter-spacing: 3.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-top: 4px;
  animation: ldFadeUp 0.8s 0.5s both;
}

/* Progress */
.ld-progress-wrap { width: 280px; animation: ldFadeUp 0.8s 0.6s both; }
.ld-bar-wrap {
  width: 100%; height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px; overflow: hidden;
  margin-bottom: 14px; position: relative;
}
/* Shimmer on bar */
.ld-bar-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  animation: ldShimmer 1.5s ease-in-out infinite;
  transform: translateX(-100%);
}
@keyframes ldShimmer {
  to { transform: translateX(300%); }
}
.ld-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #1A3A6B 0%, #3A72C4 50%, #60b0ff 100%);
  border-radius: 2px;
  transition: width 0.12s linear;
  box-shadow: 0 0 8px rgba(96,176,255,0.6);
}
.ld-status-row { display: flex; justify-content: space-between; align-items: center; }
.ld-status {
  font-family: 'Onest', sans-serif;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}
.ld-pct {
  font-family: 'Unbounded', sans-serif;
  font-size: 11px; font-weight: 700;
  color: rgba(96,176,255,0.6);
}

/* Corner accents */
.ld-corner {
  position: absolute; width: 40px; height: 40px;
  border-color: rgba(58,114,196,0.25); border-style: solid;
}
.ld-corner.tl { top: 32px; left: 32px; border-width: 1.5px 0 0 1.5px; }
.ld-corner.tr { top: 32px; right: 32px; border-width: 1.5px 1.5px 0 0; }
.ld-corner.bl { bottom: 32px; left: 32px; border-width: 0 0 1.5px 1.5px; }
.ld-corner.br { bottom: 32px; right: 32px; border-width: 0 1.5px 1.5px 0; }
/* ===== END LOADER ===== */

/* ===== STAT COUNTER ANIMATION ===== */
@keyframes statPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.18); color: var(--forest-light); }
  70%  { transform: scale(0.96); }
  100% { transform: scale(1); }
}
@keyframes statGlow {
  0%,100% { text-shadow: none; }
  50% { text-shadow: 0 0 20px rgba(58,114,196,0.45); }
}
.stat-num.counting {
  animation: statGlow 0.4s ease-in-out infinite;
}
.stat-num.done {
  animation: statPop 0.5s cubic-bezier(.34,1.56,.64,1) forwards;
}
/* ===== END STAT COUNTER ===== */
