/* ===== RESET Y CONFIGURACIONES GENERALES ===== */
:root {
    /* Nueva paleta basada en tu imagen (marrón/beige/naranja) */
    --color-primario: #000000;
    /* Rojo vino oscuro de tu fondo */
    --color-primario-claro: #b02a50;
    /* Rojo vino más claro */
    --color-secundario: #f5a623;
    /* Naranja/dorado */
    --color-acento: #d4a76a;
    /* Beige/dorado claro */
    --color-oscuro: #3a2c2c;
    /* Marrón oscuro */
    --color-oscuro-claro: #5d4c4c;
    /* Marrón medio */
    --color-claro: #f8f5f0;
    /* Beige muy claro */
    --color-claro-medio: #e8e0d5;
    /* Beige medio */
    --color-texto: #4a3c3c;
    /* Marrón para texto */
    --color-texto-claro: #7a6c6c;
    /* Marrón claro para texto secundario */
    --color-exito: #28a745;
    /* Verde */
    --color-advertencia: #ffc107;
    /* Amarillo */
    --color-peligro: #dc3545;
    /* Rojo */

    /* Gradientes actualizados */
    --degradado-primario: linear-gradient(135deg, var(--color-primario), var(--color-primario-claro));
    --degradado-secundario: linear-gradient(135deg, var(--color-secundario), #ffc14d);
    --degradado-acento: linear-gradient(135deg, var(--color-acento), #e6c28c);
    --degradado-oscuro: linear-gradient(135deg, var(--color-oscuro), #4d3a3a);

    /* Sombras */
    --sombra: 0 10px 30px rgba(0, 0, 0, 0.1);
    --sombra-fuerte: 0 20px 60px rgba(0, 0, 0, 0.15);
    --sombra-suave: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transicion: all 0.3s ease;
    --borde-radius: 12px;
    --borde-radius-pequeño: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-texto);
    background-image: url(../img/fondoO.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transicion);
}

ul {
    list-style: none;
}

.logo-icon img {
    height: 80px;
    width: auto;
}

.contenedor {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

}



.seccion {
    padding: 80px 0;
}

.seccion-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.seccion-subtitulo {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding: 5px 15px;
    background-color: rgba(142, 28, 58, 0.1);
    border-radius: 30px;
}

.seccion-titulo {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.seccion-descripcion {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.texto-destacado {
    color: rgb(254, 191, 0);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--borde-radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transicion);
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primario {
    background: rgb(254, 191, 0);
    color: rgb(0, 0, 0);
    box-shadow: 0 5px 20px rgba(142, 28, 58, 0.3);
}

.btn-primario:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(142, 28, 58, 0.4);
}

.btn-secundario {
    background: transparent;
    color: var(--color-secundario);
    border: 2px solid var(--color-secundario);
}

.btn-secundario:hover {
    background: rgba(245, 166, 35, 0.05);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

.btn-nav {
    background: var(--degradado-primario);
    color: white;
    padding: 10px 24px;
    border-radius: var(--borde-radius-pequeño);
    font-weight: 600;
    white-space: nowrap;
    margin-left: 10px;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(142, 28, 58, 0.3);
}

.btn-curso {
    background: var(--degradado-primario);
    color: white;
    padding: 12px 28px;
    border-radius: var(--borde-radius-pequeño);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-curso:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(142, 28, 58, 0.3);
}

/* ===== NAVEGACIÓN ===== */
.navegacion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgb(255, 217, 0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transicion);
    padding: 20px;
}

.navegacion.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    transition: var(--transicion);
}

/*IMPORTANTE SCROLL*/
.navegacion.scrolled .nav-contenedor {
    padding: 20px 0;

}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.8rem;
    margin-left: 20px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 10px;
    border-radius: 12px;
    margin-right: 12px;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-texto {
    color: var(--color-oscuro);
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
    position: relative;
    margin-top: 10px;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-oscuro);
    font-size: 1rem;
    position: relative;
    margin-right: 10px;
}

.nav-links a:not(.btn-nav):after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--degradado-primario);
    transition: var(--transicion);
}

.nav-links a:not(.btn-nav):hover:after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--color-primario);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown>a .fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: var(--borde-radius);
    box-shadow: var(--sombra-fuerte);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transicion);
    z-index: 100;
    padding: 15px 0;
    margin-top: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover>a .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu li {
    margin: 0;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: var(--color-oscuro);
    font-weight: 500;
    transition: var(--transicion);
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background-color: rgba(142, 28, 58, 0.05);
    color: var(--color-primario);
    border-left-color: var(--color-primario);
}

.menu-hamburguesa {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-oscuro);
    margin-right: 20px;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 150px 0 100px;
    background: var(--degradado-primario);
    color: white;
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    display: flex;
}

.hero-contenido {
    display: flex;
    align-items: center;
    /* Alinea verticalmente */
    gap: 60px;
    /* Espacio entre texto e imagen */
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.texto-hero {
    flex: 1;
    /* Toma el espacio disponible */
    max-width: 600px;
    /* Ancho máximo para el texto */
}

.imagen {
    flex: 1;
    /* Toma el mismo espacio que el texto */
    display: flex;
    justify-content: flex-end;
    /* Alinea la imagen a la derecha */
}

.imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.hero-titulo {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: white;
}

.hero-descripcion {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
}

.hero-botones {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero .btn-secundario {
    color: white;
    border-color: white;
}

.hero .btn-secundario:hover {
    background: rgba(255, 255, 255, 0.1);
}

.frase-motivadora {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.frase-motivadora img {
    width: 100%;
    height: auto;
    display: block;
}

/* Animación de entrada */
.frase-motivadora {
    animation: scaleIn 1.2s ease-out;
}

/* efecto brillo */
.frase-motivadora::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    z-index: 2;

    animation: shine 3s infinite;
}


/* ===== SECCIÓN CAMINOS FLIP ===== */
.contenedor-camino {
    padding: 100px 20px;
    min-height: 100vh;
    background: url(../img/blanco.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.contenedor-camino h1 {
    text-align: center;
    margin-bottom: 80px;
    font-size: 3rem;
    color: #000000;
    position: relative;
    padding-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.contenedor-camino h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 5px;
}

/* Grid de cards flip */
.camino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 1500px;
}

/* Contenedor de la card flip */
.flip-card {
    background: transparent;
    width: 100%;
    height: 380px;
    perspective: 1000px;
    border-radius: 20px;
    cursor: pointer;
}

/* Contenedor interior para el efecto 3D */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Lados de la card */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
}

/* FRONT - Lado frontal */
.flip-card-front {
    color: white;
    overflow: hidden;
    position: relative;
}

/* Gradientes de fondo para cada card */
.flip-card:nth-child(1) .flip-card-front {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.flip-card:nth-child(2) .flip-card-front {
    background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
}

.flip-card:nth-child(3) .flip-card-front {
    background: linear-gradient(135deg, #FF9800 0%, #EF6C00 100%);
}

.flip-card:nth-child(4) .flip-card-front {
    background: linear-gradient(135deg, #9C27B0 0%, #6A1B9A 100%);
}

.flip-card:nth-child(5) .flip-card-front {
    background: linear-gradient(135deg, #F44336 0%, #C62828 100%);
}

.flip-card:nth-child(6) .flip-card-front {
    background: linear-gradient(135deg, #00BCD4 0%, #00838F 100%);
}

/* Ícono frontal */
.front-icono {
    font-size: 4.5rem;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
    transition: transform 0.5s ease;
}

.flip-card:hover .front-icono {
    transform: scale(1.1);
}

/* Título frontal */
.front-titulo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

/* Subtítulo frontal */
.front-subtitulo {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Badge frontal */
.front-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 20px;
}

/* Instrucción hover */
.hover-instruction {
    position: absolute;
    bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/* BACK - Lado trasero */
.flip-card-back {
    background: white;
    color: #333;
    transform: rotateY(180deg);
    box-shadow: var(--sombra-fuerte);
    text-align: left;
    overflow: hidden;
    justify-content: center;
    align-items: flex-start;
    bottom: 0px;
}

/* Decoración del lado trasero */
.back-decoracion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
}

.flip-card:nth-child(1) .back-decoracion {
    background: linear-gradient(90deg, #4CAF50, #2E7D32);
}

.flip-card:nth-child(2) .back-decoracion {
    background: linear-gradient(90deg, #2196F3, #1565C0);
}

.flip-card:nth-child(3) .back-decoracion {
    background: linear-gradient(90deg, #FF9800, #EF6C00);
}

.flip-card:nth-child(4) .back-decoracion {
    background: linear-gradient(90deg, #9C27B0, #6A1B9A);
}

.flip-card:nth-child(5) .back-decoracion {
    background: linear-gradient(90deg, #F44336, #C62828);
}

.flip-card:nth-child(6) .back-decoracion {
    background: linear-gradient(90deg, #00BCD4, #00838F);
}

/* Título trasero */
.back-titulo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a237e;
    text-align: center;
    width: 100%;
}

/* Lista de características */
.back-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    width: 100%;
}

.back-lista li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #555;
}

.back-lista li:last-child {
    border-bottom: none;
}

.back-lista i {
    color: #667eea;
    font-size: 1.1rem;
    width: 24px;
}

/* Botón */
.back-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}



/* Efecto de brillo en hover */
.flip-card-front:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.flip-card:hover .flip-card-front:before {
    opacity: 1;
}











/* ===== CURSOS DESTACADOS - VERSIÓN ÉPICA ===== */
.cursos-destacados {
    padding: 100px 0;
    background: linear-gradient(135deg, #0B1026, #1A1F3A);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Efectos de fondo */
.cursos-destacados::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(176, 42, 80, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(245, 166, 35, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

/* Header mejorado */
.cursos-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.cursos-header-badge {
    display: inline-block;
    background: rgba(245, 166, 35, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f5a623;
    margin-bottom: 20px;
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.cursos-header h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 800;
}

.cursos-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
}

/* Slider container */
.cursos-slider-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    padding: 20px 0;
}

.cursos-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
    gap: 30px;
}

/* Cards */
.curso-card {
    min-width: calc(33.333% - 20px);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
}

.curso-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(245, 166, 35, 0.3);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

/* Encabezado de la card */
.curso-header {
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.curso-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 65%, rgba(255, 255, 255, 0.1) 100%);
}

.curso-categoria {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.curso-titulo {
    font-size: 1.6rem;
    margin: 0;
    color: white;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.curso-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #b02a50, #f5a623);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
}

.curso-badge.trending {
    background: linear-gradient(135deg, #f5a623, #b02a50);
}

/* Contenido */
.curso-contenido {
    padding: 25px;
}

.curso-descripcion {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.curso-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    gap: 10px;
}

.curso-info span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.curso-info span i {
    color: #f5a623;
    font-size: 1rem;
}

.curso-footer {
    text-align: center;
}

/* Botón ver curso */
.btn-ver-curso {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: 2px solid rgba(245, 166, 35, 0.3);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-ver-curso:hover {
    background: #f5a623;
    border-color: #f5a623;
    color: #0B1026;
    gap: 15px;
}

/* Navegación del slider */
.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: #f5a623;
    border-color: #f5a623;
    transform: scale(1.1);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Indicadores */
.slider-indicators {
    display: flex;
    gap: 12px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #f5a623;
    transform: scale(1.3);
    box-shadow: 0 0 15px #f5a623;
}

/* Footer de la sección */
.cursos-footer {
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cursos-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-numero {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #f5a623;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-texto {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.ver-todos a {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 35px;
    background: linear-gradient(135deg, #b02a50, #f5a623);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(176, 42, 80, 0.3);
}

.ver-todos a:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(245, 166, 35, 0.4);
    gap: 20px;
}




/* ===== SECCIÓN CONOCE NUESTRO ESPACIO ===== */
/* ===== CARRUSEL DE CONOCE NUESTRO ESPACIO ===== */
.carousel-container {
    position: relative;
    background: white;
    border-radius: var(--borde-radius);
    overflow: hidden;
    box-shadow: var(--sombra);
    height: 400px;
    grid-column: 2;
    grid-row: span 2;
}


.carousel {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transicion);
    z-index: 10;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transicion);
    padding: 0;
}

.carousel-indicators .indicator.active {
    background: white;
    transform: scale(1.2);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    /* background: var(--color-claro); */
}

.container header {
    text-align: center;
    margin-bottom: 60px;
}

.container header h1 {
    font-size: 2.8rem;
    color: var(--color-oscuro);
    margin-bottom: 15px;
}

.container header .tagline {
    font-size: 1.2rem;
    color: var(--color-texto-claro);
    max-width: 700px;
    margin: 0 auto;
}

/* Sección principal del espacio */
.space-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}



/* Información del espacio */
.space-info {
    background: white;
    border-radius: var(--borde-radius);
    padding: 40px;
    box-shadow: var(--sombra);
    transition: var(--transicion);
}

.space-info:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-fuerte);
}

.space-title {
    font-size: 2rem;
    color: var(--color-oscuro);
    margin-bottom: 10px;
}

.space-address {
    font-size: 1.1rem;
    color: var(--color-primario);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.space-address:before {
    content: "📍";
}

.space-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-texto);
}

/* Carrusel container - IMPORTANTE: Tu HTML usa esta clase */
.carousel-container {
    position: relative;
    background: white;
    border-radius: var(--borde-radius);
    overflow: hidden;
    box-shadow: var(--sombra);
    height: 400px;
}

/* Carrusel */
.carousel {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Botones del carrusel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transicion);
    z-index: 10;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Indicadores del carrusel */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transicion);
    padding: 0;
}

.carousel-indicators .indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Sección TikTok */
.tiktok-section {
    background: white;
    border-radius: var(--borde-radius);
    padding: 30px;
    box-shadow: var(--sombra);
    transition: var(--transicion);
    grid-column: span 2;
}

.tiktok-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-fuerte);
}

.tiktok-title {
    font-size: 1.5rem;
    color: var(--color-oscuro);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tiktok-icon {
    color: #000000;
    font-size: 1.8rem;
}

.tiktok-section p {
    color: var(--color-texto);
    line-height: 1.6;
    margin-bottom: 20px;
}

.tiktok-preview {
    background: #f9f9f9;
    border-radius: var(--borde-radius-pequeño);
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid #25F4EE;
}

.tiktok-cont {
    display: flex;
}


.tiktok-preview p {
    margin: 0;
    color: var(--color-texto);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tiktok-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000000;
    color: white;
    padding: 12px 25px;
    border-radius: var(--borde-radius-pequeño);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transicion);
    border: 2px solid #000000;
}

.tiktok-link:hover {
    background: white;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: var(--sombra);
}

.tiktok-link i {
    font-size: 1.3rem;
}

/* Sección de cita */
.quote-section {
    text-align: center;
    padding: 50px;
    background: var(--degradado-primario);
    border-radius: var(--borde-radius);
    color: white;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.quote-section:before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 30px;
    font-size: 12rem;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

.quote {
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    margin: 0;
}

/* Footer de la sección */
.container footer {
    text-align: center;
    padding: 30px 0;
    color: var(--color-texto-claro);
    font-size: 1.1rem;
    font-weight: 600;
    border-top: 2px solid var(--color-claro-medio);
}



/*WSP FLOTANTES*/
.wsp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.wsp-float img {
    width: 35px;
    height: 35px;
}

.wsp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}




/* ===== ANIMACIONES DE ENTRADA ===== */

/* Animación para el hero */
.hero {
    animation: fadeInUp 1s ease-out;
}

.texto-hero {
    animation: slideInLeft 1s ease-out 0.2s both;
}

.imagen {
    animation: slideInRight 1s ease-out 0.3s both;
}



/* Animación para las flip cards */
.camino-grid {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.flip-card {
    animation: cardPop 0.6s ease-out;
    animation-fill-mode: both;
}

.flip-card:nth-child(1) {
    animation-delay: 0.1s;
}

.flip-card:nth-child(2) {
    animation-delay: 0.2s;
}

.flip-card:nth-child(3) {
    animation-delay: 0.3s;
}

.flip-card:nth-child(4) {
    animation-delay: 0.4s;
}

.flip-card:nth-child(5) {
    animation-delay: 0.5s;
}

.flip-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Animación para la sección de cursos destacados */
.cursos-destacados {
    animation: fadeIn 1.2s ease-out 0.5s both;
}

.cursos-header {
    animation: slideInDown 0.8s ease-out;
}

.curso-card {
    animation: cardHoverIn 0.8s ease-out;
    animation-fill-mode: both;
}

.curso-card:nth-child(1) {
    animation-delay: 0.1s;
}

.curso-card:nth-child(2) {
    animation-delay: 0.2s;
}

.curso-card:nth-child(3) {
    animation-delay: 0.3s;
}

.curso-card:nth-child(4) {
    animation-delay: 0.4s;
}

.curso-card:nth-child(5) {
    animation-delay: 0.5s;
}

.curso-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Animación para la sección "Conocé nuestro espacio" */
.container header {
    animation: slideInDown 0.8s ease-out;
}

.space-info {
    animation: slideInLeft 1s ease-out 0.2s both;
}

.carousel-container {
    animation: slideInRight 1s ease-out 0.3s both;
}

.tiktok-section {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.quote-section {
    animation: scaleIn 1s ease-out 0.5s both;
}

/* Animación para el footer */
.footer {
    animation: fadeIn 1s ease-out 0.6s both;
}

.footer-col {
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.footer-col:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-col:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-col:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-col:nth-child(4) {
    animation-delay: 0.4s;
}

/* ===== KEYFRAMES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes cardPop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    80% {
        transform: scale(1.02);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes cardHoverIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* ===== ANIMACIONES DE SCROLL (opcional) ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* ===== EFECTOS HOVER SUAVES ===== */
.btn,
.btn-primario,
.btn-secundario,
.btn-ver-curso,
.back-btn {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:hover,
.btn-primario:hover,
.btn-secundario:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(176, 42, 80, 0.3);
}

/* Efecto de brillo suave en cards */
.curso-card,
.flip-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.curso-card::after,
.flip-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.curso-card:hover::after,
.flip-card:hover::after {
    opacity: 1;
}

/* Efecto de escala suave en imágenes */
.imagen img,
.curso-card img {
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.curso-card:hover img {
    transform: scale(1.05);
}

/* Efecto de rebote en iconos sociales */
.footer-social a {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-social a:hover {
    transform: translateY(-5px) rotate(360deg);
}

/* Efecto de pulso en el botón de WhatsApp */
.wsp-float {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1300px) {
    .hero-titulo {
        font-size: 3rem;
    }

    .hero-contenido {
        margin-left: 20px
    }

    .contenedor-camino h1 {
        font-size: 2.5rem;
    }

    .camino-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {

    /* Navegación */
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .menu-hamburguesa {
        display: block;
    }

    /* Hero */
    .hero {
        height: auto;
        padding: 120px 0 60px;
    }

    .hero-contenido {
        flex-direction: column;
        text-align: center;
    }

    .texto-hero {
        max-width: 90%;
    }

    .hero-titulo {
        font-size: 2.5rem;
    }

    .hero-botones {
        justify-content: center;
    }

    .imagen {
        justify-content: center;
        margin-top: 40px;
    }

    .imagen img {
        max-width: 80%;
    }

    /* Flip cards */
    .camino-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Cursos destacados */
    .cursos-slider .curso-card {
        min-width: calc(50% - 20px);
    }

    .cursos-footer {
        flex-direction: column;
        text-align: center;
    }

    /* Sección espacio */
    .space-section {
        grid-template-columns: 1fr;
    }

    .carousel-container {
        grid-column: 1;
    }

    .tiktok-section {
        grid-column: 1;
    }

}

@media (max-width: 768px) {
    .hero-titulo {
        font-size: 2rem;
    }

    .hero-descripcion {
        font-size: 1rem;
    }

    .hero-botones {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .contenedor-camino h1 {
        font-size: 2rem;
    }

    .camino-grid {
        grid-template-columns: 1fr;
    }

    .flip-card {
        height: 350px;
    }

    .front-titulo {
        font-size: 1.5rem;
    }

    .cursos-slider .curso-card {
        min-width: 100%;
    }

    .cursos-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-item {
        width: 100%;
    }

    .cursos-header h2 {
        font-size: 2.5rem;
    }

    .cursos-header p {
        font-size: 1rem;
    }

    .slider-nav {
        gap: 15px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    /* Sección espacio */
    .container header h1 {
        font-size: 2rem;
    }

    .space-info {
        padding: 25px;
    }

    .space-title {
        font-size: 1.5rem;
    }

    .carousel-container {
        height: 300px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .tiktok-section {
        padding: 20px;
    }

    .tiktok-title {
        font-size: 1.2rem;
    }

    .quote {
        font-size: 1.3rem;
    }

    .contenedor {
        padding: 15px;
    }


    .cursos-slider-container {
        position: relative;
        overflow: hidden;
        /* margin-left: 25px; */
        width: 80%;
        padding: 20px 0;
    }

    .cursos-slider {
        display: flex;
        transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
        gap: 35px;
    }

    .cursos-footer {
        width: 80%;
        margin-left: 50px;
    }


}

@media (max-width: 576px) {

    .contenedor {
        padding: 15px;
    }



    .cursos-slider-container {
        position: relative;
        overflow: hidden;
        /* margin-left: 25px; */
        width: 80%;
        padding: 20px 0;
    }

    .cursos-slider {
        display: flex;
        transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
        gap: 35px;
    }

    .cursos-footer {
        width: 80%;
        margin-left: 50px;
    }


    .hero-titulo {
        font-size: 1.8rem;
    }

    .logo-texto {
        display: none;
    }

    .logo-icon img {
        height: 60px;
    }

    .contenedor-camino {
        padding: 60px 15px;
    }

    .contenedor-camino h1 {
        font-size: 1.8rem;
    }

    .flip-card {
        height: 320px;
    }

    .front-icono {
        font-size: 3rem;
    }

    .front-titulo {
        font-size: 1.3rem;
    }

    .back-titulo {
        font-size: 1.3rem;
    }

    .back-lista li {
        font-size: 0.9rem;
    }

    .back-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .cursos-header h2 {
        font-size: 2rem;
    }

    .cursos-header-badge {
        font-size: 0.8rem;
        padding: 5px 15px;
    }

    .curso-card .curso-titulo {
        font-size: 1.3rem;
    }

    .curso-info {
        flex-wrap: wrap;
    }

    .curso-info span {
        width: 100%;
        justify-content: center;
    }

    .ver-todos a {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .container {
        padding: 40px 15px;
    }

    .container header h1 {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .space-info {
        padding: 20px;
    }

    .space-address {
        font-size: 1rem;
    }

    .space-description {
        font-size: 0.95rem;
    }

    .carousel-container {
        height: 250px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .tiktok-link {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .quote {
        font-size: 1.1rem;
    }

    .wsp-float {
        width: 50px;
        height: 50px;
    }

    .wsp-float img {
        width: 28px;
        height: 28px;
    }



}