body {
    font-family: 'Nunito', sans-serif;
    background-color: #F2F2F2;
    color:  #454848;
}

header {
    background-color: #FFF;
}

a {
    color: #333333;
    font-size: 13px;
    font-weight: bold;
}

a:link,
a:visited,
a:active {
    text-decoration: none;
}

.headerbar .container{
    max-width: none;
    padding-left: 30px;
    padding-right: 30px
}

.headerbar .header-logo {
    margin: 0;
    padding-top: 20px;
    padding-bottom: 0;
    margin-bottom: 20px;
}

.icon-bar {
    width: 100%;
    background-color: #FFF;
    overflow-x: scroll;
    position: relative;
    display: block;
}

.icon-bar ul li {
    list-style: none;
    display: block;
    text-align: -webkit-match-parent;
    min-width: 90px;
}

.icon-list {
    list-style: none;
    position: relative;
    display: flex;
    margin: 0;
    padding: 0;
}

.header-icon-container {
    background-color: #fff;
    color: #CCC;
    display: block;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    width: 48px;
    height: 48px;
    line-height: 48px;
    margin: 0 auto;
    border: solid 1px #EEE;
}

.header-icon-container-selected {
    background-color: #3e71b7;
    color: #FFF;
}

.header-icon-label {
    display: block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 1.2;
    font-size: 13px;
    margin-top: 10px;
    color: #666;
    text-align: center;
}

/* ===== Header desktop (>= lg / 992px) ===== */
/* Banda full-width tipo hero; el contenido queda dentro del .container */
.headerbar-desktop {
    width: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0;
}

.headerbar-desktop .headerbar-desktop-logo {
    display: inline-block;
    line-height: 0;
}

/* Lista de navegación alineada a la derecha, al lado del logo */
.headerbar-desktop .icon-list {
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.headerbar-desktop .icon-list li {
    min-width: auto;
    list-style: none;
}

/* Cada item es una cápsula: palabra a la izquierda, ícono a la derecha */
.headerbar-desktop .icon-list li > a {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.headerbar-desktop .icon-list li > a:hover {
    background: #c0336d;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(192, 51, 109, 0.35);
}

/* Item activo en color de acento sólido */
.headerbar-desktop .icon-list li > a:has(.header-icon-container-selected) {
    background: #c0336d;
    color: #fff;
}

/* El ícono dentro de la cápsula: sin círculo, hereda el color del pill */
.headerbar-desktop .header-icon-container {
    background: transparent;
    border: none;
    color: inherit;
    width: auto;
    height: auto;
    line-height: 1;
    font-size: 17px;
    margin: 0;
    border-radius: 0;
}

.headerbar-desktop .header-icon-container svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    margin: 0 !important;
    vertical-align: middle;
}

.headerbar-desktop .header-icon-label {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: inherit;
    white-space: nowrap;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #FFF !important;
}

.whatsapp {
    position:fixed;
    width:60px;
    height:60px;
    bottom:40px;
    right:40px;
    background-color:#25d366;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    font-size:30px;
    z-index:100;
}

.whatsapp-icon {
    margin-top: 10px;
    height: 40px;
    fill: #FFF;
}

.newsletter-bar {
    background-color: #666;
    color: #FFF;
    padding: 5px;
    margin: 0
}

.modal-dialog {
    width: 100%;
    height: 100%;
    padding: 0;
    top: 0;
    margin: 0;
    border-color:white;
}

.modal-content {
    height: 100%;
    border-radius: 0;
    border-color:white;

}

.modal{
    overflow: visible!important;

}

.modal-body{
    overflow-y:scroll !important;
}

footer {
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0;
    text-align: center;
}

.pre-footer {
    background: #fefefe;
    padding: 0 0 20px 0;
}

.footer-main {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    padding: 40px 0 20px 0;
}

.footer-about {
    text-align: center;
    margin-bottom: 30px;
}

.footer-about-text {
    color: #b8b8d1;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 280px;
}

.footer-section-box {
    background: rgba(255,255,255,0.05);
    padding: 20px;
}

.footer-section-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.footer-icon-primary {
    color: #c0336d;
    margin-right: 8px;
}

.footer-contact-link {
    color: #b8b8d1;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-icon-small {
    color: #c0336d;
    margin-right: 6px;
    width: 16px;
}

.footer-text-white {
    color: #fff;
}

.footer-whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
}

.footer-branch-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-branch-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-branch-icon {
    color: #c0336d;
    font-size: 14px;
    margin-right: 6px;
}

.footer-branch-text {
    color: #b8b8d1;
    font-size: 14px;
    margin: 5px 0;
    padding-left: 24px;
}

.footer-branch-icon-small {
    color: #c0336d;
    margin-right: 6px;
    font-size: 12px;
}

.footer-social-box {
    text-align: center;
    padding: 25px 15px;
    background: rgba(192,51,109,0.1);
    border-radius: 12px;
    border: 1px solid rgba(192,51,109,0.3);
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social-facebook {
    background: rgba(59,89,152,0.2);
    border: 2px solid #3b5998;
    color: #FFFFFF;
}

.footer-social-facebook i {
    color: #3b5998;
    font-size: 20px;
    color: #FFFFFF;
}

.footer-social-instagram {
    background: rgba(225,48,108,0.2);
    border: 2px solid #E1306C;
    color: #FFFFFF;
}

.footer-social-instagram i {
    color: #E1306C;
    font-size: 20px;
    color: #FFFFFF;
}

.footer-social-twitter {
    background: rgba(29,161,242,0.2);
    border: 2px solid #1DA1F2;
    color: #FFFFFF;
}

.footer-social-twitter i {
    color: #1DA1F2;
    font-size: 20px;
    color: #FFFFFF;
}

.footer-social-whatsapp {
    background: rgba(37,211,102,0.2);
    border: 2px solid #25D366;
}

.footer-social-whatsapp i {
    color: #25D366;
    font-size: 20px;
}

.footer-certifications-box {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
}

.footer-certifications-text {
    color: #b8b8d1;
    font-size: 13px;
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-certifications-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-certification-link {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-certification-img {
    filter: brightness(1.2);
}

.footer-legal-box {
    text-align: center;
    padding: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-legal-link {
    color: #b8b8d1;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-copyright-box {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-copyright-text {
    color: #7a7a96;
    font-size: 12px;
    margin: 0;
}

.footer-security-text {
    color: #7a7a96;
    font-size: 11px;
    margin: 8px 0 0 0;
}

.footer-security-icon {
    color: #c0336d;
    margin-right: 5px;
}

/* ============================================================
   Footer responsive — desktop (>= lg / 992px)
   En mobile se mantiene apilado y centrado; en desktop las
   4 columnas conviven (grid de Bootstrap) y el contenido se
   alinea a la izquierda para una lectura más prolija.
   ============================================================ */
@media (min-width: 992px) {
    .footer-main {
        padding: 56px 0 24px;
    }

    .footer-about {
        text-align: left;
        margin-bottom: 0;
    }

    .footer-about-text {
        margin: 0;
        max-width: none;
    }

    /* columnas uniformes: se quita el fondo/relleno del recuadro mobile */
    .footer-section-box {
        background: transparent;
        padding: 0;
    }

    .footer-section-title {
        text-align: left;
    }

    /* sucursales: a la izquierda en desktop (centradas solo en mobile) */
    .footer-branch-item,
    .footer-branch-title,
    .footer-branch-text {
        text-align: left;
    }

    /* el bloque de contacto venía centrado inline */
    .footer-section-box > div[style*="text-align: center"] {
        text-align: left !important;
    }

    /* en desktop el bloque de redes se aplana para alinear con el resto */
    .footer-social-box {
        text-align: left;
        padding: 0;
        background: transparent;
        border: none;
    }

    .footer-social-icons {
        justify-content: flex-start;
    }

    /* enlaces legales en línea, centrados, como barra inferior */
    .footer-legal-box {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 22px;
    }

    .footer-legal-box p {
        margin: 0 !important;
    }
}

/* Banda full-width del bloque fluid (search-box, heros, etc.).
   Color y alto pre-establecidos acá: en desktop alto fijo y consistente
   en todas las páginas (el mismo que la banda del search-box de index/results). */
.search-band {
    background: linear-gradient(135deg, #575770 0%, #16213e 100%);
}

@media (min-width: 992px) {
    .search-band {
        min-height: 170px;
        display: flex;
        align-items: center;
    }
    .search-band > .container {
        width: 100%;
    }
}

/* Contenido de texto del hero dentro de la banda (.search-band) */
.fluid-hero {
    color: #fff;
    text-align: center;
    width: 100%;
}

.fluid-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-size: 24px;
    margin-bottom: 14px;
}

.fluid-hero__title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 8px;
}

.fluid-hero__sub {
    font-size: 18px;
    opacity: .9;
    margin: 0;
}

/* ===== base.html — clases extraídas de estilos inline estáticos ===== */
.base-loading-overlay {
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.5);
}

.base-spinner-white {
    color: white;
}

.base-footer-logo {
    margin-bottom: 15px;
}

.base-text-center {
    text-align: center;
}

.base-my-8 {
    margin: 8px 0;
}

.base-my-12 {
    margin: 12px 0;
}

.base-icon-mr-6 {
    margin-right: 6px;
}

/* Footer "Contactanos": teléfonos + botón WhatsApp.
   Centrado en mobile; alineado a la izquierda en desktop. */
.footer-contact {
    text-align: center;
}

@media (min-width: 992px) {
    .footer-contact {
        text-align: left;
    }
}
