/*
 * Landing: Cargadores para vehículos eléctricos
 * Usada solo por page-cargadores-vehiculos-electricos.php
 */

/* Font Awesome con font-display: swap (el CSS original usa "block" y retrasa el pintado).
   Mismas fuentes que fontawesome/css/all.min.css; al estar después, estas reglas tienen prioridad. */
@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fontawesome/webfonts/fa-solid-900.woff2) format("woff2"),
       url(../fontawesome/webfonts/fa-solid-900.woff) format("woff");
}
@font-face {
  font-family: "Font Awesome 5 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fontawesome/webfonts/fa-brands-400.woff2) format("woff2"),
       url(../fontawesome/webfonts/fa-brands-400.woff) format("woff");
}

.ve,
.ve-wa-flotante {
  --ve-rojo: #E2252B;
  --ve-rojo-oscuro: #B81A20;
  --ve-negro: #000;
  --ve-oscuro: #1A1A1A;
  --ve-texto: #2B2B2B;
  --ve-gris: #F4F4F4;
  --ve-borde: #E3E3E3;
  /* Rojo para texto chico sobre gris claro (contraste AA) */
  --ve-rojo-texto: #C81E24;
  /* Verde WhatsApp oscurecido: el #25D366 con texto blanco no llega a AA */
  --ve-wa: #15803D;
  --ve-wa-hover: #116B33;
  --ve-radio: 16px;
  /* Distancia del borde de la pantalla al contenido del .container (para las secciones a sangre) */
  --ve-lado: 16px;
}

.ve {
  color: var(--ve-oscuro);
  overflow-x: hidden;
}

.ve h1,
.ve h2,
.ve h3 {
  color: var(--ve-oscuro);
  text-align: left;
  letter-spacing: -0.01em;
}

.ve p {
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--ve-texto);
}

.ve p + p {
  margin-top: 1.1em;
}

.ve img {
  max-width: 100%;
}

/* ---------- Comunes ---------- */
.ve-seccion {
  padding: 5.5rem 0;
}

.ve-encabezado {
  max-width: 820px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.ve .ve-encabezado h2 {
  text-align: center;
}

.ve .ve-encabezado p {
  margin-top: -0.25rem;
}

.ve-etiqueta {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--ve-rojo-texto);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
}

.ve .ve-titulo {
  font-size: clamp(1.75rem, 2.6vw, 2.375rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.ve-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2.5rem;
  border: 0;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.ve a:focus-visible,
.ve button:focus-visible,
.ve video:focus-visible,
.ve-wa-flotante:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--ve-oscuro);
}

.ve-btn[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

html:has(body.ve-landing) {
  scroll-behavior: smooth;
}

.ve-btn:hover,
.ve-btn:focus {
  text-decoration: none;
  transform: translateY(-2px);
}

.ve-btn i {
  font-size: 1.25em;
}

.ve-btn--rojo {
  background-color: var(--ve-rojo);
  color: #fff;
}

.ve-btn--rojo:hover,
.ve-btn--rojo:focus {
  background-color: var(--ve-rojo-oscuro);
  color: #fff;
}

.ve-btn--wa {
  background-color: var(--ve-wa);
  color: #fff;
}

.ve-btn--wa:hover,
.ve-btn--wa:focus {
  background-color: var(--ve-wa-hover);
  color: #fff;
}

.ve .ve-firma {
  margin-top: 1.75rem;
  color: var(--ve-rojo);
  font-size: 1.25rem;
  font-weight: 700;
}

/* ---------- Portada: video ---------- */
.ve-hero {
  background-color: var(--ve-rojo);
}

.ve-hero__video {
  position: relative;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.ve-hero__video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Frase + spot ---------- */
.ve-frase {
  background-color: var(--ve-negro);
}

.ve-frase .container {
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 3rem;
  align-items: center;
}

.ve-frase__texto {
  padding: 3.5rem 0;
}

.ve .ve-frase__titulo {
  margin-bottom: 1.75rem;
  color: #fff;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.ve .ve-frase__bajada {
  margin-bottom: 2rem;
  color: var(--ve-rojo);
  font-size: clamp(1.15rem, 1.5vw, 1.375rem);
  font-weight: 700;
  line-height: 1.3;
}

.ve-frase__botones {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.ve-frase__botones .ve-btn {
  width: 100%;
  max-width: 330px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.ve-frase__video {
  position: relative;
  align-self: stretch;
  overflow: hidden;
  background: #000;
}

.ve-frase__video video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ve-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0 0 0 4px;
  border: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 1.4rem;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ve-play:hover,
.ve-play:focus-visible {
  background: var(--ve-rojo);
  transform: translate(-50%, -50%) scale(1.06);
}

.ve-play--grande {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  font-size: 2rem;
}

.ve-reproduciendo .ve-play {
  display: none;
}

/* ---------- Presentación (imagen + título) ---------- */
.ve-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--ve-gris);
}

.ve-intro__imagen img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.ve-intro__texto {
  align-self: center;
  max-width: calc(560px + 6rem);
  padding: 3rem 3rem 3rem 3.5rem;
}

.ve .ve-intro h1 {
  color: var(--ve-rojo);
  font-size: clamp(2rem, 2.9vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.75rem;
  text-transform: uppercase;
  width: auto;
}

/* ---------- La solución ---------- */
.ve-solucion__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.ve-galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 170px;
  gap: 12px;
}

.ve-galeria__item {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ve-gris);
}

.ve-galeria__item--alto {
  grid-column: span 2;
  grid-row: span 2;
}

.ve-galeria__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Solución integral ---------- */
.ve-integral {
  background-color: var(--ve-gris);
}

.ve-cards {
  display: grid;
  gap: 1rem;
}

.ve-cards--4 {
  grid-template-columns: repeat(4, 1fr);
}

.ve-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.5rem 2.25rem;
  border-radius: var(--ve-radio);
  background: #fff;
  text-align: center;
}

.ve-card__icono {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  margin-bottom: 1.25rem;
}

.ve-card__icono img {
  display: block;
  width: auto;
  max-height: 72px;
}

.ve .ve-card h3 {
  min-height: 2.6em;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.ve .ve-card p {
  font-size: 0.9375rem;
  line-height: 1.45;
}

/* ---------- Tipos de instalación ---------- */
.ve-tipos {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ve-tipos__texto {
  align-self: center;
  padding: 5rem 4rem 5rem var(--ve-lado);
}

.ve .ve-tipos__texto p {
  max-width: 430px;
}

.ve-tipos__lista {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem var(--ve-lado) 4.5rem 1.5rem;
  background-color: var(--ve-rojo);
}

.ve-tipo {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  max-width: 660px;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  text-decoration: none;
}

.ve-tipo:last-child {
  border-bottom: 0;
}

.ve-tipo:hover,
.ve-tipo:focus {
  color: #fff;
  text-decoration: none;
}

.ve-tipo span {
  flex: 1;
}

.ve .ve-tipo .ve-tipo__flecha {
  flex: 0 0 auto;
  align-self: center;
  margin: 0;
  font-size: 1rem;
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ve-tipo:hover .ve-tipo__flecha,
.ve-tipo:focus-visible .ve-tipo__flecha {
  opacity: 1;
  transform: translateX(4px);
}

.ve-tipo i {
  flex: 0 0 2.25rem;
  margin-top: 0.15rem;
  font-size: 2.1rem;
  text-align: center;
}

.ve-tipo span {
  font-size: 0.9688rem;
  line-height: 1.5;
}

.ve-tipo strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 1.125rem;
  font-weight: 700;
}

/* ---------- Futuro ---------- */
.ve-futuro {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  background-color: var(--ve-negro);
}

.ve-futuro__texto {
  align-self: center;
  padding: 4rem 4rem 4rem var(--ve-lado);
}

.ve .ve-futuro h2 {
  color: #fff;
  max-width: 520px;
  margin-bottom: 1.25rem;
}

.ve .ve-futuro p {
  max-width: 500px;
  color: #fff;
}

.ve .ve-futuro .ve-firma {
  color: var(--ve-rojo);
}

.ve-futuro__imagen img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

/* ---------- Proceso ---------- */
.ve-pasos {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ve-pasos::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  border-top: 2px dashed rgba(226, 37, 43, 0.35);
}

.ve-paso {
  position: relative;
  text-align: center;
}

.ve-paso__icono {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--ve-rojo);
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 0 0 8px #fff, 0 10px 24px rgba(226, 37, 43, 0.3);
}

.ve-paso__num {
  position: absolute;
  top: -6px;
  left: calc(50% + 22px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ve-oscuro);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
}

.ve .ve-paso h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1875rem;
  font-weight: 700;
  text-align: center;
}

.ve .ve-paso p {
  color: var(--ve-texto);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ---------- Tienda en Mercado Libre ---------- */
.ve-ml {
  --ve-ml-amarillo: #FFE600;
  --ve-ml-azul: #2D3277;
  background-color: var(--ve-rojo);
}

.ve-ml .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.ve .ve-ml__titulo {
  max-width: 17.5em;
  margin: 0;
  padding: 2rem 0;
  color: #fff;
  font-size: clamp(1.5rem, 2.1vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
}

.ve-ml__titulo span {
  color: var(--ve-ml-amarillo);
}

.ve-ml__accion {
  position: relative;
  flex: 0 0 auto;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}

.ve-ml__producto {
  display: block;
  width: 520px;
  height: auto;
}

.ve-ml__boton {
  position: absolute;
  left: -55px;
  top: 51%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 52px;
  padding: 0.75rem 1.5rem;
  border-radius: 14px;
  background-color: var(--ve-ml-amarillo);
  color: var(--ve-ml-azul);
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ve-ml__boton:hover,
.ve-ml__boton:focus {
  color: var(--ve-ml-azul);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

/* Texto sólo para lectores de pantalla */
.ve-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1199px) {
  .ve-ml__producto {
    width: 420px;
  }
}

@media (max-width: 991px) {
  .ve-ml .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .ve .ve-ml__titulo {
    padding: 3rem 0 1.5rem;
  }

  .ve-ml__accion {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .ve-ml__boton {
    position: static;
    order: -1;
    margin-bottom: 1.5rem;
  }

  .ve-ml__producto {
    align-self: flex-end;
    width: 100%;
    max-width: 420px;
    margin-right: -12px;
  }
}

@media (max-width: 575px) {
  .ve-ml__boton {
    width: 100%;
    min-width: 0;
  }

  .ve-ml__producto {
    margin-right: -16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ve-ml__boton { transition: none; }
}

/* ---------- Formulario ---------- */
.ve-contacto {
  display: grid;
  grid-template-columns: 38% 62%;
  scroll-margin-top: 20px;
  background-color: var(--ve-gris);
}

.ve-contacto__texto {
  align-self: center;
  padding: 4rem 3rem 4rem var(--ve-lado);
}

.ve .ve-contacto__texto p {
  max-width: 380px;
}

.ve .ve-contacto__texto p strong {
  font-weight: 700;
}

.ve-contacto__logo {
  display: block;
  width: 200px;
  margin-top: 2.5rem;
}

.ve .ve-contacto__texto .ve-firma {
  margin-top: 3rem;
}

.ve-contacto__form {
  display: flex;
  align-items: center;
  padding: 4rem 3rem 3rem 11%;
  background-color: #ddd;
  background-position: center;
  background-size: cover;
}

.ve-form-caja {
  width: 100%;
  max-width: 600px;
  padding: 2rem 1.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Formulario de Contact Form 7 ([contact-form-7 id="77593be"]) */
.ve-form-caja .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 0.75rem;
  margin: 0;
}

/* Por si WPCF7_AUTOP sigue activo: los <p> y <br> que agrega no rompen la grilla */
.ve-form-caja .wpcf7-form > p:not(.ve-form__nota),
.ve-form-caja .ve-campo > p {
  display: contents;
}

.ve-form-caja .wpcf7-form br {
  display: none;
}

.ve-campo {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.ve-campo--full {
  grid-column: 1 / -1;
}

.ve-campo label,
.ve-campo legend {
  margin-bottom: 0.35rem;
  color: var(--ve-oscuro);
  font-size: 0.875rem;
  font-weight: 600;
}

.ve .ve-form__nota {
  grid-column: 1 / -1;
  margin: 0;
  color: #555;
  font-size: 0.8125rem;
}

.ve-form-caja .wpcf7-form-control-wrap {
  display: block;
  position: relative;
  width: 100%;
}

.ve-campo input[type="text"],
.ve-campo input[type="tel"],
.ve-campo input[type="email"],
.ve-campo select,
.ve-campo textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #8F8F8F;
  border-radius: 8px;
  background: #fff;
  color: var(--ve-oscuro);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ve-campo textarea {
  min-height: 110px;
  resize: vertical;
}

.ve-campo select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235F6368' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.ve-campo input:focus,
.ve-campo select:focus,
.ve-campo textarea:focus {
  border-color: var(--ve-rojo);
  box-shadow: 0 0 0 3px rgba(226, 37, 43, 0.15);
  outline: none;
}

.ve-campo [aria-invalid="true"] {
  border-color: var(--ve-rojo);
}

.ve-campo--resaltado select {
  animation: ve-resaltar 1.6s ease-out;
}

@keyframes ve-resaltar {
  0%, 40% { border-color: var(--ve-rojo); box-shadow: 0 0 0 4px rgba(226, 37, 43, 0.25); }
  100% { box-shadow: 0 0 0 4px rgba(226, 37, 43, 0); }
}

/* Radios como pastillas */
.ve-opciones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ve-opciones .wpcf7-list-item {
  display: block;
  margin: 0;
}

.ve-opciones label {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.ve-opciones input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.ve-opciones .wpcf7-list-item-label {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border: 1px solid #8F8F8F;
  border-radius: 999px;
  background: #fff;
  color: var(--ve-texto);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ve-opciones input:checked + .wpcf7-list-item-label {
  border-color: var(--ve-rojo);
  background: var(--ve-rojo);
  color: #fff;
}

.ve-opciones input:focus-visible + .wpcf7-list-item-label {
  box-shadow: 0 0 0 3px rgba(226, 37, 43, 0.35);
}

.ve-opciones.wpcf7-not-valid .wpcf7-list-item-label {
  border-color: var(--ve-rojo);
}

/* Errores por campo */
.ve-form-caja .wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.35rem;
  color: var(--ve-rojo);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Enviar */
.ve-campo--enviar {
  align-items: center;
  margin-top: 0.75rem;
}

.ve-campo--enviar .ve-btn {
  min-width: 270px;
  font-family: inherit;
}

.ve-form-caja .wpcf7-form.submitting .ve-btn {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.ve-form-caja .wpcf7-spinner {
  margin: 0.75rem 0 0;
}

/* Mensaje general de respuesta */
.ve-form-caja .wpcf7 form .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  padding: 0.9rem 1.1rem;
  border: 0;
  border-radius: 10px;
  background: #FDECEC;
  color: var(--ve-rojo-oscuro);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
}

.ve-form-caja .wpcf7 form.init .wpcf7-response-output,
.ve-form-caja .wpcf7 form.resetting .wpcf7-response-output,
.ve-form-caja .wpcf7 form.submitting .wpcf7-response-output {
  display: none;
}

/* Enviado: se ocultan los campos y queda la confirmación */
.ve-form-caja .wpcf7 form.sent .ve-campo,
.ve-form-caja .wpcf7 form.sent .ve-form__nota {
  display: none;
}

.ve-form-caja .wpcf7 form.sent .wpcf7-response-output {
  margin: 0;
  padding: 2.5rem 1.5rem;
  background: transparent;
  color: var(--ve-oscuro);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.ve-form-caja .wpcf7 form.sent .wpcf7-response-output::before {
  content: '\f058';
  display: block;
  margin-bottom: 1rem;
  color: var(--ve-wa);
  font-family: 'Font Awesome 5 Free';
  font-size: 3.5rem;
  font-weight: 900;
}

/* ---------- WhatsApp flotante exclusivo ---------- */
.ve-landing #whatsapp {
  display: none;
}

.ve-wa-flotante {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--ve-wa);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
  text-decoration: none;
}

.ve-wa-flotante::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ve-wa);
  animation: ve-pulso 2.2s ease-out infinite;
  z-index: -1;
}

.ve-wa-flotante:hover,
.ve-wa-flotante:focus {
  color: #fff;
  text-decoration: none;
  transform: scale(1.08);
}

@keyframes ve-pulso {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.ve-landing) { scroll-behavior: auto; }
  .ve-campo--resaltado select { animation: none; }
  .ve-wa-flotante::before { animation: none; }
  .ve *, .ve-wa-flotante { transition: none !important; }
}

/* ---------- Responsive ---------- */
/* --ve-lado acompaña los anchos de .container de Bootstrap 5 */
@media (min-width: 992px) {
  .ve { --ve-lado: calc((100vw - 960px) / 2 + 12px); }
}

@media (min-width: 1200px) {
  .ve { --ve-lado: calc((100vw - 1140px) / 2 + 12px); }
}

@media (min-width: 1400px) {
  .ve { --ve-lado: calc((100vw - 1320px) / 2 + 12px); }
}

@media (max-width: 1199px) {
  .ve-cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ve-contacto {
    grid-template-columns: 40% 60%;
  }

  .ve-contacto__form {
    padding-left: 3rem;
  }
}

@media (max-width: 991px) {
  .ve-seccion {
    padding: 4.5rem 0;
  }

  .ve-frase .container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ve-frase__texto {
    padding: 3rem 0 2.5rem;
  }

  .ve-frase__video {
    margin: 0 -12px 0;
  }

  .ve-intro,
  .ve-tipos,
  .ve-futuro,
  .ve-contacto {
    grid-template-columns: 1fr;
  }

  .ve-intro__imagen img,
  .ve-futuro__imagen img {
    min-height: 0;
    max-height: 460px;
  }

  .ve-intro__texto,
  .ve-tipos__texto,
  .ve-futuro__texto,
  .ve-contacto__texto {
    max-width: none;
    padding: 3.5rem 24px;
  }

  .ve-tipos__lista {
    padding: 3rem 24px;
  }

  .ve-contacto__form {
    padding: 3rem 24px;
  }

  .ve-form-caja {
    margin: 0 auto;
  }

  .ve-solucion__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ve-pasos {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 3rem;
  }

  .ve-pasos::before {
    display: none;
  }
}

@media (max-width: 575px) {
  .ve .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ve-seccion {
    padding: 3.5rem 0;
  }

  .ve-encabezado {
    margin-bottom: 2rem;
  }

  .ve-hero .container {
    padding: 0;
  }

  .ve-frase__botones .ve-btn {
    max-width: none;
  }

  .ve-frase__video {
    margin: 0 -16px;
  }

  .ve-play--grande {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    font-size: 1.5rem;
  }

  .ve-intro__texto,
  .ve-tipos__texto,
  .ve-futuro__texto,
  .ve-contacto__texto {
    padding: 3rem 16px;
  }

  .ve-tipos__lista,
  .ve-contacto__form {
    padding: 2.5rem 16px;
  }

  .ve-tipo {
    gap: 1.25rem;
  }

  .ve-cards--4 {
    grid-template-columns: 1fr;
  }

  .ve .ve-card h3 {
    min-height: 0;
  }

  .ve-galeria {
    grid-auto-rows: 110px;
    gap: 8px;
  }

  .ve-pasos {
    grid-template-columns: 1fr;
  }

  .ve-form-caja {
    padding: 1.5rem 1.1rem;
  }

  .ve-form-caja .wpcf7-form {
    grid-template-columns: 1fr;
  }

  .ve-campo--enviar .ve-btn {
    width: 100%;
    min-width: 0;
  }

  .ve-wa-flotante {
    right: 14px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
  }
}
