/* Footer */
a:focus {
    outline: 0 none !important;
    outline-offset: 0 !important;
}

ul#sm-footer > li > ul > li > a {
    color:#f5f5f5 !important;
}

.bg-cta {
    background-color: #004682 !important;
}

footer {
    background: #004682 !important;
    width: 100%;
    overflow: hidden;
}

.footer h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.container-footer{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 120px 35px 0 35px;
    background: linear-gradient(to top, rgba(0, 70, 130, 1) 0%, rgba(0, 70, 130, 0.95) 20%, rgba(0, 70, 130, 0.85) 40%, rgba(0, 70, 130, 0.65) 60%, rgba(0, 70, 130, 0.25) 80%, rgba(0, 70, 130, 0) 100%);
}

.column-footer ul li a.email-link {
    overflow-wrap: anywhere;
}

@media (min-width: 993px) {
    ul#sm-footer > li > ul > li > a { padding: 0 5px; }
    #content > footer > div {padding-top: 30px;}
    .column-footer {
        flex: 1;
        max-width: calc(20% - 20px);
        padding: 20px;
        box-sizing: border-box;
    }
}

@media (max-width: 992px) {
    ul#sm-footer > li > ul > li > a {padding: 0 4px; }
    .container-footer{
        background: linear-gradient(to top, rgba(0, 70, 130, 1) 0%, rgba(0, 70, 130, 1) 20%, rgba(0, 70, 130, 0.9) 40%, rgba(0, 70, 130, 0.7) 60%, rgba(0, 70, 130, 0.4) 80%, rgba(0, 70, 130, 0) 100%);
    }
    .column-footer {
        flex: 1;
        max-width: calc(50% - 20px);
        padding: 20px;
        box-sizing: border-box;
    }
}

@media (max-width: 830px) {
    .column-footer-sm {
        flex: 1;
        max-width: 100% !important;
        padding: 20px;
        box-sizing: border-box;
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .container-footer{
        padding: 120px 10px 0 10px;
    }
}

@media (max-width: 430px) {
    .container-footer{
        gap: 0;
    }
}

.footer-title {
    color: #fff; font-size: 16px;
    font-weight: bold;
}

.column-footer > ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.column-footer > ul > li, .column-footer > ul > li > a {
    margin-bottom: 5px;
    color: #f5f5f5;
}

.column-footer > ul > li > a {
    transition: all .2s ease-in-out;
    display: inline-block;
}

.column-footer > ul > li > a:hover,
.column-footer > ul > li > a:focus,
.column-footer > ul > li > a:active {
    display: inline-block; color: #fff; transform: scale(1.1) !important;
}

.footer-bottom {
    text-align: center;
    padding: 2em 35px 3em;
    font-size: 85%;
    background-color: #004682;
    color: #f5f5f5;
    border-top: 0px solid #ccc;
}

.footer-bottom a {
    color: inherit;
    text-decoration: none; /* quitamos el subrayado nativo */
    border-bottom: 1px solid #ccc; /* simula underline */
    transition: color ease 0.2s, border-color ease 0.2s;
}

.footer-bottom a:hover,
.footer-bottom a:focus,
.footer-bottom a:active {
    color: #ddd;
    border-color: transparent; /* se desvanece el "underline" */
}

ul.list-pad-x {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin-left: 0;
}

ul.list-pad-x li a i {
    transition: all ease 0.3s;
}

ul.list-pad-x li a i:hover {
    transform: scale(1.25);
}

a:hover, a:active, a:focus {
    text-decoration: none !important;
}

ul.list-pad-x li a {
    transition: all ease 0.3s;
    display: inline-block;
}

ul.list-pad-x li a:focus,
ul.list-pad-x li a:active {
    transform: scale(1.25);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo img {
    height: 13px;
    max-height: 13px;
    margin-right: 10px;
}

.footer-logo .divider {
    width: 1px;
    height: 28px;
    background-color: #fff;
    margin-right: 10px;
}

.footer-logo .logo-text {
    color: #fff;
    font-size: 13px;
    font-family: 'ChanganFont', sans-serif;
    font-weight: normal;
    white-space: nowrap;
    margin-top: 2px;
}

.footer-logo ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-logo ul li p {
    color: #fff;
    margin-top: 5px;
    font-size: 14px;
}
/* Fin Footer */

/* TELEFONO STICKY */
.phone-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: #004682;
    border-radius: 50%;
    text-align: center;
    line-height: 64px;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.phone-button i {
    color: white;
    font-size: 18px;
    line-height: 1;
}

.phone-button:hover, .phone-button:focus, .phone-button:active {
    transform: scale(1.1);
} 

/* FIN TELEFONO STICKY */

/* Quick Navigation Menu */
/* --- (SVG) --- */ 
.floating-toggle {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    padding: 0;
    z-index: 1020;
    cursor: pointer;
    transition: opacity .32s ease, transform .32s ease;
}

.floating-toggle.is-hidden {
opacity: 0;
transform: translateY(-50%) translateX(16px);
pointer-events: none;
}

.toggle-svg {
    width: 34px;
    height: auto;
    display: block;
}

.bg-shape {
    fill: #164881; /* azul base */
    transition: fill 0.3s ease;
} 

.arrow {
    fill: #fff; /* flecha */
    transition: fill 0.3s ease;
}

.arrow-outline {
    fill: none;
    stroke: #000;
    stroke-miterlimit: 10;
    transition: stroke 0.3s ease;
}

.floating-toggle:hover .bg-shape {
    fill: #0d2e50; /* azul más oscuro */
}

.floating-toggle:hover .arrow {
    fill: #e6e6e6; /* flecha más clara */
} 

/* --- Menú flotante --- */
.floating-menu {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(100%);
    width: 50px;
    background: #004682; /* azul principal */
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    z-index: 1020;
    opacity: 0;
    transition: transform .38s cubic-bezier(.2,.9,.2,1), width .28s ease, opacity .28s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,.35);
    font-size: 18px;
}

.floating-menu.active {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
}

.floating-menu.expanded {
    width: 240px; /* se expande hacia la izquierda */
}

.floating-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.floating-menu li {
    border-bottom: 1px solid #003566; /* azul más oscuro */
}

.floating-menu li:last-child {
    border-bottom: none;
}

/* Enlaces del menú */
.floating-menu a {
    position: relative;
    display: flex; /* volvemos a flex para alinear vertical */
    align-items: center; /* centra el contenido en vertical */
    height: 44px; /* altura fija por botón */
    padding: 12px; /* cerrado: solo espacio lateral */
    text-decoration: none;
    color: #fff;
    transition: background-color .25s ease, padding .28s ease;
}

/* Cuando el menú está expandido */
.floating-menu.expanded a {
    justify-content: left;
    padding: 0 50px 0 12px; /* espacio para texto */
    gap: 10px;
}

.floating-menu a:hover {
    background-color: #002B4D; /* hover azul más oscuro */
}

.floating-menu a i, .floating-menu a .menu-label {
    color: #fff; /* blanco siempre */
}

.floating-menu a:hover i, .floating-menu a:hover .menu-label {
    color: #fff; /* ignora el hover del <a> */
}

/* Íconos fijos (excepto flecha) */
.floating-menu i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px !important;
    min-width: 28px;
    text-align: center;
    line-height: 1;
}

/* Etiquetas (texto expandible) */
.floating-menu .menu-label {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    opacity: 0;
    max-width: 0;
    transition: opacity .28s ease, max-width .28s ease;
}

.floating-menu.expanded .menu-label {
    opacity: 1;
    max-width: 160px;
}

/* Flecha de expandir (no hereda translateY) */
.floating-menu .toggle-arrow {
    position: static; /* vuelve al flujo normal */
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform .28s ease;
}

.floating-menu.expanded .toggle-arrow {
    transform: rotate(180deg);
}
/* Fin Menu Flotante */