/* ==========================================================================
   FOOTER
   ========================================================================== */

/* Footer Principal */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding-top: 60px;
}

/* Widget Area del Footer */
.footer-widgets {
    padding-bottom: 40px;
}

.footer-widgets-row {
    gap: 0px;
}

.site-footer .footer-column{
    margin-bottom: 50px;
}

.footer-widget-container .widget-title span,
.footer-widget-container h3 {
    color: #fff;
    font-weight: 300;
    font-size: 22px;
    font-style: normal;
    font-display: swap;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-kerning: normal;
    font-variant-ligatures: common-ligatures;
    margin-bottom: 20px;
    padding-bottom: 10px;
    z-index: 2;
}

.footer-widgets .col-md-6 h3 {
    text-align: center;
    text-decoration: underline;
}

.footer-widget-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget-container ul li {
    margin-bottom: 10px;
}

.footer-widget-container li a {
    position: relative;
    display: inline-block;
    padding-left: 20px;
    transition: all .3s ease;
}

.footer-widget-container li a:hover {
    transform: translateX(10px);
}

.footer-widget-container li a:hover::before {
    width: 14px;
}

.footer-widget-container li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 2px;
    background: currentColor;
    transform: translateY(-50%);
    transition: all .3s ease;
}

.footer-widget-container p {
    color: #fff;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget-container a {
    color: #ffff;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget-container a:hover {
    transition: color 0.3s ease;
    color: #adadad;
}

/* Copyright y Créditos */
.site-info {
    background: #0000007a;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-info-wrapper, .footer-branding .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-branding {
    margin-bottom: 2rem;
}

.footer-branding .container {
    padding-top: 3rem;
    border-top: 1px solid rgba(128, 128, 128, 0.534);
}

.footer-branding .container .footer-logo {
    margin-bottom: 2rem;
    width: 266px !important;
}

/* Le damos un espacio correcto al enlace del logo */
.footer-logo .custom-logo-link {
  display: inline-block;
  max-width: 280px;  /* Controla aquí qué tan grande quieres que se vea en web */
  width: 100%;
}

/* Forzamos que la etiqueta img dibuje el SVG matemáticamente */
.footer-logo img.custom-logo {
  width: 100% !important;
  height: auto !important;
  display: block;
  object-fit: contain; /* Evita cualquier deformación o pixelado */
}

.copyright,
.credits {
    margin: 0;
}

.copyright p,
.credits p {
    margin: 0;
    font-size: 14px;
}

.site-info a {
    color: #3498db;
    text-decoration: none;
}

.site-info a:hover {
    color: #fff;
}

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:hover {
    background: #2980b9;
    transform: translateY(-5px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .site-info-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-widgets {
        padding-bottom: 20px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .col-md-6 {
        order: -1;
    }
}