/* Ocultar categoría */
.post-categories,
.cat-links,
.entry-categories,
.post-meta,
.post-category {
display:none !important;
}

/* Ocultar bajada de noticia */
.entry-summary,
.entry-excerpt,
.post-excerpt,
.excerpt,
.blog-excerpt {
display:none !important;
}

#jurisdiction-map {
  height: 500px;
  width: 100%;
}

/* Desde aquí Form de contacto */
.form-contacto {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
}

.form-contacto label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #ffffff;
}

/* IMPORTANTE 👇 */
.form-contacto input,
.form-contacto textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #f2f2f2;
  font-size: 14px;
  box-sizing: border-box; /* 🔥 CLAVE para que no se rompa */
}

.form-contacto textarea {
  min-height: 160px;
}

/* filas */
.fila {
  margin-bottom: 20px;
}

/* columnas */
.fila.doble {
  display: flex;
  gap: 20px;
}

.fila.doble .col {
  flex: 1;
  min-width: 0; /* 🔥 evita que se desborde */
}

/* botón */
.form-contacto input[type="submit"] {
  width: 100%;
  background: linear-gradient(135deg, #00a8cc, #007ea7);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.form-contacto input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* responsive */
@media (max-width: 600px) {
  .fila.doble {
    flex-direction: column;
  }
}
/* Hasta aquí Form de contacto */

/* 1. Hacer el header transparente y superpuesto */
.home .vc_row.top-level > .span_12 {
    padding-top: 0 !important;
}
/* Hasta aquí el header */

/* Desde aquí diagrama 1 */
.diagrama-env {
  position: relative;
  max-width: 1000px;
  margin: 60px auto;
  padding-top: 40px;
}

/* CAJAS */
.diagrama-env .box {
  background: #0d2b4d;
  color: white;
  padding: 14px 18px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  z-index: 2;
  position: relative;

  opacity: 0;
  transform: translateY(20px);
  animation: aparecer 0.8s ease forwards;
}

.diagrama-env .main {
  width: fit-content;
  margin: 0 auto 80px;
  animation-delay: 0.2s;
}

.diagrama-env .row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.diagrama-env .row .box {
  width: 30%;
}

.diagrama-env .row .box:nth-child(1) { animation-delay: 0.6s; }
.diagrama-env .row .box:nth-child(2) { animation-delay: 0.8s; }
.diagrama-env .row .box:nth-child(3) { animation-delay: 1s; }

/* SVG */
.diagrama-env .lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.diagrama-env line {
  stroke: #0d2b4d;
  stroke-width: 2;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 1s ease forwards;
  animation-delay: 0.5s;
}

/* ANIMACIONES */
@keyframes aparecer {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
/* Hasta aquí diagrama 1 */
