/* Reset global absoluto para aislarlo del tema */
.vm-footer {
  width: 100%;
  background-color: #05038c !important;
  color: #ffffff !important;
  font-family: inherit;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
  border: none !important;
  box-shadow: none !important;
}

.vm-footer * {
  box-sizing: border-box;
}

.vm-footer a {
  color: #ffffff;
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.vm-footer a:hover,
.vm-footer a:focus {
  color: #13aff0 !important;
}

/* Contenedor centralizado (independiente de Bootstrap) */
.vm-footer__inner {
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 0 2rem;
  width: 100%;
}

/* Top Section (Contacto + Formulario) */
.vm-footer__top {
  padding: 4rem 0 !important;
}

.vm-footer__top .vm-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 850px) {
  .vm-footer__top .vm-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }
}

/* Columna de Contacto */
.vm-footer__logo {
  max-width: 220px;
  height: auto;
  margin-bottom: 2rem;
  display: block;
}

@media (max-width: 850px) {
  .vm-footer__logo {
    margin: 0 auto 2rem auto;
  }
}

.vm-footer__title {
  font-weight: 700;
  font-size: clamp(1.4rem, 1vw + 1rem, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #D7A9E3 !important;
}

.vm-footer__text {
  font-size: clamp(1.2rem, 0.8vw + 1rem, 1.5rem);
  opacity: 1;
  margin-bottom: 1.5rem;
  color: #D7A9E3 !important;
}
.vm-footer__text a {
  color: #D7A9E3 !important;
}

.vm-footer__social {
  display: flex;
  gap: 1.8rem;
  margin-top: 1.2rem;
}

@media (max-width: 850px) {
  .vm-footer__social {
    justify-content: center;
  }
}

.vm-footer__social a {
  font-size: 2.2rem;
  opacity: 0.9;
  color: #D7A9E3 !important;
}
.vm-footer__social a:hover {
  opacity: 1;
  color: #13aff0 !important;
}

/* Columna del Formulario */
.vm-footer__form h4 {
  font-size: clamp(1.8rem, 1.5vw + 1.5rem, 2.6rem);
  line-height: 1.25;
  margin-bottom: 1.8rem;
  color: #D7A9E3 !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (max-width: 850px) {
  .vm-footer__form h4 {
    text-align: center;
  }
}

.vm-footer__form form, 
.vm-footer__form .mc4wp-form {
  max-width: 460px;
  display: block;
}

@media (max-width: 850px) {
  .vm-footer__form form, 
  .vm-footer__form .mc4wp-form {
    margin: 0 auto;
  }
}

.vm-footer__form .mc4wp-form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: rgba(255, 255, 255, 0.06);
  padding: 2.2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.vm-footer__form p {
  margin: 0 !important;
  display: flex !important;
  flex-direction: column;
  gap: 0.85rem;
}

.vm-footer__form label,
.vm-footer__form .mc4wp-form-fields label {
  font-size: clamp(1.15rem, 0.5vw + 1rem, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
  color: #ffffff;
  text-align: left;
}

@media (max-width: 850px) {
  .vm-footer__form label,
  .vm-footer__form .mc4wp-form-fields label {
    text-align: center;
  }
}

.vm-footer__form input[type="email"],
.vm-footer__form input[type="text"] {
  height: 56px !important;
  background-color: rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  padding: 0 1.5rem !important;
  border-radius: 12px !important;
  font-size: 1.15rem;
  outline: none !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  box-shadow: none !important;
  margin: 0 !important;
}

.vm-footer__form input[type="email"]::placeholder,
.vm-footer__form input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.vm-footer__form input[type="email"]:focus,
.vm-footer__form input[type="text"]:focus {
  border-color: #13aff0 !important;
  box-shadow: 0 0 0 3px rgba(19, 175, 240, 0.2) !important;
}

.vm-footer__form input[type="submit"],
.vm-footer__form button[type="submit"] {
  height: 56px !important;
  width: 100%;
  background-color: #13aff0 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  margin: 0.5rem 0 0 0 !important;
  padding: 0 !important;
  text-transform: uppercase;
}

.vm-footer__form input[type="submit"]:hover,
.vm-footer__form button[type="submit"]:hover {
  background-color: #0d96d2 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(19, 175, 240, 0.4);
}

/* Bottom Section (Links, Cofepris, Credit) */
.vm-footer__bottom {
  padding: 2rem 0 4rem !important;
}

.vm-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 2.2rem;
  margin-bottom: 3.5rem;
}

.vm-footer__links a {
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  opacity: 0.85;
}
.vm-footer__links a:hover {
  opacity: 1;
}

.vm-footer__cofepris {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.vm-footer__cofepris-logo {
  height: 55px;
  width: auto;
  max-width: 100%;
}

.vm-footer__cofepris a {
  font-size: clamp(1.1rem, 0.5vw + 0.95rem, 1.35rem);
  font-weight: 600;
  text-align: center;
  opacity: 0.9;
}
.vm-footer__cofepris a:hover {
  opacity: 1;
}

.vm-footer__credit {
  text-align: center;
}

.vm-footer__credit a {
  font-size: clamp(1.05rem, 0.4vw + 0.95rem, 1.25rem);
  opacity: 0.8;
  font-weight: 500;
}
.vm-footer__credit a:hover {
  opacity: 1;
}
