/*body:not(.home) #main-content .et_pb_section{
    padding: 25px 0 !important; 
}*/
/* --- Efecto Hover con Módulo de Imagen y Texto --- */
#texto-nosotros {
  padding-bottom: clamp(10px, 5vw, 50px) !important;
}
#texto-nosotros .et_pb_row{
  width: 90%;
}

#fotos-equipo {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}

#main-content #fotos-equipo.et_pb_section {
  padding-left: 5% !important;
  padding-right: 5% !important;
}    
  
#fotos-equipo.et_pb_section{
  padding-top:0px !important;
  padding-bottom:80px !important;
}
#fotos-equipo .et_pb_row {
  padding-top:50px;
}
#fotos-equipo .et_pb_row {
    margin: 0;
  }
 
#fotos-equipo .et_pb_row:first-child {
  padding: 0;
}

#fotos-equipo .et_pb_column_1_2 {
  width: 100% !important;
}

#fotos-equipo .nosotros-hover-modulos p {
  text-align: center;
  color: #fff;
  padding: 0 20px;
  font-size: 22px !important;
}

#fotos-equipo .nombre {
  font-size: 20px;
  font-weight: 500;
}

#fotos-equipo .cargo {
  font-size: 18px;
  font-weight: 400;
}

#fotos-equipo .et_pb_text_inner {
  margin-top: 15px;
}

#fotos-equipo .et_pb_row {
  /* Por defecto, una columna */
  flex: 1 1 100%;
}

/* 1. Prepara la columna contenedora */
.nosotros-hover-modulos {
  position: relative;
  /* Es la base para posicionar el texto encima */
}

/* 2. Configura el módulo de texto flotante */
.texto-flotante {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* Fondo semitransparente */
  background-color: rgba(20, 43, 41, 0.85);
  /* Verde botella (ajusta la opacidad aquí) */

  /* Centrar el texto vertical y horizontalmente */
  display: flex;
  justify-content: center;
  align-items: center;

  /* Estado inicial: oculto y con transición suave */
  opacity: 0;
  transition: opacity 0.4s ease-in-out;

  /* Evita que el módulo bloquee el ratón cuando está invisible */
  pointer-events: none;
}

/* 3. El efecto al pasar el ratón por la columna */
.nosotros-hover-modulos:hover .texto-flotante {
  opacity: 1;
  /* Muestra el módulo de texto */
  pointer-events: auto;
  /* Permite interactuar con el texto (si tuviera enlaces) */
}
#nosotros-unirme-al-equipo.et_pb_section{
  padding-bottom:50px !important;
}
#nosotros-unirme-al-equipo, #prefooter-formulario {
  border-bottom: 3px solid #ECEBE9;
}
#nosotros-unirme-al-equipo h3{
    font-size: clamp(24px, 6vw, 65px);
    font-weight:500;
    margin-bottom:30px;
  }
#nosotros-unirme-al-equipo h3, #nosotros-unirme-al-equipo p{
    color: #fff;
  }
  #nosotros-unirme-al-equipo .boton-unete-al-equipo{
    margin-top: 3vw;
  }
  /* ====== ESTILOS PARA EL FORMULARIO DE CONTACTO (WPCF7 + ADD-ON DRAG & DROP) ====== */
  #texto-unete h2 {
    font-size: clamp(14px, 2.5vw, 24px);
    font-weight: 500;
    margin-bottom: clamp(10px, 3vw, 30px);
  }
#texto-unete h3 {
  font-size: clamp(24px, 6vw, 65px);  
  font-weight: 500;
  margin-bottom: clamp(10px, 3vw, 30px);
}

.et_pb_column .et_pb_row_inner, .et_pb_row {
  padding:0;
}

#formulario-unete .et_pb_row {
  width: 90%;
}
/* ====== RESET SUAVE DEL FORM ====== */
.wpcf7 form p{margin:0 0 22px}
.wpcf7-form label{display:block;font-weight:400;color:#2c2c2c;margin:0 0 10px;font-size:16px;}
.wpcf7-response-output{margin-top:16px;border:none;padding:0}

/* ====== CAMPOS DE TEXTO ====== */
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form textarea{
  width:100%;
  padding:18px 20px;
  border:0;
  border-radius:10px;
  background:#ffffff;
  box-shadow:0 0 0 1px #e6e6e6 inset, 0 1px 0 rgba(0,0,0,.02);
  font-size:16px; line-height:1.3; color:#1a1a1a;
  transition:box-shadow .2s ease, transform .02s ease;
}
.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-email:focus,
.wpcf7-form .wpcf7-tel:focus,
.wpcf7-form textarea:focus{
  outline:none;
  box-shadow:0 0 0 2px #d7ece9 inset, 0 0 0 3px #1f3b36;
}
.wpcf7-form .wpcf7-not-valid{
  box-shadow:0 0 0 2px #ffe5e5 inset, 0 0 0 3px #d63b3b;
}

/* ====== GRUPO “SUBE TU CURRICULUM” ====== */
.wpcf7-form label.curriculum{font-weight:700}
.curriculum{
  background:#fff; border-radius:12px;
  box-shadow:0 0 0 1px #e6e6e6 inset, 0 1px 2px rgba(0,0,0,.03);
  padding:18px; 
}
.codedropz-upload-wrapper{
  margin-top:20px;
}
.codedropz-upload-handler{
  display:flex; align-items:center; gap:22px; flex-wrap:wrap; background-color:#DFE5E4;border:0;padding:10px;;
}
.codedropz-upload-container{          
  display:block; 
  background:none; border:0; box-shadow:none; padding:0;
}
.codedropz-upload-inner{
  display:flex; align-items:center; gap:0;
}
.codedropz-upload-inner h3,
.codedropz-upload-inner span{display:none}

/* Botón “+ Sube tu CV” */
.codedropz-btn-wrap,
.codedropz-btn-wrap .cd-upload-btn{
  display:inline-flex; align-items:center; justify-content:center;
}
.codedropz-btn-wrap .cd-upload-btn{
  position:relative;
  text-decoration:none;
  font-weight:400; font-size:16px;
  padding:14px 18px 14px 40px;
  border-radius:8px; border:1px solid #142B29;
  color:#142B29;
  cursor:pointer;
}
.codedropz-btn-wrap .cd-upload-btn::before{
  content:"+"; 
  position:absolute; left:15px; top:50%; transform:translateY(-50%);
  width:22px; height:22px; line-height:22px; text-align:center;  
  font-weight:400; font-size:22px;
}

/* Texto de ayuda a la derecha (inyectado con CSS) */
.codedropz-upload-handler::after{
  content:"Asegúrate de que sea un archivo pdf o .doc que no superen los 3 MB.";
  font-size:15px; color:#4a4a4a;
  font-weight:400;
}

/* Contador “0 de 1” → oculto para clonar la UI de la imagen */
.dnd-upload-counter{display:none}

/* El input real viene oculto por el add-on; mantenemos así */
.wpcf7-drag-n-drop-file.d-none{display:none !important}

/* ====== BOTÓN ENVIAR ====== */
.wpcf7-form .wpcf7-submit{
  width:100%; 
  appearance:none;
  border:0; border-radius:10px;
  background:#14322e; color:#fff;
  padding:18px 24px; font-size:20px; font-weight:800; letter-spacing:.3px;
  box-shadow:0 2px 0 rgba(0,0,0,.08);
  transition: all 0.3s ease-in-out, transform 0.02s ease, filter 0.15s ease, box-shadow 0.2s ease;
}
.wpcf7-form .wpcf7-submit:hover {
  filter: brightness(1.06);
  color: #0E1D1C !important;
  border-color: #0E1D1C !important;
  background-image: initial;
  background-color: #d2e5c9;
}
.wpcf7-form .wpcf7-submit:active{transform:translateY(1px)}
/* ====== ACCESIBILIDAD: ESTADOS Y MENSAJES ====== */
.wpcf7-spinner{display:none}
.wpcf7 form .wpcf7-not-valid-tip{margin-top:8px; font-size:14px; color:#b31e1e}
.wpcf7 form.submitting .wpcf7-submit{opacity:.75; pointer-events:none}

/*========== MENSAJE DE ÉXITO AL MANDAR EL CURRICULUM ==========*/
/* 2. Contenedor Principal (DIV Padre) */
.contenedor-mensaje { 
  width: 100%;
  padding: 25px 35px;
  /* Aumentar el padding para compensar el fondo blanco sin sombra/borde */
  background-color: #FFFFFF;
  border-radius: 5px;;
}

/* 3. Contenedor Flexbox Único (Icono + Texto) */
.contenido-flex {
  display: flex;
  align-items: flex-start;
  /* Alinea los ítems a la parte superior */
}

/* 4. Estilos del Ícono */
.columna-icono {
  /* flex-shrink: 0; */
  margin-right: 12px;
  margin-top: 2px;
  /* Pequeño ajuste para alinear el círculo */
}

/* 5. Estilos de la Columna de Texto */
.columna-texto {
  min-width: 0;
  flex-grow: 1;
  /* Permite que el texto ocupe el espacio restante */
}

/* 6. Estilos del Título (H3) */
.titulo {
  font-size: 20px;
  /* Tamaño base */
  font-weight: 600;
  /* Extra negrita */
  color: #0F7166;
  line-height: 1.3;
  margin-bottom: 1rem;
  margin-top: 0;
}

/* 7. Estilos del Párrafo */
.parrafo {
  font-size: 16px;
  color: #0B332E;
  line-height: 1.5;
  margin-top: 0;
}
body:not(.home) #main-content #prefooter-formulario.et_pb_section{
  padding:2.5% 0 !important;
}

@media screen and (min-width: 700px) {
  #fotos-equipo .et_pb_row {
    /* En tablet, dos columnas */
    flex: 1 1 calc(50% - 5%);
    margin: 10px;
    max-width: 50%;
    justify-content: flex-start;
  }

  #fotos-equipo .et_pb_row:nth-child(-n+2) {
    padding: 0;
  }

  /* Impares → margen derecho */
  #fotos-equipo .et_pb_row:nth-child(odd) {
    margin-right: 2.5%;
  }

  /* Pares → margen izquierdo */
  #fotos-equipo .et_pb_row:nth-child(even) {
    margin-left: 2.5%;
  }
}

@media screen and (min-width: 981px) {  
  /*body:not(.home) #main-content .et_pb_section {
    padding: clamp(0px, 8vw, 100px) 0  !important;
  }*/
  body:not(.home) #main-content #texto-nosotros.et_pb_section {
    padding-bottom: 0 !important;
  }
  #fotos-equipo .et_pb_row {
    flex: 1 1 calc(33.33% - 5%);
    margin: 10px;
    flex-direction: column;
    display: flex;
    max-width:33.33%;    
  }
    /* 1º en cada fila de 3 */
  #fotos-equipo .et_pb_row:nth-child(3n+1) {
    margin-right: 2.5%;
    margin-left: 0;
  }

  /* 2º en cada fila de 3 */
  #fotos-equipo .et_pb_row:nth-child(3n+2) {
    margin-left: 2.5%;
    margin-right: 2.5%;
  }

  /* 3º en cada fila de 3 */
  #fotos-equipo .et_pb_row:nth-child(3n) {
    margin-left: 2.5%;
    margin-right:0;
  }
  #fotos-equipo .et_pb_row:nth-child(-n+3) {
    padding: 0;
  }  
  #texto-nosotros .et_pb_row{
    width:80%;
  }

  #main-content .et_pb_section#fotos-equipo {
    padding-left: 10%;
    padding-right: 10%;
  }
  /* ====== ESTILOS PARA EL FORMULARIO DE CONTACTO (WPCF7 + ADD-ON DRAG & DROP) ====== */
  #formulairo-unete.et_pb_section{
    padding-top:50px !important;
    padding-bottom:50px !important;
  }
  #formulario-unete .et_pb_row{
    width: 60%;
    margin-left:10%;
  }
 
}
/* ====== RESPONSIVE ====== */
@media (max-width:640px) {
  .codedropz-upload-handler {
    gap: 12px
  }

  .codedropz-upload-handler::after {
    flex-basis: 100%
  }

  .codedropz-btn-wrap .cd-upload-btn {
    width: 100%
  }
}

@media (min-width: 640px) {
  .titulo {
    font-size: 24px;
  }

  .parrafo {
    font-size: 18px;
  }
}