/* =========================
   VARIABLES DE COLOR
   ========================= */
:root {
    --color-principal: #db3333; /* El color de las barras */
    --blanco: #ffffff;
    --gris-oscuro: #333333;
    --negro: #000000;
}

/* =========================
   ESTILOS GLOBALES
   ========================= */

/* Ajuste de tipografía general
body, p, h1, h2, h3, h4 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}
 */

body, p, h1, h2, h3, h4 {
    font-family: 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}


/* Ajuste para que el body deje espacio al navbar fijo (si lo usas así) */
body {
    padding-top: 70px; /* Ajustar según la altura del navbar */
}

/* =========================
   NAVBAR
   ========================= */

/* Espaciado entre items del navbar */
.navbar-nav .nav-item {
    margin-right: 4.5rem;
}

/* Subrayado animado en los links del navbar principal */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--color-principal);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hover color en el navbar */
.nav-link:hover,
.nav-link:focus {
    color: var(--color-principal);
}

/* =========================
   OVERRIDE: Nav-tabs en la sección de inicio
   (para que NO aparezca el subrayado animado)
   ========================= */
.nav-tabs .nav-link::after,
.nav-tabs .nav-link:hover::after,
.nav-tabs .nav-link.active::after {
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

/* Ajuste básico de las pestañas (inactivas y activas) */
.nav-tabs .nav-link {
    color: #666;
    font-weight: 700;
    background-color: transparent;
    border: none;
    border-radius: 0;
    text-decoration: none;
    margin: 0 0.75rem;
    padding: 0;
    display: inline-block;
    position: relative;
}

.nav-tabs .nav-link:hover {
    color: #333;
}

.nav-tabs .nav-link.active {
    color: var(--color-principal);
}

/* =========================
   FOOTER
   ========================= */
footer.bg-light {
    background-color: var(--color-principal) !important;
    color: var(--negro);
    text-align: center;
    padding: 10px;
}

.shineray-footer {
    background-color: #2b2b2b;
    color: #fff;
    position: relative;
    padding: 20px 0;
    font-size: 0.9rem;
}

.shineray-footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}
.shineray-footer a:hover {
    color: #ccc;
}

.shineray-footer .footer-logo {
    max-height: 40px;
}

.shineray-footer .footer-link {
    font-weight: 500;
    margin-left: 10px;
}

.shineray-footer .social-icon img {
    width: 24px;
    height: 24px;
    margin-left: 15px;
    transition: transform 0.3s ease;
}
.shineray-footer .social-icon img:hover {
    transform: scale(1.2);
}

.btn-back-to-top {
    position: absolute;
    right: 20px;
    bottom: 60px;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.btn-back-to-top:hover {
    background-color: #666;
}

/* BOTÓN FLOTANTE DE WHATSAPP */
.div-flotante {
    position: fixed;
    bottom: 10px;
    right: 15px;
    z-index: 91;
    color: #000;
}
.icono-flotante {
    display: block;
    border-radius: 50%;
    box-shadow: 1px 2px 5px rgb(100 99 99 / 65%);
    position: relative;
    line-height: 0;
    animation: pulse-wsp 1.5s infinite;
}
.icono-flotante img {
    width: 50px;
}
/* Animación pulso WhatsApp */
@-webkit-keyframes pulse-wsp {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255,255,255,0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@keyframes pulse-wsp {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255,255,255,0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

