/* RESET BÁSICO */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Sección de Contacto */
.section-contact-premium {
    padding: 100px 0;
    background: linear-gradient(135deg, #0e315b 0%, #051830 100%);
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    position: relative;
    overflow: hidden;
}

/* Elemento decorativo */
.section-contact-premium::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(58, 166, 208, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* CONTENEDOR PRINCIPAL */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5px;
    position: relative;
    z-index: 2;
}

/* COLUMNA IZQUIERDA (INFO) */
.contact-info-col {
    flex: 0 0 42%;
    min-width: 320px;
    padding-right: 33px;
}

/* COLUMNA DERECHA (FORMULARIO) */
.contact-form-col {
    flex: 0 0 50%;
    min-width: 320px;
}

/* TITULOS Y TEXTOS */
.contact-label {
    display: inline-block;
    font-size: 0.9rem;
    color: #3aa6d0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.contact-title {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 30px;
    background: linear-gradient(to right, #ffffff, #a0c4e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-desc {
    font-size: 1.15rem;
    color: #aebecf;
    line-height: 1.6;
    margin-bottom: 50px;
}

/* LISTA DE DETALLES */
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.detail-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(58, 166, 208, 0.1);
    border: 1px solid rgba(58, 166, 208, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3aa6d0;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-detail-item:hover .detail-icon {
    transform: scale(1.1);
    background-color: rgba(58, 166, 208, 0.2);
}

.detail-text h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #ffffff;
}

.detail-text p,
.detail-text a {
    font-size: 1rem;
    color: #aebecf;
    margin: 0;
    text-decoration: none;
    transition: color 0.2s;
}

.detail-text a:hover {
    color: #3aa6d0;
}

/* FORMULARIO */
.contact-form-wrapper {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    color: #333333;
    width: 100%;
}

/* RESPONSIVE */
@media (max-width: 960px) {
    .contact-container {
        margin: 0 auto;
        padding: 0 30px; }
    .section-contact-premium {
      padding: 24px 0;
    }
    .contact-container {
        flex-direction: column;
    }

    .contact-info-col,
    .contact-form-col {
        flex: 0 0 100%;
        width: 100%;
        padding-right: 0;
    }

    .contact-info-col {
        text-align: center;
    }

    .contact-details-list {
        align-items: center;
    }

    .contact-detail-item {
        text-align: left;
        background: rgba(255, 255, 255, 0.05);
        padding: 15px 20px;
        border-radius: 12px;
        width: 100%;
        max-width: 420px;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    .contact-form-wrapper {
        padding: 30px;
    }
}

/* BOTÓN A ANCHO COMPLETO */
.rf-submit input[type="submit"],
.wpcf7-submit {
    width: 100% !important;
    display: block;
    padding: 16px 20px;
    background: #0e315b;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.25s ease;
}


/* OCULTAR SPINNER DE CONTACT FORM 7 */
.wpcf7-spinner {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rf-form h2 {
  text-align: center;
}



/*/////////////////////////////////////////////////////////////////*/
.catalogo-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    margin: 40px 0;
    padding: 20px 0;
  }
  
  .catalogo-filtros {
    background: #f5f7fa;
    padding: 20px;
    border-radius: 8px;
    font-size: 14px;
  }
  
  .catalogo-filtros h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #0e315b;
  }
  
  .catalogo-filtros label {
    display: block;
    margin-bottom: 12px;
  }
  
  .catalogo-filtros select {
    width: 100%;
    margin-top: 4px;
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid #d0d4dd;
    font-size: 14px;
  }
  
  .catalogo-contenido {
    position: relative;
  }
  
  #catalogo-grid.is-loading {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  
  .catalogo-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }
  
  .catalogo-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    text-align: center;
    padding-bottom: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  }
  
  .catalogo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
    opacity: 1;
  }
  
  .catalogo-card-img {
    width: 100%;
    padding-top: 75%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f5f7fa;
  }
  
  .catalogo-card-title {
    font-size: 14px;
    margin: 10px 10px 0;
    color: #333333;
  }
  
  /* paginación */
  .catalogo-pagination-inner {
    margin-top: 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .catalogo-page-btn {
    border: 1px solid #d0d4dd;
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }
  
  .catalogo-page-btn.active,
  .catalogo-page-btn:hover {
    background: #0e315b;
    color: #ffffff;
    border-color: #0e315b;
  }
  
  /* responsive */
  @media (max-width: 900px) {
    .catalogo-wrapper {
      grid-template-columns: 1fr;
    }
  }
  