/**
Theme Name: Voluntades DIF Zpaopan
Theme URI: https://difzapopan.gob.mx
Author: DIF Zapopan
Author URI: https://difzapopan.gob.mx
Description: Tema para personzalizar pagina de voluntades
Version: 1.0.0
**/

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.page-template {
  margin-bottom: 40px;
}

.grid-empresas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 100px;
  padding: 20px;
}

.item-empresa {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.item-empresa:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.item-empresa img {
  width: 100%;
  height: 250px !important;
  object-fit: cover;
}

.item-empresa .contenido {
  padding: 20px;
}

.item-empresa h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

.item-empresa p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.contenido {
  min-height: 760px !important;
}

.contenido ul {
  list-style: circle !important;
}

h1,
h2,
h3,
h4 {
  color: #E51698 !important;
}

.slider-home {
  max-height: 600px !important;
}

.elementor-image-carousel {
  height: 600px !important;
}

@media (max-width: 767px) {
  .slider-home {
    max-height: 270px !important;
  }

  .elementor-image-carousel {
    height: 270px !important;
  }
}

/* formulario de contacto*/
/* CONTENEDOR GENERAL DEL FORMULARIO */
.wpcf7 form {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    max-width: 600px;
    margin: 0 auto;
}

/* LABELS */
.wpcf7 form p label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 6px;
}

/* CAMPOS INPUT Y TEXTAREA */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    transition: all 0.2s ease;
}

/* FOCUS */
.wpcf7-form-control:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
    outline: none;
}

/* BOTÓN ENVIAR */
.wpcf7-submit {
    background: #2563eb;
    color: #ffffff;
    padding: 12px 28px;
    font-size: 17px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

/* HOVER */
.wpcf7-submit:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

/* SPINNER DE CONTACT FORM 7 */
.wpcf7-spinner {
    margin-left: 10px;
}

/* MENSAJE DE RESPUESTA */
.wpcf7-response-output {
    margin-top: 15px;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 15px;
}

/* Mensajes OK */
.wpcf7-mail-sent-ok {
    background: #ecfdf5;
    border-left: 4px solid #10b981;
}

/* Mensajes error */
.wpcf7-validation-errors,
.wpcf7-not-valid-tip {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #b91c1c;
    padding: 8px 10px;
    border-radius: 8px;
}
