
.navbar-brand {
  background: white !important;
}

.ftco-navbar-light .navbar-brand {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
}

.ftco-navbar-light .navbar-toggler {
    color: #011d4f !important;
}

/* Menú móvil/tablet: fondo blanco */
@media (max-width: 991.98px) {
    .ftco-navbar-light {
        background: #fff !important;
        position: relative;
        top: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
        color: #cf0919;
    }

    .ftco-navbar-light .navbar-nav > .nav-item.active > a {
        color: #011d4f !important;
    }

    .ftco-navbar-light .navbar-nav > .nav-item.nav-cta-inscribete {
        margin-top: 12px;
    }
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover,
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:focus {
    color: #011d4f !important;
}

/* Menú escritorio: fondo azul desde el inicio, antes de hacer scroll */
@media (min-width: 992px) {
    .ftco-navbar-light {
        background: rgba(0, 38, 77, 0.92) !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    }

    .ftco-navbar-light .navbar-nav > .nav-item.active > a {
        color: #e30613 !important;
    }

    .ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover,
    .ftco-navbar-light .navbar-nav > .nav-item > .nav-link:focus {
        color: #c9edff !important;
    }

    /* Separación del botón ¡INSCRÍBETE YA! del resto de opciones */
    .ftco-navbar-light .navbar-nav > .nav-item.nav-cta-inscribete {
        margin-left: 22px;
    }
}


/* Efecto hover para las tarjetas */
.services-section .services {
    transition: all 0.3s ease;
    border-radius: 10px;
    position: relative;
}

.services-section .services:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Icono */
.services-section .services .icon {
    transition: all 0.3s ease;
}

.services-section .services:hover .icon {
    transform: scale(1.08);
}

/* Título */
.services-section .services h3 {
    transition: color 0.3s ease;
}

.services-section .services:hover h3 {
    color: #007bff;
}


.hero-title {
    line-height: 1.25;
    margin: 0;
}

/* Texto 1 */
.title-blue {
    position: relative;
    display: inline-block;
    color: #003b7a;
    font-size: 2.4rem;
    font-weight: 700;
    padding: 8px 25px;
    margin-right: -3px;
    z-index: 2;
}

/* Texto 2 */
.title-red {
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-size: 3.2rem;
    font-weight: 900;
    padding: 10px 32px;
    z-index: 1;
}

/* Fondo azul */
.title-blue::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: #c9edff;

    transform: rotate(-2deg) skewX(-4deg);
}

/* Fondo rojo */
.title-red::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: #e30613;

    transform: rotate(-2deg) skewX(-4deg);
}

.hero-description {
    display: block;

    /* Que no llegue hasta el formulario */
    width: 100%;
    max-width: 650px;

    padding: 14px 22px;

    margin: 18px 0 16px;

    color: #ffffff;

    font-size: 1.05rem;
    line-height: 1.55;
    font-weight: 500;

    /* Azul Vexton */
    background: rgba(0, 43, 92, 0.82);

    /* Detalle rojo */
    border-left: 5px solid #e30613;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.20);
}

#section-counter .block-18 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#section-counter .icon {
    margin-bottom: 12px;
}

#section-counter .icon span {
    font-size: 48px;
    color: #ffffff;
}

#section-counter .text strong {
    display: block;
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 991px) {
    #section-counter .text strong {
        font-size: 18px;
        white-space: normal;
    }
}

@keyframes btnPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
    }

    70% {
        transform: scale(1.08);
        box-shadow: 0 0 0 18px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.btn-pulsing {
    animation: btnPulse 1.8s infinite;
    font-weight: 800 !important;
    border: 2px solid #fff !important;
    /* Tamaño aumentado y mayor espacio interno */
    font-size: 1.25rem !important;
    padding: 14px 28px !important;
}

.badge-native {
    background-color: #ffc107;
    color: #000;
    font-weight: 800;
    /* Badge más grande */
    padding: 8px 18px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-size: 1.05rem;
    letter-spacing: 1px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.ftco-about .heading-section h2 {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
}

.ftco-about .heading-section p {
    font-size: 17px;
    line-height: 1.8;
}

.ftco-about .heading-section .lead {
    font-size: 18px;
    line-height: 1.75;
}

.ftco-about .subheading {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

.ftco-about .about-wrap {
    min-height: 500px;
}
    #section-counter .col-md-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
}

/* TABLET */
@media (max-width: 991.98px) {
    #section-counter .col-md-2-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* MÓVIL */
@media (max-width: 767.98px) {
    #section-counter .col-md-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* MÓVIL PEQUEÑO */
@media (max-width: 480px) {
    #section-counter .col-md-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #section-counter .block-18 {
        width: 100%;
    }

    #section-counter .text strong {
        font-size: 14px;
    }
}

/* ===== PÁGINA DE CURSOS ===== */
.project-wrap.curso-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.project-wrap.curso-card .text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-wrap.curso-card .text .btn {
    margin-top: auto;
}

.project-wrap.curso-card .curso-caracteristicas {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}

.project-wrap.curso-card .curso-caracteristicas li {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}

.project-wrap.curso-card .curso-caracteristicas li .fa {
    color: #28a745;
    margin-right: 6px;
}

.project-wrap.curso-card .text p {
    font-size: 15px;
    line-height: 1.7;
}

.project-wrap.curso-card .curso-precio {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    background: #eaf2fb;
    border-left: 5px solid #e30613;
    border-radius: 6px;
    padding: 10px 16px;
    margin-bottom: 18px;
}

.project-wrap.curso-card .curso-precio .precio-label {
    font-size: 14px;
    font-weight: 700;
    color: #011d4f;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-wrap.curso-card .curso-precio .precio-valor {
    font-size: 26px;
    font-weight: 800;
    color: #011d4f;
}

/* ===== BANNER REDUCIDO DE LA PÁGINA DE CURSOS ===== */
.hero-wrap.hero-wrap-2.hero-cursos {
    height: 340px;
}

.hero-wrap.hero-wrap-2.hero-cursos .slider-text {
    height: 340px;
}

@media (max-width: 767.98px) {
    .hero-wrap.hero-wrap-2.hero-cursos,
    .hero-wrap.hero-wrap-2.hero-cursos .slider-text {
        height: 190px;
    }

    .hero-wrap.hero-wrap-2.hero-cursos .slider-text .breadcrumbs {
        margin-bottom: 6px;
        font-size: 13px;
    }

    .hero-wrap.hero-wrap-2.hero-cursos .slider-text h1 {
        font-size: 26px;
    }
}

/* CTA clase muestra: imagen de fondo con overlay y texto blanco */
.curso-cta {
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed;
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}

.curso-cta h2 {
    color: #ffffff;
    font-weight: 800;
    font-size: 34px;
}

.curso-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.curso-cta .btn-pulsing {
    margin-top: 5px;
}

/* Botón rojo de clase muestra en la página de cursos */
@keyframes btnPulseRojo {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.7);
    }

    70% {
        transform: scale(1.08);
        box-shadow: 0 0 0 18px rgba(227, 6, 19, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(227, 6, 19, 0);
    }
}

.curso-cta .btn-rojo {
    background: #e30613 !important;
    color: #ffffff !important;
    border: 2px solid #e30613 !important;
    animation: btnPulseRojo 1.8s infinite;
}

.curso-cta .btn-rojo:hover,
.curso-cta .btn-rojo:focus {
    background: #c00511 !important;
    border-color: #c00511 !important;
    color: #ffffff !important;
}

@media (max-width: 767.98px) {
    .curso-cta {
        background-attachment: scroll;
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .curso-cta h2 {
        font-size: 26px;
    }

    .curso-cta p {
        font-size: 15px;
    }

    .curso-cta .btn-pulsing {
        font-size: 1rem !important;
        padding: 12px 18px !important;
    }
}

/* ===== MODAL CLASE MUESTRA ===== */
#modalClaseMuestra .cm-subtitle {
    text-align: center;
    font-weight: 700;
    color: #011d4f;
    margin-bottom: 14px;
}

#modalClaseMuestra .cm-cal-header strong {
    color: #011d4f;
}

#modalClaseMuestra .cm-btn-nav {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 4px 14px;
    font-size: 20px;
    line-height: 1;
    color: #011d4f;
}

#modalClaseMuestra .cm-btn-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

#modalClaseMuestra .cm-dias-semana,
#modalClaseMuestra .cm-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

#modalClaseMuestra .cm-dias-semana span {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #011d4f;
    padding: 4px 0;
}

#modalClaseMuestra .cm-dia {
    border: none;
    background: transparent;
    border-radius: 8px;
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
}

#modalClaseMuestra .cm-dia-disponible {
    background: #eaf2fb;
    color: #011d4f;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

#modalClaseMuestra .cm-dia-disponible:hover {
    background: #011d4f;
    color: #fff;
}

#modalClaseMuestra .cm-dia-seleccionado {
    background: #011d4f !important;
    color: #fff !important;
}

#modalClaseMuestra .cm-dia-inhabilitado {
    color: #ccc;
    cursor: not-allowed;
}

#modalClaseMuestra .cm-fecha-elegida {
    color: #e30613;
    font-weight: 800;
}

#modalClaseMuestra .cm-horario {
    border: 2px solid #011d4f;
    background: #fff;
    color: #011d4f;
    font-weight: 700;
    border-radius: 30px;
    padding: 10px 22px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#modalClaseMuestra .cm-horario:hover {
    background: #011d4f;
    color: #fff;
}

#modalClaseMuestra .cm-resumen,
#modalSolicitudCurso .cm-resumen {
    background: #eaf2fb;
    border-left: 5px solid #e30613;
    border-radius: 6px;
    color: #011d4f;
    font-weight: 700;
    padding: 12px 16px;
    margin-bottom: 18px;
}

#modalClaseMuestra .cm-icono-exito,
#modalExitoSolicitud .cm-icono-exito,
#modalSolicitudCurso .cm-icono-exito,
#modalInscripcion .cm-icono-exito {
    font-size: 64px;
    color: #28a745;
    display: block;
    margin-bottom: 14px;
}

#modalClaseMuestra .cm-mensaje-exito,
#modalExitoSolicitud .cm-mensaje-exito,
#modalSolicitudCurso .cm-mensaje-exito,
#modalInscripcion .cm-mensaje-exito {
    font-size: 18px;
    font-weight: 700;
    color: #011d4f;
    margin-bottom: 20px;
}

/* ===== MODAL DE INSCRIPCIÓN (OFERTA) ===== */
#modalInscripcion .inscripcion-header {
    background: #e30613;
    color: #ffffff;
    border-radius: calc(0.3rem - 1px) calc(0.3rem - 1px) 0 0;
    position: relative;
    display: block;
    padding: 1rem 3rem 1rem 1rem;
}

#modalInscripcion .inscripcion-oferta {
    display: inline-block;
    background: #ffffff;
    color: #e30613;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 6px;
}

#modalInscripcion .modal-title {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
}

#modalInscripcion .modal-title strong {
    font-weight: 800;
}

/* X de cerrar en la esquina superior derecha */
#modalInscripcion .close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    margin: 0;
    opacity: 1;
    text-shadow: none;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
}

@media (max-width: 480px) {
    #modalInscripcion .modal-title {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    #modalClaseMuestra .cm-dia {
        padding: 8px 0;
        font-size: 13px;
    }

    #modalClaseMuestra .cm-horario {
        padding: 9px 16px;
        font-size: 14px;
    }
}