.fx-pulse{
    position: relative;
    display: inline-block;
}

/* Línea base */
.fx-pulse::before{
    content: "";
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.15);
}

/* Pulso animado */
.fx-pulse::after{
    content: "";
    position: absolute;
    top: -6px;
    left: -30%;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    animation: pulseMove 2.5s linear infinite;
    opacity: 0;
}

/* Activar al hover */
.fx-pulse:hover::after{
    opacity: 1;
}

/* Animación */
@keyframes pulseMove{
    0%{
        left: -30%;
    }
    100%{
        left: 100%;
    }
}

/* Imagen ligera interacción */
.fx-pulse img{
    transition: transform 0.3s ease;
}

.fx-pulse:hover img{
    transform: translateY(-2px);
}
.fx-heartbeat{
    position: relative;
    display: inline-block;
}

/* SVG debajo del logo */
.heartbeat-line{
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 20px;
}

/* Línea ECG */
.heartbeat-line path{
    fill: none;
    stroke: #e63946; /* rojo médico */
    stroke-width: 2;
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    opacity: 0;
}

/* Animación al hover */
.fx-heartbeat:hover .heartbeat-line path{
    animation: heartbeatMove 1.5s linear infinite;
    opacity: 1;
}

/* Animación ECG */
@keyframes heartbeatMove{
    0%{
        stroke-dashoffset: 120;
    }
    100%{
        stroke-dashoffset: 0;
    }
}

/* Interacción del logo */
.fx-heartbeat img{
    transition: transform 0.3s ease;
}

.fx-heartbeat:hover img{
    transform: translateY(-3px);
}
#preloader1{
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0b1c2c;
}

/* CONTENEDOR */
.container1{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* LOGO */
.logo{
    width: 220px;
    margin-bottom: 20px;
    animation: glow 2s ease-in-out infinite alternate;
}

/* ECG */
.ecg{
    width: 300px;
    height: 80px;
}

.ecg path{
    fill: none;
    stroke: #00d4ff;
    stroke-width: 3;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: ecgMove 2s linear infinite;
}

/* TEXTO */
.loading-text{
    color: #00d4ff;
    font-family: Arial;
    margin-top: 10px;
    letter-spacing: 3px;
    text-align: center;
}

/* ANIMACIONES */
@keyframes ecgMove{
    from{ stroke-dashoffset: 500; }
    to{ stroke-dashoffset: 0; }
}

@keyframes glow{
    from{ filter: drop-shadow(0 0 5px #00d4ff); }
    to{ filter: drop-shadow(0 0 20px #00d4ff); }
}

/* ===== SLIDER HOSPITAL MODERNO ===== */

/* IMAGEN */
.hospital-bg {
    filter: brightness(0.65) contrast(1.1);
}

/* OVERLAY AZUL MÉDICO */
.tp-shape {
    background: linear-gradient(
        120deg,
        rgba(10,146,204,0.55),
        rgba(0,0,0,0.35)
    ) !important;
}

/* SUBTÍTULO */
.hospital-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 20px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #A9E1FF !important;
}

/* TÍTULO */
.hospital-title {
    font-family: 'Poppins', sans-serif;
    font-size: 52px !important;
    font-weight: 800;
    line-height: 1.2;
}

/* DESCRIPCIÓN */
.hospital-desc {
    font-size: 17px !important;
    color: #e0f7ff !important;
}

/* BOTÓN */
.hospital-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 14px 32px !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;

    color: #ffffff !important;
    border-radius: 50px !important;
    text-decoration: none;

    background: linear-gradient(135deg, #0A92CC, #0dcaf0);

    border: 1px solid rgba(255,255,255,0.2);

    box-shadow: 
        0 8px 20px rgba(10,146,204,0.35),
        inset 0 1px 0 rgba(255,255,255,0.2);

    backdrop-filter: blur(6px);

    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
/* HOVER */
.hospital-btn:hover {
    transform: translateY(-3px);
    
    background: linear-gradient(135deg, #0dcaf0, #0A92CC);

    box-shadow: 
        0 12px 30px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.hospital-btn::after {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    top: 50%;
    left: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: 0.4s;
}

.hospital-btn:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.hospital-btn:active {
    transform: scale(0.96);
}

.hospital-btn-emergency {
    background: linear-gradient(135deg, #ff4d4d, #cc0000);
    box-shadow: 0 8px 20px rgba(255,0,0,0.4);
}

.hospital-btn-emergency:hover {
    background: linear-gradient(135deg, #ff0000, #990000);
}

/* TEXTO MÁS LEGIBLE */
.tp-caption {
    text-shadow: 0 3px 10px rgba(0,0,0,0.4);
}
/* CARRUSEL DE ESPECIALISTAS */
.owl-carousel-4col {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.owl-carousel-4col.owl-loaded {
    opacity: 1;
}

/* NAV BOTONES */
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #155a96;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    transition: all 0.25s ease;
    z-index: 10;
    color: #fff;
    font-size: 18px;
}

/* hover suave */
.owl-nav button:hover {
    background: #1e73be;
    transform: translateY(-50%) scale(1.08);
}

/* posición */
.owl-nav .owl-prev {
    left: -18px;
}

.owl-nav .owl-next {
    right: -18px;
}
/** publiaciones blogger***/
.owl-carousel-3col {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

.owl-carousel-3col.owl-loaded {
    opacity: 1;
    visibility: visible;
}