/* Estilos para master.html */

.page-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/foto12.jpg');
    background-size: cover;
    background-position: center;
    padding: 160px 20px;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-family: var(--Anton);
    font-size: 3.5rem;
    color: var(--color_secundario);
}

.master-content {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.modules-list {
    list-style: none;
    counter-reset: module-counter;
}

.module-item {
    background: white;
    border: 1px solid #eee;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 4rem;
    transition: transform 0.3s;
}

.module-item:hover {
    transform: translateY(-5px);
    border-color: var(--color_secundario);
}

.module-item::before {
    counter-increment: module-counter;
    content: counter(module-counter);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color_secundario);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.module-title {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--texto_oscuro);
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--color_fondo_gris);
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.zigzag-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.zigzag-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.zigzag-content h2 {
    font-family: var(--Anton);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--texto_oscuro);
}

.zigzag-content p {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

.zigzag-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }

    .zigzag-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Nuevas Secciones Master */
.section-title {
    font-family: var(--Anton);
    font-size: 2.5rem;
    color: var(--color_secundario);
    margin-bottom: 2rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Competencias */
.competencies-section {
    background-color: #fcfcfc;
    padding: 4rem 0;
}

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

.competency-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Sombra suave */
    text-align: center;
    transition: transform 0.3s;
    border-top: 4px solid var(--color_secundario);
}

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

.competency-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.competency-card h3 {
    font-family: var(--Montserrat);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--texto_oscuro);
}

.competency-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Salida Laboral */
.careers-section {
    padding: 4rem 0;
}

.careers-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.career-item {
    background: white;
    /* Blanco */
    padding: 1rem 1.5rem;
    border-radius: 50px;
    /* Redondeado */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--texto_oscuro);
    border: 1px solid #eee;
}

.career-item .check {
    color: var(--color_secundario);
    /* Dorado/Biege */
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Tabla Informativa */
.info-table-section {
    background-color: #fafafa;
    padding: 4rem 0;
}

.table-responsive {
    overflow-x: auto;
}

.course-info-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.course-info-table th,
.course-info-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.course-info-table th {
    background-color: var(--color_primario);
    color: white;
    font-family: var(--Montserrat);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.course-info-table tr:last-child td {
    border-bottom: none;
}

.course-info-table tr:hover td {
    background-color: #fdfdfd;
}

.course-info-table td strong {
    color: var(--color_secundario);
}

/* Botón Fijo Descarga */
.btn-fixed-download {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--color_secundario);
    /* Dorado para destacar */
    color: var(--texto_oscuro);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid white;
    /* Contorno blanco para separar del fondo */
}

.btn-fixed-download:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-fixed-download .icon {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .btn-fixed-download {
        bottom: 20px;
        left: 20px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}