/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores principales */
    --orange-warm: #FF8C42;
    --teal-rich: #20B2AA;
    --purple-accent: #8A2BE2;
    --yellow-light: #FFEB3B;
    
    /* Gradientes */
    --gradient-main: linear-gradient(135deg, #FF8C42 0%, #20B2AA 100%);
    --gradient-reverse: linear-gradient(135deg, #20B2AA 0%, #FF8C42 100%);
    --gradient-accent: linear-gradient(135deg, #8A2BE2 0%, #FFEB3B 100%);
    
    /* Fuentes */
    --font-primary: 'Quicksand', sans-serif;
    --font-secondary: 'Lora', serif;
    
    /* Espaciado */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --container-max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #333;
    background: var(--gradient-main);
    min-height: 100vh;
}

/* Contenedores */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: var(--gradient-main);
    color: white;
    transform: translateY(-2px);
}

.nav-contact {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-contact a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-contact a:hover {
    color: var(--orange-warm);
}

.phone {
    font-weight: 600;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: var(--gradient-main);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./img/JLMGCv.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s both;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-accent);
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* Secciones generales */
.section {
    padding: var(--section-padding);
    background: white;
    margin: 20px 0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.section:nth-child(even) {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.05) 0%, rgba(32, 178, 170, 0.05) 100%);
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Белые заголовки для конкретных секций */
.services .section-title,
.testimonials .section-title {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: white;
    background-clip: unset;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--orange-warm);
}

.service-card::before {
    content: '';
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--gradient-main);
}

.service-card:nth-child(1)::before {
    background: url('./img/jm3DWk.jpg') center/cover;
}

.service-card:nth-child(2)::before {
    background: url('./img/JmH8bm.jpg') center/cover;
}

.service-card:nth-child(3)::before {
    background: url('./img/JPSy8J.jpg') center/cover;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-accent);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.benefit-text h4 {
    margin-bottom: 5px;
    color: #333;
}

.benefit-text p {
    color: #666;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--orange-warm);
    opacity: 0.3;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    color: #666;
}

.testimonial-author {
    font-weight: 600;
    color: #333;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background: var(--gradient-main);
    color: white;
    padding: 20px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--gradient-reverse);
}

.faq-answer {
    padding: 20px 30px;
    color: #666;
    line-height: 1.6;
}

/* Form Section */
.form-section {
    background: var(--gradient-main);
    color: white;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.form-content {
    padding: 60px 40px;
}

.form-content h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.form-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-form {
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
    animation: slideInRight 0.8s ease forwards;
    opacity: 0;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: white;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: var(--yellow-light);
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.cookie-accept {
    background: var(--gradient-main);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cookie-policy {
    color: var(--yellow-light);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 60px 0 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--orange-warm);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--orange-warm);
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 40px 0;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    /* Hide navigation menu on mobile */
    .nav-menu {
        display: none;
    }
    
    .nav-contact {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-container {
        grid-template-columns: 1fr;
    }
    
    .form-content,
    .contact-form {
        padding: 40px 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        margin: 10px;
        border-radius: 15px;
    }
    
    .services-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .contact-form,
    .form-content {
        padding: 30px 20px;
    }
}

/* Páginas de políticas */
.policy-page {
    background: white;
    padding: 40px 0;
    min-height: calc(100vh - 160px);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-content h1 {
    color: #333;
    margin-bottom: 30px;
    font-family: var(--font-secondary);
}

.policy-content h2 {
    color: var(--orange-warm);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.policy-content p,
.policy-content li {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Página de gracias */
.thanks-page {
    background: var(--gradient-main);
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.thanks-content {
    max-width: 600px;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 20px;
}

.thanks-content h1 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.thanks-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s both;
}

.back-home {
    display: inline-block;
    background: var(--gradient-accent);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
}

.back-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}