@import url('https://fonts.googleapis.com/css2?family=Anton&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: "Poppins", sans-serif;
    padding: 0;
    margin: 0;

}

:root {
    --principal: rgb(76, 6, 130);
    --principal2: rgb(97, 63, 155);
    --secunadrio: rgb(255, 205, 0);
    --complementario: rgb(235, 170, 4);
    --blanco: rgb(255, 255, 255);
    --texto: #555;
    --texto2: #333;
    --negro: #000000;
    --lineas: #b8babe;

}

body {
    background-color: var(--blanco);
    overflow-x: hidden;

}

svg {
    width: 20px;
    height: 20px;
    color: var(--complementario);
}

/* Header */
.encabezado {
    background-color: var(--blanco);
    border-bottom: 1px solid #e6e6e6;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--principal);
    z-index: 1001;
}

.logo img {
    width: 44px;
}
/* Botón amarillo para "Ver negocio" */
.btn-amarillo {
    background-color: #FFD600;
    color: #222;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 214, 0, 0.2);
    transition: background 0.2s, color 0.2s;
}
.btn-amarillo:hover {
    background-color: #ffe066;
    color: #111;
}

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: #191919;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Menú principal */
.menu {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0px 10px;
}

.menu .texto-menu {
    font-size: 14px;
}

.enlace {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #191919;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.enlace:hover {
    color: var(--principal2);
}

.enlace.active {
    color: var(--principal);
}

.enlace.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--principal);
}

.icono-menu {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    flex-shrink: 0;
}

/* Submenús */
.submenu {
    position: relative;
}

.submenu-contenido {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    margin-top: 8px;
}

.submenu:hover .submenu-contenido {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-contenido a {
    display: block;
    padding: 12px 16px;
    color: #191919;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.submenu-contenido a:hover {
    background-color: #f8f8f8;
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.submenu:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Botones en el menú*/
.sesion {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-prueba {
    background: linear-gradient(135deg, var(--secunadrio), var(--principal));
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-prueba:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px var(--texto);
}

.btn-sesion {
    color: var(--principal2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.btn-sesion:hover {
    background-color: #dadbdc;
}

/* Texto corto/largo para botones */
.btn-text-short {
    display: none;
}

.btn-text-full {
    display: inline;
}

/* Tooltips para móvil */
.tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1000;
}

.tooltip::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #333;
}

/* Seccion de destacados */
.destacado {
    margin-top: 10px;
    padding: 0px 10px;
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
    height: 350px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide-background {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-background {
    background: linear-gradient(135deg, var(--principal) 0%, var(--principal2) 100%);
}


.slide-content {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0px 10%;
    position: relative;
}

.slide-image {
    flex: 0 0 300px;
    margin-right: 20px;
    position: relative;
}

.slide-image img {
    width: 90%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.slide-image:hover img {
    transform: scale(1.05);
}

.slide-info {
    flex: 1;
    color: white;
    text-align: left;
}

.discount-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.slide-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-description {
    font-size: .8rem;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.9;
    max-width: 500px;
}

.slide-button {
    background: var(--complementario);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: .7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-button:hover {
    background: var(--blanco);
    color: var(--principal2);
    transform: translateY(-2px);
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Dots Indicator */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--blanco);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--complementario);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Seccion de busqueda */

.buscador {
    display: flex;
    align-items: center;
    background: #f0f2f5;
    border-radius: 50px;
    padding: 12px 10px;
    margin: 20px auto;
    /* <--- Asegúrate de que esta línea quede así */
    max-width: 40%;
}

.buscador input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 12px;
    color: #555;
}

.buscador input::placeholder {
    color: var(--texto);
}

.buscador a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.buscador a:hover {
    color: #333;
}

.descripcionC {
    padding: 20px 10px;
    text-align: center;
}

.contenedorC p span {
    color: var(--complementario);
    font-weight: 800;
}

.descripcionC p span {
    color: var(--complementario);
    font-weight: 800;
}

.contenedorC p #span2 {
    color: var(--principal);
    font-weight: 800;
}
.descripcionC p #span2 {
    color: var(--principal);
    font-weight: 800;
}

.descripcionC a {
    font-weight: 800;
    color: var(--principal);
    text-decoration: none;
}

.descripcionC a:hover {
    color: var(--complementario);
}

/* Carrusel 2 de negocios   */
.contenedorC {
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 20px;
}

.encabezadoC {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.encabezadoC h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--negro);
    margin-bottom: 5px;
}

.encabezadoC p {
    color: var(--texto2);
    font-size: 16px;
}

.botonesNavC {
    display: flex;
    gap: 12px;
}

.botonNavC {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--principal);
    color: white;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.botonNavC:hover {
    background: var(--secunadrio);
    transform: scale(1.05);
}

.botonNavC:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.contenedorCarruselC {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.carruselC {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.tarjetaC {
    flex: 0 0 auto;
    width: 320px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tarjetaC:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.imagenTarjetaC {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.contenidoTarjetaC {
    padding: 20px;
}

.tituloTarjetaC {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--principal);
}

.ubicacionTarjetaC {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--texto);
    margin-bottom: 12px;
}

.iconoUbicacionC {
    color: var(--complementario);
}

.calificacionTarjetaC {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--principal2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.iconoEstrellaC {
    color:var(--negro);
}

/*Vista de cupones */
#contenedorCupon {
    position: relative;
    margin-top: 10px;
    height: 80vh;
    background-color: var(--secunadrio);
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    overflow: hidden;
}

#contenedorCupon .title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--blanco);
    position: relative;
    z-index: 10;
}

#contenedorCupon .percentage {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--principal);
    position: relative;
    z-index: 10;
}

#contenedorCupon .button {
    padding: 0.75rem 2rem;
    background-color: var(--blanco);
    color: var(--principal);
    font-weight: 600;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 10;
}

#contenedorCupon .button:hover {
    background-color: var(--complementario);

}

#contenedorCupon .logo {
    position: absolute;
    z-index: 1;
}

.shadow-pink {
    filter: drop-shadow(4px 4px 0px #f472b6);
}

.shadow-yellow {
    filter: drop-shadow(4px 4px 0px #facc15);
}

/* Posicionamiento de logos */
.logo-1 {
    top: 8rem;
    left: 33.333333%;
    width: 4rem;
}

.logo-2 {
    top: 8rem;
    right: 33.333333%;
    width: 4rem;
}

.logo-3 {
    top: 50%;
    left: 25%;
    width: 3.5rem;
}

.logo-4 {
    top: 50%;
    right: 25%;
    width: 3.5rem;
}

.logo-5 {
    bottom: 34.333333%;
    left: 15.333333%;
    width: 4rem;
}

.logo-6 {
    bottom: 33.333333%;
    right: 33.333333%;
    width: 4rem;
}

.logo-7 {
    top: 2.5rem;
    left: 50%;
    width: 3rem;
}

.logo-8 {
    top: 25%;
    left: 2.5rem;
    width: 3.5rem;
}

.logo-9 {
    top: 25%;
    right: 2.5rem;
    width: 3.5rem;
}

.logo-10 {
    top: 66.666667%;
    left: 2rem;
    width: 3.5rem;
}

.logo-11 {
    top: 66.666667%;
    right: 2rem;
    width: 3.5rem;
}

.logo-12 {
    bottom: 3rem;
    left: 50%;
    width: 4rem;
}

.logo-13 {
    bottom: 5rem;
    right: 60%;
    width: 4rem;
}

.logo-14 {
    top: 1rem;
    left: 1rem;
    width: 5rem;
}

.logo-15 {
    top: 2.5rem;
    right: 1.5rem;
    width: 5rem;
}

.logo-16 {
    bottom: 1.5rem;
    left: 2.5rem;
    width: 5rem;
}

.logo-17 {
    bottom: 3rem;
    right: 4rem;
    width: 5rem;
}

.logo-18 {
    top: 33.333333%;
    left: -3rem;
    width: 5rem;
}

.logo-19 {
    top: 33.333333%;
    right: -3rem;
    width: 5rem;
}

.logo-20 {
    bottom: 25%;
    left: -2.5rem;
    width: 5rem;
}

.logo-21 {
    bottom: 25%;
    right: -2.5rem;
    width: 5rem;
}



.background-number {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
    object-fit: contain;
    color: var(--principal);
}

@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, -30px) rotate(15deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-40px, 40px) rotate(-20deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(20px, 35px) rotate(10deg);
    }
}

@keyframes float4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-30px, -25px) rotate(-15deg);
    }
}

@keyframes float5 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(35px, 20px) rotate(25deg);
    }
}

.num-1 { top: 10%; left: 20%; animation: float1 8s ease-in-out infinite; }
.num-2 { top: 20%; right: 20%; animation: float2 7s ease-in-out infinite; }
.num-3 { top: 30%; left: 15%; animation: float3 9s ease-in-out infinite; }
.num-4 { top: 60%; right: 15%; animation: float4 6s ease-in-out infinite; }
.num-5 { top: 65%; left: 20%; animation: float5 8.5s ease-in-out infinite; }
.num-6 { top: 75%; right: 25%; animation: float1 7.5s ease-in-out infinite; animation-delay: 1s; }
.num-7 { top: 10%; left: 40%; animation: float2 8s ease-in-out infinite; animation-delay: 0.5s; }
.num-8 { top: 20%; right: 45%; animation: float3 7s ease-in-out infinite; animation-delay: 1.5s; }
.num-9 { top: 45%; left: 35%; animation: float4 9s ease-in-out infinite; animation-delay: 2s; }
.num-10 { top: 50%; right: 35%; animation: float5 6.5s ease-in-out infinite; animation-delay: 0.8s; }
.num-11 { top: 70%; left: 50%; animation: float1 8s ease-in-out infinite; animation-delay: 1.2s; }
.num-12 { top: 85%; right: 50%; animation: float2 7.5s ease-in-out infinite; animation-delay: 0.3s; }
.num-13 { top: 5%; left: 75%; animation: float3 8.5s ease-in-out infinite; animation-delay: 1.8s; }
.num-14 { top: 40%; right: 5%; animation: float4 7s ease-in-out infinite; animation-delay: 2.5s; }
.num-15 { top: 80%; left: 5%; animation: float5 9s ease-in-out infinite; animation-delay: 0.6s; }

        

/* Categorias YoLocal Conecta */

.yolocalconecta {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.yolocalconecta .row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.yolocalconecta .row-3 .card {
    flex: 1;
    min-width: 300px;
}

.yolocalconecta .row-2 .card {
    flex: 1;
    min-width: 380px;
}

.yolocalconecta .card {
    background: var(--blanco);
    border-radius: 20px;
    padding: 20px;
    color: var(--texto2);
    position: relative;
    min-height: 180px;
    height: 180px;
    display: flex;
    flex-direction: row;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.yolocalconecta .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.yolocalconecta .card.blue {
    background: white;
}

.yolocalconecta .card.purple {
    background: var(--principal2);
    color: var(--blanco);
}

.yolocalconecta .card.yellow {
    background: var(--complementario);
    color: var(--blanco);
}

.yolocalconecta .card-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 15px;
    z-index: 2;
}

.yolocalconecta .card-header {
    margin-bottom: 10px;
}

.yolocalconecta .card-title {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 5px;
}

.yolocalconecta .card-subtitle {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 300;
}

.yolocalconecta .card-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.yolocalconecta .card-description {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

.yolocalconecta .card-footer {
    display: flex;
    justify-content: flex-start;
}

.yolocalconecta .card-button {
    background: var(--principal);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.yolocalconecta .card-button:hover {
    background: rgba(255, 205, 0, 0.8);
    transform: translateY(-2px);
    color: var(--principal);
}

.yolocalconecta .card-right {
    flex: 1;
    position: relative;
    margin: -20px -20px -20px 0;
    overflow: hidden;
    border-radius: 0 20px 20px 0;


}

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

.yolocalconecta .card-image  {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 20px 20px 0;
}
 .imagenCl{
    width: 100%;
    height: 220px;
    object-fit: cover;
}

 #whatsapp img{
    height: 100%;
    object-fit: cover;
}

.card-yolocal {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--complementario);
  color: var(--blanco);
  border-radius: 20px;
  padding: 10px;
  height: 110px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-yolocal .yellow-content {
  width: 33%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 5px;
  gap: 10px;
  z-index: 2;
}

.card-yolocal .card-title {
  font-size: 18px;
  line-height: 1.1;
  margin-bottom: 2px;
  font-weight: bold;
}

.card-yolocal .card-subtitle {
  font-size: 16px;
  margin-bottom: 3px;
  font-weight: 400;
}

.card-yolocal .card-description {
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 3px;
  word-wrap: break-word;
}

.card-yolocal .card-button {

  background: var(--principal);
  color: #fff;

}

.card-yolocal .yellow-image {
  position: absolute;
  right: -30%;
  top: 50%;
  transform: translateY(-50%);
  width: 120%;
  height: 190%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-yolocal .yellow-image img {
    padding-top: 20px;
    width: 450px;
    min-width: 420px;
}



/* Media Queries */

@media (max-width: 1024px) {
    .navbar {
        padding: 12px 20px;
    }

    .menu {
        gap: 24px;
    }

    .enlace {
        font-size: 15px;
    }

    .logo-20,
    .logo-21 {
        display: block;
    }
}

@media (max-width: 1023px) {

    .logo-20,
    .logo-21 {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 80px 0px 0px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        gap: 0;
    }

    .menu.active {
        right: 0;
    }

    .enlace {
        padding: 16px;
        border-bottom: 1px solid #f0f0f0;
        justify-content: flex-start;
        gap: 12px;
    }

    .enlace.active::after {
        display: none;
    }

    .icono-menu {
        width: 24px;
        height: 24px;
    }

    .submenu-contenido {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin-top: 0;
        background: #f8f8f8;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .submenu.active .submenu-contenido {
        max-height: 200px;
    }

    .submenu-contenido a {
        padding: 12px 20px;
        font-size: 14px;
    }

    .dropdown-arrow {
        margin-left: auto;
    }

    .sesion {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }

    .btn-prueba,
    .btn-sesion {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    .carousel-container {
        margin: 0 20px;
    }

    .slide-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .slide-image {
        flex: 0 0 auto;
        margin-right: 0;
        margin-bottom: 10px;
        margin-top: 15px;
        width: 150px;
    }

    .slide-image img {
        height: 150px;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .slide-description {
        font-size: .7rem;
        margin-bottom: 10px;
    }

    .carousel-nav {
          top: 20%;
    transform: translateY(-20%);
        width: 35px;
        height: 35px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .carousel-wrapper {
        height: 500px;
    }

    .coupons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0 16px;
    }

    h1 {
        font-size: 2rem;
    }

    .coupon-content {
        padding: 20px;
    }

    .main-content {
        margin-right: 16px;
    }

    .action-section {
        flex: 0 0 70px;
        padding-left: 12px;
    }

    .claim-button {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    

    .title {
        font-size: 2.25rem;
    }

    .percentage {
        font-size: 4.5rem;
    }

    .logo-18,
    .logo-19 {
        display: block;
    }

    .background-number{
        width: 35px;
        height: 35px;
    }

    .contenedorC  {
        padding: 0 15px;
    }

    .encabezadoC  h2 {
        font-size: 24px;
    }

    .encabezadoC  p {
        font-size: 14px;
    }

    .botonesNavC{
        gap: 8px;
    }

   .botonNavC {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .tarjetaC {
        width: 280px;
    }

    .carruselC {
        gap: 16px;
    }


    .yolocalconecta {
        padding: 15px;
    }

    .yolocalconecta .row {
        gap: 15px;
    }

    .yolocalconecta .row-3 .card,
    .yolocalconecta .row-2 .card {
        min-width: 100%;
        flex: 1 1 100%;
    }

    .yolocalconecta .card {
        height: auto;
        min-height: 160px;
        padding: 15px;
        flex-direction: column;
    }

    .yolocalconecta .card-left {
        flex: none;
        width: 100%;
        padding-right: 0;
        margin-bottom: 15px;
    }

    .yolocalconecta .card-right {
        flex: none;
        width: 100%;
        height: 150px;
        margin: 0 -15px -15px -15px;
        border-radius: 0 0 20px 20px;
       
    }
    
    .yolocalconecta .card-title {
        font-size: 20px;
    }

    .yolocalconecta .card-subtitle {
        font-size: 14px;
    }

    .yolocalconecta .card-description {
        font-size: 13px;
    }
    .card-yolocal .yellow-image {
        right: -20%;
        width: 95%;
        height: 150%;
    }
    .imagenCl{
    width: 100%;
    height: 220px;
    object-fit: cover;
}
}

@media (max-width: 767px) {
    #contenedorCupon .title {
        font-size: 1.875rem;
    }

    #contenedorCupon .percentage {
        font-size: 3.75rem;
    }

    .logo-18,
    .logo-19 {
        display: none;
    }

    .logo-20,
    .logo-21 {
        display: none;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 12px 16px;
    }

    .logo {
        font-size: 20px;
    }

    .menu {
        right: -100%;
        height: 100vh;
         width: 220px;
    }

    .btn-text-full {
        display: none;
    }

    .btn-text-short {
        display: inline;
    }

    .sesion {
        flex-direction: row;
        gap: 8px;
    }

    .btn-prueba,
    .btn-sesion {
        width: auto;
        padding: 8px 12px;
        font-size: 13px;
    }

    .carousel-wrapper {
        height: 600px;
    }

    .slide-description {
        font-size: .8rem;
        margin-bottom: 10px;
    }

    .coupon-card {
        width: 350px;
    }

    .discount {
        font-size: 1.1rem;
    }

    .brand-name {
        font-size: 1rem;
    }

    .offer-description {
        font-size: 0.75rem;
    }

    .validity {
        font-size: 0.65rem;
    }

    .claim-button {
        font-size: 0.70rem;
        padding: 8px 12px;
    }
    .container {
        padding: 10px;
    }

    .encabezadoC  {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .tarjetaC {
        width: 260px;
    }

    .imagenTarjetaC {
        height: 180px;
    }

    .contenidoTarjetaC  {
        padding: 16px;
    }
    
    .yolocalconecta {
        padding: 10px;
    }

    .yolocalconecta .row {
        gap: 12px;
    }

    .yolocalconecta .card {
        height: auto;
        min-height: 140px;
        padding: 12px;
    }

    .yolocalconecta .card-left {
        margin-bottom: 12px;
    }

    .yolocalconecta .card-right {
        height: 130px;
        margin: 0 -12px -12px -12px;
    }

    .yolocalconecta .card-title {
        font-size: 18px;
    }

    .yolocalconecta .card-subtitle {
        font-size: 13px;
    }

    .yolocalconecta .card-description {
        font-size: 12px;
    }

    .yolocalconecta .card-button {
        padding: 6px 16px;
        font-size: 13px;
    }

    .card-yolocal {
        height: 100px;
        padding: 8px;
    }

    .card-yolocal .yellow-image {
        right: -30%;
        width: 120%;
        height: 190%;
    }

    .num-5,
    .num-2,
    .num-10,
    .num-6 {
        display: none;
    }
    .card{
        height: 350px;
    }
    .imagenCl{
    width: 100%;
    height: 220px;
    object-fit: cover;
}
}

@media (max-width: 360px) {
    .navbar {
        padding: 10px 12px;
    }

    .logo {
        font-size: 18px;
    }

    .btn-prueba,
    .btn-sesion {
        padding: 6px 10px;
        font-size: 12px;
    }

    .categoria {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .coupon-card {
        width: 330px;
    }

    .container {
        padding: 10px;
    }

    .discount {
        font-size: 1rem;
    }

    .yolocalconecta {
        padding: 8px;
    }

    .yolocalconecta .row {
        gap: 10px;
    }

    .yolocalconecta .card {
        min-height: 120px;
        padding: 10px;
    }

    .yolocalconecta .card-left {
        margin-bottom: 10px;
    }

    .yolocalconecta .card-right {
        height: 110px;
        margin: 0 -10px -10px -10px;
    }

    .yolocalconecta .card-title {
        font-size: 16px;
    }

    .yolocalconecta .card-subtitle {
        font-size: 12px;
    }

    .yolocalconecta .card-description {
        font-size: 11px;
    }

    .yolocalconecta .card-button {
        padding: 5px 14px;
        font-size: 12px;
    }

    .yolocalconecta .card.yellow {
        height: 110px;
        min-height: 110px;
        padding: 10px;
        display: flex;
        align-items: center;
        overflow: hidden;
        position: relative;
    }

    .yolocalconecta .yellow-content {
        flex: none;
        padding: 0 5px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        z-index: 2;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .yolocalconecta .yellow-image {
        position: absolute;
        transform: translateY(-50%);
        height: 180%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .yolocalconecta .yellow-image img {
        width: 90%;
        height: 90%;
        object-fit: contain;
    }
    .dot {
        width: 9px;
        height: 9px;
    }
    .imagenCl{
    width: 100%;
    height: 220px;
    object-fit: cover;
}

}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu.active .enlace {
    animation: fadeIn 0.3s ease forwards;
}

.menu.active .enlace:nth-child(1) {
    animation-delay: 0.1s;
}

.menu.active .enlace:nth-child(2) {
    animation-delay: 0.2s;
}

.menu.active .enlace:nth-child(3) {
    animation-delay: 0.3s;
}

.menu.active .enlace:nth-child(4) {
    animation-delay: 0.4s;
}

.coupon-card {
    animation: fadeInUp 0.6s ease-out;
}

.big-discount {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Carrusel */
.carousel-container2 {
    width: 100%;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;

    background: linear-gradient(45deg, var(--principal), var(--principal2));
    padding: 4px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-inner2 {
    background: linear-gradient(135deg, var(--principal), #2d1b69 100%);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.carousel-track2 {
    display: flex;
    animation: scroll 80s linear infinite;
    width: calc(300px * 100);
    /* 8 items * 2 for seamless loop */
}

.carousel-item {
    flex: 0 0 300px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 20px;
    border-radius: 15px;

    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(45deg, var(--complementario), #8B2BCA, #8B2BCA, var(--complementario));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.carousel-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.3);
}

.icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700 0%, #8B2BCA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    animation: pulse 2s ease-in-out infinite alternate;
}

.icon {
    font-size: 36px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.icon-container img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.business-name {
    color: #FFD700;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}



@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-300px * 50));
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(255, 215, 0, 0);
    }
}

.carousel-title {
    text-align: center;
    margin-bottom: 30px;
    color: #FFD700;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
}

.gradient-text {
    background: linear-gradient(45deg, #FFD700, #8B2BCA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pausa la animación al hacer hover */
.carousel-container2:hover .carousel-track {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 250px;
        height: 180px;
        margin: 15px;
    }

    .carousel-track2 {
        width: calc(250px * 100);
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-250px * 50));
        }
    }
}
 #map { 
  height: 500px; 
  width: 100%; 
  max-width: 1100px; /* opcional, para que no se haga demasiado grande en pantallas muy anchas */
  margin: auto;       /* centra el mapa horizontalmente */
  border-radius: 12px; /* opcional, bordes redondeados */
  box-shadow: 0px 4px 15px rgba(0,0,0,0.2); /* sombra suave */
}
.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que la imagen cubra todo el espacio sin deformarse */
  display: block;
}