/* --- Comportamiento de scroll --- */
html {
  scroll-behavior: smooth;
}

/* --- Transición de opacidad para contenido --- */
.site-content {
  transition: opacity 0.3s ease;
}

/* --- Mensaje de error personalizado --- */
.custom-error {
  color: #e63946;
  font-size: 0.9em;
  margin-top: 5px;
  font-weight: 500;
  font-family: 'Segoe UI', sans-serif;
}

/* --- Estilo para botón de formulario CF7 --- */
.wpcf7-form input[type="submit"] {
  display: block;
  margin: 30px auto;
  padding: 12px 30px;
  background-color: #086E52;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #529985;
}

/* --- Alineación personalizada para botones --- */
.mi-boton-personalizado {
  display: flex !important;
  justify-content: center;
}

.mi-boton-personalizado .vc_btn3-container .vc_general {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-radius: 30px !important;
  padding: 12px 30px !important;
  border: none !important;
  transition: background-color 0.3s ease !important;
  text-align: center !important;
}

.mi-boton-personalizado .vc_btn3-container .vc_general:hover {
  background-color: #086E52 !important;
  color: #ffffff !important;
}

/* --- Estilo para mensaje de éxito en CF7 --- */
.wpcf7 form.sent .wpcf7-response-output {
  background-color: #d4edda;
  border: 2px solid #28a745;
  color: #155724;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 10;
}

/* --- Ícono de check para mensaje de éxito --- */
.wpcf7 form.sent .wpcf7-response-output::before {
  content: '✅ ';
  font-size: 1.2em;
  margin-right: 5px;
}

/* --- Menú y logo alineados --- */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-header {
  flex: 1;
}

#dl-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
}

.dl-trigger-wrapper {
  margin-left: auto;
  position: relative;
  top: -15px;
}

/* --- Oculta el header en todas las páginas excepto la home --- */
body:not(.home) header {
  display: none;
}

/* --- Ocultar líneas decorativas en móviles --- */
@media (max-width: 767px) {
  .vc_row-inner.lineas-web,
  .lineas-web,
  .lineas-web * {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}

/* --- Altura mínima para secciones animadas --- */
.min-height-animation {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Estilo de bordes redondeados para botones Ultimate Addons --- */
.ubtn {
  border-radius: 5px;
}


@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400&display=swap');


/* Oculta el header original solo en la página con ID 531 */
body.page-id-531 header.site-header {
  display: none !important;
}

.header-personalizado {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #84B128;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contenedor del logo y botón */
.contenedor-header {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo-personalizado {
  height: 100px;
  width: auto;
}

.boton-regresar {
  background: none;
  color: #ffffff !important;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 200;
	letter-spacing: 2px;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.boton-regresar:hover {
  color: #1C4E9D !important;
}