html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

.split-layout {
    display: flex;
    width: 100vw;
    min-height: 100vh;
}

.left-side {
    width: 30%;
    background-color: #050505;
    color: #ffffff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 10;
}

.brand {
    font-family: monospace;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.terminal-user {
    color: #a6e22e;
}

.blink {
    animation: blinker 1s linear infinite;
    color: #ffffff;
}

@keyframes blinker {
    50% { opacity: 0; }
}

.contact-info {
    margin-top: auto;
    margin-bottom: 35px;
}

.label {
    font-size: 0.75rem;
    color: #555555;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-family: monospace;
}

.value {
    font-size: 0.85rem;
    color: #cccccc;
    margin-bottom: 25px;
    font-family: monospace;
}

.social-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-title {
    font-family: monospace;
    font-size: 0.75rem;
    color: #555555;
    letter-spacing: 1px;
}

.social-icons a {
    color: #555555;
    text-decoration: none;
    margin-right: 22px;
    font-size: 1.25rem;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.social-icons a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.right-side {
    width: 70%;
    margin-left: 30%;
    background-color: #fcfcfc;
    color: #000000;
    padding: 60px 8% 60px 8%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.status-indicator {
    position: absolute;
    top: 60px;
    right: 60px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #666666;
    font-weight: bold;
}

.status-dot {
    width: 7px;
    height: 7px;
    background-color: #a6e22e;
    border-radius: 50%;
    box-shadow: 0 0 8px #a6e22e;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(166, 226, 46, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(166, 226, 46, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(166, 226, 46, 0); }
}

.hero-wrapper {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-content {
    max-width: 550px;
}

.main-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -1px;
    margin-bottom: 25px;
    color: #0d0d0d;
}

.tagline {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 35px;
}

.action-btn {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    padding: 18px 35px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.18);
}

.extra-section {
    max-width: 800px;
    padding-bottom: 100px;
}

.divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 50px 0;
}

.info-block h3 {
    font-size: 0.9rem;
    color: #999999;
    margin-bottom: 30px;
    font-family: monospace;
    letter-spacing: 1px;
}

.block-desc {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 25px;
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.academic-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: transform 0.2s;
}

.academic-card:hover {
    transform: translateY(-3px);
}

.academic-card h4 {
    font-size: 1.1rem;
    color: #111111;
    margin-bottom: 6px;
}

.professor {
    font-size: 0.85rem;
    font-weight: bold;
    color: #ff7676;
    margin-bottom: 12px;
}

.academic-card .professor a {
    color: #ff7676 !important; 
    text-decoration: none !important; 
    transition: color 0.2s, opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px; 
}

.academic-card .professor a:hover {
    color: #ff5252 !important; 
    opacity: 0.9;
}

.academic-card .professor a i {
    font-size: 0.9rem;
}

.details {
    font-size: 0.88rem;
    color: #666666;
    line-height: 1.6;
}

.peers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.peer-card {
    background-color: #f4f4f4;
    color: #000000;
    text-decoration: none;
    padding: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    font-family: monospace;
    border-left: 3px solid #000000;
    transition: background-color 0.2s, color 0.2s;
}

.peer-card:hover {
    background-color: #000000;
    color: #ffffff;
}

.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.skill-tag {
    font-family: monospace;
    font-size: 0.85rem;
    color: #333333;
    background-color: #f0f0f0;
    padding: 10px 20px;
    border-radius: 4px;
    border-left: 2px solid #ff7676;
    font-weight: bold;
}

/* --- SECCIÓN DE SKILLS EN CÁPSULAS (Ref: image_6d311b.png) --- */
.tech-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 15px;
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    border: 1.5px solid #ff7676;
    border-radius: 50px;
    padding: 10px 24px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.tech-pill:hover {
    background-color: #000000;
    border-color: #000000;
}

.tech-pill:hover .pill-text,
.tech-pill:hover .pill-icon {
    color: #ffffff;
}

.pill-icon {
    font-size: 1.1rem;
    color: #111111;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.font-code {
    font-family: monospace;
    font-weight: bold;
    font-size: 0.95rem;
}

.pill-text {
    font-family: monospace;
    font-size: 0.9rem;
    font-weight: bold;
    color: #111111;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

/* --- SECCIÓN DE GUSTOS --- */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.interest-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    padding: 30px 25px;
    transition: all 0.2s ease;
}

.interest-card:hover {
    border-color: #000000;
    transform: translateY(-2px);
}

.interest-icon {
    font-size: 1.5rem;
    color: #ff7676;
    margin-bottom: 15px;
}

.interest-card h5 {
    font-size: 1rem;
    color: #111111;
    font-weight: bold;
    margin-bottom: 10px;
}

.interest-card p {
    font-size: 0.85rem;
    color: #666666;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .split-layout {
        flex-direction: column;
    }
    .left-side {
        position: relative;
        width: 100%;
        height: auto;
        padding: 40px;
    }
    .right-side {
        width: 100%;
        margin-left: 0;
        padding: 40px;
    }
    .status-indicator {
        position: absolute;
        top: 30px;
        right: 40px;
    }
    .main-title {
        font-size: 2.8rem;
    }
}
.no-link-prof {
    color: #ff7676;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: default;
}