/*
 # ########*###########################
 Autor: José Luis Rodriguez
 Mail: jrodriguez@bincodex.com
 Web: https://bincodex.com
 Fecha: 2026-08-21 14:05:34
 Archivo: style.css
 Codificación: UTF-8
 Editado en: Kate 25.04.3
 ####################################
 */



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

body {
  background: #f4f7fc;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem 1rem;
  margin: 0;
}

/* Tarjeta principal */
.survey-card {
  max-width: 820px;
  width: 100%;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 20px 40px rgba(0, 40, 80, 0.08), 0 8px 24px rgba(0, 20, 40, 0.06);
  padding: 2.2rem 2.5rem;
  transition: all 0.2s ease;
}

/* === HEADER con logo y eslogan === */
.header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.2rem;
  border-bottom: 2px solid #eaf0f5;
  padding-bottom: 1.5rem;
  flex-wrap: wrap;
}

.logo-wrapper {
  border: 0px solid red;
  width: 400px;
  height:100px;
  background: url('../img/logo.png?v=1');
  background-size: cover;
  background-position: center;
  margin: 0 auto;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #0b2b4a;    /* azul profundo (desde el logo) */
  border-radius: 14px;
  color: white;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  box-shadow: 0 6px 10px rgba(11, 43, 74, 0.15);
}

.logo-icon span {
  transform: scale(1.1);
  display: inline-block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0b2b4a;
  letter-spacing: -0.5px;
}

.brand-slogan {
  font-size: 0.95rem;
  font-weight: 500;
  color: #3b6b8f;
  letter-spacing: 0.3px;
  background: #e6eef6;
  padding: 0.1rem 0.9rem;
  border-radius: 40px;
  display: inline-block;
  margin-top: 2px;
  align-self: flex-start;
}

/* Título de la encuesta */
.survey-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0b2b4a;
  margin: 0 0 0.2rem 0;
  letter-spacing: -0.3px;
}

.survey-sub {
  color: #3e6b8a;
  font-weight: 400;
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  border-left: 4px solid #b8d1e5;
  padding-left: 1rem;
}

/* Secciones */
.section {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1c405b;
  background: #eaf1f9;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  display: inline-block;
  margin-bottom: 1.2rem;
  letter-spacing: -0.2px;
}

/* Items de pregunta (cada fila) */
.question-item {
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #edf2f7;
}

.question-item:last-child {
  border-bottom: none;
}

.question-text {
  font-weight: 500;
  color: #1f3d54;
  font-size: 0.98rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.question-number {
  display: inline-block;
  font-weight: 600;
  color: #1f5a7a;
  background: #d9e6f2;
  border-radius: 30px;
  padding: 0 10px;
  font-size: 0.75rem;
  line-height: 1.8;
  min-width: 30px;
  text-align: center;
}

/* Escala de respuesta (1-5) */
.scale-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 1.2rem;
  /*! align-items: left; */
  margin-top: 0.3rem;
  flex-direction: column;
  margin-left: 37px;
}

.scale-option {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: #1d3f59;
  cursor: pointer;
  transition: 0.1s ease;
}

.scale-option input[type="radio"] {
  accent-color: #1d6b9e;
  width: 16px;
  height: 16px;
  cursor: pointer;
  margin-right: 2px;
}

.scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 500;
  color: #486f8b;
  letter-spacing: 0.2px;
  margin-top: 0.1rem;
  padding: 0 4px;
  flex-wrap: wrap;
}

.scale-labels span {
  background: #f0f5fa;
  padding: 0 8px;
  border-radius: 20px;
  line-height: 1.6;
}

/* Sección 4: satisfacción general (escala especial) */
.satisfaction-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 1.5rem;
  background: #f5faff;
  padding: 0.8rem 1.2rem;
  border-radius: 28px;
  margin: 0.5rem 0 1rem 0;
  border: 1px solid #dde9f3;
  flex-direction: column;
  margin-left: 20px;
}

.satisfaction-grid .scale-option {
  font-weight: 500;
}

.inline-block {
  display: inline-block;
}

/* Recomendación (Sí / No / Tal vez) */
.recommend-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  background: #f7fafd;
  padding: 0.8rem 1.5rem;
  border-radius: 40px;
  margin: 0.5rem 0 1rem 0;
  border: 1px solid #dde9f3;
  flex-direction: column;
  margin-left: 20px;
}

.recommend-option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: #1b3d57;
  cursor: pointer;
}

.recommend-option input[type="radio"] {
  accent-color: #1d6b9e;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Área de comentarios */
.comment-area {
  margin: 1.2rem 0 0.5rem 0;
}

.comment-area label {
  font-weight: 500;
  color: #1a3d57;
  display: block;
  margin-bottom: 0.5rem;
}

.comment-area textarea {
  width: 100%;
  border: 1px solid #ced9e3;
  border-radius: 20px;
  padding: 0.9rem 1.2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  resize: vertical;
  min-height: 90px;
  background: #fbfdff;
  transition: 0.2s;
  line-height: 1.5;
}

.comment-area textarea:focus {
  outline: none;
  border-color: #1d6b9e;
  box-shadow: 0 0 0 3px rgba(29, 107, 158, 0.15);
}

/* Botón */
.submit-btn {
  background: #0b2b4a;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 1.8rem;
  width: 100%;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 12px rgba(11, 43, 74, 0.2);
}

.submit-btn:hover {
  background: #1a4162;
  transform: scale(1.01);
  box-shadow: 0 8px 16px rgba(11, 43, 74, 0.25);
}

.submit-btn:active {
  transform: scale(0.98);
}

/* Ajustes responsivos */
@media (max-width: 640px) {
  .survey-card {
    padding: 1.5rem 1.2rem;
    border-radius: 24px;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .logo-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
    border-radius: 12px;
  }

  .survey-title {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 1rem;
    padding: 0.4rem 0.9rem;
  }

/*  .scale-options {
    gap: 0.3rem 0.8rem;
  }

  .scale-option {
    font-size: 0.8rem;
    gap: 0.15rem;
  }*/

/*  .scale-labels {
    font-size: 0.6rem;
    gap: 0.2rem;
  }*/

 /* .satisfaction-grid,
  .recommend-group {
    padding: 0.6rem 1rem;
    gap: 0.8rem 1.2rem;
  }*/

  .header {
    gap: 0.5rem;
  }

  .brand-slogan {
    font-size: 0.75rem;
    padding: 0 0.7rem;
  }
}

@media (max-width: 480px) {
  .survey-card {
    padding: 1rem 0.9rem;
  }

/*  .scale-options {
    gap: 0.2rem 0.5rem;
  }*/

  /*.scale-option input[type="radio"] {
    width: 14px;
    height: 14px;
  }*/

 /* .recommend-group {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    border-radius: 28px;
  }

  .satisfaction-grid {
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
  }*/

  .submit-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
}

/* Espaciado extra para sección 4 */
.section-gap {
  margin-top: 0.3rem;
}

.mt-1 {
  margin-top: 0.8rem;
}

.text-hint {
  font-size: 0.8rem;
  color: #527d9c;
  font-weight: 400;
  margin-left: 4px;
}

/* Separador suave */
.divider-light {
  height: 1px;
  background: linear-gradient(to right, transparent, #cbdae7, transparent);
  margin: 0.5rem 0 1.5rem 0;
}

/* Para mantener consistencia en las escalas */
.scale-option input[type="radio"] {
  flex-shrink: 0;
}
