        body {
            background-color: #f5f5f5;
			margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Arial, Helvetica, sans-serif;
        }
        /* NAVBAR */
        header {
            position: fixed;
            top: 0;          /* Lo ancla a la parte superior */
            left: 0;         /* Lo ancla al lado izquierdo */
            width: 100%;     /* Asegura que ocupe todo el ancho */
            background-color: #ffffff;
            z-index: 1000;
            }

        .navbar {
			padding: 1px 50px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #222;
        }

        /* LOGO */
        .logo {
            color: #fff;
            font-size: 22px;
            font-weight: bold;
            text-decoration: none;
        }
         .logo img {
          width: 80%;
        }

        /* MENU */
        .menu {
            list-style: none;
            display: flex;
            z-index: 1000;
        }
         .menu li {
            padding: 0 20px;
        }
        .menu li a {
            color: #303030;
			font-weight: bold;
            text-transform: uppercase;
            text-decoration: none;
            font-size: 16px;
            transition: color 0.3s;
        }

        .menu li a:hover {
            color: #f0c040;
        }

        /* MENU HAMBURGUESA */
        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .menu-toggle span {
            background: #000000;
            height: 3px;
            width: 25px;
            margin: 4px 0;
        }
        .titulo {
            text-align: center;
            margin-top: 100px;
            margin-bottom: -11px;
        }
        .titulo h1 {
           font-size: 18px;
           font-family: 'Playfair Display', serif;
           padding: 10px 0;
           background-color: #ACA194;
           color: #ffff;
        }
        .subtitulo {
            text-align: center;
    
        }
        .subtitulo h3 {
           font-size: 25px;
           font-family: 'Playfair Display', serif;
           font-weight: bold;
           padding: 20px 0;
           background-color: #ACA194;
           color: #ffff;
        }
        .seo-text p {
            font-family: 'Playfair Display', serif;
        }
        .seo-text {
            max-width: 900px;
            margin: 60px auto;      /* centra horizontal y da aire */
            padding: 0 20px;
            text-align: center;
        }

        .seo-text p {
            font-size: 18px;
            line-height: 1.7;
            color: #444;
        }

        .seo-text strong {
            color: #111;
            font-weight: 600;
        }
        @media (max-width: 768px) {
            .seo-text p {
                font-size: 16px;
            }
        }
        /* RESPONSIVE */
        @media (max-width: 768px) {
            .menu {
                position: absolute;
                top: 85px;
                right: 0;
                background-color: #ffffff;
                flex-direction: column;
                width: 100%;
                display: none;
                text-align: center;
            }

            .menu li {
                padding: 15px 0;
                border-top: 1px solid #222;
            }
            .menu li a {
                margin: none;
                padding: 20px 0;
            }

            .menu-toggle {
                display: flex;
            }

            .menu.active {
                display: flex;
            }
        }
        
.carousel {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* BOTÓN CENTRADO */
.carousel-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px; /* margen lateral en mobile */
}

.btn-carousel {
    display: inline-block;
    padding: 14px 32px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 1px;
    border: 2px solid #fff;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}
.btn-carousel:hover {
    background-color: #f0c040;
    color: #111;
    border-color: #f0c040;
}
@media (max-width: 768px) {
    .btn-carousel {
        font-size: 15px;
        padding: 12px 20px;
        width: 100%;
        max-width: 320px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .carousel {
        height: 50vh;
    }
}

/* cursos */

.section-title {
    text-align: center;
    padding: 0 0 20px 0;
    color: #1d1d1d;
}

.title-line {
    width: 80px;
    height: 4px;
    background-color: #0b5c5c; /* línea verde oscura */
    margin: 0 auto 20px;
}

.section-title h2 {
    font-size: 42px;
    letter-spacing: 2px;
    font-weight: 700;
	margin: 0;
}

.section-title p {
    font-size: 18px;
    opacity: 0.95;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 30px;
    }

    .section-title p {
        font-size: 16px;
    }
}


.courses {
    padding: 60px 40px;
    background-color: #ffffff;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.course-card {
    position: relative;
    overflow: hidden;
    height: 620px;
    cursor: pointer;
}

.course-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* OVERLAY */
.course-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    color: #fff;
    transition: background 0.6s ease;
}

.course-overlay h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.course-overlay span {
    width: 60px;
    height: 2px;
    background: #fff;
    margin-bottom: 15px;
}

.course-overlay p {
    font-size: 15px;
    opacity: 0.9;
}

/* HOVER EFECTO */
.course-card:hover img {
    transform: scale(1.1);
}

.course-card:hover .course-overlay {
    background: rgba(0, 0, 0, 0.65);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .courses {
        padding: 40px 20px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .course-card {
        height: 360px;
    }
}

/* FOOTER */
.footer {
    background-color: #2b2b2b;
    color: #ccc;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 80px;
}

.footer-left {
    font-size: 14px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ICONOS */
.social-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ccc;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.social-link:hover {
    opacity: 0.8;
}

.social-link.whatsapp {
    color: #25D366;
}

.social-link.instagram {
    color: #E1306C;
}

.social-link.facebook {
    color: #1877F2;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.curso-detalle {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}
.curso-grid {
    
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
}

.curso-imagen img {
    width: 100%;
    border-radius: 4px;
}

.btn-whatsapp {
    display: inline-block;
    margin-top: 25px;
    background: #00c853;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}
.curso-info h2 {
    margin-bottom: 15px;
}

.precio.verde {
    color: #00a000;
    font-weight: bold;
}

.alerta {
    margin-top: 20px;
    color: red;
    font-weight: bold;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .curso-grid {
        grid-template-columns: 1fr;
    }
}
.curso-cta {
    margin:  30px auto 60px;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
}

.btn-whatsapp-central {
    display: inline-block;
    background-color: #00c853;
    color: #fff;
    padding: 18px 40px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp-central:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 200, 83, 0.35);
}

.curso-texto-final {
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}
@media (max-width: 768px) {
    .btn-whatsapp-central {
        width: 100%;
        max-width: 320px;
    }
}
.curso-videos {
    max-width: 1350px;
    margin: 60px auto;
    padding: 0 20px;
}

.videos-grid {
    margin-top: -25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Card completa */
.video-presentacion {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.video-presentacion-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 50px;
    align-items: center;
}

/* VIDEO VERTICAL 9:16 */
.video-short {
    position: relative;
    width: 100%;
    padding-top: 177.77%; /* 9:16 */
    overflow: hidden;
    border-radius: 12px;
}

.video-short iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* TEXTO */
.video-presentacion-texto h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

.video-presentacion-texto h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.video-presentacion-texto h3 span {
    font-weight: 400;
    color: #555;
}

.video-presentacion-texto p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 18px;
}

.video-presentacion-texto ul {
    margin: 10px 0 20px 0;
    padding-left: 0;
    list-style: none;
}

.video-presentacion-texto li {
    margin-bottom: 8px;
    font-size: 15px;
}

.frase-final {
    margin-top: 25px;
    font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .video-presentacion-grid {
        grid-template-columns: 1fr;
    }

    .video-short {
        max-width: 360px;
        margin: 0 auto;
    }

    .video-presentacion-texto {
        text-align: center;
    }
}
