:root {
    --primary: #0D47A1;
    --secondary: #1976D2;
    --accent: #FFC107;
    --dark: #1E1E1E;
    --light: #F5F7FA;
}

body {
    padding-top: 70px;
    background: var(--light);
}

.custom-nav {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.logo {
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.1)
    }

    100% {
        transform: scale(1)
    }
}

.slide1,
.slide2 {
    height: 85vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Slide 1 */
.slide1 {
    background-image: url('../slider1.jpeg');
}

/* Slide 2 */
.slide2 {
    background-image: url('../slider2.jpg');
}

.hero-overlay {
    height: 100%;
    background: rgba(0, 0, 0, .55);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contacto {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 15px 18px;
    border-radius: 50%;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
}

/* ===== CARDS UNIFORMES ===== */
.card {
    overflow: hidden;
    border-radius: 14px;
}

/* contenedor de imagen */
.card-img-top {
    width: 100%;
    height: 260px;
    /* mismo alto para todas */
    object-fit: cover;
    /* recorta sin deformar */
    transition: transform .4s ease;
}

/* efecto zoom */
.card:hover .card-img-top {
    transform: scale(1.12);
}

/* botón wsp */
.btn-wsp {
    transition: all .3s ease;
    font-weight: 600;
}

.btn-wsp:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, .3);
}

/* ===== ESPECIALIDAD ===== */
.especialidad-img {
    max-height: 420px;
    width: 100%;
    object-fit: cover;
}

#especialidad {
    background: linear-gradient(180deg, #f8f9fa, #ffffff);
}

/* ===== CONTACTO ===== */
.contacto-section {
    background: linear-gradient(135deg, #0b5ed7, #198754);
}

.contacto-info li {
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 16px;
}

.contacto-info i {
    font-size: 20px;
    color: #fff;
}

.contacto-section .card {
    border-radius: 14px;
}

/* ===== FOOTER ===== */
.footer-section {
    background: linear-gradient(135deg, #0b1d33, #000);
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ffffffb3;
    text-decoration: none;
    transition: .3s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    color: #ffffffb3;
}

.footer-contact i {
    color: #25d366;
}

.footer-line {
    border-color: rgba(255, 255, 255, .15);
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .3);
    z-index: 999;
    transition: all .3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .4);
}