* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}
body {
  display: flex;
  font-size: 16px;
  margin: 0;
  padding: 0;
  flex-direction: column;
  min-height: 100vh;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@font-face {
  font-family: 'TildaSans';
  src: url('../fonts/TildaSans-VF.woff2') format('woff2'),
       url('../fonts/TildaSans-VF.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 60px 0 20px;
    margin-top: auto;
}
.footer__content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}
.footer__section {
    display: flex;
    flex-direction: column;
}
.footer__title {
    font-family: 'TildaSans', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
}
.footer__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #990823;
}
.footer__nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer__nav li {
    margin-bottom: 12px;
}
.footer__nav a {
    color: #ccc;
    text-decoration: none;
    font-family: 'TildaSans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 5px 0;
    display: block;
}
.footer__nav a:hover {
    color: #fff;
    transform: translateX(5px);
}
.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}
.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.footer__contact-icon {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    color: #990823;
}
.footer__contact-text {
    font-family: 'TildaSans', sans-serif;
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.4;
}
.footer__phones {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__phone-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.footer__phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.footer__social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}
.footer__social-link {
    display: flex;
    align-items: center;
    color: #ccc;
    text-decoration: none;
    font-family: 'TildaSans', sans-serif;
    transition: all 0.3s ease;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__social-link:hover {
    color: #fff;
    transform: translateX(5px);
    border-bottom-color: #990823;
}
.footer__social-text {
    font-size: 1rem;
    font-weight: 500;
}
.footer__additional {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__subtitle {
    font-family: 'TildaSans', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #fff;
}
.footer__quality-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer__quality-list li {
    font-family: 'TildaSans', sans-serif;
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}
.footer__quality-list li::before {
    content: '•';
    color: #990823;
    position: absolute;
    left: 0;
}
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer__copyright {
    font-family: 'TildaSans', sans-serif;
    font-size: 0.9rem;
    color: #999;
}
.footer__legal {
    display: flex;
    align-items: center;
    gap: 15px;
}
.footer__link {
    color: #ccc;
    text-decoration: none;
    font-family: 'TildaSans', sans-serif;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}
.footer__link:hover {
    color: #fff;
}
.footer__separator {
    color: #666;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    .footer__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer__legal {
        order: 1;
    }
    .footer__copyright {
        order: 2;
    }
}
