:root {
--primary: #003366;
--accent: #ff0000;
--light: #f8f9fa;
--dark: #343a40;
--gray: #6c757d;
--light-blue: #4cb5ae;
--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
--transition: all 0.3s ease;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Trebuchet MS', Arial, sans-serif;
}

html {
scroll-behavior: smooth;
}

body {
color: #333;
line-height: 1.6;
background-color: #f5f7fa;
overflow-x: hidden;
}

.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}

/* Header Styles */
header {
background: linear-gradient(135deg, var(--primary), #001a33);
color: white;
padding: 15px 0;
position: sticky;
top: 0;
z-index: 1000;
box-shadow: var(--shadow);
transition: var(--transition);
}

.header-scrolled {
padding: 10px 0;
background: rgba(0, 51, 102, 0.98);
backdrop-filter: blur(10px);
}

.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}

.logo {
font-size: 24px;
font-weight: bold;
color: white;
text-decoration: none;
display: flex;
align-items: center;
transition: var(--transition);
}

.logo:hover {
transform: scale(1.05);
}

.logo i {
margin-right: 10px;
color: var(--accent);
transition: var(--transition);
}

.nav-toggle {
display: none;
background: none;
border: none;
color: white;
font-size: 24px;
cursor: pointer;
transition: var(--transition);
}

.nav-toggle:hover {
color: var(--light-blue);
transform: rotate(90deg);
}

nav ul {
display: flex;
list-style: none;
}

nav ul li {
margin-left: 20px;
position: relative;
}

nav ul li a {
color: white;
text-decoration: none;
font-weight: 500;
transition: var(--transition);
position: relative;
padding: 5px 0;
}

nav ul li a:hover {
color: var(--light-blue);
}

nav ul li a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background-color: var(--light-blue);
transition: width 0.3s;
}

nav ul li a:hover::after {
width: 100%;
}

/* Active menu item */
nav ul li a.active {
color: var(--light-blue);
}

nav ul li a.active::after {
width: 100%;
}

/* Модифицированная Hero Section */
        .hero {
            position: relative;
            color: white;
            text-align: center;
            padding: 100px 0;
            overflow: hidden;
        }

        .hero-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
        }

        .hero-background::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 26, 51, 0.9));
            z-index: 1;
        }

        .hero-background img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: sepia(50%) brightness(0.7);
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect fill="none" width="200" height="200"/><path fill="%23003366" fill-opacity="0.05" d="M0,0 L200,0 L200,200 L0,200 Z"/></svg>');
            animation: grain 8s steps(10) infinite;
            z-index: -1;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 1s ease forwards 0.5s;
        }

.hero h1 {
font-size: 3.8rem;
margin-bottom: 20px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
line-height: 1.2;
}

.hero p {
font-size: 1.2rem;
margin-bottom: 30px;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}

.hero-buttons {
margin-top: 30px;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 15px;
}

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
background-color: var(--accent);
color: white;
padding: 14px 30px;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
transition: var(--transition);
border: 2px solid var(--accent);
position: relative;
overflow: hidden;
z-index: 1;
}

.btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.2);
transition: all 0.4s;
z-index: -1;
}
 
.btn:hover {
background-color: transparent;
color: white;
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:hover::before {
left: 100%;
}

.btn-outline {
background-color: transparent;
border: 2px solid white;
}

.btn-outline:hover {
background-color: white;
color: var(--primary);
}

/* Services Section */
.services {
padding: 80px 0;
background-color: white;
}

.section-title {
text-align: center;
margin-bottom: 50px;
opacity: 0;
transform: translateY(20px);
}

.section-title.animate {
animation: fadeInUp 0.8s ease forwards;
}

.section-title h2 {
font-size: 2.2rem;
color: var(--primary);
margin-bottom: 15px;
position: relative;
display: inline-block;
}

.section-title h2::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background-color: var(--accent);
}

.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}

.service-card {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
transition: var(--transition);
text-align: center;
padding: 0;
border-top: 5px solid var(--primary);
display: flex;
flex-direction: column;
height: 100%;
opacity: 0;
transform: translateY(20px);
}

.service-card.animate {
animation: fadeInUp 0.8s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

 /* ИЗМЕНЕНИЯ ДЛЯ УВЕЛИЧЕНИЯ ИЗОБРАЖЕНИЙ */
        .service-image {
            height: 270px; /* Увеличиваем высоту */
            overflow: hidden;
            position: relative;
            margin: -12px -12px 12px -12px; /* Расширяем изображение за пределы карточки */
            width: calc(100% + 30px); /* Компенсируем расширение */
        }

        .service-image img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Обеспечиваем заполнение области */
            transition: transform 0.5s;
        }

        .service-card:hover .service-image img {
            transform: scale(1.15); /* Увеличиваем масштаб при наведении */
        }

.service-content {
padding: 25px;
flex-grow: 1;
display: flex;
flex-direction: column;
}

.service-icon {
font-size: 2.5rem;
color: var(--primary);
margin-bottom: 15px;
transition: var(--transition);
}

.service-card:hover .service-icon {
transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
font-size: 1.5rem;
margin-bottom: 15px;
color: var(--primary);
}

.service-card p {
margin-bottom: 20px;
flex-grow: 1;
}

.price {
font-size: 2.2rem;
color: var(--accent);
font-weight: bold;
margin: 15px 0;
position: relative;
display: inline-block;
}

.price::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* Common Problems Section */
.problems {
padding: 80px 0;
background: linear-gradient(to right, #f8f9fa, #e9ecef);
position: relative;
}

.problems::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 5px;
background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.problems-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 25px;
}

.problem-card {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
transition: var(--transition);
padding: 25px;
text-align: center;
border-left: 4px solid var(--accent);
opacity: 0;
transform: translateY(20px);
}

.problem-card.animate {
animation: fadeInUp 0.8s ease forwards;
}

.problem-card:nth-child(1) { animation-delay: 0.1s; }
.problem-card:nth-child(2) { animation-delay: 0.2s; }
.problem-card:nth-child(3) { animation-delay: 0.3s; }
.problem-card:nth-child(4) { animation-delay: 0.4s; }

.problem-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.problem-icon {
font-size: 2.2rem;
color: var(--accent);
margin-bottom: 15px;
transition: var(--transition);
}

.problem-card:hover .problem-icon {
transform: scale(1.1) rotate(10deg);
}

.problem-card h3 {
font-size: 1.3rem;
margin-bottom: 15px;
color: var(--primary);
}

.problem-card p {
margin-bottom: 15px;
}

.solution {
background: #f8f9fa;
padding: 15px;
border-radius: 6px;
margin-top: 15px;
border-left: 3px solid var(--light-blue);
transition: var(--transition);
}

.solution:hover {
transform: translateX(5px);
}

.solution h4 {
color: var(--primary);
margin-bottom: 8px;
font-size: 1.1rem;
}

/* About Section */
.about {
padding: 80px 0;
background-color: white;
}

.about-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
align-items: center;
}

.about-text {
opacity: 0;
transform: translateX(-20px);
}

.about-text.animate {
animation: fadeInLeft 0.8s ease forwards;
}

.about-text h2 {
font-size: 2rem;
color: var(--primary);
margin-bottom: 20px;
}

.about-text p {
margin-bottom: 20px;
}

.about-image {
position: relative;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
opacity: 0;
transform: translateX(20px);
}

.about-image.animate {
animation: fadeInRight 0.8s ease forwards;
}

.about-image img {
width: 100%;
height: auto;
display: block;
transition: transform 0.5s;
}

.about-image:hover img {
transform: scale(1.05);
}

/* Guarantee Section */
.guarantee {
padding: 70px 0;
background: linear-gradient(135deg, var(--primary), #001a33);
color: white;
text-align: center;
position: relative;
overflow: hidden;
}

.guarantee::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
transform: rotate(30deg);
}

.guarantee-content {
max-width: 800px;
margin: 0 auto;
position: relative;
z-index: 1;
}

.guarantee h2 {
font-size: 2.5rem;
margin-bottom: 20px;
opacity: 0;
transform: translateY(20px);
}

.guarantee h2.animate {
animation: fadeInUp 0.8s ease forwards;
}

.guarantee-badge {
background-color: var(--accent);
width: 150px;
height: 150px;
border-radius: 50%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 0 auto 30px;
animation: pulse 2s infinite;
box-shadow: 0 0 0 15px rgba(255, 0, 0, 0.2);
opacity: 0;
transform: scale(0.8);
}

.guarantee-badge.animate {
animation: fadeInUp 0.8s ease forwards, pulse 2s infinite 0.8s;
}

.guarantee-badge span {
font-size: 2rem;
font-weight: bold;
}

.guarantee p {
opacity: 0;
transform: translateY(20px);
}

.guarantee p.animate {
animation: fadeInUp 0.8s ease forwards 0.4s;
}

/* How It Works Section */
.how-it-works {
padding: 80px 0;
background: linear-gradient(to right, #f8f9fa, #e9ecef);
}

.steps {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
margin-top: 40px;
}

.step {
text-align: center;
padding: 30px;
background: white;
border-radius: 10px;
transition: var(--transition);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
opacity: 0;
transform: translateY(20px);
}

.step.animate {
animation: fadeInUp 0.8s ease forwards;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }

.step:hover {
background: var(--primary);
color: white;
transform: translateY(-5px);
}

.step:hover h3 {
color: white;
}

.step:hover .step-number {
background: white;
color: var(--primary);
}

.step-number {
width: 60px;
height: 60px;
background: var(--accent);
color: white;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5rem;
font-weight: bold;
margin: 0 auto 15px;
transition: var(--transition);
}

.step h3 {
font-size: 1.3rem;
margin-bottom: 15px;
color: var(--primary);
transition: var(--transition);
}

/* FAQ Section */
.faq {
padding: 80px 0;
background-color: white;
}

.accordion {
margin-top: 30px;
}

.accordion-item {
margin-bottom: 15px;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
transition: var(--transition);
opacity: 0;
transform: translateY(10px);
}

.accordion-item.animate {
animation: fadeInUp 0.6s ease forwards;
}

.accordion-item:nth-child(1) { animation-delay: 0.1s; }
.accordion-item:nth-child(2) { animation-delay: 0.2s; }
.accordion-item:nth-child(3) { animation-delay: 0.3s; }
.accordion-item:nth-child(4) { animation-delay: 0.4s; }

.accordion-header {
background: var(--primary);
color: white;
padding: 20px;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
transition: background 0.3s;
}

.accordion-header:hover {
background: #001a33;
}

.accordion-content {
padding: 0;
max-height: 0;
overflow: hidden;
transition: max-height 0.5s ease;
background: white;
}

.accordion-content-inner {
padding: 20px;
}

.accordion-item.active .accordion-content {
max-height: 500px;
}

.accordion-item.active .accordion-icon {
transform: rotate(180deg);
}

/* Contact Section */
.contact {
padding: 80px 0;
background: linear-gradient(to right, #f8f9fa, #e9ecef);
}

.contact-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 40px;
}

.contact-info {
display: flex;
flex-direction: column;
gap: 20px;
}

.contact-item {
display: flex;
align-items: center;
gap: 15px;
opacity: 0;
transform: translateX(-20px);
}

.contact-item.animate {
animation: fadeInLeft 0.8s ease forwards;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }

.contact-icon {
width: 50px;
height: 50px;
background: var(--primary);
color: white;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 20px;
transition: var(--transition);
flex-shrink: 0;
}

.contact-item:hover .contact-icon {
background: var(--accent);
transform: scale(1.1) rotate(5deg);
}

.map-container {
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
height: 300px;
opacity: 0;
transform: translateX(20px);
}

.map-container.animate {
animation: fadeInRight 0.8s ease forwards;
}

/* Footer */
footer {
background: var(--dark);
color: white;
padding: 60px 0 20px;
position: relative;
}

footer::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 5px;
background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
margin-bottom: 30px;
}

.footer-column h3 {
font-size: 1.3rem;
margin-bottom: 20px;
color: var(--light-blue);
position: relative;
padding-bottom: 10px;
}

.footer-column h3::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 40px;
height: 2px;
background-color: var(--accent);
}

.footer-links {
list-style: none;
}

.footer-links li {
margin-bottom: 10px;
transition: var(--transition);
}

.footer-links li:hover {
transform: translateX(5px);
}

.footer-links a {
color: #ddd;
text-decoration: none;
transition: var(--transition);
display: inline-block;
}

.footer-links a:hover {
color: var(--light-blue);
padding-left: 5px;
}

.social-links {
display: flex;
gap: 15px;
margin-top: 15px;
}

.social-links a {
width: 40px;
height: 40px;
border-radius: 50%;
background: #444;
color: white;
display: flex;
justify-content: center;
align-items: center;
transition: var(--transition);
}

.social-links a:hover {
background: var(--light-blue);
transform: translateY(-3px);
}

.footer-bottom {
text-align: center;
padding-top: 20px;
border-top: 1px solid #444;
}

/* Back to top button */
.back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
border-radius: 50%;
background: var(--accent);
color: white;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
transition: var(--transition);
opacity: 0;
visibility: hidden;
z-index: 999;
}

.back-to-top.visible {
opacity: 1;
visibility: visible;
}

.back-to-top:hover {
background: var(--primary);
transform: translateY(-5px);
}

/* Modal */
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
z-index: 10000;
opacity: 0;
visibility: hidden;
transition: all 0.3s;
}

.modal.active {
opacity: 1;
visibility: visible;
}

.modal-content {
background: white;
border-radius: 10px;
padding: 30px;
max-width: 500px;
width: 90%;
position: relative;
transform: translateY(50px);
transition: all 0.3s;
}

.modal.active .modal-content {
transform: translateY(0);
}

.modal-close {
position: absolute;
top: 15px;
right: 15px;
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: var(--gray);
transition: var(--transition);
}

.modal-close:hover {
color: var(--accent);
transform: rotate(90deg);
}

.modal-title {
margin-bottom: 20px;
color: var(--primary);
}

.form-group {
margin-bottom: 20px;
}

.form-group label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}

.form-control {
width: 100%;
padding: 12px 15px;
border: 1px solid #ddd;
border-radius: 5px;
transition: var(--transition);
}

.form-control:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
outline: none;
}

/* Content sections for SEO */
.content-section {
margin: 40px 0;
padding: 30px;
background: white;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
opacity: 0;
transform: translateY(20px);
}

.content-section.animate {
animation: fadeInUp 0.8s ease forwards;
}

.content-section h2 {
color: var(--primary);
margin-bottom: 20px;
font-size: 1.8rem;
}

.content-section h3 {
color: var(--primary);
margin: 20px 0 15px;
font-size: 1.4rem;
}

.content-section p, .content-section ul, .content-section ol {
margin-bottom: 15px;
}

.content-section ul, .content-section ol {
padding-left: 20px;
}

.content-section li {
margin-bottom: 8px;
}

.highlight {
background: #fff9e6;
border-left: 4px solid var(--accent);
padding: 20px;
margin: 20px 0;
border-radius: 0 8px 8px 0;
}

/* Breadcrumb */
.breadcrumb {
padding: 15px 0;
background: #f1f1f1;
margin-bottom: 30px;
}

.breadcrumb ul {
display: flex;
list-style: none;
flex-wrap: wrap;
}

.breadcrumb li {
margin-right: 10px;
font-size: 14px;
}

.breadcrumb li:not(:last-child)::after {
content: '/';
margin-left: 10px;
color: #777;
}

.breadcrumb a {
color: var(--primary);
text-decoration: none;
transition: var(--transition);
}

.breadcrumb a:hover {
color: var(--accent);
text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


@keyframes fadeInLeft {
from {
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}

@keyframes fadeInRight {
from {
opacity: 0;
transform: translateX(20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}

@keyframes pulse {
0% {
transform: scale(1);
box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
}
70% {
transform: scale(1.05);
box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
}
100% {
transform: scale(1);
box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
}
}

@keyframes grain {
            0%, 100% { transform: translate(0, 0); }
            10% { transform: translate(-5%, -10%); }
            20% { transform: translate(-15%, 5%); }
            30% { transform: translate(7%, -25%); }
            40% { transform: translate(-5%, 25%); }
            50% { transform: translate(-15%, 10%); }
            60% { transform: translate(15%, 0%); }
            70% { transform: translate(0%, 15%); }
            80% { transform: translate(3%, 35%); }
            90% { transform: translate(-10%, 10%); }
        }

/* Lazy loading */
.lazy-load {
opacity: 0;
transform: translateY(20px);
transition: all 0.6s;
}

.lazy-load.visible {
opacity: 1;
transform: translateY(0);
}

/* Loading animation for images */
.image-placeholder {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
border-radius: 8px;
}

@keyframes loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}

/* Responsive Styles */
@media (max-width: 1200px) {
.container {
max-width: 960px;
}
}

@media (max-width: 992px) {
.container {
max-width: 720px;
}

.about-content {
grid-template-columns: 1fr;
gap: 30px;
}

.hero h1 {
font-size: 2.2rem;
}

.section-title h2 {
font-size: 1.8rem;
}
}

/* Responsive Styles */
        @media (max-width: 768px) {
            .service-image {
                height: 270px; /* Немного уменьшаем высоту на мобильных */
                margin: -10px -10px 15px -10px;
                width: calc(100% + 20px);
            }
        }

        @media (max-width: 576px) {
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .service-image {
                height: 250px;
            }
        }

.nav-toggle {
display: block;
}

nav ul {
display: none;
flex-direction: column;
width: 100%;
position: absolute;
top: 100%;
left: 0;
background: var(--primary);
padding: 15px 0;
z-index: 100;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

nav ul.show {
display: flex;
}

nav ul li {
margin: 0;
text-align: center;
}

nav ul li a {
display: block;
padding: 10px;
}

.hero {
padding: 80px 0;
}

.hero h1 {
font-size: 1.8rem;
}

.hero p {
font-size: 1rem;
}

.hero-buttons {
flex-direction: column;
align-items: center;
}

.btn {
width: 100%;
max-width: 300px;
margin: 5px 0;
}

.contact-grid {
grid-template-columns: 1fr;
}

.footer-content {
grid-template-columns: 1fr;
gap: 30px;
}
}

@media (max-width: 576px) {
.container {
width: 100%;
padding: 0 20px;
}

.hero h1 {
font-size: 1.6rem;
}

.services-grid,
.problems-grid,
.steps {
grid-template-columns: 1fr;
}

.section-title h2 {
font-size: 1.6rem;
}

.price {
font-size: 1.8rem;
}

.back-to-top {
bottom: 20px;
right: 20px;
width: 40px;
height: 40px;
}
}

/* Заголовок секции */
        .testimonials-header {
            text-align: center;
            margin-bottom: 40px;
            padding: 20px;
        }
        
        .testimonials-header h2 {
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }
        
        .testimonials-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #3498db, #2ecc71);
            border-radius: 2px;
        }
        
        .testimonials-header p {
            font-size: 1.2rem;
            color: #7f8c8d;
            max-width: 700px;
            margin: 0 auto;
        }
        
        /* Сетка отзывов */
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        /* Карточка отзыва */
        .testimonial-card {
            background: white;
            border-radius: 16px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .testimonial-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, #3498db, #2ecc71);
        }
        
        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        }
        
        /* Заголовок в карточке */
        .testimonial-client {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .testimonial-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #3498db, #2ecc71);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            font-weight: bold;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .testimonial-info h3 {
            font-size: 1.3rem;
            color: #2c3e50;
            margin-bottom: 5px;
        }
        
        .testimonial-info p {
            color: #7f8c8d;
            font-size: 0.9rem;
        }
        
        /* Текст отзыва */
        .testimonial-content {
            position: relative;
            flex-grow: 1;
        }
        
        .testimonial-text {
            font-size: 1.05rem;
            line-height: 1.7;
            color: #34495e;
            margin-bottom: 20px;
            position: relative;
            padding-left: 25px;
        }
        
        .testimonial-text::before {
            content: '\201C';
            font-size: 4rem;
            position: absolute;
            left: -15px;
            top: -15px;
            color: rgba(52, 152, 219, 0.15);
            font-family: Georgia, serif;
        }
        
        /* Рейтинг */
        .testimonial-rating {
            color: #f39c12;
            margin-top: 15px;
            font-size: 0.9rem;
        }
        
        /* Блок с акцией */
        .testimonial-promo {
            background: linear-gradient(135deg, #3498db, #2ecc71);
            border-radius: 16px;
            padding: 30px;
            text-align: center;
            color: white;
            box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
            margin-top: 20px;
        }
        
        .testimonial-promo p {
            font-size: 1.3rem;
            margin-bottom: 0;
            font-weight: 500;
        }
        
        .testimonial-promo .promo-highlight {
            font-size: 1.8rem;
            font-weight: bold;
            display: inline-block;
            margin: 10px 0;
            background: rgba(255, 255, 255, 0.2);
            padding: 5px 15px;
            border-radius: 50px;
        }
        
        /* Адаптивность */
        @media (max-width: 768px) {
            .testimonials-grid {
                grid-template-columns: 1fr;
            }
            
            .testimonials-header h2 {
                font-size: 2rem;
            }
            
            .testimonial-card {
                padding: 20px;
            }
        }
        
        /* Анимации */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .testimonial-card {
            animation: fadeIn 0.6s ease forwards;
        }
        
        .testimonial-card:nth-child(2) {
            animation-delay: 0.2s;
        }
        
        .testimonial-card:nth-child(3) {
            animation-delay: 0.4s;
        }
        
        /* Контейнер карточек */
.smart-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-top: 30px;
}

/* Карточка */
.smart-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 6px 15px rgba(0,0,0,0.1);
	padding: 15px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	animation: fadeInUp 0.6s ease;
}

.smart-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Заголовок */
.smart-card-title {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 10px;
	text-align: center;
	color: #222;
}

/* Бейджик */
.smart-badge {
	font-size: 0.9rem;
	color: #fff;
	background: #ff5722;
	padding: 4px 10px;
	border-radius: 12px;
	text-align: center;
	margin-bottom: 10px;
}

/* Картинка */
.smart-image {
	width: 100%;
	text-align: center;
	margin-bottom: 12px;
}
.smart-image img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 12px;
	transition: transform 0.3s ease;
}
.smart-card:hover .smart-image img {
	transform: scale(1.05);
}

/* Информация */
.smart-info {
	font-size: 0.95rem;
	color: #444;
	margin-bottom: 15px;
}
.smart-model {
	font-weight: 500;
	margin-bottom: 4px;
}
.smart-price {
	font-weight: bold;
	color: #2c7a7b;
	margin-bottom: 8px;
}

/* Кнопка */
.smart-btn {
	display: block;
	text-align: center;
	padding: 10px;
	border-radius: 10px;
	background: linear-gradient(135deg, #2c7a7b, #38b2ac);
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	transition: background 0.3s ease;
}
.smart-btn:hover {
	background: linear-gradient(135deg, #1e5557, #2c7a7b);
}

/* Анимация появления */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.faq-block {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, opacity 0.6s ease;
  opacity: 0;
}

.faq-block.show {
  max-height: 2000px; /* достаточно большое значение */
  opacity: 1;
}
.price-button {
  display: inline-block;
  margin: 20px auto;
  padding: 16px 32px;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #ff5722, #ff9800);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 1.8s infinite;
}

.price-button:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, #e64a19, #f57c00);
}

/* Анимация дыхания */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(255,87,34,0.7); }
  50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(255,87,34,0.7); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(255,87,34,0.7); }
}
.price-section {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    font-family: "Segoe UI", Arial, sans-serif;
  }

  .price-section h2 {
    font-size: 1.4rem;
    margin: 20px 0 15px;
    color: #222;
    border-left: 5px solid #ff6600;
    padding-left: 10px;
  }

  .center-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
  }

  .center-table th, 
  .center-table td {
    padding: 12px 15px;
    text-align: center;
  }

  .center-table thead {
    background: linear-gradient(90deg, #ff6600, #ff944d);
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
  }

  .center-table tbody tr {
    transition: background 0.2s ease;
  }

  .center-table tbody tr:nth-child(odd) {
    background: #fafafa;
  }

  .center-table tbody tr:hover {
    background: #fff3e6;
  }

  .center-table td strong {
    color: #ff6600;
    font-weight: 600;
  }

  .price-total {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: right;
    color: #222;
    background: #fef2e6;
    padding: 12px 15px;
    border-radius: 12px;
  }



  /* Общие стили секций */
.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #222;
}

/* Заголовки */
.content-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  color: #ff6600;
}

/* Обычный текст */
.content-section p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
}

/* Сетка плиток преимуществ */
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

/* Общие стили плиток */
.tile-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

/* Анимация при наведении */
.tile-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* Иконки */
.tile-card .tile-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

/* Заголовки плиток */
.tile-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ff6600;
}

/* Текст плиток */
.tile-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

/* Выделенный блок */
.highlight {
  background: #fff3e6;
  padding: 20px 25px;
  border-radius: 12px;
  margin-bottom: 40px;
  text-align: center;
  font-weight: bold;
  color: #ff6600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Блок специалистов */
.specialists-block {
  background: #fdf6f0;
  padding: 35px 25px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  margin: 40px 0;
  text-align: center;
}

.specialists-block .spec-icon {
  font-size: 45px;
  margin-bottom: 15px;
}

.specialists-block h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #ff6600;
}

.specialists-block p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.specialists-block ul {
  text-align: left;
  display: inline-block;
  margin: 15px 0;
}

.specialists-block ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Цитата */
.specialists-block blockquote {
  font-style: italic;
  background: #fff3e6;
  padding: 15px 20px;
  border-left: 5px solid #ff6600;
  border-radius: 10px;
  margin-top: 20px;
  color: #222;
}

/* Адаптивность */
@media(max-width: 600px) {
  .tiles-grid {
    grid-template-columns: 1fr;
  }

  .specialists-block ul {
    text-align: left;
    padding-left: 20px;
  }
}
.smartGG-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
.smartGG-content-section h2.smartGG-section-title {
  text-align: center;
  font-size: 28px;
  color: #222;
  margin-bottom: 20px;
}
.smartGG-intro {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}
.smartGG-tile {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 25px;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.smartGG-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.smartGG-tile-icon {
  font-size: 40px;
  text-align: center;
  margin-bottom: 15px;
}
.smartGG-tile h3 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 10px;
  color: #111;
}
.smartGG-price-info {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  color: #e63946;
  margin-bottom: 15px;
}
.smartGG-pros-cons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.smartGG-pros, .smartGG-cons {
  width: 48%;
}
.smartGG-pros h4, .smartGG-cons h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #1d3557;
}
.smartGG-pros ul, .smartGG-cons ul {
  list-style-type: disc;
  padding-left: 20px;
}
@media(max-width: 768px) {
  .smartGG-pros, .smartGG-cons {
    width: 100%;
    margin-bottom: 15px;
  }
}
.smartGG-brands-section {
  background: #f9f9f9;
  padding: 50px 20px;
}
.smartGG-section-title {
  text-align: center;
  font-size: 28px;
  color: #222;
  margin-bottom: 15px;
}
.smartGG-intro {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}
.smartGG-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.smartGG-brand-tile {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.smartGG-brand-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.smartGG-brand-icon {
  font-size: 36px;
  margin-bottom: 10px;
}
.smartGG-brand-tile h3 {
  font-size: 18px;
  color: #111;
  margin-bottom: 8px;
}
.smartGG-brand-tile p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}
.smartGG-guarantee {
  font-size: 16px;
  font-weight: 500;
  color: #e63946;
}
@media(max-width: 768px) {
  .smartGG-brands-grid {
    grid-template-columns: 1fr;
  }
}
smartGG-prices-section {
  background: #fdfdfd;
  padding: 50px 20px;
}
.smartGG-prices-table-wrapper {
  overflow-x: auto;
  margin-top: 30px;
}
.smartGG-prices-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.smartGG-prices-table th,
.smartGG-prices-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 14px;
}
.smartGG-prices-table th {
  background: #e63946;
  color: #fff;
  font-weight: 600;
}
.smartGG-prices-table tr:nth-child(even) {
  background: #f7f7f7;
}
.smartGG-prices-table tr:hover {
  background: #ffe6e6;
  transform: scale(1.01);
  transition: all 0.2s ease-in-out;
}
.smartGG-note {
  font-size: 15px;
  color: #555;
}
@media(max-width: 768px) {
  .smartGG-prices-table th,
  .smartGG-prices-table td {
    font-size: 12px;
    padding: 8px 10px;
  }
}
.smartGG-contact-promo { padding: 50px 0; }
.smartGG-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.smartGG-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.smartGG-col { flex: 1 1 300px; text-align: center; }

.smartGG-img-center { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.smartGG-mechanic-img-wrapper { width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; overflow: hidden; }
.smartGG-mechanic-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.smartGG-mechanic-img:hover { transform: scale(1.1); }

.smartGG-yandex-badge { display: flex; justify-content: center; align-items: center; margin-top: 10px; }

.smartGG-title { font-size: 26pt; margin: 20px 0 10px; color: #1a1a1a; }
.smartGG-subtitle { font-size: 20pt; color: #265179; margin-top: 15px; }

.smartGG-phone a {
  font-family: 'Arial Black', Gadget, sans-serif;
  font-size: 26pt;
  display: inline-block;
  background: linear-gradient(to right, #265179, #7a2828);
  padding: 8px 18px;
  border-radius: 15px;
  color: #ffff00;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  text-shadow: 2px 2px 4px #2b2b2b;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: smartGG-swing 1.5s ease-in-out infinite alternate;
}
.smartGG-phone a:hover { transform: scale(1.05) rotateY(3deg) rotateX(3deg); box-shadow: 0 8px 20px rgba(0,0,0,0.4); }

@keyframes smartGG-swing {
  0% { transform: rotateY(-5deg) rotateX(5deg); }
  50% { transform: rotateY(5deg) rotateX(-5deg); }
  100% { transform: rotateY(-5deg) rotateX(5deg); }
}

@media (max-width: 768px) {
  .smartGG-row { flex-direction: column; gap: 20px; }
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.btn open-modal {
  /* Базовые стили */
  padding: 12px 24px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  /* Эффекты при наведении */
  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
  }

  /* Активное состояние */
  &:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  /* Отключение outline по умолчанию и кастомный фокус */
  &:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.3);
  }

  /* Для иконки (если нужно добавить) */
  &.with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
  }
}