/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */





@media (min-width: 640px) {


    /* Convertir las 5 columnas de radiobuttons de GF en 10 */
    .gform-theme--foundation .gfield.gf_list_5col:where(:not(.gfield--type-image_choice)) .gfield_radio {
        grid-template-columns: repeat(10, 1fr)!important;
    }



}

/*Separacion entre files del formulario*/
#gform_fields_1{
    row-gap: 24px;
}

/* Color de los botones del formulario */
form .button{
    background-color: #db143c !important;
    color: #FFF !important;
    border: none!important;
}


.titulo-pagina-formulario p{
    text-align: center;
    color: #0f1629;
    font-size: 24px;
    font-weight: 700;
}


.gform_page{
    background-color: #FFF;
    padding: 24px;
}


.gfield_label{
    color: rgb(15, 22, 41)!important;
    font-size: 14px!important;
}

.ginput_container input{
    background-color: rgb(250, 250, 250)!important ;
}

.ginput_container input::placeholder{
    color: #7a7a7a!important ;
}








/* ==== BOTONES PARA TODOS LOS RADIO DE GRAVITY FORMS ==== */

/* Layout de cada grupo de radios */
.gform_wrapper .gfield_radio,
.gform-theme .gfield_radio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Oculta el radio nativo pero mantiene accesibilidad */
.gform_wrapper .gfield_radio .gfield-choice-input[type="radio"],
.gform-theme .gfield_radio .gfield-choice-input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Estilo base del "botón" (la etiqueta adyacente al radio) */
.gform_wrapper .gfield_radio .gfield-choice-input[type="radio"] + label,
.gform-theme .gfield_radio .gfield-choice-input[type="radio"] + label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;   /* tamaño táctil mínimo */
  height: 44px;
  padding: 0 14px;
  border: 2px solid #dcdcdc;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

/* Hover: solo para radios (no checkboxes) gracias al scope .gfield_radio */
.gform_wrapper .gfield_radio .gchoice:hover label,
.gform-theme .gfield_radio .gchoice:hover label {
  border-color: #db143c;
}

/* Focus accesible (navegación por teclado) */
.gform_wrapper .gfield_radio .gfield-choice-input[type="radio"]:focus-visible + label,
.gform-theme .gfield_radio .gfield-choice-input[type="radio"]:focus-visible + label {
  outline: none;
  box-shadow: 0 0 0 3px rgba(219, 20, 60, 0.25);
  border-color: #db143c;
}

/* Seleccionado: fondo y borde #db143c, texto blanco */
.gform_wrapper .gfield_radio .gfield-choice-input[type="radio"]:checked + label,
.gform-theme .gfield_radio .gfield-choice-input[type="radio"]:checked + label {
  background: #db143c;
  border-color: #db143c;
  color: #fff;
}

/* Deshabilitado (por si aplica) */
.gform_wrapper .gfield_radio .gfield-choice-input[type="radio"]:disabled + label,
.gform-theme .gfield_radio .gfield-choice-input[type="radio"]:disabled + label {
  opacity: .5;
  cursor: not-allowed;
}

/* Opcional: un poco más de ancho uniforme en pantallas medianas+ */
@media (min-width: 480px) {
  .gform_wrapper .gfield_radio .gfield-choice-input[type="radio"] + label,
  .gform-theme .gfield_radio .gfield-choice-input[type="radio"] + label {
    min-width: 56px;
  }
}

/*Ocupar todo el ancho con los botones de anterior y siguiente*/
.gform_page_footer{
  justify-content: end;
  margin-top: 80px!important;
}


/*Estilos mensaje de gracias*/
.gform_confirmation_message{
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
}

.ginput_container_select select{
  height: 44px;
    border: 2px solid #dcdcdc;
    border-radius: 8px;    
    color: #111;
    font-weight: 600;
    line-height: 1;
    padding: 14px 14px;
}
    
.ginput_container_select select:hover{  
  border-color: #db143c;
  cursor: pointer;
}

.ginput_container_select select{
  outline-color: transparent!important
}






/*==== TABLA SERVICIOS ====*/
/* Contenedor del grid */
#gform_fields_2_3 {
  gap: 0; /* sin espacios entre celdas */
}
/* Bordes de cada celda */
#gform_fields_2_3 .gfield {
  border: 1px solid #ccc;
  padding: 15px;
  box-sizing: border-box;
  background: #fff; /* fondo fijo blanco */
}

/* Quitamos bordes de las dos primeras filas */
#gform_fields_2_3 #field_2_36,
#gform_fields_2_3 #field_2_24 {
  border: none;
}


.gsection_title{
  font-size: 22px;
}



.bloque-presentacion h1{
  color: #F10041;
  font-family: "Roboto";
  font-weight: 600;
  font-size: 2rem;
  text-align: center;
}

.bloque-presentacion p{
    text-align: center;
    font-family: "Roboto", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}
@media (max-width: 639px) {
  .gfield_radio{
      grid-template-columns: repeat(5, 1fr) !important;
      display: grid!important;
  }
}