/* CONFIGURACIÓN GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="6" fill="%23ff00fb" stroke="%237e076e" stroke-width="2"/></svg>') 16 16, auto;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #b479e2;
    color: #333;
    overflow-x: hidden;
}

/* TIPOGRAFÍA DE TÍTULOS */
h2,
h4,
.logo span,
.nav-menu li a,
.nombre-footer,
.tag {
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.5px;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 20px;
    background: linear-gradient(90deg, #7e076e 0%, #671178 50%, #53136c 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ffffff;
    font-size: 1.2rem;
}

.navbar .logo span {
    font-weight: 700;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 700;
}

.nav-menu li a:hover {
    color: #ff00fb;
}

#menu-check,
.menu-toggle {
    display: none;
}

/* --- SECCIÓN DE PRESENTACIÓN --- */
.presentacion {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.columna-izquierda {
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
}

.tarjeta-perfil {
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 35px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Efecto de borde animado */
.tarjeta-perfil::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160%;
    height: 160%;
    background: conic-gradient(transparent, #ff00fb, #7e076e, transparent 30%);
    animation: rotar-borde 4s linear infinite;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tarjeta-perfil::after {
    content: "";
    position: absolute;
    inset: 6px;
    background: white;
    border-radius: 37px;
    z-index: -1;
}

.tarjeta-perfil:hover {
    transform: translateY(-10px);
}

.tarjeta-perfil:hover::before {
    opacity: 1;
}

@keyframes rotar-borde {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.nombre-color {
    color: #7e076e;
    font-size: 1.8rem;
    text-align: center;
    line-height: 1.2;
    font-weight: 800;
}

.descripcion {
    flex: 1.2;
    text-align: justify;
    padding: 45px;
}

.descripcion h4 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #53136c;
}

.bloque-desc p {
    line-height: 1.8;
    font-weight: 400;
    color: #444;
}

.foto-perfil img {
    width: 250px;
    height: 250px;
    border-radius: 20%;
    object-fit: cover;
    border: 5px solid #671178;
    margin: 0 auto 15px;
    display: block;
}

.cargo h4 {
    color: #53136c;
    margin-bottom: 15px;
}

.tag {
    background: #f0e6f7;
    color: #671178;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* --- FOOTER --- */
.pie-pagina {
    background: linear-gradient(90deg, #53136c 0%, #671178 50%, #7e076e 100%);
    color: #ffffff;
    padding: 25px 20px;
    margin-top: 50px;
}

.contenido-footer {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.separador {
    color: #ff00fb;
    font-weight: bold;
    opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .presentacion {
        flex-direction: column;
        padding: 30px 20px;
    }
}

@media (max-width: 850px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 28px;
        height: 3px;
        background: white;
        border-radius: 2px;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        width: 45%;
        background: #53136c;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    #menu-check:checked~.nav-menu {
        max-height: 500px;
    }

    .nav-menu li a {
        padding: 15px;
        text-align: center;
    }
}