/* Основные стили футера */
.t-footer {
  background: #111827;
  color: white;
  padding: 48px 0 64px;
  font-family: 'Montserrat', sans-serif;
}

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

.t-footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .t-footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* Логотип */
.t-footer-logo {
  font-family: 'Pacifico', cursive;
  font-size: 28px;
  color: #FFFFFF;
  margin-bottom: 16px;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease-out;
}

.t-footer-logo:hover {
  transform: scale(1.1);
}

/* Текст и описания */
.t-footer-desc {
  color: #D1D5DB;
  margin-bottom: 16px;
  line-height: 1.5;
  font-size: 0.875rem;
}

/* Соц-иконки */
.t-social-links {
  display: flex;
  gap: 12px;
}

.t-social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1F2937;
  border: 2px solid transparent;
  border-radius: 50%;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.2s ease-out;
}

.t-social-link:hover {
  color: #7C3AED;
  border-color: #7C3AED;
  transform: scale(1.1);
}

.t-social-link i {
  font-size: 20px;
}

/* Заголовки */
.t-footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #FFFFFF;
}

/* Ссылки */
.t-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.t-footer-links li {
  margin-bottom: 8px;
}

.t-footer-link {
  color: #D1D5DB;
  text-decoration: none;
  font-size: 0.875rem;
  display: block;
  line-height: 1.5;
  transition: color 0.2s ease-out;
}

.t-footer-link:hover {
  color: #FFFFFF;
}

/* Контакты */
.t-contact-item {
  display: flex;
  margin-bottom: 16px;
  align-items: flex-start;
  line-height: 1.5;
}

.t-contact-link-item {
  transition: all 0.2s ease-out;
}

.t-contact-link-item:hover {
  transform: scale(1.1);
}

.t-contact-icon {
  color: #D1D5DB;
  margin-right: 12px;
  margin-top: 2px;
  font-size: 1rem;
  transition: color 0.2s ease-out;
}

.t-contact-link-item:hover .t-contact-icon,
.t-contact-link-item:hover .t-contact-link {
  color: #7C3AED;
}

.t-contact-text,
.t-contact-link {
  color: #D1D5DB;
  font-size: 0.875rem;
  transition: color 0.2s ease-out;
}

/* Нижняя часть футера */
.t-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 0 0;
  margin-top: 32px;
}

.t-footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .t-footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.t-copyright {
  color: #9ca3af;
  font-size: 0.75rem;
  margin: 0;
}

.t-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (min-width: 768px) {
  .t-policy-links {
    gap: 16px;
  }
}

.t-policy-link {
  color: #D1D5DB;
  font-size: 0.75rem;
  text-decoration: none;
  position: relative;
  padding-right: 12px;
  transition: color 0.2s ease-out;
}

.t-policy-link:hover {
  color: #FFFFFF;
}

.t-policy-link:not(:last-child)::after {
  content: '•';
  position: absolute;
  right: 0;
  color: #D1D5DB;
}

/* Анимация появления колонок */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.t-footer-col {
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}

.t-footer-col:nth-child(1) { animation-delay: 0.1s; }
.t-footer-col:nth-child(2) { animation-delay: 0.2s; }
.t-footer-col:nth-child(3) { animation-delay: 0.3s; }
.t-footer-col:nth-child(4) { animation-delay: 0.4s; }

/* Адаптивность для мобильных */
@media (max-width: 767px) {
  .t-social-link,
  .t-contact-link-item {
    width: 56px;
    height: 56px;
  }

  .t-policy-link:not(:last-child)::after {
    display: none;
  }
}

.custom-footer {
    background: #111827;
    color: white;
    padding: 60px 0 0;
    margin-top: auto;
    font-family: 'Montserrat', sans-serif;
}

.custom-footer .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.custom-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
}

@media (min-width: 768px) {
    .custom-footer .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.custom-footer .footer-logo {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
    display: inline-block;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-footer .footer-logo:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.custom-footer .footer-desc {
    color: #9ca3af;
    margin-bottom: 20px;
    line-height: 1.6;
}

.custom-footer .social-links {
    display: flex;
    gap: 12px;
}

.custom-footer .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1f2937;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-footer .social-link:hover {
    background: #4f46e5;
    transform: translateY(-3px);
}

.custom-footer .social-icon {
    color: white;
    font-size: 20px;
}

.custom-footer .footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.custom-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-footer .footer-links li {
    margin-bottom: 12px;
}

.custom-footer .footer-links .t-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.custom-footer .footer-links .t-link:hover {
    color: white;
}

.custom-footer .contact-item {
    display: flex;
    margin-bottom: 20px;
}

.custom-footer .contact-icon {
    color: #9ca3af;
    margin-right: 15px;
    margin-top: 3px;
}

.custom-footer .contact-text {
    color: #9ca3af;
    line-height: 1.6;
}

.custom-footer .contact-link {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.custom-footer .contact-link:hover {
    color: white;
    transform: translateY(-2px);
}

.custom-footer .footer-bottom {
    border-top: 1px solid #1f2937;
    margin-top: 60px;
    padding: 25px 0;
}

.custom-footer .footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@media (min-width: 768px) {
    .custom-footer .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.custom-footer .copyright {
    color: #6b7280;
    font-size: 0.875rem;
}

.custom-footer .footer-policy-links {
    display: flex;
    gap: 20px;
}

.custom-footer .policy-link {
    color: #6b7280;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.custom-footer .policy-link:hover {
    color: white;
}
