@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');

:root {
    --uniaro-orange: #ff4f01;
    --uniaro-green: #98FF98;
    /* Verde Claro (Fondos oscuros) */
    --uniaro-green-dark: #006039;
    /* Verde Oscuro Solido (Legibilidad Total) */
    --uniaro-dark-blue: #0A0F1E;
    /* Para contrastes */
    --text-heading: #1a1a1a;
    --text-body: #666666;
    --header-height: 150px;
    --topbar-height: 60px;
    /* Aumentado para dar aire al botón */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    background-color: #ffffff;
    color: var(--text-body);
}

/* --- HEADER ESTRUCTURA UNIARO --- */
header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.top-bar {
    height: var(--topbar-height);
    background-color: var(--uniaro-green);
    /* Sustituyendo el azul por el verde claro */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 700;
}

.top-bar .btn-request {
    background-color: var(--uniaro-orange);
    color: white;
    padding: 10px 20px;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
}

.main-header {
    height: calc(var(--header-height) - var(--topbar-height));
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
}

.logo img {
    height: 46px;
    /* Proporción exacta Uniaro */
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-heading);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--uniaro-orange);
}

/* --- HERO SECTION REPLICA UNIARO --- */
.hero {
    margin-top: var(--header-height);
    height: 705px;
    /* Altura exacta Uniaro */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%), url('https://images.unsplash.com/photo-1541829070764-84a7d30dd3f3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    /* Imagen de calidad */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* El recorte naranja característico de Uniaro */
.hero::before {
    content: '';
    position: absolute;
    right: -100px;
    top: 0;
    width: 600px;
    height: 100%;
    background-color: var(--uniaro-orange);
    transform: skewX(-15deg);
    opacity: 0.95;
    z-index: 1;
}

.hero-container {
    width: 1110px;
    /* Ancho contenedor Uniaro */
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--uniaro-green);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.hero h1 {
    font-size: 65px;
    /* Tamaño exacto Uniaro */
    line-height: 80px;
    /* Proporción exacta */
    color: white;
    font-weight: 700;
    margin-bottom: 30px;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn-master {
    padding: 13px 31px;
    /* Proporción exacta */
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    /* Uniaro usa bordes rectos */
    transition: 0.3s;
}

.btn-orange {
    background-color: var(--uniaro-orange);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--text-heading);
}

.btn-master:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Stats (Uniaro style) */
.stats {
    padding: 50px 0;
    display: flex;
    justify-content: center;
    gap: 100px;
    background: #f8f8f8;
}

.stat-box {
    text-align: center;
}

.stat-box h2 {
    font-size: 45px;
    color: var(--uniaro-orange);
    margin-bottom: 5px;
}

.stat-box p {
    font-weight: 700;
    color: var(--text-heading);
    text-transform: uppercase;
    font-size: 14px;
}

/* --- SECCIONES GENERALES --- */
.section-padding {
    padding: 100px 0;
}

.bg-gray {
    background-color: #f8f9fa;
}

.container {
    width: 1110px;
    margin: 0 auto;
    max-width: 90%;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-subtitle {
    color: var(--uniaro-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
    font-size: 14px;
}

.section-title h2 {
    font-size: 45px;
    color: var(--text-heading);
    font-weight: 700;
    text-transform: uppercase;
}

/* --- ABOUT SECTION (El Método) --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img {
    position: relative;
    border-radius: 0;
}

.about-img img {
    width: 100%;
    display: block;
    box-shadow: 20px 20px 0px var(--uniaro-orange);
}

.about-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-heading);
}

.check-list {
    list-style: none;
    margin: 30px 0;
}

.check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--text-body);
    font-weight: 400;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--uniaro-green);
    font-size: 18px;
}

/* --- FEATURES SECTION (Icon Boxes) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 50px 40px;
    transition: 0.4s;
    border-bottom: 3px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    top: 0;
}

.feature-card:hover {
    top: -10px;
    border-bottom-color: var(--uniaro-orange);
}

.feature-icon {
    font-size: 50px;
    color: var(--uniaro-orange);
    margin-bottom: 30px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-heading);
    text-transform: uppercase;
    font-weight: 700;
}

.feature-card p {
    font-size: 16px;
    line-height: 28px;
    color: var(--text-body);
}

/* --- COURSES SECTION --- */
.course-card {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-thumb {
    height: 240px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    position: relative;
}

.course-price {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--uniaro-orange);
    color: white;
    padding: 5px 15px;
    font-weight: 700;
    font-size: 14px;
}

.course-body {
    padding: 30px;
}

.course-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
}

.course-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-heading);
}

.course-link {
    display: inline-block;
    color: var(--uniaro-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 2px solid var(--uniaro-green);
}

/* --- AJUSTE VERDE VISIBLE (NEGRITA) --- */
.text-green-bold {
    color: #2ecc71;
    /* Un tono más sólido que el pastel, pero vibrante */
    font-weight: 900 !important;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
}

/* --- STUDENT CENTER (Centro de Alumnos) --- */
.student-center-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.tool-card {
    background: white;
    padding: 30px 20px;
    border: 2px solid #eee;
    text-align: center;
    transition: 0.3s;
    border-radius: 8px;
    cursor: pointer;
}

.tool-card:hover {
    border-color: var(--uniaro-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    font-size: 40px;
    color: var(--text-heading);
    margin-bottom: 20px;
}

.tool-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-heading);
}

.tool-card p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.4;
}

/* --- COMUNIDAD SECTION --- */
.community-box {
    background: var(--uniaro-green);
    /* Fondo verde marca */
    border-radius: 0px;
    padding: 80px 0;
    color: var(--text-heading);
}

.community-content h2 {
    color: #1a1a1a;
    font-weight: 900;
}

.btn-black {
    background: #1a1a1a;
    color: white;
}

.btn-black:hover {
    background: #333;
    color: white;
}

/* --- ESTILOS MODAL IA (VISION) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    width: 500px;
    max-width: 90%;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: slideUp 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    transition: 0.2s;
}

.close-modal:hover {
    color: var(--uniaro-orange);
}

.modal-header h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.upload-zone {
    border: 3px dashed #ddd;
    border-radius: 15px;
    padding: 40px;
    margin: 20px 0;
    cursor: pointer;
    transition: 0.3s;
    background: #f9f9f9;
}

.upload-zone:hover {
    background: #fff;
    border-color: var(--uniaro-orange);
}

/* Spinner de Carga */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--uniaro-orange);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.result-text {
    text-align: left;
    background: #f0fdf4;
    /* Verde muy claro */
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--uniaro-green-dark);
    font-size: 15px;
    line-height: 1.6;
    max-height: 300px;
    overflow-y: auto;
}