@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInDown {
    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);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

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

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.1);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(1);
    }
}

/* Классы для анимаций */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease forwards;
}

.slide-in-down {
    animation: slideInDown 0.8s ease forwards;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Шапка */
.header {
    background-color: #fff;
    border-bottom: 2px solid #ff6b35;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #ff6b35;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: slideInDown 0.8s ease;
}

.logo-text:hover {
    transform: scale(1.05);
    text-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.tagline {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Навигация */
.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.nav-link:hover {
    color: #ff6b35;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff6b35;
    transition: width 0.3s ease;
}

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

/* Контакты */
.contacts {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateX(0);
}

.contact-item a:hover {
    color: #ff6b35;
}

.contact-icon {
    width: 20px;
    height: 20px;
    fill: #ff6b35;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    transform: scale(1.2) rotate(10deg);
    animation: heartbeat 1s ease infinite;
}

.work-time {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    opacity: 1;
}

/* Бургер меню - скрыто на десктопе */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 5px;
    z-index: 101;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Мобильная навигация */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-nav-close:hover {
    transform: rotate(90deg);
}

.mobile-nav-close svg {
    width: 100%;
    height: 100%;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-nav.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active a:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav.active a:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav.active a:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav.active a:nth-child(5) { transition-delay: 0.5s; }

.mobile-nav a:hover {
    color: #ff6b35;
}

/* Мобильные контакты в меню */
.mobile-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-contact-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-contact-item a:hover {
    color: #ff6b35;
}

.mobile-contact-item .contact-icon {
    width: 24px;
    height: 24px;
    fill: #ff6b35;
}

.mobile-work-time {
    color: #ccc;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

/* Hero секция */
.hero {
    position: relative;
    height: 750px;
    overflow: hidden;
}

.hero-background {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.8) 0%, rgba(0, 0, 0, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.hero-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.hero-subtitle.animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
}

.hero-buttons.animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-btn {
    display: inline-block;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    text-align: center;
}

.hero-btn:hover {
    animation: pulse 0.6s ease;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.hero-btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e55a2b 0%, #d14d26 100%);
    transition: left 0.3s ease;
}

.hero-btn.primary:hover::before {
    left: 0;
}

.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
}

.hero-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

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

/* Категории водительских прав */
.categories {
    padding: 80px 0;
    background-color: #fff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 25px;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.category-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.category-item:nth-child(1).animate { transition-delay: 0.1s; }
.category-item:nth-child(2).animate { transition-delay: 0.2s; }
.category-item:nth-child(3).animate { transition-delay: 0.3s; }
.category-item:nth-child(4).animate { transition-delay: 0.4s; }
.category-item:nth-child(5).animate { transition-delay: 0.5s; }
.category-item:nth-child(6).animate { transition-delay: 0.6s; }

.category-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

.category-item:hover .category-letter {
    animation: bounce 0.6s ease;
}

.category-item:hover .category-image {
    transform: scale(1.05);
}

.category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.category-letter {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FF6B35;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.2);
}

.category-item:hover .category-letter {
    color: #e55a2b;
    text-shadow: 0 4px 8px rgba(255, 107, 53, 0.4);
    transform: scale(1.1);
}

.category-name {
    font-size: 16px;
    text-align: center;
    font-weight: 500;
    color: #666;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    position: relative;
    padding-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    border-radius: 2px;
}

/* О нас */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.about-content {
    margin-bottom: 60px;
}

.about-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.about-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    padding-left: 30px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.about-list li.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-list li:nth-child(1).animate { transition-delay: 0.1s; }
.about-list li:nth-child(2).animate { transition-delay: 0.2s; }
.about-list li:nth-child(3).animate { transition-delay: 0.3s; }
.about-list li:nth-child(4).animate { transition-delay: 0.4s; }

.about-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 18px;
}

.about-question {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.about-question p {
    margin-bottom: 10px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    border-radius: 16px;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.feature-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-item:nth-child(1).animate { transition-delay: 0.1s; }
.feature-item:nth-child(2).animate { transition-delay: 0.2s; }
.feature-item:nth-child(3).animate { transition-delay: 0.3s; }

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #e55a2b 0%, #d14d26 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.3);
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.feature-item p {
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Услуги */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f1f3f4 0%, #e9ecef 100%);
}

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

.service-item {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    border: 3px solid #ff6b35;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    cursor: pointer;
}

.service-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-item:nth-child(1).animate { transition-delay: 0.1s; }
.service-item:nth-child(2).animate { transition-delay: 0.2s; }
.service-item:nth-child(3).animate { transition-delay: 0.3s; }
.service-item:nth-child(4).animate { transition-delay: 0.4s; }

.service-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.15);
}

.service-item h3 {
    font-size: 22px;
    margin-bottom: 18px;
    color: #333;
    font-weight: 600;
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-item p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* Гарантии */
.guarantees {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.guarantees-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.guarantees-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.guarantees-content p {
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: white;
    font-weight: 400;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq-content {
    margin-top: 50px;
}

.faq-item {
    background: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.faq-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:nth-child(1).animate { transition-delay: 0.1s; }
.faq-item:nth-child(2).animate { transition-delay: 0.2s; }
.faq-item:nth-child(3).animate { transition-delay: 0.3s; }
.faq-item:nth-child(4).animate { transition-delay: 0.4s; }

.faq-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

.faq-item h3 {
    color: #FF6B35;
    margin-bottom: 15px;
    font-size: 20px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Почему выбирают нас */
.why-us {
    padding: 80px 0;
    background-color: #fff;
}

.why-us-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.why-us-item {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.why-us-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.why-us-item:nth-child(1).animate { transition-delay: 0.1s; }
.why-us-item:nth-child(2).animate { transition-delay: 0.2s; }
.why-us-item:nth-child(3).animate { transition-delay: 0.3s; }

.why-us-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.why-us-item h3 {
    color: #FF6B35;
    margin-bottom: 20px;
    font-size: 24px;
}

.why-us-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Контакты */
.contacts-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f1f3f4 0%, #e9ecef 100%);
}

.contacts-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.contact-method h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.contact-link {
    display: inline-block;
    padding: 16px 35px;
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    z-index: 10;
}

.contact-link.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-link:hover {
    animation: pulse 0.6s ease;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    z-index: 20; 
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e55a2b 0%, #d14d26 100%);
    transition: left 0.3s ease;
}

.contact-link:hover::before {
    left: 0;
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.contact-link span {
    position: relative;
    z-index: 1;
}

.contact-info p {
    margin-bottom: 10px;
    color: #666;
    font-size: 16px;
}

/* Футер */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 10px;
}

.footer-description {
    font-size: 14px;
    color: #ccc;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b35;
}

/* FAQ Аккордеон */
.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b35;
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fff;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 20px 25px;
}

}

}

}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    /* Скрываем десктопную навигацию и контакты */
    .nav {
        display: none;
    }
    
    .contacts {
        display: none;
    }
    
    /* Показываем бургер меню */
    .burger-menu {
        display: flex;
    }
    
    /* Изменяем структуру хедера */
    .header-content {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        text-align: center;
    }
    
    .contacts {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        min-width: 250px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .guarantees-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-btn {
        padding: 16px 25px;
        font-size: 15px;
        min-width: 220px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-image {
        height: 100px;
    }
    
    .category-letter {
        font-size: 24px;
    }
    
    .category-name {
        font-size: 11px;
    }
    

    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .category-image {
        height: 120px;
    }
    
    .category-letter {
        font-size: 28px;
    }
    
    .category-name {
        font-size: 12px;
    }
    
    .why-us-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .faq-item h3 {
         font-size: 18px;
     }
     
     .feature-item {
         padding: 30px 20px;
     }
 
     .feature-item h3 {
         font-size: 20px;
     }
     
     .guarantees-content {
         padding: 25px 15px;
     }
}

  }
}
