/* Variables globales */
:root {
    --color-primary: #9370DB; /* Lila similar al del logo */
    --color-secondary: #D4AF37; /* Dorado similar al del logo */
    --color-dark: #1A1A1A; /* Negro similar al del logo */
    --color-light: #F8F8F8;
    --color-gray: #666666;
    --color-light-gray: #E0E0E0;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    line-height: 1.6;
    background-color: var(--color-light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h2 span {
    color: var(--color-primary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Botones */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: white;
}

.btn-contacto {
    background-color: var(--color-secondary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
}

.btn-contacto:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--color-dark);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--color-primary);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-image .profile-info {
    margin-top: 15px;
    text-align: center;
}

.hero-image .profile-info h3 {
    color: var(--color-primary);
    margin-bottom: 5px;
}

.hero-image .profile-info p {
    color: var(--color-dark);
    font-style: italic;
}

/* Sección de Servicios */
.servicios {
    background-color: white;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.servicio-card {
    background-color: var(--color-light);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.servicio-card .icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.servicio-card h3 {
    margin-bottom: 15px;
}

/* Sección Por Qué Elegirme */
.por-que-elegirme {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(26, 26, 26, 0.85) 100%), url('images/bg-pattern.jpg');
    background-size: cover;
    color: white;
}

.por-que-elegirme .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.elegirme-content {
    flex: 1;
    padding-right: 30px;
}

.elegirme-content h2 {
    text-align: left;
    color: white;
}

.elegirme-content h2 span {
    color: var(--color-secondary);
}

.elegirme-list {
    margin-bottom: 30px;
}

.elegirme-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.elegirme-list li i {
    color: var(--color-secondary);
    margin-right: 10px;
    font-size: 1.2rem;
}

.elegirme-image {
    flex: 1;
    text-align: center;
}

.elegirme-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Sección de Experiencia */
.experiencia {
    background-color: var(--color-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--color-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-date {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
}

/* Sección de Ejemplos de Cursos */
.ejemplos {
    background-color: white;
    padding: 100px 0;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track-container {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 100%;
}

.ejemplo-curso {
    display: flex;
    flex-direction: column;
    background-color: white;
}

.ejemplo-header {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.ejemplo-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ejemplo-content {
    padding: 30px;
}

.ejemplo-content h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.ejemplo-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--color-light-gray);
}

.info-item {
    flex: 1;
    min-width: 200px;
}

.info-label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    color: var(--color-dark);
}

.info-value {
    color: var(--color-primary);
    font-weight: 500;
}

.ejemplo-estructura, .ejemplo-caracteristicas {
    margin-bottom: 25px;
}

.ejemplo-estructura h4, .ejemplo-caracteristicas h4 {
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.ejemplo-estructura ul, .ejemplo-caracteristicas ul {
    padding-left: 20px;
}

.ejemplo-estructura ul li, .ejemplo-caracteristicas ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.ejemplo-estructura ul li:before, .ejemplo-caracteristicas ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-primary);
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: var(--transition);
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: var(--color-primary);
    color: white;
}

.carousel-prev {
    left: -25px;
}

.carousel-next {
    right: -25px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-light-gray);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--color-primary);
    transform: scale(1.2);
}

/* Sección de Metodología */
.metodologia {
    background-color: white;
}

.modelos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.modelo-btn {
    background-color: var(--color-light);
    border: none;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modelo-btn:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.modelo-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.modelo-btn h3 {
    color: var(--color-dark);
    margin-bottom: 0;
}

/* Modal para modelos y plataformas */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalFadeIn 0.4s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--color-gray);
    cursor: pointer;
}

.close-modal:hover {
    color: var(--color-primary);
}

/* Sección de Plataformas */
.plataformas {
    background-color: var(--color-light);
}

.plataformas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.plataforma-btn {
    background-color: white;
    border: none;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.plataforma-btn:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.plataforma-icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.plataforma-btn h3 {
    color: var(--color-dark);
    margin-bottom: 0;
}

/* Sección de Inversión */
.inversion {
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    padding: 80px 0;
}

.inversion h2 {
    margin-bottom: 50px;
}

.inversion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.inversion-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.inversion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.inversion-header {
    background-color: var(--color-primary);
    color: white;
    padding: 20px;
    text-align: center;
}

.inversion-header h3 {
    margin: 0;
    font-size: 1.8rem;
}

.inversion-content {
    padding: 30px;
}

.inversion-list {
    margin-bottom: 0;
}

.inversion-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.inversion-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.inversion-footer {
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid var(--color-light-gray);
}

/* Sección de Proceso */
.proceso {
    background-color: white;
}

.proceso-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.proceso-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.proceso-numero {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.proceso-content {
    background-color: var(--color-light);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
}

.proceso-content h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

/* Sección de Lo Que Incluye */
.incluye {
    background-color: var(--color-light);
}

.incluye-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.incluye-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.incluye-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.incluye-item .icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.incluye-item h3 {
    margin-bottom: 15px;
}

/* Sección de Testimonios */
.testimonios {
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.testimonios-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonios-slider::-webkit-scrollbar {
    display: none;
}

.testimonio {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.testimonio-content {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonio-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50px;
    width: 30px;
    height: 30px;
    background-color: white;
    transform: rotate(45deg);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);
}

.testimonio-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonio-autor {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    margin-left: 20px;
}

.testimonio-autor h4 {
    margin-bottom: 5px;
    color: var(--color-primary);
}

.testimonio-autor p {
    margin: 0;
    font-size: 0.9rem;
}

/* Sección de Contacto */
.contacto {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(26, 26, 26, 0.85) 100%), url('images/bg-pattern.jpg');
    background-size: cover;
    color: white;
}

.contacto h2 {
    color: white;
}

.contacto-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contacto-form {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.1);
}

.form-group select option {
    background-color: var(--color-dark);
    color: white;
}

.form-submit {
    margin-top: 30px;
}

.contacto-info {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.contacto-info h3 {
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.contacto-metodo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contacto-metodo i {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-right: 15px;
}

.contacto-metodo p {
    margin: 0;
}

.contacto-metodo a {
    color: white;
    text-decoration: underline;
}

.contacto-metodo a:hover {
    color: var(--color-secondary);
}

.contacto-logo {
    margin-top: 40px;
    text-align: center;
}

.contacto-logo img {
    max-width: 150px;
}

/* Footer */
footer {
    background-color: var(--color-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-links h3, .footer-social h3 {
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: white;
}

.footer-links ul li a:hover {
    color: var(--color-secondary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--color-secondary);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container, .por-que-elegirme .container {
        flex-direction: column;
    }
    
    .hero-content, .elegirme-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .elegirme-content h2 {
        text-align: center;
    }
    
    .timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 30px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 30px;
    }
    
    .contacto-container {
        grid-template-columns: 1fr;
    }
    
    .inversion-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    
    .logo {
        height: 50px;
    }
    
    nav ul {
        display: none;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .testimonios-slider {
        flex-direction: column;
        gap: 20px;
    }
    
    .testimonio {
        flex: 0 0 auto;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 20% auto;
    }
    
    .ejemplo-info {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-intro {
        font-size: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .proceso-item {
        flex-direction: column;
    }
    
    .proceso-numero {
        margin-bottom: 15px;
    }
    
    .btn-whatsapp {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}
