/*
=============================
ESTILOS FORMULARIOS WEB TIM
=============================
*/


/* --- 
FORMULARIOS GENERAL 
--- */
/* Caja titulo y subtitulo */
.gform_heading {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-direction: column !important;
  flex-wrap: wrap !important;
  align-content: center !important;
  row-gap: 15px !important;
  text-align: center !important;
  margin-bottom: 30px !important;
  padding: 0 50px !important;
}
/* Titulo */
.gform_title{
  font-size: 38px !important;
  font-weight: 600 !important;
  color: #141414 !important;
  margin: 0 !important;
}
/* Subtitulo */
.gform_description{
  font-size: 20px !important;
  font-weight: 500 !important;
  color: #414141 !important;
  margin: 0 !important;
}
/* Ocultar el anchor invisible de GF del mensaje de confirmación para quitar el hueco*/
.gform_anchor{
  width: 0 !important;
}
/* Ocultar texto de texto obligatorio */
p.gform_required_legend{
  display: none !important;
}
/* Ocultar el bloque de error grande */
.gform_validation_errors {
  display: none !important;
}
@media (max-width: 768px){
  .gform_heading{
    padding: 0 20px !important;
  }
  .gform_title{
    font-size: 25px !important;
  }
  .gform_description{
    font-size: 18px !important;
  }
}


/* --- 
FORMULARIOS NEWSLETTER ID:1, HERO ID:8, DIAGNOSTICO ID:9
--- */
/* Ocultar honeypot y footer oculto de GF */
.form-newsletter_wrapper .gfield--type-honeypot,
.form-newsletter_wrapper .gform_footer,
.form-diagnostico_wrapper .gfield--type-honeypot,
.form-diagnostico_wrapper .gform_footer,
.hero-form_wrapper .gfield--type-honeypot,
.hero-form_wrapper .gform_footer {
  display: none !important;
}
/* Ocultar labels */
.form-newsletter_wrapper .gfield--type-email .gfield_label,
.form-diagnostico_wrapper .gfield--type-email .gfield_label,
.hero-form_wrapper .gfield--type-email .gfield_label {
  display: none;
}
/* Contenedor principal: pill blanca con input + botón inline */
.form-newsletter_wrapper .gform_fields,
.form-diagnostico_wrapper .gform_fields,
.hero-form_wrapper .gform_fields {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 100px;
  padding: 6px 6px 6px 20px;
  gap: 0;
  box-shadow: 0px 6px 10px -6px #0000004D !important;
}
/* Campo email */
.hero-form_wrapper .gfield--type-email,
.form-diagnostico_wrapper .gfield--type-email,
.form-newsletter_wrapper .gfield--type-email {
  flex: 1;
  min-width: 0;
}
/* Wrapper del input con icono */
.form-newsletter_wrapper .gfield--type-email .ginput_container,
.form-diagnostico_wrapper .gfield--type-email .ginput_container,
.hero-form_wrapper .gfield--type-email .ginput_container {
  display: flex;
  align-items: center;
}
/* Icono email via pseudo-elemento */
.form-newsletter_wrapper .gfield--type-email .ginput_container::before,
.form-diagnostico_wrapper .gfield--type-email .ginput_container::before,
.hero-form_wrapper .gfield--type-email .ginput_container::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background-image: url('https://tim.rkinnova.com/wp-content/uploads/2026/04/oui_email.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-right: 10px;
  opacity: 0.45;
}
/* Input de email */
.form-newsletter_wrapper .gfield--type-email input[type="email"],
.form-diagnostico_wrapper .gfield--type-email input[type="email"],
.hero-form_wrapper .gfield--type-email input[type="email"] {
  all: unset;
  font-size: 16px !important;
  font-weight: 500;
  color: #414141;
  width: 100%;
  background: transparent;
}
.form-newsletter_wrapper .gfield--type-email input[type="email"]::placeholder,
.form-diagnostico_wrapper .gfield--type-email input[type="email"]::placeholder,
.hero-form_wrapper .gfield--type-email input[type="email"]::placeholder {
  color: #A8A8B1;
}
/* Botón submit */
.form-newsletter_wrapper .gfield--type-submit,
.form-diagnostico_wrapper .gfield--type-submit,
.hero-form_wrapper .gfield--type-submit {
  flex-shrink: 0;
}
.form-newsletter_wrapper .gfield--type-submit .gform-button,
.form-diagnostico_wrapper .gfield--type-submit .gform-button,
.hero-form_wrapper .gfield--type-submit .gform-button {
  all: unset;
  cursor: pointer;
  background: #8DBC69 !important;
  color: #ffffff;
  font-size: 18px !important;
  font-weight: 600 !important;
  padding: 10px 26px !important;
  border-radius: 80px !important;
  white-space: nowrap;
  display: block;
  transition: background 0.2s ease;
}
.form-diagnostico_wrapper .gfield--type-submit .gform-button,
.hero-form_wrapper .gfield--type-submit .gform-button{
  font-size: 16px !important;
}
.form-newsletter_wrapper .gfield--type-submit .gform-button:hover,
.form-diagnostico_wrapper .gfield--type-submit .gform-button:hover,
.hero-form_wrapper .gfield--type-submit .gform-button:hover {
  background: transparent !important;
  border: 1px solid #8DBC69 !important;
  color: #8DBC69 !important;
}
.form-newsletter_wrapper .gform_fields,
.form-diagnostico_wrapper .gform_fields,
.hero-form_wrapper .gform_fields {
  display: flex !important;
  align-items: center;
  background: #ffffff;
  border-radius: 100px;
  padding: 10px 10px 10px 20px;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
/* Anular el width que GF mete en los gfields */
.form-newsletter_wrapper .gfield--type-email,
.form-diagnostico_wrapper .gfield--type-email,
.hero-form_wrapper .gfield--type-email {
  width: auto !important;
  flex: 1;
  min-width: 0;
}
.form-newsletter_wrapper .gfield--type-submit,
.form-diagnostico_wrapper .gfield--type-submit,
.hero-form_wrapper .gfield--type-submit {
  width: auto !important;
  flex-shrink: 0;
}

/* ERRORES */
/* Sacar el error inline fuera de la pill y mostrarlo encima */
.form-newsletter_wrapper .gfield--type-email .gfield_validation_message,
.form-diagnostico_wrapper .gfield--type-email .gfield_validation_message,
.hero-form_wrapper .gfield--type-email .gfield_validation_message {
  position: absolute;
  top: calc(100% + 6px);
  bottom: auto;
  left: 0;
  right: 0;
  font-size: 15px;
  color: #c0392b;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  white-space: normal;
}
.form-newsletter_wrapper,
.form-diagnostico_wrapper,
.hero-form_wrapper {
  position: relative;
}

@media (max-width: 768px) {
  .form-newsletter_wrapper .gform_fields,
  .form-diagnostico_wrapper .gform_fields,
  .hero-form_wrapper .gform_fields {
    flex-direction: column;
    border-radius: 0;
    border: 0;
    box-shadow: none !important;
    padding: 0;
    gap: 10px !important;
    background-color: transparent;
    align-items: stretch;
  }
  .form-newsletter_wrapper .gfield--type-email .ginput_container,
  .form-diagnostico_wrapper .gfield--type-email .ginput_container,
  .hero-form_wrapper .gfield--type-email .ginput_container {
    background: #ffffff;
    border: 1px solid #F0F0F0;
    border-radius: 100px;
    padding: 20px;
    box-shadow: 0px 6px 10px -6px #0000004D !important;
  }
  .form-newsletter_wrapper .gfield--type-submit .gform-button,
  .form-diagnostico_wrapper .gfield--type-submit .gform-button,
  .hero-form_wrapper .gfield--type-submit .gform-button {
    width: 100% !important;
    text-align: center !important;
    font-size: 16px !important;
    padding: 20px !important;
    box-sizing: border-box;
    box-shadow: 0px 6px 10px -6px #0000004D !important;
  }
    .form-newsletter .gfield--type-email .gfield_validation_message,
    .form-diagnostico .gfield--type-email .gfield_validation_message,
    .hero-form .gfield--type-email .gfield_validation_message {
    position: static;
    font-size: 14px;
    margin-bottom: 10px !important;
    display: block;
  }
}


/* --- 
ESTILOS COMUNES FORMULARIOS ID:2, ID:4, ID:5, ID:6, ID:7
--- */
/* Links */
.te-llamamos-form a,
.contact-form a,
.work-form a,
.info-post-blog-form a,
.ebook-form a{
  color: #414141;
  text-decoration: underline;
}
.te-llamamos-form a:hover,
.contact-form a:hover,
.work-form a:hover,
.info-post-blog-form a:hover,
.ebook-form a:hover{
  color: #8DBC69CC;
}
/* Aterisco */
.te-llamamos-form_wrapper span.gfield_required,
.contact-form_wrapper span.gfield_required,
.work-form_wrapper span.gfield_required,
.info-post-blog-form_wrapper span.gfield_required,
.ebook-form_wrapper span.gfield_required{
  color: red !important;
  margin-left: 3px !important;
}
.te-llamamos-form_wrapper legend.gfield_label.gform-field-label.gfield_label_before_complex,
.te-llamamos-form_wrapper label.gfield_label.gform-field-label,
.work-form_wrapper legend.gfield_label.gform-field-label.gfield_label_before_complex,
.work-form_wrapper label.gfield_label.gform-field-label,
.info-post-blog-form_wrapper legend.gfield_label.gform-field-label.gfield_label_before_complex,
.info-post-blog-form_wrapper label.gfield_label.gform-field-label,
.ebook-form_wrapper legend.gfield_label.gform-field-label.gfield_label_before_complex,
.ebook-form_wrapper label.gfield_label.gform-field-label{
  gap: 0 !important;
}
/* Texto informativo */
.llamamos-info,
.contact-info,
.work-info,
.info-post-blog-info,
.ebook-info{
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #414141 !important;
}
/* Checkboxes */
.te-llamamos-form_wrapper .gfield--type-consent input[type="checkbox"],
.contact-form_wrapper .gfield--type-consent input[type="checkbox"],
.work-form_wrapper .gfield--type-consent input[type="checkbox"],
.info-post-blog-form_wrapper .gfield--type-consent input[type="checkbox"],
.ebook-form_wrapper .gfield--type-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 1px solid #A8A8B1 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
}
/* Estado marcado con fondo verde */
.te-llamamos-form_wrapper .gfield--type-consent input[type="checkbox"]:checked,
.contact-form_wrapper .gfield--type-consent input[type="checkbox"]:checked,
.work-form_wrapper .gfield--type-consent input[type="checkbox"]:checked,
.info-post-blog-form_wrapper .gfield--type-consent input[type="checkbox"]:checked,
.ebook-form_wrapper .gfield--type-consent input[type="checkbox"]:checked {
  background: #8DBC69 !important;
  border-color: #8DBC69 !important;
}
/* Alinear checkbox con texto */
.te-llamamos-form_wrapper .gfield--type-consent .ginput_container_consent,
.contact-form_wrapper .gfield--type-consent .ginput_container_consent,
.work-form_wrapper .gfield--type-consent .ginput_container_consent,
.info-post-blog-form_wrapper .gfield--type-consent .ginput_container_consent,
.ebook-form_wrapper .gfield--type-consent .ginput_container_consent {
  display: flex !important;
  align-items: flex-start !important;
}
/* Texto checkboxes */
.te-llamamos-form_wrapper .gfield--type-consent .gfield_consent_label,
.contact-form_wrapper .gfield--type-consent .gfield_consent_label,
.work-form_wrapper .gfield--type-consent .gfield_consent_label,
.info-post-blog-form_wrapper .gfield--type-consent .gfield_consent_label,
.ebook-form_wrapper .gfield--type-consent .gfield_consent_label {
  font-size: 14px !important;
  color: #414141 !important;
  line-height: 1.4 !important;
}
/* Focus de los elementos */
.te-llamamos-form_wrapper input[type="text"], 
.te-llamamos-form_wrapper input[type="tel"], 
.te-llamamos-form_wrapper input[type="email"], 
.te-llamamos-form_wrapper input[type="checkbox"], 
.te-llamamos-form_wrapper input[type="submit"], 
.te-llamamos-form_wrapper select,

.contact-form_wrapper input[type="text"], 
.contact-form_wrapper input[type="tel"], 
.contact-form_wrapper input[type="email"], 
.contact-form_wrapper input[type="number"], 
.contact-form_wrapper textarea, 
.contact-form_wrapper input[type="checkbox"], 
.contact-form_wrapper input[type="submit"], 
.contact-form_wrapper select,

.info-post-blog-form_wrapper input[type="text"], 
.info-post-blog-form_wrapper input[type="email"], 
.info-post-blog-form_wrapper input[type="checkbox"], 
.info-post-blog-form_wrapper input[type="submit"], 
.info-post-blog-form_wrapper select,

.ebook-form_wrapper input[type="text"], 
.ebook-form_wrapper input[type="email"], 
.ebook-form_wrapper input[type="checkbox"], 
.ebook-form_wrapper input[type="submit"], 
.ebook-form_wrapper select,

.work-form_wrapper input[type="text"], 
.work-form_wrapper input[type="tel"], 
.work-form_wrapper input[type="email"], 
.work-form_wrapper textarea, 
.work-form_wrapper input[type="checkbox"], 
.work-form_wrapper input[type="submit"], 
.work-form_wrapper input[type="file"], 
.work-form_wrapper select {
  outline: none !important;
  box-shadow: none !important;
}
.te-llamamos-form_wrapper input[type="text"]:focus, 
.te-llamamos-form_wrapper input[type="tel"]:focus, 
.te-llamamos-form_wrapper input[type="email"]:focus, 
.te-llamamos-form_wrapper input[type="checkbox"]:focus, 
.te-llamamos-form_wrapper input[type="submit"]:focus, 
.te-llamamos-form_wrapper select:focus,

.contact-form_wrapper input[type="text"]:focus, 
.contact-form_wrapper input[type="tel"]:focus, 
.contact-form_wrapper input[type="email"]:focus, 
.contact-form_wrapper input[type="number"]:focus, 
.contact-form_wrapper textarea:focus, 
.contact-form_wrapper input[type="checkbox"]:focus, 
.contact-form_wrapper input[type="submit"]:focus, 
.contact-form_wrapper select:focus,

.info-post-blog-form_wrapper input[type="text"]:focus, 
.info-post-blog-form_wrapper input[type="email"]:focus,
.info-post-blog-form_wrapper input[type="checkbox"]:focus,  
.info-post-blog-form_wrapper input[type="submit"]:focus, 
.info-post-blog-form_wrapper select:focus,

.ebook-form_wrapper input[type="text"]:focus, 
.ebook-form_wrapper input[type="email"]:focus,
.ebook-form_wrapper input[type="checkbox"]:focus,  
.ebook-form_wrapper input[type="submit"]:focus, 
.ebook-form_wrapper select:focus,

.work-form_wrapper input[type="text"]:focus, 
.work-form_wrapper input[type="tel"]:focus, 
.work-form_wrapper input[type="email"]:focus, 
.work-form_wrapper input[type="textarea"]:focus, 
.work-form_wrapper textarea:focus, 
.work-form_wrapper input[type="submit"]:focus, 
.work-form_wrapper input[type="file"]:focus, 
.work-form_wrapper select:focus {
  outline: none !important;
  box-shadow: none !important;
}
/* Opciones del desplegable */
.llamamos-desplegable .chosen-drop,
.work-desplegable .chosen-drop{
  padding: 8px !important;
  border: 1px solid #F0F0F0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.llamamos-desplegable .chosen-drop .chosen-search,
.work-desplegable .chosen-drop .chosen-search{
  display: none !important;
}
.llamamos-desplegable .chosen-drop .chosen-results,
.work-desplegable .chosen-drop .chosen-results{
  padding: 0 !important;
}
.llamamos-desplegable .chosen-drop .chosen-results li.active-result.result-selected
.work-desplegable .chosen-drop .chosen-results li.active-result.result-selected{
  box-shadow: none !important;
}
.llamamos-desplegable .chosen-drop .chosen-results li,
.work-desplegable .chosen-drop .chosen-results li{
  font-weight: 400 !important;
  font-size: 16px !important;
}
.llamamos-desplegable .chosen-drop li.active-result.gf_placeholder,
.work-desplegable .chosen-drop li.active-result.gf_placeholder{
  display: none !important;
}
.llamamos-desplegable .chosen-container,
.llamamos-desplegable .chosen-container *,
.work-desplegable .chosen-container,
.work-desplegable .chosen-container * {
  width: 100% !important;
  transition: none !important;
  animation: none !important;
  border-radius: 4px !important;
}
.llamamos-desplegable .chosen-container-active .chosen-single,
.llamamos-desplegable .chosen-container-active.chosen-with-drop .chosen-single,
.work-desplegable .chosen-container-active .chosen-single,
.work-desplegable .chosen-container-active.chosen-with-drop .chosen-single {
  outline: none !important;
  box-shadow: none !important;
  transition: none !important;
  animation: none !important;
}
/* Botón enviar */
.te-llamamos-form_wrapper .gform_footer,
.contact-form_wrapper .gform_footer,
.info-post-blog-form_wrapper .gform_footer,
.work-form_wrapper .gform_footer,
.ebook-form_wrapper .gform_footer{
  justify-content: center !important;
}
.te-llamamos-form_wrapper .gform_footer input[type="submit"],
.contact-form_wrapper .gform_footer input[type="submit"],
.info-post-blog-form_wrapper .gform_footer input[type="submit"],
.work-form_wrapper .gform_footer input[type="submit"],
.ebook-form_wrapper .gform_footer input[type="submit"] {
  background: #8DBC69 !important;
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  padding: 15px 32px !important;
  border-radius: 100px !important;
  border: 1px solid #8DBC69 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.te-llamamos-form_wrapper .gform_footer input[type="submit"]:hover,
.contact-form_wrapper .gform_footer input[type="submit"]:hover,
.info-post-blog-form_wrapper .gform_footer input[type="submit"]:hover,
.work-form_wrapper .gform_footer input[type="submit"]:hover,
.ebook-form_wrapper .gform_footer input[type="submit"]:hover {
  background: transparent !important;
  color: #8DBC69 !important;
  border: 1px solid #8DBC69 !important;
}
@media (max-width: 768px){
  .te-llamamos-form_wrapper .gform_footer input[type="submit"],
  .contact-form_wrapper .gform_footer input[type="submit"],
  .info-post-blog-form_wrapper .gform_footer input[type="submit"],
  .work-form_wrapper .gform_footer input[type="submit"],
  .ebook-form_wrapper .gform_footer input[type="submit"]{
    font-size: 16px !important;
  }
}


/* --- 
FORMULARIO ¿TE LLAMAMOS? ID:2 
--- */
/* Cuerpo del formulario */
.te-llamamos-form .gform_fields{
  row-gap: 10px !important;
}
.llamamos-name,
.llamamos-tel,
.llamamos-desplegable{
  margin-bottom: 15px !important;
}
/* Labels */
.te-llamamos-form .gfield_label.gform-field-label{
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #414141 !important;
}
/* Estilos inputs + desplegable */
.te-llamamos-form input,
.llamamos-desplegable .chosen-single{
  border: 1px solid #F0F0F0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-size: 16px !important;
}
/* Placeholders */
.te-llamamos-form input::placeholder{
  font-weight: 400 !important;
  font-size: 16px !important;
  color: #A8A8B1 !important;
}


/* --- 
FORMULARIO CONTACTO ID:4
--- */
/* Cuerpo del formulario */
.contact-form .gform_fields{
  row-gap: 10px !important;
}
/* Inputs */
.contact-form input:not([type="checkbox"]):not([type="hidden"]):not([type="submit"]) {
  height: 45px !important;
}
/* Estilos inputs + textarea */
.contact-form input,
.contact-comment textarea{
  border: 1px solid #F0F0F0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-size: 16px !important;
}

/* En mobile van apilados */
@media (max-width: 768px) {
  .contact-form .contact-name .ginput_container_name {
    display: grid !important;
    grid-template-columns: 1fr 1fr!important;
  }
}


/* --- 
FORMULARIO TRABAJA CON NOSOTROS ID:5
--- */
/* Cuerpo del formulario */
.work-form .gform_fields{
  row-gap: 15px !important;
}
/* Labels */
.work-form .gfield_label.gform-field-label{
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #414141 !important;
  margin-bottom: 0 !important;
}
/* Inputs */
.work-form input:not([type="checkbox"]):not([type="hidden"]):not([type="submit"]),
.work-form .work-desplegable .chosen-single{
  height: 45px !important;
}
/* Estilos inputs + textarea + desplegable */
.work-form input,
.work-presentacion textarea,
.work-desplegable .chosen-single{
  border: 1px solid #F0F0F0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-size: 16px !important;
}
/* Placeholders */
.work-form input::placeholder,
.work-presentacion textarea::placeholder{
  font-weight: 400 !important;
  font-size: 16px !important;
  color: #A8A8B1 !important;
}
/* Campo archivo CV */
.work-form_wrapper .work-cv input[type="file"]::file-selector-button {
  background: #8DBC69 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  font-family: inherit !important;
  height: 100% !important;
}


/* --- 
FORMULARIO ¿QUIERES SABER MÁS? ID:6
--- */
/* Cuerpo del formulario */
.info-post-blog-form .gform_fields{
  row-gap: 15px !important;
}
/* Labels */
.info-post-blog-form .gfield_label.gform-field-label{
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #414141 !important;
  margin-bottom: 0 !important;
}
/* Inputs */
.info-post-blog-form input:not([type="checkbox"]):not([type="hidden"]):not([type="submit"]){
  height: 45px !important;
}
/* Estilos inputs */
.info-post-blog-form input{
  border: 1px solid #F0F0F0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-size: 16px !important;
}
/* Placeholders */
.info-post-blog-form input::placeholder{
  font-weight: 400 !important;
  font-size: 16px !important;
  color: #A8A8B1 !important;
}


/* --- 
FORMULARIO EBOOKS ID:7
--- */
/* Cuerpo del formulario */
.ebook-form .gform_fields{
  row-gap: 15px !important;
}
/* Labels */
.ebook-form .gfield_label.gform-field-label{
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #414141 !important;
  margin-bottom: 0 !important;
}
/* Inputs */
.ebook-form input:not([type="checkbox"]):not([type="hidden"]):not([type="submit"]){
  height: 45px !important;
}
/* Estilos inputs */
.ebook-form input{
  border: 1px solid #F0F0F0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-size: 16px !important;
}
/* Placeholders */
.ebook-form input::placeholder{
  font-weight: 400 !important;
  font-size: 16px !important;
  color: #A8A8B1 !important;
}