/* ====== Базовые стили ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --accent: #b08d57;
  --accent-light: #d4a96a;
  --accent-dark: #8a6d3f;
  --dark: #1a1410;
  --dark-2: #251d17;
  --light: #f7f3ee;
  --text: #2c241e;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--light);
  overflow-x: hidden;
}

/* ====== Прогресс-бар прокрутки ====== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 1000;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(176, 141, 87, 0.6);
}

/* ====== Hero / Шапка ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(176,141,87,0.25), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212,169,106,0.2), transparent 50%),
    linear-gradient(135deg, #1a1410 0%, #2d2419 50%, #3a2c1d 100%);
  color: var(--light);
  overflow: hidden;
}

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 60px;
  z-index: 100;
  transition: all 0.4s ease;
  background: transparent;
}
.navbar.scrolled {
  padding: 14px 60px;
  background: rgba(26,20,16,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--accent-light);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 38px;
}
.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--accent-light); }
.nav-links a:hover::after { width: 100%; }

/* Hero контент */
.hero-content { position: relative; z-index: 2; padding: 0 20px; }

.title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 24px;
}
.title .accent {
  background: linear-gradient(135deg, var(--accent-light), #f0d9a0, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { filter: hue-rotate(0deg) brightness(1); }
  50% { filter: hue-rotate(10deg) brightness(1.15); }
}

.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 16px 44px;
  border: 2px solid var(--accent);
  border-radius: 50px;
  color: var(--light);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: -1;
}
.btn:hover::before { transform: translateX(0); }
.btn:hover { box-shadow: 0 12px 40px rgba(176,141,87,0.5); transform: translateY(-3px); }

/* Анимация появления */
.animate-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Плавающие лапки */
.floating-paws .paw {
  position: absolute;
  font-size: 2rem;
  opacity: 0.15;
  animation: floatPaw 12s linear infinite;
}
.floating-paws .paw:nth-child(1) { left: 8%; animation-delay: 0s; }
.floating-paws .paw:nth-child(2) { left: 22%; animation-delay: 3s; font-size: 1.5rem; }
.floating-paws .paw:nth-child(3) { left: 48%; animation-delay: 6s; }
.floating-paws .paw:nth-child(4) { left: 65%; animation-delay: 1.5s; font-size: 2.5rem; }
.floating-paws .paw:nth-child(5) { left: 80%; animation-delay: 4s; font-size: 1.8rem; }
.floating-paws .paw:nth-child(6) { left: 92%; animation-delay: 7s; }

@keyframes floatPaw {
  0%   { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.15; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-20vh) rotate(360deg); opacity: 0; }
}

/* ====== Секции ====== */
.section {
  padding: 110px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.section.alt {
  max-width: none;
  background: linear-gradient(180deg, #efe7dc, #f7f3ee);
  margin: 0;
  padding-left: max(60px, calc((100vw - 1200px)/2));
  padding-right: max(60px, calc((100vw - 1200px)/2));
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  color: var(--dark);
}
.section-title::after {
  content: '';
  display: block;
  width: 70px; height: 4px;
  background: var(--accent);
  margin: 18px auto 0;
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.7s ease;
}
.reveal.is-visible .section-title::after { transform: scaleX(1); }

/* Reveal-анимация */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== О породе ====== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 22px;
  color: #4a3f33;
}
.about-text strong { color: var(--accent-dark); font-weight: 700; }
.about-text em { color: var(--accent); font-style: italic; font-weight: 600; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-card {
  text-align: center;
  padding: 28px 16px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(176,141,87,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-top: 4px solid transparent;
}
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(176,141,87,0.25);
  border-top-color: var(--accent);
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #6a5d4e;
  font-weight: 600;
}

/* ====== Карточки типов ====== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.card {
  background: white;
  padding: 38px 24px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.card:hover::before { transform: scaleX(1); }
.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(176,141,87,0.28);
}
.card-icon {
  font-size: 3.2rem;
  margin-bottom: 18px;
  display: inline-block;
  transition: transform 0.5s ease;
}
.card:hover .card-icon { transform: scale(1.2) rotate(8deg); }
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 6px;
}
.card .size {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.card p:last-child {
  color: #6a5d4e;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* 3D-наклон карточек */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.4s ease;
}

/* ====== Характер / шкалы ====== */
.traits {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.trait {
  display: grid;
  grid-template-columns: 180px 1fr 60px;
  align-items: center;
  gap: 18px;
}
.trait-name {
  font-weight: 600;
  color: var(--dark);
  font-size: 1.05rem;
}
.bar-wrap {
  height: 14px;
  background: #e8ddcc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}
.bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), #f0d9a0);
  border-radius: 10px;
  transition: width 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 0 15px rgba(176,141,87,0.5);
}
.trait-val {
  text-align: right;
  font-weight: 700;
  color: var(--accent-dark);
}

/* ====== Уход ====== */
.care-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.care-item {
  background: white;
  padding: 34px 26px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  border-bottom: 4px solid transparent;
}
.care-item:hover {
  transform: translateY(-8px) scale(1.03);
  border-bottom-color: var(--accent);
  box-shadow: 0 25px 50px rgba(176,141,87,0.25);
}
.care-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
  display: inline-block;
}
.care-item h3 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  margin-bottom: 12px;
}
.care-item p {
  color: #6a5d4e;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ====== Бегущая строка фактов ====== */
.facts-marquee {
  overflow: hidden;
  padding: 28px 0;
  background: linear-gradient(90deg, var(--dark), var(--dark-2), var(--dark));
  border-radius: 20px;
  position: relative;
}
.facts-marquee::before,
.facts-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.facts-marquee::before { left: 0; background: linear-gradient(90deg, var(--dark), transparent); }
.facts-marquee::after { right: 0; background: linear-gradient(270deg, var(--dark), transparent); }

.fact-track {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.fact {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--light);
  letter-spacing: 0.5px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ====== Подвал ====== */
.footer {
  background: var(--dark);
  color: var(--light);
  text-align: center;
  padding: 60px 20px;
}
.footer-content h3 {
  font-family: 'Playfair Display', serif;
  color: var(--accent-light);
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.footer-content p { opacity: 0.85; margin-bottom: 6px; }
.footer-content .small { font-size: 0.85rem; opacity: 0.5; margin-top: 18px; }

/* ====== Адаптивность ====== */
@media (max-width: 900px) {
  .navbar { padding: 16px 24px; }
  .nav-links { gap: 20px; font-size: 0.85rem; }
  .section { padding: 80px 24px; }
  .section.alt { padding-left: 24px; padding-right: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards, .care-grid { grid-template-columns: repeat(2, 1fr); }
  .trait { grid-template-columns: 120px 1fr 50px; gap: 12px; }
}
@media (max-width: 560px) {
  .nav-links { display: none; }
  .cards, .care-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}