/* =================================================================
   DOMAIN - CSS СТИЛИ
   Цветовая палитра:
   - Основной фон: #f7f5f0 (теплый светлый беж)
   - Акцентный: #ff6b6b (коралловый)  
   - Дополнительный: #004d4d (глубокий морской)
   - Тексты: #2c2c2c
   ================================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #f7f5f0;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

/* =================================================================
   ОСНОВНЫЕ ЭЛЕМЕНТЫ
   ================================================================= */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    font-weight: bold;
}

h1 {
    font-size: 3rem;
    color: #004d4d;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

h2 {
    font-size: 2.5rem;
    color: #004d4d;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.8rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* =================================================================
   КНОПКИ
   ================================================================= */

.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff9a76 100%);
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #ff5252 0%, #ff8a65 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #004d4d 0%, #006666 100%);
    box-shadow: 0 8px 25px rgba(0, 77, 77, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #003d3d 0%, #005555 100%);
    box-shadow: 0 12px 35px rgba(0, 77, 77, 0.4);
}

/* =================================================================
   ХЕДЕР
   ================================================================= */

.header {
    background: linear-gradient(135deg, #004d4d 0%, #006666 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 60px;
    height: 60px;
    fill: #ff6b6b;
}

.company-name {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.header-nav {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    padding: 10px 20px;
    background: rgba(255, 107, 107, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    border: 2px solid #ff6b6b;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.contact-info {
    color: white;
    text-align: right;
}

.contact-info a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: bold;
}

/* =================================================================
   ГЛАВНАЯ СЕКЦИЯ (ГЕРОЙ)
   ================================================================= */

.hero {
    background: linear-gradient(135deg, #f7f5f0 0%, #fff 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./img/1QmoUK.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #004d4d;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #2c2c2c;
}

/* =================================================================
   СЕКЦИИ
   ================================================================= */

section {
    padding: 4rem 0;
    scroll-margin-top: 120px;
}

.section-bg {
    background: white;
    border-radius: 30px;
    margin: 2rem 0;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* =================================================================
   УСЛУГИ
   ================================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
    background-clip: padding-box;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff9a76 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    position: relative;
    top: -20px;
}

/* =================================================================
   ПРЕИМУЩЕСТВА
   ================================================================= */

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7f5f0 0%, #fff 100%);
    border: 2px solid #ff6b6b;
}

.advantage-item h3 {
    color: #004d4d;
    margin-bottom: 1rem;
}

/* =================================================================
   ОТЗЫВЫ
   ================================================================= */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid #ff6b6b;
}

.testimonial-author {
    font-weight: bold;
    color: #004d4d;
    margin-top: 1rem;
    font-style: italic;
}

/* =================================================================
   ФОРМА
   ================================================================= */

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #004d4d;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

/* =================================================================
   FAQ
   ================================================================= */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    background: #004d4d;
    color: white;
    padding: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #006666;
}

.faq-answer {
    padding: 1.5rem;
    background: white;
}

/* =================================================================
   ФУТЕР
   ================================================================= */

.footer {
    background: #004d4d;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff6b6b;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #006666;
    color: #cccccc;
}

/* =================================================================
   COOKIE POPUP
   ================================================================= */

.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #004d4d;
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 10000;
    display: none;
    max-width: 500px;
    margin: 0 auto;
}

.cookie-popup.show {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-popup .btn {
    margin-right: 10px;
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* =================================================================
   АДАПТИВНОСТЬ
   ================================================================= */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .logo-section {
        justify-content: center;
    }
    
    .company-name {
        font-size: 1.8rem;
    }
    
    .header-nav {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-bg {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
    
    .contact-form {
        padding: 2rem 1rem;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    /* Адаптивность для секции "О нас" */
    #sobre-nosotros .section-bg > div[style*="grid-template-columns"] {
        display: block !important;
    }
    
    #sobre-nosotros .section-bg > div[style*="grid-template-columns"] > div:last-child {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .checkbox-group input[type="checkbox"] {
        margin-bottom: 5px;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
    
    .header-nav {
        width: 100%;
    }
    
    .nav-btn {
        flex: 1;
        text-align: center;
        padding: 8px 12px;
        font-size: 0.85rem;
    }
} 