/* 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 */

/* TARJETAS */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 20px;
}

.card {
  background: linear-gradient(180deg, #2E7FA3 0%, #1F4C6E 100%);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
  min-height: 260px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* curva superior */
.card::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 120px;
  background: white;
  border-bottom-left-radius: 100% 60px;
  border-bottom-right-radius: 100% 60px;
}

/* icono */
.card-icon {
  font-size: 32px;
  background: #1F4C6E;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  z-index: 1;
  position: relative;
}

/* título */
.card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 10px 0 20px;
  z-index: 1;
}

/* botón */
.card-btn {
  background: white;
  color: #1F4C6E;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  transition: all 0.2s ease;
}

.card-btn:hover {
  background: #f2f2f2;
  transform: translateX(4px);
}

/* responsive */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

