/* .footer-tecnosalud{
transform: translateY(800px);
}  */ 

:root {
    --footer-bg: rgba(98,181,112,1);
    --footer-text: white;
    --link-hover: rgba(76,131,83,1);
}

/* ============================================
   FOOTER PRINCIPAL
   ============================================ */
.footer-tecnosalud {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 2.5rem 0rem;
    margin-top: auto; /* Para sticky footer */
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer-container {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    gap: 40px;
    align-items: center;
    justify-items: center;
    width: 100%;
    max-width: 95%;
}

/* Columna 1: Logo */
.footer-logo img {
    height: 120px;
    width: auto;
}

/* Columna 2: Eslogan */
.footer-eslogan {
    display: flex;
    flex-direction: column;
    gap: 1px;
    
}

.footer-eslogan span {
    font-size: 15px;
    font-family: Raleway;
    font-style: normal;
    font-weight: normal;
    letter-spacing: 0.07em;
    line-height: 1.4;
}

#Tecnosalud_Amrica_SAS {
    font-family: Raleway Regular;
	font-style: normal;
	font-weight: 500;
	font-size: 25px;
	color: rgba(255,255,255,1);
    white-space: nowrap;
}

/* Columna 3: Enlaces */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-family: Raleway;
    font-style: normal;
    font-weight: normal;
    transition: opacity none;
    white-space: nowrap;
    letter-spacing: 0.07em;
    transition: 0.3s;
}

.footer-links a:hover {
    transform: scale(1.03);
}

/* Columna 4: Horario */
.footer-schedule {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
}

.footer-schedule strong {
    font-family: Raleway;
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.07em;
    
}

.footer-schedule span {
    font-family: Raleway;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.07em;
    line-height: 1.4;
}

/* Columna 5: Redes Sociales */
.footer-social {
    display: flex;
    gap: 18px;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.footer-social a:hover {
    transform: scale(1.1);
}

.footer-social img {
    width: 45px;
    height: 45px;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-schedule {
        align-items: center;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-tecnosalud {
        padding: 20px;
    }
    
    .footer-social img {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   ANIMACIÓN DE ENTRADA
   ============================================ */
/* .footer-tecnosalud {
    animation: fadeInFooter 0.5s ease-out;
} */

/* @keyframes fadeInFooter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} */

/* ============================================
   FIX PARA POSICIONAMIENTO
   ============================================ */

/* El footer se posiciona automáticamente con JavaScript */
#footer-placeholder {
    position: relative;
    clear: both;
    /* margin-top se calcula automáticamente por el script */
}

.footer-tecnosalud {
    position: relative !important;
    z-index: 100;
    width: 100%;
}

 /* ****versión móvil**** */



.footer-tecnosalud-m {
    background: rgba(98,181,112,1);
    padding: 15px 10px 70px 10px;
    color: white;
    font-family: Raleway Regular;
}

.footer-container-m {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 15px;
    align-items: center;
    max-width: 100%;
}

/* ============================================
   COLUMNA 1: LOGO
   ============================================ */
.footer-logo-m {
    display: flex;
    align-items: center;
}

.footer-logo-m img {
    height: 40px;
    width: auto;
}

/* ============================================
   COLUMNA 2: ENLACES
   ============================================ */
.footer-links-m {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    padding-left: 5px;
    height: 80px;
}

.footer-links-m a {
    color: white;
    text-decoration: none;
    font-size: 6px;
    line-height: 1.3;
    transition: opacity 0.2s;
}
.en .footer-links-m a {
    font-size: 9px;
}

.footer-links-m a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ============================================
   COLUMNA 3: REDES + HORARIO
   ============================================ */
.footer-info-m {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

/* Redes Sociales */
.footer-social-m {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-social-m a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.footer-social-m a:hover {
    transform: scale(1.1);
}

.footer-social-m img {
    width: 24px;
    height: 24px;
}

/* Horario de Atención */
.footer-schedule-m {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: right;
    align-items: flex-start;
}

.footer-schedule-m strong {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.07em;
}

.footer-schedule-m span {
    font-size: 9px;
    line-height: 1.2;
    text-align: start;
}

/* ============================================
   RESPONSIVE - PANTALLAS MUY PEQUEÑAS
   ============================================ */
@media (max-width: 400px) {
    .footer-container-m {
        gap: 10px;
    }
    
    .footer-logo-m img {
        height: 38px;
    }
    
    .footer-links-m a {
        font-size: 6px;
    }
    .en .footer-links-m a {
        font-size: 9px;
    }
    
    .footer-social-m img {
        width: 20px;
        height: 20px;
    }
    
    .footer-social-m {
        gap: 6px;
    }
    
    .footer-schedule-m strong {
        font-size: 9px;
    }
    
    .footer-schedule-m span {
        font-size: 8px;
    }
}

/* ============================================
   RESPONSIVE - SI NECESITAS STACK EN MÓVIL PEQUEÑO
   ============================================ */
@media (max-width: 320px) {
    .footer-container-m {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .footer-logo-m {
        justify-content: center;
    }
    
    .footer-links-m {
        align-items: center;
    }
    
    .footer-info-m {
        align-items: center;
    }
    
    .footer-schedule-m {
        text-align: center;
    }
}

/* estilos contenedor principal footer */

#footer-placeholder-m{
opacity: 0; 
}
#footer-placeholder-m.loaded{
visibility: visible;
opacity: 1;
}
#footer-placeholder{
    visibility: hidden;
    opacity: 0;   
}
/* Estado cargado: visible */
#footer-placeholder.loaded{
    visibility: visible;
    opacity: 1;
}
/* #footer-placeholder-m:not(.loaded)::before {
    content: '';
    display: block;
    height: 100px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
} */