* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2d2d2d;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER ========== */
.header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.7rem;
    font-weight: bold;
    color: #d63384;
    text-decoration: none;
    padding-left: 10px;
}

/* Menú escritorio */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #2d2d2d;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #d63384;
}

.btn-admin {
    background: #c29b0a;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Hamburguesa OCULTA en escritorio */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #d63384;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s;
}

/* ========== HERO ========== */
.hero {
    background: linear-gradient(135deg, rgba(214,51,132,0.85), rgba(194,155,10,0.65)),
                url('https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?w=1200') center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-primary {
    background: #c29b0a;
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: #ffffff;
    color: #d63384;
    border: 2px solid #d63384;
}

.btn-secondary:hover {
    background: #d63384;
    color: #ffffff;
}

/* ========== SECCIONES ========== */
.seccion {
    padding: 60px 0;
}

.bg-claro { background: #f8f9fa; }
.bg-primario { background: #d63384; color: #ffffff; }

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

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #c29b0a;
    margin: 10px auto;
}

.bg-primario h2::after {
    background: #ffffff;
}

/* ========== GRIDS ========== */
.grid-cursos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.card-curso {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.card-curso:hover {
    transform: translateY(-5px);
}

.card-curso i {
    color: #d63384;
    margin-bottom: 15px;
}

.precio {
    font-weight: bold;
    color: #c29b0a;
    margin-top: 10px;
}

.testimonios-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.testimonio {
    background: #ffffff;
    padding: 20px;
    border-left: 5px solid #d63384;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.galeria-grid img {
    width: 100%;
    border-radius: 10px;
    height: 200px;
    object-fit: cover;
}

/* ========== FORMULARIO ========== */
.form-contacto {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-contacto input,
.form-contacto select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
}

.form-contacto select {
    appearance: none;
    background: #ffffff url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 15px center;
}

/* ========== WHATSAPP FLOTANTE ========== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ========== FOOTER ========== */
.footer {
    text-align: center;
    padding: 20px;
    background: #2d2d2d;
    color: #ffffff;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Mostrar hamburguesa */
    .hamburger {
        display: block;
    }

    /* Ocultar menú por defecto */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }

    /* Mostrar menú con clase activa */
    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 10px 0;
        gap: 0;
    }

    .nav-menu li {
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 14px 20px;
        border-bottom: 1px solid #f0f0f0;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 26px;
        bottom: 20px;
        right: 15px;
    }
}