/* ========== CALCULADORA DE HIPOTECAS ========== */
.calculadora-hipotecas-wrapper {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  overflow-x: hidden;
  background: #f8f9fa;
}

/* Título principal */
.sim_h2_negro {
  font-size: 42px;
  font-weight: 100;
  color: #2c3e50;
  letter-spacing: 2px;
  text-align: center;
  padding: 80px 20px 40px;
  margin: 0;
}

.sim_h2_negro::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: #e6764e;
  margin: 20px auto 0;
}

/* Contenedor de calculadoras */
.row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.col-lg-6 {
  flex: 1;
  min-width: 300px;
}

/* Estilos de cada calculadora */
.calculadora-estilos {
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden !important;
  height: 100%;
  transition: all 0.3s ease;
}

.calculadora-estilos:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Subtítulos de calculadoras */
.sim_h3_negro {
  font-size: 28px;
  font-weight: 100;
  color: white;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  padding: 35px 30px;
  margin: 0;
  text-align: center;
  line-height: 1.4;
}

.sim_h3_negro .highlight {
  color: #e6764e;
  display: block;
  font-size: 32px;
  margin-top: 10px;
}

/* Contenido de calculadora */
.div_calculadoras {
  padding: 40px 35px 60px 35px !important;
  overflow: visible !important;
}

.textoContenido p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin: 15px 0;
}

.textoContenido p strong {
  color: #2c3e50;
  font-weight: 100;
}

/* Formularios */
.div_calculadoras form {
  margin: 30px 0;
}

.div_calculadoras table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 0 !important;
}

.div_calculadoras table td {
  padding: 12px 0;
  vertical-align: middle;
}

/* Inputs y Selects */
.div_calculadoras input[type="number"],
.div_calculadoras input[type="text"],
.div_calculadoras select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 15px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: inherit;
  color: #2c3e50;
}

.div_calculadoras input[type="number"]:focus,
.div_calculadoras input[type="text"]:focus,
.div_calculadoras select:focus {
  border-color: #e6764e;
  outline: none;
  box-shadow: 0 0 0 3px rgba(241, 105, 1, 0.1);
}

.div_calculadoras select {
  background: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.div_calculadoras input::placeholder {
  color: #999;
}

/* Celda del botón con espacio adicional */
.div_calculadoras table tr:last-child td {
  padding-top: 25px !important;
  padding-bottom: 5px !important;
}

/* Botón Calcular */
.Be1,
input[type="submit"].Be1 {
  display: block;
  width: 100%;
  height: 50px;
  padding: 16px 40px;
  background: #e6764e;
  color: white !important;
  border: none;
  border-radius: 5px;
  font-weight: 100;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(241, 105, 1, 0.3);
  margin: 0 !important;
  line-height: 1.5;
}

.Be1:hover,
input[type="submit"].Be1:hover {
  background: #d45801;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(241, 105, 1, 0.4);
}

.Be1:active,
input[type="submit"].Be1:active {
  transform: translateY(0) !important;
}

/* Resultado - Precio destacado */
.precio {
  display: block;
  font-size: 56px;
  font-weight: 900;
  color: #e6764e;
  text-align: center;
  margin: 30px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  padding: 30px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 3px solid #e6764e;
}

/* Alertas */
.alert {
  padding: 20px;
  border-radius: 5px;
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.6;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-left: 5px solid #28a745;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-left: 5px solid #dc3545;
}

.alert strong {
  font-weight: 100;
}

/* Nota informativa pequeña */
.div_calculadoras p:last-child {
  font-size: 13px;
  color: #999;
  font-style: italic;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

/* Calculadora a ancho completo (cuando hay tipo_calc) */
.calculadora-estilos[style*="width:100%"] {
  max-width: 900px;
  margin: 0 auto 40px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  /* Reducir padding lateral del contenedor principal */
  .row {
    padding: 0 15px 60px !important;
    flex-direction: column;
    gap: 25px;
  }

  /* Asegurar que las columnas ocupen el 100% */
  .row .col-lg-6 {
    width: 100% !important;
    flex: none !important;
    min-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Asegurar que las calculadoras ocupen todo el ancho */
  .calculadora-estilos {
    width: 100% !important;
    margin: 0 !important;
  }

  .sim_h2_negro {
    font-size: 32px;
    padding: 60px 15px 30px;
  }

  .sim_h3_negro {
    font-size: 24px;
    padding: 25px 20px;
  }

  .sim_h3_negro .highlight {
    font-size: 26px;
  }

  .div_calculadoras {
    padding: 30px 20px 50px 20px !important;
  }

  .textoContenido p {
    font-size: 15px;
  }

  .precio {
    font-size: 42px;
    padding: 25px 15px;
  }

  .div_calculadoras input[type="number"],
  .div_calculadoras input[type="text"],
  .div_calculadoras select {
    padding: 12px 14px;
    font-size: 14px;
  }

  .Be1,
  input[type="submit"].Be1 {
    padding: 14px 30px;
    font-size: 14px;
  }

  .alert {
    padding: 15px;
    font-size: 14px;
  }

  /* Calculadora a ancho completo en móvil */
  .calculadora-estilos[style*="width:100%"] {
    max-width: 100% !important;
    margin: 0 0 30px 0 !important;
  }

  .container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 0px;
    padding-right: 0px;
  }
  #main-content .block-content > .container {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  /* Reducir aún más los márgenes en móviles pequeños */
  .row {
    padding: 0 10px 50px !important;
    gap: 20px;
  }

  .sim_h2_negro {
    font-size: 26px;
    padding: 50px 10px 25px;
  }

  .sim_h3_negro {
    font-size: 20px;
    padding: 20px 15px;
  }

  .sim_h3_negro .highlight {
    font-size: 22px;
  }

  .div_calculadoras {
    padding: 25px 15px 45px 15px !important;
  }
  .precio {
    font-size: 36px;
    padding: 20px 10px;
  }
}

/* ========== FORMULARIO DE SOLICITUD DE HIPOTECA ========== */

.entry-content.mh-layout.position-relative {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 50px 40px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.entry-content.mh-layout h2 {
  font-size: 32px;
  font-weight: 100;
  color: #2c3e50;
  text-align: center;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
}

.entry-content.mh-layout h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #e6764e;
  margin: 15px auto 30px;
}

/* Reset del span/p wrapper heredado */
.entry-content.mh-layout > p {
  margin: 0;
}

.entry-content.mh-layout > p > span {
  width: 100% !important;
  float: none !important;
}

/* Contenedor del formulario */
.wpforms-container-full {
  width: 100%;
}

.wpforms-form .wpforms-field-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

/* Campos mitad */
.wpforms-form .wpforms-field.wpforms-one-half {
  width: calc(50% - 10px);
  float: left;
  margin-bottom: 18px;
}

.wpforms-form .wpforms-field.wpforms-one-half.wpforms-first {
  margin-right: 20px;
  clear: left;
}

/* Campos ancho completo */
.wpforms-form .wpforms-field-select,
.wpforms-form .wpforms-field-textarea {
  width: 100%;
  clear: both;
  margin-bottom: 18px;
}

/* Labels */
.wpforms-form .wpforms-field-label {
  display: block;
  margin-bottom: 6px;
}

.wpforms-form .wpforms-field-label .texto_blanco {
  color: #2c3e50 !important;
  font-size: 14px;
  font-weight: 500;
}

.wpforms-required-label {
  color: #e6764e;
  margin-left: 3px;
}

/* Inputs, selects, textarea */
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="number"],
.wpforms-form select,
.wpforms-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 15px;
  font-family: inherit;
  color: #2c3e50;
  background: #fafafa;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.wpforms-form input:focus,
.wpforms-form select:focus,
.wpforms-form textarea:focus {
  border-color: #e6764e;
  background: white;
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 118, 78, 0.1);
}

.wpforms-form input::placeholder {
  color: #aaa;
  font-size: 13px;
}

.wpforms-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Separadores de sección */
.wpforms-form div[style*="border-bottom"] {
  width: 100% !important;
  clear: both;
  margin-top: 25px !important;
  margin-bottom: 15px !important;
  padding-bottom: 8px !important;
  border-bottom-color: #e0e0e0 !important;
}

.wpforms-form div[style*="border-bottom"] .texto_blanco {
  color: #2c3e50 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
}

/* Bloque segundo titular */
#bloque_segundo_titular {
  clear: both;
}

#bloque_segundo_titular > div[style*="border-left"] {
  background: rgba(230, 118, 78, 0.06) !important;
  border-left: 3px solid #e6764e !important;
  border-radius: 5px !important;
  padding: 12px 15px !important;
  margin-bottom: 15px !important;
}

#bloque_segundo_titular .texto_blanco {
  color: #2c3e50 !important;
}

/* Checkbox aviso legal */
#wpforms-130-field_legal-container {
  clear: both;
  width: 100%;
  margin-top: 20px !important;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

#wpforms-130-field_legal-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #e6764e;
  vertical-align: middle;
  margin-right: 8px;
  cursor: pointer;
}

#wpforms-130-field_legal-container .texto_blanco {
  color: #555 !important;
  font-size: 13px !important;
}

#wpforms-130-field_legal-container a {
  color: #e6764e;
  text-decoration: none;
  font-weight: 500;
}

#wpforms-130-field_legal-container a:hover {
  text-decoration: underline;
}

/* Mensajes resultado */
#form_mensaje_resultado {
  clear: both;
  width: 100%;
}

#form_mensaje_resultado .alert {
  margin: 15px 0;
}

/* Botón enviar */
.wpforms-submit-container {
  clear: both;
  width: 100%;
  text-align: center;
  padding-top: 25px;
}

/* ========== CALCULADORA DE HIPOTECAS ========== */
.calculadora-hipotecas-wrapper {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  overflow-x: hidden;
  background: #f8f9fa;
}

/* Título principal */
.sim_h2_negro {
  font-size: 42px;
  font-weight: 100;
  color: #2c3e50;
  letter-spacing: 2px;
  text-align: center;
  padding: 80px 20px 40px;
  margin: 0;
}

.sim_h2_negro::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: #e6764e;
  margin: 20px auto 0;
}

/* Contenedor de calculadoras */
.row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.col-lg-6 {
  flex: 1;
  min-width: 300px;
}

/* Estilos de cada calculadora */
.calculadora-estilos {
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden !important;
  height: 100%;
  transition: all 0.3s ease;
}

.calculadora-estilos:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Subtítulos de calculadoras */
.sim_h3_negro {
  font-size: 28px;
  font-weight: 100;
  color: white;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  padding: 35px 30px;
  margin: 0;
  text-align: center;
  line-height: 1.4;
}

.sim_h3_negro .highlight {
  color: #e6764e;
  display: block;
  font-size: 32px;
  margin-top: 10px;
}

/* Contenido de calculadora */
.div_calculadoras {
  padding: 40px 35px 60px 35px !important;
  overflow: visible !important;
}

.textoContenido p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin: 15px 0;
}

.textoContenido p strong {
  color: #2c3e50;
  font-weight: 100;
}

/* Formularios */
.div_calculadoras form {
  margin: 30px 0;
}

.div_calculadoras table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 0 !important;
}

.div_calculadoras table td {
  padding: 12px 0;
  vertical-align: middle;
}

/* Inputs y Selects */
.div_calculadoras input[type="number"],
.div_calculadoras input[type="text"],
.div_calculadoras select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 15px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: inherit;
  color: #2c3e50;
}

.div_calculadoras input[type="number"]:focus,
.div_calculadoras input[type="text"]:focus,
.div_calculadoras select:focus {
  border-color: #e6764e;
  outline: none;
  box-shadow: 0 0 0 3px rgba(241, 105, 1, 0.1);
}

.div_calculadoras select {
  background: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.div_calculadoras input::placeholder {
  color: #999;
}

/* Celda del botón con espacio adicional */
.div_calculadoras table tr:last-child td {
  padding-top: 25px !important;
  padding-bottom: 5px !important;
}

/* Botón Calcular */
.Be1,
input[type="submit"].Be1 {
  display: block;
  width: 100%;
  height: 50px;
  padding: 16px 40px;
  background-image: linear-gradient(
    180deg,
    #e6764e 0%,
    #e6764e 100%
  ) !important;
  color: #ffffff !important;
  border: none;
  border-radius: 55px;
  font-weight: 100;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 !important;
  line-height: 1.5;
  box-shadow: none;
}

.Be1:hover,
input[type="submit"].Be1:hover {
  transform: translateY(-2px);
  background-color: transparent !important;
  background-image: linear-gradient(180deg, #e6764e 0%, #cc572d 86%) !important;
  color: #ffffff !important;
  box-shadow: none;
}

.Be1:active,
input[type="submit"].Be1:active {
  transform: translateY(0) !important;
}

/* Resultado - Precio destacado */
.precio {
  display: block;
  font-size: 56px;
  font-weight: 900;
  color: #e6764e;
  text-align: center;
  margin: 30px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  padding: 30px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 3px solid #e6764e;
}

/* Alertas */
.alert {
  padding: 20px;
  border-radius: 5px;
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.6;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-left: 5px solid #28a745;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-left: 5px solid #dc3545;
}

.alert strong {
  font-weight: 100;
}

/* Nota informativa pequeña */
.div_calculadoras p:last-child {
  font-size: 13px;
  color: #999;
  font-style: italic;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

/* Calculadora a ancho completo (cuando hay tipo_calc) */
.calculadora-estilos[style*="width:100%"] {
  max-width: 900px;
  margin: 0 auto 40px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  /* Reducir padding lateral del contenedor principal */
  .row {
    padding: 0 15px 60px !important;
    flex-direction: column;
    gap: 25px;
  }

  /* Asegurar que las columnas ocupen el 100% */
  .row .col-lg-6 {
    width: 100% !important;
    flex: none !important;
    min-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Asegurar que las calculadoras ocupen todo el ancho */
  .calculadora-estilos {
    width: 100% !important;
    margin: 0 !important;
  }

  .sim_h2_negro {
    font-size: 32px;
    padding: 60px 15px 30px;
  }

  .sim_h3_negro {
    font-size: 24px;
    padding: 25px 20px;
  }

  .sim_h3_negro .highlight {
    font-size: 26px;
  }

  .div_calculadoras {
    padding: 30px 20px 50px 20px !important;
  }

  .textoContenido p {
    font-size: 15px;
  }

  .precio {
    font-size: 42px;
    padding: 25px 15px;
  }

  .div_calculadoras input[type="number"],
  .div_calculadoras input[type="text"],
  .div_calculadoras select {
    padding: 12px 14px;
    font-size: 14px;
  }

  .Be1,
  input[type="submit"].Be1 {
    padding: 14px 30px;
    font-size: 14px;
  }

  .alert {
    padding: 15px;
    font-size: 14px;
  }

  /* Calculadora a ancho completo en móvil */
  .calculadora-estilos[style*="width:100%"] {
    max-width: 100% !important;
    margin: 0 0 30px 0 !important;
  }

  .container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 0px;
    padding-right: 0px;
  }
  #main-content .block-content > .container {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  /* Reducir aún más los márgenes en móviles pequeños */
  .row {
    padding: 0 10px 50px !important;
    gap: 20px;
  }

  .sim_h2_negro {
    font-size: 26px;
    padding: 50px 10px 25px;
  }

  .sim_h3_negro {
    font-size: 20px;
    padding: 20px 15px;
  }

  .sim_h3_negro .highlight {
    font-size: 22px;
  }

  .div_calculadoras {
    padding: 25px 15px 45px 15px !important;
  }
  .precio {
    font-size: 36px;
    padding: 20px 10px;
  }
}

/* ========== FORMULARIO DE SOLICITUD DE HIPOTECA ========== */

.entry-content.mh-layout.position-relative {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 50px 40px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.entry-content.mh-layout h2 {
  font-size: 32px;
  font-weight: 100;
  color: #2c3e50;
  text-align: center;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
}

.entry-content.mh-layout h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #e6764e;
  margin: 15px auto 30px;
}

/* Reset del span/p wrapper heredado */
.entry-content.mh-layout > p {
  margin: 0;
}

.entry-content.mh-layout > p > span {
  width: 100% !important;
  float: none !important;
}

/* Contenedor del formulario */
.wpforms-container-full {
  width: 100%;
}

.wpforms-form .wpforms-field-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

/* Campos mitad */
.wpforms-form .wpforms-field.wpforms-one-half {
  width: calc(50% - 10px);
  float: left;
  margin-bottom: 18px;
}

.wpforms-form .wpforms-field.wpforms-one-half.wpforms-first {
  margin-right: 20px;
  clear: left;
}

/* Campos ancho completo */
.wpforms-form .wpforms-field-select,
.wpforms-form .wpforms-field-textarea {
  width: 100%;
  clear: both;
  margin-bottom: 18px;
}

/* Labels */
.wpforms-form .wpforms-field-label {
  display: block;
  margin-bottom: 6px;
}

.wpforms-form .wpforms-field-label .texto_blanco {
  color: #2c3e50 !important;
  font-size: 14px;
  font-weight: 500;
}

.wpforms-required-label {
  color: #e6764e;
  margin-left: 3px;
}

/* Inputs, selects, textarea */
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="number"],
.wpforms-form select,
.wpforms-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 15px;
  font-family: inherit;
  color: #2c3e50;
  background: #fafafa;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.wpforms-form input:focus,
.wpforms-form select:focus,
.wpforms-form textarea:focus {
  border-color: #e6764e;
  background: white;
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 118, 78, 0.1);
}

.wpforms-form input::placeholder {
  color: #aaa;
  font-size: 13px;
}

.wpforms-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Separadores de sección */
.wpforms-form div[style*="border-bottom"] {
  width: 100% !important;
  clear: both;
  margin-top: 25px !important;
  margin-bottom: 15px !important;
  padding-bottom: 8px !important;
  border-bottom-color: #e0e0e0 !important;
}

.wpforms-form div[style*="border-bottom"] .texto_blanco {
  color: #2c3e50 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
}

/* Bloque segundo titular */
#bloque_segundo_titular {
  clear: both;
}

#bloque_segundo_titular > div[style*="border-left"] {
  background: rgba(230, 118, 78, 0.06) !important;
  border-left: 3px solid #e6764e !important;
  border-radius: 5px !important;
  padding: 12px 15px !important;
  margin-bottom: 15px !important;
}

#bloque_segundo_titular .texto_blanco {
  color: #2c3e50 !important;
}

/* Checkbox aviso legal */
#wpforms-130-field_legal-container {
  clear: both;
  width: 100%;
  margin-top: 20px !important;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

#wpforms-130-field_legal-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #e6764e;
  vertical-align: middle;
  margin-right: 8px;
  cursor: pointer;
}

#wpforms-130-field_legal-container .texto_blanco {
  color: #555 !important;
  font-size: 13px !important;
}

#wpforms-130-field_legal-container a {
  color: #e6764e;
  text-decoration: none;
  font-weight: 500;
}

#wpforms-130-field_legal-container a:hover {
  text-decoration: underline;
}

/* Mensajes resultado */
#form_mensaje_resultado {
  clear: both;
  width: 100%;
}

#form_mensaje_resultado .alert {
  margin: 15px 0;
}

/* Botón enviar */
.wpforms-submit-container {
  clear: both;
  width: 100%;
  text-align: center;
  padding-top: 25px;
}

.wpforms-submit {
  display: inline-block;
  min-width: 250px;
  padding: 14px 40px;
  background: #e6764e;
  color: white !important;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(230, 118, 78, 0.3);
}

.wpforms-submit:hover {
  background: #d4603a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 118, 78, 0.4);
}

.wpforms-submit:active {
  transform: translateY(0);
}

.wpforms-submit:disabled {
  background: #ccc;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.elementor-kit-6 .wpforms-submit.Be1,
.wpforms-submit.Be1 {
  display: block;
  width: 100%;
  max-width: 400px;
  height: 50px;
  margin: 0 auto !important;
  padding: 16px 40px;
  background-image: linear-gradient(
    180deg,
    #e6764e 0%,
    #e6764e 100%
  ) !important;
  color: #ffffff !important;
  border: none;
  border-radius: 55px;
  font-weight: 100;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: none;
  line-height: 1.5;
}

.elementor-kit-6 .wpforms-submit.Be1:hover,
.elementor-kit-6 .wpforms-submit.Be1:focus,
.wpforms-submit.Be1:hover,
.wpforms-submit.Be1:focus {
  transform: translateY(-2px);
  background-color: transparent !important;
  background-image: linear-gradient(180deg, #e6764e 0%, #cc572d 86%) !important;
  color: #ffffff !important;
}

.wpforms-submit.Be1:active {
  transform: translateY(0) !important;
}

.wpforms-submit.Be1:disabled {
  background: #ccc !important;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ========== RESPONSIVE FORMULARIO ========== */
@media (max-width: 768px) {
  .entry-content.mh-layout.position-relative {
    margin: 0 15px 40px;
    padding: 35px 25px;
  }

  .entry-content.mh-layout h2 {
    font-size: 26px;
  }

  .wpforms-form .wpforms-field.wpforms-one-half {
    width: 100%;
    margin-right: 0 !important;
  }

  .wpforms-form .wpforms-field.wpforms-one-half.wpforms-first {
    margin-right: 0;
  }

  .wpforms-submit {
    width: 100%;
    min-width: unset;
  }
}

@media (max-width: 480px) {
  .entry-content.mh-layout.position-relative {
    margin: 0 10px 30px;
    padding: 25px 15px;
  }

  .entry-content.mh-layout h2 {
    font-size: 22px;
  }

  .wpforms-form input[type="text"],
  .wpforms-form input[type="email"],
  .wpforms-form input[type="tel"],
  .wpforms-form input[type="number"],
  .wpforms-form select {
    padding: 10px 12px;
    font-size: 14px;
  }

  .wpforms-form div[style*="border-bottom"] .texto_blanco {
    font-size: 16px !important;
  }
}

.wpforms-submit.Be1 {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto !important;
}

/* ========== RESPONSIVE FORMULARIO ========== */
@media (max-width: 768px) {
  .entry-content.mh-layout.position-relative {
    margin: 0 15px 40px;
    padding: 35px 25px;
  }

  .entry-content.mh-layout h2 {
    font-size: 26px;
  }

  .wpforms-form .wpforms-field.wpforms-one-half {
    width: 100%;
    margin-right: 0 !important;
  }

  .wpforms-form .wpforms-field.wpforms-one-half.wpforms-first {
    margin-right: 0;
  }

  .wpforms-submit {
    width: 100%;
    min-width: unset;
  }
}

@media (max-width: 480px) {
  .entry-content.mh-layout.position-relative {
    margin: 0 10px 30px;
    padding: 25px 15px;
  }

  .entry-content.mh-layout h2 {
    font-size: 22px;
  }

  .wpforms-form input[type="text"],
  .wpforms-form input[type="email"],
  .wpforms-form input[type="tel"],
  .wpforms-form input[type="number"],
  .wpforms-form select {
    padding: 10px 12px;
    font-size: 14px;
  }

  .wpforms-form div[style*="border-bottom"] .texto_blanco {
    font-size: 16px !important;
  }
}
