.cabecera {
    background: #002780;
    background: -moz-linear-gradient(left, #2150F9 0%, #002780 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, #2150F9), color-stop(100%, #002780));
    background: -webkit-linear-gradient(left, #2150F9 0%, #002780 100%);
    background: -o-linear-gradient(left, #2150F9 0%, #002780 100%);
    background: -ms-linear-gradient(left, #2150F9 0%, #002780 100%);
    background: transparent linear-gradient(90deg, #2150F9 0%, #002780 100%) 0% 0% no-repeat padding-box;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#02b1fc', endColorstr='#5739ff', GradientType=1 );
    width: 100%;
    border-bottom: 8px solid var(--yellow);
}
:root {
    --primary-blue: #2150F9;
    --deep-blue: #2E4388;
    --mid-blue: #1B46C8;
    --yellow: #FFCE00;
    --cyan: #26D9FF;
    --mint: #3DFF8F;
    --light-blue: #4A7BFF;
    --white: #FFFFFF;
    --light-gray: #E8E9EB;
    --dark-gray: #2B2D42;
}

.about-section, .business-section {
    padding: 2rem 0 1rem;
}
body {
    font-family: 'Titillium Web', 'Nunito Sans', 'Poppins', sans-serif;
    background: #f5f8ff;
    color: var(--dark-gray);
}
.about-logo {
    max-width: 200px;
    margin: 0 auto;
    display: block;
    width: 100%;
}

.home-container {
    max-width: 1200px;
}

.home-navbar {
    padding: .8rem 0;
    box-shadow: 0 8px 24px rgba(0, 80, 255, 0.2);
}
.home-navbar .navbar-toggler {
    border-color: white;
    color: white;
}
.home-navbar .navbar-toggler i{
    font-size: 24px;
}
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
}

.brand-logo #logo-beneficios {
    width: 42px;
}
.brand-logo #logo-escudo {
    width: 54px;
}
.brand-name {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .01em;
}
#navbarHome .menu{
    border-bottom: 2px solid transparent;
}
#navbarHome .menu:hover,
#navbarHome .menu.active {
    border-bottom: 2px solid var(--white);
}

.menu {
    color: var(--white) !important;
    font-weight: 600;
}

.home-search {
    gap: .6rem;
    margin-right: .25rem;
}

.home-search .form-control,
.home-filters .form-select {
    border: 0;
    border-radius: 999px;
    min-height: 44px;
    box-shadow: 0 8px 20px rgba(17, 34, 68, 0.08);
}

.btn-home-primary,
.btn-home-secondary {
    border-radius: 999px;
    border: none;
    color: var(--white);
    font-weight: 700;
    min-height: 44px;
    padding: .6rem 1.1rem;
}

.btn-home-primary {
    background: var(--primary-blue);
}

.btn-home-secondary {
    background: var(--dark-gray);
}

.home-page {
    padding-bottom: 2.5rem;
}

.home-banner-section {
    padding: 2rem 0 1rem;
}

.home-carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(0, 80, 255, 0.22);
    background: var(--deep-blue);
}

.home-carousel .carousel-item img {
    height: 390px;
    object-fit: cover;
    filter: brightness(0.8);
}

.home-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 260px;
    padding: 2rem 1rem;
    border: 1px dashed rgba(27, 70, 200, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--deep-blue);
    font-weight: 600;
    text-align: center;
}

.home-loading .spinner-border {
    width: 2.75rem;
    height: 2.75rem;
}

.home-loading-carousel {
    min-height: 390px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--mid-blue) 100%);
    color: var(--white);
}

.home-loading-error {
    border-color: rgba(220, 53, 69, 0.25);
    background: #fff5f5;
    color: #842029;
}

.home-loading-carousel.home-loading-error {
    border: 0;
    background: #fff5f5;
    color: #842029;
}

.home-loading-carousel.home-loading-error .btn-home-primary {
    color: var(--white);
}

.home-caption {
    text-align: left;
    left: 7%;
    right: 7%;
    bottom: 2.2rem;
}

.home-caption h2 {
    font-weight: 700;
    margin-bottom: .3rem;
}

.home-caption p {
    margin: 0;
    font-size: 1rem;
}

.home-caption-badge {
    display: inline-block;
    margin-bottom: .75rem;
    background: var(--yellow);
    color: #08351d;
    border-radius: 999px;
    padding: .3rem .75rem;
    font-weight: 700;
    font-size: .85rem;
}

.home-list-section {
    padding-top: 1.4rem;
}

.home-section-title {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.home-filters {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(27, 70, 200, 0.08);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 1.4rem;
}

.home-filters .form-label {
    font-weight: 600;
    font-size: .95rem;
    margin-left: .4rem;
}

.radio-pill-group {
    display: inline-flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.radio-pill {
    border: 1px solid rgba(43, 45, 66, .18);
    background: rgba(255, 255, 255, .8);
    color: #39405e;
    border-radius: 999px;
    padding: .5rem .95rem;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.radio-pill:hover {
    border-color: rgba(0, 80, 255, .35);
    color: var(--primary-blue);
}

.btn-check:checked + .radio-pill {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 8px 18px rgba(0, 80, 255, .25);
}

.page-footer {
    margin-top: 60px;
    color: var(--deep-blue);
    padding: 40px 0;
    font-weight: 600;
    font-size: .92rem;
}
.page-footer #logo-unach{
    width: 68px;
    margin-bottom: 20px;
}
.promotion-card {
    background: var(--primary-blue);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(16, 35, 82, 0.25);
    transition: transform .2s ease, box-shadow .2s ease;
}

.promotion-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(16, 35, 82, 0.35);
}

.promotion-card-image-wrap {
    height: 190px;
    position: relative;
}
.promotion-card-image-wrap.vmin {
    height: 175px;
}

.promotion-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promotion-card-image-profile{
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 4px solid var(--white);
    position: absolute;
    bottom: -10px;
    left: 15px;
}

.promotion-card-body {
    padding: .95rem 1rem 1rem;
}

.promotion-title {
    color: var(--white);
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0;
}

.promotion-city {
    color: var(--bs-info);
    font-size: .88rem;
}

.promotion-desc {
    color: #e7ecff;
    font-size: .9rem;
    line-height: 1.3;
}

.promotion-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.promotion-category {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    padding: .2rem .6rem;
    font-size: .75rem;
}

.promotion-stars i {
    color: var(--mint);
    margin-left: .1rem;
}

.promotion-stars i.bi-star {
    color: #bbc1d8;
}

@media (max-width: 991.98px) {
    .home-search {
        margin-bottom: .5rem;
    }

    .home-carousel .carousel-item img {
        height: 320px;
    }

    .home-loading-carousel {
        min-height: 320px;
    }
}

@media (max-width: 575.98px) {
    .brand-logo #logo-beneficios {
        width: 34px;
    }
    .brand-logo #logo-escudo {
        width: 46px;
    }

    .home-caption h2 {
        font-size: 1.2rem;
    }

    .home-caption p {
        font-size: .85rem;
    }

    .home-carousel .carousel-item img {
        height: 250px;
    }

    .home-loading-carousel {
        min-height: 250px;
    }
}

.business-detail-page {
    padding-bottom: 2.5rem;
}

.business-hero-section {
    padding: 1.5rem 0 1rem;
}

.business-back-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: .25rem 0 1rem;
    color: var(--mid-blue);
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.business-back-link:hover {
    color: var(--primary-blue);
    transform: translateX(-2px);
}

.business-hero-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(16, 35, 82, .16);
}

.business-wall-wrap {
    position: relative;
    height: 320px;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--mid-blue) 100%);
}

.business-wall-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-wall-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 12, 40, 0) 35%, rgba(2, 12, 40, .5) 100%);
}

.business-hero-body {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    padding: 1.5rem 2rem 1.5rem;
}

.business-profile-wrap {
    flex: 0 0 auto;
    width: 144px;
    height: 144px;
    margin-top: -72px;
    padding: 5px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 14px 28px rgba(16, 35, 82, .22);
}

.business-profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 19px;
}

.business-hero-info {
    padding-bottom: .15rem;
}

.business-category-badge {
    position: absolute;
    right: 20px;
    bottom: 12px;
}
.business-category-badge.min {
    font-size: .7rem;
    right: 12px;
    bottom: 0px;
}
.business-name {
    margin: .1rem 0 .2rem;
    color: var(--dark-gray);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.1;
}

.business-branch {
    margin-bottom: .55rem;
    color: var(--mid-blue);
    font-weight: 600;
}

.business-category {
    margin-bottom: .55rem;
    color: #5a6280;
    font-size: .92rem;
    font-weight: 600;
}

.business-category i {
    color: var(--primary-blue);
}

.business-municipality {
    margin-bottom: .55rem;
    color: #5a6280;
    font-size: .92rem;
    font-weight: 600;
}

.business-municipality i {
    color: #5a6280;
}

.business-rating {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.business-rating .promotion-stars i {
    font-size: 1rem;
}

.business-rating-value {
    color: var(--deep-blue);
    font-weight: 800;
}

.business-rating-label {
    color: #6b7390;
    font-size: .85rem;
    font-weight: 600;
}

.business-content-section {
    padding-top: .75rem;
}

.business-detail-card {
    padding: 1.6rem;
    background: var(--white);
    border: 1px solid rgba(27, 70, 200, .06);
    border-radius: 20px;
    box-shadow: 0 12px 26px rgba(16, 35, 82, .09);
}

.business-card-title {
    margin-bottom: 1rem;
    color: var(--deep-blue);
    font-size: 1.15rem;
    font-weight: 700;
}

.business-description {
    margin-bottom: 0;
    color: #4c546e;
    line-height: 1.65;
}

.business-address {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin-top: 1rem;
    color: #5a6280;
    font-size: .95rem;
}

.business-address i {
    color: var(--primary-blue);
    margin-top: .1rem;
}

.business-contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.15rem;
}

.business-contact-item {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .85rem;
    background: #f2f6ff;
    border: 1px solid rgba(0, 80, 255, .1);
    border-radius: 999px;
    color: var(--mid-blue);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.business-contact-item:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.business-map-wrap {
    height: 260px;
    overflow: hidden;
    background: #eaf1ff;
    border-radius: 16px;
}

.business-map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.business-map-card{
    position: relative;
}
.business-map-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1.2rem;
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
    position: absolute;
    right: 30px;
    top: 0px;
}

.business-map-link:hover {
    color: var(--mid-blue);
}

.business-empty-note {
    padding: 1rem;
    background: #f6f8ff;
    border-radius: 16px;
    color: #5a6280;
    font-weight: 600;
}

.business-promotions-section {
    margin-top: 2.25rem;
}

.business-promotions-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: .35rem;
}

.promotion-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: .2rem .65rem;
    background: var(--mint);
    border-radius: 999px;
    color: #08351d;
    font-size: .85rem;
    font-weight: 800;
}

.business-promotions-header .promotion-count {
    margin-top: 6px;
}

.business-promotion-card {
    min-height: 100%;
}

.promotion-status {
    align-self: flex-start;
    margin-bottom: .75rem;
    padding: .2rem .65rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.business-promo-active {
    background: var(--mint);
    color: #08351d;
}

.business-promo-upcoming {
    background: var(--cyan);
    color: #06303b;
}

.business-promo-expired {
    background: rgba(255, 255, 255, .18);
    color: #e7ecff;
}

.promotion-dates {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .9rem;
    color: #cbd5ff;
    font-size: .78rem;
}

.promotion-dates i {
    color: var(--mint);
}

@media (max-width: 767.98px) {
    .business-wall-wrap {
        height: 220px;
    }

    .business-hero-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0 1.25rem 1.25rem;
    }

    .business-profile-wrap {
        width: 112px;
        height: 112px;
        margin-top: -56px;
        border-radius: 20px;
    }

    .business-profile-photo {
        border-radius: 15px;
    }

    .business-detail-card {
        padding: 1.25rem;
    }

    .business-map-wrap {
        height: 220px;
    }
}

.promotion-card-interactive,
.promotion-slide {
    cursor: pointer;
}

.promotion-card-interactive:focus-visible,
.promotion-slide:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

.promotion-modal .modal-content {
    border-radius: 24px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 30px 80px rgba(11, 26, 66, .35);
}

.promotion-modal-inner {
    position: relative;
}

.promotion-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(12, 22, 52, .55);
    color: var(--white);
    backdrop-filter: blur(6px);
    transition: background .2s ease, transform .2s ease;
}

.promotion-modal-close:hover,
.promotion-modal-close:focus-visible {
    background: rgba(12, 22, 52, .85);
    transform: rotate(90deg);
}

.promotion-modal-hero {
    position: relative;
    height: 260px;
    background: #dbe4ff;
}

.promotion-modal-wall {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promotion-modal-category {
    position: absolute;
    left: 1.5rem;
    bottom: 1.25rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .85rem;
    border-radius: 999px;
    background: rgba(61, 255, 143, .95);
    color: #08351d;
    font-size: .78rem;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
}

.promotion-modal-body {
    padding: 1.75rem;
}

.promotion-modal-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
}

.promotion-modal-heading {
    min-width: 0;
    padding-bottom: .25rem;
}

.promotion-modal-kicker {
    color: var(--primary-blue);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.promotion-modal-heading h3 {
    margin: .1rem 0 .15rem;
    color: var(--dark-gray);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.promotion-modal-business {
    margin: 0;
    color: #5a6280;
    font-weight: 600;
}

.promotion-modal-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 1.1rem 0 .9rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid #edf0f9;
}

.promotion-modal-location {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #5a6280;
    font-size: .9rem;
    font-weight: 600;
}

.promotion-modal-location i {
    color: var(--primary-blue);
}

.promotion-modal-rating {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: #f2f6ff;
}

.promotion-modal-rating strong {
    color: var(--dark-gray);
    font-size: .95rem;
}

.promotion-modal-rating .promotion-stars i {
    font-size: .85rem;
}

.promotion-modal-description {
    margin-bottom: 1.4rem;
    color: #4b5473;
    line-height: 1.65;
}

.promotion-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.promotion-modal-hint {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #7a819c;
    font-size: .85rem;
    font-weight: 600;
}

.promotion-modal-hint i {
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .home-filters .radio-pill{
        font-size: .8rem;
    }
}

@media (max-width: 575.98px) {
    .promotion-modal-hero {
        height: 200px;
    }

    .promotion-modal-body {
        padding: 1.25rem;
    }

    .promotion-modal-heading h3 {
        font-size: 1.2rem;
    }

    .promotion-modal-action {
        width: 100%;
        justify-content: center;
    }
}
