/* ============ ДИЗАЙН-ТОКЕНЫ ============ */
:root {
  /* Переопределяем фирменные цвета в тёплую гамму */
  --brand: #c1563f;           /* Терракота */
  --brand-2: #d97e4a;         /* Охра */
  --accent: #e8b88f;          /* Крем/песок */
  --bg: #faf8f5;              /* Молочно-белый фон */
  --surface: #ffffff;         /* Белая поверхность */
  --text: #2a2a2a;            /* Тёмный текст */
  --muted: #8a8a8a;           /* Серый */
  --border: #e8e2d8;          /* Светлая граница */
  
  /* Радиусы острые */
  --radius-1: 2px;
  --radius-2: 4px;
  --radius-3: 6px;
  --radius-pill: 24px;
  
  /* Тени многослойные */
  --shadow-1: 0 2px 4px rgba(193, 86, 63, 0.08);
  --shadow-2: 0 8px 16px rgba(193, 86, 63, 0.12);
  --shadow-3: 0 16px 32px rgba(193, 86, 63, 0.16);
  
  /* Отступы */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  
  /* Типографика */
  --font-sans: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Courier New', monospace;
  
  /* Размеры текста */
  --step-0: clamp(0.875rem, 2vw, 1rem);
  --step-1: clamp(1rem, 2.5vw, 1.125rem);
  --step-2: clamp(1.25rem, 3vw, 1.5rem);
  --step-3: clamp(1.5rem, 3.5vw, 1.875rem);
  --step-4: clamp(1.875rem, 4.5vw, 2.5rem);
  --step-5: clamp(2.4rem, 5vw, 4rem);
  
  /* Контейнер */
  --container: 1200px;
  
  /* Переходы */
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ============ БАЗОВЫЕ СТИЛИ ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: var(--step-1);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* ============ ШАПКА ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: all 200ms ease-out;
  box-shadow: 0 2px 8px rgba(193, 86, 63, 0.06);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--step-3);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--brand);
  text-decoration: none;
}

.logo-icon {
  font-size: 1.5em;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.nav {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--step-0);
  transition: color 150ms ease-out;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 150ms ease-out;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-contact {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-2);
  cursor: pointer;
}

.nav-contact::after {
  display: none;
}

.nav-contact:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-1px);
}

/* ============ ГЕРОЙ ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-9) 0 var(--space-7);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(232, 184, 143, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(217, 126, 74, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 100px;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: var(--step-5);
  font-weight: 800;
  line-height: 1.1;
  color: var(--brand);
  margin-bottom: var(--space-4);
  letter-spacing: -2px;
}

.hero-subtitle {
  font-size: var(--step-3);
  color: var(--muted);
  margin-bottom: var(--space-7);
  max-width: 600px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: var(--space-4) var(--space-6);
  border: none;
  border-radius: var(--radius-2);
  font-size: var(--step-1);
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms ease-out;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  box-shadow: var(--shadow-2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-1);
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}

.btn-ghost:hover {
  background: rgba(193, 86, 63, 0.08);
  transform: translateY(-1px);
}

.btn-large {
  padding: var(--space-5) var(--space-7);
  font-size: var(--step-2);
}

/* ============ ПРОЦЕСС ============ */
.process {
  padding: var(--space-9) 0;
  background-color: var(--surface);
}

.section-title {
  font-size: var(--step-4);
  font-weight: 700;
  color: var(--brand);
  margin-bottom: var(--space-8);
  text-align: center;
  letter-spacing: -1px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-7);
}

.process-item {
  padding: var(--space-6);
  background: var(--bg);
  border-radius: var(--radius-2);
  border: 1px solid var(--border);
  transition: all 200ms ease-out;
  position: relative;
}

.process-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: var(--radius-2) var(--radius-2) 0 0;
}

.process-item:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-4px);
  border-color: var(--brand);
}

.process-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.process-item h3 {
  font-size: var(--step-2);
  color: var(--brand);
  margin-bottom: var(--space-3);
}

.process-item p {
  color: var(--muted);
  line-height: 1.7;
}

/* ============ ПОРОДЫ ============ */
.breeds {
  padding: var(--space-9) 0;
  background-color: var(--bg);
}

.breeds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.breed-card {
  background: var(--surface);
  border-radius: var(--radius-2);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 200ms ease-out;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-1);
}

.breed-card:hover {
  box-shadow: var(--shadow-3);
  transform: translateY(-6px);
  border-color: var(--brand);
}

.breed-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--brand-2));
}

.breed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease-out;
}

.breed-card:hover .breed-image img {
  transform: scale(1.08);
}

.breed-card h3 {
  font-size: var(--step-2);
  color: var(--brand);
  padding: var(--space-4) var(--space-4) 0;
  margin-bottom: var(--space-2);
}

.breed-info {
  color: var(--muted);
  padding: 0 var(--space-4);
  font-size: var(--step-0);
  flex-grow: 1;
}

.breed-price {
  display: block;
  padding: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--brand);
}

/* ============ КОТЯТА ============ */
.kittens {
  padding: var(--space-9) 0;
  background-color: var(--surface);
}

.kittens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}

.kitten-card {
  background: var(--bg);
  border-radius: var(--radius-2);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 200ms ease-out;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-1);
}

.kitten-card:hover {
  box-shadow: var(--shadow-3);
  transform: translateY(-8px);
  border-color: var(--brand);
}

.kitten-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--brand-2));
}

.kitten-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease-out;
}

.kitten-card:hover .kitten-image img {
  transform: scale(1.1);
}

.kitten-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-3);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kitten-card h3 {
  font-size: var(--step-3);
  color: var(--brand);
  padding: var(--space-4) var(--space-4) 0;
  margin-bottom: var(--space-2);
}

.kitten-details {
  display: flex;
  gap: var(--space-2);
  padding: 0 var(--space-4);
  margin-bottom: var(--space-3);
  font-size: var(--step-0);
  flex-wrap: wrap;
}

.kitten-breed,
.kitten-age,
.kitten-gender {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(193, 86, 63, 0.08);
  border-radius: var(--radius-2);
  color: var(--brand);
  font-weight: 600;
}

.kitten-desc {
  padding: 0 var(--space-4);
  color: var(--muted);
  font-size: var(--step-0);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: var(--space-3);
}

.kitten-price {
  display: block;
  padding: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--step-2);
  font-weight: 800;
  color: var(--brand);
  border-top: 1px solid var(--border);
}

/* ============ ПОЧЕМУ МЫ ============ */
.why-us {
  padding: var(--space-9) 0;
  background-color: var(--bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.benefit-item {
  padding: var(--space-6);
  background: var(--surface);
  border-radius: var(--radius-2);
  border: 1px solid var(--border);
  transition: all 200ms ease-out;
  text-align: center;
}

.benefit-item:hover {
  box-shadow: var(--shadow-2);
  border-color: var(--brand);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  border-radius: var(--radius-2);
  margin-bottom: var(--space-4);
  font-weight: 700;
}

.benefit-item h3 {
  font-size: var(--step-2);
  color: var(--brand);
  margin-bottom: var(--space-3);
}

.benefit-item p {
  color: var(--muted);
  line-height: 1.7;
  font-size: var(--step-0);
}

/* ============ ОТЗЫВЫ ============ */
.reviews {
  padding: var(--space-9) 0;
  background-color: var(--surface);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.review-card {
  padding: var(--space-6);
  background: var(--bg);
  border-radius: var(--radius-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  transition: all 200ms ease-out;
  box-shadow: var(--shadow-1);
}

.review-card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.review-rating {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: var(--space-3);
  letter-spacing: 2px;
}

.review-text {
  color: var(--text);
  margin-bottom: var(--space-4);
  line-height: 1.7;
  font-style: italic;
  font-size: var(--step-1);
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.review-author strong {
  color: var(--brand);
  font-weight: 700;
}

.review-meta {
  color: var(--muted);
  font-size: var(--step-0);
}

/* ============ КОНТАКТЫ ============ */
.contact {
  padding: var(--space-9) 0;
  background: linear-gradient(135deg, rgba(193, 86, 63, 0.05), rgba(232, 184, 143, 0.05));
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.contact-info h2 {
  font-size: var(--step-4);
  color: var(--brand);
  margin-bottom: var(--space-3);
}

.contact-subtitle {
  color: var(--muted);
  font-size: var(--step-1);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-item {
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item strong {
  display: block;
  color: var(--brand);
  margin-bottom: var(--space-2);
  font-weight: 700;
}

.contact-item a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  transition: color 150ms ease-out;
}

.contact-item a:hover {
  color: var(--brand-2);
}

.contact-item p {
  color: var(--muted);
  line-height: 1.7;
}

/* ============ ФОРМА ============ */
.contact-form {
  background: var(--surface);
  padding: var(--space-7);
  border-radius: var(--radius-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-input,
.form-textarea {
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  font-family: inherit;
  font-size: var(--step-1);
  color: var(--text);
  background-color: var(--bg);
  transition: all 150ms ease-out;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(193, 86, 63, 0.1);
}

.form-textarea {
  resize: vertical;
}

.form-success {
  padding: var(--space-4);
  background: rgba(193, 86, 63, 0.1);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-2);
  color: var(--brand);
  font-weight: 600;
  animation: slideIn 300ms ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-note {
  color: var(--muted);
  font-size: var(--step-0);
  text-align: center;
  margin-top: -var(--space-2);
}

/* ============ ПОДВАЛ ============ */
.footer {
  background-color: var(--text);
  color: #ddd;
  padding: var(--space-8) 0 var(--space-5);
  border-top: 1px solid rgba(193, 86, 63, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-7);
  margin-bottom: var(--space-6);
}

.footer-section h4 {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: var(--space-3);
  letter-spacing: 0.5px;
}

.footer-section p {
  color: #aaa;
  line-height: 1.6;
  font-size: var(--step-0);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--space-2);
}

.footer-section a {
  color: #aaa;
  text-decoration: none;
  transition: color 150ms ease-out;
  font-size: var(--step-0);
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-5);
  text-align: center;
  color: #888;
  font-size: var(--step-0);
}

/* ============ АДАПТИВ ============ */
@media (max-width: 768px) {
  .nav {
    gap: var(--space-4);
  }

  .nav-link {
    font-size: 0.875rem;
  }

  .hero-title {
    font-size: var(--step-4);
  }

  .hero-subtitle {
    font-size: var(--step-2);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: var(--step-3);
  }

  .breeds-grid,
  .benefits-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .kitten-card {
    grid-column: auto;
  }

  .contact-form {
    padding: var(--space-5);
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.2rem;
  }

  .nav {
    gap: var(--space-2);
  }

  .nav-link {
    display: none;
  }

  .nav-contact {
    padding: var(--space-2) var(--space-3);
    font-size: var(--step-0);
  }

  .hero {
    padding: var(--space-7) 0 var(--space-5);
    min-height: auto;
  }

  .hero-title {
    font-size: var(--step-3);
    margin-bottom: var(--space-3);
  }

  .hero-subtitle {
    font-size: var(--step-1);
    margin-bottom: var(--space-5);
  }

  .process-grid,
  .breeds-grid,
  .benefits-grid,
  .kittens-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .section-title {
    font-size: var(--step-2);
    margin-bottom: var(--space-5);
  }

  .contact-form {
    padding: var(--space-4);
  }

  .footer-content {
    gap: var(--space-4);
  }
}

/* ============ УВАЖЕНИЕ К PREFERS-REDUCED-MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}