/* Tipografías principales */
:root {
  --font-title: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Spline Sans', sans-serif;
}

/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Estilo general del body */
body {
    font-family: 'Open Sans', sans-serif;
  background-color: #222222;
  color: #ffffff;
  line-height: 1.6;
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}

/* Encabezados */
.hero-text h1,
.formulario h2,
.formulario label {
  font-family: var(--font-title);
}

/* Header */
.site-header {
  background-color: #222;
  padding: 1rem;
}

.logo {
  height: 80px;
}

.brand-wrapper {
  display: flex;
  align-items: center;         /* centra verticalmente */
  height: 80px;                /* ajusta la altura total */
  padding: 0 20px;             /* espacio horizontal si deseas */
}


/* HERO - Bloque blanco */
.hero-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
   margin-bottom: 4rem;
}

.hero-card {
  /* background-color: white; */  /* ❌ quitar esta línea */
 
 gap: 3rem;
  display: flex;
  align-items: center;
  max-width: 1100px;
  
  z-index: 2;
  position: relative;
}

/* Imagen del profesional */
.hero-image img {
  width: 440px;
  height: auto;
  margin-right: 2rem;
  border-radius: 0;
}

/* Texto del bloque blanco */
.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #FFF;
}

.hero-text p {
      margin-bottom: 1rem;
    font-weight: 200;
    font-size: 16px;
    opacity: .8;
}

.hero-text ul {
  padding-left: 1.2rem;
}

/* Fondo gris que empieza más abajo */
.fondo-gris {
  margin-top:3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
 
}



/* Formulario dentro del fondo gris */
.formulario .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: transparent; /* quitar fondo blanco */
  box-shadow: none;         /* quitar sombra */
  border-radius: 0;
}

.formulario h2 {
  margin-bottom: 1rem;
  color: #FFF;
}

.formulario label {
  display: block;
  margin: 1rem 0 0.3rem;
  font-weight: 600;
}

.formulario input[type="text"],
.formulario input[type="url"],
.formulario input[type="file"],
.formulario textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #FF0073;
  border-radius: 6px;
  font-size: 1rem;
}

.formulario button {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;

  color: #fff;
  border: none;
  
  cursor: pointer;
  font-size: 1rem;
}

.formulario button:hover {
  background-color: #444;
}

.formulario .small {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
}
.hero-image img {
  width: 440px;
  height: auto;
  margin-right: 2rem;
  border-radius: 0;
  transition: opacity 1s ease-in-out;
  opacity: 1;
}
.pasos-uso {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.pasos-uso h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #222;
}



.paso {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
}

.paso .icono {
  width: 40px;
  height: 40px;
  background-color: #222;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  position: absolute;
  left: -22px;
  top: 0;
}

.paso .contenido {
  margin-left: 2.5rem;
}

.paso h3 {
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
  color: #222;
}

.paso p {
  font-size: 0.95rem;
  color: #555;
}
.zona-evaluacion {

  max-width: 1100px;

}

.zona-contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: flex-start;
}

.columna-instrucciones {
  flex: 1;
  min-width: 320px;
  padding-left: 1rem;
  position: relative;
}

.columna-instrucciones h2 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.pasos {
  position: relative;
  padding-left: 2.7rem;
}

.pasos::before {
  content: "";
  position: absolute;
  left: 2rem; /* mejor alineación con los íconos */
  top: 0;
  bottom: 0;
  width: 1px;
  border-left: 1px dashed #FF0073;
  z-index: 0;
}

.pasos .paso {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 3rem;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.pasos .paso.visible {
  opacity: 1;
  transform: translateY(0);
}

.pasos .icono {
  width: 24px;
  height: 24px;
  stroke: #FF0073;
  flex-shrink: 0;
  
  padding: 4px;
  border-radius: 50%;
  border: 1px solid #FF0073;
  position: relative;
  z-index: 1;
}

.pasos h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 400;
}

.pasos p {
    margin: 0.4rem 0 0;
    font-size: 14px;
    color: #333;
    line-height: 28px;
}



/* Mantener el estilo del formulario como estaba */
.columna-formulario {
  flex: 1;
  min-width: 320px;
}

.columna-formulario .formulario {
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.columna-formulario .formulario label {
  display: block;
  margin-top: 0.5rem;
  margin-bottom: 0.1rem;
  font-weight: 600;
}

.columna-formulario .formulario input[type="text"],
.columna-formulario .formulario input[type="url"],
.columna-formulario .formulario input[type="file"],
.columna-formulario .formulario textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ff0973;
  border-radius: 6px;
  font-size: 1rem;
  color: #fff;
  background: #222;
}

.columna-formulario .formulario button {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  
  color: #fff;
  border: none;
  
  cursor: pointer;
  font-size: 1rem;
}

.columna-formulario .formulario button:hover {
  background-color: #444;
}

.columna-formulario .formulario .small {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.3rem;
}

.aparecer {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.aparecer.visible {
  opacity: 1 !important;
  transform: translateY(0px) !important;
}
.columna-instrucciones * {
  color: #FFF !important;
 
  overflow: visible !important;
  z-index: 20 !important;
}

.hero-image {
  position: relative;
  display: inline-block;
}

.hero-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    /* width: 100%; */
    /* height: 100%; */
    /* background-color: transparent; */
    border: 6px solid #FF0073;
    z-index: 0;
    TRANSFORM: translate3d(26px, 26px, -26px);
    right: 30px;
    bottom: 0;
    display:block;
}

.hero-image img {
  position: relative;
  z-index: 2;
  box-shadow: none; /* opcional: evitar sombras dobles */
}

.separador-horizontal {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* línea blanca muy fina */
  margin: 3rem auto;
  width: 100%;
  max-width: 1100px;
}

input[type="file"] {
  display: block;
  border: 2px solid #FF0073;
  background-color: transparent;
  color: white;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  padding: 2px;
  width: 100%;
  margin-bottom: 1em;
}

input[type="file"]::file-selector-button {
  background-color: #FF0073;
  border: none;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  padding: 6px 12px;
  margin-right: 10px;
  cursor: pointer;
  vertical-align: middle;
}

.custom-file-upload {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.boton-archivo {
  background-color: #FF0073;
  color: white;
  padding: 10px 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  border-radius: 0;
  text-transform: uppercase;
}
.btn-analizar {
  background-color: #FF0073;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  padding: 12px;
  border: none;
  width: 100%;
  margin-top: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-analizar:hover {
  background-color: #e60066;
}
.section-divider {
 border-top: 1px solid #444;
    /* margin: 5rem auto; */
    width: 100%;
    max-width: 1100px;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.resultados-evaluacion {
  position: relative;
  margin-top: 4rem;
  padding: 2rem;
  background-color: #1f1f1f;
  color: #fff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  border-radius: 20px;
  overflow: hidden; /* importante para que no sobresalgan las esquinas */
   margin-left: 1rem;
    margin-right: 1rem;
}

.resultados-evaluacion::before,
.resultados-evaluacion::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border: 4px solid #FF0073;
}

.resultados-evaluacion::before {
  top: 0;
  left: 0;
  border-bottom: none;
  border-right: none;
  border-top-left-radius: 20px;
}

.resultados-evaluacion::after {
  bottom: 0;
  right: 0;
  border-top: none;
  border-left: none;
  border-bottom-right-radius: 20px;
}


.resultado-titulo {
  text-align: center;
  margin-bottom: 2rem;
  color: #FF0073;
  font-size: 2rem;
}

.resultados-evaluacion .descripcion {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.btn-secundario {
  background-color: #FF0073;
  border: none;
  padding: 10px 16px;
  color: #fff;
  cursor: pointer;
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  width: auto;
}

.btn-secundario:hover {
  background-color: #e60066;
}
.btn-principal {
  background-color: #ff007c;
  color: white;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 30px;
}
.loader-container {
  text-align: center;
  margin: 100px auto;
  padding: 20px;
  max-width: 600px;
}

.loader-title {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 30px;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #dd2785;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

.analyzing-text {
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.feedback-detallado {
  margin-top: 1.5rem;
  line-height: 1.6;
}

.feedback-detallado p {
  margin-bottom: 1rem;
}

.feedback-detallado strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #dd2785;
}
.fade-in {
  opacity: 0;
  transform: translateY(80px);
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn-analizar.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.centrado-header {
  text-align: center;
  background-color: #222;
  padding: 2rem 1rem;
}

.centrado-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.centrado-brand .logo {
  height: 80px;
  margin-bottom: 0.5rem;
}

.slogan {
  color: #ff0073;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
}
.slogan-contenedor {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;  /* ⬅️ antes era 1rem, ahora más compacto */
  gap: 1.5rem;         /* espacio entre texto y líneas */
  flex-wrap: wrap;
}

.slogan-linea {
  flex: 1;
  height: 2px;
  max-width: 30px;
  background-color: #ff0073;
  opacity: 0;
  animation: aparecerLinea 1s ease-out forwards;
}

.slogan-linea:first-child {
  animation-delay: 0.3s;
}
.slogan-linea:last-child {
  animation-delay: 0.5s;
}

@keyframes aparecerLinea {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    opacity: 0.8;
    width: 100%;
  }
}

.slogan-texto {
    
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    /* font-weight: 100; */
    white-space: nowrap;
    text-align: center;
    text-transform: uppercase;
    opacity: .8;
}

.titulo-contenedor {
  text-align: center;
  margin-top: 1rem;
}

.titulo-principal {
  
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  margin-bottom: -0.8rem; /* ⬅️ antes era 0.5rem, reduce el espacio */
  font-size: 55px;
    position: relative;
    z-index: 0;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0;
    
}
.checkbox-terminos {
  margin-top: 0.1rem;
  font-size: 0.95rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-terminos input[type="checkbox"] {
  width: 18px;
  height: 18px;
  appearance: none;
  border: 2px solid #ff0973;
  border-radius: 3px;
  background-color: transparent;
  cursor: pointer;
  position: relative;
}

.checkbox-terminos input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: -2px;
  left: 2px;
  font-size: 14px;
  color: #ff0973;
}

.checkbox-terminos label {
  position: relative;
  top: -5px; /* ajusta verticalmente el texto */
}

.link-terminos {
  color: #ff0073;
  text-decoration: underline;
  font-weight: 500;
}

.redes-sociales {
  margin-top: 2rem;
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
}

.redes-sociales a {
  margin: 0 0.5rem;
  color: #ff0073;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease;
}

.redes-sociales a:hover {
  transform: scale(1.2);
  color: #fff;
}
.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  width: 100%;
}

.footer-icon-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.footer-icon {
  width: 80px;
  height: 80px;
  z-index: 2;
  flex-shrink: 0;
}

/* Texto oculto detrás */
.creditos-deslizable {
  white-space: nowrap;
  color: #fff;
  font-size: 12px;
  margin-left: -300px;
  opacity: 0;
  z-index: 1;
  transition: margin-left 0.6s ease, opacity 0.4s ease;
  text-decoration: none;
  letter-spacing: -0.5px;
}

/* Clase que activa la animación */
.footer-icon-wrapper.activo .creditos-deslizable {
  margin-left: -25px;
  opacity: 1;
}
.marca-prime {
  color: #dd2785; /* o el rosa que usas en tu branding */
  text-decoration: underline;
  margin-left: 4px;
}



@media (max-width: 768px) {
  .hero-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .hero-image {
    border: none; /* Quita borde del contenedor */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-image img {
            width: 100%;
        max-width: 360px;
        height: auto;
        border: 4px solid #FF0073;
        /* border-radius: 1rem; */
        margin: 0 auto;
  }

  .hero-image::before {
    display:none;
}

  .hero-text {
    padding: 0 1rem;
    text-align: center;
  }

  .hero-text h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .hero-text p {
    text-align: left; /* ✅ solo los párrafos se alinean a la izquierda */
  }

  .slogan-contenedor {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }

  .slogan-linea {
    display: block;
    width: 40px;
    height: 2px;
    background-color: #dd2785;
  }

  .slogan-texto {
    font-size: 0.75rem; /* ✅ más pequeño para que las líneas lo flanqueen correctamente */
    text-align: center;
    white-space: nowrap;
  }

  .zona-contenido {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .columna-instrucciones,
  .columna-formulario {
    width: 100%;
    padding: 0 1rem;
  }

 .resultados-evaluacion p,
  .resultados-evaluacion strong {
    text-align: left;
    display: block;
  }
 

  #graficoResultados {
    display: block;
    margin: 2rem auto;
    width: 100% !important;
    max-width: 400px;
  }

  .redes-sociales {
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .hero-text ul {
    text-align: left;
    padding-left: 1.2rem; /* agrega espacio para las viñetas */
  }

  .hero-text ul li {
    text-align: left;
    margin-bottom: 0.5rem;
  }
}

.analyzing-box {
  text-align: center;
  margin-top: 30px;
}

.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #e91e63;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

.loading-percentage {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #555;
  font-weight: bold;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

