/* Reset y variables */
:root {
    --primary: #1a3c2e;
    --secondary: #4CAF50;
    --accent: #ffd700;
    --dark: #333;
    --light: #f9f9f9;
    --gray: #666;
    --white: #fff;
    --shadow: 0 5px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 15px 35px rgba(0,0,0,0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-link {
    text-decoration: none;
}

.card-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-visual {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.nav-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-primary {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.logo-secondary {
    color: var(--gray);
    font-size: 0.8rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-qr-info {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-top: 1rem;
}

.hero-qr-info p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Business Section */
.business-section {
    padding: 4rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Empty State (cuando no hay negocios) */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f5f5f5, #eaeaea);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.empty-icon {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--gray);
    max-width: 400px;
    margin: 0 auto;
}

.empty-decoration {
    margin-top: 2rem;
}

.empty-decoration span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary);
    margin: 0 5px;
    animation: bounce 1.5s infinite;
}

.empty-decoration span:nth-child(2) {
    animation-delay: 0.2s;
    background: var(--primary);
}

.empty-decoration span:nth-child(3) {
    animation-delay: 0.4s;
    background: var(--accent);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Grid de negocios */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.business-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.business-card.premium {
    border-left: 4px solid var(--accent);
}

.business-card.destacado {
    border-left: 4px solid var(--secondary);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-badge.premium {
    background: var(--accent);
    color: var(--primary);
}

.card-badge.destacado {
    background: var(--secondary);
    color: var(--white);
}

.card-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.business-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.business-title h3 {
    font-size: 1.3rem;
    margin: 0 0 0.3rem;
    color: var(--primary);
}

.business-category {
    color: var(--secondary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0f7f0;
    padding: 0.2rem 1rem;
    border-radius: 20px;
}

.business-rating {
    margin-bottom: 1rem;
    color: #ffc107;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.rating-count {
    color: var(--gray);
    font-size: 0.9rem;
    margin-left: 5px;
}

.business-description {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.business-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray);
}

.detail-item i {
    color: var(--secondary);
}

/* Promociones dentro de la tarjeta */
.business-promos {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.business-promos h4 {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.promo-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    border-bottom: 1px dashed #ddd;
}

.promo-mini:last-child {
    border-bottom: none;
}

.promo-title {
    font-weight: 500;
    font-size: 0.9rem;
}

.promo-price {
    background: var(--accent);
    color: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
}

.more-promos {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: var(--secondary);
    margin-top: 0.3rem;
}

/* Botones de acción */
.business-actions {
    display: flex;
    gap: 0.8rem;
}

.btn-ver-mas {
    flex: 1;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-ver-mas:hover {
    background: var(--secondary);
    transform: scale(1.02);
}

.btn-whatsapp,
.btn-ubicacion {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.btn-whatsapp {
    background: #25D366;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.btn-ubicacion {
    background: #2196F3;
}

.btn-ubicacion:hover {
    background: #1976D2;
    transform: scale(1.1);
}

/* Mensaje del folleto */
.folleto-message {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
    border: 1px solid var(--secondary);
}

.message-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.message-content i {
    color: var(--primary);
}

.message-content h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.message-content p {
    color: var(--gray);
}

/* Promociones destacadas */
.promotions-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.promo-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.promo-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.promo-icon {
    font-size: 2rem;
    color: var(--accent);
}

.promo-content {
    flex: 1;
}

.promo-business {
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
    margin-bottom: 0.3rem;
}

.promo-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.promo-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.promo-price-tag {
    background: var(--accent);
    color: var(--primary);
    display: inline-block;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    margin: 0.5rem 0;
}

.promo-code {
    background: rgba(0,0,0,0.3);
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.promo-validity {
    font-size: 0.8rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 5px;
}

.qr-folleto {
    text-align: center;
    margin-top: 2rem;
}

.qr-folleto a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.qr-folleto a:hover {
    text-decoration: underline;
}

/* Sección ¿Cómo funciona? */
.how-it-works {
    padding: 4rem 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step-card {
    text-align: center;
    padding: 2rem;
    background: var(--light);
    border-radius: 16px;
    position: relative;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin: 1rem 0;
}

.step-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.price-example {
    max-width: 400px;
    margin: 3rem auto 0;
}

.price-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(26, 60, 46, 0.3);
}

.price-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.price small {
    font-size: 1rem;
    opacity: 0.8;
}

.price-card ul {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.price-card li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-card li i {
    color: var(--accent);
}

.btn-interes {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-interes:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info img {
    margin-bottom: 1rem;
}

.footer-info h4 {
    margin-bottom: 0.5rem;
}

.footer-links h5,
.footer-social h5 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.footer-links p,
.footer-social p {
    color: #999;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links i {
    color: var(--secondary);
}

.btn-contacto {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    transition: all 0.3s;
}

.btn-contacto:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
}

.qr-note {
    margin-top: 1rem;
    color: #999;
}

.qr-note i {
    color: var(--accent);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
}

.close:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        text-align: center;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .message-content {
        flex-direction: column;
        text-align: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links p {
        justify-content: center;
    }
}
.btn-web {
    width: 45px;
    height: 45px;
    background: #6366f1;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-web:hover {
    background: #4f52e0;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* Si quieres un estilo más elegante para el enlace en los detalles */
.website-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 20px;
    transition: all 0.3s;
}

.website-link:hover {
    background: rgba(76, 175, 80, 0.2);
    transform: translateX(5px);
}