/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-bg: #FAF3E0;
    --accent-purple: #8F3985;
    --accent-yellow: #FFC857;
    --text-color: #2E2E2E;
    --form-bg: rgba(253, 246, 227, 0.95);
    --gradient-start: #FF7A5A;
    --gradient-end: #FFB85F;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--accent-purple);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-yellow);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 4rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--accent-purple);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 122, 90, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 122, 90, 0.4);
    color: white;
}

/* Wave Shape Dividers */
.wave-top {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23FAF3E0'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
}

.wave-bottom {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V120H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23FAF3E0'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    transform: rotate(180deg);
}

/* Header */
header {
    background-color: rgba(250, 243, 224, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-purple);
}

/* Navigation - Desktop */
.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 2rem;
}

.main-nav a {
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-yellow);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-purple);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent-purple);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--primary-bg);
    position: relative;
    overflow: hidden;
    text-align: center; /* Centra el texto del primer bloque */
}

.hero-content {
    max-width: 800px; /* Aumentado para dar más espacio */
    margin: 0 auto; /* Centrar el contenido */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-purple);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    background-color: white;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.advantage-card {
    padding: 2rem;
    border-radius: 15px;
    background-color: var(--primary-bg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-card h3 {
    color: var(--accent-purple);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card img {
    max-width: 180px; /* Imágenes más grandes */
    height: 180px; /* Fija altura para mantener uniformidad */
    object-fit: cover; /* Mantener proporciones de la imagen */
    margin-bottom: 1.5rem;
    border-radius: 10px; /* Añadir bordes redondeados a las imágenes */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Sombra suave para efecto de carta */
}

/* Steps Section */
.steps {
    background-color: white;
}

.steps-container {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.step-number {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--accent-purple);
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    position: relative;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

/* FAQ Section - Estilo estándar revisado */
.faq {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #f8f8f8;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: background-color 0.3s ease;
    color: var(--accent-purple);
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active {
    background-color: #f0f0f0;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
}

.faq-answer.show {
    padding: 1.5rem;
    max-height: 500px;
}

/* Contact Form Section */
.contact {
    position: relative;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-details {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.contact-details h3 {
    color: var(--accent-purple);
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-info-item i {
    margin-right: 10px;
    color: var(--accent-purple);
    font-size: 1.2rem;
}

.form-content {
    background-color: var(--form-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-checkbox input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-image {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
    max-height: 250px;
}

.form-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Footer */
footer {
    background-color: var(--accent-purple);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-links h3 {
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-yellow);
}

.footer-contact h3 {
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.footer-contact a {
    color: white; /* Teléfono y email completamente blancos */
}

.contact-info {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: var(--accent-purple);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: bottom 0.5s ease;
    z-index: 1001;
    transform: translateY(0); /* Asegurar que no haya transformación previa */
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-popup.hide {
    bottom: -100%; /* Asegurar que se oculta completamente */
}

.cookie-popup p {
    margin-right: 2rem;
}

.cookie-btn {
    background-color: var(--accent-yellow);
    color: var(--text-color);
    border: none;
    padding: 8px 15px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cookie-btn:hover {
    background-color: white;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem;
    border: 2px solid var(--accent-purple);
    border-radius: 15px;
    background-color: var(--primary-bg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.thank-you h1 {
    color: var(--accent-purple);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.thank-you p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Legal Pages */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 50px;
}

.legal-content h1 {
    color: var(--accent-purple);
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: var(--accent-purple);
    margin: 2rem 0 1rem;
}

.legal-content p {
    margin-bottom: 1.5rem;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Navigation */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-bg);
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .main-nav.show {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        margin: 0;
    }

    .main-nav a {
        display: block;
        padding: 1rem 2rem;
    }

    .mobile-nav-toggle {
        display: block;
    }
} 