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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #FFFFFF 0%, #73C9BA 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* --- HEADER --- */
.header {
  width: 100%;
  height: 120px;
  background-color: #FB6F92;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 60px;
  width: auto;
}

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

.nav-menu li {
  display: inline-block;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  transition: opacity 0.3s ease;
}

.nav-menu a:hover {
  opacity: 0.8;
}

/* --- SECCIÓN DE PRESENTACIÓN --- */
.presentation-section {
  display: flex;
  align-items: center;
  padding: 60px 100px;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.camera-image {
  flex-shrink: 0;
}

.camera-image img {
  max-width: 450px;
  height: auto;
}

.info-card {
  width: 100%;
  max-width: 700px;
  background-color: #6ED3C7;
  border-radius: 30px;
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-text h2 {
  font-weight: 700;
  font-size: 42px;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0;
}

.info-text h3 {
  font-weight: 500;
  font-size: 42px;
  color: #FFFFFF;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.info-text p {
  font-weight: 400;
  font-size: 18px;
  color: #FFFFFF;
  line-height: 1.6;
  margin: 0 0 30px 0;
}

.button-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.info-button {
  flex: 1;
  min-width: 180px;
  height: 50px;
  background-color: #FFFFFF;
  border: none;
  border-right: 4px solid #2FA19D;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  color: #FB6F92;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  text-decoration: none;
}

.info-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- SECCIÓN EQUIPO Y WEBAPP --- */
.team-webapp-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 100px;
}

.team-card,
.webapp-card {
  background-color: #fff;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-weight: 700;
  font-size: 28px;
  color: #2FA19D;
  margin: 0 0 20px 0;
  padding-bottom: 15px;
  border-bottom: 3px solid #2FA19D;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.member-item {
  width: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.member-photo {
  position: relative;
  width: 100%;
  background: #f3f3f3;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: rotate(-1.5deg);
  overflow: visible;
}

.member-item:nth-child(2) .member-photo {
  transform: rotate(1.5deg);
}

.member-photo img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

.member-info {
  margin-top: 20px;
  text-align: center;
  background-color: #FB6F92;
  color: #fff;
  padding: 15px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

.member-info:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.member-name {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 5px 0;
}

.member-role {
  font-weight: 400;
  font-size: 14px;
  margin: 0;
}

.webapp-poster {
  width: 100%;
  margin-top: 30px;
  background-color: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.webapp-poster a {
  display: block;
}

.webapp-poster img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.25s ease;
}

.webapp-poster:hover img {
  transform: scale(1.02);
}

/* --- MI EGO BAILARÍN --- */
.ego-bailarin-section {
  max-width: 1400px;
  margin: 40px auto;
  padding: 40px 50px;
  background-color: #FFFFFF;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.ego-main-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #2FA19D;
  margin: 0 0 40px 0;
  padding-bottom: 15px;
  border-bottom: 3px solid #2FA19D;
}

.ego-bailarin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.ego-bailarin-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ego-bailarin-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #FF85A8 0%, #FB6F92 100%);
  padding: 18px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(251, 111, 146, 0.3);
}

.ego-bailarin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.ego-bailarin-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #2FA19D;
  margin: 0 0 10px 0;
}

.ego-bailarin-desc {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #2FA19D;
  line-height: 1.6;
  margin: 0;
  padding: 0 10px;
}

/* --- MI EGO DISEÑADOR --- */
.ego-disenador-section {
  max-width: 1400px;
  margin: 40px auto;
  padding: 40px 50px;
  background-color: #FFFFFF;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.design-project {
  margin-bottom: 40px;
}

.design-project:last-child {
  margin-bottom: 0;
}

.design-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #FB6F92;
  margin: 0 0 8px 0;
}

.design-desc {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #FB6F92;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.design-photo {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(251, 111, 146, 0.3);
  background: linear-gradient(135deg, #FF85A8 0%, #FB6F92 100%);
  padding: 20px;
}

.design-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* --- MI DESEMPEÑO --- */
.desempeno-section {
  max-width: 1400px;
  margin: 40px auto;
  padding: 60px 100px;
  background-color: #FB6F92;
  border-radius: 30px;
}

.desempeno-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #FFFFFF;
  margin: 0 0 40px 0;
  padding-bottom: 20px;
  border-bottom: 3px solid #FFFFFF;
}

.desempeno-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.desempeno-card {
  background-color: #FFFFFF;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.desempeno-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #2FA19D;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #2FA19D;
}

.desempeno-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desempeno-list li {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #2FA19D;
  margin-bottom: 8px;
  line-height: 1.5;
}

.desempeno-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.finales-card,
.porcentaje-card {
  background-color: #2FA19D;
  border-radius: 20px;
  padding: 30px;
  color: #FFFFFF;
  text-align: center;
}

.finales-title,
.porcentaje-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #FFFFFF;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #FFFFFF;
}

.finales-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.finales-list li {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.5;
}

.porcentaje-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 56px;
  color: #FFFFFF;
  margin: 0;
}

/* --- PROTOTIPOS --- */
.prototipos-section {
  max-width: 1400px;
  margin: 40px auto;
  padding: 40px 100px;
  background-color: #6ED3C7;
  border-radius: 30px;
}

.prototipos-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #FFFFFF;
  margin: 0 0 30px 0;
  padding-bottom: 15px;
  border-bottom: 3px solid #FFFFFF;
}

.prototipos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.prototipo-item {
  background-color: #FFFFFF;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.prototipo-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #FB6F92;
  text-align: center;
}

/* --- DATOS ACADÉMICOS --- */
.datos-academicos-section {
  max-width: 1400px;
  margin: 40px auto;
  padding: 60px 100px;
  background-color: #FB6F92;
  border-radius: 30px;
}

.datos-academicos-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #FFFFFF;
  margin: 0 0 40px 0;
  padding-bottom: 15px;
  border-bottom: 3px solid #FFFFFF;
}

.datos-academicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.datos-card {
  background-color: #FFFFFF;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.datos-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #2FA19D;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #2FA19D;
  text-align: center;
}

.datos-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #2FA19D;
  margin: 12px 0;
  line-height: 1.6;
  text-align: center;
}

.datos-text strong {
  font-weight: 600;
}

.datos-footer-bar {
  background-color: #2FA19D;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.datos-footer-bar p {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #FFFFFF;
  margin: 0;
}

/* --- REDES SOCIALES --- */
.redes-section {
  max-width: 1400px;
  margin: 40px auto;
  padding: 40px 100px;
  background-color: #FB6F92;
  border-radius: 30px;
  text-align: center;
}

.redes-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #FFFFFF;
  margin: 0 0 30px 0;
  font-style: italic;
}

.redes-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.red-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #FFFFFF;
  border-radius: 50%;
  color: #FB6F92;
  font-size: 28px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.red-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  background-color: #6ED3C7;
  color: #FFFFFF;
}

/* --- FOOTER --- */
.footer-section {
  background-color: #FB6F92;
  padding: 40px 100px;
  margin-top: 0;
  text-align: center;
}

.footer-copyright {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #FFFFFF;
  margin: 0 0 15px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #FFFFFF;
}

.footer-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: #FFFFFF;
  margin: 15px 0 0 0;
  line-height: 1.6;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .header {
    height: auto;
    padding: 20px 40px;
  }

  .presentation-section,
  .team-webapp-section {
    padding: 40px;
  }

  .ego-bailarin-section,
  .ego-disenador-section,
  .desempeno-section,
  .prototipos-section,
  .datos-academicos-section,
  .redes-section,
  .footer-section {
    margin: 40px 20px;
    padding: 40px;
  }

  .ego-bailarin-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .desempeno-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .datos-academicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .team-webapp-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 20px;
  }

  .nav-menu {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    text-align: center;
  }

  .presentation-section {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .camera-image {
    order: -1;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .camera-image img {
    max-width: 100%;
    height: auto;
  }

  .info-card {
    max-width: 100%;
    order: 1;
  }

  .info-text h2,
  .info-text h3 {
    font-size: 28px;
  }

  .info-text p {
    font-size: 14px;
  }

  .button-group {
    flex-direction: column;
  }

  .info-button {
    width: 100%;
    min-width: unset;
  }

  .team-grid {
    flex-direction: column;
    align-items: center;
  }

  .member-item {
    width: 100%;
    max-width: 280px;
  }

  .ego-bailarin-section,
  .ego-disenador-section,
  .desempeno-section,
  .prototipos-section,
  .datos-academicos-section,
  .redes-section,
  .footer-section {
    margin: 30px 15px;
    padding: 25px;
  }

  .ego-main-title,
  .desempeno-title,
  .prototipos-title,
  .datos-academicos-title {
    font-size: 24px;
  }

  .ego-bailarin-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ego-bailarin-photo {
    max-width: 100%;
  }

  .desempeno-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .desempeno-bottom {
    grid-template-columns: 1fr;
  }

  .datos-academicos-grid {
    grid-template-columns: 1fr;
  }

  .redes-grid {
    gap: 20px;
  }

  .red-link {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .redes-title {
    font-size: 20px;
  }

  .footer-copyright,
  .footer-text {
    font-size: 12px;
  }
}