/* ===== Глобальные переменные ===== */
:root {
  --font-family: 'Open Sans', sans-serif;
  --second-family: 'Unbounded', sans-serif;
  --color-primary: #00af9b;   /* зелёный — доверие */
  --color-accent: #ff4958;    /* оранжевый — призыв */
  --color-danger: #ff4958;    /* красный — акцент */
  --color-text: #4c4a58;
  --color-light: #f9f9f9;
  --color-bg: #fdfdfd;
  --shadow: 0 4px 16px rgba(76, 74, 88, 0.08);
  --shadow-hover: 0 6px 20px rgba(76, 74, 88, 0.12);
  --radius-sm: 12px;
  --radius-md: 46px;
  --radius-lg: 40px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.unbounded-regular {
  font-family: "Unbounded", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}
/* ===== Анимации ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

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

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

@keyframes socialPulse {
  0% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(42, 171, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0); }
}

/* ===== Сброс ===== */
*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: #fdfdfd;
  line-height: 1.6;
  overflow-x: hidden;
  /*! padding: revert-layer; */
  padding-top: 200px;
  padding-left: 300px;
  padding-right: 300px;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  /*! display: flex; */
  /*! position: unset; */
  /*! flex: initial; */
  /*! justify-content: center; */
  /*! width: ; */
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

/* ===== Шрифты ===== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');
@import url('https://fonts.cdnfonts.com/css/cormorant-garamond');

/* ===== Header ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  animation: slideIn 0.6s ease-out;
  /*! padding-left: 300px; */
  /*! padding-right: 300px; */
  /*! display: flow-root; */
  /*! justify-content: revert; */
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 446px;
  background: rgb(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  max-width: 1320px;
  margin: 16px auto;
  transition: var(--transition);
}
header.scrolled .header-container {
  background: rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  margin: 12px auto;
  box-shadow: var(--shadow);
  backdrop-filter: blur(2px);
}
.logo {
  width: 72px;
  height: 72px;
  animation: float 3s ease-in-out infinite;
}
.menu {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.menu-btn {
  display: block;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--color-primary);
  background: #f3f1f1;
  border-radius: 16px;
  padding: 12px 20px;
  min-width: 125px;
  height: 44px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(76, 74, 88, 0.1);
  transition: var(--transition);
  padding-bottom: 14px;
}
.menu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 74, 88, 0.15);
}
.menu-btn--active {
  color: var(--color-danger);
  font-weight: 600;
  background: rgba(255, 73, 88, 0.1);
}

/* ===== Main ===== */
main {
  padding-bottom: 120px;
  animation: fadeIn 0.8s ease-out;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  /*! padding: 15px 20px 80px; */
  /*! margin: 120px auto 0; */
  max-width: 1320px;
 /* display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;*/
  align-items: center;
}
.hero-cat {
  border-radius: 1px;
}
.hero-content {
  text-align: left;
}
.hero-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 76px);
  color: black;
  margin: 0;
  line-height: 1.1;
}
.hero-subtitle {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-top: 24px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-info {
  margin-top: 30px;
  padding: 20px;
  background: rgba(0, 175, 155, 0.05);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}
.hero-info p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
}
.hero-cat svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  animation: float 4s ease-in-out infinite;
}

/* ===== Кнопки ===== */
.btn {
  display: inline-block;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-table;
  /*! font-family: var(--font-family); */
  /*! font-weight: 400; */
  /*! font-size: 15px; */
  text-transform: uppercase;
  color: var(--color-primary);
  background: #f3f1f1;
  border-radius: 16px;
  /*! padding: 10px 20px; */
  min-width: 140px;
  /*! height: 42px; */
  text-align: center;
  box-shadow: 0 2px 8px rgba(76, 74, 88, 0.1);
  transition: var(--transition);
}
.btn--primary {
  background: rgba(255, 73, 88, 0.1);
  color: var(--color-danger);
  /*! box-shadow: 0 4px 12px rgba(255, 73, 88, 0.1); */
}
.btn--primary:hover {
  background: rgba(255, 73, 88, 0.1);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 73, 88, 0.1);
}
.btn--outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn--outline:hover {
  background: rgba(0, 175, 155, 0.1);
  transform: translateY(-2px);
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s;
  z-index: -1;
}
.btn:hover::before {
  left: 100%;
}
.btn:active {
  transform: scale(0.95);
  transition: transform 0.1s;
}

/* ===== Общие секции ===== */
.section {
  max-width: 1320px;
  animation: fadeIn 1s ease-out;
}
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 55px;
}
.section h2 {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 36px;
  text-align: center;
  margin-bottom: 24px;
}
.section-text {
  font-size: 18px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #666;
}

/* ===== Статистика ===== */
.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
}
.stat-item {
  text-align: center;
  animation: fadeIn 1.2s ease-out;
  animation-fill-mode: both;
}
.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }
.stat-number {
  font-family: var(--second-family);
  font-size: 48px;
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.stat-label {
  font-size: 16px;
  color: #7a7885;
}

/* ===== Стили для страницы "О нас" ===== */
.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin: 60px 0;
}
.mission-text h2 {
  color: var(--color-primary);
  margin-bottom: 20px;
  font-size: 36px;
}
.mission-list {
  margin: 25px 0;
  padding-left: 20px;
}
.mission-list li {
  margin-bottom: 12px;
  padding-left: 10px;
  line-height: 1.6;
  position: relative;
}
.mission-list li::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}
.mission-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.mission-image img {
  width: 100%;
  height: auto;
  display: block;
}
.image-caption {
  text-align: center;
  padding: 10px;
  background: var(--color-light);
  font-style: italic;
  color: #666;
  margin-top: 10px;
  border-radius: var(--radius-sm);
}

/* Процесс */
.process-section {
  /*! background: var(--color-light); */
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.step {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-weight: 600;
  font-size: 24px;
  margin: 0 auto 20px;
}
.step h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--color-primary);
}
.step p {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}

/* Команда */
.team-section {
  padding: 80px 20px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}
.team-member {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.member-photo {
  height: 250px;
  overflow: hidden;
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-member:hover .member-photo img {
  transform: scale(1.05);
}
.member-info {
  padding: 25px;
}
.member-info h3 {
  color: var(--color-primary);
  margin-bottom: 5px;
}
.member-role {
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 14px;
}
.member-bio {
  color: #666;
  line-height: 1.6;
}

/* Партнеры */
.partners-section {
  background: white;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 40px;
  justify-items: center;
}
.partner-logo {
  text-align: center;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--color-light);
  transition: var(--transition);
}
.partner-logo:hover {
  background: white;
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}
.partner-logo img {
  height: 80px;
  width: auto;
  margin-bottom: 15px;
  object-fit: contain;
}
.partner-logo p {
  font-weight: 600;
  color: var(--color-text);
  font-size: 14px;
}

/* CTA секция */
.cta-section {
  /*! background: linear-gradient(135deg, var(--color-primary) 0%, #00c9b1 100%); */
  /*! color: white; */
  text-align: center;
  padding: 80px 20px;
}
.cta-content h2 {
  /*! color: white; */
  margin-bottom: 20px;
}
.cta-content p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-buttons .btn--outline {
  background: transparent;
  border: 2px solid white;
  /*! color: white; */
}
.cta-buttons .btn--outline:hover {
  background: white;
  color: var(--color-primary);
}

/* ===== Стили для страницы "Помочь нам" ===== */
.donation-options {
  margin-top: 20px;
}
.donation-btn {
  width: 100%;
  margin-bottom: 20px;
}
.donation-note {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  text-align: center;
}
.bank-card {
  background: white;
  border: 2px solid #eee;
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  margin-top: 15px;
}
.card-number {
  font-family: monospace;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.card-holder {
  color: #666;
  margin-bottom: 15px;
  font-size: 14px;
}
.copy-btn {
  background: var(--color-light);
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.copy-btn:hover {
  background: var(--color-primary);
  color: white;
}

/* Списки помощи */
.help-list h4 {
  margin: 20px 0 15px;
  color: var(--color-primary);
}
.help-list ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}
.help-list li {
  padding: 8px 0;
  color: #666;
  border-bottom: 1px solid #f0f0f0;
}
.help-list li:last-child {
  border-bottom: none;
}

/* Волонтерство */
.volunteer-options h4 {
  margin: 20px 0 15px;
  color: var(--color-primary);
}
.volunteer-options ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}
.volunteer-options li {
  padding: 8px 0;
  color: #666;
  display: flex;
  align-items: center;
  gap: 10px;
}
.volunteer-btn {
  width: 100%;
  margin-top: 15px;
}

/* Прозрачность */
.transparency-section {
  /*! background: var(--color-light); */
}
.transparency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}
.transparency-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}
.report-list {
  margin-top: 20px;
}
.report-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  transition: var(--transition);
  text-decoration: none;
  color: var(--color-text);
}
.report-item:hover {
  border-color: var(--color-primary);
  background: #f9f9f9;
}
.report-icon {
  font-size: 24px;
  color: var(--color-primary);
}
.report-title {
  font-weight: 600;
  color: var(--color-primary);
}
.report-size {
  font-size: 12px;
  color: #888;
}
.stats-mini {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.stat-mini {
  text-align: center;
}
.stat-mini .stat-number {
  font-size: 28px;
  color: var(--color-primary);
  font-weight: 600;
}
.stat-mini .stat-label {
  font-size: 12px;
  color: #666;
}
.telegram-updates {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  /*! background: white; */
  border-radius: var(--radius-md);
}
.telegram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding: 12px 24px;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.telegram-link:hover {
  background: #00c9b1;
  transform: translateY(-2px);
}

/* Контакты */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.contact-card {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.contact-icon {
  font-size: 40px;
  margin-bottom: 20px;
}
.contact-card h3 {
  color: var(--color-primary);
  margin-bottom: 15px;
}
.contact-link {
  display: block;
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 10px;
  font-weight: 600;
}
.contact-card p {
  color: #666;
  font-size: 14px;
}
.social-links-large {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  /*! background: white; */
  border-radius: var(--radius-md);
}
.social-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.telegram-btn {
  background: #2AABEE;
  color: white;
}
.telegram-btn:hover {
  background: #229ED9;
  transform: translateY(-2px);
}
.vk-btn {
  background: #4C75A3;
  color: white;
}
.vk-btn:hover {
  background: #3B5C82;
  transform: translateY(-2px);
}
.max-btn {
  background: #4C75A3;
  color: white;
}
.max-btn:hover {
  background: #3B5C82;
  transform: translateY(-2px);
}
/* Форма волонтера */
.volunteer-form {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}
.checkbox-group {
  display: flex;
  flex-direction: unset;
  /*! gap: 47px; */
  /*! margin: 10px 0; */
}
.checkbox-group .checkbox {
  /*! display: flex; */
  /*! align-items: center; */
  /*! gap: 8px; */
  /*! font-weight: normal; */
}
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #eee;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 16px;
  resize: vertical;
  transition: var(--transition);
}
textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}
.mixplat {
  margin-top: 60px;
}
/* ===== Слайдер "До/После" ===== */
.before-after-section {
  margin-bottom: 60px;
}
.before-after-slider {
  max-width: 800px;
  margin: 40px auto;
}
.slider-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.before-image, .after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.before-image {
  z-index: 1;
  clip-path: inset(0 50% 0 0);
}
.after-image {
  z-index: 2;
  clip-path: inset(0 0 0 50%);
}
.before-image img, .after-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-label {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 10;
}
.before-image .image-label {
  left: 20px;
}
.after-image .image-label {
  right: 20px;
}

/* Ползунок сравнения */
.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: white;
  cursor: ew-resize;
  z-index: 3;
  transform: translateX(-50%);
}
.handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.handle-circle::before, .handle-circle::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 2px;
  background: var(--color-primary);
}
.handle-circle::before {
  transform: translateX(-3px) rotate(45deg);
}
.handle-circle::after {
  transform: translateX(3px) rotate(-45deg);
}
.handle-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: white;
  transform: translateX(-50%);
}

/* Управление слайдером */
.slider-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.slider-btn {
  padding: 10px 20px;
  background: var(--color-light);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--color-primary);
  transition: var(--transition);
  white-space: nowrap;
}
.slider-btn:hover {
  background: var(--color-primary);
  color: white;
}
.slider-track {
  flex: 1;
  height: 8px;
  background: #eee;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}
.slider-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 175, 155, 0.3);
  pointer-events: none;
}

/* Информация о текущем коте */
.current-cat-info {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background: var(--color-light);
  border-radius: var(--radius-md);
  display: grid;
}
.current-cat-info h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
}
.current-cat-info p {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}

/* Фильтры по котикам */
.cat-filters {
  margin: 40px 0;
  text-align: center;
}
.cat-filters h3 {
  margin-bottom: 20px;
  color: var(--color-text);
}
.cat-filters .filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Карточки пристроенных котов */
.adopted-card {
  transition: var(--transition);
}
.adopted-card:hover {
  transform: translateY(-5px);
}
.adopted-card .cat-status {
  background: var(--color-accent);
}

/* Секция статистики */
.stats-section {
  /*! background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
}
.success-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.stat-card {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.stat-icon {
  font-size: 40px;
  margin-bottom: 15px;
}
.stat-card .stat-number {
  font-size: 36px;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.stat-card .stat-label {
  font-size: 16px;
  color: #666;
}

/* Истории успеха */
.stories-section {
  /*! background: var(--color-light); */
}
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.story-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.story-content p {
  font-style: italic;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}
.story-content p::before {
  content: '❝';
  position: absolute;
  left: -10px;
  top: -10px;
  font-size: 40px;
  color: var(--color-primary);
  opacity: 0.3;
}
.story-author {
  border-top: 1px solid #eee;
  padding-top: 15px;
}
.story-author strong {
  display: block;
  color: var(--color-primary);
}
.story-author span {
  font-size: 14px;
  color: #888;
}

/* Модальное окно с историей */
.story-modal-content {
  max-height: 80vh;
  overflow-y: scroll;
  /*! padding: 5px; */
  padding: 61px;
  display: grid;
}
.story-detail {
  padding: 20px;
  display: grid;
}
.story-header {
  text-align: center;
  margin-bottom: 40px;
}
.story-header h2 {
  color: var(--color-primary);
  margin-bottom: 10px;
}
.story-meta {
  color: #666;
  font-size: 18px;
}

/* Таймлайн истории */
.story-timeline {
  position: relative;
  margin: 40px 0;
  padding-left: 30px;
}
.story-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-primary);
  border-radius: 3px;
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-date {
  position: absolute;
  left: -30px;
  top: 0;
  background: var(--color-primary);
  color: white;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transform: translateX(-100%);
}
.timeline-content {
  background: var(--color-light);
  padding: 25px;
  border-radius: var(--radius-md);
  margin-left: 20px;
}
.timeline-content h4 {
  color: var(--color-primary);
  margin-bottom: 15px;
}
.timeline-photo {
  margin-top: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}
.timeline-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.photo-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* Статистика в модалке */
.story-stats {
  margin: 40px 0;
  padding: 30px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}
.story-stats h3 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--color-primary);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.stats-grid .stat-item {
  text-align: center;
  padding: 20px;
  background: var(--color-light);
  border-radius: var(--radius-sm);
}
.stats-grid .stat-label {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 5px;
}
.stats-grid .stat-value {
  color: var(--color-primary);
  font-size: 18px;
}

/* Новая семья */
.story-family {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2f1 100%);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}
.story-family h3 {
  color: var(--color-primary);
  margin-bottom: 20px;
}
.family-quote {
  margin: 25px 0;
  padding: 20px;
  background: white;
  border-radius: var(--radius-sm);
  font-style: italic;
  color: #666;
  border-left: 3px solid var(--color-accent);
}
.story-actions {
  text-align: center;
  margin-top: 40px;
  display: grid;
}

/* Анимация для слайдера */
.slider-handle.dragging {
  cursor: grabbing;
}
.slider-handle.dragging .handle-circle {
  transform: translate(-50%, -50%) scale(1.1);
}

/* ===== Процесс усыновления ===== */
.adoption-process {
  margin: 60px 0;
  padding: 40px;
  /*! background: var(--color-light); */
  border-radius: var(--radius-md);
}
.adoption-process h3 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-primary);
}

/* ===== FAQ ===== */
.faq-section {
  /*! background: var(--color-light); */
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 15px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.faq-question {
  width: 100%;
  padding: 20px;
  text-align: left;
  font-weight: 600;
  font-size: 18px;
  background: white;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question:hover {
  background: #f9f9f9;
}
.faq-question::after {
  content: '➕';
  font-size: 20px;
  transition: var(--transition);
}
.faq-item.active .faq-question::after {
  content: '➖';
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: white;
  transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer {
  border-top: 1px solid #eee;
}
.faq-answer p {
  padding: 20px;
  margin: 0;
  color: #666;
  line-height: 1.6;
}

/* ===== Улучшенная карусель ===== */
.carousel {
  position: relative;
}
.carousel-main {
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}
.carousel-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.carousel-main img.active {
  opacity: 1;
}
.carousel-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.carousel-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 3px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}
.carousel-thumb:hover {
  transform: scale(1.05);
}
.carousel-thumb.active {
  border-color: var(--color-primary);
}
.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
}
.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 24px;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: var(--transition);
}
.carousel-btn:hover {
  background: white;
  transform: scale(1.1);
}

/* ===== Детальная информация ===== */
.detail-section {
  margin-bottom: 25px;
}
.detail-section h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-size: 20px;
}
.detail-section p {
  line-height: 1.6;
  color: #666;
}
.detail-section ul {
  list-style: none;
  padding-left: 0;
}
.detail-section li {
  padding: 5px 0;
  color: #666;
}
.detail-actions {
  margin-top: 30px;
  text-align: center;
}

/* ===== Формы ===== */
.form-group {
  margin-bottom: 20px;
  /*! display: contents; */
}
.form-group label {
  display: inline-flex;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-text);
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #eee;
  border-radius: var(--radius-sm);
  font-size: 16px;
  transition: var(--transition);
}
.form-group input:focus {
  border-color: var(--color-primary);
  outline: none;
}
.form-actions {
  margin-top: 30px;
  text-align: center;
}
.form-note {
  margin-top: 15px;
  font-size: 14px;
  color: #888;
}
.form-note a {
  color: var(--color-primary);
  text-decoration: underline;
}
.form-note a:hover {
  color: var(--color-accent);
}

/* ===== Вступление к анкете ===== */
.form-intro {
  background: #f9f9f9;
  padding: 30px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  border-left: 4px solid var(--color-accent);
}
.form-intro p {
  margin-bottom: 15px;
  line-height: 1.6;
}
.form-intro .highlight {
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  font-size: 18px;
}
.form-link {
  text-align: center;
  padding: 40px 20px;
}
.btn-large {
  padding: 16px 32px;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cat-name-highlight {
  color: var(--color-danger);
  font-weight: 600;
}

/* ===== Анимация появления ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Font Awesome иконки ===== */
.footer-link, .footer-address {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--color-text);
  transition: var(--transition);
}
.footer-link:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}
.footer-link i, .footer-address i {
  width: 20px;
  text-align: center;
  color: var(--color-primary);
}
.footer-social {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.social-link.telegram {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(42, 171, 238, 0.3);
  animation: iconFloat 3s ease-in-out infinite;
}
.social-link.telegram:hover {
  background: linear-gradient(135deg, #229ED9 0%, #2AABEE 100%);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(42, 171, 238, 0.4);
  animation: socialPulse 1.5s infinite;
}
.social-link.vk {
  background: linear-gradient(135deg, #4C75A3 0%, #3B5C82 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 117, 163, 0.3);
  animation: iconFloat 3s ease-in-out infinite 0.5s;
}
.social-link.vk:hover {
  background: linear-gradient(135deg, #3B5C82 0%, #4C75A3 100%);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(76, 117, 163, 0.4);
  animation: socialPulse 1.5s infinite;
}
.social-link.max {
  background: linear-gradient(135deg, #4C75A3 0%, #3B5C82 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 117, 163, 0.3);
  animation: iconFloat 3s ease-in-out infinite 0.5s;
}
.social-link.max:hover {
  background: linear-gradient(135deg, #3B5C82 0%, #4C75A3 100%);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(76, 117, 163, 0.4);
  animation: socialPulse 1.5s infinite;
}
.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}
.social-link:hover::before {
  width: 100%;
  height: 100%;
}
.social-text {
  margin-top: 15px;
  font-size: 14px;
  color: #666;
  text-align: center;
}
.footer-links {
  margin-top: 15px;
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #666;
  font-size: 14px;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.footer-links a:hover {
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
  padding-left: 5px;
}
.footer-links a i {
  width: 20px;
  color: var(--color-accent);
}
.footer-copyright a, .footer-developer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #888;
  font-size: 14px;
  transition: var(--transition);
}
.footer-copyright a:hover, .footer-developer a:hover {
  color: var(--color-primary);
}
.footer-copyright a i {
  color: var(--color-danger);
}
.footer-developer a i {
  color: var(--color-accent);
}

/* ===== Footer ===== */
footer {
  background: var(--color-light);
  padding: 60px 20px 30px;
  text-align: center;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col {
  text-align: center;
}
.footer-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--color-primary);
}
.footer-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid #eee;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer-copyright, .footer-developer {
  font-size: 14px;
  color: #888;
}

/* ===== Модальные окна ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.modal.active {
  display: flex;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: white;
  border-radius: var(--radius-md);
  padding: 61px;
  max-height: 80vh;
  width: 90%;
  position: relative;
  z-index: 2001;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.4s ease-out;
  /*! padding-bottom: 31px; */
  overflow: scroll;
  display: grid;
}
.modal-large {
  max-width: 1320px;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
  color: #aaa;
  transition: var(--transition);
}
.modal-close:hover {
  color: var(--color-danger);
  transform: rotate(90deg);
}

/* ===== Галерея котиков ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 20px;
}
.cat-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cat-card:hover {
  transform: translateY(-6px);
}
.cat-photo {
  position: static;
  /* height: 200px; */
  /* overflow: hidden; */
}
.cat-photo img {
  /* width: 100%; */
  /* height: 100%; */
  /* object-fit: fill; */
}
.cat-status {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-primary);
  color: white;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
}
.cat-info {
  padding: 20px;
  position: static;
  display: flex;
  flex-direction: column;
}
.cat-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.cat-meta, .cat-tags, .cat-story {
  font-size: 14px;
  color: #7a7885;
  margin-bottom: 12px;
}
.tag {
  display: inline-block;
  background: #f0fdfa;
  color: var(--color-primary);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  margin-right: 6px;
}
.cat-actions {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  /* position: relative; */
  /* top: 20px; */
  flex-direction: column-reverse;
}

/* ===== Фильтры ===== */
.filters, .filters-advanced {
  display: grid;
  gap: 15px;
  justify-content: center;
  gap: 26px;
  margin-bottom: 40px;
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.filter-group label {
  font-weight: 600;
  min-width: 120px;
}
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn, .filter-tag {
  background: #f3f1f1;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--color-primary);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active,
.filter-tag:hover, .filter-tag.active {
  background: var(--color-primary);
  color: white;
}

/* ===== Адаптив ===== */
@media (max-width: 992px) {
  body {
    padding: 0px;
  }
  .header-container {
  gap: 100px;
  }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 200px 20px 0px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-cat {
    order: -1;
  }
  .hero-cat svg {
    max-width: 300px;
    margin: 0 auto;
  }
  .mission-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .social-buttons {
    flex-direction: column;
  }
  .social-btn {
    justify-content: center;
  }
  .transparency-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    /*! flex-direction: column; */
    gap: 16px;
    padding: 16px;
  }
  .menu {
    flex-direction: column;
    width: 100%;
  }
  .menu-btn {
    width: 100%;
    max-width: 300px;
  }
  .hero-title {
    font-size: clamp(36px, 8vw, 60px);
  }
  .hero-subtitle {
    font-size: 20px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .stats {
    gap: 30px;
  }
  .stat-number {
    font-size: 36px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .slider-container {
    height: 350px;
  }
  .slider-controls {
    flex-direction: column;
    gap: 15px;
  }
  .slider-track {
    width: 100%;
  }
  .success-stats {
    grid-template-columns: 1fr;
  }
  .stories-grid {
    grid-template-columns: 1fr;
  }
  .story-timeline {
    padding-left: 20px;
  }
  .timeline-date {
    position: relative;
    left: 0;
    transform: none;
    margin-bottom: 10px;
    display: inline-block;
  }
  .timeline-content {
    margin-left: 0;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .detail-content {
    grid-template-columns: 1fr;
  }
  .carousel-main {
    height: 300px;
  }
  .carousel-thumb {
    width: 60px;
    height: 60px;
  }
  .carousel-nav {
    padding: 0 10px;
  }
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body {
    padding: 20px
  }
  .slider-container {
    height: 250px;
  }
  .image-label {
    font-size: 14px;
    padding: 5px 10px;
  }
  .handle-circle {
    width: 40px;
    height: 40px;
  }
  .mission-list li {
    font-size: 14px;
  }
  .member-info h3 {
    font-size: 20px;
  }
  .bank-card {
    padding: 15px;
  }
  .card-number {
    font-size: 16px;
  }
  .footer-social .social-link {
    width: 45px;
    height: 45px;
  }
  .social-text {
    font-size: 12px;
  }
}
/* ===== Исправленный футер ===== */
footer {
  background: var(--color-light);
  padding: 60px 20px 30px;
  text-align: left;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
  padding: 0 15px;
}

.footer-col:first-child {
  text-align: right;
  order: 3;
}

.footer-col:nth-child(2) {
  text-align: center;
  order: 2;
}

.footer-col:last-child {
  text-align: left;
  order: 1;
}

.footer-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--color-primary);
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
}

.footer-col:first-child .footer-title::after {
  left: auto;
  right: 0;
}

.footer-col:nth-child(2) .footer-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Контакты (правый блок) */
.footer-link, .footer-address {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--color-text);
  transition: var(--transition);
  text-align: right;
}

.footer-link:hover {
  color: var(--color-primary);
  transform: translateX(-5px);
}

.footer-link i, .footer-address i {
  width: 20px;
  text-align: center;
  color: var(--color-primary);
  order: 2;
}

.footer-link span, .footer-address span {
  order: 1;
}

/* Соцсети (центральный блок) */
.footer-col:nth-child(2) {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Telegram */
.social-link.telegram {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(42, 171, 238, 0.3);
  animation: iconFloat 3s ease-in-out infinite;
}

.social-link.telegram:hover {
  background: linear-gradient(135deg, #229ED9 0%, #2AABEE 100%);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(42, 171, 238, 0.4);
  animation: socialPulse 1.5s infinite;
}

/* VK */
.social-link.vk {
  background: linear-gradient(135deg, #4C75A3 0%, #3B5C82 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 117, 163, 0.3);
  animation: iconFloat 3s ease-in-out infinite 0.5s;
}

.social-link.vk:hover {
  background: linear-gradient(135deg, #3B5C82 0%, #4C75A3 100%);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(76, 117, 163, 0.4);
  animation: socialPulse 1.5s infinite;
}
.social-link.max {
  background: linear-gradient(135deg, #4C75A3 0%, #3B5C82 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 117, 163, 0.3);
  animation: iconFloat 3s ease-in-out infinite 0.5s;
}

.social-link.max:hover {
  background: linear-gradient(135deg, #3B5C82 0%, #4C75A3 100%);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(76, 117, 163, 0.4);
  animation: socialPulse 1.5s infinite;
}
.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.social-link:hover::before {
  width: 100%;
  height: 100%;
}

.social-text {
  margin-top: 15px;
  font-size: 14px;
  color: #666;
  text-align: center;
  max-width: 200px;
}

/* О нас (левый блок) */
.footer-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: left;
}

.footer-links {
  margin-top: 15px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #666;
  font-size: 14px;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
  text-align: left;
}

.footer-links a:hover {
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
  padding-left: 5px;
}

.footer-links a i {
  width: 20px;
  color: var(--color-accent);
}

/* Нижняя часть футера (в одну строку) */
.footer-bottom {
  border-top: 1px solid #eee;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.footer-copyright p {
  font-size: 14px;
  color: #888;
  margin: 0;
}

.footer-copyright a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #888;
  font-size: 14px;
  transition: var(--transition);
  white-space: nowrap;
}

.footer-copyright a:hover {
  color: var(--color-primary);
}

.footer-copyright a i {
  color: var(--color-danger);
}

.footer-developer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #888;
  font-size: 14px;
  transition: var(--transition);
  white-space: nowrap;
}

.footer-developer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #888;
  text-decoration: none;
  transition: var(--transition);
}

.footer-developer a:hover {
  color: var(--color-primary);
}

.footer-developer a i {
  color: var(--color-accent);
}

/* Анимации для иконок */
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes socialPulse {
  0% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(42, 171, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0); }
}

/* Адаптивность футера */
@media (max-width: 992px) {
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-col {
    width: 100%;
    text-align: center !important;
    padding: 0;
  }
  
  .footer-col:first-child .footer-title::after,
  .footer-col:nth-child(2) .footer-title::after,
  .footer-col:last-child .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-link, .footer-address {
    justify-content: center;
    text-align: center;
  }
  
  .footer-link i, .footer-address i {
    order: 1;
  }
  
  .footer-link span, .footer-address span {
    order: 2;
  }
  
  .footer-text {
    text-align: center;
  }
  
  .footer-links a {
    justify-content: center;
    text-align: center;
  }
  
  .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-copyright {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .footer-col {
    min-width: 100%;
  }
  
  .footer-social {
    gap: 15px;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  
  .footer-copyright, .footer-developer {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 40px 15px 20px;
  }
  
  .footer-content {
    gap: 30px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .social-text {
    font-size: 12px;
  }
  
  .footer-copyright {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-copyright p, 
  .footer-copyright a, 
  .footer-developer a {
    font-size: 12px;
  }
}

/* Специфические стили для мобильных устройств */
@media (max-width: 768px) and (orientation: portrait) {
  .footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-col {
    padding: 0;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
  .footer-social {
    gap: 10px;
  }
  
  .social-link {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .footer-copyright {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* ===== Гамбургер-меню ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
  margin-left: auto;
  animation: float 3s ease-in-out infinite;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  border-radius: 3px;
  transition: var(--transition);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Стили для мобильного меню */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    order: 3;
    /*! width: 48px; */
    /*! height: 48px; */
    animation: float 3s ease-in-out infinite;
  }
  
  .header-container {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 12px 20px !important;
  }
  
  nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    order: 4;
  }
  
  nav.active {
    max-height: 500px;
    margin-top: 20px;
  }
  
  nav.closing {
    max-height: 0;
  }
  
  .menu {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .menu-btn {
    width: 100%;
    max-width: none;
    min-width: auto;
  }
  
  /* Предотвращаем прокрутку при открытом меню */
  body.menu-open {
    overflow: hidden;
  }
  
  /* Улучшаем отображение логотипа в мобильной версии */
  .logo {
    width: 56px;
    height: 56px;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
  .header-container {
    /*! padding: 10px 16px !important; */
    gap: 16px !important;
    /*! display: flex; */
    /*! justify-content: last baseline; */
  }
  
  .menu-toggle {
    /*! width: 10px; */
    /*! height: 10px; */
    animation: float 3s ease-in-out infinite;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(11.5px) rotate(48deg);
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
  
  .logo {
    width: 48px;
    height: 48px;
  }
}

.logo_help {
width: 30px;
}
/* ===== Стили страницы "В разработке" ===== */

.development-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.development-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.05"><path fill="%2300af9b" d="M30,30 L70,30 L70,70 L30,70 Z" stroke="%2300af9b" stroke-width="2"/><circle cx="50" cy="50" r="20" fill="none" stroke="%23ff4958" stroke-width="2"/></svg>');
    background-repeat: repeat;
    background-size: 150px;
    animation: float 20s linear infinite;
}

.development-container {
    max-width: 800px;
    text-align: center;
    background: white;
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    position: relative;
    z-index: 1;
    animation: fadeIn 0.8s ease-out;
}

.development-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    position: relative;
    animation: float 4s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

.development-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--color-primary);
}

.development-title {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: clamp(36px, 5vw, 48px);
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.development-subtitle {
    font-size: 20px;
    color: var(--color-text);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.development-message {
    background: rgba(0, 175, 155, 0.05);
    border-radius: var(--radius-md);
    padding: 25px;
    margin: 30px 0;
    border-left: 4px solid var(--color-primary);
    text-align: left;
}

.development-message p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.development-message p:last-child {
    margin-bottom: 0;
}

.development-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-item {
    background: var(--color-light);
    padding: 20px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.feature-item h4 {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.development-progress {
    margin: 40px 0;
    text-align: left;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--color-text);
}

.progress-bar {
    height: 12px;
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, #00c9b1 100%);
    border-radius: 6px;
    width: 75%;
    position: relative;
    animation: progressAnimation 2s ease-in-out;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes progressAnimation {
    0% { width: 0; }
    100% { width: 75%; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.development-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.development-note {
    margin-top: 30px;
    font-size: 14px;
    color: #888;
    text-align: center;
}

.development-note a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

.development-note a:hover {
    color: var(--color-accent);
}

/* Адаптивность */
@media (max-width: 768px) {
    .development-container {
        padding: 40px 20px;
        margin: 20px;
    }
    
    .development-icon {
        width: 100px;
        height: 100px;
    }
    
    .development-features {
        grid-template-columns: 1fr;
    }
    
    .development-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .development-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .development-page {
        padding: 80px 15px 60px;
    }
    
    .development-container {
        padding: 30px 15px;
    }
    
    .development-icon {
        width: 80px;
        height: 80px;
    }
    
    .development-title {
        font-size: 28px;
    }
    
    .development-subtitle {
        font-size: 18px;
    }
}
.footer-links a.admin-link {
    color: var(--color-primary);
    font-weight: 600;
}

.footer-links a.admin-link i {
    color: var(--color-danger);
}
/* Стили для админки */
.btn-move {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: var(--color-primary);
    color: white;
}

.btn-move:hover {
    background: #00c9b1;
}

.tag-adopted {
    background: #4CAF50;
    color: white;
}

.tag-available {
    background: #FF9800;
    color: white;
}

.tag-admin {
    background: #2196F3;
    color: white;
}

.tag-volunteer {
    background: #9C27B0;
    color: white;
}

.btn--danger {
    background: #f44336;
    color: white;
}

.btn--danger:hover {
    background: #d32f2f;
}

.database-management {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.database-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

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

.database-card h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.database-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.database-info {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.info-label {
    font-weight: 600;
    color: var(--color-text);
}

.info-value {
    color: var(--color-primary);
}

.users-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.empty-state i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #666;
    margin-bottom: 10px;
}

.empty-state p {
    color: #888;
    max-width: 500px;
    margin: 0 auto 20px;
}
.hero-subtitle__about {
font-family: var(--second-family);
  font-weight: 400;
  font-size: clamp(26px, 8vw, 25px);
  color: var(--color-text);
  margin: 0;
  line-height: 1.1;
}

/* ===== Accordion: Документы и Реквизиты ===== */
.footer-accordion,
.footer-requisites {
  margin: 0.5rem 0;
}

/* Скрываем стандартный маркер details */
.footer-accordion summary,
.footer-requisites summary {
  list-style: none;
  cursor: pointer;
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: black;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-accordion summary:hover,
.footer-requisites summary:hover {
  color: #00af9b;
}

/* Убираем треугольник по умолчанию в разных браузерах */
.footer-accordion summary::-webkit-details-marker,
.footer-requisites summary::-webkit-details-marker {
  display: none;
}

/* Иконка стрелки */
.accordion-icon {
  margin-left: auto;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

/* Поворот стрелки при открытии */
.footer-accordion[open] .accordion-icon,
.footer-requisites[open] .accordion-icon {
  transform: rotate(180deg);
}

/* Контейнер контента с анимацией */
.footer-accordion-content,
.footer-requisites-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Показываем контент при открытии */
.footer-accordion[open] .footer-accordion-content,
.footer-requisites[open] .footer-requisites-content {
  max-height: 500px; /* Достаточно для контента */
  opacity: 1;
  transition: max-height 0.4s ease, opacity 0.3s ease 0.1s;
}

/* Ссылки внутри выпадающего меню */
.footer-accordion-content a {
  display: block;
  padding: 0.35rem 0;
  color: rgb(0 0 0 / 90%);
  text-decoration: none;
  font-size: 0.9rem;
  border-left: 2px solid transparent;
  padding-left: 1.2rem;
  transition: all 0.2s;
}

.footer-accordion-content a:hover {
  color: #00af9b;
  border-left-color: #00af9b;
  padding-left: 1.4rem;
}

.accordion-divider {
  display: block;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 0.4rem 0;
}

/* ===== Блок реквизитов ===== */
.footer-requisites {
  margin-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
}

.footer-requisites-content {
  padding: 1rem 0 0.5rem;
  font-size: 0.9rem;
   color: black;
}

.requisites-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1rem;
}

.requisites-grid dt {
  font-weight: 600;
  color: #00af9b;
}

.requisites-grid dd {
  margin: 0;
  line-height: 1.4;
}

.requisites-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}

/* ===== Адаптив ===== */
@media (max-width: 768px) {
  .requisites-grid {
    grid-template-columns: 1fr;
  }
  
  .requisites-grid dt {
    margin-top: 0.5rem;
    color: #00af9b;
  }
  
  /* На мобильных макс. высота чуть больше для прокрутки */
  .footer-accordion[open] .footer-accordion-content,
  .footer-requisites[open] .footer-requisites-content {
    max-height: 800px;
  }
}

/* ===== Дополнительная информация в карточках ===== */
.cat-extra-info {
  font-size: 0.85rem;
  color: #666;
  margin: 8px 0;
  line-height: 1.4;
}

.tag-temper {
  background: #9b59b6;
  color: white;
}

/* ===== Детальная информация в модальном окне ===== */
.detail-extra {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.detail-extra li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.detail-extra li:last-child {
  border-bottom: none;
}

.detail-extra li strong {
  color: #00af9b;
  margin-right: 5px;
}

/* ===== Стили для темперамента ===== */
.temper-desc {
  margin-bottom: 10px;
  line-height: 1.6;
}

.temper-type {
  color: #666;
  margin-bottom: 5px;
}

.temper-stats {
  color: #9b59b6;
  font-weight: 500;
}

#detail-temper {
  line-height: 1.6;
}

#detail-temper p {
  margin: 5px 0;
}