/*
 Theme Name:   Silvia Crom
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Twenty Fifteen Child Theme
 Author:       Katodica Estudio
 Author URI:   http://example.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  astra
*/



/* Contenedor principal del formulario */
.accessible-form-wrapper {

  background-color: #ffffff;
  font-family: inherit;
  box-sizing: border-box;
}

/* Espaciado entre preguntas */
.accessible-form-wrapper .form-group {
  margin-bottom: 0.5rem;
}

/* Etiquetas principales: texto grande y contraste nítido */
.accessible-form-wrapper label {
  display: block;
  margin-bottom: 0.6rem;
  cursor: pointer;
}

.accessible-form-wrapper .label-text {
  display: block;
  font-size: 1rem; /* ~20px para lectura sin esfuerzo */
  font-weight: 700;
  color: #1a1f2c;
  line-height: 1.3;
}


/* Estilos de los campos de entrada */
.accessible-form-wrapper input[type="text"],
.accessible-form-wrapper input[type="email"],
.accessible-form-wrapper textarea {
  width: 100%;
  min-height: 54px; /* Área táctil amplia y cómoda */
  padding: 0.85rem 1.1rem;
  font-size: 1rem; /* Letra visible al escribir */
  color: #111827;
  background-color: #f9fafb;
  border: 2px solid #4a5568; /* Borde oscuro y bien delimitado */
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Altura cómoda para el área de texto */
.accessible-form-wrapper textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

/* Indicador visual fuerte de foco (dónde está escribiendo) */
.accessible-form-wrapper input[type="text"]:focus,
.accessible-form-wrapper input[type="email"]:focus,
.accessible-form-wrapper textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #0d5fc2;
  box-shadow: 0 0 0 4px rgba(13, 95, 194, 0.25);
}

/* Placeholders con buen contraste */
.accessible-form-wrapper ::placeholder {
  color: #718096;
  opacity: 1;
}

/* Botón de envío */
.accessible-form-wrapper .btn-accessible-submit {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #0b63c7;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background-color 0.2s, transform 0.1s;
}

.accessible-form-wrapper .btn-accessible-submit:hover,
.accessible-form-wrapper .btn-accessible-submit:focus {
  background-color: #084996;
  outline-offset: 2px;
}

.accessible-form-wrapper .btn-accessible-submit:active {
  transform: translateY(1px);
}

/* Adaptación de alertas de error y éxito de Contact Form 7 */
.accessible-form-wrapper .wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: #c5221f;
}

.accessible-form-wrapper .wpcf7-response-output {
  margin: 1.5rem 0 0 0 !important;
  padding: 1rem 1.2rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  line-height: 1.4 !important;
}