body,
html {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    /* Quita subrayado */
    color: inherit;
    /* Mantiene el color del texto normal */
}

.mecanica1-container {
    width: 100%;
    height: auto;
    min-height: 80vh;
    padding: 20px;
    box-sizing: border-box;
    background-color: #ffffff;
    margin-top: 40px;
    display: flex;
    /* 👈 clave */
    padding-inline: 3%;


}

.mecanica1-container_left {
    flex: 1 1 66.66%;
    max-width: 100%;
    min-width: 0;
}

.left_titles {
    display: block;
    flex-direction: column;
}

.container_left_title {
    font-family: "Conthrax", Sans-serif;
    color: #989898;
    font-size: 45px;
    display: block;

}

.container_left_subtitle {
    font-family: "Raleway", Sans-serif;
    color: #989898;
    font-size: 15px;
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

.container_left_subsubtitle {
    font-family: "Raleway", Sans-serif;
    color: #989898;
    font-size: 15px;
    display: block;
}

/* Carrusel Cursos------------------------------------------------------------------------------------------------- */
.cursos-carousel {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    /* mantiene proporción */
    overflow: hidden;
    border-radius: 35px;
    margin-top: 50px;

}

.cursos-carousel-track {
    display: flex;
    transition: transform 0.6s ease;
    width: 100%;
    /* asegura que ocupe todo el ancho */
}

.cursos-slide {
    flex: 0 0 100%;
    /* cada slide ocupa 100% del contenedor */
}

.cursos-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Flechas Cursos */
.cursos-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    /* Fondo azul translúcido con degradado */
    background: rgba(30, 144, 255, 0.6);
    /* azul semi-transparente */
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.6), rgba(0, 242, 254, 0.6));
    color: white;

    font-size: 28px;
    width: 20px;
    height: 30px;
    border: none;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    /* Sombra suave y transición */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover: glow sutil y ligera ampliación */
.cursos-arrow:hover {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 20px rgba(0, 240, 254, 0.5);
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.7), rgba(79, 172, 254, 0.7));
}

.cursos-arrow.carousel_left {
    left: 15px;
}

.cursos-arrow.carousel_right {
    right: 15px;

}

/* Dots Cursos */
.cursos-carousel-dots {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
    gap: 10px;
}

.cursos-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.cursos-dot.active {
    background: white;
}

/* Responsive móvil: opcional */
@media (max-width: 768px) {
    .cursos-carousel {
        aspect-ratio: auto;

        /* se adapta proporcionalmente al ancho */
    }
}

/* seccion 2 columna izqueirda */

.left_titles2 {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.container_left_title2 {
    font-family: "Conthrax", Sans-serif;
    color: #989898;
    font-size: 30px;
    display: block;

}

.container_left_title2_2 {
    font-family: "Conthrax", Sans-serif;
    color: #123352;
    font-size: 30px;
    display: block;

}

.cursos_tab input {
    display: none;
}

/* menu -----------------------------------------------------------------------------------------------------------------------------*/


.cursos_menu {
    display: flex;
    flex-wrap: nowrap;
    /* no bajar de línea */
    gap: 20px;
    /* ajustar en media queries */
    width: max-content;
    /* ancho según los tabs */
    justify-content: flex-start;
    /* siempre alineado a la izquierda */
    flex: 0 0 auto;
    margin-left: 10px;
    margin-right: 20px;
}

/* Que las tabs no se reduzcan */
.cursos_tab {
    flex: 0 0 auto;
    /* ancho natural */
    white-space: nowrap;
    /* evita que el texto se divida */
}

/* Scrollbar opcional para ver el scroll */
.cursos_menu::-webkit-scrollbar {
    height: 6px;
}

.cursos_menu::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.cursos_linea {
    position: absolute;
    bottom: -2px;
    height: 4px;
    background: #123352;
    transition: left 0.3s ease, width 0.3s ease;
}

.cursos_tab {
    padding: 10px;
    cursor: pointer;
    color: #ccc;
}

.cursos_activo {
    border-bottom: 4px solid #123352;
}

.cursos_contenido {
    display: none;
    padding: 20px;
    margin-top: 30px;
    width: 84%;
}

.cursos_visible {
    display: block;
}

.cursos_menu_title {
    font-family: "Raleway", Sans-serif;
    font-size: 33px;
    color: #123352;
}

.cursos_menu_text {
    font-family: "Raleway", Sans-serif;
    font-size: 18px;
    color: #8b8b8b;
    line-height: 2;
    text-shadow: 1px 1px 3px rgba(183, 183, 183, 0.3);


}

.mecanica1-container_right {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    text-align: center;
    color: #333333;

}

.right_media {
    display: inline-flex;
    justify-content: center;
    align-items: flex-end;
    font-family: "Raleway", Sans-serif;
    font-size: 16px;
    color: #8b8b8b;
    text-shadow: 1px 1px 3px rgba(183, 183, 183, 0.3);
    gap: 20px;
    margin-top: 80px;
    margin-bottom: 20px;
    padding-right: 20px;

}

.right_media_icons {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    font-size: 28px;
    color: #888;

}

.right_media_icons a {
    color: inherit;
    /* quita el azul */
    text-decoration: none;
    /* quita subrayado */
}

.right_media_icons i {
    cursor: pointer;
    transition: 0.3s ease;
}

.right_media_icons i:hover {
    color: #123352;
    transform: scale(1.15);
}


/* Contenedor principal-------------------------------------------------------------------------------------------- */
.cursos_inscripcion {
    position: relative;
    /* 👈 para que los hijos absolute se posicionen dentro */
    width: 100%;
    margin: 0 auto;
    height: 950px;
    /* altura total del bloque */
    margin-inline: 20px;
    border: 3px solid #f8f8f8;
    border-radius: 30px;

}

/* Fondo financiero */
.cursos_inscripcion_financia {
    position: absolute;
    /* fondo */
    width: 100%;
    height: 100%;
    background-color: #d1d5de;
    border-radius: 30px;
    z-index: 1;
}

.cursos_inscripcion_financia_div1 {
    position: relative;
    color: #333333;
    top: 89%;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    gap: 20px;
}

/* Span dentro del fondo */
.cursos_inscripcion_financia span {
    bottom: 20px;
    right: 20px;
    color: #545454;
    font-family: "Raleway", sans-serif;
    font-size: 19px;
    color: #244a70;
}

/* Datos del curso (montados encima) */
.cursos_inscripcion_datos {
    position: absolute;
    width: 100%;
    height: 86%;
    background-color: #ffffff;
    border-radius: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;

}

/* Título del curso */
.cursos_inscripcion_datos_div1 {
    position: relative;
    font-weight: bold;
    color: #333333;
    top: 35%;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    padding-left: 40px;
    gap: 20px;


}


.cursos_inscripcion_datos_div1_divs {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #d3d3d3;
    /* línea gris */

}

.cursos_inscripcion_datos_div1_divs:last-of-type {
    border-bottom: none;
}

.cursos_inscripcion_datos_div1_divs span {
    display: flex;

}

.datos_duracion {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    justify-content: center;
    font-weight: 100;
    color: rgb(108, 108, 108);

}

.datos_duracion2 {
    font-family: "Raleway", sans-serif;
    display: flex;
    justify-content: flex-end;
    /* derecha */
    align-items: center;
    /* centrado vertical */
    width: 100%;
    padding-right: 40px;
}


.datos_duracion i {
    align-items: center;
    display: flex;
    color: rgb(108, 108, 108);
}


/* Bloque de inscripción */
.cursos_inscripcion_inscribirme {
    position: absolute;
    left: 0;
    width: 100%;
    height: 32%;
    background-color: #f5f5f5;
    border-radius: 30px;
    z-index: 3;
}

/* Precio */

.cursos_inscripcion_inscribirme_div1 {

    padding: 30px;
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.cursos_inscripcion_inscribirme_div1 i {

    display: flex;
    justify-content: center;

}

.fa-calendar {
    font-size: 25px;

}

.fa-clock {
    font-size: 25px;

}

.fa-location-dot {
    font-size: 25px;

}

.fa-id-card {
    font-size: 25px;

}

.fa-wallet {
    font-size: 25px;

}

.cursos_inscripcion_inscribirme_div1 span {
    font-family: "Raleway", sans-serif;
    font-size: 35px;
    font-weight: bold;
    color: #545454;
    display: flex;

}

/* Botón */
.cursos_inscripcion_inscribirme_div1_button {
    color: #fff;
    background-color: #3dbaeb;
    border-radius: 20px;
    padding: 10px 5px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    width: 80%;

    /* Animación */
    transition:
        background-color 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.3s ease;
}


.cursos_general_button {
    color: #fff;
    background-color: #3dbaeb;
    border-radius: 20px;
    font-size: 17px;

    font-weight: 600;
    border: none;
    cursor: pointer;
    width: 20%;
    display: flex;

    /* Animación */
    transition:
        background-color 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.3s ease;
}

.cursos_general_button:hover {
    background-color: #3dbaeb;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(61, 186, 235, 0.4);
}

/* Hover */
.cursos_inscripcion_inscribirme_div1_button:hover {
    background-color: #2aa7d9;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(61, 186, 235, 0.4);
}

/* Click */
.cursos_inscripcion_inscribirme_div1_button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(61, 186, 235, 0.3);
}

/* Icono y texto de usuarios */
.usuario-info {
    display: flex;
    align-items: center;
    gap: 60px;

}

.usuario-info span {
    padding-top: 7px;
    font-weight: bold;
    font-size: 17px;
    color: #123352;
    font-family: "Raleway", Sans-serif;
    align-items: center;


}


.plazas_disponibles {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.right_extra {
    display: flex;
    border-radius: 30px;
    background-color: #f8f8f8;
    width: 92%;
    height: auto;
    font-family: "Raleway", Sans-serif;
    font-size: 17px;
    padding-left: 40px;
    margin-inline: 20px;
    margin-top: 35px;
}

.right_extra span {
    display: flex;
    font-family: "Raleway", Sans-serif;
    font-size: 17px;
    margin: 0 auto;
    /* altura total del bloque */
    text-align: left;
    padding: 33px 60px 30px 30px;
    line-height: 1.6;

}

.right_fechas {
    display: flex;
    border-radius: 30px;
    background-color: #f8f8f8;
    width: 75%;
    height: auto;
    font-family: "Raleway", Sans-serif;
    font-size: 17px;
    margin-inline: 20px;
    margin-top: 35px;
    justify-content: flex-start;
    flex-direction: column;
    gap: 20px;
    padding: 30px 60px;
}

.right_fechas span {
    bottom: 20px;
    right: 20px;
    color: #545454;
    font-family: "Raleway", sans-serif;
    font-size: 23px;
    color: #244a70;
    font-weight: bold;
}


.right_fechas_title {
    color: #333333;
    gap: 20px;
}

/* Segunda seccion cursos-------------------------------------------------------------------------------------------- */

.cursos_seccion2 {
    background-image: url("../img/cursos_div2_back.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100%;
    /* 👈 tamaño real */
    height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-family: "Conthrax", Sans-serif;
    color: white;
    margin-bottom: 140px;
}


.cursos_seccion2_button {
    color: #fff;
    margin-top: 20px;
    background-color: #3dbaeb;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    width: auto;

    /* Animación */
    transition:
        background-color 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.3s ease;
}

/* Hover */
.cursos_seccion2_button:hover {
    background-color: #2aa7d9;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(61, 186, 235, 0.4);
}

.usuario-info_inscripcion i {
    display: flex;
    align-items: flex-start;
    /* 👈 centra verticalmente */
    gap: 20px;
    color: white;
    margin: 0;
}


.usuario-info_inscripcion {
    display: flex;
    align-items: center;
    gap: 30px;
    color: white;
    justify-content: flex-end;
    margin-top: 20px;
    font-size: 13px;
    font-family: "Raleway", Sans-serif;
    font-weight: bold;

}


.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 235px;
}

label {
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

label span {
    color: #e53935;
}

input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

input:focus {
    border-color: #007bff;
    outline: none;
}

.buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 25px;
}

button {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

/* Botón "Cerrar" */
.cerrar {
    background: #f1f1f1;
    color: #333;
}

.cerrar:hover {
    background: #e2e2e2;
}

/* Botón "Continuar" */
.continuar {
    background: #2196f3;
    color: white;
}

.continuar:hover {
    background: #1976d2;
}

/* header */


.cursos_formulario {
    margin-top: 40px;
    display: flex;
    overflow: visible;
    width: auto;
    position: relative;
}

.cursos_formulario_div1 {
    display: flex;
    /* Cambiado de inline-flex a flex */
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: start;
    /* Esto centra horizontalmente */
    width: 100%;
}

.cursos_formulario_div1_img {

    object-fit: cover;
    overflow: visible;
    width: auto;
    /* mantiene proporción y recorta si hace falta */
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    margin-left: 100px;

}

.cursos_formulario_div1_img span {
    font-size: 50px;
    color: #a0a5a8;
    font-family: "Conthrax", Sans-serif;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0;
    padding-left: 20px;
    /* Quita cualquier espacio adicional entre letras */

}

.cursos_formulario_div1_img img {
    border-radius: 40px;
    width: 700px;

}

.cursos_formulario_div2 {
    overflow: visible;
    display: flex;
    flex-direction: column;
    width: auto;
    margin-left: -120px;
    top: 10%;
    position: relative;

}

/* Formulario */



/* Estilos con prefijo curso_ */
.curso_form-container {
    background: #f5f5f5;
    padding: 30px;
    padding-inline: 60px;
    border-radius: 40px;
    width: 550px;
    height: 570px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    z-index: 1;
}

.curso_input-group {
    position: relative;
    margin-bottom: 20px;

}

.curso_input-group input,
.curso_input-group textarea {
    width: 90%;
    padding: 10px 10px 10px 35px;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #ccc;
    outline: none;
    font-size: 14px;
    background: transparent;
    resize: none;
}

.curso_input-group input::placeholder,
.curso_input-group textarea::placeholder {
    color: #999;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0;
    /* sin separación horizontal */
}

.curso_input-group textarea {
    height: 80px;
}

.curso_input-group i {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    justify-content: flex-start;
}

.curso_submit-btn {
    width: 100%;
    padding: 12px;
    background: #0abfff;
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.curso_submit-btn:hover {
    background: #009edb;
}




.cursos_div3 {
    background-image: url("../../img/index_3_background.png");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 120%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding-top: 50px;
    margin-top: 50px;
}

.cursos_div3_texts {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cursos-div3-title {
    font-family: "Conthrax", Sans-serif;
    color: white;
    font-size: 30px;
}

.cursos-div3-subtitle {
    font-family: "Raleway", Sans-serif;
    color: white;
    font-size: 13px;
    padding-top: 20px;
    padding-inline: 440px;
    text-align: center;
    line-height: 2em;
}

/* cursos que te pueden interesar */


.cursos_carousel {
    height: auto;
    display: flex;
    justify-content: center;
    gap: 200px;
    padding-top: 50px;
}

.cursos_carousel_title {
    font-family: "Conthrax", Sans-serif;
    font-size: 30px;
    color: #505050;
    display: flex;
    width: auto;
    justify-content: center;
    margin-top: 50px;

}

.cursos_carousel_title span {
    color: #aaaaaa;

}

.cursos_carousel_div_img {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    gap: 110px;
}

.cursos_carousel img {
    height: 300px;
    width: 290px;
    display: flex;
    border-radius: 15px;
    z-index: 2;
}

.cursos_carousel_texts {
    display: inline-flex;
    width: 100%;
    gap: 70px;
    justify-content: center;
    text-align: center;
    margin-top: -50px;
}

.cursos_carousel_span {
    width: 270px;
    display: column;
    border-radius: 25px;
    background-color: white;
    padding: 50px 30px;
    z-index: 1;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

.cursos3_carousel_title {
    color: black;
    font-weight: bold;
    font-family: "Raleway", Sans-serif;
    font-size: 22px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.cursos3_carousel_subtitle {
    display: flex;
    color: #3dbaeb;
    font-size: 20px;
    font-weight: bold;
    justify-content: center;
    text-align: center;
    font-family: "Raleway", Sans-serif;
}

.cursos3_carousel_text {
    display: flex;
    color: #c5c5c5;
    font-family: "Raleway", Sans-serif;
}

.datos_duracion {
    display: flex;
    /* activa flexbox */
    align-items: center;
    /* centra verticalmente icono y texto */
    gap: 8px;
    /* espacio entre icono y texto */
}

.datos_duracion i {
    font-size: 20px;
    /* ajusta tamaño del icono si quieres */
    color: #123352;
    /* opcional: color */
}

.datos_duracion span {
    font-size: 14px;
    /* tamaño del texto */
    font-weight: 600;
    /* opcional */
}

.datos_duracion {
    align-items: center !important;
}


.datos_duracion i {
    padding-bottom: 13px;
}

.momento_inscripcion {
    display: flex;
    padding-right: 40px;
    justify-content: flex-end;
    font-size: 13px
}

.dias_semana {
    display: flex;
    padding-right: 40px;
    justify-content: flex-end;
    margin-bottom: 10px;
    font-size: 13px
}

.index_div3_no_background {
    background: none !important;
    background-image: none !important;
}

.index_div3_mobile_no_background {
    background: none !important;
    background-image: none !important;
}

.layout {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.header-title-box {
    display: flex;
    flex-direction: column;
}

.header-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #6a7482;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-main-title strong {
    color: #1a3c5a;
}

.header-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #88909b;
    margin-top: 4px;
    font-weight: 600;
}

.header-cat {
    font-size: 0.85rem;
    color: #55b2e6;
    font-weight: 700;
    margin-top: 2px;
}

.share-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #8c98a4;
    font-size: 1.1rem;
    font-weight: 600;
}

.share-icons span {
    font-size: 0.85rem;
    margin-right: 4px;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}

/* Left Column */
.hero-banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    background: #f4f3f7;
}

.hero-banner img,
.hero-banner svg {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.hero-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    pointer-events: none;
}

.hero-nav div {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    pointer-events: auto;
    backdrop-filter: blur(4px);
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hero-dots div {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.hero-dots div.active {
    background: #fff;
}

/* Tabs */
.tabs-header {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e1e4e8;
    margin-bottom: 36px;
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0 16px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #b0b6c2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}

.tab-btn.active {
    color: #a4b0bf;
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: #dbe2e8;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Content specific styling */
.tab-content h1,
.tab-content h2 {
    margin-top: 0;
    color: #1a3c5a;
    font-weight: 400;
    font-size: 1.8rem;
}

.tab-content h3,
.tab-content h4 {
    color: #1a3c5a;
    margin-top: 24px;
}

.tab-content p {
    color: #5a6674;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.tab-content .w-logo {
    color: #16b85d;
    font-size: 1.5rem;
    float: left;
    margin: 4px 12px 12px 0;
}

/* Right Column */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 32px 24px;
}

.card-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a3c5a;
    text-align: center;
    margin-bottom: 16px;
    margin-top: -10px;
}

.btn-buy {
    display: block;
    width: 100%;
    background: #47abff;
    color: #fff;
    text-align: center;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 14px 20px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    text-transform: uppercase;
}

.btn-buy:hover {
    background: #2f94e8;
}

.stock-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #1a3c5a;
    font-size: 0.75rem;
    font-weight: 800;
    margin-top: 20px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

hr {
    border: none;
    border-top: 1px solid #e1e4e8;
    margin: 0 0 24px 0;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.meta-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.meta-icon {
    color: #1a3c5a;
    margin-top: 2px;
    width: 18px;
    text-align: center;
    opacity: 0.7;
}

.meta-info small {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #6a7482;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.meta-info strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a3c5a;
    line-height: 1.3;
}

.finance-box {
    background: #dfe3ea;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    color: #1a3c5a;
    margin-top: -8px;
}

.finance-box strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.finance-box p {
    margin: 0;
    font-size: 0.85rem;
    color: #5a6674;
    font-weight: 500;
}

.upcoming {
    text-align: center;
}

.upcoming-title {
    font-weight: 800;
    color: #1a3c5a;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.upcoming-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 2px solid #a8dbff;
    text-align: center;
}

.upcoming-date {
    background: #f8f9fa;
    font-size: 0.7rem;
    font-weight: 800;
    color: #6a7482;
    padding: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #eee;
}

.upcoming-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.upcoming-body {
    padding: 16px;
}

.upcoming-body h4 {
    font-size: 1rem;
    color: #1a3c5a;
    font-weight: 700;
    margin: 0 0 4px;
}

.upcoming-body p {
    color: #1a3c5a;
    font-weight: 800;
    font-size: 1rem;
    margin: 4px 0 10px;
}

.upcoming-body .price-small {
    font-size: 0.85rem;
    color: #6a7482;
    font-weight: 700;
    text-decoration: line-through;
    margin-bottom: 12px;
}

.upcoming-btn {
    background: #47abff;
    color: #fff;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 10px 24px;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

/* Existing component styles used inside tab panels */
.info-box {
    background: #f9fbfd;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    padding: 22px;
    margin-top: 18px;
    margin-bottom: 24px;
}

.inline-label {
    display: inline-block;
    padding: 6px 10px;
    background: #f0fff7;
    color: #1d8a5a;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}

.cards {
    display: grid;
    gap: 18px;
}

.curriculum-card,
.faq-card,
.review-card,
.note-card,
.stat-card,
.feature-card {
    background: #fff;
    border: 1px solid #e7e9ee;
    padding: 22px 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.review-card__title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.stars {
    color: #0f2942;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.authority {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 18px;
    margin-top: 18px;
}

.stat-card {
    background: #f8fafc;
    border: 1px solid #e7e9ee;
    border-radius: 14px;
    padding: 22px;
}

.checklist {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.checkitem {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.checkmark {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    background: #eaf6ff;
    color: #168fd8;
    font-size: .86rem;
    font-weight: 900;
    margin-top: 2px;
}

.format-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.format-badge.streaming {
    background: #e8f2ff;
    color: #1d4ed8;
}

.format-badge.presencial {
    background: #e8f7ee;
    color: #15803d;
}

.cursos_contenido h1 {
    color: #1a3c5a;
    font-weight: 400;
    font-size: 1.8rem;
    font-family: "Raleway", Sans-serif;
}

.cursos_contenido h3 {
    color: #1a3c5a;
    font-weight: 400;
    font-family: "Raleway", Sans-serif;
}

.cursos_contenido p,
ul,
li {

    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    font-family: "Raleway", Sans-serif;
    text-shadow: 1px 1px 3px rgba(183, 183, 183, 0.3);

}


.cursos_contenido h2 {

    color: #1a3c5a;
    font-weight: 500;
    font-size: 1.4rem;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    font-family: "Raleway", Sans-serif;
}

.review-card__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* h4 a la izquierda, estrellas a la derecha */
    gap: 10px;
    /* espacio entre h4 y estrellas */
    flex-wrap: wrap;
    /* permite que los elementos bajen de fila si no caben */
}

.review-card__title h4 {
    margin: 0;
    font-size: 1.1rem;
}

.review-card__title .stars {
    font-size: 1.2rem;
    color: #000000;
    /* color dorado de las estrellas */
}

/* Media query: pantallas menores a 646px */
@media (max-width: 646px) {
    .review-card__title {
        flex-direction: column;
        align-items: flex-start;
        /* estrellas debajo del título alineadas a la izquierda */
    }

    .review-card__title .stars {
        margin-top: 5px;
        /* espacio entre título y estrellas */
    }
}

.left_titles2_mobile {
    display: none !important;
}