/* Restablecimiento Estético */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
    border: none;
}

body {
    background-color: #080c14;
    /* Fondo oscuro cinematográfico profundo */
    color: #f3f4f6;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 1. ESTILO DE LA SECCIÓN PERFIL */
.seccion-perfil {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: radial-gradient(circle at 90% 10%, rgba(139, 92, 246, 0.15), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(6, 182, 212, 0.1), transparent 40%);
}

.contenedor-perfil {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Imagen izquierda, texto derecha */
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .contenedor-perfil {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.recuadro-foto-perfil {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.recuadro-foto-perfil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.recuadro-foto-perfil:hover img {
    filter: grayscale(0%);
}

.borde-neon {
    position: absolute;
    inset: 0;
    border: 2px solid #8b5cf6;
    border-radius: 24px;
    pointer-events: none;
    box-shadow: inset 0 0 15px rgba(139, 92, 246, 0.3);
}

.casilla-info-perfil .etiqueta-universidad {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.casilla-info-perfil h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-top: 15px;
    background: linear-gradient(135deg, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.casilla-info-perfil h2 {
    font-size: 1.5rem;
    color: #22d3ee;
    /* Color cian neón */
    font-weight: 500;
    margin-bottom: 20px;
}

.casilla-info-perfil p {
    color: #9ca3af;
    font-size: 1.1rem;
    max-width: 500px;
}

/* 2. ESTILO DE LA SECCIÓN ACERCA DE MÍ */
.seccion-acerca {
    padding: 100px 20px;
    background-color: #0b111e;
    /* Contraste ligero de fondo */
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.contenedor-acerca {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Cambia el orden para dinamismo */
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .contenedor-acerca {
        grid-template-columns: 1fr;
    }
}

.recuadro-imagen-acerca {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.recuadro-imagen-acerca img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.texto-acerca h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.texto-acerca p {
    color: #9ca3af;
    margin-bottom: 30px;
}

.habilidades span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-right: 10px;
    color: #d1d5db;
}

/* 3. ESTILO DE LA SECCIÓN PROYECTOS */
.seccion-proyectos {
    max-width: 1100px;
    margin: 100px auto;
    padding: 0 20px;
}

.cabecera-proyectos {
    text-align: center;
    margin-bottom: 50px;
}

.cabecera-proyectos h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cabecera-proyectos p {
    color: #9ca3af;
}

.grid-proyectos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.tarjeta-proyecto {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.miniatura-proyecto {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.miniatura-proyecto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tarjeta-proyecto:hover {
    transform: translateY(-10px);
    border-color: #22d3ee;
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.1);
}

.tarjeta-proyecto:hover .miniatura-proyecto img {
    transform: scale(1.05);
}

.info-proyecto {
    padding: 25px;
}

.info-proyecto h4 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.info-proyecto p {
    color: #9ca3af;
    font-size: 0.95rem;
}

/* 4. ESTILO DE LA SECCIÓN CONTACTO */
.seccion-contacto {
    background-color: #04060a;
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.seccion-contacto h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.seccion-contacto p {
    color: #9ca3af;
    margin-bottom: 40px;
}

.canales-contacto {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.enlace-contacto {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.01);
    transition: all 0.3s ease;
}

.enlace-contacto:hover {
    background: #ffffff;
    color: #080c14;
    border-color: #ffffff;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.copyright {
    font-size: 0.85rem;
    color: #4b5563 !important;
}

/* ==========================================
   ESTILO DE LA SECCIÓN PROGRAMAS QUE DOMINO 
   ========================================== */
.seccion-programas {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.cabecera-programas {
    text-align: center;
    margin-bottom: 40px;
}

.cabecera-programas h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.cabecera-programas p {
    color: #9ca3af;
    font-size: 1rem;
}

.grid-programas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    justify-content: center;
}

.tarjeta-programa {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 14px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #e5e7eb;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efecto Neón Violeta al pasar el cursor */
.tarjeta-programa:hover {
    background: rgba(139, 92, 246, 0.05);
    border-color: #8b5cf6;
    color: #ffffff;
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.1);
}





/* ── CONTACTO ── */

#contacto {
    background-color: #0b111e;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 6vw;
    text-align: center;
}

.title-form {
    color: #fff;
    font-size: 2rem;
    padding-bottom: 4vw;
    text-shadow:
    0 0 5px #000000, 
    0 0 7px #8b5cf6,
    0 0 15px #521ecd,
    0 0 25px #521ecd;
}


#contacto p {
    max-width: 65vw;
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}


#miFormulario {
    text-align: center;
    max-width: 50vw;
    margin: 0 auto;
    padding-top: 1vw;
    padding-bottom: 6vw;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-form,
.textarea-form,
.email-form,
.boton-submit {
    min-width: 45vw;
    max-width: 50vw;
    background: transparent;
    padding: 15px;
    border: 1.5px solid #8b5cf6;
    box-shadow:
        0 0 5px #8354f2,
        0 0 7px #521ecd;
    border-radius: 5px;
    font-size: 1rem;
}

.boton-submit {
    color: #ffffff;
    background: transparent;
    cursor: pointer;
    font-weight: bold;
    box-shadow:
        5px 5px 5px #8b5cf6,
        5px 5px 7px #8b5cf6,
        5px 5px 20px #521ecd;
    outline: none;
}