/* Цветовая палитра */
:root {
    --primary-color: #00c7b7; /* насыщенный бирюзовый */
    --secondary-color: #192b3f; /* глубокий синий */
    --accent-color: #fef445; /* яркий лимонно-жёлтый */
    --text-dark: #2d2d2d; /* антрацит */
    --text-light: #a1a1a1; /* светлый графит */
    --hover-color: #f95f62; /* коралловый */
    --white: #ffffff;
    --light-bg: #f8f9fa;
}

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Основные стили */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Адаптивные контейнеры */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    color: var(--secondary-color);
}

h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

h3 {
    font-size: 2rem;
    color: var(--secondary-color);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
}

/* Хедер */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Логотип */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-icon {
    height: 45px;
    width: 45px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hero секция */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    margin-top: 80px;
    position: relative;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Секции контента */
.content-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 40px;
}

/* Сетка услуг */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 20px 0;
}

/* Преимущества */
.advantages-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(0,199,183,0.05) 100%);
    position: relative;
}

.advantages-header {
    text-align: center;
    margin-bottom: 60px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    background: var(--white);
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,199,183,0.1);
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.advantage-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.advantage-icon-svg {
    width: 35px;
    height: 35px;
    color: var(--white);
}

/* Отзывы с анимацией */
.testimonials {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    overflow: hidden;
    color: var(--white);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-header .section-title {
    color: var(--white);
}

.testimonials-header .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.testimonials-container {
    position: relative;
}

.testimonials-slider {
    display: flex;
    animation: slide 25s infinite linear;
}

.testimonial-item {
    min-width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    text-align: center;
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-icon {
    width: 16px;
    height: 16px;
    color: var(--text-dark);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin: 30px 0 25px 0;
    color: var(--white);
    line-height: 1.6;
}

.testimonial-author {
    color: var(--accent-color);
}

.testimonial-author strong {
    color: var(--white);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

@keyframes slide {
    0% { transform: translateX(0); }
    25% { transform: translateX(-100%); }
    50% { transform: translateX(-200%); }
    75% { transform: translateX(-300%); }
    100% { transform: translateX(0); }
}

/* Контакты */
.contact-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Карта */
.map-container {
    width: 100%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    max-width: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-info h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.map-info p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

/* Форма */
.form-section {
    background-color: var(--light-bg);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Футер */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 10000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s ease;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text {
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Компактная шапка для мобильных */
    header {
        padding: 10px 0;
    }
    
    .navbar {
        padding: 10px 0;
        min-height: 60px;
    }
    
    .logo-icon {
        height: 35px;
        width: 35px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
        padding: 5px 10px;
    }
    
    /* Hero раздел */
    .hero {
        margin-top: 70px;
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.4rem;
        line-height: 1.2;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .section {
        min-height: auto;
        padding: 40px 0;
    }
    
    /* Мобильная карта */
    .map-overlay {
        position: static;
        margin-top: 15px;
        max-width: 100%;
    }
    
    /* Мобильные преимущества */
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-item {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}

/* Утилитарные классы */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

/* Анимации загрузки */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 1s ease forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* SVG анимации */
.success-icon svg {
    animation: successBounce 0.8s ease-out;
}

.success-icon svg circle {
    animation: circleScale 0.6s ease-out 0.2s both;
}

.success-icon svg path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: checkDraw 0.6s ease-out 0.4s both;
}

@keyframes successBounce {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes circleScale {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes checkDraw {
    to {
        stroke-dashoffset: 0;
    }
} 