/* ==================== VARIABLES ==================== */
:root {
  --color-primary: #FF6B9D;
  --color-secondary: #4ECDC4;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F7F7F7;
  --color-border: #E5E5E5;

  --gradient-primary: #ff00ea;
  --gradient-overlay: rgba(255, 0, 234, 0.9);

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition-base: 0.3s ease;
  --transition-fast: 0.15s ease;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
}

/* ==================== RESET ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-base);
}

ul, ol {
  list-style: none;
}

/* ==================== UTILITIES ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition-base);
  cursor: pointer;
}

.btn--primary {
  background: var(--gradient-primary);
  color: white;
}

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

.btn--large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn--full {
  width: 100%;
}

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition-base);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav__link {
  color: var(--color-text);
  font-weight: 500;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-base);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* ==================== PHONE BUTTON - DESKTOP ==================== */
.header__phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
  position: relative;
  animation: phonePulse 3s ease-in-out infinite;
}

.header__phone::before {
  content: '📞';
  font-size: 1.25rem;
  display: inline-block;
  animation: phoneShakeDesktop 3s ease-in-out infinite; /* ИЗМЕНИЛИ: добавили Desktop */
}

.header__phone:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(255, 107, 157, 0.8);
  animation: phonePulse 3.5s ease-in-out infinite;
}

/* ДЕСКТОП: показываем десктопную кнопку */
.header__phone--desktop {
  display: flex;
}

/* ДЕСКТОП: скрываем мобильную кнопку */
.header__phone--mobile {
  display: none !important;
}

/* АНИМАЦИИ */
@keyframes phonePulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(0, 212, 255, 0.9),
      0 0 0 8px rgba(0, 212, 255, 0.6),
      0 0 0 16px rgba(0, 212, 255, 0.3);
  }
  70% {
    box-shadow:
      0 0 0 25px rgba(0, 212, 255, 0),
      0 0 0 33px rgba(0, 212, 255, 0),
      0 0 0 41px rgba(0, 212, 255, 0);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(255, 107, 157, 0),
      0 0 0 0 rgba(255, 107, 157, 0),
      0 0 0 0 rgba(255, 107, 157, 0);
  }
}

/* АНИМАЦИЯ ДЛЯ ДЕСКТОПНОЙ КНОПКИ (без translate) */
@keyframes phoneShakeDesktop {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(-15deg);
  }
  20%, 40% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(0deg);
  }
}

/* АНИМАЦИЯ ДЛЯ МОБИЛЬНОЙ КНОПКИ (с translate) */
@keyframes phoneShakeMobile {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  10%, 30% {
    transform: translate(-50%, -50%) rotate(-15deg);
  }
  20%, 40% {
    transform: translate(-50%, -50%) rotate(15deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition-base);
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: white;
  z-index: 2000;
  padding: 2rem;
  transition: var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-menu__close {
  font-size: 2rem;
  color: var(--color-text);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.mobile-menu__link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==================== BANNER ==================== */
.banner {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 80px;
}

.banner__slider {
  position: relative;
  height: 100%;
}

.banner__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
}

.banner__slide.active {
  opacity: 1;
  visibility: visible;
}

.banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.banner__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start; /* ИЗМЕНИЛИ: было center, стало flex-start */
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  padding: 2rem;
  padding-top: 8rem; /* ДОБАВИЛИ: отступ сверху */
  z-index: 2;
}

.banner__content .container {
  max-width: 1200px;
  text-align: center;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between; /* ДОБАВИЛИ: распределяем элементы */
}

.banner__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 0; /* ИЗМЕНИЛИ: убрали отступ */
  animation: fadeInUp 1s ease;
  word-wrap: break-word;
}

.banner__subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 0; /* ИЗМЕНИЛИ: убрали отступ */
  animation: fadeInUp 1s ease 0.2s backwards;
  word-wrap: break-word;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto; /* ДОБАВИЛИ: прижимаем вниз */
  padding-bottom: 8rem; /* ДОБАВИЛИ: отступ снизу */
}

.banner__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.3);
  color: white;
  font-size: 3rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-base);
  line-height: 1;
  padding: 0;
  margin: 0;
  font-family: Arial, sans-serif; /* Используем шрифт с предсказуемыми размерами */
  font-weight: normal;
  text-align: center;
}

/* Дополнительная компенсация для выравнивания */
.banner__arrow--prev {
  left: 2rem;
  padding-top: 2px; /* Микро-коррекция для символа ‹ */
}

.banner__arrow--next {
  right: 2rem;
  padding-top: 2px; /* Микро-коррекция для символа › */
}

.banner__dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.banner__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition-base);
}

.banner__dot.active {
  background: white;
  width: 30px;
  border-radius: 6px;
}

/* ==================== ABOUT ==================== */
.about {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg);
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.about__text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.about__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  text-align: center;
}

.feature__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.feature p {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-card {
  background: var(--gradient-primary);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  text-align: center;
  color: white;
  box-shadow: var(--shadow-md);
}

.stat-card__number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-card__label {
  font-size: 1rem;
  opacity: 0.9;
}

/* ==================== GALLERY ==================== */
.gallery {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-alt);
}

.gallery__filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  background: white;
  color: var(--color-text);
  font-weight: 500;
  transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-base);
  opacity: 1;
  transform: scale(1);
}

.gallery__item--hidden {
  opacity: 0;
  transform: scale(0.8);
  display: none;
}

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

.gallery__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-base);
}

.gallery__item:hover .gallery__image {
  transform: scale(1.1);
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  color: white;
  z-index: 10;
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 3rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  z-index: 10;
}

.lightbox__arrow:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox__arrow--prev {
  left: 2rem;
}

.lightbox__arrow--next {
  right: 2rem;
}

.lightbox__image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.lightbox__counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.125rem;
  background: rgba(0,0,0,0.5);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
}

/* ==================== SERVICES ==================== */
.services {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  text-align: center;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card__icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.service-card__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.service-card__description {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ==================== CONTACTS ==================== */
.contacts {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-alt);
}

.contacts__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item__icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.contact-item__content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.contact-item__content p,
.contact-item__content a {
  font-size: 1rem;
  color: var(--color-text-light);
}

.contacts__form {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.contacts__form h3 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-base);
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form__group.error input,
.form__group.error textarea {
  border-color: #EF4444;
}

.form-success {
  background: #10B981;
  color: white;
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.form-success.active {
  opacity: 1;
  visibility: visible;
}

.contacts__map {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ==================== FOOTER ==================== */
.footer {
  background: #1A1A1A;
  color: white;
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer__title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__col p,
.footer__col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
  display: block;
}

.footer__col a:hover {
  color: white;
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__bottom p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2rem;
  }

  .about__content,
  .contacts__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* МОБИЛКА: скрываем десктопную кнопку */
  .header__phone--desktop {
      display: none !important;
  }

  /* МОБИЛКА: показываем и настраиваем мобильную кнопку */
  .header__phone--mobile {
    display: flex !important;
    position: relative;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    padding: 0;
    margin: 0 0.75rem 0 0;
    gap: 0;
    justify-content: center;
    align-items: center;
    background: var(--gradient-primary);
    color: transparent;
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
    animation: phonePulse 3s ease-in-out infinite;
  }

  .header__phone--mobile:hover {
    animation: phonePulse 1.5s ease-in-out infinite;
  }

  .header__phone--mobile::before {
    content: '📞';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.75rem;
    display: block;
    color: white;
    animation: phoneShakeMobile 3s ease-in-out infinite;
  }

  .banner__title {
    font-size: 2.5rem;
  }

  .banner__subtitle {
    font-size: 1.125rem;
  }

  .banner__arrow {
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }

  .banner__arrow--prev,
  .banner__arrow--next {
    padding-top: 1px;
  }

  .about__features,
  .about__stats {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .footer__content {
    grid-template-columns: 1fr;
  }

  .lightbox__arrow {
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .banner {
    min-height: 500px;
  }

  .banner__title {
    font-size: 2rem;
  }

  .banner__subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
  }

  .header__phone--mobile {
    width: 50px !important;
    height: 50px !important;
    margin-right: 0.5rem;
  }

  .header__phone--mobile::before {
    font-size: 1.5rem !important;
  }
}

/* ==================== COOKIE NOTIFICATION ==================== */
.cookie-notification {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: linear-gradient(135deg, #FF6B9D 0%, #4ECDC4 100%);
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%); /* ИЗМЕНИЛИ: вместо bottom используем transform */
  transition: transform 0.5s ease-in-out;
  visibility: hidden;
}

.cookie-notification.show {
  transform: translateY(0); /* ИЗМЕНИЛИ: полностью показываем */
  visibility: visible;
}

.cookie-notification__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-notification__text {
  color: white;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  min-width: 300px;
}

.cookie-notification__link {
  color: white;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-notification__link:hover {
  text-decoration: none;
}

.cookie-notification__btn {
  background: white;
  color: #FF6B9D;
  padding: 0.75rem 2rem;
  border-radius: 5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-notification__btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .cookie-notification {
    padding: 1.25rem 1.5rem;
  }

  .cookie-notification__content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-notification__text {
    font-size: 0.875rem;
    min-width: unset; /* ДОБАВИЛИ: убираем min-width на мобилке */
  }

  .cookie-notification__btn {
    width: 100%;
  }
}

/* ========== BLOG SECTION ========== */
.blog {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.blog__container {
  margin-top: 40px;
}

.blog__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.blog__post {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog__post:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.blog__post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, #FF6B9D 0%, #C44569 100%);
}

.blog__post-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog__post-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.blog__post-title:hover {
  color: #FF6B9D;
}

.blog__post-meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
  display: flex;
  gap: 15px;
}

.blog__post-source {
  font-weight: 500;
  color: #FF6B9D;
}

.blog__post-date {
  color: #999;
}

.blog__post-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  flex: 1;
}

.blog__post-link {
  display: inline-block;
  padding: 10px 16px;
  background-color: #FF6B9D;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  width: fit-content;
}

.blog__post-link:hover {
  background-color: #E84266;
}

.blog__pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.blog__pagination-btn {
  padding: 8px 12px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.blog__pagination-btn:hover {
  background-color: #FF6B9D;
  color: white;
  border-color: #FF6B9D;
}

.blog__pagination-btn.active {
  background-color: #FF6B9D;
  color: white;
  border-color: #FF6B9D;
}

@media (max-width: 768px) {
  .blog {
    padding: 40px 0;
  }

  .blog__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog__post-title {
    font-size: 16px;
  }

  .blog__post-excerpt {
    font-size: 13px;
  }
}
