/* =========================
   ESTILOS GENERALES
========================= */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f9fa;
}

/* --- CONTENEDOR EXTERNO  --- */
.navbar-wrapper {
  width: 100%;
  background: linear-gradient(to right, #A269ED 0%, #69c5ff 50%, #38D0B2 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* --- BARRA DE NAVEGACIÓN --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px; /* controla el ancho máximo del contenido */
  margin: 0 auto;
  padding: 20px 80px;
}

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

.logo-img {
  height: 40px;
  width: auto;
}

/* --- Enlaces --- */
.nav-links {
  display: flex;
  gap: 15px;
}

.nav-button {
  text-decoration: none;
  color: #ffffff;
  background-color: transparent;
  padding: 10px 20px;
  border: 1px solid #ffffff;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background-color: #ffffff;
  color: #e91e63;
}

/* --- Botón hamburguesa --- */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px 20px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1000;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: linear-gradient(to right, #A269ED 0%, #69c5ff 50%, #38D0B2 100%);
    padding: 20px 0;
    gap: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-button {
    width: 80%;
    text-align: center;
    padding: 12px;
  }

  .logo-img {
    height: 35px;
  }
}

/* --- ANCHO EXTRA GRANDE --- */
@media (min-width: 1400px) {
  .navbar {
    max-width: 1400px;
  }
}


/* --- FOOTER GENERAL --- */
footer {
    text-align: center;
    background-color: #ffffff;
    padding: 40px 20px 20px 20px;
    border-top: 1px solid #ddd;
    margin-top: 40px;
}

footer img {
    height: 30px;
    margin-bottom: 15px;
}

footer p {
    font-size: 12px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}


/* =========================
   HERO DE LA PÁGINA PRINCIPAL
========================= */
.hero-inicio {
  background: linear-gradient(90deg, #c5f3ff 0%, #d8c5ff 100%);
  padding: 55px 8%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-inicio .hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  width: 100%;
  gap: 60px;
}

.hero-inicio .hero-text {
  flex: 1 1 500px;
  color: #5648ff;
}

.hero-inicio .hero-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-inicio .hero-text p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #5648ff;
}

.hero-inicio .hero-button {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid #5648ff;
  border-radius: 8px;
  text-decoration: none;
  color: #5648ff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-inicio .hero-button:hover {
  background-color: #5648ff;
  color: white;
}

.hero-inicio .hero-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-inicio .phone {
  width: 450px;
  max-width: 100%;
  border-radius: 25px;
}

/* =========================
   SECCIÓN DE PRESENTACIÓN (otras páginas)
========================= */
.presentacion {
  background: linear-gradient(90deg, #c5f3ff 0%, #d8c5ff 100%);
  color: #5648ff;
  text-align: center;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contenedor-presentacion {
  max-width: 900px;
}

.bienvenidos {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
}


/* =========================
   COMPAÑEROS DE GRUPO
========================= */
.group-container {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 8%;
  text-align: center;
}

.group-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #4caf50;
  background-color: #e6ffe6;
  border: 1px solid #c0e0c0;
  border-radius: 8px;
  padding: 15px 30px;
  margin-bottom: 50px;
}

/* === GRILLA === */
.group-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  align-items: stretch; /* todas las tarjetas igual de altas */
}

.group-card { background-color: white; border: 1px solid #4caf50; border-radius: 12px; padding: 20px 10px; text-align: center; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); }

/* === IMAGEN === */
.group-photo-placeholder {
  width: 100px;
  height: 100px;
  background-color: #ccc;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

/* === TEXTO === */
.group-name {
  font-size: 1.2em;
  font-weight: bold;
  color: #ff57cb;
  margin-bottom: 8px;
}

.group-career {
  font-size: 0.9em;
  color: #f96497;
  margin-bottom: 25px;
  line-height: 1.3;
}

/* === BOTÓN === */
.profile-button {
  margin-top: auto; 
  text-decoration: none;
  font-weight: bold;
  color: #f4589f;
  border: 2px solid #f762a1;
  padding: 8px 20px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.profile-button:hover {
  background-color: #f0f8ff;
}


/* =========================
   DATOS ACADÉMICOS
========================= */
.data-container {
  max-width: 1200px; 
  margin: 80px auto;
  padding: 0 8%; 
}

.data-title {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  color: #e85bc2;
  background-color: #f5f0ff;
  border: 1px solid #dcd0ff;
  border-radius: 8px;
  padding: 15px 30px;
  margin-bottom: 50px;
}

.data-columns {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  text-align: left;
  flex-wrap: wrap;
}

.data-col {
  flex: 1 1 300px;
  min-width: 250px;
}

.data-heading-main,
.data-heading-sub {
  font-weight: bold;
  color: #5d3f9b;
}

.data-text {
  font-size: 0.95em;
  color: #a781f5;
}

/* =========================
   PÁGINA PLAN
========================= */



.plan .brief-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.plan .brief-section {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #c0e0c0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.plan .brief-section h2 {
    font-size: 28px;
    font-weight: bold;
    color: #568660;
}

.plan .brief-section p,
.plan .brief-section li {
    font-size: 16px;
    line-height: 1.6;
    color: #40643a;
}

.plan .column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.plan .user-persona-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.plan .user-persona-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.plan .user-persona-info h3 {
    color: #617854;
    margin: 0 0 10px;
}

.plan .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.plan .feature-card {
    background-color: rgba(249, 249, 249, 0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid rgba(86, 121, 64, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.plan .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.plan .feature-card h3 {
    color: #ea437c;
    font-size: 20px;
    margin-bottom: 10px;
}

.ui-kit-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.ui-kit-img {
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid #c0e0c0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* =========================
   PÁGINA MAPA
========================= */
body.mapa {
  background-color: #f9fff9;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

/* Reutiliza el estilo de Plan */
.mapa .brief-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mapa .brief-section {
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #c0e0c0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mapa .brief-section h2 {
  font-size: 28px;
  font-weight: bold;
  color: #568660;
  margin-bottom: 15px;
}

.mapa .brief-section p {
  font-size: 16px;
  line-height: 1.6;
  color: #40643a;
  margin-bottom: 25px;
}

.mapa iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}


/* =========================
   PÁGINA APP
========================= */
body.app {
  background-color: #f9fff9;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

/* Igual que el plan/mapa */
.app .brief-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.app .brief-section {
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #c0e0c0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.app .brief-section h2 {
  font-size: 28px;
  font-weight: bold;
  color: #568660;
  margin-bottom: 15px;
}

.app .brief-section p {
  font-size: 16px;
  line-height: 1.6;
  color: #40643a;
  margin-bottom: 25px;
}

.app iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
