
/* --- Animaciones --- */
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseBlue {
    0%   { box-shadow: 0 0 0 0   rgba(13,110,253,0.35); }
    70%  { box-shadow: 0 0 0 12px rgba(13,110,253,0); }
    100% { box-shadow: 0 0 0 0   rgba(13,110,253,0); }
}

/* --- Topbar --- */
.topbar {
    animation: fadeSlideDown 0.6s ease;
    font-size: 0.9rem;
    background-color: #f8f9fa;
}
.cta-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0d6efd;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: pulseBlue 3s infinite;
}
.cta-location:hover {
    transform: scale(1.05);
    color: #fff !important;
    text-decoration: none;
}

/* --- Navbar --- */
.nav-bar {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    animation: fadeSlideDown 0.7s ease;
    transition: all 0.35s ease;
}
.navbar-brand img {
    transition: transform 0.35s ease;
}
.navbar-brand:hover img {
    transform: scale(1.06);
}
.navbar-nav .nav-link {
    font-weight: 500;
    position: relative;
    padding: 0.6rem 1rem;
    color: #333 !important;
    transition: color 0.25s ease;
}
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #0d6efd;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 70%; }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: #0d6efd !important; }

/* --- Botón WhatsApp navbar --- */
/* --- Hero --- */
.hero {
    position: relative;
    background: linear-gradient(rgba(13,110,253,0.75), rgba(13,110,253,0.75)),
                url("../../img/slideshow.webp") center/cover no-repeat;
    padding: 140px 0 120px;
    color: #fff;
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
}
.hero p {
    font-size: 1.15rem;
    margin-bottom: 28px;
    opacity: 0.95;
}
.hero-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.hero-btn:hover { transform: translateY(-3px) scale(1.05); }
.hero-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 6px 14px rgba(37,211,102,0.4);
}
.hero-whatsapp:hover { background: #1ebe5d; color: #fff; }
.hero-outline { border: 2px solid #fff; color: #fff; }
.hero-outline:hover { background: #fff; color: #0d6efd; }

/* --- Responsive --- */
@media (max-width: 991px) {
    .hero { padding: 110px 0 90px; }
    .hero h1 { font-size: 2.2rem; }
    .navbar-nav { padding-top: 15px; padding-bottom: 15px; }
    .navbar-nav .nav-link { padding: 0.7rem 0; }
    }

/* ==========================================================
   BOTÓN WHATSAPP — DISEÑO UNIFICADO
   Referencia: index.html / acerca-de.html / blog.html
   ========================================================== */


