/* =========================================
   HOJA DE ESTILOS: FORMACIÓN ESPECÍFICA
   ========================================= */

.fe-page {
    --fe-primary: #2579cc;
    --fe-primary-dark: #124d86;
    --fe-primary-light: #eaf3fc;
    --fe-orange: #d0774a;
    --fe-orange-dark: #b96339;
    --fe-white: #ffffff;
    --fe-text: #2c3e50;
    --fe-muted: #596a7a;
    --fe-bg: #f4f7fc;
    --fe-radius: 16px;
    --fe-shadow: 0 12px 35px rgba(27, 63, 99, 0.09);
    --fe-shadow-hover: 0 18px 45px rgba(27, 63, 99, 0.16);

    width: 100%;
    overflow: hidden;
    color: var(--fe-text);
    background: var(--fe-white);
    font-family: inherit;
}

.fe-page *, .fe-page *::before, .fe-page *::after {
    box-sizing: border-box;
}

.fe-page img {
    display: block;
    max-width: 100%;
}

.fe-page a {
    text-decoration: none;
}

.fe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.contactoWhatsapp {
    position: fixed;
    left: 25px;
    bottom: 25px;
    z-index: 99;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.contactoWhatsapp:hover { transform: scale(1.12); }
.contactoWhatsapp img { width: 55px; height: 55px; }


/* =========================================
   1. HERO / CABECERA
   ========================================= */
.fe-hero {
    position: relative;
    padding: 100px 24px;
    background-size: cover;
    background-position: center;
    color: var(--fe-white);
    text-align: center;
}

.fe-hero-container {
    max-width: 820px;
    margin: 0 auto;
}

.fe-badge {
    display: inline-block;
    padding: 7px 18px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

.fe-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.3rem, 4.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
}

.fe-hero p {
    margin: 0 0 32px;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
}

.fe-btn-orange {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--fe-orange);
    color: var(--fe-white);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 22px rgba(208, 119, 74, 0.35);
    transition: all 0.25s ease;
}

.fe-btn-orange:hover {
    background: var(--fe-orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(208, 119, 74, 0.45);
}


/* =========================================
   2. INTRODUCCIÓN Y BENEFICIOS
   ========================================= */
.fe-section {
    padding: 85px 0;
}

.fe-intro-section {
    background: var(--fe-bg);
}

.fe-welcome-card {
    display: flex;
    gap: 30px;
    align-items: center;
    background: var(--fe-white);
    padding: 40px;
    border-radius: var(--fe-radius);
    box-shadow: var(--fe-shadow);
    border-left: 6px solid var(--fe-primary);
    max-width: 1000px;
    margin: 0 auto;
}

.fe-welcome-icon {
    font-size: 3rem;
    background: var(--fe-primary-light);
    padding: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.fe-welcome-text h3 {
    margin: 5px 0 12px;
    color: var(--fe-primary-dark);
    font-size: 1.5rem;
}

.fe-welcome-text p {
    margin: 0;
    color: var(--fe-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.fe-benefits-section {
    background: var(--fe-white);
}

.fe-section-heading {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 55px;
}

.fe-sub-tag {
    display: inline-block;
    color: var(--fe-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.fe-section-heading h2 {
    margin: 5px 0 12px;
    font-size: clamp(2rem, 3vw, 2.4rem);
    color: var(--fe-primary-dark);
}

.fe-section-heading p {
    margin: 0;
    color: var(--fe-muted);
    font-size: 1.05rem;
}

.fe-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.fe-benefit-card {
    background: var(--fe-bg);
    padding: 32px 25px;
    border-radius: var(--fe-radius);
    border: 1px solid #e1e8f5;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.fe-benefit-card:hover {
    transform: translateY(-6px);
    border-color: var(--fe-primary);
    background: var(--fe-white);
    box-shadow: var(--fe-shadow);
}

.fe-benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--fe-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.fe-benefit-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.fe-benefit-card h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    color: var(--fe-primary-dark);
}

.fe-benefit-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--fe-muted);
    line-height: 1.65;
}


/* =========================================
   3. CATÁLOGO DE CURSOS (DINÁMICO)
   ========================================= */
.fe-courses-section {
    background: var(--fe-bg);
}

.fe-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.fe-course-card {
    background: var(--fe-white);
    border-radius: var(--fe-radius);
    overflow: hidden;
    box-shadow: var(--fe-shadow);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.fe-course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fe-shadow-hover);
}

.fe-course-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 15px;
}

.fe-course-tag {
    background: var(--fe-orange);
    color: var(--fe-white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.fe-course-info {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.fe-course-info h3 {
    margin: 0 0 15px;
    font-size: 1.15rem;
    color: var(--fe-primary-dark);
    line-height: 1.4;
}

.fe-course-link {
    color: var(--fe-orange);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.fe-course-card:hover .fe-course-link {
    color: var(--fe-orange-dark);
}


/* =========================================
   4. OTROS PROYECTOS Y CONÓCENOS
   ========================================= */
.fe-projects-section {
    background: var(--fe-white);
}

.fe-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.fe-project-card {
    background: var(--fe-white);
    border-radius: var(--fe-radius);
    overflow: hidden;
    box-shadow: var(--fe-shadow);
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e9f3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fe-project-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--fe-shadow-hover);
}

.fe-project-img {
    height: 190px;
    background: var(--fe-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fe-project-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fe-project-body {
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.fe-project-body h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    color: var(--fe-primary-dark);
}

.fe-project-body p {
    margin: 0 0 20px;
    font-size: 0.95rem;
    color: var(--fe-muted);
    line-height: 1.65;
    flex: 1;
}

.fe-card-link {
    color: var(--fe-orange);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.fe-card-link:hover {
    color: var(--fe-orange-dark);
}

.fe-about-section {
    background: var(--fe-bg);
}

.fe-about-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.fe-about-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    border: 1px solid #e1e8f3;
    border-radius: var(--fe-radius);
    background: var(--fe-white);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.fe-about-card:hover {
    transform: translateY(-6px);
    border-color: var(--fe-primary);
    box-shadow: var(--fe-shadow);
}

.fe-about-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
    border-radius: 50%;
    background: var(--fe-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fe-about-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.fe-about-card h3 {
    margin: 0 0 8px;
    color: var(--fe-primary-dark);
    font-size: 1.05rem;
}

.fe-about-card span {
    color: var(--fe-orange);
    font-size: 0.85rem;
    font-weight: 700;
}


/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .fe-benefits-grid, .fe-projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .fe-about-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .fe-section {
        padding: 55px 0;
    }
    .fe-benefits-grid, .fe-projects-grid {
        grid-template-columns: 1fr;
    }
    .fe-welcome-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }
    .fe-welcome-icon {
        padding: 12px;
        font-size: 2.2rem;
    }
    .fe-about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}