/* RESET Y BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 600;
  color: #111;
}

section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}



/*   --- PRELOADER ---   */
/* Fondo blanco pantalla completa */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
}

/* Barra superior con degradado morado-azul */
.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 0%;
  background: linear-gradient(90deg, #7f00ff, #00c6ff);
  animation: loadProgress 2.5s ease-out forwards;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

/* Logo centrado */
.logo-container {
  text-align: center;
}

.logo {
  width: 140px;
  height: auto;
  animation: fadeIn 1.2s ease-in-out;
}

/* Animaciones */
@keyframes loadProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}





/* HERO */
.about-hero {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  min-height: 80vh;
  color: #fff;
  overflow: hidden;
}

.about-hero::before,
.about-hero::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  z-index: 1;
  pointer-events: none;
  box-sizing: border-box;
}

.about-hero::before {
  top: 2rem;
  left: 2rem;
  border-top: 4px solid;
  border-left: 4px solid;
  border-image-source: linear-gradient(to bottom right, #8e2de2, #4a00e0);
  border-image-slice: 1;
}

.about-hero::after {
  bottom: 2rem;
  right: 2rem;
  border-bottom: 4px solid;
  border-right: 4px solid;
  border-image-source: linear-gradient(to top left, #8e2de2, #4a00e0);
  border-image-slice: 1;
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
  max-width: 1100px;
  width: 100%;
  animation: fadeIn 2s ease-in-out;
  padding-top: 1rem;
  padding-left: 3rem;
  padding-right: 3rem;
  box-sizing: border-box;
}

.about-texto {
  flex: 1.5;
}

.about-acronimo {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.about-linea {
  display: flex;
  align-items: flex-start;
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.about-letra {
  font-size: 2.8rem;
  font-weight: 800;
  margin-right: 0.8rem;
  color: #00b4db;
  line-height: 1;
  flex-shrink: 0;
}

.about-i, .about-b, .about-d, .about-o {
  color: #00b4db;
}

.about-palabra {
  font-size: 1.2rem;
  color: #c084fc;
  font-weight: 400;
  line-height: 1.4;
  flex: 1;
}

.about-subtitulo {
  margin-top: 2.5rem;
  font-size: 1.25rem;
  color: #e0e0e0;
  max-width: 650px;
}

.about-icono {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-icono img {
  width: 280px;
  max-width: 100%;
  animation: slideInRight 2s ease;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .about-linea {
    justify-content: center;
    font-size: 1.8rem;
  }

  .about-letra {
    font-size: 2.5rem;
  }

  .about-palabra {
    font-size: 1.2rem;
  }

  .about-subtitulo {
    font-size: 1.1rem;
    margin-top: 2rem;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}






/* IDENTIDAD */
.identidad {
  background-color: #fff;
  text-align: center;
}

.identidad h2 {
  text-align: center;
  font-size: 2.6rem;
  background: linear-gradient(to right, #6A0DAD, #007BFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  margin-bottom: 3rem;
}

.identidad p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* VALORES */
.about-mvv {
  background: #f5f7fa;
  padding: 5rem 2rem;
  color: #1f1f1f;
}

.about-mvv-container {
  max-width: 1200px;
  margin: auto;
}

.about-mvv-titulo {
  text-align: center;
  font-size: 2.6rem;
  background: linear-gradient(to right, #6A0DAD, #007BFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  margin-bottom: 3rem;
}

.about-mvv-block {
  display: flex;
  gap: 2rem;
  margin-bottom: 3.5rem;
  align-items: flex-start;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.about-mvv-icono {
  font-size: 2.5rem;
  color: #6A0DAD;
  flex-shrink: 0;
}

.about-mvv-texto h3 {
  font-size: 1.5rem;
  color: #007BFF;
  margin-bottom: 1rem;
}

.about-mvv-texto p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}

.about-mvv-valores {
  list-style: none;
  padding-left: 0;
}

.about-mvv-valores li {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.about-mvv-valores strong {
  color: #6A0DAD;
}

@media (max-width: 768px) {
  .about-mvv-block {
    flex-direction: column;
  }

  .about-mvv-icono {
    margin-bottom: 1rem;
  }

  .about-mvv-titulo {
    font-size: 2rem;
  }
}




/* HISTORIA */
.historia-creativa {
  background: linear-gradient(to right, #ffffff, #f8faff);
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: auto;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.historia-header {
  text-align: center;
  margin-bottom: 3rem;
}

.historia-titulo {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(to right, #6A0DAD, #007BFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.historia-intro {
  color: #555;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.historia-cards {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.historia-card {
  background: #fff;
  border-left: 6px solid #6A0DAD;
  padding: 1.8rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s;
}

.historia-card:hover {
  transform: translateY(-4px);
}

.historia-etapa {
  font-size: 1rem;
  font-weight: bold;
  color: #007BFF;
  margin-bottom: 1rem;
}

.historia-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.resaltado {
  font-weight: 600;
  color: #6A0DAD;
}

.azul {
  color: #007BFF;
  font-weight: 500;
}

.morado {
  color: #6A0DAD;
  font-style: italic;
}

@media (max-width: 768px) {
  .historia-titulo {
    font-size: 2rem;
  }

  .historia-card p {
    font-size: 1rem;
  }

  .historia-etapa {
    font-size: 0.95rem;
  }
}




/* DIFERENCIALES */
.diferencias {
  background: #f0f4ff;
  padding: 6rem 2rem;
}

.diferencias-header {
  text-align: center;
  margin-bottom: 3rem;
}

.diferencias-titulo {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(to right, #6A0DAD, #007BFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.diferencias-subtitulo {
  color: #555;
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.diferencias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.diferencia-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border-top: 4px solid transparent;
}

.diferencia-card:hover {
  transform: translateY(-6px);
  border-top: 4px solid #6A0DAD;
}

.diferencia-icono {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #6A0DAD;
}

.diferencia-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #111;
  font-weight: 600;
}

.diferencia-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .diferencias-titulo {
    font-size: 2rem;
  }

  .diferencias-subtitulo {
    font-size: 1rem;
  }

  .diferencia-icono {
    font-size: 2rem;
  }
}





/* EXPERIENCIA */
.resultados {
  background: linear-gradient(135deg, #1a1a2e, #1f2f46);
  color: #fff;
  padding: 6rem 2rem;
}

.resultados-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-inline: auto;
}

.resultados-titulo {
  font-size: 2.8rem;
  font-weight: bold;
  background: linear-gradient(to right, #6A0DAD, #00B4FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.resultados-subtitulo {
  font-size: 1.1rem;
  color: #ccc;
  margin-top: 1rem;
}

.resultados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.resultado-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resultado-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(106, 13, 173, 0.2);
}

.resultado-card h3 {
  font-size: 3rem;
  color: #6A0DAD;
  margin-bottom: 1rem;
  font-weight: bold;
}

.resultado-card p {
  font-size: 1rem;
  color: #eee;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .resultados-titulo {
    font-size: 2.2rem;
  }

  .resultado-card h3 {
    font-size: 2.5rem;
  }

  .resultado-card p {
    font-size: 0.95rem;
  }
}

.contador {
  transition: transform 0.5s ease;
  will-change: transform;
}

.resultado-card:hover .contador {
  transform: scale(1.1);
}



/* FILOSOFÍA */
.bloque-compromiso {
  display: flex;
  flex-wrap: wrap;
  min-height: 70vh;
}

.filosofia-bloque {
  background-color: #1f1f2e;
  color: #f0f0f0;
  flex: 1;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.filosofia-titulo {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  line-height: 1.2;
  background: linear-gradient(to right, #6A0DAD, #007BFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.filosofia-texto {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #d8d8d8;
}

.filosofia-texto .resaltado {
  color: #7f92ff;
  font-weight: bold;
}

.cta-bloque {
  background-color: #ffffff;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
}

.cta-contenido {
  max-width: 400px;
  text-align: center;
}

.cta-titulo {
  font-size: 2rem;
  color: #111;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-texto {
  font-size: 1rem;
  color: #444;
  margin-bottom: 2rem;
}

.cta-boton-nuevo {
  background: linear-gradient(to right, #6A0DAD, #007BFF);
  color: #fff;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta-boton-nuevo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .bloque-compromiso {
    flex-direction: column;
  }

  .filosofia-bloque,
  .cta-bloque {
    padding: 3rem 2rem;
  }

  .filosofia-titulo {
    font-size: 2rem;
  }

  .cta-titulo {
    font-size: 1.6rem;
  }
}





/* PREGUNTAS */

.faq-section {
  background: #f9f9ff;
  padding: 6rem 2rem;
}

.faq-container {
  max-width: 900px;
  margin: auto;
}

.faq-title {
  text-align: center;
  font-size: 2.8rem;
  background: linear-gradient(to right, #6A0DAD, #007BFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 3rem;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1.5rem;
}

.faq-question {
  background: none;
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  width: 100%;
  text-align: left;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #6A0DAD;
}

.faq-icon {
  font-size: 1.5rem;
  color: #6A0DAD;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  padding: 0 0.5rem;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  margin-top: 0.5rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}





