/* Variables de colores */
:root {
    --color-primary: #6F2DBD;     /* Electric Indigo */
    --color-accent: #FF6B6B;      /* Flamingo Pink */
    --color-contrast: #6FFFE9;    /* Aquamarine */
    --color-background: #FAF3E0;  /* Linen */
    --color-text: #2E2E2E;        /* Dark Slate Gray */
    --border-radius: 20px;        /* Bordes redondeados */
    --transition-speed: 0.3s;     /* Velocidad de transición para animaciones */
}

/* Reseteo y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--color-accent);
}

/* Contenedor principal */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color: var(--color-primary);
}

h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--color-accent);
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 6px rgba(111, 45, 189, 0.2);
}

.btn-primary:hover {
    background-color: #5a25a0;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(111, 45, 189, 0.3);
    color: white;
}

.btn-secondary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 6px rgba(255, 107, 107, 0.2);
}

.btn-secondary:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(255, 107, 107, 0.3);
    color: white;
}

/* Header y navegación */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.logo svg {
    height: 40px;
    margin-right: 10px;
}

.nav-desktop {
    display: flex;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
}

.nav-desktop ul li {
    margin-left: 30px;
}

.nav-desktop ul li a {
    position: relative;
    font-weight: 600;
    padding-bottom: 5px;
}

.nav-desktop ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    left: 0;
    bottom: -3px;
    transition: width var(--transition-speed);
}

.nav-desktop ul li a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--color-primary);
}

.mobile-menu {
    display: none;
}

/* Sección Hero */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, rgba(111, 45, 189, 0.05) 0%, rgba(111, 255, 233, 0.1) 100%);
}

.hero h1 {
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--color-primary);
    animation: fadeInUp 1s ease-out;
}

.hero-text {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

/* Sección Sobre Nosotros */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    animation: fadeInLeft 1s ease-out;
}

.about-image {
    text-align: center;
    animation: fadeInRight 1s ease-out;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-speed);
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Sección Servicios */
.services {
    padding: 80px 0;
    background-color: rgba(111, 45, 189, 0.03);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3,
.service-card p {
    padding: 0 20px;
}

.service-card h3 {
    margin-top: 20px;
    color: var(--color-primary);
}

.service-card p {
    padding-bottom: 25px;
}

/* Sección Beneficios */
.benefits {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-speed);
    border-top: 3px solid var(--color-accent);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

/* Sección Testimonios */
.testimonials {
    padding: 80px 0;
    background-color: rgba(111, 255, 233, 0.1);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    padding: 20px;
}

.testimonial-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-content:before {
    content: '"';
    font-size: 5rem;
    color: rgba(111, 45, 189, 0.1);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-author {
    margin-top: 20px;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-top: 5px;
}

/* CSS para el slider de testimonios */
.testimonial-slider {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

/* Sección FAQ */
.faq {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 20px;
    background-color: white;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.faq-question:hover {
    background-color: rgba(111, 45, 189, 0.05);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-speed);
    background-color: white;
}

.faq-answer-content {
    padding: 0 20px 20px;
}

.faq-item.active .faq-question {
    background-color: rgba(111, 45, 189, 0.05);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0;
}

/* Sección Contacto */
.contact {
    padding: 80px 0;
    background-color: rgba(111, 45, 189, 0.03);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(111, 45, 189, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--color-accent);
    left: 0;
    bottom: 0;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    transition: color var(--transition-speed);
}

.footer-column ul li a:hover {
    color: var(--color-accent);
}

.contact-info {
    margin-top: 15px;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info svg {
    margin-right: 10px;
    min-width: 20px;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #999;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 30px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0 20px 0 0;
    font-size: 0.9rem;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .mobile-menu ul {
        list-style: none;
    }

    .mobile-menu ul li {
        margin-bottom: 15px;
    }

    .mobile-menu ul li a {
        display: block;
        padding: 10px 0;
        font-weight: 600;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content p {
        margin: 0 0 15px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-text {
        font-size: 1rem;
    }

    .contact-form {
        padding: 20px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 60px 0;
    }
} 