/* RESET GENERAL */
* {
    margin: 0;
    padding: 0;
    box-box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #ffffff 60%, #e8e4f5 100%);
    color: #1a1a1a;
    padding: 0;
    min-height: 100vh;
   overflow-x: hidden; 
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #0c0c0c;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 14px;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* HEADER Y BANNER */
.profile-header {
    width: 100%;
    background-color: #fff;
    position: relative;
    margin-bottom: 60px; /* Espacio para que el contenido de abajo no suba tanto */
}

.banner-container {
    width: 100%;
    height: 250px;  /* ← subí la altura */
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-content {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.avatar-wrapper {
    position: absolute;
    top: -85px;  /* ← antes era -85px, lo bajamos */
    left: 20px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 6px solid #fff;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.foto-perfil {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-text {
    padding-top: 85px;  /* ← antes era 85px */
    padding-bottom: 20px;
}

.profile-text h1 {
    font-size: 32px;
    letter-spacing: -1px;
}

.profile-text h2 {
    font-size: 18px;
    font-weight: 300;
    color: #666;
}

/* CONTENIDO PRINCIPAL */
.main-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.lista-materias {
    list-style: none;
    columns: 1;
    padding: 0;
    margin: 0;
}

.lista-materias li {
    padding: 8px 0;
    border-bottom: 1px solid #f0ede8;
    font-size: 14px;
    color: #1a1a1a;
}

.lista-materias li:last-child {
    border-bottom: none;
}

.wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
     border: 1px solid rgba(0,0,0,0.2);
    box-shadow: none;
    display: flex;
    flex-direction: row;
}

.wrapper__foto {
    flex: 1;
    min-height: 400px;
    overflow: hidden;
}

.wrapper__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wrapper__contenido {
    flex: 1;
    padding: 28px;
    background-color: #fff;
    border-left: 1px solid rgba(0,0,0,0.2);
}
 
/* ── Botón principal ── */
.toggle-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 22px;
  background-color: #000000;
  color: #bec2fd;
  border: none;
  cursor: pointer;
  font-family: 'space grotesk', sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s;
  border-radius: 1 px;  /* ← agregá esta línea */
}

 
.toggle-btn:hover {
  background-color: #272727;
}
 
.toggle-btn .chevron {
  font-size: 18px;
  display: inline-block;
  transition: transform 0.3s ease;
  line-height: 1;
}
 
.toggle-btn.open .chevron {
  transform: rotate(180deg);
}
 
/* ── Panel desplegable ── */
.panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.3s ease;
  background-color: #fff;
  border-left: 1px solid rgba(0,0,0,0.2);
  border-right: 1px solid rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(0,0,0,0.2);
}
 
.panel.open {
  max-height: 1000px;
  opacity: 1;
}
 
.panel-inner {
  padding: 24px 28px 28px;
}
 
/* ── Secciones ── */
.section {
  margin-bottom: 24px;
}
 
.section:last-child {
  margin-bottom: 0;
}
 
.section-title {
  font-family: 'space grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}
 
/* ── Filas de datos ── */
.row {
  display: flex;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  font-size: 14px;
  line-height: 1.5;
}
 
.row:last-child {
  border-bottom: none;
}
 
.row-label {
  color: #888;
  min-width: 130px;
  flex-shrink: 0;
  font-size: 13px;
}
 
.row-value {
  color: #1a1a1a;
  font-weight: normal;
}
 
.row-value.placeholder {
  color: #aaa;
  font-style: italic;
}

.academico {
  margin-bottom: 40px;
}

.niveles-grid {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 200px;  /* ← agregá esto */
}

.nivel-card {
  flex: 1;
  min-height: 180px;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,0.2);
  box-shadow: none;
  overflow: visible;
  position: relative;
  cursor: default;
  z-index: 1;
}

.nivel-card__frente {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: opacity 0.3s;
}

.nivel-card__numero {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
}

.nivel-card__titulo {
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.3;
}

.nivel-card__detalle {
  position: relative;  /* ← cambiá absolute por relative */
  top: auto;
  left: auto;
  right: auto;
  background-color: #fff;
  padding: 20px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s, max-height 0.4s ease;
  border: none;
}

.nivel-card:hover {
  z-index: 10;
}

.nivel-card:hover .nivel-card__frente {
  display: none;  /* ← ocultá el frente en lugar de opacity 0 */
}

.nivel-card:hover .nivel-card__detalle {
  opacity: 1;
  max-height: 600px;
}

.nivel-card__subtitulo {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 12px;
}

.nivel-card__detalle ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nivel-card__detalle ul li {
  font-size: 12px;
  color: #333;
  line-height: 1.4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #f5f5f5;
  padding-bottom: 6px;
}

.badge {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge--aprobado {
  background-color: #ede9fb;
  color: #6c5ce7;
}

.badge--encurso {
  background-color: #fce4ef;
  color: #c2547a;
}

.badge--pendiente {
  background-color: #f0f0f0;
  color: #999;
}

.footer {
    background-color: #ffffff;
    color: rgba(41, 39, 39, 0.4);
    text-align: center;
    padding: 24px 40px;
    font-size: 11px;
    line-height: 1.7;
    margin-top: 0;
    font-style: italic;
    letter-spacing: 0.03em;
}

.footer p {
    max-width: 700px;
    margin: 0 auto;
}
Queda más compacto, sin tanto espacio vacío y con el texto bien contenido en el centro.




.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 0;  /* ← cambiá el valor anterior por 0 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  list-style: none;
  min-width: 200px;
  z-index: 999;
  overflow: hidden;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 18px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.15s;
}

.dropdown-menu li a:hover {
  background-color: #f4f4f4;
}

.btn-portfolio {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 24px;
  border: 1.5px solid #7B6FE0;
  border-radius: 0;  /* ← tiene que estar en 0 */
  color: #7B6FE0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-portfolio:hover {
  background-color: #7B6FE0;
  color: #fff;
  border-radius: 0;  /* ← agregá esta línea */
}

.porcentaje {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: none;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    height: 200px;
}

.porcentaje__foto {
    position: absolute;
    inset: 0;
    opacity: 1;
    transition: opacity 0.4s;
}

.porcentaje__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.porcentaje__contenido {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 32px 40px;
    opacity: 0;
    transition: opacity 0.4s;
    background-color: #fff;
    gap: 40px;
}


.porcentaje__izq {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.porcentaje__numero {
    font-size: 72px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -3px;
    line-height: 1;
}

.porcentaje__label {
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: 0;
    text-transform: none;
}

.porcentaje__divisor {
    width: 1px;
    height: 80px;
    background-color: #1a1a1a;
    flex-shrink: 0;
}

.porcentaje__der {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.porcentaje__falta {
    font-size: 13px;
    color: #1a1a1a;
}

.porcentaje__frase {
    font-size: 13px;
    color: #1a1a1a;
}

.porcentaje:hover .porcentaje__foto {
    opacity: 0;
}

.porcentaje:hover .porcentaje__contenido {
    opacity: 1;
}

/* ── HERO ── */
.hero {
    border-bottom: 1px solid #1a1a1a; 
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    background-image: url('../hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: visible;  /* ← cambiá hidden por visible */
    padding: 0 20px;
    box-sizing: border-box;
}

.hero__noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.3;
}

.hero__nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    display: flex;
    justify-content: space-between; /* VERSION NUEVA */
    align-items: center;
    padding: 24px 40px;
    box-sizing: border-box;
    overflow: visible;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.hero__logo {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #1a1a1a;
}

.hero__links {
    display: flex;
    list-style: none;
    gap: 20px;  /* ← subí a 20px */
}

.hero__links a {
   text-decoration: none;
    color: #1a1a1a;
    font-weight: 300;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.hero__links a:hover {
    color: #333;
    text-decoration: underline;
}

.hero__content {
    background-attachment: fixed; 
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    z-index: 1;
}

.hero__foto {
    width: 280px;
    height: 350px;
    flex-shrink: 0;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.6);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.hero__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__texto {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.hero__name {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -1px;
    color: #1a1a1a;
    margin-bottom: 0;
}

.hero__role {
    font-size: 16px;
    font-weight: 300;
    color: #333;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

.hero__tagline {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 0;
}

.hero__cta {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    margin-bottom: 0;
}

.btn {
    padding: 12px 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn--primary {
    background-color: transparent;
    color: #1a1a1a;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.btn--primary::after {
    content: 'Ver sitio';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn--primary:hover::after {
    opacity: 1;
}

.btn--ghost {
    background-color: transparent;
    color: #1a1a1a;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.btn--ghost::after {
    content: 'Ver sitio';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn--ghost:hover::after {
    opacity: 1;
}

.hero__scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero__scroll-line {
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: #555;
}

/* dropdown dentro del hero */
.hero__links .dropdown {
    position: relative;
}

.hero__links .dropdown-menu {
    background-color: #fff;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;  /* ← subí el valor */
}

.hero__links .dropdown-menu a {
    color: #333;
    text-transform: uppercase;
    font-size: 12px;
}

.hero__links .dropdown:hover .dropdown-menu {
    display: block;
}

/* ── CURSOR ── */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: #1a1a1a;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(2);
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid #1a1a1a;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: left 0.12s ease, top 0.12s ease, transform 0.3s ease;
}

.cursor-ring.hover {
    transform: translate(-50%, -50%) scale(1.5);
}

.separador {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.2);
  margin: 40px 0;
}



.proceso {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.proceso__titulo {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #1a1a1a;
    margin-bottom: 32px;
    margin-top: 40px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.proceso__grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.proceso__texto {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.proceso__texto p {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}

.proceso__imagenes {
    flex: 1;
    overflow: hidden;
    height: 500px;
    position: relative;
}

.proceso__imagenes .carrusel-auto__track {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease;
    width: 100%;
}

.proceso__imagenes .carrusel-auto__track img {
    min-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
}

.Foja académica {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.Foja académica__titulo {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #888;
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 1px solid #1a1a1a;
}

.estela {
    position: fixed;
    width: 6px;
    height: 6px;
    background-color: #a89fd8;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s;
}


@keyframes subirFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__foto {
    animation: subirFadeIn 0.8s ease forwards;
}

.hero__texto {
    animation: subirFadeIn 0.8s ease 0.2s forwards;
    opacity: 0;
}

.miscelanea {
    position: absolute;
    font-size: 24px;
    font-weight: 300;
    color: #1a1a1a;
    cursor: none;
    z-index: 2;
    transition: transform 0.2s;
    user-select: none;
}

.miscelanea:hover {
    transform: scale(1.5);
}

.miscelanea-foto {
    position: fixed;
    width: 250px;
    height: auto;
    pointer-events: none;
    z-index: 9996;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.3s, transform 0.3s;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.miscelanea-foto img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.miscelanea-foto.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.integrantes {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.integrantes__grid {
    display: flex;
    gap: 20px;
}

.integrante-card {
    flex: 1;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 50px;
    padding: 20px 28px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s, color 0.3s;
    position: relative;
    overflow: hidden;
}

.integrante-nombre {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
    transition: opacity 0.3s;
}

.integrante-carrera {
    font-size: 12px;
    color: #888;
    transition: opacity 0.3s;
}

.integrante-hover {
    position: absolute;
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s;
}

.integrante-card:hover {
    background-color: #1a1a1a;
}

.integrante-card:hover .integrante-nombre,
.integrante-card:hover .integrante-carrera {
    opacity: 0;
}

.integrante-card:hover .integrante-hover {
    opacity: 1;
}

@media (max-width: 768px) {

    .hero__content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 80px 20px 40px;
    }

    .hero__foto {
        width: 200px;
        height: 250px;
    }

    .hero__texto {
        text-align: center;
    }

    .hero__name {
        font-size: 36px;
    }

    .hero__cta {
        justify-content: center;
    }


    .hero__links {
        gap: 12px;
    }

    .hero__links a {
        font-size: 10px;
    }

    /* NIVELES */
    .niveles-grid {
        flex-direction: column;
        gap: 10px;
    }

    .nivel-card {
        min-height: 60px;
    }

    /* PORCENTAJE */
    .porcentaje__contenido {
        flex-direction: column;
        gap: 16px;
        padding: 24px 20px;
    }

    .porcentaje__divisor {
        width: 40px;
        height: 1px;
    }

    .porcentaje__numero {
        font-size: 48px;
    }

    /* WRAPPER DATOS */
    .wrapper {
        flex-direction: column;
    }

    .wrapper__foto {
        min-height: 250px;
    }

    .wrapper__contenido {
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.2);
    }

    /* INTEGRANTES */
    .integrantes__grid {
        flex-direction: column;
    }
}