/* Restablecimiento general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Encabezado */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #ffffff;
}

.logo {
    font-size: 24px;
    font-weight: 900;
}

.logo .dev {
    color: #1a202c;
}

.logo .academia {
    color: #5ed2bd; /* Tono turquesa/agua */
}

nav a {
    text-decoration: none;
    color: #1a202c;
    font-weight: 700;
    margin-left: 20px;
    font-size: 15px;
}

/* Banner superior */
.banner {
    background-color: #ffa500;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    font-size: 14px;
}

/* Sección Hero */
.hero {
    background: linear-gradient(to right, #294c59, #4ca3aa);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 300;
}

.btn-hero {
    background-color: #27ae60;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

/* Sección de Cursos */
.cursos {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.cursos h2 {
    color: #2d3748;
    margin-bottom: 40px;
    font-size: 24px;
}

.contenedor-tarjetas {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* Tarjetas */
.tarjeta {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    width: 32%;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tarjeta h3 {
    color: #2d3748;
    font-size: 18px;
    margin-bottom: 15px;
}

.tarjeta p {
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.tarjeta .precio {
    color: #27ae60;
    font-weight: bold;
    font-size: 18px;
}

/* Tarjeta Destacada (Popular) */
.tarjeta.popular {
    border: 2px solid #27ae60;
    position: relative;
}

.etiqueta {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: #e74c3c;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

/* Pie de página */
footer {
    background-color: #1a2432;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    margin-top: 20px;
}