/* Encabezado, navegacion, pie y WhatsApp compartidos. */
.simd-ui-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #ffffff;
    height: 120px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ececec;
}
.simd-ui-header .navbar {
    width: 100%;
}
.simd-ui-header .navbar-brand img {
    height: 90px;
    width: auto;
}
.simd-ui-header .nav-link {
    color: #1f2937 !important;
    font-size: 1.05rem;
    font-weight: 600;
    margin-left: 20px;
    transition: all .3s ease;
}
.simd-ui-header .nav-link:hover {
    color: #0d6efd !important;
}
.simd-ui-header .nav-link.active {
    color: #0d6efd !important;
}
.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
}
.dropdown-item {
    padding: 10px 20px;
}
.dropdown-item:hover {
    background: #f8f9fa;
}
main {
    min-height: 600px;
}
.simd-ui-whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .25);
    z-index: 9999;
    transition: all .3s ease;
    animation: simd-ui-whatsapp-pulse 2s infinite;
}
.simd-ui-whatsapp:hover {
    color: #ffffff;
    transform: scale(1.12);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .35);
}
@keyframes simd-ui-whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
@media (max-width:768px) {
    .simd-ui-whatsapp {
        width: 58px;
        height: 58px;
        font-size: 1.8rem;
        right: 18px;
        bottom: 18px;
    }
}
.simd-ui-footer {
    background: #f4f2ed;
    padding: 25px 0;
}
.simd-ui-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.simd-ui-footer-logo img {
    height: 95px;
    width: auto;
}
.simd-ui-footer-social {
    display: flex;
    align-items: center;
    gap: 35px;
}
.simd-ui-footer-social a {
    color: #000000;
    font-size: 2.5rem;
    text-decoration: none;
    transition: all .3s ease;
}
.simd-ui-footer-social a:hover {
    color: #343a40;
    transform: translateY(-3px);
}
@media (max-width:768px) {
    .simd-ui-footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    .simd-ui-footer-logo img {
        height: 75px;
    }
    .simd-ui-footer-social {
        gap: 25px;
    }
    .simd-ui-footer-social a {
        font-size: 2rem;
    }
}
@media (max-width: 991.98px) {
    .simd-ui-header {
        padding-right: 0;
        padding-left: 0;
    }
    .simd-ui-header>.container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .simd-ui-header .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 10px 0 0;
    }
    .simd-ui-header .navbar-brand {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 0 0 10px;
    }
    .simd-ui-header .navbar-brand img {
        display: block;
        width: auto;
        height: 48px;
        max-width: 180px;
        object-fit: contain;
    }
    .simd-ui-header .navbar-toggler {
        display: none !important;
    }
    .simd-ui-header .navbar-collapse, .simd-ui-header .navbar-collapse.collapse, .simd-ui-header .navbar-collapse.collapsing {
        display: block !important;
        visibility: visible !important;
        width: 100%;
        height: auto !important;
        overflow: visible !important;
        transition: none !important;
    }
    .simd-ui-header .navbar-nav {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1.25fr);
        align-items: stretch;
        width: 100%;
        margin: 0 !important;
        padding: 0;
        border-top: 1px solid #dedede;
        border-bottom: 1px solid #dedede;
    }
    .simd-ui-header .navbar-nav>.nav-item {
        position: relative;
        min-width: 0;
        margin: 0;
        padding: 0;
    }
    .simd-ui-header .navbar-nav>.nav-item>.nav-link {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 46px;
        padding: 8px 4px;
        color: #242424;
        background: #ffffff;
        border: 0;
        border-right: 1px solid #dedede;
        border-radius: 0;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.15;
        text-align: center;
        white-space: nowrap;
    }
    .simd-ui-header .navbar-nav>.nav-item:last-child>.nav-link {
        border-right: 0;
    }
    .simd-ui-header .navbar-nav>.nav-item>.nav-link:hover, .simd-ui-header .navbar-nav>.nav-item>.nav-link:focus, .simd-ui-header .navbar-nav>.nav-item>.nav-link.active {
        color: #ffffff;
        background: #252525;
    }
    .simd-ui-header .dropdown-menu {
        position: absolute !important;
        top: 100%;
        left: 50%;
        right: auto;
        width: min(280px, calc(100vw - 30px));
        margin: 0;
        padding: 7px 0;
        border-radius: 0;
        transform: translateX(-50%);
        z-index: 2000;
    }
    .simd-ui-header .dropdown-item {
        padding: 11px 16px;
        font-size: 13px;
        white-space: normal;
    }
}
@media (max-width: 390px) {
    .simd-ui-header>.container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    .simd-ui-header .navbar-brand img {
        height: 42px;
        max-width: 155px;
    }
    .simd-ui-header .navbar-nav>.nav-item>.nav-link {
        min-height: 43px;
        padding: 7px 2px;
        font-size: 10.5px;
    }
    .simd-ui-header .dropdown-toggle::after {
        margin-left: 3px;
        vertical-align: 2px;
    }
    .simd-ui-header .dropdown-menu {
        width: min(260px, calc(100vw - 16px));
    }
}
