/* ================================
   SLIDER APARATOS A PRESIÓN
   ================================ */

.ap-slider {
    width: 100%;
    height: 450px; /* más chico para ver la imagen completa */
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 40px;
    background-color: #000; /* evita fondo blanco */
}

.ap-slide {
    width: 100%;
    height: 100%;
    background-size: contain; /* antes cover */
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.ap-slide.active {
    opacity: 1;
}

/* Flechas */
.ap-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: white;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    z-index: 10;
    transition: background 0.3s;
}

.ap-arrow:hover {
    background: rgba(0,0,0,0.7);
}

.ap-arrow-left {
    left: 15px;
}

.ap-arrow-right {
    right: 15px;
}

/* ================================
   TARJETAS DE SERVICIOS
   ================================ */

.ap-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.ap-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ap-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.ap-card h3 {
    margin-top: 0;
    color: #005bbb;
    font-size: 20px;
    margin-bottom: 12px;
}

.ap-card ul {
    margin-left: 20px;
    line-height: 1.6;
}

/* ================================
   TITULOS Y SECCIONES
   ================================ */

.ap-section-title {
    font-size: 28px;
    color: #005bbb;
    margin-bottom: 10px;
}

.ap-section-subtitle {
    font-size: 18px;
    color: #333;
    margin-bottom: 25px;
}
/* ================================
   TARJETAS DE SERVICIOS
   ================================ */

.ap-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.ap-card {
    background: #f9fafc; /* fondo sutil gris azulado */
    border: 2px solid rgba(0, 91, 187, 0.18); /* contorno suave azul EVH */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ap-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    border-color: #005bbb; /* contorno azul más fuerte en hover */
}

.ap-card h3 {
    margin-top: 0;
    color: #005bbb;
    font-size: 20px;
    margin-bottom: 12px;
}

.ap-card ul {
    margin-left: 20px;
    line-height: 1.6;
}
.ap-slide-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(3px);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ap-slide.active .ap-slide-text {
    opacity: 1;
    transform: translateY(0);
}